/* ==========================================================================
   1. CORE FONTS & VARIABLE CONFIGURATION (UI/UX EXACT MATCH)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-yellow: #FFB703;
    --primary-orange: #FB8500;
    --navy-blue: #023047;
    --dark-blue: #001D2D;
    --bg-white: #FFFFFF;
    --text-dark: #212529;
    --text-muted: #555555;
    --light-gray: #F8F9FA;
    --shadow: 0 10px 30px rgba(2, 48, 71, 0.06);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Dynamic Theme Variables */
    --card-bg: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 12px rgba(2, 48, 71, 0.04);
    --shadow-lg: 0 20px 40px rgba(2, 48, 71, 0.08);
    --hero-overlay: rgba(2, 48, 71, 0.45);
}


/* ==========================================================================
   DARK THEME OVERRIDES (AUTOMATIC TO THEME ENGINE)
   ========================================================================== */
[data-theme="dark"] {
    --bg-white: #0A1118;
    --text-dark: #E9ECEF;
    --text-muted: #ADB5BD;
    --navy-blue: #FFFFFF;
    --dark-blue: #FFB703;
    --light-gray: #121B24;
    --card-bg: #16222F;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
    --hero-overlay: rgba(0, 29, 45, 0.75);
}

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

button, input, textarea {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   3. PREMIUM NAVIGATION SYSTEMS
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    z-index: 10000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Naye image logo ka perfect clean size handler */
.logo-area img.site-logo {
    height: 150px; /* Navbar ke hisab se ekdum standard height */
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-area div {
    font-size: 1.5rem; /* Font size halka sa normalize kiya taaki logo ke sath match kare */
    font-weight: 800;
    color: var(--navy-blue);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-area div span {
    color: var(--primary-orange);
    display: inline;
}

.logo-subtext {
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Responsive adjustment: Mobile par logo automatic thoda chhota ho jayega */
@media (max-width: 480px) {
    .logo-area img.site-logo {
        height: 42px;
    }
    .logo-area div {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Premium Mode Switcher Component */
.theme-switch {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.theme-switch:hover {
    transform: scale(1.08);
}



/* Premium Buttons Configuration */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: #023047 !important;
}

.btn-yellow:hover {
    background-color: var(--primary-orange);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 133, 0, 0.25);
}

.btn-navy {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--border-color);
}

.btn-navy:hover {
    background-color: var(--navy-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-navy-solid {
    background-color: var(--primary-orange);
    color: #ffffff !important;
}

.btn-navy-solid:hover {
    background-color: var(--primary-yellow);
    color: #023047 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. PREMIUM HERO SECTION
   ========================================================================== */
.hero-full-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), 
                url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 6%;
}

.hero-left-content {
    max-width: 650px;
    z-index: 10;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 183, 3, 0.15);
    color: var(--primary-yellow);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 183, 3, 0.25);
}

.hero-left-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #FFFFFF !important; /* Pure text fix on image backdrop */
    line-height: 1.1;
    margin-bottom: 20px;
}

[data-theme="dark"] .hero-left-content h1 {
    color: #FFFFFF !important;
}

.hero-left-content h1 span {
    display: block;
    color: var(--primary-yellow);
}

.hero-left-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-watch-story {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-watch-story i {
    font-size: 1.8rem;
    color: var(--primary-yellow);
    transition: var(--transition);
}

.btn-watch-story:hover i {
    transform: scale(1.1);
    color: var(--primary-orange);
}

/* ==========================================================================
   UPDATED PREMIUM FEATURES BAR SYSTEM
   ========================================================================== */
.features-bar {
    display: grid;
    /* Strict 4-column layout ek row mein lane ke liye */
    grid-template-columns: repeat(4, 1fr); 
    padding: 40px 4%;
    background-color: var(--card-bg);
    margin-top: -60px;
    position: relative;
    z-index: 50;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 10px 20px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover karne par item ka smooth upar uthna */
.feature-item:hover {
    transform: translateY(-8px);
}

/* Items ke beech mein vertical separator lines (Aakhri item ko chhodkar) */
.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

.feature-icon {
    font-size: 1.6rem;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Icons ke Alag-Alag Custom Colors (Nth-Child Targeting) */
/* 1. Quality Education (Blue/Navy Premium Look) */
.feature-item:nth-child(1) .feature-icon {
    color: #2A9D8F;
    background-color: rgba(42, 157, 143, 0.1);
}
/* 2. Holistic Development (Orange Look) */
.feature-item:nth-child(2) .feature-icon {
    color: #cbec0b;
    background-color: rgba(251, 133, 0, 0.1);
}
/* 3. Community Impact (Purple/Pink Look) */
.feature-item:nth-child(3) .feature-icon {
    color: #8E44AD;
    background-color: rgba(142, 68, 173, 0.1);
}
/* 4. Be the Support (Yellow/Gold Look) */
.feature-item:nth-child(4) .feature-icon {
    color: #1fdd0e;
    background-color: rgba(230, 126, 34, 0.1);
}

.feature-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

/* Hover karne par text color primary orange ho jayega */
.feature-item:hover .feature-info h3 {
    color: var(--primary-orange);
}

.feature-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* RESPONSIVE ARCHITECTURE: Mobile par columns stack ho jayenge aur lines hat jayengi */
@media (max-width: 1024px) {
    .features-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .feature-item:nth-child(2)::after {
        display: none; /* Tablet screen row boundary break row 1 */
    }
}

@media (max-width: 768px) {
    .features-bar {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    .feature-item::after {
        display: none !important; /* Mobile par separator lines hide ho jayengi */
    }
    .feature-item {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .feature-item:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   CALLOUT BANNER CENTER ALIGNMENT FIX
   ========================================================================== */
.callout-banner {
    text-align: center;
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 6% 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin: 0 auto; /* Margin auto se horizontal center guarantee hota hai */
}

.callout-banner span {
    color: var(--primary-orange);
}

/* ==========================================================================
   UPDATED 4-COLUMN DYNAMIC STATS GRID SYSTEM
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Strict 4 columns ek hi row mein */
    gap: 25px;
    max-width: 1200px; /* Width thodi badhai taaki 4 box easily aa jayein */
    margin: 30px auto 80px;
    padding: 0 6%;
}

.stat-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Cursor jate hi smooth upar uthne aur strong shadow ka hover effect */
.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.stat-box h2 {
    font-size: 2.8rem; /* 4 boxes ke hisab se responsive font size optimization */
    font-weight: 800;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

/* Chaaro boxes ke alag-alag unique custom premium text colors */
.stats-grid .stat-box:nth-child(1) h2 {
    color: #2A9D8F; /* Teal Blue */
}
.stats-grid .stat-box:nth-child(2) h2 {
    color: #FB8500; /* Primary Orange */
}
.stats-grid .stat-box:nth-child(3) h2 {
    color: #8E44AD; /* Purple */
}
.stats-grid .stat-box:nth-child(4) h2 {
    color: #E67E22; /* Coral Red/Gold */
}

.stat-box p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 5px;
}


/* RESPONSIVE DESIGN: Multi-screens adaptive code */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet par 2x2 ka layout grid */
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr; /* Mobile screens par pure single row stacks */
        gap: 15px;
    }
    .stat-box {
        padding: 30px 15px;
    }
    .stat-box h2 {
        font-size: 2.3rem;
    }
}

/* Shared Premium Sections Setup */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Premium Structured Contact Block */
.contact-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6% 80px;
    align-items: center;
}

.contact-meta h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.meta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.meta-row i {
    font-size: 1.6rem;
    color: var(--primary-orange);
    background-color: rgba(251, 133, 0, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Email Icon Fix (Pehla Meta Row - Cool Teal Blue Look) */
.meta-row:nth-of-type(1) i {
    color: #ac10a4;
    background-color: rgba(42, 157, 143, 0.1);
}

/* 2. Address Icon Fix (Dusra Meta Row - Vibrant Map Red Look) */
.meta-row:nth-of-type(2) i {
    color: #9deb0c;
    background-color: rgba(231, 111, 81, 0.1);
}

/* Hover effect: Jab pure card par cursor jaye toh icons thode scale up hon */
.meta-row:hover i {
    transform: scale(1.08);
}

/* Contact / Universal Forms System */
.contact-form {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(251, 133, 0, 0.08);
}

/* Premium Gallery System Grid */
.gallery-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 6%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 48, 71, 0.85), rgba(2, 48, 71, 0.1));
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 4px;
}

/* ==========================================================================
   6. ENTERPRISE ARCHITECTURE FOOTER
   ========================================================================== */
footer {
    background-color: #001521;
    color: #ffffff;
    padding: 80px 6% 30px;
}

.footer-wrap {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-brand .logo-area div {
    color: #ffffff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    margin: 20px 0 25px;
    line-height: 1.6;
}

.social-cluster {
    display: flex;
    gap: 15px;
}

.social-cluster a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff !important; /* Icons hamesha base par pure white rahenge */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 1. Facebook Color Fix (.fa-facebook-f) */
.social-cluster a:has(.fa-facebook-f) {
    background-color: #1877F2;
}
.social-cluster a:has(.fa-facebook-f):hover {
    background-color: #166FE5;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

/* 2. Instagram Color Fix (.fa-instagram) */
.social-cluster a:has(.fa-instagram) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-cluster a:has(.fa-instagram):hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

/* 3. Twitter / X Color Fix (.fa-twitter) */
.social-cluster a:has(.fa-twitter) {
    background-color: #1DA1F2; /* Standard Twitter Blue (Ya fir black #000000 agar X look chahiye) */
}
.social-cluster a:has(.fa-twitter):hover {
    background-color: #1a91da;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
}

/* 4. LinkedIn Color Fix (.fa-linkedin-in) */
.social-cluster a:has(.fa-linkedin-in) {
    background-color: #0077B5;
}
.social-cluster a:has(.fa-linkedin-in):hover {
    background-color: #006297;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
}

/* Universal hover float effect */
.social-cluster a:hover {
    transform: translateY(-4px);
}

.footer-col h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-base {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   7. FLOATING ACTION CONTROLLERS & HOVER INTERACTIONS
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 35px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   8. RESPONSIVE ARCHITECTURE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .contact-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .gallery-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-left-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 4%;
    }
    .nav-links {
        display: none; /* Mobile Navigation Toggle to be handled via JS if needed */
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-layout {
        grid-template-columns: 1fr;
    }
    .features-bar {
        margin-top: -30px;
        grid-template-columns: 1fr;
    }
    .hero-left-content h1 {
        font-size: 2.5rem;
    }
    .hero-action-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer-wrap {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-left-content h1 {
        font-size: 2.2rem;
    }
    .logo-area div {
        font-size: 1.3rem;
    }
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* ==========================================================================
   SCROLL TO TOP BUTTON SYSTEM (ALL PAGES)
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 50px;
    height: 50px;
    background-color: var(--navy-blue);
    color: var(--bg-white) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border: 2px solid var(--border-color);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary-orange);
    color: #ffffff !important;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ==========================================================================
   DONATE PAGE SPECIFIC DYNAMIC STYLING
   ========================================================================== */
.donate-page-wrapper { 
    padding: 150px 6% 80px; 
    background-color: var(--bg-white);
}

.donate-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.donate-left h2 { 
    font-size: 2.2rem; 
    color: var(--navy-blue); 
    margin-bottom: 20px; 
}

.donate-left p { 
    color: var(--text-muted); 
    line-height: 1.8; 
    margin-bottom: 30px; 
}

.donate-rules { 
    list-style: none; 
}

.donate-rules li { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: start; 
    gap: 10px; 
    color: var(--text-dark); 
}

.donate-rules li i { 
    color: var(--primary-yellow); 
    margin-top: 5px; 
}

.donate-form { 
    background: var(--card-bg); 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-lg);
}

.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
}

.form-group { 
    margin-bottom: 20px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 500; 
    font-size: 0.9rem; 
    color: var(--text-dark);
}

.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: 14px; 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    background: var(--light-gray); 
    color: var(--text-dark); 
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus { 
    outline: none;
    border-color: var(--primary-orange);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(251, 133, 0, 0.08);
}

@media(max-width: 768px) {
    .donate-container { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   THE PILLARS SECTION - PREMIUM HOVER & CUSTOM ICON COLORS
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pillar-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

/* Pillar Card Hover Action */
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 157, 143, 0.2);
}

/* Base Pillar Icon Container */
.pillar-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.pillar-card h4 {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   INDIVIDUAL PREMIUM ICON & HIGHLIGHT COLORS
   -------------------------------------------------------------------------- */

/* 1. Transparency Icon (Premium Royal Blue/Teal) */
.card-transparency .pillar-icon {
    color: #0077B5;
    background-color: rgba(0, 119, 181, 0.08);
}
.card-transparency:hover {
    border-top: 4px solid #0077B5;
}

/* 2. Sustainable Growth Icon (Fresh Emerald Green) */
.card-growth .pillar-icon {
    color: #2A9D8F;
    background-color: rgba(42, 157, 143, 0.08);
}
.card-growth:hover {
    border-top: 4px solid #2A9D8F;
}

/* 3. Community Inclusion Icon (Vibrant Coral Orange) */
.card-inclusion .pillar-icon {
    color: #E76F51;
    background-color: rgba(231, 111, 81, 0.08);
}
.card-inclusion:hover {
    border-top: 4px solid #E76F51;
}


/* ==========================================================================
   CONTACT PAGE STYLES (DYNAMIC & PREMIUM)
   ========================================================================== */

/* 1. Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #034661 100%);
    padding: 100px 6% 70px;
    text-align: center;
    color: #ffffff;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
}

/* 2. Main Wrapper & Grid Setup */
.contact-wrapper-section {
    background: var(--light-gray);
    padding: 80px 6%;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* 3. Left Column: Information Stack */
.contact-info-column h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.info-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.5;
}

.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.info-pill-card {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-pill-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Icons Design matching your clean scheme */
.info-pill-card .pill-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Premium microcolors assignments */
.info-cards-stack .info-pill-card:nth-child(1) .pill-icon {
    color: #E76F51; /* Map Red */
    background-color: rgba(231, 111, 81, 0.08);
}

.info-cards-stack .info-pill-card:nth-child(2) .pill-icon {
    color: #2A9D8F; /* WhatsApp Greenish-Teal */
    background-color: rgba(42, 157, 143, 0.08);
}

.info-cards-stack .info-pill-card:nth-child(3) .pill-icon {
    color: #0077B5; /* Official Mail Blue */
    background-color: rgba(0, 119, 181, 0.08);
}

.pill-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 6px;
}

.pill-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pill-details span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* System Status Indicator Block */
.status-indicator-box {
    background-color: var(--card-bg);
    border-left: 4px solid #2a9d8f;
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.status-pulse {
    width: 10px;
    height: 10px;
    background-color: #2a9d8f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.7);
    animation: statusBlink 1.6s infinite;
    flex-shrink: 0;
}

@keyframes statusBlink {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(42, 157, 143, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0); }
}

.status-indicator-box p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
}

/* 4. Right Column: Form Container System */
.form-container-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-container-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.form-container-box > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field-wrap label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.input-field-wrap input,
.input-field-wrap select,
.input-field-wrap textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

.input-field-wrap select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23023047' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 45px;
}

/* Dark mode clear override for select icon dropdown */
[data-theme="dark"] .input-field-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.input-field-wrap input:focus,
.input-field-wrap select:focus,
.input-field-wrap textarea:focus {
    outline: none;
    border-color: #0077B5;
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 119, 181, 0.1);
}

/* Submit Action Button */
.btn-submit-form {
    background-color: var(--primary-orange);
    color: #ffffff;
    border: none;
    padding: 16px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit-form:hover {
    background-color: #e6683c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.3);
}

.btn-submit-form i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-submit-form:hover i {
    transform: translate(3px, -3px);
}

/* 5. Responsive Breakpoint Fixes */
@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 { font-size: 2.2rem; }
    .form-group-row { grid-template-columns: 1fr; gap: 20px; }
    .form-container-box { padding: 30px 20px; }
}


/* ==========================================================================
   UNIVERSAL HERO SECTION FOR ALL PAGES
   ========================================================================== */
.page-hero, .contact-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #034661 100%) !important;
    padding: 100px 6% 70px;
    text-align: center;
    color: #ffffff !important;
}

/* Hero elements standard control */
.page-hero h1, .contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #ffffff !important;
}

.page-hero p, .contact-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Tagline badge layout */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary-yellow) !important;
}


/* --------------------------------------------------------------------------
   IMPACT PAGE PREMIUM STATS COUNTER BLOCKS
   -------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-num-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Unique coloring for counter digits */
.stats-grid .stat-box:nth-child(1) .counter-number, 
.stats-grid .stat-box:nth-child(1) .stat-plus { color: #2A9D8F; } /* Teal */

.stats-grid .stat-box:nth-child(2) .counter-number, 
.stats-grid .stat-box:nth-child(2) .stat-plus { color: #FB8500; } /* Orange */

.stats-grid .stat-box:nth-child(3) .counter-number, 
.stats-grid .stat-box:nth-child(3) .stat-plus { color: #8338EC; } /* Purple */

.stats-grid .stat-box:nth-child(4) .counter-number, 
.stats-grid .stat-box:nth-child(4) .stat-plus { color: #0077B5; } /* Blue */

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-box h3 {
    color: var(--navy-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* ==========================================================================
   MOBILE HAMBURGER NAVIGATION CORE STYLES
   ========================================================================== */

/* 1. Reset base settings for container alignment */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

/* 2. Hamburger Trigger Button Setup (Hidden by default on Desktop) */
.hamburger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu-btn .bar-line {
    width: 100%;
    height: 3px;
    background-color: var(--navy-blue);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark theme logic override for hamburger icon lines */
[data-theme="dark"] .hamburger-menu-btn .bar-line {
    background-color: #ffffff;
}

/* 3. Responsive Screen Breaking Points Architecture */
@media (max-width: 992px) {
    .hamburger-menu-btn {
        display: flex; /* Makes the button visible on smaller viewports */
    }

    /* Converts nav links strip into a vertical drop stack layer */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        border-bottom: 2px solid var(--border-color);
        display: none; /* Controlled dynamically by active layout class */
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-lg);
        text-align: center;
        gap: 15px !important;
    }

    .nav-links.active-mobile-menu {
        display: flex !important;
        animation: slideDownMenu 0.4s ease forwards;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        width: 100%;
    }

    /* Hides global text buttons layout adjustments if space is restricted */
    .nav-right {
        gap: 12px;
    }
    .navbar .btn-yellow {
        padding: 8px 16px;
        font-size: 0.88rem;
    }
}

/* 4. Cross Button Morph Animation Rules */
.hamburger-menu-btn.open-state .bar-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu-btn.open-state .bar-line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu-btn.open-state .bar-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


