/* --- VARIABLES & PROFESSIONAL RESET --- */
:root {
    --primary-blue: #0a3d62;
    --primary-red: #04da20;
    --accent-orange: #e67e22;
    --accent-yellow: #f1c40f;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --text-dark: #333;
    --shadow-pro: 0 10px 40px rgba(0,0,0,0.1);
    --transition-pro: all 0.4s cubic-bezier(0.2, 0.6, 0.4, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ✅ FIXED MENU BUTTON */
#menuToggle {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10001; /* Highest priority */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: block;
}

/* ✅ FIXED MOBILE MENU PANEL */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;      /* Hidden off-screen */
    width: 300px;      /* Professional width */
    height: 100vh;
    z-index: 10000;    /* Just below the button */
    background: white;
    transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.4, 1);
    padding-top: 80px; /* Space for the button */
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: block;    /* Keep it block, we move it with 'transform' or 'right' */
}

/* The 'Active' state triggered by JS */
.mobile-menu.active {
    right: 0;          /* Slides into view */
}

/* Menu Links Styling */
.mobile-menu a {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
    font-size: 1.1rem;
}

.mobile-menu a:hover {
    background: var(--light-gray);
    padding-left: 35px; /* Subtle slide effect on hover */
    color: var(--primary-red);
}

/* h2 heading throughout */
h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    text-transform: capitalize;
}

/* --- PROFESSIONAL PRELOADER STYLES --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    opacity: 1;
    visibility: visible;
}

#preloader.preload-finish {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    gap: 15px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: dotPulse 1s infinite alternate;
}

.dot-1 { background-color: var(--primary-red); animation-delay: 0.1s; }
.dot-2 { background-color: var(--accent-yellow); animation-delay: 0.3s; }
.dot-3 { background-color: var(--primary-blue); animation-delay: 0.5s; }

@keyframes dotPulse {
    to {
        transform: scale(0.6);
        opacity: 0.4;
    }
}

/* --- SCROLL ANIMATION CLASS (INITIAL HIDDEN STATE) --- */
.scroll-animated {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-pro);
}

/* CLASS ADDED BY JS WHEN IN VIEW */
.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- TOP HEADER --- */
.top-header {
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.top-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand img {
    width: 80px;
}

.brand h1 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 700;
    max-width: 300px;
}

/* --- ULTIMATE PROFESSIONAL BUTTONS --- */

.header-buttons {
    display: flex;
    gap: 15px; /* Increased spacing for a cleaner look */
    align-items: center;
}

/* Base style for all secondary buttons (Meet Heroes, Apply, etc.) */
.nav-btn, 
.sub-btn, 
.view-all-btn {
    background: #f8f9fa; /* Soft off-white */
    color: var(--primary-blue); /* Professional blue text */
    padding: 12px 26px;
    border-radius: 50px; /* Modern "Pill" shape */
    border: 1px solid #e0e0e0; /* Subtle border for definition */
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother motion */
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* The High-Impact Donate & Submit Buttons */
.donate-btn, 
.submit-donation-btn {
    background: var(--primary-red); /* Your signature red */
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px; /* Matching pill shape */
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.2); /* Soft red glow */
    text-transform: uppercase; /* Adds authority */
    letter-spacing: 1px;
}

/* Hover States - The "Mind-Blowing" Detail */
.nav-btn:hover, 
.sub-btn:hover, 
.view-all-btn:hover {
    background: white;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-3px); /* Lifts higher */
    box-shadow: 0 6px 15px rgba(0,0,0,0.08); /* Deeper shadow on hover */
}

.donate-btn:hover, 
.submit-donation-btn:hover {
    background: #e74c3c; /* Brighter red */
    transform: translateY(-3px) scale(1.03); /* Lifts and slightly grows */
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4); /* Stronger interactive glow */
}

/* Active State (When Clicked) */
.nav-btn:active, 
.donate-btn:active {
    transform: translateY(0) scale(0.98); /* Snaps back for tactile feedback */
}



/* --- MAIN HERO --- */
.main-hero {
    background: var(--primary-blue);
    color: white;
    padding: 80px 20px;
}


.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text h5 {
    color: var(--accent-yellow);
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 3.5rem;
     color: var(--accent-yellow);
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.1rem;
     color: var(--primary-blue);
    opacity: 0.9;
    margin-bottom: 15px;
}

.hero-btn {
    background: var(--primary-red);
    color: white;
    padding: 16px 38px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 30px;
    cursor: pointer;
    transition: var(--transition-pro);
}
.hero-btn:hover {
    background: #e74c3c;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: var(--shadow-pro);
}

/* --- MEET OUR HEROES (MANUAL SLIDER RE-STYLE) --- */
.hero-slider-section {
    text-align: center;
    padding: 100px 20px;
    background: var(--light-gray);
}

.hero-intro {
    max-width: 600px;
    margin: -10px auto 50px;
    font-size: 1.1rem;
    color: #777;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

/* HERO CARDS - Only active one is shown */
.hero-card {
    display: none; /* Hidden by default */
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    flex-grow: 1;
    max-width: 800px; /* Wider professional card */
}

.hero-card.active-card {
    display: block; /* Shown only when active */
    opacity: 1;
}

.hero-card img {
    width: 100%;
    height: 450px;
    object-fit: cover; /* professional crop */
    border: 15px solid var(--white); /* Big white frame */
    border-radius: 5px;
    box-shadow: var(--shadow-pro);
    margin-bottom: 25px;
}

.hero-card h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 1.1rem;
    color: #666;
}

.slider-arrow {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-pro);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--text-dark);
}

/* --- WAYS YOU CAN HELP GRIDS --- */
.ways-to-help {
    background: var(--white);
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h5 {
    color: var(--primary-red);
    letter-spacing: 2px;
}

.help-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.help-item {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-pro);
    border: 1px solid transparent;
    transition: var(--transition-pro);
}
.help-item:hover {
    border-color: #eee;
    transform: translateY(-5px);
}

.help-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}
.help-icon-circle.red { background: var(--primary-red); }
.help-icon-circle.blue { background: var(--primary-blue); }

.help-item h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.help-item p { color: #666; }

.help-image {
    grid-column: span 2;
}
.help-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-pro);
}

/* --- IMPACT SECTION --- */
.impact-section {
    background: var(--primary-blue);
    color: green;
    text-align: center;
    padding: 80px 20px;
}
.impact-section h2 { color: var(--primary-blue); }

.impact-grid {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.impact-stat h3 {
    color: var(--accent-green);
    font-size: 3rem;
    font-weight: 700;
}
.impact-stat p { font-size: 1.2rem; }

/* --- NEWSLETTER BAR --- */
.newsletter-bar {
    background: var(--accent-orange);
    color: yellow;
    padding: 60px 20px;
    text-align: center;
}
.newsletter-bar h2 { color: var(--primary-blue); margin-bottom: 10px; }

.subscribe-form {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.subscribe-form input {
    padding: 15px 20px;
    width: 400px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.sub-btn {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.4rem;
    margin-top: 30px;
}

.social-icons a {
    color: white;
    background: rgba(0,0,0,0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-pro);
}
.social-icons a:hover {
    background: white;
    color: var(--accent-orange);
    transform: scale(1.1);
}

/* --- SPONSORS --- */
.sponsors-section {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.sponsor-logos img {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}
.sponsor-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.view-all-btn {
    background: var(--primary-red);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
}

.main-footer {
    background-color: #1a202c; /* Deep professional navy/charcoal */
    color: var(--primary-blue);
    padding: 60px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Gives more room to the mission statement */
    gap: 40px;
}

.footer-section p, 
.footer-links ul li a, 
.footer-bottom p {
    color: #333333; /* This is a dark, professional charcoal grey */
}

.footer-section h4 {
    color: #2c5282; /* This makes the headers a strong professional blue */
    font-weight: bold;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--accent-yellow) !important;
}

.footer-about p {
    line-height: 1.6;
    color: #2980b9;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    font-size: 13px;
    color: #a0aec0;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* --- FLOATING BUTTONS --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float {
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-pro);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 60px;
    font-size: 1rem;
    transition: var(--transition-pro);
}

.float i { font-size: 1.4rem; margin-right: 10px; }

.donate-float {
    background: var(--primary-red);
    width: 65px; height: 65px; border-radius: 50%;
    padding: 0;
}
.donate-float i { margin: 0; font-size: 2rem; }

.chat-float {
    background: #2980b9;
    min-width: 110px;
}
.float:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* --- WHAT WE DO PROFESSIONALLY STYLED --- */
.what-we-do-section {
    padding: 100px 20px;
    background: var(--white);
    text-align: center;
}
.what-we-do-section .section-header p {
    color: #777;
    margin-top: -10px;
    font-size: 1.1rem;
}

.service-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-gray);
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-pro);
    transition: var(--transition-pro);
    border: 1px solid #eee;
}
.service-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: #eee;
}

.service-card .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: var(--primary-blue);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* --- MAKE A DONATION PROFESSIONALLY STYLED --- */
.donation-section {
    text-align: center;
    padding: 100px 20px;
    background: var(--light-gray);
}
.donation-section h2 { margin-bottom: 10px; }
.donation-section p { color: #666; margin-bottom: 50px; font-size: 1.1rem; }

.donation-form {
    max-width: 800px;
    margin: auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow-pro);
    text-align: left;
}

.donation-form h3 {
    color: var(--primary-blue);
    margin: 40px 0 20px;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(10, 61, 98, 0.2);
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* Donation Amount Buttons Grid */
.donation-amounts {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.amount-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    background: #fff;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-pro);
}
.amount-btn:hover {
    background: #e6f0f5;
}
.amount-btn.active {
    background: var(--primary-blue);
    color: var(--accent-yellow);
}

.custom-amount-input {
    width: 50% !important;
    margin-top: 10px;
    display: block;
    text-align: center;
}

/* Payment Group */
.payment-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.submit-donation-btn {
    width: 100%;
    background: var(--primary-red);
    color: white;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    margin-top: 30px;
}
.submit-donation-btn:hover {
    background: #e74c3c;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .hero-text h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .payment-group { grid-template-columns: 1fr; }
    .amount-buttons-grid { grid-template-columns: repeat(2, 1fr); }
    .help-grid { grid-template-columns: 1fr; }
    .help-image { grid-column: span 1; }
    .impact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-container { flex-direction: column-reverse; text-align: center; }
    .slider-container { flex-direction: column; gap: 20px; }
    .hero-card img { height: 300px; }
    .form-group input, .form-group textarea { padding: 12px; }
    .donation-form { padding: 30px 20px; }
    .custom-amount-input { width: 100% !important; }
}

/* --- GALLERY STYLES --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 5%;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 500px;
    box-shadow: var(--shadow-pro);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.4, 1);
}

.hero-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(10, 61, 98, 0.95));
    color: white;
    transition: all 0.5s ease;
}

.hero-image-wrapper:hover .hero-overlay {
    bottom: 0;
}

.hero-image-wrapper:hover img {
    transform: scale(1.1);
}

/* --- FORM STYLES --- */
.professional-form {
    max-width: 900px;
    margin: 0 auto 100px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-pro);
}

.form-section {
    margin-bottom: 40px;
}

.file-drop-zone {
    border: 2px dashed #ddd;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.file-drop-zone:hover {
    border-color: var(--primary-blue);
    background: #f0f7ff;
}

/* GRANT PAGE SPECIFIC STYLING */
.grant-hero {
    height: 60vh;
    background: url('hospital-bg.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay-dark {
    background: rgba(10, 61, 98, 0.85); /* Deep Blue Overlay */
    padding: 60px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container-narrow {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #444;
}

.grant-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #c0392b; /* Red accent */
}

.apply-pill-btn {
    display: inline-block;
    background: #c0392b;
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin: 10px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.apply-pill-btn:hover {
    background: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* FAQ STYLING */
.faq-container {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    cursor: pointer;
    color: #0a3d62;
}

.faq-answer {
    display: none; /* Controlled by JS or can be shown by default */
    padding-top: 15px;
    color: #666;
}


/* --- PORTABLE BACKGROUND FOR WHO WE ARE --- */
.portable-bg-wrapper {
    position: relative;
    padding: 100px 10%;
    background-color: #f7f3fb; /* Lavender background */
    background-image: url('Images/cancer-day-bg.jpg'); /* Make sure filename matches your Images folder */
    background-repeat: no-repeat;
    background-size: 35% auto; /* PORTABLE SIZE */
    background-position: right 50px center; /* Positioned on the right side */
    display: flex;
    align-items: center;
    min-height: 550px;
    border-top: 1px solid #eee;
}

.about-content {
    max-width: 55%; /* Text stays safely on the left */
    z-index: 2;
}

.about-content h2 {
    font-size: 2.8rem;
    color: #0a3d62;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .portable-bg-wrapper {
        background-image: none; /* Hide image on mobile so text is easier to read */
        padding: 60px 5%;
        text-align: center;
    }
    .about-content {
        max-width: 100%;
    }
}

body {
    margin: 0;
    padding: 0;
    /* 1. Sets the background image */
    background-image: url('Images/cancer-day-bg.jpg'); 
    
    /* 2. Keeps the image "stagnant" (frozen) while scrolling */
    background-attachment: fixed; 
    
    /* 3. Centers it perfectly like a watermark */
    background-position: center; 
    background-repeat: no-repeat;
    
    /* 4. Size: 40% ensures it looks like a logo and isn't full-screen */
    background-size: 40%; 
}

/* 5. IMPORTANT: Make your sections transparent so you can see the watermark behind them */
section, footer, .top-header {
    background-color: rgba(255, 255, 255, 0.7) !important; /* White with 70% transparency */
    position: relative;
    z-index: 1;
}

/* Ensure the hero section doesn't hide the logo */
.main-hero {
    background: transparent !important;
}

/* --- PROFESSIONAL INTEGRATED HERO (Watermark Style) --- */

/* 1. SECTION BACKGROUND FIX */
/* We remove the background image from here and put it behind a new glass pane */
.main-hero.professional-watermark {
    position: relative;
    padding: 100px 5%; /* Increased padding for professional spacing */
    min-height: 80vh; /* Set a substantial minimum height */
    overflow: hidden;
}

/* We must put the image on the right side fixed to act as the stagnant watermark */
.main-hero.professional-watermark {
    background-image: url('Images/cancer-day-bg.jpg'); 
    background-size: 35% auto; /* Watermark size (Approx 35% width) */
    background-position: right 50px center; /* Stuck to the right but pushed in 50px */
    background-repeat: no-repeat;
    background-attachment: fixed; /* STAGNANT effect when you scroll */
}

/* 2. LAYOUT GRID (Text Left, Image Concept Right) */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 55% 40%; /* More text space on left */
    gap: 5%;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- THE "READABILITY" FIX: Glass Panel for Text --- */
.glass-hero-text-block {
    background: rgba(255, 255, 255, 0.7); /* Professional white transparency */
    backdrop-filter: blur(8px); /* Frosted glass effect for high readability */
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 61, 98, 0.05); /* Soft professional shadow */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-hero-text-block h5 {
    color: var(--primary-red); /* Save Lives should pop in red */
}

/* This is the title text with the "CURE CHILD CANCER" watermark style */
.pro-watermark-text {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

/* --- NEW RIGHT SIDE IMAGE CONCEPT (Seamless Illustration) --- */
.glass-hero-image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* A large transparent circle container for our illustration */
.child-circle-container {
    width: 450px; /* Large scale */
    height: 450px;
    border-radius: 50%;
    position: relative;
    background-color: transparent; /* No square box background */
}

/* ILLUSTRATED CONCEPT: Two smiling children holding each other */
.smiling-children-concept {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
    /* We are not generating a new photo; we are illustrating the concept seamlessly */
    /* This creates a large, transparent sketch concept integrated with your text */
    background-image: url('Images/children-smiling-concept.png'); /* A transparent illustration file */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Professional Watermark opacity (Transparent) */
    filter: sepia(1) saturate(0) opacity(0.5); /* Grayscale professional tone */
}

/* --- PROFESSIONAL BUTTON STYLING (Why Local?) --- */
.hero-btn.pro-btn {
    background-color: var(--primary-red); /* A professional, rich red */
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 50px; /* Modern "Pill" shape */
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.2); /* Deep red shadow for depth */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother animation */
}

.hero-btn.pro-btn:hover {
    background-color: #e74c3c; /* Slightly brighter interactive red on hover */
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4); /* Stronger glow on hover */
    transform: translateY(-3px) scale(1.02); /* Slight lift and scale feedback */
}

.hero-btn.pro-btn:active {
    transform: translateY(1px); /* Responds to click with tactile feedback */
}


/* --- MOBILE RESPONSIVE (Stack them) --- */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .glass-hero-text-block {
        padding: 40px;
    }
    .pro-watermark-text {
        font-size: 2.5rem;
    }
    .glass-hero-image-block {
        margin-top: 40px;
        order: -1; /* Move the illustration above the text on mobile */
    }
    .child-circle-container {
        width: 250px;
        height: 250px;
    }
}

/* --- PROFESSIONAL READABILITY FIXES (Glassmorphism) --- */

/* 1. LAYOUT GRID */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 55% 45%; /* More space for text, less for image */
    gap: 20px;
    align-items: center;
    padding: 100px 5%;
    position: relative;
    z-index: 2;
}

/* THE FIX: The Glass Panel for Readability */
.glass-text-container {
    background: rgba(255, 255, 255, 0.7); /* Professional white transparency */
    backdrop-filter: blur(8px); /* Frosted glass effect for high text contrast */
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 61, 98, 0.05); /* Soft professional shadow */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-text-container h5 {
    color: var(--primary-red); /* Save Lives pop */
}

/* Fixes the Title (Readability Text) */
.readability-text {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 25px;
}

/* --- NEW IMAGE CONCEPT (Stagnant Center Watermark) --- */
.glass-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* A large transparent circle frame for our illustration */
.circle-concept-frame {
    width: 450px; /* Large scale */
    height: 450px;
    border-radius: 50%;
    position: relative;
    background-color: transparent; /* No square box background */
}

/* THE ILLUSTRATED CONCEPT: Two smiling children holding each other */
.concept-watermark-children {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
    /* We are not just generating a new photo; we are illustrating the concept seamlessly */
    /* This creates a large, transparent sketch concept integrated with your text */
    background-image: url('Images/children-concept.png'); /* A transparent illustration file */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Professional Watermark opacity (Transparent) */
    filter: sepia(1) saturate(0) opacity(0.5); /* Grayscale tone to match watermark style */
}

/* --- PROFESSIONAL BUTTON STYLING (Why Local?) --- */
.hero-btn.pro-style-btn {
    background-color: var(--primary-red); /* A rich, professional red */
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn.pro-style-btn:hover {
    background-color: #e74c3c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-3px) scale(1.02); /* Professional lift/scale feedback */
}

/* --- MOBILE RESPONSIVE (Stack them) --- */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .glass-text-container {
        padding: 40px;
    }
    .readability-text {
        font-size: 2.5rem;
    }
    .glass-image-container {
        margin-top: 40px;
    }
    .circle-concept-frame {
        width: 250px;
        height: 250px;
    }
}

/* --- 1. GLOBAL RESET & VARIABLES --- */
:root {
    --primary-gold: #f1c40f;
    --dark-gold: #d4ac0d;
    --navy: #2c3e50;
    --text-main: #444;
    --text-muted: #666;
    --bg-light: #fefefe;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- 2. PROFESSIONAL NAVIGATION --- */
.top-header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 4px solid var(--primary-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo {
    height: 55px;
    width: auto;
}

.brand-text .name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-gold);
}

.donate-nav-btn {
    background: var(--primary-gold);
    color: #000 !important;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.2);
}

.donate-nav-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

/* --- 3. COMMON CONTENT COMPONENTS --- */
.page-content {
    padding: 80px 0;
}

.intro-section {
    text-align: center;
    margin-bottom: 60px;
}

.badge {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    background: #fff9e6;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

h1 {
    font-size: 3.2rem;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}

/* --- 4. PAGE-SPECIFIC LAYOUTS --- */

/* Who We Are: Mission/Vision Blocks */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.content-block {
    background: var(--bg-gray);
    padding: 50px;
    border-radius: 20px;
    border-left: 6px solid var(--primary-gold);
}

/* What We Do: Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 45px 30px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #fff9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

/* How to Help: Engagement Cards */
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.help-card {
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #f0f0f0;
}

.help-card.highlight {
    background: var(--navy);
    color: var(--white);
    border: none;
}

.help-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* --- 5. BUTTONS & ACTIONS --- */
.btn-primary {
    background: var(--primary-gold);
    color: #000;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--dark-gold);
}

.btn-secondary {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
}

.btn-outline {
    border: 2px solid var(--primary-gold);
    color: var(--navy);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

/* --- Values Section Styles --- */
.values-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--navy);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.value-item {
    padding: 20px;
}

.value-item h3 {
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Enhancing the Content Blocks from the grid-layout */
.content-block h2 {
    margin-bottom: 15px;
    color: var(--navy);
}

.content-block .icon-circle {
    margin: 0 0 20px 0; /* Align icon to the left for this layout */
}

/* Responsive Tweak for Who page */
@media (max-width: 768px) {
    .content-block {
        text-align: center;
    }
    .content-block .icon-circle {
        margin: 0 auto 20px;
    }
}


/* --- Help Page Specific Styles --- */

.main-donation-box {
    text-align: center;
    margin-bottom: 80px;
}

.donation-content {
    background: var(--navy);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.donation-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.donation-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-large {
    font-size: 1.2rem;
    padding: 18px 45px;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.impact-item {
    text-align: center;
    padding: 20px;
}

.impact-item h3 {
    margin-bottom: 15px;
    color: var(--navy);
}

/* Other Ways Grid */
.other-ways {
    background: var(--bg-gray);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.other-ways h2 {
    margin-bottom: 40px;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.way-item strong {
    display: block;
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.way-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Shadow Helper */
.card-shadow {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .donation-content {
        padding: 40px 20px;
    }
    .donation-content h2 {
        font-size: 1.8rem;
    }
}

/* --- 6. RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .grid-layout, .help-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 20px; text-align: center; }
    .main-nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .logo { height: 45px; }
    .page-content { padding: 50px 0; }
}

/* General Layout */
body {
    font-family: 'Poppins', sans-serif; /* Consistent with your donate page */
    background-color: #f0f2f5;
    margin: 0;
    padding: 30px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Header & Typography */
h1 {
    color: #0a3d62;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

th {
    background-color: #0a3d62;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 15px;
}

td {
    padding: 18px 15px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

/* Sensitive Data Badges */
.card-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e0;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #2d3748;
}

/* Status Indicators */
.status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.verified {
    background: #c6f6d5;
    color: #22543d;
}

.pending {
    background: #feebc8;
    color: #744210;
}

/* Form Elements inside Table */
.code-input {
    width: 90px;
    padding: 8px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.code-input:focus {
    border-color: #27ae60;
}

.action-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
}

.action-btn:hover {
    background: #219150;
    transform: translateY(-1px);
}