/*
Theme Name: Total Chronic Care Theme
Author: Assistant
Description: A clean, medical-focused theme for Chronic Care Management.
Version: 1.1.0
*/

:root {
    /* Brand Colors - Medical/Trustworthy */
    /* Darker Teals/Blues for Hero & Header matches references */
    --color-primary: #2CA58D;
    /* Bright Teal/Green for CTA */
    --color-primary-dark: #1A5F56;
    --color-hero-bg-start: #1D4E68;
    /* Dark Blue from ChartSpan reference */
    --color-hero-bg-end: #12344D;
    /* Darker Blue */

    --color-secondary: #4FD1C5;
    /* Lighter Accent */
    --color-accent-orange: #F27121;
    /* Keep distinct orange for subtle highlights if needed */

    --color-text-main: #1F2937;
    /* Dark Gray */
    --color-text-light: #6B7280;
    /* Medium Gray */
    --color-bg-light: #F9FAFB;
    --color-white: #ffffff;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-hero-bg-end);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.section {
    padding: var(--spacing-lg) 0;
}

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

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Text Color Utilities */
.text-orange {
    color: var(--color-accent-orange) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    /* Reduced padding */
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
    /* Slightly smaller text */
}

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

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

.btn-primary-bright {
    background-color: #38C172;
    /* Bright Green CTA */
    color: white;
}

.btn-primary-bright:hover {
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-hero-bg-end);
    border: 2px solid var(--color-white);
}

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

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-hero-bg-end);
}

/* HEADER STYLES */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

/* WP Admin Bar Fix */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile header hide on scroll down */
.site-header.header-hidden {
    transform: translateY(-200%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
}

/* Header Text Color - Always dark */
.main-navigation a {
    color: var(--color-text-main);
    font-weight: 500;
}

.main-navigation a:hover {
    color: #107e85;
}

.site-header.scrolled .main-navigation a {
    color: var(--color-text-main);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: var(--color-text-main);
    cursor: pointer;
}

.site-header.scrolled .menu-toggle {
    color: var(--color-text-main);
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;
        color: var(--color-text-main);
    }

    /* Header always white on mobile */
    .site-header {
        background-color: var(--color-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Smaller logo on mobile */
    .site-logo {
        height: 55px;
    }

    /* Smaller CTA button on mobile - push to right */
    .header-cta {
        margin-left: auto;
    }

    .header-cta .btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }

    /* Reduced hero height on mobile - roughly half screen */
    .hero-section {
        min-height: 45vh;
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 30px;
        background-attachment: scroll;
        /* Better mobile performance */
    }

    .hero-title {
        font-size: 2rem;
    }

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

/* HERO SECTION */
/* HERO SECTION */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    /* Reduced pb since we use flex centering */
    /* Reduced opacity from 0.9/0.95 to 0.7/0.85 to show more image */
    background: linear-gradient(135deg, rgba(29, 78, 104, 0.7) 0%, rgba(18, 52, 77, 0.85) 100%), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    color: white;
    text-align: center;
    overflow: hidden;
    /* Height Increase */
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.hero-content {
    position: relative;
    z-index: 1;
    /* transition is handled by JS for opacity */
}

.hero-title {
    color: white;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Mobile hero - styled like reference */
@media (max-width: 768px) {
    .hero-section {
        min-height: 55vh;
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 35px;
        /* Use mobile-specific background with darker overlay */
        background: linear-gradient(180deg, rgba(20, 50, 70, 0.85) 0%, rgba(30, 80, 100, 0.75) 50%, rgba(40, 100, 110, 0.65) 100%),
            url('assets/images/hero-bg-mobile.jpg');
        background-size: cover;
        background-position: center center;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }

    /* Primary button - outline style */
    .hero-buttons .btn-primary {
        background: transparent;
        border: 1.5px solid rgba(255, 255, 255, 0.6);
        color: white;
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
        box-shadow: none;
    }

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

    /* Secondary button - gradient mint style */
    .hero-buttons .btn-secondary {
        background: linear-gradient(135deg, #5BB5A2 0%, #7DD3C0 100%);
        border: none;
        color: #1a3a4a;
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(91, 181, 162, 0.3);
    }

    .hero-buttons .btn-secondary:hover {
        background: linear-gradient(135deg, #4AA391 0%, #6CC3B0 100%);
    }
}

/* PARTNER LOGO SLIDER */
.partner-logo-section {
    padding: 60px 0;
    background-color: white;
    overflow: hidden;
    border-bottom: 1px solid #F3F4F6;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.slider-track {
    display: flex;
    width: calc(250px * 16);
    /* 250px width * 16 items */
    animation: scroll 30s linear infinite;
}

.slide {
    width: 250px;
    padding: 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 100%;
    height: 80px;
    background-color: #F3F4F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px dashed #E5E7EB;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
        /* Scroll exactly half width */
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

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

/* Background decorations (Stars/Plus signs) could be added here as pseudo elements or svgs */

/* CARDS & FEATURES */
.feature-grid,
.service-grid {
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #E6FFFA;
    /* Light Teal bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--color-primary);
}

.service-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.service-content {
    padding: 30px;
}

.service-tag {
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.service-card li span {
    color: var(--color-primary);
    font-weight: bold;
}

/* EXPERT CTA BAND */
.expert-cta-band {
    background-color: var(--color-hero-bg-end);
    background: linear-gradient(to right, var(--color-hero-bg-end), var(--color-hero-bg-start));
    padding: 80px 0;
    color: white;
    text-align: center;
}

.expert-cta-band h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.expert-cta-band p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

/* FOOTER */
.site-footer {
    padding: 4rem 0;
    background: #1a3a4a;
    color: #ffffff;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
    color: #ef6f23;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Abstract Background Blob */
.blob-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 60%;
    height: 120%;
    background-color: #E6F0FF;
    /* Light Blue from reference */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(-20%, -50%) rotate(-10deg);
    z-index: -1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .testimonials-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px;
        align-items: start;
    }
}

.testimonials-header {
    margin-bottom: 60px;
}

.eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-hero-bg-end);
    margin-bottom: 1rem;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    color: var(--color-hero-bg-end);
    margin-bottom: 2rem;
    line-height: 1.1;
}

/* Coral Button specifically for this section */
.btn-secondary-coral {
    background-color: var(--color-accent-orange);
    /* Logo Orange */
    color: white;
    box-shadow: 0 4px 14px rgba(242, 113, 33, 0.4);
}

.btn-secondary-coral:hover {
    background-color: #D96016;
    /* Slightly darker orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 113, 33, 0.6);
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

/* Staggered offset for the left column card */
@media (min-width: 900px) {
    .card-offset-left {
        margin-top: 40px;
        /* transform: translateX(40px); REMOVED for alignment */
    }

    .testimonials-col-right {
        padding-top: 0;
    }

    /* Add some spacing between right col cards */
    .testimonials-col-right .testimonial-card:last-child {
        margin-top: 40px;
    }
}

.card-logo {
    font-weight: 700;
    font-family: serif;
    /* Mimic logo font style if text */
    font-size: 1.25rem;
    color: #4B5563;
    opacity: 0.8;
}

.card-quote {
    font-size: 1.05rem;
    color: var(--color-hero-bg-end);
    line-height: 1.6;
    font-weight: 500;
}

.card-author {
    border-top: 1px solid #E5E7EB;
    padding-top: 20px;
}

.card-author strong {
    display: block;
    color: var(--color-hero-bg-end);
    font-size: 1rem;
}

.card-author span {
    display: block;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Responsive visibility utilities */
/* Desktop-only: visible on 901px+ (inherits natural display), hidden on 900px and below */

/* Mobile-only: hidden on 901px+, visible on 900px and below */
.mobile-only {
    display: none !important;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* Mobile Testimonials Header */
.testimonials-header-mobile {
    display: none;
    text-align: center;
    margin-bottom: 30px;
}

.testimonials-header-mobile h2 {
    font-size: 1.5rem;
    color: var(--color-hero-bg-end);
    line-height: 1.3;
}

@media (max-width: 900px) {
    .testimonials-header-mobile {
        display: block;
    }

    .testimonials-section {
        padding: 60px 0;
    }
}

/* Mobile Testimonials Slider */
.testimonials-slider {
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeSlide 0.4s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-slide .testimonial-card {
    margin-bottom: 0;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-hero-bg-end);
    background: white;
    color: var(--color-hero-bg-end);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--color-hero-bg-end);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--color-hero-bg-end);
    transform: scale(1.2);
}

/* Mobile CTA */
.testimonials-cta-mobile {
    text-align: center;
    margin-top: 30px;
}

/* BENEFITS TABS SECTION */
.bg-light-blue {
    background-color: #EBF5FF;
    /* Very light blue background */
}

.benefits-intro {
    max-width: 800px;
    margin-bottom: 60px;
}

.benefits-intro h2 {
    font-size: 2.25rem;
    color: var(--color-hero-bg-end);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .benefits-intro h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* DESKTOP TABS STRUCTURE */
.benefits-desktop {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.tabs-nav {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.tab-btn {
    background: white;
    border: none;
    border-bottom: 1px solid #CBD5E1;
    border-left: 4px solid transparent;
    padding: 16px 20px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-hero-bg-end);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #F8FAFC;
}

.tab-btn.active {
    background-color: var(--color-hero-bg-end);
    color: white;
    font-weight: 600;
    border-left: 4px solid var(--color-hero-bg-end);
}

.tabs-content {
    flex: 1;
}

.tab-panel {
    display: none;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab-panel .pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.tab-panel .pane-text h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--color-hero-bg-end);
}

.tab-panel .pane-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tab-panel .image-placeholder-general {
    height: 280px;
    border-radius: 10px;
}

/* ACCORDION/TAB STYLES */
.benefits-accordion {
    width: 100%;
}

/* Accordion Item */
.accordion-item {
    margin-bottom: 0;
}

/* Accordion Header Button */
.accordion-header {
    width: 100%;
    background: white;
    border: none;
    border-bottom: 1px solid #E5E7EB;
    padding: 18px 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-hero-bg-end);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    outline: none;
}

.accordion-header:hover {
    background-color: #F8FAFC;
}

/* Plus/Minus Icon */
.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-hero-bg-end);
    transition: transform 0.3s ease;
}

/* Horizontal line (always visible) */
.accordion-icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Vertical line (hidden when active) */
.accordion-icon::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Active state - rotate to minus */
.accordion-header.active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.accordion-header.active .accordion-icon::before,
.accordion-header.active .accordion-icon::after {
    background-color: white;
}

/* Active header style */
.accordion-header.active {
    background-color: var(--color-hero-bg-end);
    color: white;
    font-weight: 600;
}

/* Accordion Content - Hidden by default on mobile */
.accordion-content {
    display: none;
    background: white;
    padding: 20px;
}

.accordion-content.active {
    display: block;
    animation: accordionSlideIn 0.3s ease-out;
}

@keyframes accordionSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile accordion content grid */
.accordion-content .pane-grid {
    display: block;
}

.accordion-content .pane-image {
    margin-bottom: 20px;
}

.accordion-content .image-placeholder-general {
    height: 200px;
    border-radius: 8px;
}

.accordion-content .pane-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.accordion-content .pane-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* DESKTOP STYLES - Show as sidebar tabs */
@media (min-width: 900px) {
    .benefits-container {
        position: relative;
    }

    .benefits-accordion {
        display: flex;
        flex-direction: column;
        width: 260px;
        position: relative;
    }

    /* Accordion items stack vertically as tab headers */
    .accordion-item {
        display: block;
        width: 260px;
    }

    /* Headers become left sidebar tabs */
    .accordion-header {
        width: 100%;
        border-bottom: 1px solid #CBD5E1;
        font-size: 1.05rem;
        padding: 16px 20px;
        border-left: 4px solid transparent;
    }

    .accordion-header.active {
        border-left: 4px solid var(--color-hero-bg-end);
        background-color: var(--color-hero-bg-end);
    }

    /* Hide +/- icons on desktop */
    .accordion-icon {
        display: none;
    }

    /* Content panel - positioned relative to benefits-container */
    .accordion-content {
        display: none;
        position: fixed;
        position: absolute;
        left: 300px;
        top: 0;
        width: calc(100% - 320px);
        max-width: 800px;
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
    }

    /* Make content position relative to the benefits-container */
    .benefits-container {
        position: relative;
        min-height: 400px;
    }

    .accordion-content.active {
        display: block;
        max-height: none;
        padding: 0;
    }

    /* Content grid for desktop - text left, image right */
    .accordion-content .pane-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .accordion-content .pane-image {
        margin-bottom: 0;
        order: 2;
    }

    .accordion-content .pane-text {
        order: 1;
    }

    .accordion-content .image-placeholder-general {
        height: 280px;
        border-radius: 10px;
    }

    .accordion-content .pane-text h3 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .accordion-content .pane-text p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

/* MINIMAL FEATURE CARDS (Expanded Grid) */
.feature-card-minimal {
    text-align: center;
    padding: 20px;
    background: transparent;
    /* No white background card logic */

    /* Scroll animation - initial hidden state */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated state when in view */
.feature-card-minimal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for each card */
.feature-card-minimal:nth-child(1) {
    transition-delay: 0s;
}

.feature-card-minimal:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card-minimal:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card-minimal:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card-minimal:nth-child(5) {
    transition-delay: 0.4s;
}

.feature-card-minimal:nth-child(6) {
    transition-delay: 0.5s;
}

.feature-icon-minimal {
    margin-bottom: 20px;
    color: #4FD1C5;
    /* Teal/Turquoise matching image */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    /* Optional: Light bg bubble if SVG lines need contrast, but image looks clean */
}

.feature-card-minimal h3 {
    font-size: 1.25rem;
    color: var(--color-text-main);
    /* Black/Dark Gray */
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card-minimal p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    /* Gray text */
    line-height: 1.6;
}

/* Stats in merged section - uses existing grid classes */

/* Content Area */
.benefits-content-area {
    flex: 1;
    min-height: 400px;
    position: relative;
}

.benefit-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.benefit-pane.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pane-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-hero-bg-end);
    max-width: 600px;
}

.text-highlight {
    font-weight: 800;
}

.pane-text p {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 600px;
}

/* Image styling for tab content */
.pane-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .pane-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

/* Generic placeholder to use for all tabs */
.image-placeholder-general {
    width: 100%;
    height: 350px;
    background-color: #E2E8F0;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}



/* EXPERT PAGE TEMPLATE */
/* Hide Header and Footer on this page only */
/* Expert page: Show header but hide the CTA button */
.page-expert .header-cta {
    display: none;
}

/* Expert page: Make header always solid on this page */
.page-expert .site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-expert .main-navigation a {
    color: var(--color-text-main);
}

.expert-page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}

@media (min-width: 900px) {
    .expert-page-wrapper {
        flex-direction: row;
        min-height: auto;
    }
}

/* Left Column */
.expert-col-left {
    background-color: #0a5a5f;
    /* Darker Teal for better contrast */
    color: white;
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.expert-content-inner {
    max-width: 600px;
    margin: 0 auto;
    /* Center in column */
}

.expert-col-left h1 {
    color: white;
    font-size: 2.25rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.expert-subtitle {
    font-size: 1.1rem;
    color: #ccfbf1;
    /* Light readable teal */
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.expert-checklist {
    list-style: none;
    padding: 0;
}

.expert-checklist li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-secondary);
    /* Restore old green (teal) */
    border-radius: 4px;
    color: white;
    margin-right: 15px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Right Column */
.expert-col-right {
    background-color: #F3F4F6;
    /* Light Gray */
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 40px 60px;
}

.expert-form-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 500px;
}

.expert-form-card h2 {
    color: var(--color-hero-bg-end);
    margin-bottom: 0.5rem;
}

.expert-form-card p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Styling */
.expert-form .form-group {
    margin-bottom: 1rem;
}

.expert-form input,
.expert-form select,
.expert-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-main);
    transition: border-color 0.2s;
    background-color: #FAFAFA;
}

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

.form-disclaimer {
    font-size: 0.75rem !important;
    line-height: 1.4;
    margin-bottom: 1.5rem !important;
}

.btn-full-width {
    width: 100%;
    background-color: #ef6f23;
    /* Brand Orange */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-full-width:hover {
    background-color: #d85f18;
}

/* EXPERT PAGE - MOBILE STYLES */
@media (max-width: 768px) {
    .expert-col-left {
        padding: 40px 25px;
        text-align: left;
    }

    .expert-col-left h2 {
        font-size: 1.25rem !important;
        /* Total Chronic Care logo text */
    }

    .expert-col-left h1 {
        font-size: 1.35rem;
        /* Reduced from 2.25rem */
        line-height: 1.4;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .expert-subtitle {
        font-size: 0.95rem;
        /* Reduced from 1.1rem */
        margin-bottom: 1rem;
    }

    .expert-checklist li {
        font-size: 0.9rem;
        /* Reduced from 1.1rem */
        margin-bottom: 0.75rem;
    }

    .expert-col-right {
        padding: 40px 20px;
    }

    .expert-form-card {
        padding: 25px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .expert-form-card h2 {
        font-size: 1.5rem;
    }
}

.stats-section {
    background-color: #F8FAFC;
    /* Very light cool gray/blue */
    padding: 60px 0;
    border-bottom: 1px solid #E2E8F0;
}

/* NEW STATS CARDS - Single row on desktop, 2x2 on mobile */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #E5E7EB;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.stat-arc {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.arc-bg {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 6;
}

.arc-progress {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.stat-circle .stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-hero-bg-end);
    line-height: 1;
    margin: 0;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
    line-height: 1.3;
}

/* Mobile - 2x2 grid with smaller cards */
@media (max-width: 768px) {
    .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 0;
        max-width: 100%;
    }

    .stat-card {
        padding: 20px 10px;
        border-radius: 12px;
    }

    .stat-circle {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }

    .stat-circle .stat-number {
        font-size: 1.4rem;
    }

    .stat-card .stat-label {
        font-size: 0.75rem;
    }
}

/* Closing brace for @media (min-width: 768px) */

/* ABOUT PAGE STYLES - FIXED LAYOUT */

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    /* Proper padding to show About Us title */
    background-color: var(--color-hero-bg-end);
    position: relative;
    z-index: 10;
}

.page-hero h1 {
    margin-top: 20px;
    font-size: 3.5rem;
    color: white;
}

/* Story Section */
.section-story {
    padding: 180px 0 100px;
    /* Extra top padding to account for fixed header */
}

.section-story h2.section-title {
    font-size: 4rem;
    /* Bigger */
    color: var(--color-hero-bg-end);
    margin-bottom: 4rem;
    /* More space between heading and paragraphs */
}

.section-story p {
    font-size: 1.25rem;
    /* Larger body text */
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    max-width: 900px;
}

/* Split Section - Strict 50/50 Layout */
.split-section {
    width: 100%;
    margin: 0;
    margin-top: 60px;
    padding: 0;
    overflow: hidden;
}

/* First split-section (Mission) should have no top margin */
.section-values+.split-section,
.section-story+.split-section {
    margin-top: 0;
}

/* Careers section - balanced spacing */
.section-careers {
    margin-top: 0;
    margin-bottom: 0;
}



.split-container.grid-2-no-gap {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
    gap: 0;
}

@media (min-width: 992px) {
    .split-container.grid-2-no-gap {
        grid-template-columns: 1fr 1fr;
        /* Strict 50% split */
        min-height: 600px;
    }
}

.split-image {
    position: relative;
    width: 100%;
    min-height: 400px;
}

@media (min-width: 992px) {
    .split-image {
        height: auto;
        min-height: 100%;
    }
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    /* Absolute positioning to fill container */
    top: 0;
    left: 0;
}

.split-content {
    background-color: var(--color-hero-bg-end);
    padding: 60px 40px;
    /* Reduced padding to minimize blank space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .split-content {
        padding: 60px 80px;
        /* Balanced padding on desktop */
    }
}

.content-inner {
    max-width: 600px;
    margin: 0;
    /* Align left */
}

/* Split Section Headings */
.split-content .eyebrow {
    font-size: 1.1rem;
    /* Reduced from 2rem */
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.split-content h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.text-teal {
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    /* Reduced from 1.75rem */
}

.text-light-opacity {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Values Section (What Drives Us) */
.section-values {
    padding: 120px 0;
}

/* Specific styling for the "Our Core Values" eyebrow if needed */
.section-values .eyebrow {
    font-size: 1.75rem;
    font-weight: 800;
}

.section-values h2 {
    font-size: 4rem;
    /* Bigger "What Drives Us" */
    margin-bottom: 60px;
}

.section-values .feature-card-minimal {
    padding: 60px 40px;
    text-align: left;
    height: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-values h3 {
    margin-top: 0;
    color: var(--color-hero-bg-end);
    font-size: 2rem;
    /* Even larger card titles */
    margin-bottom: 1rem;
}

.section-values p {
    font-size: 1.15rem;
}

/* ABOUT PAGE - MOBILE STYLES */
@media (max-width: 768px) {

    /* Page Hero */
    .page-hero {
        padding: 100px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
        margin-top: 10px;
    }

    /* Story Section - "Our Story" */
    .section-story {
        padding: 100px 0 40px;
    }

    .section-story h2.section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-story p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    /* Split Section - Mission/Join Us */
    .split-image {
        min-height: 250px;
    }

    .split-content {
        padding: 40px 25px;
    }

    .text-teal {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        letter-spacing: 1.5px;
    }

    .text-light-opacity {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .split-content .eyebrow {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .split-content h2 {
        font-size: 1.25rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    /* Values Section - "What Drives Us" */
    .section-values {
        padding: 50px 0;
    }

    .section-values .eyebrow {
        font-size: 1rem;
    }

    .section-values h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .section-values .feature-card-minimal {
        padding: 25px 20px;
    }

    .section-values h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .section-values p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* FOUNDERS PAGE TEMPLATE */
.founders-header {
    background-color: #F3F4F6;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    border-bottom: 1px solid #E5E7EB;
}

.founder-section {
    padding: 80px 0;
    scroll-margin-top: var(--header-height);
    /* Ensure anchor links don't hide under header */
}

/* Founder Card Layout */
.founder-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .founder-card {
        flex-direction: row;
        gap: 80px;
    }

    .founder-card.reverse-layout {
        flex-direction: row-reverse;
    }
}

/* Image Column */
.founder-image-col {
    flex: 1;
    max-width: 400px;
    width: 100%;
}

.founder-photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 1 / 1.1;
    /* Slightly taller than square */
}

/* Info Column */
.founder-info-col {
    flex: 1;
    text-align: center;
}

@media (min-width: 900px) {
    .founder-info-col {
        text-align: left;
    }
}

.founder-name {
    font-size: 2.5rem;
    color: var(--color-hero-bg-end);
    /* Brand Dark Blue */
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.founder-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.founder-bio {
    font-size: 1.05rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Action Buttons */
.founder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 900px) {
    .founder-actions {
        justify-content: flex-start;
    }
}

.btn-primary-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-secondary-teal {
    background: #E0F2F1;
    /* Very light teal */
    color: var(--color-primary-dark);
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary-teal:hover {
    background: #B2DFDB;
}

/* Public Founder Cards (About Page) */
.founder-card-public {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.founder-card-public:hover {
    transform: translateY(-5px);
}

.founder-card-public .founder-photo {
    width: 180px;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 20px;
}

.founder-card-public .founder-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.founder-card-public .founder-title {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.founder-bio-short {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Values section spacing */
.section-values {
    padding-bottom: 60px;
}

/* ============================================
   NEW FOUNDERS SECTION - Redesigned
   ============================================ */
.section-founders-new {
    background: linear-gradient(135deg, #f5f3f8 0%, #eef0f5 100%);
    padding: 30px 0 80px;
}

.founders-header {
    margin-bottom: 50px;
}

.founders-eyebrow {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #107e85;
    margin-bottom: 1rem;
}

.founders-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a3a4a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .founders-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.founder-card-new {
    text-align: center;
    cursor: pointer;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card-new:hover .founder-image-wrapper {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

/* Gradient overlay at bottom of image */
.founder-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top,
            rgba(26, 58, 74, 0.95) 0%,
            rgba(16, 126, 133, 0.7) 40%,
            transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Default info (name + role) - visible by default */
.founder-default-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    text-align: center;
    z-index: 2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.founder-default-info .founder-name-new {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.founder-default-info .founder-role {
    font-size: 1rem;
    font-weight: 500;
    color: #ef6f23;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Hover info overlay - hidden by default */
.founder-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 25px;
    background: linear-gradient(to top,
            rgba(16, 126, 133, 1) 0%,
            rgba(16, 126, 133, 0.95) 60%,
            rgba(16, 126, 133, 0.7) 80%,
            transparent 100%);
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
}

/* Hover state transitions */
.founder-card-new:hover .founder-hover-info {
    opacity: 1;
    transform: translateY(0);
}

.founder-card-new:hover .founder-default-info {
    opacity: 0;
    transform: translateY(-10px);
}

.founder-card-new:hover .founder-gradient {
    opacity: 0;
}

.founder-hover-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: white;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   PATIENT ENROLLMENT FORM STYLES
   ========================================== */

.enrollment-page-wrapper {
    min-height: calc(100vh - var(--header-height));
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.enrollment-container {
    max-width: 900px;
    margin: 0 auto;
}

.enrollment-header {
    text-align: center;
    margin-bottom: 40px;
}

.enrollment-header h1 {
    font-size: 2.5rem;
    color: #1a3a4a;
    margin-bottom: 1rem;
}

.enrollment-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.enrollment-form {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f3f4f6;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    color: #107e85;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row.three-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: #1f2937;
    transition: all 0.2s;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #107e85;
    box-shadow: 0 0 0 3px rgba(16, 126, 133, 0.1);
}

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

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.checkbox-label span {
    color: #374151;
    line-height: 1.5;
}

.form-actions {
    text-align: center;
    padding-top: 20px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 250px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .enrollment-form {
        padding: 30px 20px;
    }

    .enrollment-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* ENROLLMENT FORM FIX - Force Refresh */
.enrollment-page-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%) !important;
    padding-top: calc(var(--header-height) + 40px) !important;
}

.enrollment-form {
    background: white !important;
    padding: 50px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}