/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    background-color: #0b0d17; 
    color: #e2e8f0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: 'Cinzel', serif;
}

.logo-area { 
    display: flex; 
    align-items: center; 
    gap: 10px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon img {    
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.brand-name { 
    color: #ea580c; 
    font-size: 1.25rem; 
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #ea580c;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Cinzel', serif;
}

.nav-links a:hover { 
    color: #ea580c;
}

.nav-links li {
    position: relative; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e293b; 
    min-width: 180px; 
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3); 
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 100;
    top: 100%;
    left: 0;
    border-radius: 6px; 
    border-top: 3px solid #ea580c; 
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    color: #f1f5f9; 
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
    color: #e67e22;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Buttons */
.btn-donate {
    background: #ea580c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

/* --- Hero Layout (Dark) --- */
.hero-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-image: url('ALLWOMEN.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 13, 23, 0.4), rgba(11, 13, 23, 1));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #f97316;
    letter-spacing: 3px;
    font-weight: 700;
}

.tagline-divider {
    width: 50px;
    height: 2px;
    background-color: #f97316;
    margin: 8px auto 24px auto;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 44px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-text {
    color: #f97316;
}

.hero-description {
    font-size: 15px;
    line-height: 1.7;
    color: #94a3b8;
    font-style: italic;
}

/* --- LIGHT THEME ZONE --- */
.pillars-light-zone {
    background-color: #fcfaf2; 
    padding: 70px 0;
    color: #1e293b; 
}

.pillars-light-zone .section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #0f172a;
    text-align: center;
}

.header-line {
    width: 80px;
    height: 3px;
    background-color: #d97706;
    margin: 12px auto 50px auto;
    border-radius: 2px;
}

/* 4 Columns Card Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* --- Light Corporate Cards Style --- */
.pillar-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.card-header-title {
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-blue .card-header-title { background-color: #1e3a8a; }
.card-orange .card-header-title { background-color: #c2410c; }
.card-green .card-header-title { background-color: #14532d; }
.card-teal .card-header-title { background-color: #0f766e; }

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.quote-text {
    font-size: 12.5px;
    font-style: italic;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 16px;
    border-left: 3px solid #ea580c;
    padding-left: 8px;
}

.activity-points {
    list-style: none;
    margin-bottom: 24px;
}

.activity-points li {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.activity-points li i {
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.card-blue li i { color: #2563eb; }
.card-orange li i { color: #ea580c; }
.card-green li i { color: #16a34a; }
.card-teal li i { color: #0d9488; }

.action-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
    margin-top: auto;
}

.btn-blue { background-color: #2563eb; } .btn-blue:hover { background-color: #1d4ed8; }
.btn-orange { background-color: #ea580c; } .btn-orange:hover { background-color: #c2410c; }
.btn-green { background-color: #16a34a; } .btn-green:hover { background-color: #15803d; }
.btn-teal { background-color: #0d9488; } .btn-teal:hover { background-color: #0f766e; }

/* --- Metrics Section (Dark) --- */
.metrics-section {
    background-color: #0b0d17;
    padding: 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metrics-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

.counter-val {
    font-family: 'Cinzel', serif;
    font-size: 46px;
    font-weight: 700;
    color: #f97316;
}

.counter-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

/* --- Minimal Footer (Dark) --- */
.minimal-footer {
    background-color: #06070d;
    padding: 24px;
    text-align: center;
}

.minimal-footer p {
    font-size: 12px;
    color: #475569;
}


/* --- POPUP MODAL STYLES --- */
.modal-overlay {
    display: none; /* বাই ডিফল্ট হাইড থাকবে */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(5px);
    z-index: 99999 !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: #ffffff !important;
    padding: 30px;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    position: relative !important;
    z-index: 100000 !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: #1e293b !important;
    animation: popupFade 0.3s ease-out forwards;
}

@keyframes popupFade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
}

.close-btn:hover {
    color: #ea580c;
}

.modal-content h2 {
    font-family: 'Cinzel', serif;
    color: #1e3a8a;
    font-size: 22px;
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.modal-form .form-field {
    margin-bottom: 15px;
    text-align: left;
}

.modal-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #334155;
}

.modal-form input, 
.modal-form textarea,
.modal-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
}

.submit-volunteer-btn {
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer !important;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}


/* ==========================================
MOBILE & TABLET RESPONSIVE FIXES
========================================== */

@media (max-width: 1200px) {
    .grid-layout { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 992px) {
    /* Navbar Mobile Layout */
    .navbar {
        flex-wrap: wrap;
        padding: 0.8rem 4%;
    }

    .menu-toggle {
        display: block;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        background: #ffffff;
        padding: 10px 0;
        margin-top: 10px;
        border-top: 1px solid #e2e8f0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 15px;
        text-align: center;
        width: 100%;
    }

    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #1e293b;
        text-align: center;
    }

    .dropdown-content li a {
        text-align: center;
    }

    /* Hero Text Adjustments */
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 13px;
    }

    /* Pillars Light Zone Padding */
    .pillars-light-zone {
        padding: 40px 0;
    }

    .pillars-light-zone .section-header h2 {
        font-size: 24px;
    }

    .header-line {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .grid-layout { 
        grid-template-columns: 1fr; 
    }

    .metrics-wrapper { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 25px;
    }

    .counter-val {
        font-size: 36px;
    }

    .counter-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 0.8rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .btn-donate {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .metrics-wrapper {
        grid-template-columns: 1fr;
    }
}