/* ===================================
   TGHI Portfolio Website - Custom Styles
   =================================== */

/* ===================================
   1. ROOT VARIABLES & GLOBAL STYLES
   =================================== */

:root {
    /* TGHI Brand Colors - Based on logo (Blue & Orange) */
    --primary-blue: #1E5A8E;
    --secondary-blue: #2B7BBE;
    --light-blue: #4A9FD8;
    --primary-orange: #F9A826;
    --secondary-orange: #FFB84D;
    --dark-navy: #0D3B5C;
    
    /* Additional Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1E5A8E 0%, #2B7BBE 100%);
    --gradient-secondary: linear-gradient(135deg, #F9A826 0%, #FFB84D 100%);
    --gradient-mixed: linear-gradient(135deg, #1E5A8E 0%, #4A9FD8 50%, #F9A826 100%);
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent text overflow */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ===================================
   2. NAVIGATION
   =================================== */

.navbar {
    padding: 1rem 0;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar Logo with Ring Animation */
.navbar-logo-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-block;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(249, 168, 38, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.navbar-logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.navbar-logo-wrapper:hover .logo-img {
    transform: scale(1.15) rotate(360deg);
    border-color: var(--primary-orange);
    box-shadow:
        0 0 0 5px rgba(249, 168, 38, 0.2),
        0 0 0 10px rgba(249, 168, 38, 0.1),
        0 5px 20px rgba(249, 168, 38, 0.4);
}

.navbar-logo-wrapper:hover .navbar-logo-ring {
    width: 65px;
    height: 65px;
    border-color: var(--primary-orange);
    border-style: dashed;
    animation: spinNavRing 2s linear infinite;
}

@keyframes spinNavRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    background: var(--light-gray);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 80%;
}

/* ===================================
   3. HERO SECTION
   =================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-mixed);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    z-index: 10;
}

/* Animated Background Images */
.hero-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation-duration: 24s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Background Image Placeholders - Replace with your actual images */
.hero-bg-1 {
    background-image: url('../images/hero1.jpeg');
    animation-name: imageSlide1;
    animation-delay: 0s;
}

.hero-bg-2 {
    background-image: url('../images/hero2.jpeg');
    animation-name: imageSlide2;
    animation-delay: 8s;
}

.hero-bg-3 {
    background-image: url('../images/hero3.jpeg');
    animation-name: imageSlide3;
    animation-delay: 16s;
}

/* Slideshow Animation */
@keyframes imageSlide1 {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 0.4; transform: scale(1); }
    29% { opacity: 0.4; transform: scale(1.1); }
    33% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1); }
}

@keyframes imageSlide2 {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 0.4; transform: scale(1); }
    29% { opacity: 0.4; transform: scale(1.1); }
    33% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1); }
}

@keyframes imageSlide3 {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 0.4; transform: scale(1); }
    29% { opacity: 0.4; transform: scale(1.1); }
    33% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.75) 0%, rgba(43, 123, 190, 0.7) 50%, rgba(249, 168, 38, 0.65) 100%);
    z-index: 11;
    backdrop-filter: blur(2px);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.15) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
}

.hero-section .container {
    position: relative;
    z-index: 12;
}

.hero-logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 2rem auto;
    display: block;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.4);
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 12px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(249, 168, 38, 0.4);
    animation: floatLogo 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(2deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-15px) rotate(-2deg); 
    }
}

@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 0 0 12px rgba(255, 255, 255, 0.1),
            0 0 60px rgba(249, 168, 38, 0.4);
    }
    50% { 
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.4),
            0 0 0 12px rgba(255, 255, 255, 0.2),
            0 0 80px rgba(249, 168, 38, 0.6);
    }
}

@keyframes logoShine {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg); 
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg); 
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 500;
    color: var(--secondary-orange);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
}

.hero-buttons .btn-primary {
    background: var(--gradient-secondary);
    box-shadow: 0 5px 20px rgba(249, 168, 38, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 168, 38, 0.6);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===================================
   4. ABOUT SECTION
   =================================== */

section {
    padding: var(--section-padding);
    position: relative;
    z-index: 5;
    background: var(--white);
}

section#about {
    background: var(--white);
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.info-card {
    border-radius: 15px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(30, 90, 142, 0.1);
}

.gradient-card {
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.05) 0%, rgba(249, 168, 38, 0.05) 100%);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 90, 142, 0.2);
}

.info-card h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.info-card i {
    color: var(--primary-orange);
}

/* Core Values Cards */
.value-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    height: 100%;
}

.value-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(249, 168, 38, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

.value-card h5 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* ===================================
   5. FOUNDER'S NOTE SECTION
   =================================== */

/* Main Founder Card with Picture and Quote */
.founder-main-card {
    background: linear-gradient(135deg, #1E5A8E 0%, #2B7BBE 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(30, 90, 142, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
}

.founder-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(249, 168, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 159, 216, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.founder-card-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Founder Image Section */
.founder-image-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.founder-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

.founder-image-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F9A826, #FFB84D, #F9A826);
    animation: rotate-ring 10s linear infinite;
    opacity: 0.4;
}

@keyframes rotate-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.5s ease;
}

.founder-image:hover {
    transform: scale(1.05);
}

.founder-image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(30, 90, 142, 0.4), transparent);
    border-radius: 50%;
    z-index: 1;
}

.founder-name-tag {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    min-width: 280px;
}

.founder-name-tag h5 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.5rem;
}

.founder-name-tag p {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Founder Quote Section */
.founder-quote-section {
    flex: 1;
    position: relative;
    padding: 1rem 2rem;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(249, 168, 38, 0.3);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 1;
}

.founder-quote-text {
    font-size: 1.8rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.8;
    color: var(--white);
    margin: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quote-decorative-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F9A826, #FFB84D);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.founder-quote-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    letter-spacing: 0.5px;
}

/* Founder Content Section */
.founder-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.founder-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 90, 142, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.founder-message-intro {
    margin-bottom: 2rem;
}

.founder-content h5 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    position: relative;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.founder-content h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 35px;
    background: linear-gradient(180deg, #F9A826, #FFB84D);
    border-radius: 3px;
}

.founder-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.founder-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.founder-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.4rem;
}

.service-principle {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-principle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #1E5A8E, #2B7BBE);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-principle:hover::before {
    width: 100%;
}

.service-principle:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 90, 142, 0.2);
    border-color: var(--primary-orange);
}

.service-principle i,
.service-principle span {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-principle:hover i,
.service-principle:hover span {
    color: var(--white);
}

.service-principle i {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.service-principle span {
    font-size: 1.05rem;
    font-weight: 500;
}

.founder-highlight {
    background: linear-gradient(135deg, #1E5A8E 0%, #2B7BBE 100%);
    color: var(--white);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(30, 90, 142, 0.25);
}

.founder-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.founder-highlight h5 {
    color: var(--secondary-orange);
    position: relative;
}

.founder-highlight h5::before {
    background: linear-gradient(180deg, #FFB84D, #F9A826);
}

/* ===================================
   6. PROGRAMS SECTION
   =================================== */

.program-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    height: 100%;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 90, 142, 0.2);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-smooth);
}

.program-card:hover .program-icon {
    background: var(--gradient-secondary);
    transform: scale(1.1);
}

.program-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* ===================================
   7. SDGs SECTION
   =================================== */

.sdg-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    height: 100%;
    transition: var(--transition-smooth);
    border: 3px solid;
    position: relative;
    overflow: hidden;
}

.sdg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-smooth);
}

.sdg-card:hover::before {
    left: 100%;
}

.sdg-card:hover {
    transform: rotateY(5deg) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.sdg-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.sdg-card h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sdg-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Individual SDG Colors */
.sdg-3 { border-color: #4C9F38; }
.sdg-3 .sdg-number { background: #4C9F38; }

.sdg-4 { border-color: #C5192D; }
.sdg-4 .sdg-number { background: #C5192D; }

.sdg-5 { border-color: #FF3A21; }
.sdg-5 .sdg-number { background: #FF3A21; }

.sdg-8 { border-color: #A21942; }
.sdg-8 .sdg-number { background: #A21942; }

.sdg-10 { border-color: #DD1367; }
.sdg-10 .sdg-number { background: #DD1367; }

.sdg-13 { border-color: #3F7E44; }
.sdg-13 .sdg-number { background: #3F7E44; }

.sdg-17 { border-color: #19486A; }
.sdg-17 .sdg-number { background: #19486A; }

/* ===================================
   8. TEAM SECTION
   =================================== */

/* Success Stories Section */
.story-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 90, 142, 0.2);
}

.story-header {
    background: var(--gradient-primary);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.story-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.story-meta {
    flex: 1;
}

.story-meta h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.story-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.story-badge {
    display: inline-block;
    background: var(--secondary-orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.story-content {
    padding: 2rem;
    flex: 1;
}

.story-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-highlight {
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.05) 0%, rgba(249, 168, 38, 0.05) 100%);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-orange);
    border-radius: 10px;
    margin: 1.5rem 0;
    position: relative;
}

.story-highlight i {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--primary-orange);
    opacity: 0.3;
    font-size: 1.5rem;
}

.story-highlight p {
    margin: 0;
    padding-left: 1rem;
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 500;
}

.story-impact {
    background: var(--light-gray);
    padding: 1.2rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.story-impact i {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.story-impact p {
    margin: 0;
    flex: 1;
}

.story-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 600;
}

.stories-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 90, 142, 0.3);
}

.stories-cta h4 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stories-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.stories-cta .btn {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
}

.stories-cta .btn:hover {
    background: var(--secondary-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================================
   9. TEAM SECTION (ENHANCED)
   =================================== */

.team-category-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-orange);
    display: inline-block;
}

/* Enhanced Team Card */
.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 90, 142, 0.2);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 90, 142, 0.95), transparent);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-bio-short {
    color: var(--white);
    margin: 0;
    font-size: 0.95rem;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h5 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--primary-blue);
    margin: 0 0.3rem;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Team Join Card */
.team-join-card {
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.05) 0%, rgba(249, 168, 38, 0.05) 100%);
    border: 2px dashed var(--primary-blue);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.team-join-card:hover {
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.1) 0%, rgba(249, 168, 38, 0.1) 100%);
    border-style: solid;
}

.team-join-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.team-join-card h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.team-join-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

/* Team Member Photo Card - New Enhanced Version */
.team-member-photo-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 90, 142, 0.2);
}

.member-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: var(--light-gray);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

.team-member-photo-card:hover .member-photo img {
    transform: scale(1.1);
}

.member-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30, 90, 142, 0.9), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}

.team-member-photo-card:hover .member-photo-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition-fast);
    transform: translateY(20px);
    opacity: 0;
}

.team-member-photo-card:hover .member-social a {
    transform: translateY(0);
    opacity: 1;
}

.member-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.member-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.member-social a:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-info h6 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.member-bio {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.member-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Old Team Member Card - Keep for backwards compatibility */
.team-member-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 90, 142, 0.15);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.team-member-card h6 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member-card .member-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.member-school {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.team-member-card .member-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.team-member-card.add-member {
    border: 2px dashed var(--primary-blue);
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.02) 0%, rgba(249, 168, 38, 0.02) 100%);
}

.team-member-card.add-member .member-avatar {
    background: var(--light-gray);
    color: var(--primary-blue);
}

.team-member-card.add-member:hover {
    border-style: solid;
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.05) 0%, rgba(249, 168, 38, 0.05) 100%);
}

/* Volunteer Section */
.volunteer-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.volunteer-section h5 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.volunteer-benefits {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.volunteer-benefits li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volunteer-benefits i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* Animated Volunteer Count Circle */
.volunteer-count-wrapper {
    margin: 2rem 0;
}

.count-circle {
    width: 180px;
    height: 180px;
    position: relative;
    margin: 0 auto;
}

.count-progress {
    transform: rotate(-90deg);
}

.count-bg {
    fill: none;
    stroke: var(--light-gray);
    stroke-width: 8;
}

.count-fill {
    fill: none;
    stroke: url(#countGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    animation: fillCircle 2s ease-out forwards;
    filter: drop-shadow(0 0 8px rgba(249, 168, 38, 0.4));
}

@keyframes fillCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.count-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.count-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeInUp 2s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Structure Cards */
.structure-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    height: 100%;
}

.structure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 90, 142, 0.15);
}

.structure-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.structure-card h6 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.structure-card p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   10. SDGS SECTION (Keeping old numbering)
   =================================== */

/* ===================================
   10. PARTNERS SECTION - ANIMATED QUEUE
   =================================== */

/* Partners Container with Carousel Effect */
.partners-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin: 3rem 0;
}

.partners-carousel-wrapper::before,
.partners-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.partners-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray), transparent);
}

.partners-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray), transparent);
}

/* Carousel Row Container */
.partners-carousel-row {
    display: flex;
    gap: 2rem;
    animation: scrollPartners 30s linear infinite;
    width: fit-content;
}

.partners-carousel-row:hover {
    animation-play-state: paused;
}

/* Reverse animation for second row */
.partners-carousel-row.reverse {
    animation: scrollPartnersReverse 35s linear infinite;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollPartnersReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Partner Logo Cards with Enhanced Animation */
.partner-logo-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    min-width: 200px;
    width: 200px;
    height: 180px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.partner-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 168, 38, 0.2), transparent);
    transition: var(--transition-smooth);
    z-index: 1;
}

.partner-logo-card:hover::before {
    left: 100%;
    transition: left 0.8s ease;
}

.partner-logo-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-15px) scale(1.08) rotateY(5deg);
    box-shadow:
        0 25px 60px rgba(30, 90, 142, 0.3),
        0 0 0 3px rgba(249, 168, 38, 0.2);
    z-index: 100;
}

.partner-logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.03) 0%, rgba(249, 168, 38, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.partner-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(30, 90, 142, 0.1) 0%, rgba(249, 168, 38, 0.15) 100%);
    transition: var(--transition-smooth);
}

.partner-logo-card:hover .partner-logo-wrapper::after {
    width: 300%;
    height: 300%;
}

.partner-logo-img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    filter: grayscale(100%) brightness(1.1);
}

.partner-logo-card:hover .partner-logo-img {
    filter: grayscale(0%) brightness(1) drop-shadow(0 5px 15px rgba(249, 168, 38, 0.4));
    transform: scale(1.15) rotate(-5deg);
    animation: logoBounce 0.6s ease-in-out;
}

@keyframes logoBounce {
    0%, 100% { transform: scale(1.15) rotate(-5deg) translateY(0); }
    50% { transform: scale(1.2) rotate(-5deg) translateY(-10px); }
}

@keyframes partnerShimmer {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        box-shadow: 0 0 30px rgba(249, 168, 38, 0.6);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
}

.partner-logo-card h6 {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    padding: 0.8rem 1rem;
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
    z-index: 2;
}

.partner-logo-card:hover h6 {
    color: var(--primary-orange);
    font-size: 0.95rem;
    transform: scale(1.05);
}

/* Mobile Responsive for Partners Carousel */
@media (max-width: 768px) {
    .partners-carousel-wrapper::before,
    .partners-carousel-wrapper::after {
        width: 80px;
    }

    .partners-carousel-row {
        animation-duration: 25s;
        gap: 1.5rem;
    }

    .partners-carousel-row.reverse {
        animation-duration: 30s;
    }

    .partner-logo-card {
        min-width: 160px;
        width: 160px;
        height: 160px;
    }

    .partner-logo-wrapper {
        height: 100px;
        padding: 1rem;
    }

    .partner-logo-img {
        max-width: 70px;
        max-height: 70px;
    }

    .partner-logo-card h6 {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .partners-carousel-wrapper {
        padding: 1.5rem 0;
    }

    .partners-carousel-row {
        animation-duration: 20s;
        gap: 1rem;
    }

    .partners-carousel-row.reverse {
        animation-duration: 25s;
    }

    .partner-logo-card {
        min-width: 140px;
        width: 140px;
        height: 150px;
    }

    .partner-logo-wrapper {
        height: 90px;
        padding: 0.8rem;
    }

    .partner-logo-img {
        max-width: 60px;
        max-height: 60px;
    }

    .partner-logo-card h6 {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
    }

    .partner-logo-card:hover {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Partnership CTA */
.partnership-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 90, 142, 0.3);
    position: relative;
    overflow: hidden;
}

.partnership-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.2) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.partnership-cta h4 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.partnership-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.partnership-cta .btn {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    position: relative;
    z-index: 1;
}

.partnership-cta .btn:hover {
    background: var(--secondary-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ===================================
   10. CONTACT SECTION
   =================================== */

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.contact-info h4 {
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-item div h6 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-item div p,
.contact-item div a {
    color: var(--medium-gray);
    margin: 0;
}

.contact-item div a:hover {
    color: var(--primary-orange);
}

.social-links h6 {
    color: var(--primary-blue);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--primary-blue);
    margin-right: 0.8rem;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-blue);
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 90, 142, 0.15);
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 90, 142, 0.3);
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(76, 159, 56, 0.1);
    color: #4C9F38;
    border: 2px solid #4C9F38;
}

.form-message.error {
    background: rgba(197, 25, 45, 0.1);
    color: #C5192D;
    border: 2px solid #C5192D;
}

/* ===================================
   11. FOOTER WITH ANIMATIONS
   =================================== */

.footer {
    background: linear-gradient(135deg, #0D3B5C 0%, #1E5A8E 50%, #0D3B5C 100%);
    color: var(--white);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background Logos as Rewards */
.footer-bg-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: revealRewards 1s ease-out 0.5s forwards;
}

@keyframes revealRewards {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.footer-logo-float {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.08;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.footer-logo-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: brightness(1.5) grayscale(50%);
}

/* Position and animate each floating logo */
.footer-logo-1 {
    top: 10%;
    left: 5%;
    animation-name: floatReward1;
    animation-delay: 0s;
}

.footer-logo-2 {
    top: 20%;
    right: 10%;
    animation-name: floatReward2;
    animation-delay: 2s;
}

.footer-logo-3 {
    bottom: 30%;
    left: 15%;
    animation-name: floatReward3;
    animation-delay: 4s;
}

.footer-logo-4 {
    bottom: 20%;
    right: 20%;
    animation-name: floatReward4;
    animation-delay: 1s;
}

.footer-logo-5 {
    top: 50%;
    left: 50%;
    animation-name: floatReward5;
    animation-delay: 3s;
}

.footer-logo-6 {
    top: 60%;
    right: 5%;
    animation-name: floatReward6;
    animation-delay: 5s;
}

@keyframes floatReward1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(40px, 0px) rotate(180deg); }
    75% { transform: translate(20px, 30px) rotate(270deg); }
}

@keyframes floatReward2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-30px, 20px) rotate(120deg) scale(1.2); }
    66% { transform: translate(-15px, -20px) rotate(240deg) scale(0.9); }
}

@keyframes floatReward3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, -40px) rotate(180deg); }
}

@keyframes floatReward4 {
    0%, 100% { transform: translate(0, 0) rotate(360deg); }
    25% { transform: translate(-20px, 20px) rotate(270deg); }
    50% { transform: translate(-40px, 0px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(90deg); }
}

@keyframes floatReward5 {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.3); }
}

@keyframes floatReward6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -25px) rotate(-120deg); }
    66% { transform: translate(15px, 25px) rotate(-240deg); }
}

.footer-content {
    position: relative;
    z-index: 1;
}

/* Footer Brand with Animated Logo */
.footer-brand {
    text-align: center;
}

.footer-logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: inline-block;
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(249, 168, 38, 0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 0 rgba(249, 168, 38, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid transparent;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.footer-logo-wrapper:hover .footer-logo {
    transform: scale(1.15) rotate(360deg);
    border-color: var(--primary-orange);
    box-shadow:
        0 0 0 10px rgba(249, 168, 38, 0.2),
        0 0 0 20px rgba(249, 168, 38, 0.1),
        0 20px 50px rgba(249, 168, 38, 0.4);
}

.footer-logo-wrapper:hover .footer-logo-ring {
    width: 130px;
    height: 130px;
    border-color: var(--primary-orange);
    border-style: dashed;
    animation: spinRing 3s linear infinite;
}

@keyframes spinRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.footer-brand h5 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}

.footer-tagline {
    color: var(--secondary-orange);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(249, 168, 38, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.footer-social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 25px rgba(249, 168, 38, 0.4);
}

.footer-social-icon:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.footer-social-icon i {
    position: relative;
    z-index: 1;
}

/* Footer Section Titles */
.footer-title {
    color: var(--secondary-orange);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.9rem;
    opacity: 0;
    animation: slideInLeft 0.5s ease-out forwards;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.15s; }
.footer-links li:nth-child(3) { animation-delay: 0.2s; }
.footer-links li:nth-child(4) { animation-delay: 0.25s; }
.footer-links li:nth-child(5) { animation-delay: 0.3s; }
.footer-links li:nth-child(6) { animation-delay: 0.35s; }
.footer-links li:nth-child(7) { animation-delay: 0.4s; }
.footer-links li:nth-child(8) { animation-delay: 0.45s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-orange);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-links li:not(:has(a)) {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li:not(:has(a)) i {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    animation: slideInLeft 0.5s ease-out forwards;
}

.footer-contact li:nth-child(1) { animation-delay: 0.1s; }
.footer-contact li:nth-child(2) { animation-delay: 0.2s; }
.footer-contact li:nth-child(3) { animation-delay: 0.3s; }

.footer-contact i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact span {
    line-height: 1.6;
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(249, 168, 38, 0.3) 20%,
        rgba(249, 168, 38, 0.6) 50%,
        rgba(249, 168, 38, 0.3) 80%,
        transparent 100%);
    margin: 3rem 0 2rem;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
    flex: 1;
    min-width: 200px;
}

.footer-bottom-left {
    text-align: left;
}

.footer-bottom-center {
    text-align: center;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
    animation: fadeIn 1s ease-out;
}

.footer-bottom .fas.fa-heart {
    color: #ff4757;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1.2); }
}

.footer-est {
    font-weight: 700;
    color: var(--secondary-orange) !important;
    font-size: 1.1rem !important;
    letter-spacing: 2px;
}

/* ===================================
   12. SCROLL TO TOP BUTTON
   =================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(249, 168, 38, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 168, 38, 0.6);
}

/* ===================================
   13. RESPONSIVE DESIGN
   =================================== */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Tablet and Small Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        width: 160px;
        height: 160px;
    }
    
    .program-card,
    .value-card,
    .sdg-card {
        margin-bottom: 2rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        width: 140px;
        height: 140px;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Founder's Note */
    .founder-quote {
        font-size: 1.3rem;
    }
    
    /* Story Cards */
    .story-header {
        flex-direction: column;
        text-align: center;
    }
    
    .story-avatar {
        margin-bottom: 1rem;
    }
    
    /* Team */
    .team-category-title {
        font-size: 1.5rem;
    }
    
    .volunteer-section {
        padding: 2rem;
    }
    
    .volunteer-section .row {
        flex-direction: column-reverse;
    }
    
    .volunteer-count {
        margin-bottom: 2rem;
    }
}

/* Large Mobile (576px - 767px) */
@media (max-width: 767px) {
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-logo {
        width: 110px;
        height: 110px;
        border: 4px solid rgba(255, 255, 255, 0.4);
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
        padding: 15px 20px;
    }
    
    /* Sections */
    :root {
        --section-padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-divider {
        width: 60px;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    .info-card {
        margin-bottom: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Founder's Note */
    .founder-card-inner {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2.5rem 2rem;
    }

    .founder-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .founder-name-tag {
        min-width: 220px;
    }

    .founder-quote-text {
        font-size: 1.4rem;
    }

    .founder-quote-subtitle {
        font-size: 1.1rem;
    }

    .founder-content {
        padding: 2rem 1.5rem;
    }
    
    /* Programs */
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .program-card h4 {
        font-size: 1.2rem;
    }
    
    /* SDGs */
    .sdg-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .sdg-card h5 {
        font-size: 1.1rem;
    }
    
    /* Success Stories */
    .story-header {
        padding: 1.5rem;
    }
    
    .story-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .story-meta h4 {
        font-size: 1.2rem;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stories-cta {
        padding: 2rem 1.5rem;
    }
    
    .stories-cta h4 {
        font-size: 1.5rem;
    }
    
    /* Team */
    .team-category-title {
        font-size: 1.3rem;
    }
    
    .team-image {
        height: 250px;
    }
    
    .team-member-card {
        margin-bottom: 1.5rem;
    }
    
    .volunteer-section {
        padding: 1.5rem;
    }
    
    .count-circle {
        width: 120px;
        height: 120px;
    }
    
    .count-number {
        font-size: 2rem;
    }
    
    /* Partners */
    .partner-logo-card {
        margin-bottom: 1rem;
    }

    .partner-logo-wrapper {
        height: 100px;
        padding: 1rem;
    }

    .partner-logo-img {
        max-width: 70px;
        max-height: 70px;
    }

    /* Team Member Photo Cards */
    .member-photo {
        height: 220px;
    }
    
    /* Contact */
    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 3rem;
    }

    .footer-logo-wrapper {
        width: 80px;
        height: 80px;
    }

    .footer-logo {
        width: 80px;
        height: 80px;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        text-align: center;
    }

    /* Keep footer background logos visible on tablets and large phones */
    .footer-bg-logos {
        display: block;
        opacity: 0.07 !important;
    }

    .footer-logo-float {
        width: 70px;
        height: 70px;
    }
}

/* Pixel 7 and Similar Devices (481px - 520px) */
@media (min-width: 481px) and (max-width: 520px) {
    /* Hero Section - Optimized for Pixel 7 (412×915) */
    .hero-logo {
        width: 100px;
        height: 100px;
        border: 4px solid rgba(255, 255, 255, 0.4);
        margin: 0 auto 1.5rem auto;
        display: block;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        font-size: 0.95rem;
        padding: 13px 25px;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.7rem;
    }

    /* Footer - Show background logos on Pixel 7 */
    .footer-bg-logos {
        display: block;
        opacity: 0.06 !important;
    }

    .footer-logo-float {
        width: 70px;
        height: 70px;
    }

    .footer-logo-wrapper {
        width: 75px;
        height: 75px;
    }

    .footer-logo {
        width: 75px;
        height: 75px;
    }
}

/* Small Mobile (481px - 575px) */
@media (max-width: 575px) {
    /* Base adjustments */
    body {
        font-size: 0.95rem;
    }
    
    /* Navigation */
    .logo-img {
        height: 40px;
        width: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
        border: 3px solid rgba(255, 255, 255, 0.4);
        margin: 0 auto 1.5rem auto;
        display: block;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Cards */
    .value-card,
    .program-card,
    .story-card,
    .team-member-card {
        padding: 1.5rem 1rem;
    }
    
    /* Founder's Quote */
    .founder-quote {
        font-size: 1.1rem;
    }
    
    /* Story Cards */
    .story-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .story-highlight {
        padding: 1rem;
    }
    
    /* Team */
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .team-member-card h6 {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.95rem;
        padding: 0.7rem 1.5rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    /* Footer background logos visible */
    .footer-bg-logos {
        display: block;
        opacity: 0.05 !important;
    }

    .footer-logo-float {
        width: 65px;
        height: 65px;
    }
}

/* Extra Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    /* Typography */
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-divider {
        width: 50px;
        height: 3px;
    }
    
    /* Cards - Extra compact */
    .value-card,
    .program-card {
        padding: 1.5rem 1rem;
    }
    
    .value-icon,
    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .value-card h5,
    .program-card h4 {
        font-size: 1rem;
    }
    
    .value-card p,
    .program-card p {
        font-size: 0.9rem;
    }
    
    /* Founder's Note */
    .founder-card-inner {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .founder-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .founder-name-tag {
        min-width: 180px;
        padding: 1rem 1.5rem;
    }

    .founder-name-tag h5 {
        font-size: 1.1rem;
    }

    .founder-name-tag p {
        font-size: 0.9rem;
    }

    .founder-quote-section {
        padding: 0.5rem 1rem;
    }

    .founder-quote-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .quote-decorative-line {
        width: 60px;
        height: 3px;
    }

    .founder-quote-subtitle {
        font-size: 1rem;
    }

    .quote-icon {
        font-size: 3rem;
    }

    .founder-content {
        padding: 1.5rem 1rem;
    }

    .founder-content h5 {
        font-size: 1.3rem;
    }
    
    /* Story Cards */
    .story-header {
        padding: 1rem;
        gap: 1rem;
    }
    
    .story-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .story-meta h4 {
        font-size: 1.1rem;
    }
    
    .story-subtitle {
        font-size: 0.85rem;
    }
    
    .story-content {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .story-content p {
        font-size: 0.9rem;
    }
    
    .story-highlight {
        padding: 0.8rem;
        margin: 1rem 0;
    }
    
    .story-highlight p {
        font-size: 0.9rem;
        padding-left: 0.5rem;
    }
    
    .story-stats {
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem 0;
    }
    
    .stat-item i {
        font-size: 1.2rem;
    }
    
    .stat-item span {
        font-size: 0.85rem;
    }
    
    .stories-cta {
        padding: 1.5rem 1rem;
    }
    
    .stories-cta h4 {
        font-size: 1.3rem;
    }
    
    .stories-cta p {
        font-size: 0.95rem;
    }
    
    /* Team */
    .team-category-title {
        font-size: 1.2rem;
        padding-bottom: 0.5rem;
    }
    
    .team-info {
        padding: 1.5rem;
    }
    
    .team-info h5 {
        font-size: 1.1rem;
    }
    
    .team-member-card {
        padding: 1.5rem 1rem;
    }
    
    .member-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .team-member-card h6 {
        font-size: 0.95rem;
    }
    
    .member-role {
        font-size: 0.85rem;
    }
    
    .member-school {
        font-size: 0.8rem;
    }
    
    .member-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .volunteer-section {
        padding: 1rem;
    }
    
    .volunteer-section h5 {
        font-size: 1.3rem;
    }
    
    .volunteer-benefits li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
    
    .count-circle {
        width: 100px;
        height: 100px;
    }
    
    .count-number {
        font-size: 1.8rem;
    }
    
    .count-label {
        font-size: 0.8rem;
    }
    
    .structure-card {
        padding: 1.5rem 1rem;
    }
    
    .structure-card i {
        font-size: 2rem;
    }
    
    .structure-card h6 {
        font-size: 1rem;
    }
    
    .structure-card p {
        font-size: 0.85rem;
    }
    
    /* SDGs */
    .sdg-card {
        padding: 1.5rem 1rem;
    }

    .sdg-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .sdg-card h5 {
        font-size: 1rem;
    }

    .sdg-card p {
        font-size: 0.85rem;
    }

    /* Partners - Mobile */
    .partner-logo-wrapper {
        height: 80px;
        padding: 0.8rem;
    }

    .partner-logo-img {
        max-width: 60px;
        max-height: 60px;
    }

    .partner-logo-card h6 {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }

    .partnership-cta {
        padding: 2rem 1.5rem;
    }

    .partnership-cta h4 {
        font-size: 1.4rem;
    }

    .partnership-cta p {
        font-size: 1rem;
    }

    /* Team Member Photo Cards - Mobile */
    .member-photo {
        height: 200px;
    }

    .member-info {
        padding: 1rem;
    }

    .member-info h6 {
        font-size: 1rem;
    }

    .member-bio {
        font-size: 0.85rem;
    }

    .member-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    /* Volunteer Count Circle - Mobile */
    .count-circle {
        width: 140px;
        height: 140px;
    }

    .count-progress {
        width: 140px;
        height: 140px;
    }

    .count-progress circle {
        cx: 70;
        cy: 70;
        r: 60;
    }

    .count-number {
        font-size: 2.2rem;
    }

    .count-label {
        font-size: 0.75rem;
    }
    
    /* Contact */
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-right: 1rem;
    }
    
    .contact-item h6 {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer-logo-wrapper {
        width: 70px;
        height: 70px;
    }

    .footer-logo {
        width: 70px;
        height: 70px;
    }

    .footer-brand h5 {
        font-size: 1.2rem;
    }

    .footer-tagline {
        font-size: 0.95rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 0.8rem;
    }

    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-links li,
    .footer-contact li {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-est {
        font-size: 1rem !important;
    }
    
    /* Scroll to top button */
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 20px;
        right: 20px;
    }

    /* Adjust footer background logos for very small screens */
    .footer-bg-logos {
        opacity: 0.04 !important;
    }

    .footer-logo-float {
        width: 60px;
        height: 60px;
    }
}

/* Landscape Mobile Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-logo {
        width: 70px;
        height: 70px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ===================================
   14. UTILITY CLASSES
   =================================== */

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.text-primary-orange {
    color: var(--primary-orange);
}

/* Mobile-specific utilities */
@media (max-width: 768px) {
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-no-padding {
        padding: 0 !important;
    }
    
    .mobile-stack {
        display: block !important;
        width: 100% !important;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for mobile */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem !important;
    }
    
    .team-social a,
    .social-icon {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .value-card:hover,
    .program-card:hover,
    .story-card:hover,
    .team-card:hover,
    .team-member-card:hover {
        transform: none;
    }
    
    /* Add tap highlight */
    * {
        -webkit-tap-highlight-color: rgba(30, 90, 142, 0.1);
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-top-btn,
    .hero-buttons,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* Smooth Animations */
[data-aos] {
    transition-duration: 0.8s;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-aos] {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================
   15. ADDITIONAL RESPONSIVE ENHANCEMENTS
   =================================== */

/* Container max-width management */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure containers have proper padding on mobile */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Flexbox fallbacks for older browsers */
.d-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* Grid fallbacks */
@supports not (display: grid) {
    .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

/* Smooth scrolling with fallback */
@media screen and (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Fix for iOS Safari viewport height */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* Prevent zoom on input focus (iOS) */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Improve tap targets on small screens */
@media (max-width: 576px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Orientation change handling */
@media (orientation: landscape) and (max-height: 600px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-logo,
    .logo-img,
    .partner-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support (future-proofing) */
@media (prefers-color-scheme: dark) {
    /* Uncomment when implementing dark mode */
    /*
    body {
        background: #1a1a1a;
        color: #f0f0f0;
    }
    */
}

/* Print styles enhancement */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    img {
        page-break-inside: avoid;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}

/* Safe area insets for notched devices (iPhone X+) */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .navbar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Ensure all sections are visible */
section {
    position: relative;
    z-index: 1;
}

/* Prevent text selection on interactive elements */
button, .btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Better focus visibility for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Remove outline for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* ===================================
   16. PERFORMANCE OPTIMIZATIONS
   =================================== */

/* GPU Acceleration for animations */
.hero-logo,
.partner-logo-card,
.team-member-photo-card,
.value-card,
.program-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Optimize font loading */
.section-title,
.hero-title {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   END OF RESPONSIVE STYLES
   =================================== */