/* =================================================================
   NGO WEBSITE STYLESHEET
   Version: 1.2
   Includes: Floating Header, Perfect Hero, Responsive Cert Slider
   ================================================================= */

/* -------------------
   1. Global Styles & Variables
   ------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #f05a28;
    --secondary-color: #333333;
    --text-color: #666;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --white-color: #fff;
    --light-gray-bg: #f9f9f9;
    --green-accent: #8dc63f;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: var(--body-font); 
    color: var(--text-color); 
    line-height: 1.6; 
    background-color: #fff;
}

.container { 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

h1, h2, h3 { 
    font-family: var(--heading-font); 
    font-weight: 700; 
    color: var(--secondary-color); 
}

section { 
    padding: 60px 0; 
}

.section-title {
    text-align: center;
    font-size: 3.7rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}


/* ---------------------------------
   2. Header - FLOATING CAPSULE DESIGN
   --------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 20px 0;
    background-color: transparent;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white-color);
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo img { 
    height: 60px; 
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav ul { 
    list-style: none; 
    display: flex; 
    gap: 40px; 
}
.main-nav a { 
    text-decoration: none; 
    color: var(--secondary-color); 
    font-family: var(--heading-font); 
    font-weight: 600; 
    font-size: 17px; 
    transition: color 0.3s ease; 
}
.main-nav a.active, .main-nav a:hover { 
    color: var(--primary-color); 
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}
.header-actions .fa-search { 
    font-size: 20px; 
    cursor: pointer; 
    color: var(--secondary-color); 
}

/* The BIG Orange Donate Button */
.btn-donate-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1; /* For better text alignment */
}
.btn-donate:hover { 
    background-color: #d85c13; 
    border-color: #d85c13;
}

#mobile-menu-toggle { 
    display: none; 
    background: transparent; border: none; cursor: pointer; z-index: 1001; flex-direction: column; gap: 5px;
}
#mobile-menu-toggle span { 
    display: block; width: 25px; height: 3px; background-color: var(--secondary-color); border-radius: 3px; transition: all 0.3s ease-in-out;
}


/* ======================================================
   3. HERO SLIDER SECTION - NAYA UPDATED CODE
   ====================================================== */

/* Ye har ek slide ke liye main container hai.
   Purani .hero-section ki jagah ab ye kaam karega. */
.hero-slide {
    width: 100%;
    height: 95vh; /* Screen ki height ka 95% hissa lega */
    min-height: 600px; /* Kam se kam itni height hamesha rahegi */
    
    /* Background image ko set karne ke liye */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Content ko vertically center mein lane ke liye */
    display: flex;
    align-items: center;
    
    position: relative; /* Overlay ke liye zaroori */
}

/* Har slide ke upar ek halki si dark परत (overlay)
   taaki safed text aasani se padha ja sake. */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.40); /* Aap isko .3 se .6 tak badal kar dekh sakte hain */
    z-index: 1;
}

/* Content (container) ko overlay ke upar lane ke liye */
.hero-slide .container {
    position: relative;
    z-index: 2;
}


/* Content ka style bilkul aapke purane design jaisa */
.hero-content {
    width: 55%; 
    margin-left: auto; /* Content ko right side mein rakhega */
    text-align: left; 
    padding-right: 3%;
}

.hero-content h1 {
    color: var(--white-color); 
    font-size: 3.5rem; 
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5); /* Shadow thodi gehri */
    margin: 0;
}

.hero-content h1 span {
    color: var(--green-accent); 
}

.hero-content .know-more {
    color: var(--white-color);
    text-decoration: none;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 25px;
    display: inline-block;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}
.hero-content .know-more:hover {
    transform: translateX(5px);
}
.hero-content .know-more i {
    margin-left: 10px;
    vertical-align: middle;
}

/* Mobile Devices ke liye adjustments */
@media (max-width: 768px) {
    .hero-slide {
        height: 80vh; /* Mobile par height thodi kam */
        min-height: 500px;
        align-items: flex-end; /* Content ko thoda niche rakhega */
        padding-bottom: 80px; /* Niche se spacing */
    }

    .hero-content {
        width: 100%; /* Mobile par poori width lega */
        margin-left: 0;
        padding-right: 0;
        text-align: center; /* Mobile par text center mein */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Mobile par heading thodi choti */
    }
}

/* -------------------
   4. Certifications Section - EXACT DESIGN
   ------------------- */
.certifications-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

/* --- Desktop Layout --- */
.certs-container-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.certs-container-desktop img {
    height: 150px;
    object-fit: contain;
}

/* --- Mobile Slider (hidden on desktop) --- */
.certs-slider-mobile {
    display: none;
}


/* -------------------------------------
   RESPONSIVE STYLES - Media Queries
   ------------------------------------- */
@media (max-width: 992px) {
    /* --- Mobile Header --- */
    .main-header {
        padding: 10px 0;
        background-color: var(--white-color);
    }

    .main-header .container {
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0 15px;
    }

    #mobile-menu-toggle {
        display: flex; 
    }

    .nav-wrapper {
        position: absolute; top: 80px; left: 0; width: 100%; background-color: var(--white-color); 
        box-shadow: 0 5px 10px rgba(0,0,0,0.1); max-height: 0; overflow: hidden; 
        transition: max-height 0.4s ease-in-out; flex-direction: column; padding: 0; gap: 0;
    }
    .nav-wrapper.active { 
        max-height: 500px; padding: 20px 0; 
    }
    .main-nav ul { 
        flex-direction: column; align-items: center; width: 100%; gap: 0; 
    }
    .main-nav li { 
        width: 100%; text-align: center; 
    }
    .main-nav a { 
        padding: 15px 0; display: block; width: 100%; 
    }
    .header-actions { 
        flex-direction: column; padding-top: 20px; gap: 15px; 
    }
    #mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    #mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* --- Mobile Hero Section --- */
    .hero-section {
        background-position: 85% center;
        margin-top: 0;
        z-index: 1;
        padding: 20vh 0;
    }
    .hero-content { 
        width: 100%; margin-left: 0; padding: 0 20px; text-align: left; 
    }
    .hero-content h1 { 
        font-size: 2.5rem; 
    }
}

@media (max-width: 768px) {
    /* --- Mobile Certifications Section --- */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* Hide the desktop container on mobile */
    .certs-container-desktop {
        display: none;
    }

    /* Show the mobile slider container */
    .certs-slider-mobile {
        display: block;
        width: 100%;
        padding-bottom: 30px;
    }

    .certs-slider-mobile .swiper-slide {
        text-align: center;
    }

    .certs-slider-mobile .swiper-slide img {
        height: 90px;
    }

    /* Style the pagination dots */
    .swiper-pagination-bullet {
        background: #ccc;
    }
    .swiper-pagination-bullet-active {
        background: var(--primary-color);
    }
}

/* -------------------
   5. Helping Section
   ------------------- */
.helping-section {
    padding: 80px 0;
}

.helping-layout {
    display: flex;
    align-items: center;
    gap: 70px; /* Space between image and content */
}

/* --- Left Column --- */
.helping-image-column {
    flex: 0 0 45%; /* Give it a fixed width */
    position: relative; /* Needed for positioning the badge */
}

.helping-image-column img {
    max-width: 100%;
}

.experience-badge {
    position: absolute;
    top: 50px; 
    right: 70px;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.1;
    border: 4px solid var(--white-color); /* White border around badge */
}

.experience-badge strong {
    font-size: 2.8rem;
    font-weight: 700;
}

.experience-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: -5px;
}

/* --- Right Column --- */
.helping-content-column {
    flex: 1; /* Take remaining space */
}

.sub-heading {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}
.sub-heading i {
    margin-right: 8px;
}

.helping-content-column h2 {
    font-size: 2.6rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #2c3e50; /* Darker blueish color for headline */
}

.helping-content-column p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 35px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f8f9fa; /* Light grey background */
    padding: 15px;
    border-radius: 10px;
}

.team-icon {
    background-color: #ffe8de; /* Light orange */
    color: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.team-text {
    flex-grow: 1;
}
.team-text strong {
    color: var(--secondary-color);
    font-weight: 600;
}
.team-text span {
    display: block;
    font-size: 0.9rem;
}
.team-avatars img {
    height: 40px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
}

.btn-explore {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(240, 90, 40, 0.4);
}
.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(240, 90, 40, 0.5);
}

.call-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.call-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.call-info span {
    display: block;
    font-size: 0.9rem;
}
.call-info strong {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    /* --- Mobile Global --- */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* --- Mobile Certifications Section --- */
    .certs-container-desktop {
        display: none;
    }

    .certs-slider-mobile {
        display: block;
        width: 100%;
        padding-bottom: 30px;
    }

    .certs-slider-mobile .swiper-slide {
        text-align: center;
    }

    .certs-slider-mobile .swiper-slide img {
        height: 90px;
    }

    .swiper-pagination-bullet {
        background: #ccc;
    }
    .swiper-pagination-bullet-active {
        background: var(--primary-color);
    }

    /* --- Mobile Helping Section (Phone) --- */
    .helping-section {
        padding: 40px 0;
    }
    .experience-badge {
        width: 90px;
        height: 90px;
        top: 20px;
        right: 20px;
    }
    .experience-badge strong {
        font-size: 2rem;
    }
    .actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ========================================================
   UPDATED & IMPROVED RESPONSIVE STYLES
   (यह कोड अपनी CSS फाइल के सबसे अंत में डालें)
   ======================================================== */

/* --- On Tablets and Smaller Devices (992px and below) --- */
@media (max-width: 992px) {
    /* ... (आपका बाकी का 992px का कोड यहाँ रहेगा, जैसे हेडर और हीरो के लिए) ... */

    /* --- Helping Section on Tablets --- */
    .helping-layout {
        flex-direction: column; /* Columns को एक के नीचे एक ले आएं */
        gap: 50px; /* उनके बीच में गैप बढ़ाएं */
    }

    .helping-content-column h2 {
        font-size: 2.2rem; /* हेडिंग को टैबलेट के लिए थोड़ा छोटा करें */
    }
}


/* --- On Phones (768px and below) --- */
@media (max-width: 768px) {
    /* ... (आपका बाकी का 768px का कोड यहाँ रहेगा, जैसे सर्टिफिकेशन स्लाइडर के लिए) ... */

    /* --- Helping Section on Phones --- */
    .helping-section {
        padding: 40px 0; /* सेक्शन की ऊपर-नीचे की स्पेसिंग कम करें */
    }

    .helping-image-column {
        /* इमेज वाले कॉलम को थोड़ा छोटा करें ताकि वो बहुत बड़ा न लगे */
        flex-basis: 100%;
        max-width: 400px; /* अधिकतम चौड़ाई सेट करें */
        margin: 0 auto; /* उसे बीच में ले आएं */
    }

    .experience-badge {
        /* बैज को छोटा और सही जगह पर सेट करें */
        width: 100px;
        height: 100px;
        top: 25px;
        right: 25px;
    }

    .experience-badge strong {
        font-size: 2.2rem;
    }
    
    .helping-content-column h2 {
        font-size: 1.8rem; /* हेडिंग को और छोटा करें */
        text-align: center; /* हेडिंग को बीच में अलाइन करें */
    }

    .helping-content-column p {
        text-align: center; /* पैराग्राफ को भी बीच में अलाइन करें */
    }

    .sub-heading {
        /* 'About Us' टेक्स्ट को भी बीच में ले आएं */
        display: block;
        text-align: center;
    }
    
    .team-info {
        /* टीम वाले बॉक्स को फ्लेक्सिबल बनाएं */
        flex-wrap: wrap; /* ताकि कंटेंट अगली लाइन में जा सके */
        justify-content: center; /* सब कुछ बीच में आ जाए */
        gap: 10px;
    }
    
    .team-text {
        text-align: center;
        flex-basis: 100%; /* टेक्स्ट को पूरी चौड़ाई दें */
    }
    
    .actions {
        /* बटन्स को एक के नीचे एक ले आएं और पूरी चौड़ाई दें */
        flex-direction: column;
        align-items: stretch; /* बटन्स को पूरी चौड़ाई तक खींचें */
        gap: 15px; /* उनके बीच गैप दें */
    }

    .btn-explore, .call-info {
        width: 100%; /* पूरी चौड़ाई दें */
        text-align: center; /* टेक्स्ट को बीच में करें */
    }

    .call-info {
        justify-content: center; /* फ़ोन आइकॉन और नंबर को बीच में करें */
    }
}

/* ----------------------------------
   7. Mission Section v2 (Exact Design)
   ---------------------------------- */
.mission-v2-section {
    background-color: #f7f7f7;
}

.mission-v2-layout {
    display: grid;
    grid-template-columns: 340px 1fr; /* Sidebar width and remaining space */
    gap: 25px;
    align-items: start;
}

/* --- Sidebar --- */
.mission-v2-sidebar {
    background: var(--white-color);
    border: 1px solid #e9e9e9;
    padding-bottom: 25px;
}

.sidebar-title {
    background: var(--primary-color);
    padding: 20px;
}
.sidebar-title h2 {
    color: var(--white-color);
    text-align: center;
    font-size: 2.2rem;
}

.mission-v2-list {
    list-style: none;
    padding: 25px 25px 0 45px;
    position: relative;
}
.mission-v2-list::before { /* The vertical line */
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    bottom: 0;
    width: 2px;
    background-color: #fdeee7;
}

.mission-v2-list li {
    margin-bottom: 20px;
    position: relative;
}
.mission-v2-list li::before { /* The dots */
    content: '';
    position: absolute;
    left: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white-color);
}
.mission-v2-list li.active::before {
    background: var(--primary-color);
}

.mission-v2-list a {
    display: flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 18px 20px;
    border-radius: 10px;
    text-decoration: none;
    gap: 15px;
}
.mission-v2-list a i {
    font-size: 2.5rem;
}
.mission-v2-list a span {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.sidebar-v2-image {
    padding: 0 25px;
    position: relative;
    margin-top: 15px;
}
.sidebar-v2-image img {
    width: 100%;
    border-radius: 15px;
}
.sidebar-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}
.sidebar-badge span {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
}

/* --- Main Content --- */
.main-v2-banner img {
    width: 100%;
    border-radius: 12px;
}

.main-v2-card {
    background: var(--white-color);
    border: 1px solid #e9e9e9;
    padding: 25px;
    margin-top: 25px;
}
.main-v2-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 20px;
}

.tab-triggers {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #e9e9e9;
}
.tab-trigger {
    border: none;
    background: transparent;
    padding-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    position: relative;
    top: 1px;
}
.tab-trigger.active {
    color: var(--secondary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    padding-top: 25px;
}
.tab-pane {
    display: none;
    align-items: center;
    gap: 20px;
}
.tab-pane.active {
    display: flex;
}
.tab-pane img {
    height: 50px;
    flex-shrink: 0;
}

.focus img {
    width: 100%;
}
/* ==========================================================
   UPDATED RESPONSIVE STYLES
   ========================================================== */
@media (max-width: 992px) {
    /* ... (आपका पुराना 992px का कोड) ... */

    /* Mission Section v2 on Tablets */
    .mission-v2-layout {
        grid-template-columns: 1fr; /* Stack columns */
    }
}

@media (max-width: 768px) {
    /* ... (आपका पुराना 768px का कोड) ... */
    
    /* Mission Section v2 on Phones */
    .tab-triggers {
        gap: 10px;
        flex-wrap: wrap; /* Allow tabs to wrap on small screens */
    }
    .tab-trigger {
        font-size: 0.9rem;
    }
    .tab-pane {
        flex-direction: column;
        text-align: center;
    }
}

/* ----------------------------------
   8. Projects Gallery Section - UPDATED with Slider
   ---------------------------------- */
.projects-gallery-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.gallery-title {
    text-align: center;
    margin-bottom: 50px;
}
.gallery-title .sub-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.gallery-title .sub-title i {
    margin-right: 5px;
}
.gallery-title h2 {
    font-size: 2.6rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

/* --- DESKTOP: CSS Grid --- */
.gallery-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-grid-desktop .gallery-item {
    overflow: hidden;
    border-radius: 20px;
}
.gallery-grid-desktop .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-grid-desktop .gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-grid-desktop .large-item {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* --- MOBILE: Swiper Slider (Hidden on Desktop) --- */
.gallery-slider-mobile {
    display: none;
}


/* --- UPDATED Responsive Styles --- */

/* On Tablets (and below), we start showing the slider */
@media (max-width: 992px) {
    /* ... (आपका पुराना 992px का कोड) ... */

    /* Hide the desktop grid */
    .gallery-grid-desktop {
        display: none;
    }

    /* Show the mobile slider */
    .gallery-slider-mobile {
        display: block;
        padding-bottom: 40px; /* Space for pagination */
    }

    .gallery-slider-mobile .swiper-slide {
        border-radius: 15px;
        overflow: hidden;
        height: 250px; /* Fixed height for slides */
    }
    
    .gallery-slider-mobile .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Ensure pagination dots are styled consistently */
    .gallery-slider-mobile .swiper-pagination-bullet-active {
        background: var(--primary-color);
    }
}

/* We don't need a separate 768px rule for this section anymore,
   because the 992px rule already handles it. */

   /* ----------------------------------
   9. CTA and Form Section
   ---------------------------------- */
.cta-form-section {
    padding: 0; /* No extra padding for this full-width section */
}

.cta-form-layout {
    display: flex;
}

/* --- Left Column: Image --- */
.cta-image-column {
    flex: 1; /* Take up half the space */
    min-width: 50%;
}
.cta-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Removes any bottom space */
}

/* --- Right Column: Form --- */
.cta-form-column {
    flex: 1; /* Take up the other half */
    min-width: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 80px; /* Generous padding */
}

.form-content .sub-title {
    color: var(--white-color);
    opacity: 0.8;
    font-weight: 500;
}
.form-content .sub-title i {
    margin-right: 5px;
}
.form-content h2 {
    color: var(--white-color);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-top: 5px;
    margin-bottom: 40px;
}

.main-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.main-form .form-group {
    flex: 1;
    width: 100%;
}
.main-form .form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.8;
}
.main-form .form-group input,
.main-form .form-group textarea {
    width: 100%;
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: box-shadow 0.3s ease;
}
.main-form .form-group input:focus,
.main-form .form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.main-form textarea {
    resize: vertical; /* Allow vertical resizing only */
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}
.btn-submit:hover {
    background-color: #000;
}
@media (max-width: 992px) {
    /* ... (आपका बाकी का 992px का कोड) ... */
    
    /* CTA Form on Tablets */
    .cta-form-layout {
        flex-direction: column; 
    }
    .cta-form-column {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    /* ... (आपका बाकी का 768px का कोड) ... */
    
    /* CTA Form on Phones */
    .cta-form-column {
        padding: 40px 30px;
    }
    .cta-form-column h2 {
        font-size: 2rem;
    }
    .main-form .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    .main-form .form-row .form-group {
        margin-bottom: 20px;
    }
}

/* ----------------------------------
   10. Main Footer Section
   ---------------------------------- */
.main-footer {
    background-color: #1f2833; /* Dark blue/charcoal color */
    color: #a9b3c1; /* Light gray text color */
    position: relative;
    padding-top: 100px; /* Space for the top floating bar */
}

/* --- Top Floating Bar --- */
.footer-top-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    background-color: var(--primary-color);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white-color);
}
.icon-bg {
    background: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.info-text span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}
.info-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- Main Footer Content --- */
.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0 50px 0;
}
.footer-column h3 {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3::after { /* The orange underline */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}
.about-us p {
    margin-bottom: 25px;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    color: #a9b3c1;
    border: 1px solid #444;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.quick-links ul {
    list-style: none;
}
.quick-links li {
    margin-bottom: 12px;
}
.quick-links a {
    color: #a9b3c1;
    text-decoration: none;
}
.quick-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}
.post-info span {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    display: block;
}
.post-info p {
    color: #ccc;
    line-height: 1.4;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.newsletter-form {
    display: flex;
    margin-top: 25px;
}
.newsletter-form input {
    flex-grow: 1;
    border: 1px solid #444;
    background: #2a3542;
    padding: 12px;
    border-radius: 8px 0 0 8px;
    color: var(--white-color);
}
.newsletter-form input:focus {
    outline: none;
}
.newsletter-form button {
    border: none;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0 15px;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}
.privacy-agree {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* --- Bottom Bar --- */
.footer-bottom {
    background: var(--primary-color);
    padding: 15px 0;
    color: var(--white-color);
    font-size: 0.9rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom a {
    color: var(--white-color);
    text-decoration: none;
    margin-left: 15px;
}


/* --- RESPONSIVE STYLES FOR FOOTER --- */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        width: 95%;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding-top: 20px; /* Reset padding */
    }
    .footer-top-bar {
        position: static; /* Remove floating effect */
        transform: none;
        width: 100%;
        border-radius: 0;
        margin-bottom: 30px;
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* =================================================================
   PAGE: SERVICES
   Styles for the main services listing page.
   ================================================================= */

/* ----------------------------------
   11. Inner Page Header
   ---------------------------------- */
.page-header {
    /* Fallback color in case image fails to load */
    background-color: #333; 

    /* The main background property */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/service-banner.png');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    padding: 120px 0;
    text-align: center;
    position: relative;
}
.page-header h1 {
    color: var(--white-color);
    font-size: 4rem;
    /* Use a serif font for the elegant look in the design */
    font-family: "Times New Roman", Times, serif; 
    font-weight: 400; /* Lighter font weight */
    letter-spacing: 1px;
}

.header-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.header-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--white-color);
    border-radius: 50%;
    opacity: 0.5;
}


/* ----------------------------------
   12. Services Navigation Section
   ---------------------------------- */
.services-nav-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.services-nav-grid {
    display: grid;
    /* Start with 4 columns on desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-nav-button {
    display: block;
    background: var(--white-color);
    padding: 35px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Hover effect */
.service-nav-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background-color: var(--primary-color);
}

.service-nav-button i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s ease;
}

.service-nav-button span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

/* Change icon and text color on hover */
.service-nav-button:hover i,
.service-nav-button:hover span {
    color: var(--white-color);
}


/* ----------------------------------
   RESPONSIVE STYLES FOR SERVICES PAGE
   ---------------------------------- */

/* On Tablets (992px and below) */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem;
    }
    
    .services-nav-grid {
        /* Switch to 2 columns */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* On Phones (768px and below) */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .services-nav-grid {
        /* Switch to a single column */
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   PAGE: SERVICE DETAIL - FINAL CORRECTED LAYOUT v2
   ================================================================= */

.service-detail-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

/* --- Top Layout (Title, Main Image, Sidebar) --- */
.service-detail-top-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.service-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}
.main-image-container img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-sidebar .sidebar-widget {
    margin-bottom: 25px;
}
.service-sidebar .sidebar-widget img {
    width: 100%;
    border-radius: 10px;
}

/* --- General Content Block Styling --- */
.service-content-block {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
}
.service-content-block h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.service-content-block p {
    color: var(--text-color);
    line-height: 1.8;
}

/* --- Masonry Gallery Styling (The important part!) --- */
.masonry-gallery {
    display: grid;
    /* Create a 3-column layout. Left one is wider. */
    grid-template-columns: 2fr 1.2fr 1.2fr;
    /* Let rows be flexible but with a base height */
    grid-auto-rows: 220px;
    gap: 15px;
    margin-top: 30px;
}

.m-item {
    overflow: hidden;
    border-radius: 15px;
}
.m-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.m-item:hover img {
    transform: scale(1.05);
}

/* Placing the items in the grid */
.m-item:nth-child(1) {
    grid-row: span 2; /* This image will be tall, spanning 2 rows */
}
.m-item:nth-child(4) {
    grid-column: span 2; /* This image will be wide, spanning 2 columns */
}

/* --- Hostel and Computer Sections --- */
.hostel-section {
    text-align: center;
}
.computer-education-content {
    padding: 0;
    position: relative;
    overflow: hidden;
}
.computer-education-content img {
    width: 100%;
    display: block;
}
.computer-education-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: var(--white-color);
    padding: 60px 40px 40px 40px;
}
.computer-education-overlay h3 {
    color: var(--white-color);
}


/* --- Responsive Styles for this Page --- */
@media (max-width: 992px) {
    .service-detail-top-layout {
        grid-template-columns: 1fr;
    }
    .service-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .service-detail-section {
        padding: 40px 0;
    }
    .service-content-block {
        padding: 30px 20px;
    }
    .service-content-block h3 {
        font-size: 1.8rem;
    }
    .service-sidebar {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .sidebar-widget {
        max-width: 300px;
    }
    
    /* On mobile, the masonry grid becomes a simple single column */
    .masonry-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px; /* Give all images a consistent height */
    }
    .m-item:nth-child(1),
    .m-item:nth-child(4) {
        grid-row: auto;
        grid-column: auto;
    }
}
/* =================================================================
   PAGE: GOU-SHALA DETAIL - FINAL & COMPLETE CODE
   This single block styles the entire Gou-Shala page correctly.
   ================================================================= */
.goushala-detail-section {
    padding: 80px 0;
    background-color: #fff8f5; 
}

/* --- Top Section Layout --- */
.goushala-top-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}
.goushala-main-content .service-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.goushala-main-content p {
    color: var(--text-color);
    line-height: 1.8;
    max-width: 90%;
    margin-bottom: 40px;
}
/* DESKTOP: Image Cluster */
.goushala-image-cluster-desktop {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    align-items: end;
}
.goushala-image-cluster-desktop img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* MOBILE: Swiper Slider (Hidden on Desktop) */
.goushala-top-slider-mobile {
    display: none;
}
/* Right Sidebar */
.goushala-sidebar {
    position: sticky;
    top: 140px; /* Adjust this value if needed to align with header */
}
.goushala-sidebar .sidebar-widget {
    margin-bottom: 30px;
}
.goushala-sidebar .sidebar-widget img {
    width: 100%;
    max-width: 280px;
}

/* --- Mid-Page Content Blocks --- */
.goushala-content-block {
    text-align: center;
    padding: 60px 0;
}
.goushala-content-block h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.goushala-content-block p {
    max-width: 700px;
    margin: 0 auto 30px auto;
}
.goushala-content-block img {
    width: 100%;
    max-width: 900px; /* Give a max-width to large images */
    border-radius: 20px;
    margin-top: 20px;
}

/* --- Features List --- */
.goushala-features {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}
.goushala-features ul {
    list-style: none;
}
.goushala-features li {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: start;
    gap: 15px;
}
.goushala-features li i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 4px;
}
.goushala-features li strong {
    color: var(--secondary-color);
}

/* --- Quote and Bottom Gallery --- */
.goushala-quote {
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.goushala-bottom-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.goushala-bottom-gallery img {
    width: 100%;
    border-radius: 10px;
}

/* ========================================================
   FULL RESPONSIVE STYLES FOR GOU-SHALA PAGE
   ======================================================== */

/* --- On Tablets (992px and below) --- */
@media (max-width: 992px) {
    .goushala-top-layout {
        grid-template-columns: 1fr; /* Stack columns */
    }
    .goushala-sidebar {
        position: static; /* Remove sticky behavior */
        display: flex;
        justify-content: space-around;
        gap: 20px;
        margin-top: 40px;
    }
    .goushala-sidebar .sidebar-widget img {
        max-width: 220px;
    }
    .goushala-bottom-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for bottom gallery */
    }
}

/* --- On Phones (768px and below) --- */
@media (max-width: 768px) {
    /* Hide the big "Our Services" banner on mobile */
    .page-header.service-page-banner { /* Make selector more specific */
        display: none;
    }
    
    .goushala-detail-section {
        padding-top: 0; /* Remove top padding since banner is gone */
    }
    
    /* Hide the desktop cluster and sidebar on mobile */
    .goushala-image-cluster-desktop,
    .goushala-sidebar {
        display: none;
    }
    
    /* Show and style the mobile slider */
    .goushala-top-slider-mobile {
        display: block;
        width: 100%;
        height: 280px; /* A good height for mobile */
        margin-bottom: 30px;
    }
    .goushala-top-slider-mobile .swiper-slide img {
        width: 100%; height: 100%; object-fit: cover;
    }
    /* Style slider navigation */
    .goushala-top-slider-mobile .swiper-pagination-bullet {
        background: rgba(255, 255, 255, 0.7);
    }
    .goushala-top-slider-mobile .swiper-pagination-bullet-active {
        background: var(--white-color);
    }
    .goushala-top-slider-mobile .swiper-button-next,
    .goushala-top-slider-mobile .swiper-button-prev {
        color: var(--white-color);
        --swiper-navigation-size: 30px;
    }
    
    /* Adjust content for mobile */
    .goushala-top-layout {
        display: block; /* Change from grid to simple block */
    }
    .goushala-main-content .service-title,
    .goushala-main-content p {
        text-align: center;
        max-width: 100%;
    }
    .goushala-main-content .service-title {
        font-size: 2.2rem;
    }
    .goushala-content-block {
        padding: 40px 10px;
    }
    .goushala-content-block h3 {
        font-size: 1.8rem;
    }
    .goushala-quote {
        margin-bottom: 40px;
        font-size: 1.1rem;
    }
}
/* =================================================================
   PAGE: DONATE - NEW VIBRANT DESIGN
   ================================================================= */
.donation-hero-section {
    padding: 80px 0;
    /* NEW: Add your beautiful banner image here */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/donate-banner.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the form horizontally */
    min-height: 100vh;
}

.donation-form-container {
    /* NEW: A subtle gradient for a modern feel */
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); /* A more prominent shadow */
    max-width: 500px;
    width: 100%;
    border-top: 5px solid var(--primary-color); /* An orange accent at the top */
}

/* --- Form Elements --- */
.form-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 25px;
}
.tab-btn {
    border: none; background: transparent; padding: 12px 10px; border-radius: 8px; font-weight: 600;
    color: var(--text-color); cursor: pointer; transition: all 0.3s ease;
}
/* NEW: More vibrant active state */
.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(240, 90, 40, 0.4);
}

.amount-selection {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 15px;
}
.amount-btn {
    background: #f0f0f0; border: 2px solid #eee; padding: 15px 10px; border-radius: 8px;
    font-weight: 600; color: var(--secondary-color); cursor: pointer; transition: all 0.3s ease;
}
.amount-btn:hover { border-color: var(--primary-color); }
/* NEW: More vibrant selected state */
.amount-btn.selected {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.other-amount { position: relative; margin-bottom: 25px; }
.other-amount span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-color); font-weight: 600; }
#custom-amount { width: 100%; padding: 15px 15px 15px 40px; border: 2px solid #eee; background: #f0f0f0; border-radius: 8px; font-size: 1rem; font-weight: 600; }
#custom-amount:focus { outline: none; border-color: var(--primary-color); }

.citizen-selection { display: flex; gap: 15px; margin-bottom: 25px; }
.radio-group { flex: 1; }
.radio-group input[type="radio"] { opacity: 0; position: fixed; width: 0; }
.radio-group label { display: block; padding: 15px 10px; background: #f0f0f0; border: 2px solid #eee; border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.3s ease; }
/* NEW: More vibrant selected state */
.radio-group input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

/* --- Donor Details & Submit Button --- */
.donor-details { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.donor-details input { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; }

/* NEW: More vibrant submit button */
.btn-contribute {
    width: 100%; background: var(--primary-color); border: none; color: var(--white-color); padding: 16px;
    font-size: 1.1rem; font-weight: 600; border-radius: 8px; cursor: pointer;
    transition: all 0.3s ease; display: inline-flex; justify-content: center; align-items: center; gap: 10px;
}
.btn-contribute:hover { background-color: #d85c13; transform: translateY(-2px); }

/* --- Bottom Info --- */
.funds-usage-statement {
    display: flex; align-items: center; gap: 10px; background-color: #f0f0f0;
    padding: 12px; border-radius: 8px; margin-top: 20px; font-size: 0.9rem; color: var(--text-color);
}
.funds-usage-statement i { color: var(--primary-color); }

.payment-methods { text-align: center; margin-top: 25px; }
.payment-methods p { font-size: 0.9rem; color: var(--text-color); margin-bottom: 10px; }
.payment-icons { display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 1.8rem; color: #a9b3c1; }
.payment-icons span { font-size: 0.9rem; font-weight: 600; background: #f0f0f0; padding: 3px 8px; border-radius: 5px; color: var(--text-color); }

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .donation-hero-section { padding: 40px 15px; }
    .donation-form-container { padding: 25px; }
    .payment-icons { flex-wrap: wrap; }
}

/* =================================================================
   PAGE: CONTACT US - NEW MODERN FORM DESIGN
   ================================================================= */
.contact-page-section-v2 {
    padding: 100px 0;
    background-color: var(--white-color);
}

.contact-form-wrapper {
    max-width: 800px; /* Limit the width of the form */
    margin: 0 auto; /* Center it */
}

/* --- Form Header --- */
.form-header {
    text-align: center;
    margin-bottom: 40px;
}
.form-header .sub-title {
    display: inline-block; /* Center it properly */
}
.form-header h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
}

/* --- New Form Styling --- */
.new-contact-form .form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}
.new-contact-form .form-group {
    flex: 1;
    position: relative;
}
.new-contact-form .form-group.full-width {
    flex-basis: 100%;
}

.new-contact-form label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: var(--text-color);
    pointer-events: none; /* Allows clicks to go through to the input */
    transition: all 0.2s ease;
}

.new-contact-form input,
.new-contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--secondary-color);
    font-family: var(--body-font);
}

/* --- Floating Label Effect --- */
.new-contact-form input:focus + label,
.new-contact-form input:valid + label,
.new-contact-form textarea:focus + label,
.new-contact-form textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background-color: var(--white-color); /* To cut through the border */
    padding: 0 5px;
}

.new-contact-form input:focus,
.new-contact-form textarea:focus {
    outline: 2px solid var(--primary-color);
}

.new-contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* --- Submit Button --- */
.form-row:last-child {
    justify-content: center; /* Center the button */
    margin-top: 30px;
}

.btn-get-in-touch {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    padding: 10px 30px 10px 10px; /* More padding on the right */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}
.btn-get-in-touch .icon-circle {
    background-color: var(--white-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.btn-get-in-touch:hover {
    background-color: #000;
}
.btn-get-in-touch:hover .icon-circle {
    transform: rotate(360deg);
}


/* --- Responsive Styles for the new form --- */
@media (max-width: 768px) {
    .contact-page-section-v2 {
        padding: 60px 0;
    }
    .form-header h2 {
        font-size: 2rem;
    }
    .new-contact-form .form-row {
        flex-direction: column;
        margin-bottom: 0;
    }
    .new-contact-form .form-group {
        margin-bottom: 25px;
    }
}

/* --- Donation Impact Section --- */
.donation-impact-section { padding: 80px 0; background: var(--light-gray-bg); }
.impact-header { text-align: center; max-width: 700px; margin: 0 auto 50px auto; }
.impact-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.impact-card { background: var(--white-color); padding: 30px; text-align: center; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.impact-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.impact-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
@media (max-width: 992px) { .impact-grid { grid-template-columns: 1fr; } }

/* =================================================================
   NAVIGATION DROPDOWN MENU
   ================================================================= */

/* --- Desktop Styles --- */
.main-nav .dropdown {
    position: relative; /* This is the anchor for the dropdown menu */
}

.main-nav .dropdown-menu {
    display: block;
    position: absolute;
    top: 150%; /* Position it below the parent, but start hidden */
    left: 0;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 280px; /* Give it enough width */
    list-style: none;
    z-index: 1010;

    /* Hide it by default with a nice transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-nav .dropdown.open .dropdown-menu {
    /* Show it when the .open class is added */
    opacity: 1;
    visibility: visible;
    top: 100%; /* Move it into position */
    transform: translateY(10px); /* A little space from the top */
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    white-space: nowrap; /* Prevent text from wrapping */
    font-size: 15px; /* Slightly smaller font */
    font-weight: 500;
}

/* Arrow icon rotation */
.main-nav .dropdown > a i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}
.main-nav .dropdown.open > a i {
    transform: rotate(180deg);
}


/* --- Mobile Responsive Styles --- */
@media (max-width: 992px) {
    .main-nav .dropdown-menu {
        /* On mobile, it's not an absolute floating box anymore */
        position: static;
        box-shadow: none;
        background-color: #f5f5f5; /* Light grey to distinguish it */
        min-width: 100%;
        padding: 0;
        margin-top: 10px;
        border-radius: 0;
        
        /* Hide it by default using max-height for a slide-down effect */
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s ease-in-out;
    }

    .main-nav .dropdown.open .dropdown-menu {
        /* Expand it to its full height when open */
        max-height: 500px; /* A large enough value */
        top: auto; /* Reset desktop positioning */
    }

    .dropdown-menu li a {
        /* Indent the mobile dropdown links */
        padding-left: 40px;
    }
}


/* =================================================================
   PAGE: PRIVACY POLICY & OTHER STATIC CONTENT
   ================================================================= */
.policy-page-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.policy-content {
    background: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.meta-dates {
    font-size: 0.9rem;
    color: var(--text-color);
    font-style: italic;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.policy-content ul ul {
    list-style-type: circle;
    margin-top: 10px;
}

.policy-content li {
    margin-bottom: 10px;
}

.contact-details-box,
.bank-details-box {
    background: #f5f5f5;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.bank-details-box p {
    margin-bottom: 5px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .policy-page-section {
        padding: 40px 0;
    }
    .policy-content {
        padding: 30px 20px;
    }
    .policy-content h2 {
        font-size: 1.5rem;
    }
    .policy-content h3 {
        font-size: 1.2rem;
    }
}


/* =================================================================
   PAGE: LEGAL DOCUMENTS
   ================================================================= */
.documents-page-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.documents-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.documents-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- The Card Grid --- */
.documents-grid {
    display: grid;
    /* 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.document-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* Align items vertically */
}
.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.doc-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
}

.document-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}
.document-card p {
    flex-grow: 1; /* This makes the paragraph take up available space */
    margin-bottom: 25px;
}

.btn-view-doc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.btn-view-doc:hover {
    background: #d85c13;
}


/* --- Responsive Styles for Documents Page --- */
@media (max-width: 992px) {
    /* 2 columns on tablets */
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .documents-page-section {
        padding: 40px 0;
    }
    .documents-header h2 {
        font-size: 2rem;
    }
    /* 1 column on phones */
    .documents-grid {
        grid-template-columns: 1fr;
    }
}
/* =================================================================
   PAGE: LOGIN & SIGNUP
   ================================================================= */
.auth-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container {
    max-width: 450px;
    width: 100%;
    background: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}
.auth-container h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.auth-container p {
    margin-bottom: 30px;
    color: var(--text-color);
}
.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}
.auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}
.auth-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.error-msg {
    color: #e74c3c;
    background: #fdd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px !important; /* Overwrite default p margin */
}
.auth-switch {
    margin-top: 25px;
}
/* =================================================================
   PAGE: MEMBERSHIP REGISTRATION
   ================================================================= */
.membership-reg-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.reg-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    padding: 30px;
    border-bottom: 1px solid #eee;
}
.step-indicator {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.form-header h2 {
    font-size: 2.2rem;
    margin-top: 15px;
}
.form-header p {
    color: var(--text-color);
}

.membership-form {
    padding: 30px;
}
.form-section {
    margin-bottom: 30px;
}
.form-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

.membership-form .form-group {
    margin-bottom: 20px;
}
.membership-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.membership-form input,
.membership-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.membership-form input:focus,
.membership-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Custom File Upload Button */
.file-upload input[type="file"] {
    border: 1px dashed #ccc;
    padding: 20px;
    background-color: #f9f9f9;
}
.file-upload input[type="file"]::-webkit-file-upload-button {
    background: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-proceed {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .membership-reg-section { padding: 40px 15px; }
    .form-header, .membership-form { padding: 20px; }
    .form-header h2 { font-size: 1.8rem; }
}

/* --- Membership Payment Page --- */
.payment-page-section { padding: 80px 0; background: var(--light-gray-bg); }
.payment-box { max-width: 500px; margin: auto; background: white; padding: 40px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.amount-display { background: #f5f5f5; padding: 20px; border-radius: 10px; margin: 30px 0; }
.amount-display span { display: block; }
.amount-display strong { font-size: 2.5rem; }
.secure-note { font-size: 0.9rem; color: #888; }

/* --- Member Dashboard --- */
.dashboard-section { padding: 80px 0; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-top: 40px; }
.member-card { background: #f9f9f9; border: 1px solid #eee; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card-header { background: var(--secondary-color); color: white; padding: 15px; border-radius: 15px 15px 0 0; display: flex; align-items: center; gap: 10px; }
.card-logo { height: 30px; }
.card-body { padding: 25px; text-align: center; }
.member-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid white; box-shadow: 0 0 10px rgba(0,0,0,0.2); margin-bottom: 15px; }
.card-footer { background: #eee; padding: 10px; text-align: center; border-radius: 0 0 15px 15px; font-weight: 600; }
.payment-details { padding-top: 20px; }
.btn-download { display: inline-block; margin-top: 30px; background: var(--primary-color); color: white; padding: 15px 30px; text-decoration: none; border-radius: 8px; }
@media (max-width: 992px) { .dashboard-grid { grid-template-columns: 1fr; } }

/* =================================================================
   PAGE: PAYMENT STATUS (Success & Failure)
   ================================================================= */

.status-page-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-box {
    max-width: 600px;
    width: 100%;
    background: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid; /* Top border for status color */
}

/* --- Status Specific Styling --- */
.status-box.success {
    border-color: #2ecc71; /* Green for success */
}
.status-box.failure {
    border-color: #e74c3c; /* Red for failure */
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}
.status-box.success .status-icon {
    color: #2ecc71;
}
.status-box.failure .status-icon {
    color: #e74c3c;
}

.status-box h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.status-box p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.error-reason {
    background: #fdf2f2; /* Light red background */
    color: #c0392b; /* Darker red text */
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.status-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-status-action {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.btn-status-action {
    background: var(--primary-color);
    color: var(--white-color);
}
.btn-status-action.secondary {
    background: #ecf0f1; /* Light grey */
    color: var(--secondary-color);
}
.payment-date {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-top: -15px; /* amount-display के करीब लाने के लिए */
    margin-bottom: 30px;
}
/* =================================================================
   PAGE: ENVIRONMENTAL INITIATIVES
   ================================================================= */

/* --- Main Section Styling --- */
.environmental-page {
    padding: 80px 0;
    background-color: #fff8f5; /* Very light orange background */
}

/* --- Top Layout (reusing from other service pages) --- */
.service-detail-top-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* Main content is wider */
    gap: 50px;
    align-items: start;
}

/* --- Left Column Styling --- */
.service-main-content .service-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-main-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 40px;
}

.infographic-container img {
    width: 100%;
    border-radius: 15px;
}

/* --- Right Column (Sidebar) Styling --- */
.service-sidebar {
    position: sticky;
    top: 140px; /* Aligns well with the floating header */
}
.service-sidebar .sidebar-widget img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
}


/* --- Responsive Styles for this page --- */
@media (max-width: 992px) {
    .service-detail-top-layout {
        /* Switch to a single column on tablets */
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static; /* Remove sticky behavior */
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .environmental-page {
        padding: 40px 0;
    }
    
    .service-main-content .service-title {
        text-align: center;
        font-size: 2.2rem;
    }

    .service-main-content p {
        text-align: center;
    }
}
/* =================================================================
   ENVIRONMENTAL PAGE - TREE GOAL SECTION
   ================================================================= */

/* General content block styling (we can reuse this) */
.service-content-block {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
}
.service-content-block h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}
.service-content-block p {
    color: var(--text-color);
    line-height: 1.8;
}

/* --- Tree Goal Specific Layout --- */
.tree-goal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px;
    align-items: start;
}

.planting-graphic {
    max-width: 250px;
    margin-top: 30px;
}

.goal-image-grid {
    display: grid;
    grid-template-rows: auto auto;
    gap: 25px;
}
.goal-image-grid img {
    width: 100%;
    border-radius: 15px;
}


/* --- Responsive Styles for this section --- */
@media (max-width: 992px) {
    .tree-goal-layout {
        /* Stack columns on tablets */
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-content-block h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    .service-content-block p {
        text-align: center;
    }
    .planting-graphic {
        display: block;
        margin: 30px auto 0 auto;
    }
}
/* =================================================================
   ENVIRONMENTAL PAGE - FUTURE PLAN SECTION
   ================================================================= */

/* --- Future Plan Specific Layout --- */
.future-plan-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Image column is slightly wider */
    gap: 50px;
    align-items: center; /* Vertically align the content */
}

.plan-text h3 {
    /* Reusing h3 style from .service-content-block */
    margin-bottom: 25px;
}

.plan-text p {
    /* Reusing p style from .service-content-block */
    color: #a0aec0; /* Lighter text color as per design */
}

.plan-image img {
    width: 100%;
    border-radius: 20px;
}


/* --- Responsive Styles for this section --- */
@media (max-width: 992px) {
    .future-plan-layout {
        /* Stack columns on tablets */
        grid-template-columns: 1fr;
    }
}
/* =================================================================
   ENVIRONMENTAL PAGE - MILESTONE SECTION
   ================================================================= */

/* --- Milestone Section Specific Layout --- */
.milestone-section {
    text-align: center; /* Center align all content */
}

.milestone-section h3 {
    /* Reusing h3 style from .service-content-block */
    font-size: 2.5rem; /* Larger font size as per design */
}

.milestone-section p {
    /* Reusing p style from .service-content-block */
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
}

.milestone-list {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    max-width: 800px;
    margin: 30px auto;
    text-align: left; /* Align list items to the left */
}

.milestone-list li {
    position: relative;
    padding-left: 25px; /* Space for the custom bullet */
    margin-bottom: 20px;
}

.milestone-list li::before {
    content: '•'; /* Custom bullet point */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color); /* Orange color for the bullet */
    font-size: 1.5rem;
    line-height: 1.2;
}

.milestone-list li strong {
    color: var(--secondary-color);
}


/* --- Responsive Styles for this section --- */
@media (max-width: 768px) {
    .milestone-section h3 {
        font-size: 2rem;
    }
}
/* =================================================================
   PAGE: WOMEN EMPOWERMENT
   ================================================================= */
.empowerment-page-section {
    padding: 80px 0;
    background-color: #fff8f5; /* A warm, inviting background */
}

/* --- Intro Section --- */
.empowerment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.empowerment-intro .sub-title {
    font-size: 1.1rem;
}
.empowerment-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- Approach Section --- */
.approach-section {
    margin-bottom: 60px;
}
.approach-section h3, .impact-section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.approach-card {
    background: var(--white-color);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.approach-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- Impact Section --- */
.impact-section {
    margin-bottom: 60px;
}
.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* --- CTA Section --- */
.cta-section-women {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}
.cta-section-women h2 {
    color: var(--white-color);
    font-size: 2.5rem;
}
.cta-section-women p {
    max-width: 600px;
    margin: 15px auto 25px auto;
    opacity: 0.9;
}
.btn-cta {
    background: var(--white-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .approach-grid, .impact-stats {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .empowerment-page-section { padding: 40px 0; }
    .empowerment-intro h2 { font-size: 2.2rem; }
    .approach-section h3, .impact-section h3 { font-size: 1.8rem; }
    .stat-number { font-size: 2.8rem; }
    .cta-section-women h2 { font-size: 2rem; }
}
/* =================================================================
   NEW SECTION: RECENT MEMBERS SLIDER
   ================================================================= */
.recent-members-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .sub-title {
    font-weight: 600;
    color: var(--primary-color);
}
.section-header h2 {
    font-size: 2.5rem;
}

.recent-members-slider {
    padding: 0 40px; /* Arrows के लिए जगह */
}

.member-slider-card {
    background: var(--white-color);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}
.member-slider-card:hover {
    transform: translateY(-5px);
}
.member-slider-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 20px;
}
.member-slider-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.member-slider-card p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* --- Swiper Navigation & Pagination Styling --- */
.recent-members-slider .swiper-button-next,
.recent-members-slider .swiper-button-prev {
    color: var(--primary-color);
    --swiper-navigation-size: 30px; /* Arrows का साइज़ */
}
.recent-members-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* --- Responsive adjustments for the slider itself --- */
@media (max-width: 768px) {
    .recent-members-slider {
        padding: 0; /* मोबाइल पर Arrows के लिए पैडिंग हटा दें */
    }
    .recent-members-slider .swiper-button-next,
    .recent-members-slider .swiper-button-prev {
        display: none; /* मोबाइल पर Arrows को छिपा दें */
    }
}
/* --- Our Campaigns Slider Section Styles --- */
.our-campaigns-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.campaign-slider-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.campaign-slider-card:hover {
    transform: translateY(-5px);
}

.campaign-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.campaign-card-content {
    padding: 25px;
}

.campaign-card-content h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    /* Agar title lamba ho to use cut kar dega */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px; /* Adjust height based on font-size and line-height */
}

.campaign-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    /* Description ko bhi cut kar dega */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 75px; /* Adjust height */
}

.btn-learn-more {
    display: inline-block;
    background: var(--primary-color, #4318ff); /* Aapke design se primary color */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Swiper pagination styles for this slider */
.campaigns-slider .swiper-pagination-bullet {
    background: #ccc;
}
.campaigns-slider .swiper-pagination-bullet-active {
    background: var(--primary-color, #4318ff);
}
/* --- Milestone Campaign Card Styles --- */
.milestone-section { padding: 50px 0; background-color: #f9f9f9; } /* Optional background color */
.milestone-card {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: 'Inter', sans-serif; /* Using a consistent font */
}
.milestone-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.milestone-content {
    padding: 20px;
}
.milestone-title {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}
.milestone-title a {
    text-decoration: none;
    color: #1b2559;
}
.milestone-author {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 15px 0;
}
.milestone-progress {
    margin-bottom: 15px;
}
.milestone-progress .amounts {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #555;
}
.milestone-progress .amounts strong {
    color: #1b2559;
    font-size: 1.2rem;
}
.progress-bar {
    background: #eef0f4;
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}
.progress-bar-fill {
    background: #20c997; /* A nice green color */
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 50px;
}
.last-contribution {
    font-size: 0.8rem;
    color: #888;
    margin: 10px 0 0 0;
    font-style: italic;
}
.milestone-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    color: #555;
    font-weight: 500;
}
.milestone-footer i {
    color: #ff6b6b; /* A nice red color for the heart */
    margin-right: 5px;
}
/* --- Milestone Card "Donate Now" Button Styles --- */
.milestone-content .btn-donate-campaign {
    display: block; /* Button ko poori jagah dega */
    width: 100%;
    box-sizing: border-box; /* Padding ko width ke andar rakhega */
    margin-top: 20px; /* Upar se thoda gap */
    
    background: var(--primary-color, #4318ff); /* Aapka main blue color */
    color: white;
    text-align: center;
    padding: 15px;
    
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none; /* Link ka underline hatayega */
    
    border-radius: 8px; /* Thode gol corners */
    border: none;
    cursor: pointer;
    
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Hover karne par thoda sa dark ho jaayega */
.milestone-content .btn-donate-campaign:hover {
    background-color: #3a00e5; /* Primary color ka dark shade */
}
/* --- Live Donation Ticker Styles --- */
.donation-ticker-container {
    background-color: var(--primary-color, #4318ff); /* Aapke design se primary color */
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap; /* Sabse zaroori: Items ko ek hi line mein rakhta hai */
}

.ticker-wrap {
    display: inline-block;
    padding-left: 100%; /* Shuruaat mein screen se bahar rakhta hai */
}

.ticker-move {
    display: inline-block;
    /* Animation: naam, duration, speed, loop */
    animation: ticker-scroll 45s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem; /* Har item ke beech gap */
    font-size: 1rem;
    font-weight: 500;
}

.ticker-item i {
    color: #ff6b6b; /* Dil ka rang */
    margin-right: 8px;
}

/* CSS Animation jo patti ko chalayegi */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* -50% isliye kyunki humne content ko double kiya hai */
    }
}