/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Primary Colors - Deep Teal */
    --primary: #01364f;
    --primary-light: #568faa;
    --primary-dark: #012738;

    /* Accent Colors - Coral Red */
    --accent: #f2535a;
    --accent-light: #f67a80;
    --accent-dark: #d93d44;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f0f9ff;
    --light-gray: #c5ecff;
    --medium-gray: #7a9fb3;
    --dark-gray: #3d5a6c;
    --charcoal: #01364f;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #f2535a;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(1, 54, 79, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 54, 79, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-right: var(--space-xl);
    flex-shrink: 0;
}

.logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: 'Poppins', var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.25px;
    white-space: nowrap;
}

.logo-tagline {
    font-family: 'Poppins', var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-gray);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .logo {
        margin-right: var(--space-lg);
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.8rem;
    }

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

@media (max-width: 1100px) {
    .logo {
        margin-right: var(--space-md);
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.8rem;
    }

    .logo-img {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 950px) {
    .logo {
        margin-right: var(--space-sm);
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.75rem;
    }

    .logo-img {
        width: 55px;
        height: 55px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

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

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

.nav-link.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
}

.nav-link.cta-btn::after {
    display: none;
}

.nav-link.cta-btn:hover {
    background: var(--primary-light);
    color: var(--white);
}

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

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 220px;
    padding: var(--space-sm) 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    transform: translateX(-50%) translateY(10px);
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

/* Inline content links - bold, underlined, red on hover */
.content-link {
    font-weight: 600;
    text-decoration: underline;
    color: inherit;
    transition: color var(--transition-fast);
}

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

@media (max-width: 1280px) {
    .nav-menu {
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 0.9375rem;
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: var(--space-sm);
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-link.cta-btn {
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 950px) {
    .nav-menu {
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .nav-link.cta-btn {
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 850px) {
    .nav-menu {
        gap: var(--space-sm);
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-link.cta-btn {
        padding: 0.25rem 0.5rem;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition-base);
}

.nav-toggle .hamburger {
    position: relative;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle .hamburger::before {
    top: -7px;
}

.nav-toggle .hamburger::after {
    top: 7px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(1, 54, 79, 0.92) 0%,
        rgba(1, 54, 79, 0.75) 50%,
        rgba(1, 54, 79, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(95px + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    text-align: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.5px;
    color: var(--white);
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    padding: var(--space-md) var(--space-2xl);
    font-size: 1rem;
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: var(--space-md) var(--space-2xl);
    font-size: 1rem;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Form */
.hero-form {
    position: relative;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    max-height: 520px;
    overflow-y: auto;
}

.hero-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.hero-form-container iframe {
    height: 600px;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

/* Hero Images Layout */
.hero-images {
    position: relative;
    height: 550px;
}

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 75%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-image-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    height: 55%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 5px solid var(--white);
    z-index: 2;
}

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

.floating-card {
    position: absolute;
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    animation: float 6s ease-in-out infinite;
}

.floating-card svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--charcoal);
    white-space: nowrap;
}

.card-1 {
    bottom: 30%;
    left: -10%;
    animation-delay: 0s;
    z-index: 3;
}

.card-2 {
    top: 10%;
    right: -5%;
    animation-delay: -2s;
    z-index: 3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100px;
    fill: var(--white);
}

/* ===================================
   About Section - Gallery Accordion
   =================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.gallery-accordion {
    display: flex;
    gap: 12px;
    height: 450px;
    margin-top: var(--space-2xl);
}

.gallery-item {
    position: relative;
    flex: 1;
    min-width: 80px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item .gallery-video,
.gallery-item .gallery-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease, opacity 0.5s ease;
}

.gallery-item .gallery-video {
    z-index: 1;
}

.gallery-item .gallery-poster {
    z-index: 2;
}

.gallery-item.active .gallery-poster {
    opacity: 0;
}

.gallery-item:not(.active) .gallery-video,
.gallery-item:not(.active) .gallery-poster {
    filter: grayscale(20%) brightness(0.9);
}

.gallery-item:hover .gallery-video,
.gallery-item:hover .gallery-poster {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.gallery-item.video-ended .gallery-video {
    filter: grayscale(100%) brightness(0.9);
    transition: filter 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    transition: opacity 0.5s ease;
    z-index: 3;
}

.gallery-item:not(.active) .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    color: var(--white);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

.gallery-item:not(.active) .gallery-content {
    padding: var(--space-lg);
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all 0.5s ease;
}

.gallery-item:not(.active) .gallery-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
}

.gallery-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
}

.gallery-item:not(.active) .gallery-icon svg {
    width: 20px;
    height: 20px;
}

.gallery-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    transition: font-size 0.5s ease;
}

.gallery-item:not(.active) .gallery-content h3 {
    font-size: 1rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    margin-bottom: 0;
}

.gallery-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 1;
    max-height: 200px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:not(.active) .gallery-content p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
}

/* Active state */
.gallery-item.active {
    flex: 4;
}

.gallery-item.active img {
    filter: grayscale(0%) brightness(1);
}

.gallery-item.active .gallery-content h3 {
    font-size: 1.5rem;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: var(--space-sm);
}

.gallery-item.active .gallery-content p {
    opacity: 1;
    max-height: 200px;
}

.gallery-item.active .gallery-icon {
    width: 50px;
    height: 50px;
    margin-bottom: var(--space-md);
}

.gallery-item.active .gallery-icon svg {
    width: 26px;
    height: 26px;
}

@media (max-width: 900px) {
    .gallery-accordion {
        flex-direction: column;
        height: auto;
    }

    .gallery-item {
        min-height: 120px;
        flex: none !important;
    }

    .gallery-item.active {
        min-height: 300px;
    }

    .gallery-item:not(.active) .gallery-content h3 {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

/* ===================================
   Languages & Diversity Section
   =================================== */
.languages-section {
    padding: 0 0 var(--space-4xl) 0;
    background: var(--primary-light);
    color: var(--white);
}

.languages-banner {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    margin-bottom: var(--space-3xl);
}

.languages-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.languages-content .section-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.languages-content .section-title {
    color: var(--white);
}

.languages-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-md);
}

.languages-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.languages-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.language-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.language-feature svg {
    width: 24px;
    height: 24px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.language-feature span {
    font-weight: 500;
    color: var(--white);
}

@media (max-width: 600px) {
    .languages-features {
        flex-direction: column;
        align-items: center;
    }

    .language-feature {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 0 0 var(--space-4xl) 0;
    background: var(--off-white);
}

/* Services Hero Banner with CLS Prevention */
.services-hero {
    position: relative;
    width: 100%;
    height: 350px;
    min-height: 350px;
    overflow: hidden;
    margin-bottom: var(--space-3xl);
}

.services-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(1, 54, 79, 0.9) 0%,
        rgba(1, 39, 56, 0.8) 100%
    );
}

.services-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 0 var(--space-lg);
}

.services-hero-content .section-tag {
    color: var(--accent-light);
}

.services-hero-content .section-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.services-hero-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .services-hero {
        height: 280px;
        min-height: 280px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.service-card > p {
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.service-features {
    border-top: 1px solid var(--light-gray);
    padding-top: var(--space-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

/* Featured Service Cards with Images */
.service-card.featured {
    padding: 0;
    overflow: hidden;
}

.service-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card.featured:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: var(--space-xl);
}

.service-card.featured .service-icon {
    margin-top: calc(-32px - var(--space-md));
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
}

/* Children's Services Callout */
.children-services-callout {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-xl);
    margin-top: var(--space-3xl);
    border: 1px solid rgba(1, 54, 79, 0.1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: var(--white);
}

.callout-image {
    flex-shrink: 0;
    width: 180px;
}

.callout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.callout-content {
    flex: 1;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.callout-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.callout-content p {
    color: var(--dark-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.callout-content strong {
    color: var(--charcoal);
}

.callout-logos {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-shrink: 0;
    padding-right: var(--space-xl);
}

.callout-logos img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .children-services-callout {
        flex-direction: column;
        text-align: center;
    }

    .callout-image {
        width: 100%;
        height: 150px;
    }

    .callout-content {
        padding: var(--space-lg);
    }

    .callout-logos {
        justify-content: center;
        padding: 0 var(--space-xl) var(--space-xl);
    }

    .callout-logos img {
        height: 55px;
    }
}

/* ===================================
   Family Caregivers Section
   =================================== */
.family-caregivers {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.family-caregivers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.caregivers-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.caregivers-text .section-tag {
    color: var(--accent-light);
}

.caregivers-text .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: var(--space-lg);
}

.caregivers-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
}

.caregivers-text > p {
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.caregivers-text strong {
    color: var(--accent-light);
}

.caregivers-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.caregiver-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.caregiver-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.caregiver-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    max-width: 180px;
    line-height: 1.4;
}

.caregivers-benefits {
    margin-bottom: var(--space-xl);
}

.caregivers-benefits h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.caregivers-benefits ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.caregivers-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.caregivers-benefits li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.caregivers-benefits li span {
    font-size: 0.9375rem;
    line-height: 1.5;
    opacity: 0.95;
}

.caregivers-image {
    position: relative;
}

.caregivers-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.caregivers-quote {
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: 40px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.caregivers-quote blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0;
    position: relative;
    padding-left: var(--space-lg);
}

.caregivers-quote blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: var(--accent);
    font-family: var(--font-display);
    line-height: 1;
}

@media (max-width: 992px) {
    .caregivers-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .caregivers-text .section-title {
        text-align: center;
    }

    .caregivers-text .section-tag {
        display: block;
        text-align: center;
    }

    .caregivers-stats {
        justify-content: center;
    }

    .caregivers-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .caregivers-quote {
        left: 20px;
        right: 20px;
        bottom: -30px;
    }
}

@media (max-width: 600px) {
    .caregivers-stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .caregiver-stat-label {
        max-width: none;
    }

    .caregiver-stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   Partners Logo Banner
   =================================== */
.partners-banner {
    padding: var(--space-xl) 0;
    background: var(--off-white);
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.logo-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-scroll-wrapper::before,
.logo-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white), transparent);
}

.logo-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white), transparent);
}

.logo-scroll-track {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.logo-scroll-track:hover {
    animation-play-state: paused;
}

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

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 var(--space-md);
}

.partner-logo img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-scroll-track {
        gap: var(--space-2xl);
        animation-duration: 20s;
    }

    .partner-logo img {
        max-height: 40px;
        max-width: 100px;
    }

    .logo-scroll-wrapper::before,
    .logo-scroll-wrapper::after {
        width: 50px;
    }
}

/* ===================================
   Programs & Coverage Section
   =================================== */
.programs-coverage {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

/* Program Tabs */
.program-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.program-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-width: 120px;
}

.program-tab:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.program-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.tab-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon svg {
    width: 24px;
    height: 24px;
}

.tab-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
}

/* Program Panels */
.program-panels {
    margin-bottom: var(--space-xl);
}

.program-panel {
    display: none;
}

.program-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* New Stacked Panel Layout */
.panel-content-stacked {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.panel-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.panel-logo img {
    max-width: 100%;
    max-height: 100%;
}

.panel-logo.panel-logo-text {
    background: #14B8A6;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    object-fit: contain;
}

.panel-details-header {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-lg);
}

.panel-details-title {
    flex: 1;
}

.panel-details-title h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.panel-details-title .coverage-badge {
    margin-bottom: 0;
}

.panel-map-full {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.panel-map-full .program-map {
    width: 100%;
    height: 350px;
}

.panel-details {
    background: var(--off-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
}

.panel-details .program-description {
    margin-bottom: var(--space-lg);
    color: var(--dark-gray);
    line-height: 1.7;
}

.panel-details h4 {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    text-align: center;
}

.panel-cards-horizontal {
    background: var(--off-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
}

.panel-cards-horizontal h4 {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    text-align: center;
}

.cards-row-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 850px;
    margin: 0 auto;
}

.mini-card-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    width: 150px;
}

.mini-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mini-card-horizontal img {
    width: 120px;
    height: 75px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mini-card-horizontal:hover img {
    transform: scale(1.5);
    z-index: 10;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.mini-card-horizontal span {
    font-size: 0.75rem;
    color: var(--dark-gray);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .panel-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .panel-logo {
        width: 80px;
        height: 80px;
    }

    .panel-map-full .program-map {
        height: 280px;
    }

    .cards-row-horizontal {
        max-width: 100%;
        gap: var(--space-sm);
    }

    .mini-card-horizontal {
        width: 100px;
        padding: var(--space-sm);
    }

    .mini-card-horizontal img {
        width: 80px;
        height: 50px;
    }

    .mini-card-horizontal span {
        font-size: 0.65rem;
    }
}

.panel-info {
    padding: var(--space-xl);
    background: var(--off-white);
    border-radius: var(--radius-xl);
}

.panel-info h3 {
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.program-description {
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

/* Coverage Badge */
.coverage-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.coverage-badge svg {
    width: 18px;
    height: 18px;
}

.coverage-badge.statewide {
    background: rgba(43, 95, 131, 0.1);
    color: #2B5F83;
}

.coverage-badge.limited {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.coverage-badge.regional {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.coverage-badge.single-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.coverage-badge.single-red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.coverage-badge.single-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.coverage-badge.single-teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14B8A6;
}

/* Panel Cards */
.panel-cards h4 {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-gray);
}

.cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    width: 200px;
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mini-card img {
    width: 180px;
    height: 110px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mini-card:hover img {
    transform: scale(1.5);
    z-index: 10;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.mini-card span {
    font-size: 0.8125rem;
    color: var(--dark-gray);
    text-align: center;
    font-weight: 600;
}

/* Insurance Cards Disclaimer */
.cards-disclaimer {
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    color: var(--dark-gray);
    font-style: italic;
    opacity: 0.8;
    text-align: center;
}

/* Program Details (for non-insurance programs) */
.program-details ul {
    list-style: none;
}

.program-details li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
}

.program-details li:last-child {
    border-bottom: none;
}

.program-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Panel Map */
.panel-map {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.program-map {
    width: 100%;
    height: 400px;
    background: var(--light-gray);
}

/* Insurance Note */
.insurance-note {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
}

.insurance-note p {
    color: var(--dark-gray);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .panel-content {
        grid-template-columns: 1fr;
    }

    .program-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .program-tabs {
        gap: var(--space-xs);
    }

    .program-tab {
        padding: var(--space-sm) var(--space-md);
        min-width: 100px;
    }

    .tab-icon {
        width: 28px;
        height: 28px;
    }

    .tab-icon svg {
        width: 18px;
        height: 18px;
    }

    .tab-label {
        font-size: 0.6875rem;
    }

    .cards-row {
        justify-content: center;
    }

    .mini-card {
        width: 160px;
    }

    .mini-card img {
        width: 140px;
        height: 85px;
    }
}

/* ===================================
   Coverage Map Section
   =================================== */
.coverage {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-3xl);
    align-items: start;
}

.map-container {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#google-map {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
}

/* Google Maps custom info window styles */
.gm-style .gm-style-iw-c {
    padding: 12px !important;
    border-radius: var(--radius-md) !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.map-info-window {
    font-family: var(--font-primary);
    padding: 8px;
}

.map-info-window h4 {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.map-info-window p {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin: 0;
}

.map-legend {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    z-index: 10;
}

.map-legend h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: var(--space-xs);
}

.map-legend p {
    font-size: 0.9375rem;
    margin: 0;
}

.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: var(--light-gray);
    border-radius: var(--radius-xl);
}

.map-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.programs-list h3 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: var(--space-lg);
}

.program-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.program-item:hover,
.program-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.program-item.active {
    background: var(--primary);
    color: var(--white);
}

.program-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.program-item.active .program-icon {
    background: rgba(255, 255, 255, 0.2);
}

.program-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: all var(--transition-base);
}

.program-item.active .program-icon svg {
    color: var(--white);
}

.program-info h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.program-info p {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-bottom: var(--space-xs);
}

.county-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--transition-base);
}

.program-item.active .county-count {
    color: var(--accent-light);
}

/* ===================================
   Locations Section
   =================================== */
.locations {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: var(--space-lg);
    transition: all var(--transition-base);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-lg);
}

.location-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.location-info h3 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.location-info address {
    font-style: normal;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.directions-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

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

.directions-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 600px) {
    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .location-icon {
        margin: 0 auto;
    }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-md);
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.testimonial-content {
    margin-bottom: var(--space-lg);
}

.stars {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.stars svg {
    width: 20px;
    height: 20px;
    color: var(--warning);
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--charcoal);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-info strong {
    display: block;
    color: var(--charcoal);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: var(--space-sm);
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--light-gray);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dots .dot.active {
    background: var(--primary);
    width: 30px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.contact .section-tag {
    color: var(--accent-light);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: var(--radius-md);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.info-card h4 {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--space-xs);
}

.info-card p {
    margin: 0;
}

.info-card a {
    color: var(--white);
    transition: color var(--transition-fast);
}

.info-card a:hover {
    color: var(--accent-light);
}

.contact-form,
.jotform-container {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.jotform-container iframe {
    width: 100%;
    min-height: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--charcoal);
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-light) 0%, #3a7ca5 100%);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
    font-family: 'Poppins', var(--font-primary);
    color: var(--white);
    font-size: 1.125rem;
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer ul li {
    margin-bottom: var(--space-sm);
}

.footer ul a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.footer-locations-title {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.footer-address {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(95px + var(--space-3xl));
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: block;
        height: 400px;
        margin-top: var(--space-2xl);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form {
        margin-top: var(--space-2xl);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-main {
        width: 75%;
        height: 70%;
        right: 10%;
    }

    .hero-image-secondary {
        width: 55%;
        height: 50%;
    }

    .floating-card {
        display: none;
    }

    .coverage-content {
        grid-template-columns: 1fr;
    }

    .programs-list {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-md);
    }

    .programs-list h3 {
        grid-column: 1 / -1;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 91px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Mobile dropdown styles */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > .nav-link {
        justify-content: center;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: var(--light-gray);
        margin: var(--space-sm) 0 0 0;
        border-radius: var(--radius-sm);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height var(--transition-base), padding var(--transition-base);
        width: 100%;
        min-width: unset;
        left: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        max-height: 300px;
        padding: var(--space-sm) 0;
    }

    .dropdown-menu li {
        text-align: center;
        width: 100%;
    }

    .dropdown-menu a {
        text-align: center;
        padding: var(--space-sm) var(--space-md);
        display: block;
        width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero-form {
        margin-top: var(--space-xl);
    }

    .hero-form-container {
        padding: var(--space-md);
    }

    .hero-form-container iframe {
        height: 380px;
    }

    .hero-content {
        padding-bottom: var(--space-3xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }

    .hero-stat {
        text-align: center;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .insurance-gallery {
        grid-template-columns: 1fr;
    }

    .insurance-card {
        height: auto;
        min-height: 220px;
    }

    /* Disable flip on mobile - show back content on tap */
    .insurance-card .card-inner {
        transform: none !important;
    }

    .insurance-card .card-back {
        position: relative;
        transform: none;
        margin-top: var(--space-md);
    }

    .insurance-card .card-front {
        position: relative;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9375rem;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}

/* ===================================
   Animations & Interactions
   =================================== */
/* Note: @keyframes fadeInUp defined above in Hero section */

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: rgba(43, 95, 131, 0.04);
}

.faq-item[open] summary {
    background: var(--primary);
    color: var(--white);
}

.faq-item[open] summary::after {
    color: var(--white);
}

.faq-item p {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-item summary {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9375rem;
    }

    .faq-item p {
        padding: var(--space-sm) var(--space-md) var(--space-md);
        font-size: 0.875rem;
    }
}

/* ===================================
   How to Get Started Section
   =================================== */
.get-started {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--off-white) 0%, #e8f4f8 100%);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(242, 83, 90, 0.4);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: var(--space-md) auto var(--space-md);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.step-card h3 {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: 0.875rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--space-xl);
}

.step-connector svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.steps-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 350px;
        width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: var(--space-sm) 0;
    }
}

/* ===================================
   Careers Section
   =================================== */
.careers-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.careers-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.careers-subtitle {
    max-width: 800px;
    margin: var(--space-md) auto 0;
    font-size: 1.0625rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.careers-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    margin-bottom: var(--space-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.careers-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.careers-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.careers-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.careers-info {
    width: 100%;
}

.career-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.career-benefit:hover {
    background: var(--light-gray);
}

.career-benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-benefit-icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.career-benefit h4 {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.career-benefit p {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    margin: 0;
}

.open-positions {
    margin-bottom: var(--space-xl);
}

.open-positions h3 {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-gray);
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    transition: all var(--transition-base);
}

.position-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.position-info h4 {
    font-size: 0.9375rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.position-type {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.position-location {
    font-size: 0.8125rem;
    color: var(--dark-gray);
    white-space: nowrap;
}

/* Indeed Callout Box */
.indeed-callout {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, #2164f3 0%, #1a4fd6 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.indeed-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.indeed-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.indeed-text {
    flex: 1;
}

.indeed-text h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 4px;
}

.indeed-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.indeed-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--white);
    color: #2164f3;
    padding: var(--space-sm) var(--space-lg);
}

.indeed-btn:hover {
    background: var(--off-white);
    color: #1a4fd6;
    transform: translateY(-2px);
}

.indeed-btn-logo {
    height: 20px;
    width: auto;
}

.indeed-btn-arrow {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .indeed-callout {
        flex-direction: column;
        text-align: center;
    }

    .indeed-text {
        text-align: center;
    }
}

.careers-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}


@media (max-width: 992px) {
    .careers-split {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .careers-image {
        order: -1;
        height: auto;
        min-height: 0;
        max-width: 300px;
        margin: 0 auto;
    }

    .careers-image img {
        height: auto;
        width: 100%;
    }

    .careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .careers-benefits-grid {
        grid-template-columns: 1fr;
    }

    .position-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
}

/* ===================================
   Language Selector (Google Translate)
   =================================== */
.language-selector {
    position: relative;
}

/* Google Translate Widget Styling */
#google_translate_element {
    display: flex;
    align-items: center;
}

/* Hide Google branding and clean up the widget */
.goog-te-gadget {
    font-family: var(--font-body) !important;
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-gray);
    background: var(--off-white);
    cursor: pointer;
    transition: all var(--transition-base);
    outline: none;
}

.goog-te-gadget .goog-te-combo:hover {
    background: var(--light-gray);
    border-color: var(--primary);
}

.goog-te-gadget .goog-te-combo:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(43, 95, 131, 0.2);
}

/* Hide the "Powered by Google" text */
.goog-te-gadget > span {
    display: none !important;
}

/* Hide the Google Translate banner that appears at top of page */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Hide Google Translate logo image */
.goog-te-gadget img {
    display: none !important;
}

/* Hide the top banner frame that Google adds, but not the dropdown */
body > .skiptranslate {
    display: none !important;
}

iframe.skiptranslate {
    display: none !important;
}

@media (max-width: 768px) {
    .language-selector {
        margin-top: var(--space-md);
        padding-top: var(--space-md);
        border-top: 1px solid var(--light-gray);
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .goog-te-gadget .goog-te-combo {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-lg);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.cookie-text h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.cookie-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 700px;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.cookie-btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.cookie-btn-primary:hover {
    background: var(--accent-dark);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cookie-btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Privacy Policy Modal
   =================================== */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.privacy-modal.visible {
    opacity: 1;
    visibility: visible;
}

.privacy-modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 700px;
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.privacy-modal.visible .privacy-modal-content {
    transform: scale(1);
}

.privacy-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: var(--off-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 1;
}

.privacy-modal-close:hover {
    background: var(--accent);
    color: var(--white);
}

.privacy-modal-content h2 {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
    font-size: 1.5rem;
    color: var(--charcoal);
    border-bottom: 1px solid var(--light-gray);
}

.privacy-modal-body {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.privacy-modal-body h3 {
    font-size: 1.0625rem;
    color: var(--charcoal);
    margin: var(--space-lg) 0 var(--space-sm);
}

.privacy-modal-body h3:first-of-type {
    margin-top: 0;
}

.privacy-modal-body p {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.privacy-modal-body ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.privacy-modal-body li {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xs);
    list-style: disc;
}

.privacy-modal-body a {
    color: var(--primary);
    font-weight: 500;
}

.privacy-modal-body a:hover {
    color: var(--accent);
}

/* ===================================
   Location Pages
   =================================== */

/* Location Hero */
.location-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-4xl);
}

.location-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.location-hero-bg img,
.location-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-hero-bg.video-failed video {
    display: none;
}

.location-hero-bg .video-fallback {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-hero-bg.video-failed .video-fallback {
    display: block;
}

.location-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.75) 0%, rgba(22, 78, 99, 0.7) 100%);
}

.location-hero-content {
    color: var(--white);
    max-width: 800px;
}

.location-hero-content .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.location-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.location-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
}

.location-hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.location-hero-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.location-hero-cta .btn-primary:hover {
    background: var(--off-white);
}

.location-hero-cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.location-hero-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Location Cities Section */
.location-cities {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.location-cities h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-2xl);
    color: var(--charcoal);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.city-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.city-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.city-item h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.city-item p {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin: 0;
}

/* Location Services Section */
.location-services {
    padding: var(--space-4xl) 0;
}

.location-services .section-tag,
.location-programs .section-tag,
.location-testimonials .section-tag,
.location-office .section-tag {
    display: block;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.location-services h2,
.location-programs h2,
.location-testimonials h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

.location-services .section-subtitle,
.location-programs .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    color: var(--dark-gray);
}

.location-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.location-service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.location-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.location-service-card .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.location-service-card .service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
}

.location-service-card h3 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.location-service-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
}

/* Location Programs Section */
.location-programs {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.program-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.program-card.featured {
    border: 2px solid var(--primary);
}

.program-card .program-logo {
    height: 60px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

.program-card .program-logo img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
}

.program-card h3 {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.program-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
}

.program-badge {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

/* Insurance Logos Section */
.insurance-logos-section {
    margin-top: var(--space-2xl);
    text-align: center;
}

.insurance-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
}

.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

.insurance-logos img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .insurance-logos {
        gap: var(--space-lg);
    }

    .insurance-logos img {
        max-height: 40px;
        max-width: 100px;
    }
}

/* Location Testimonials Section */
.location-testimonials {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.location-testimonials h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
    margin-bottom: var(--space-md);
    color: #fbbf24;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 var(--space-md);
    opacity: 0.95;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    opacity: 0.9;
}

/* Location Office Section */
.location-office {
    padding: var(--space-4xl) 0;
}

.office-content {
    max-width: 700px;
    margin: 0 auto;
}

.office-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

.office-info > p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.office-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.office-detail strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.office-detail p {
    margin: 0;
    color: var(--charcoal);
    line-height: 1.6;
}

.office-detail a {
    color: var(--charcoal);
    transition: color var(--transition-fast);
}

.office-detail a:hover {
    color: var(--primary);
}

/* Location CTA Section */
.location-cta {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
    text-align: center;
}

.location-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.location-cta p {
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-lg {
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.125rem;
}

/* Location Page Responsive */
@media (max-width: 768px) {
    .location-hero {
        min-height: 400px;
        padding: calc(var(--space-3xl) + 80px) 0 var(--space-3xl);
    }

    .location-hero-content h1 {
        font-size: 1.75rem;
    }

    .location-hero-subtitle {
        font-size: 1rem;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-services-grid,
    .programs-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .office-details {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Location Page Image Gallery */
.location-image-feature {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.image-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.image-feature-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.image-feature-item:hover img {
    transform: scale(1.05);
}

.image-feature-item .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .image-feature-grid {
        grid-template-columns: 1fr;
    }
}
