:root {
    /* Brand Colors */
    --lupe-blue: #1c355e;
    --lupe-blue-light: #2c4c82;
    --lupe-blue-dark: #0f1f3a;
    --lupe-yellow: #f8c21c;
    --lupe-yellow-hover: #ffd952;
    --lupe-pink: #e40066;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #343a40;
    --black: #121212;

    /* Typography */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 6rem 1rem;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(28,53,94,0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--light-gray);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    color: var(--lupe-blue-dark);
}

a {
    text-decoration: none;
    color: var(--lupe-blue);
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px; /* Pill shape for modern look */
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.btn-yellow {
    background-color: #1F396D;
    color: var(--white);
}

.btn-yellow:hover {
    background-color: #2c4c82;
    color: var(--white);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--lupe-blue);
}

/* Header & Glassmorphism Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    transition: var(--transition);
}

.site-header.scrolled .header-container {
    padding: 0.5rem 1.5rem;
}

.logo img {
    height: 96px;
    transition: var(--transition);
}

.site-header.scrolled .logo img {
    height: 76px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    position: relative;
}

.main-nav a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--lupe-yellow);
    transition: var(--transition);
}

.main-nav a.nav-link:hover, .main-nav a.nav-link.active {
    color: var(--white);
}

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

.mobile-only-donate { display: none; }
.mobile-menu-btn { display: none; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #F9C21B;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 800px;
    animation: fadeUp 1s ease forwards;
}

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

.hero h1 {
    font-size: 5rem;
    color: #1F396D;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title.text-left {
    text-align: left;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--lupe-yellow), var(--lupe-pink));
    margin: 0 auto;
    border-radius: 2px;
}

.title-underline.left {
    margin: 0;
}

/* Endorsements */
.endorsements {
    background-color: var(--white);
    position: relative;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(28,53,94,0.1);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.program-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--lupe-blue);
    margin-bottom: 0.5rem;
}

.office {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
}

.condition {
    color: var(--lupe-pink);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Accordion */
.custom-accordion {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.custom-accordion summary {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lupe-blue);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}
.custom-accordion summary::-webkit-details-marker {
    display: none;
}
.custom-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--lupe-pink);
}
.custom-accordion[open] summary::after {
    content: '-';
}
.accordion-content {
    margin-top: 1.5rem;
    color: var(--dark-gray);
    font-size: 1.05rem;
}
.accordion-content p {
    margin-bottom: 1rem;
}
.accordion-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}
.accordion-content li {
    margin-bottom: 0.5rem;
}

/* About Us */
.about {
    background-color: var(--light-gray);
}

.col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--lupe-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.about-image-wrapper {
    position: relative;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--lupe-yellow), var(--lupe-pink));
    border-radius: var(--border-radius);
    z-index: 1;
    opacity: 0.8;
}

.about-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
    background-color: #F9C21B;
    color: #1F396D;
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 150px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    color: var(--lupe-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.8rem;
}

.link-group a {
    color: var(--dark-gray);
    font-weight: 500;
}

.link-group a:hover {
    color: var(--lupe-blue);
    padding-left: 5px;
}

.footer-middle {
    padding: 3rem 0;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-address {
    color: #1F396D;
}

.address-title {
    color: #1F396D;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-address a {
    color: #1F396D;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
}

.paid-for-box {
    display: inline-block;
    border: 2px solid #1F396D;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.paid-for-box p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1F396D;
}

.copyright {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.75rem; }
    .col-2 { grid-template-columns: 1fr; gap: 3rem; }
    .about-img { height: 400px; }
    .footer-top { flex-direction: column; }
}

@media (max-width: 768px) {
    .donate-btn { display: none; }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-btn .bar {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--white);
        transition: var(--transition);
    }
    
    .mobile-menu-btn.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--lupe-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        padding: 0 2rem;
    }
    
    .main-nav a.nav-link {
        font-size: 1.5rem;
    }
    
    .mobile-only-donate {
        display: block;
        width: 100%;
        margin-top: 2rem;
    }
    
    .hero h1 { font-size: 3.125rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    
    .footer-links { flex-direction: column; gap: 2rem; }
}
