/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Brand Colors - Updated to match image color scheme */
    --primary-navy: #2d5a3d; /* Rich dark green */
    --accent-gold: #4a7c59; /* Medium green for accents */
    --background-white: #f6f3ee; /* Light warm off-white/cream */
    --callout-green: #1e3d2a; /* Darker green for callouts */
    --text-dark: #2d5a3d; /* Dark green for main text */
    --text-light: #4a7c59; /* Medium green for secondary text */
    --border-light: #d4e6d9; /* Light green for borders */
    --shadow: rgba(45, 90, 61, 0.1); /* Green-tinted shadow */
    --gradient-light: #f0f2f0; /* Light green for gradients */
    --hover-green: #1e3d2a; /* Darker green for hover states */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }

p {
    font-size: 16px;
    margin-bottom: 1rem;
}

/* Header */
.header {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    overflow: visible;
}

/* Header when scrolled - pill-shaped floating container */
.header.scrolled {
    background: rgba(250, 248, 245, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    margin: 0.5rem 1rem;
    left: 0;
    right: 0;
    box-shadow: 0 8px 32px rgba(45, 90, 61, 0.15);
    border: 1px solid rgba(45, 90, 61, 0.1);
    transform: scale(0.98);
    overflow: visible;
    will-change: transform;
    backface-visibility: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    transition: all 0.4s ease;
    position: relative;
}

/* Center the navigation menu */
.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Logo alignment - left side */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
}

/* Phone number alignment - right side */
.header-contact {
    margin-left: auto;
}

/* Adjust content padding when scrolled for pill shape */
.header.scrolled .header-content {
    padding: 0.75rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-dark);
}

/* Full text for desktop */
.logo-text-full {
    display: inline;
    white-space: nowrap;
}

.logo-text-short {
    display: none;
}

@media (max-width: 975px) {
    .logo-text-full { 
        display: inline; 
    }
    .logo-text-short { 
        display: none; 
    }
    .logo-text { 
        font-size: 16px; 
    }
}

@media (max-width: 768px) {
    .logo-text-full { 
        display: none; 
    }
    .logo-text-short { 
        display: inline; 
        font-weight: 700;
    }
    .logo-text { 
        font-size: 16px; 
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.header-contact .phone-link {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}

/* Hide phone number on mobile for cleaner navbar */
@media (max-width: 975px) {
    .header-content {
        justify-content: space-between;
    }
    
    .header-contact {
        display: none;
    }
    
    /* Reset navigation positioning for mobile */
    .nav {
        position: static;
        left: auto;
        transform: none;
        display: none;
    }
    
    /* Mobile menu styles */
    .nav.active {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav.active .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav.active .nav-list .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }
    
    .nav.active .nav-list .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile menu toggle active states */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 90, 61, 0.65), rgba(45, 90, 61, 0.65));
    z-index: 2;
}

.programs-hero .hero-overlay {
    background: linear-gradient(rgba(45, 90, 61, 0.7), rgba(45, 90, 61, 0.7));
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-header {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: var(--callout-green);
    color: var(--background-white);
    border: 3px solid var(--background-white);
    padding: 1rem 2rem;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: var(--background-white);
    color: var(--callout-green);
    border-color: var(--callout-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Hero Form */
/* Animate an angle custom property for the neon effect */
@property --glow-deg { 
    syntax: "<angle>"; 
    inherits: true; 
    initial-value: -90deg; 
}

.hero-form {
    --neon: #39ff14;              /* neon green */
    --bg: #ffffff;                 /* form background color */
    --bw: 2px;                     /* border width */
    --blur: 0.8rem;                /* glow softness */
    --intensity: 0.18;             /* outer glow opacity */
    background-color: var(--bg);
    padding: 2rem;
    border-radius: 10px;
    border: var(--bw) solid var(--border-light);
    box-shadow: 0 8px 20px var(--shadow);
    position: relative;
    isolation: isolate;
    transition: all 0.3s ease;
}

/* Hover and focus triggers rotation and shows glow */
.hero-form:hover,
.hero-form:focus-within {
    animation: rotate 4s linear infinite;
    border-color: transparent;
    background:
        linear-gradient(var(--bg) 0 0) padding-box,
        conic-gradient(from var(--glow-deg), transparent 0 330deg, var(--neon) 0 360deg)
            border-box;
}

/* Ensure focus state has higher priority and maintains animation */
.hero-form:focus-within {
    animation: rotate 4s linear infinite !important;
    border-color: transparent !important;
    background:
        linear-gradient(var(--bg) 0 0) padding-box,
        conic-gradient(from var(--glow-deg), transparent 0 330deg, var(--neon) 0 360deg)
            border-box !important;
}

/* Rotating the angle makes the light "wrap" around */
@keyframes rotate { 
    to { 
        --glow-deg: 270deg; 
    } 
}

/* Inner soft glow */
.hero-form::before,
.hero-form::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;                   /* hidden by default */
    transition: opacity 0.2s linear;
}

.hero-form:hover::before,
.hero-form:focus-within::before {
    z-index: -1;
    inset: 0.35rem;
    background: var(--bg);
    filter: blur(var(--blur));
    opacity: 1;
}

/* Outer halo following the rotating conic gradient */
.hero-form:hover::after,
.hero-form:focus-within::after {
    z-index: -2;
    inset: -0.8rem;
    background: conic-gradient(from var(--glow-deg),
                transparent 0 330deg, var(--neon) 0 360deg);
    filter: blur(var(--blur));
    opacity: var(--intensity);
}

/* Ensure focus state maintains glow effects with higher priority */
.hero-form:focus-within::before {
    z-index: -1 !important;
    inset: 0.35rem !important;
    background: var(--bg) !important;
    filter: blur(var(--blur)) !important;
    opacity: 1 !important;
}

.hero-form:focus-within::after {
    z-index: -2 !important;
    inset: -0.8rem !important;
    background: conic-gradient(from var(--glow-deg),
                transparent 0 330deg, var(--neon) 0 360deg) !important;
    filter: blur(var(--blur)) !important;
    opacity: var(--intensity) !important;
}

















.form-container {
    color: var(--text-dark);
}

.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.eligibility-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.submit-button {
    background-color: var(--callout-green);
    color: var(--background-white);
    border: 3px solid var(--background-white);
    padding: 1rem 2rem;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.submit-button:hover {
    background-color: var(--background-white);
    color: var(--callout-green);
    border-color: var(--callout-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
}

/* Stats Bar Section */
.stats-bar {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--callout-green) 100%);
    color: var(--background-white);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--background-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile responsive for stats bar */
@media (max-width: 975px) {
    .stats-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item {
        max-width: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--background-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 8px 20px var(--shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit-title {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Utility Partners Section */
.utility-partners {
    padding: 80px 0;
    background-color: var(--background-white);
}

.utility-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
}

.utility-logo {
    text-align: center;
    transition: all 0.3s ease;
}

.utility-logo:hover {
    transform: translateY(-3px);
}

.utility-logo-img {
    width: 160px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.utility-logo:hover .utility-logo-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Mobile responsive for utility logos */
@media (max-width: 975px) {
    .utility-logos {
        flex-direction: column;
        gap: 2rem;
    }
    
    .utility-logo-img {
        width: 140px;
        height: 70px;
    }
}

/* Programs Section */
.programs {
    padding: 80px 0;
}

/* Program Categories */
.program-category {
    margin-bottom: 6rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-cta {
    text-align: center;
    margin-top: 2rem;
}

.category-cta .cta-button {
    background-color: var(--callout-green);
    color: var(--background-white);
    border: 3px solid var(--background-white);
    padding: 1rem 2rem;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.category-cta .cta-button:hover {
    background-color: var(--background-white);
    color: var(--callout-green);
    border-color: var(--callout-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.program-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 8px 20px var(--shadow);
}

.program-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
}

.program-image img,
.program-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-image .material-icons {
    font-size: 28px;
}



.program-content {
    padding: 0;
}

.program-title {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.program-features {
    list-style: none;
    padding-left: 0;
}

.program-features li {
    padding: 0.25rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--callout-green);
    font-weight: bold;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background-white);
}

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

.step-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-navy);
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step-image {
    height: 150px;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 8px 20px var(--shadow);
}

.step-title {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-light);
}

/* Trust Section */
.trust {
    padding: 80px 0;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
}

.badge-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.badge:hover {
    transform: translateY(-3px);
    border-color: var(--primary-navy);
    box-shadow: 0 6px 15px var(--shadow);
}

.badge-text {
    font-weight: 600;
    color: var(--primary-navy);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
    border-left: 4px solid var(--primary-navy);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial:hover {
    transform: translateY(-3px);
    border-color: var(--primary-navy);
    box-shadow: 0 6px 15px var(--shadow);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-navy);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--callout-green) 0%, var(--primary-navy) 100%);
    color: var(--background-white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Contact and Quick Links Container */
.footer-sections-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-section {
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.footer-logo-img {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--background-white);
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact and Quick Links Container */
.footer-sections-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-section {
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    min-width: 250px;
}

.footer-title {
    color: var(--background-white);
    margin-bottom: 1.5rem;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    border-radius: 2px;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: transform 0.3s ease;
}

.footer-contact p:hover {
    transform: translateX(5px);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-contact a:hover::after {
    width: 100%;
}

.footer-contact a:hover {
    color: var(--background-white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links p {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links p:hover {
    transform: translateX(8px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    display: block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-gold);
}

.footer-links p:hover a::before {
    opacity: 1;
    left: -15px;
}

.footer-links a:hover {
    color: var(--background-white);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.5rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.compliance-text {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 300;
}

/* Add icons to contact info for better visual appeal */
.footer-contact p::before {
    content: "•";
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 18px;
}

/* Improve footer section spacing */
.footer-section {
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
}

/* Responsive Design */
@media (max-width: 975px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        display: none;
        position: static !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
    }
    
    .nav.active {
        display: flex !important;
        position: absolute !important;
        top: 100%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: rgba(250, 248, 245, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 0 0 15px 15px;
        border: 1px solid rgba(45, 90, 61, 0.1);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(45, 90, 61, 0.15);
        z-index: 1002 !important;
        width: 90%;
        max-width: 400px;
    }
    
    /* Ensure mobile menu works when header is scrolled */
    .header.scrolled .nav.active {
        top: calc(100% + 0.5rem);
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 15px;
        margin: 0;
        width: 90%;
        max-width: 400px;
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav.active .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav.active .nav-list .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }
    
    .nav.active .nav-list .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        margin-top: 2rem;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .benefits-grid,
    .programs-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }
    
    .footer-logo-img {
        height: 100px;
    }
    
    .footer-logo-text {
        font-size: 28px;
    }
    
    .footer-description {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .footer-sections-container {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        margin-top: 0;
    }
    
    .footer-section {
        min-width: auto;
        text-align: center;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 1.25rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p,
    .footer-links a {
        font-size: 14px;
        justify-content: center;
    }
    
    .footer-contact p:hover,
    .footer-links li:hover {
        transform: none;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        margin-top: 1.5rem;
    }
    
    /* Mobile responsive for new sections */
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-grid {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    
    /* Card text sizing for consistency */
    .program-description,
    .benefit-card p,
    .step-card p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        margin-top: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 16px;
        font-weight: 700;
    }
    
    .hero-form {
        padding: 1.5rem;
    }
    
    .benefit-card,
    .program-card,
    .step-card {
        padding: 1.5rem;
    }
    
    /* Card text sizing for consistency */
    .program-description,
    .benefit-card p,
    .step-card p {
        font-size: 14px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Hover Effects */
.btn-hover-effect {
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 61, 0.2);
}

/* Thank You Page Styles */
.thank-you-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-white) 0%, var(--gradient-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 80px; /* Account for fixed header */
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon .material-icons {
    font-size: 120px;
    color: var(--primary-navy);
}

.thank-you-title {
    font-size: 48px;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.thank-you-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.next-steps {
    margin-bottom: 4rem;
}

.next-steps h2 {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-size: 32px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 20px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.step-icon {
    margin-bottom: 1rem;
}

.step-icon .material-icons {
    font-size: 48px;
    color: var(--primary-navy);
}

.step-item h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 12px 25px var(--shadow);
}

.contact-info {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 20px var(--shadow);
    transition: all 0.3s ease;
}

.contact-info h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.contact-item .material-icons {
    font-size: 32px;
    color: var(--primary-navy);
}

.contact-item a {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--callout-green);
    color: var(--background-white);
    border: 3px solid var(--background-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--background-white);
    color: var(--callout-green);
    border-color: var(--callout-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: var(--background-white);
    color: var(--callout-green);
    border: 3px solid var(--callout-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--callout-green);
    color: var(--background-white);
    border-color: var(--background-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness for Thank You Page */
@media (max-width: 975px) {
    .thank-you-hero {
        padding: 100px 0 60px;
        margin-top: 80px; /* Keep margin for mobile too */
    }
    
    .thank-you-title {
        font-size: 36px;
    }
    
    .thank-you-subtitle {
        font-size: 18px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
} 

/* Additional utility classes for the new color scheme */
.text-green {
    color: var(--primary-navy);
}

.bg-green {
    background-color: var(--primary-navy);
}

.bg-light {
    background-color: var(--background-white);
}

.border-green {
    border-color: var(--primary-navy);
}

.text-accent {
    color: var(--accent-gold);
}

.bg-accent {
    background-color: var(--accent-gold);
}

.border-light-green {
    border-color: var(--border-light);
}

.shadow-green {
    box-shadow: 0 4px 6px var(--shadow);
}

/* Programs Page Specific Styles */

.programs-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.programs-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.programs-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-section {
    padding: 80px 0;
    background-color: var(--background-white);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Programs Preview Section Styles */
.programs-preview {
    padding: 80px 0;
    background-color: var(--background-white);
}

.programs-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.program-preview-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.program-preview-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 8px 20px var(--shadow);
}

.program-preview-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
}

.program-preview-icon .material-icons {
    font-size: 28px;
}

.program-preview-title {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-preview-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.programs-preview-cta {
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 8px 20px var(--shadow);
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars .material-icons {
    color: #ffc107;
    font-size: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-navy);
    box-shadow: 0 4px 8px var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background-color: var(--background-white);
}

.faq-item.active .faq-question {
    border-bottom-color: var(--border-light);
    background-color: var(--background-white);
}

.faq-question h4 {
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-navy);
    transition: transform 0.3s ease;
    user-select: none;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--background-white);
}

.faq-item.active .faq-answer {
    max-height: 100px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--background-white);
    padding: 120px 0 60px;
    margin-top: 80px;
    text-align: center;
}

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

.contact-hero-title {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.contact-form-section .form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form-section .form-title {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.contact-form-section .form-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-form-section .hero-form {
    text-align: left;
    max-width: 100%;
}

/* Hero Info Section (replaces form on index) */
.hero-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-info-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 20px var(--shadow);
    text-align: center;
    max-width: 500px;
}

.info-title {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.info-feature .material-icons {
    color: var(--primary-navy);
    font-size: 20px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
} 

/* Mobile optimization - show top-left corner of index hero image only */
@media (max-width: 768px) {
    .hero:not(.programs-hero) .hero-background {
        object-position: top left;
    }
} 