/* --- 1. GLOBAL RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #050510;
    --primary-blue: #0056b3;
    --light-blue: #e3f2fd;
    --dark-text: #333;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --accent-yellow: #ffc107;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 { color: var(--primary-blue); margin-bottom: 15px; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { 
    width: 100%; 
    max-width: 1100px; 
    margin: auto; 
    padding: 0 20px; 
}
.section-padding { padding: 60px 0; }
.center-text { text-align: center; }


/* Logo is now WHITE to be visible on dark background */
/* --- PREMIUM GLASS NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px; /* Wider spacing on sides */
    
    /* 1. Deep "Frosted Glass" Background */
    background: rgba(2, 12, 27, 0.85); 
    backdrop-filter: blur(15px); /* Stronger blur */
    -webkit-backdrop-filter: blur(15px); /* For Safari */
    
    /* 2. Glowing Bottom Edge */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); /* Deep soft shadow */
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* --- ANIMATED LINKS --- */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    position: relative;
    left: auto;
    transform: none;
    margin-left: auto;
    margin-right: 40px;
    list-style: none;
    align-items: center;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* The Magic "Center-Out" Underline */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-yellow); /* Bright Yellow Line */
    transform: translateX(-50%);
    transition: width 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 8px var(--accent-yellow); /* Glowing line */
}

/* Hover State */
.nav-links a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); /* Text Glows */
}

.nav-links a:hover::after {
    width: 100%; /* Expands line to full width */
}

/* --- POLISHED DONATE BUTTON --- */
.btn-nav-desktop {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: var(--primary-blue);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15); /* White Glow */
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px; 
    text-align: center;
}

.btn-nav-desktop:hover {
    transform: translateY(-2px);
    background: var(--accent-yellow); /* Turns Yellow */
    color: #000;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.6); /* Yellow Glow */
}


/* --- LOGO STYLING --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    max-width: 80%; /* Prevents logo from eating all the space */
    margin-right: 40px;
    flex-shrink: 0
}

.logo img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: 2px solid white;
    flex-shrink: 0; /* Ensures the image never gets squished */
}

/* --- TEXT STACKING (UPDATED) --- */
.logo-text-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1; /* Tighter line height keeps them close */
}

.name-top {
    font-size: 1.2rem; /* Made slightly larger */
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.name-bottom {
    font-size: 0.9rem; /* SMALLER size allows the full name to fit */
    color: var(--white);
    text-transform: uppercase;
    font-weight: 750;
    letter-spacing: 0.5px; /* Spacing makes small text readable */
    white-space: nowrap; /* Forces it on one line */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 2px;
}

/* --- MOBILE TWEAK (Prevents breaking on small phones) --- */
@media (max-width: 400px) {
    .name-top { font-size: 1rem; }
    .name-bottom { font-size: 0.9rem; letter-spacing: 0.5px; }
    .logo img { width: 35px; height: 35px; } /* Slightly smaller logo on tiny screens */
}

/* --- HAMBURGER MENU (MOBILE) --- */

/* 1. Default State (Desktop): Hide the hamburger icon */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
        color: white;
        cursor: pointer;/* Keeps it on the right */
}

/* 2. Mobile State (Tablets & Phones) */
@media (max-width: 768px) {
    
    /* Show the Hamburger Icon */
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        color: white;
        cursor: pointer;
        order: 3; /* Keeps it on the right */
    }

    /* Hide the Desktop Donate Button to save space */
    .btn-nav-desktop { 
        display: none; 
    }

    /* THE DROPDOWN MENU LOGIC */
    .nav-links {
        /* Reset the Desktop "Spring" effect */
        margin: 0; 
        position: absolute;
        
        /* Position it right below the navbar */
        top: 100%;
        left: 0;
        width: 100%;
        
        /* Style the dropdown box */
        background: rgba(2, 12, 27, 0.95); /* Dark Glass */
        backdrop-filter: blur(15px);
        flex-direction: column; /* Stack links vertically */
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        
        /* CRITICAL: Hide it by default */
        display: none;
        
        /* Add a border top for separation */
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    /* The Class JS adds to SHOW the menu */
    .nav-links.active {
        display: flex; /* Makes it visible */
        animation: slideDown 0.3s ease forwards;
    }
    
    /* Animation for smooth opening */
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }


/* Mobile Donate Button inside menu */
    .btn-nav-mobile { 
        display: inline-block; 
        background: var(--white); 
        color: var(--primary-blue); 
        padding: 10px 20px; 
        border-radius: 20px;
        margin-top: 10px;
    }
}

.btn-nav {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* --- 3. MOBILE MENU FIX --- */
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Links are now WHITE */
.nav-links a { 
    color: var(--white); 
    font-weight: 500; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Adds shadow to read text better */
}

@media (max-width: 768px) {
    .nav-links {
        /* This moves the links to the bottom row on mobile */
        order: 3; 
        width: 100%; 
        justify-content: center; 
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

/* --- HERO SECTION (FORCED BOTTOM) --- */
.hero {
    /* 1. Make this the anchor point */
    position: relative; 
    
    min-height: 60vh; 
    width: 100%;
    
    background-color: #002845; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Remove old flex centering rules that trapped the buttons */
    display: block; 
    padding: 0;
}

/* 2. Force the buttons to the absolute bottom */
.hero-buttons {
    position: absolute; /* Breaks out of the "container" trap */
    bottom: 40px;       /* distance from the very bottom edge */
    left: 0;
    width: 100%;
    
    display: flex;
    justify-content: center; /* Centers them left-to-right */
    gap: 15px;
    z-index: 10; /* Ensures they sit ON TOP of the image */
}

/* --- SMALLER BUTTON STYLES --- */
.btn-hero-primary, .btn-hero-secondary {
    padding: 8px 20px;    /* Smaller padding */
    font-size: 0.85rem;   /* Smaller text */
    font-weight: 700;
    border-radius: 50px;  /* Round pill shape */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- HERO BUTTON (FORCED BLUE) --- */
.btn-hero-primary {
    /* Use !important to override the Yellow class below it */
    background: var(--primary-blue) !important; 
    color: var(--white) !important;
    
    /* Ensure it doesn't stretch to full width like the form button */
    width: auto !important; 
    display: inline-block;
    
    /* Keep the shape settings */
    padding: 10px 30px;   
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #004494 !important; /* Darker blue on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6);
}

/* Mobile Tweak: Stack buttons if screen is small */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 80%;
        text-align: center;
    }
}

/* --- SECTIONS --- */
.two-column { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) {
    .two-column { flex-direction: row; align-items: center; }
}

.about-image img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.feature-list li { margin: 10px 0; list-style: none; }

.impact-section { background: var(--primary-blue); color: var(--white); padding: 50px 0; text-align: center; }
.impact-section h2 { color: var(--white); }

.stats-grid { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) {
    .stats-grid { flex-direction: row; justify-content: space-around; }
}
.stat-box h3 { font-size: 2.5rem; margin: 0; color: var(--accent-yellow); }

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
}
@media (min-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 16px; transition: transform 0.3s; }
.gallery-grid img:hover { transform: scale(1.03); }

/* --- NEW DONATION WIDGET STYLES --- */
.donate-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
}

.donation-widget {
    background: white;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.widget-title {
    text-align: center;
    color: var(--primary-blue); /* Or use #28a745 for green */
    margin-bottom: 20px;
    font-weight: bold;
}

/* 1. Tabs */
.donate-tabs {
    display: flex;
    background: #eee;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary-blue); /* Uses your brand blue */
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 2. Inputs & Selects */
.input-group { margin-bottom: 15px; }

select, input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f4f4f4; /* Light grey background like image */
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    outline: none;
}

/* 3. Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    padding: 15px;
    border: 1px solid #ddd;
    background: #f4f4f4;
    border-radius: 12px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: 0.2s;
}

.amount-btn:hover { background: #e0e0e0; }

.amount-btn.selected {
    background: var(--primary-blue); /* Highlights in Blue */
    color: white;
    border-color: var(--primary-blue);
}

/* 4. Donate Button */
.btn-donate-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent-yellow); /* Yellow for high contrast */
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.btn-donate-submit:hover { transform: scale(1.02); }

/* 5. Impact Box */
.impact-box {
    background: #e3f2fd; /* Light blue background */
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--primary-blue);
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

.impact-icon {
    font-size: 24px;
    color: var(--primary-blue);
}

.impact-text { font-size: 0.9rem; color: #333; display: flex; flex-direction: column;}

/* 6. Trust Badge */
.trust-badge {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.trust-badge i { color: var(--primary-blue); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
/* --- CONTACT SECTION --- */
.contact-section {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.contact-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-box {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: var(--gray-bg);
    border-radius: 20px;
    transition: 0.3s;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.contact-box p {
    color: #666;
    margin-bottom: 5px;
}

/* --- FOOTER UPDATES --- */
footer {
    background: #1a1a1a; /* Darker background for contrast */
    color: #888;
    text-align: center;
    padding: 40px 0;
}

.rn-number {
    color: var(--accent-yellow); /* Makes the RN pop out */
    font-weight: bold;
    margin-top: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--accent-yellow);
}
/* --- VIDEO MODAL STYLES --- */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stays in place when scrolling */
    z-index: 2000;   /* Sits on TOP of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px; /* Maximum width of the video */
    animation: zoomIn 0.3s; /* Cool zoom effect */
}

.modal-content video {
    width: 60%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* The 'X' Close Button */
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover { color: #ffc107; }

/* Animation Keyframes */
@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}
/* --- PAYMENT BUTTONS --- */
.payment-buttons {
    display: flex;
    flex-direction: column; /* Stack them vertically on phone */
    gap: 15px;
    margin-top: 20px;
}

.pay-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pay-btn:hover { transform: translateY(-3px); }

/* Brand Colors */
.paypal { background-color: #0070ba; }   /* PayPal Blue */
.cashapp { background-color: #00d632; }  /* CashApp Green */
.gofundme { background-color: #02a95c; } /* GoFundMe Green */
/* --- CUSTOM CONFIRMATION POPUP --- */
/* Reuse the same background overlay from the video modal */
#confirm-modal {
    display: none; /* Hidden by default */
    z-index: 3000; /* Higher than everything else */
}

.confirm-box {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #e3f2fd; /* Light blue circle */
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle i {
    font-size: 24px;
    color: #0056b3; /* Dark blue heart */
}

.confirm-box h3 { margin-top: 0; color: #333; }
.confirm-box p { color: #666; margin-bottom: 25px; font-size: 1rem; }

.confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel, .btn-yes {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    flex: 1; /* Makes buttons equal width */
}

.btn-cancel {
    background: #f1f1f1;
    color: #666;
}

.btn-yes {
    background: #0056b3;
    color: white;
}

/* Animation for smooth entrance */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* --- NEW PAGES: GALLERY & NEWS STYLES --- */

/* The Blue Header on top of News/Gallery */
.page-header {
    background: transparent;
    color: var(--white);
    padding: 120px 20px 40px; /* 120px top padding clears the fixed navbar */
    text-align: center;
    margin-bottom: 40px;
}

/* Gallery Page Grid */
.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px 60px; /* Bottom padding for spacing */
    max-width: 1100px;
    margin: auto;
}

.gallery-full-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-full-grid img:hover {
    transform: scale(1.03); /* Slight zoom on hover */
}

/* News Page Cards */
.news-container {
    max-width: 800px;
    margin: 0 auto 60px; /* Centered with bottom margin */
    padding: 0 20px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Soft shadow */
    margin-bottom: 40px;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px); /* Lifts up slightly when hovered */
}

.news-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-content h2 {
    margin-top: 0;
    color: var(--primary-blue);
}

.date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
    font-weight: bold;
}
/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 5000; /* Stays on top of everything */
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Grows slightly when hovered */
    background-color: #128c7e;
}
/* --- PARTNERS SECTION (COMPACT FIX) --- */
.partners-section {
    text-align: center;
    /* 1. I reduced this from 40px to 10px to make it very short */
    padding: 15px 0; 
    color: #ccc;
    border-top: 1px solid #eee; /* Adds a nice thin line to separate it */
}

.small-title {
    font-size: 0.75rem; /* Makes "TRUSTED BY" smaller */
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.logos-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Brings icons closer together */
    /* 2. Reduced margin so icons sit closer to the text */
    margin-top: 5px; 
    opacity: 0.5;
}

/* 3. Force the icons to be smaller (overrides the fa-3x) */
.logos-flex i {
    font-size: 1.8rem; 
}
/* --- TEXT LOGO STYLES --- */
.text-logo {
    font-weight: 900;       /* Make the text very thick/bold */
    font-size: 1.2rem;      /* Match the size of the icons */
    letter-spacing: 1px;    /* Spread letters out slightly */
    cursor: default;        /* Arrow doesn't change when hovering */
}

/* --- NEWSLETTER POPUP --- */
.newsletter-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark background dimming */
    z-index: 9999; /* On top of EVERYTHING */
    justify-content: center;
    align-items: center;
}

.newsletter-box {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: popIn 0.5s ease-out; /* Bounce animation */
}

/* Close 'X' Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
}
.close-btn:hover { color: #333; }

/* Icon Styling */
.newsletter-box .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-blue, #0056b3);
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.newsletter-box h2 {
    color: #333;
    margin-bottom: 10px;
}

.newsletter-box p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Form Styling */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent-yellow, #ffc107);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: #e0a800;
}

.tiny-text {
    font-size: 0.75rem !important;
    color: #999 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
 .page-header {
            background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(37, 155, 223, 0.6));
            background-size: cover;
            background-position: center;
            color: var(--white);
            text-align: center;
            padding: 80px 20px;
        }

        .page-header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
        }
         /* --- FILTERS --- */
        .filters {
            background-color: var(--white);
            padding: 20px 0;
            border-bottom: 1px solid #3dbfd6;
        }

        .filter-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            padding: 0 20px;
        }

        .filter-btn {
            background: none;
            border: 1px solid #4acadb;
            padding: 8px 20px;
            border-radius: 20px;
            cursor: pointer;
            color: var(--text-light);
            font-weight: 600;
            transition: all 0.3s;
        }

        .filter-btn.active, .filter-btn:hover {
            background-color: var(--primary-green);
            color: var(--primary-blue);
            border-color: var(--primary-green);
        }
        /* --- APPEALS GRID --- */
        .appeals-section {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .appeals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .appeal-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .appeal-card:hover {
            transform: translateY(-5px);
        }

        .card-image {
            height: 200px;
            background-color: #ddd;
            position: relative;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tag {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--primary-green);
            color: var(--white);
            padding: 4px 10px;
            font-size: 0.75rem;
            font-weight: bold;
            border-radius: 4px;
        }

        .card-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .card-title {
            font-size: 1.25rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .card-desc {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .donation-options {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .amount-btn {
            flex: 1;
            padding: 8px;
            border: 1px solid #ddd;
            background: transparent;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            color: var(--text-dark);
        }

        .amount-btn:hover {
            border-color: var(--primary-green);
            color: var(--primary-green);
        }

        .card-actions {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 10px 0;
            text-align: center;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
            text-decoration: none;
        }

        .btn-primary {
            background-color: var(--primary-green);
            color: var(--white);
            flex: 2;
            border: none;
        }

        .btn-primary:hover {
            background-color: var(--dark-green);
        }

        .btn-outline {
            border: 2px solid #eee;
            color: var(--text-dark);
            flex: 1;
        }

        .btn-outline:hover {
            border-color: var(--text-dark);
        }

        /* --- FOOTER --- */
        footer {
            background-color: #222;
            color: #ccc;
            padding: 60px 20px 20px;
            margin-top: 60px;
        }

        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            color: var(--white);
            margin-bottom: 20px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
        }

        .footer-col ul li a:hover {
            color: var(--primary-green);
        }

        .copyright {
            text-align: center;
            border-top: 1px solid #333;
            padding-top: 20px;
            font-size: 0.85rem;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .page-header h1 { font-size: 2rem; }
            .filters { overflow-x: auto; white-space: nowrap; }
            .filter-container { flex-wrap: nowrap; justify-content: flex-start; }
        }
        /* --- PAYMENT SELECTOR POPUP --- */
.payment-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    z-index: 10000; /* Highest priority */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Blurs the background */
}

.payment-box {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.payment-header {
    text-align: center;
    margin-bottom: 25px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pay-option-btn {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s;
}

.pay-option-btn:hover { transform: scale(1.02); }

/* Brand Colors */
.pay-option-btn.paypal { background: #0070ba; }
.pay-option-btn.cashapp { background: #00d632; }
.pay-option-btn.gofundme { background: #02a95c; }
.pay-option-btn.bank { background: #333; }

/* Bank Details Box */
.bank-info-box {
    margin-top: 15px;
    padding: 15px;
    background: #f1f1f1;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
    border-left: 4px solid var(--accent-yellow);
}

.bank-info-box p { margin-bottom: 5px; color: #333; }
/* --- YOUTUBE VIDEO POPUP --- */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* This magic number creates a 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- MODERN UI & GLOW EFFECTS --- */

/* 1. Global Focus Styles for Accessibility & Aesthetics */
*:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

/* 2. Navbar Link Glow */
.nav-links a {
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--accent-yellow);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 12px rgba(255, 193, 7, 0.6);
}

/* 3. Button Glows & Lifts */
.btn-primary, .btn-secondary, .btn-nav-desktop, .btn-donate-submit, .pay-btn, .filter-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover, .btn-secondary:hover, .btn-nav-desktop:hover, .btn-donate-submit:hover, .pay-btn:hover, .filter-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 15px rgba(255, 255, 255, 0.4);
}

.btn-nav-desktop:hover {
    background-color: #ffdb4d;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

.btn-donate-submit:hover {
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
}

/* 4. Card Hover Effects (Glass-like lift) */
.appeal-card, .news-card, .contact-box, .stat-box, .donation-widget {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.appeal-card:hover, .news-card:hover, .contact-box:hover, .donation-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 20px rgba(0, 86, 179, 0.15);
}

/* 5. Input Fields Glow */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 86, 179, 0.25);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* 6. Floating WhatsApp Pulse */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

/* 7. Floating Donate Button */
.donate-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--accent-yellow);
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 4999; /* Just below WhatsApp/Modals */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.donate-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

/* 8. Solid Blue Button (For About Section) */
.btn-solid {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-solid:hover {
    background-color: #004494;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.5);
}
/* --- TOP BAR STYLES --- */
.top-bar {
    background-color: #002845; /* Very dark blue for contrast */
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1002; /* Higher than navbar */
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact Info Styling */
.contact-info a {
    color: white;
    margin-right: 20px;
    font-weight: 500;
    transition: 0.3s;
}

.contact-info a:hover {
    color: var(--accent-yellow);
}

.contact-info i {
    color: var(--accent-yellow);
    margin-right: 8px;
}

/* Right Side Styling */
.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-mini a {
    color: white;
    font-size: 0.9rem;
    transition: 0.3s;
}

.social-mini a:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px); /* Tiny hop effect */
}

.lang-select {
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 15px;
}

/* --- IMPORTANT: UPDATE NAVBAR TO STICKY --- */
/* Find your existing .navbar class and replace the 'position' part with this: */
.navbar {
    position: sticky; /* CHANGED from fixed */
    top: 0;
    /* keep the rest of your navbar settings... */
    background: rgba(0, 50, 100, 0.95); /* Slightly less transparent so it covers content well */
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* Mobile Fix: Hide top bar on very small phones to save space */
@media (max-width: 600px) {
    .top-bar {
        display: none; 
    }
}
/* --- MODERN VIDEO SECTION --- */
.video-box-modern {
    position: relative;
    width: 100%;
    /* This creates a perfect 16:9 HD Aspect Ratio */
    padding-bottom: 56.25%; 
    height: 0;
    
    background: #000;
    border-radius: 24px; /* Matches your other cards */
    overflow: hidden;    /* Clips the corners of the video */
    
    /* The "Lifted" Shadow Effect */
    box-shadow: 0 20px 50px rgba(0, 50, 100, 0.2);
    border: 4px solid white; /* Nice clean border */
    transition: transform 0.3s ease;
}

.video-box-modern:hover {
    transform: scale(1.01); /* Slight zoom on hover */
    box-shadow: 0 30px 60px rgba(0, 50, 100, 0.3);
}

.video-box-modern iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* --- NEW IMPACT GRID --- */
.impact-grid {
    display: grid;
    /* This creates a responsive grid (2 columns on tablets, 4 on big screens) */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 30px;
    margin-bottom: 50px;
}

.impact-card {
    background: #fff;
    /* Thin grey border like the image */
    border: 1px solid #e0e0e0; 
    border-radius: 15px; /* Smooth rounded corners */
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect: Lift up slightly */
.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-blue); /* Highlights blue on hover */
}

.impact-card i {
    font-size: 2.5rem;
    color: var(--primary-blue); /* Or change to #28a745 for Green */
    margin-bottom: 20px;
}

.impact-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin: 10px 0;
}

.impact-card p {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* --- ROUNDED MAP SECTION --- */
.map-box {
    width: 100%;
    height: 450px;
    
    /* This creates the rounded corners */
    border-radius: 30px; 
    overflow: hidden; /* Clips the map so corners stay round */
    
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    position: relative;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}/* --- KEY AREAS OF SUPPORT STYLES --- */

/* 1. Tabs Container */
.support-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.support-tab {
    padding: 12px 30px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-tab:hover { background: #eee; }

/* Active Tab (Like the Red one in your image, but Blue) */
.support-tab.active {
    background: var(--primary-blue); /* or #dc3545 for Red if you prefer */
    color: white;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

/* 2. Grid Layout */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

/* 3. The Card Look */
.support-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary-blue); /* Green in your image, Blue here */
}

/* The "Islamic Obligation" Badge */
.badge-dark {
    background: #222;
    color: white;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.support-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.support-card p { color: #666; font-size: 0.95rem; margin-bottom: 20px; }

/* 4. The Bullet List (Green Dots) */
.check-list {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom */
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
}

.check-list li::before {
    content: '\f111'; /* Circle Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.5rem;
    color: #28a745; /* Green dot like image */
}

/* 5. Bottom Action Button */
.btn-card-action {
    display: block;
    width: 100%;
    padding: 12px;
    background: #f1f1f1;
    color: #333;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-card-action:hover {
    background: var(--primary-blue);
    color: white;
}
/* --- MODERN FOOTER STYLES --- */
.modern-footer {
    background-color: #050510; /* Deep Dark Blue/Black */
    color: #a0a0a0;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    border-top: 5px solid var(--primary-blue); /* Blue accent line at top */
}

.footer-top {
    display: grid;
    /* Responsive Grid: 2 cols on tablet, 3 on desktop */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.2;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}

.footer-desc {
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--accent-yellow); /* Yellow Icons */
    font-size: 1.1rem;
    width: 20px; /* Aligns text properly */
}

.contact-item a { color: #a0a0a0; transition: 0.3s; }
.contact-item a:hover { color: white; text-decoration: underline; }

/* Links Columns */
.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

/* Little yellow underline for headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 12px; }

.footer-nav a {
    color: #a0a0a0;
    transition: all 0.3s;
    display: inline-block;
}

.footer-nav a:hover {
    color: white;
    transform: translateX(5px); /* Moves right slightly on hover */
    color: var(--accent-yellow);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links span { font-weight: bold; color: white; margin-right: 10px; }

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-top { gap: 40px; }
}
/* --- EMBEDDED NEWSLETTER --- */
.newsletter-embedded {
    margin-top: 60px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3f2fd 100%); /* Soft Blue Gradient */
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.05);
}

.newsletter-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 25px;
}

/* Form Layout */
.embedded-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap; /* Wraps on mobile */
}

.embedded-form input {
    flex: 1; /* Takes up available space */
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 50px;
    outline: none;
    min-width: 250px;
    transition: 0.3s;
}

.embedded-form input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.1);
}

.embedded-form button {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.embedded-form button:hover {
    background: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}
.fa-envelope-open-text {
    font-size: 2.5rem; /* Makes it 2.5 times bigger */
}
/* --- STORE & CART STYLES --- */

/* Navbar Cart Icon */
.nav-cart-icon {
    position: relative;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 15px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-yellow);
    color: black;
    font-size: 0.7rem;
    font-weight: bold;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sliding Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px; /* Hidden by default */
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-header {
    padding: 20px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h4 { font-size: 0.9rem; margin-bottom: 5px; color: #333; }
.item-price { color: var(--primary-blue); font-weight: bold; font-size: 0.9rem; }
.remove-item { color: #ff4444; font-size: 0.8rem; cursor: pointer; text-decoration: underline; }

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--accent-yellow);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active { display: block; }

/* CHECKOUT UI */
.digital-wallets {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.wallet-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: white;
}

.apple-pay { background: #000; }
.google-pay { background: #000; } /* Often black or dark grey */

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 10px;
    color: #888;
    font-size: 0.8rem;
    position: relative;
    z-index: 2;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

/* Realistic Card Input */
.card-input-container {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
    background: #f9f9f9;
}

.card-icon { padding: 0 15px; color: #888; }

.card-input-container input {
    border: none;
    background: transparent;
    padding: 12px 5px;
    outline: none;
}

.card-num { flex: 2; }
.card-date, .card-cvc { flex: 1; text-align: center; border-left: 1px solid #eee !important; }

/* Mobile Menu Fix */
.mobile-only { display: none; }
@media (max-width: 768px) {
    .mobile-only { display: block; }
    .nav-cart-icon { display: none; }
    .cart-sidebar { width: 100%; right: -100%; }
}
/* =========================================
   MOBILE SHOP & CART FIXES
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. Fix the Product Grid (1 Product per row) */
    .appeals-grid {
        grid-template-columns: 1fr; /* Full width cards */
        gap: 20px;
        padding: 0 10px;
    }

    /* 2. Fix the Cart Sidebar (No more scrolling off-screen) */
    .cart-sidebar {
        width: 100%; /* Takes full screen width */
        right: -100%; /* Hides completely */
    }
    
    .cart-sidebar.open {
        right: 0;
    }

    /* 3. Make the "My Cart" link in Menu stand out */
    .mobile-only a {
        background: var(--accent-yellow);
        color: black !important; /* Force black text */
        display: inline-block;
        padding: 5px 15px;
        border-radius: 20px;
        font-weight: bold;
        margin-top: 10px;
    }
}

/* =========================================
   VOLUNTEER FORM "MAKE IT NICE" STYLES
   ========================================= */

/* 1. Modern Input Fields */
.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border: 2px solid #eee; /* Softer border */
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); /* Tiny shadow */
}

/* 2. Focus Effect (The "Nice" part) */
.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1); /* Soft Blue Glow */
    outline: none;
    transform: translateY(-2px);
}

/* 3. Better Placeholder Text Color */
::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* 4. Labels */
.input-group label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
/* --- TEAM CARD STYLES --- */
.team-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    cursor: pointer; /* Shows the 'hand' icon so users know to click */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.team-card:hover {
    transform: translateY(-10px); /* Moves up when hovered */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-blue);
}

.role {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 10px;
}

.short-desc {
    font-size: 0.9rem;
    color: #666;
}

/* --- TEAM POPUP MODAL --- */
.team-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.team-modal-box {
    background: white;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.modal-body {
    display: flex;
    flex-wrap: wrap; /* Stacks on phone, side-by-side on PC */
}

.modal-img-wrapper {
    flex: 1;
    min-width: 250px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-img-wrapper img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.modal-text {
    flex: 2;
    padding: 40px;
    text-align: left;
}

.modal-text h2 { color: var(--primary-blue); margin-bottom: 5px; }
.modal-text h4 { color: #555; margin-bottom: 15px; font-weight: normal; }
.divider { width: 50px; height: 3px; background: var(--accent-yellow); margin-bottom: 20px; }
.modal-text p { line-height: 1.6; color: #444; }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .modal-body { flex-direction: column; text-align: center; }
    .modal-text { text-align: center; padding: 25px; }
    .divider { margin: 10px auto 20px auto; }
}

@keyframes zoomIn { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }