:root {
    --bg-black: #0a0a0a;
    --card-black: #151515;
    --text-white: #f5f5f5;
    --text-muted: #a3a3a3;
    --accent-yellow: #facc15;
    --accent-yellow-hover: #eab308;
    --font-primary: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

span {
    color: var(--accent-yellow);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--bg-black);
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: contain; /* Contains the full logo inside the circle */
    background-color: #ffffff; /* Adds white background so black text is visible inside the circle */
    padding: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-text span {
    color: var(--accent-yellow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-yellow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    background-color: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    min-width: 280px;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Invisible bridge for seamless hovering */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu a, .dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.nav-links .dropdown-menu a:hover, .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-yellow);
}

.nav-links .dropdown-menu a::after {
    display: none; /* Remove underline animation for dropdown links */
}

/* Specific styling for the Donate dropdown */
.donate-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 200px;
}

/* Marquee */
.marquee-container {
    background-color: var(--accent-yellow);
    color: var(--bg-black);
    padding: 6px 0; /* Reduced padding to make height smaller */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-weight: 600;
    font-size: 0.85rem; /* Reduced font size to fit mobile better */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.15);
    display: flex;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    color: var(--bg-black);
    padding-right: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-black) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Content Section Infrastructure */
.content-section {
    padding: 100px 5%;
    background-color: #ffffff; /* White background as requested in theme */
    color: var(--bg-black);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 0 auto;
    border-radius: 2px;
}

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

.card {
    background-color: #fafafa;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #eaeaea;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--accent-yellow);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.card p {
    color: #444;
}

/* Footer */
.footer {
    background-color: var(--card-black);
    padding: 80px 5% 30px;
    text-align: center;
}

.footer-content h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 50px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: #777;
    font-size: 0.95rem;
}

/* Responsive Design & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    /* Navbar & Mobile Menu */
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        max-height: 500px;
        overflow-y: auto;
    }

    .nav-links > li {
        width: 100%;
        text-align: center;
    }

    .nav-links > li > a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a::after {
        display: none; /* No underlines on mobile nav */
    }

    /* Mobile Dropdowns */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.03);
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none; /* Hide by default on mobile */
        border-radius: 0;
        padding: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block; /* Show when active class is added by JS */
    }

    /* Adjust spacing */
    .content-section {
        padding: 60px 5%;
    }
    
    .programs-grid-section, .split-section {
        padding: 60px 5%;
    }

    /* Hero */
    .hero h1, .program-hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Layout Adjustments */
    .split-content {
        width: 100%;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .stat-item h3 {
        font-size: 2.8rem;
    }
    
    .marquee-container {
        font-size: 0.75rem;
    }

    .steps-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- FOOD PROGRAM PAGE STYLES --- */

.program-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--text-white);
}

.intro-section {
    padding: 80px 5%;
}

.text-center { text-align: center; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.highlight-text { color: var(--accent-yellow); font-size: 1.8rem; }

.bg-dark { background-color: var(--card-black); }
.title-light h2 { color: var(--text-white); }
.bg-light-gray { background-color: #f9f9f9; }
.bg-yellow { background-color: var(--accent-yellow); }
.bg-black { background-color: var(--bg-black); }
.text-black { color: var(--bg-black); }
.text-left { margin-left: 0; }
.box-padding { padding: 40px; }
.rounded-lg { border-radius: 12px; }

/* Grid Layouts */
.programs-grid-section {
    padding: 100px 5%;
}

.premium-card {
    background-color: var(--bg-black);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-white);
}

.premium-card p {
    color: var(--text-muted);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Split Section */
.split-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    padding: 80px 5%;
}

.split-content {
    flex: 1;
    min-width: 300px;
}

.styled-list {
    list-style-type: none;
}

.styled-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.styled-list li::before {
    content: '•';
    color: var(--accent-yellow);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: 2px;
}

.black-bullets li::before {
    color: var(--bg-black);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-yellow);
}

.step-num {
    width: 50px;
    height: 50px;
    background-color: var(--accent-yellow);
    color: var(--bg-black);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-yellow);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
    color: #555;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--accent-yellow);
    color: var(--bg-black);
    padding: 80px 5%;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--accent-yellow);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Testimonial */
.testimonial-block {
    background: #111;
    color: #fff;
    padding: 60px 5%;
    text-align: center;
    border-top: 2px solid var(--accent-yellow);
    border-bottom: 2px solid var(--accent-yellow);
}

.testimonial-block blockquote {
    font-size: 2rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.4;
    color: var(--accent-yellow);
}

.testimonial-block p {
    font-size: 1.2rem;
    color: #ccc;
}

/* ==========================================================================
   Scroll-Controlled Video Hero Section
   ========================================================================== */

.scroll-container {
    /* Total scrollable area */
    height: 400vh;
    position: relative;
    width: 100%;
}
  
.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}
  
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile specific video centering */
@media (max-width: 768px) {
    .hero-video {
        object-position: 75% center;
    }
}
  
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    color: white;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    padding: 2rem;
}
  
.video-hero-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800; /* Matching outfit weight */
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out;
    color: #fff;
}
  
.video-sub-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-out;
}
  
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
