/* ==============================================================
   VEDVANA WELLNESS - PREMIUM MINIMALIST CSS
============================================================== */

:root {
    /* Core Brand Colors */
    --color-green: #465745;
    --color-green-dark: #2c382b; 
    --color-beige: #faf1e8;
    --color-beige-dark: #eee0d2;
    --color-accent: #6f8b6e;
    --color-accent-hover: #566e55;
    
    /* Neutrals */
    --color-text-dark: #1f2420;
    --color-text-light: #5a635a;
    --color-text-subtle: #8a968a;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
    
    /* Effects */
    --shadow-soft: 0 15px 40px rgba(70, 87, 69, 0.06);
    --shadow-modal: 0 25px 60px rgba(0,0,0,0.15);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 2px;
    --border-radius-md: 4px; 
}

/* ==============================================================
   RESET & BASE
============================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-beige);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .premium-heading {
    font-family: var(--font-heading);
    color: var(--color-green);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

a {
    color: var(--color-green);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

ul { list-style: none; }

/* ==============================================================
   UTILITIES
============================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-full {
    max-width: 1600px;
}

.mt-4 { margin-top: 2rem; }
.pb-large { padding-bottom: var(--spacing-xl) !important; }
.text-center { text-align: center; }
.text-beige { color: var(--color-beige) !important; }
.text-beige-light { color: rgba(250, 241, 232, 0.8) !important; }
.bg-green { background-color: var(--color-green) !important; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
    display: none; /* Removed universal subheadings per user request */
}

.swipe-hint {
    display: none;
}

/* Buttons and Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

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

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

.btn-outline:hover {
    background-color: var(--color-green);
    color: var(--color-beige);
}

.btn-program {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-program:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

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

.btn-outline-beige:hover {
    background-color: var(--color-beige);
    color: var(--color-green);
}

/* Floating Form Bar (hidden on desktop) */
.floating-form-bar {
    display: none;
}

/* Center button logic */
.center-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 3.5rem;
}

.inline-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
    color: var(--color-green);
}

.inline-link:hover {
    color: var(--color-accent);
    border-color: transparent;
}

/* ==============================================================
   NAVIGATION (GREEN SCROLLED)
============================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: var(--color-green-dark); /* Changed to green */
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo {
    height: 45px;
    /* Since logo is white, it will be naturally visible on green dark */
}

.nav-links {
    display: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-white); /* White over hero */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 4px;
}

.navbar.scrolled .nav-link {
    color: var(--color-white); /* Keep white on green */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

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

.nav-cta {
    padding: 0.75rem 2rem;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.5);
}

.navbar.scrolled .nav-cta {
    color: var(--color-white);
    border-color: rgba(255,255,255,0.8);
}
.navbar.scrolled .nav-cta:hover {
    background-color: var(--color-white);
    color: var(--color-green-dark);
}

.mobile-menu-btn {
    display: none; /* Hidden — re-enable when menu is ready */
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}

/* ==============================================================
   HERO SECTION (SMALLER HALF SIZE)
============================================================== */
.hero {
    position: relative;
    min-height: 35vh; /* Reduced from 45vh */
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/New Images/hero_section_desktop.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    padding-top: 5rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 56, 43, 0.5), rgba(44, 56, 43, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem; 
}

.hero-title {
    color: var(--color-beige);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 900px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-desc-box {
    max-width: 650px;
}

.hero-desc-box p {
    color: rgba(250, 241, 232, 0.9);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
}


/* ==============================================================
   CONSULTATION / WHY VEDVANA SECTION
============================================================== */
.consultation-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-beige);
}

/* Layout for Inline Form restored */
.split-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: start;
}

.info-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 3rem;
}

.info-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.form-container {
    background-color: var(--color-white);
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 8rem;
    border-radius: var(--border-radius-sm);
}

/* Shared form styles for inline & modal */
.form-title { font-size: 2rem; margin-bottom: 0.5rem; }
.form-desc { font-size: 0.95rem; color: var(--color-text-light); }
.minimal-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label {
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--color-text-subtle);
}

input[type="text"], input[type="tel"], input[type="email"],
input[type="date"], textarea, select.callback-time-select {
    width: 100%; padding: 0.5rem 0;
    background-color: transparent; border: none;
    border-bottom: 1px solid #dcd3c9; font-family: var(--font-body);
    font-size: 1rem; color: var(--color-text-dark);
    border-radius: 0; transition: var(--transition-smooth);
    -webkit-appearance: none;
    appearance: none;
}
select.callback-time-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 1.5rem;
    cursor: pointer;
}
input:focus, textarea:focus, select.callback-time-select:focus { outline: none; border-color: var(--color-accent); }
::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.6; transition: 0.2s; }
::-webkit-calendar-picker-indicator:hover { opacity: 1; }
textarea { resize: none; }
.help-text, .form-note { font-size: 0.8rem; color: var(--color-text-subtle); font-style: italic; margin-top: 0.25rem; }

/* Preferred Date & Time slot row */
.preferred-time-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}
.preferred-time-row .callback-date-input {
    flex: 1 1 45%;
    min-width: 0;
}
.preferred-time-row .callback-time-select {
    flex: 1 1 55%;
    min-width: 0;
    color: var(--color-text-dark);
}


/* ==============================================================
   PROGRAMS CAROUSEL SECTION
============================================================== */
.programs-section {
    padding: var(--spacing-xl) 0 5rem;
    background-color: var(--color-white);
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-wrapper {
    position: relative;
    margin-top: 4rem;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 3rem;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
}

.program-card {
    flex: 0 0 calc(33.333% - 1.33rem); /* Show 3 items */
    scroll-snap-align: start;
    background: var(--color-beige);
    transition: var(--transition-smooth);
}

.program-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-content {
    padding: 2rem;
}

.program-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.program-desc {
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: 1px solid var(--color-beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    color: var(--color-green);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.carousel-btn.prev { left: -25px; }
.carousel-btn.next { right: -25px; }

/* ==============================================================
   MODAL - POPUP FORM
============================================================== */
/* Fixed blur lag by isolating blur outside opacity transition */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Pre-applied filter - no transitions on the filter saves GPU load */
    background: rgba(44, 56, 43, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: var(--color-white);
    padding: 3.5rem;
    width: 90%;
    max-width: 550px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-modal);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    color: var(--color-text-subtle);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-green-dark);
}

/* ==============================================================
   INFO DUAL SECTION
============================================================== */
.info-dual-section {
    padding: 6rem 0;
    background-color: var(--color-beige);
}

.info-dual-section.alternate {
    background-color: var(--color-white);
}

.info-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-block {
    padding: 2rem 0;
}

.block-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-image-block {
    height: 100%;
    min-height: 500px;
}

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

@media (min-width: 1025px) {
    .info-image-block {
        height: auto;
        min-height: auto;
    }
    .feature-img {
        height: auto;
        max-height: 450px;
        border-radius: var(--border-radius-sm);
    }
}

/* Feature List Base */
.feature-carousel-wrapper { position: relative; width: 100%; }
.mobile-arrow-btn { display: none; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-text-dark);
}

.feature-list i {
    color: var(--color-accent);
    width: 24px; height: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: var(--color-green-dark);
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-text-dark);
    margin: 0;
}

/* ==============================================================
   CONTACT INFO SECTION
============================================================== */
.contact-info-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.contact-detail-card { text-align: center; }
.contact-detail-card a { color: var(--color-text-light); text-decoration: none; }
.contact-detail-card a:hover { color: var(--color-accent); }

.icon-wrapper { margin: 0 auto 1.5rem; color: var(--color-accent); }
.contact-detail-card h4 { margin-bottom: 0.5rem; font-size: 1.25rem; }

/* ==============================================================
   FOOTER
============================================================== */
.site-footer {
    background-color: var(--color-green-dark);
    color: var(--color-beige-dark);
    padding: 5rem 0 2rem;
}

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

.footer-brand { max-width: 350px; }
.footer-logo { height: 45px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }
.footer-links h4 { color: var(--color-beige); margin-bottom: 1.5rem; }
.footer-links a { display: block; color: var(--color-beige-dark); margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(250, 241, 232, 0.05); font-size: 0.85rem; color: rgba(250, 241, 232, 0.4); }

/* ==============================================================
   RESPONSIVE DESIGN
============================================================== */
@media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; gap: 4rem; }
    .form-container { position: relative; top: 0; }
    .info-dual-grid { grid-template-columns: 1fr; gap: 3rem; }
    /* Unreverse alternate rows on mobile */
    .info-dual-grid.reversed .info-image-block { grid-row: 2; }
    .info-block { padding-left: 0 !important; }
    
    .program-card {
        flex: 0 0 calc(50% - 1rem); /* Show 2 items */
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-md: 2rem;
    }
    
    .nav-links { display: none; }
    .mobile-menu-btn { display: none; }
    
    .logo { height: 38px; }
    .navbar.scrolled .logo { height: 32px; }
    
    /* Hero Shrink & Mobile Webp Swap — padding-top accounts for fixed navbar */
    .hero { background: url('../images/New Images/hero_section_mobile.webp') no-repeat center center; background-size: cover; min-height: 30vh; padding-top: 70px; padding-bottom: 1.5rem; }
    .hero-subtitle { font-size: 1.6rem; line-height: 1.25; margin-bottom: 1.25rem; max-width: 95%; }
    .hero-title { font-size: 0.8rem; margin-bottom: 0.5rem; }
    .hero-desc-box p { font-size: 0.9rem; line-height: 1.4; }
    
    /* Center container — button auto width, centred */
    .center-btn-container { justify-content: flex-start; margin-top: 1rem; }
    .btn-program { background-color: var(--color-green); border-color: var(--color-green); color: var(--color-white); width: max-content; padding: 0.6rem 1.25rem; text-align: center; font-size: 0.8rem; margin: 0; }
    
    /* Salvaging Form and Modal */
    .form-container { display: none; } 
    .modal-content { padding: 1.25rem 1rem; width: 95%; max-height: 85vh; transform: translateY(0); margin-bottom: 70px; border-radius: 12px; }
    .form-title { font-size: 1.25rem; margin-bottom: 0.25rem; }
    .form-desc { margin-bottom: 0.75rem !important; }
    .minimal-form { gap: 0.75rem; margin-top: 0.5rem; }
    .form-group label { font-size: 0.65rem; margin-bottom: -2px; }
    input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select.callback-time-select, textarea { padding: 0.25rem 0; font-size: 16px; }
    textarea { height: 40px; }
    /* Stack date + time-slot on mobile */
    .preferred-time-row { flex-direction: column; gap: 0.5rem; }
    .preferred-time-row .callback-date-input,
    .preferred-time-row .callback-time-select { flex: 1 1 100%; width: 100%; }
    .btn-submit { padding: 0.6rem 1rem; font-size: 0.85rem; margin-top: 0.5rem !important; }
    .modal-close { top: 1rem; right: 1rem; font-size: 1.5rem; }
    
    /* Tightening Info Dual Grids */
    .info-dual-section { padding: 1.5rem 0; }
    .split-layout { gap: 1.5rem; }
    .info-dual-grid { gap: 1.5rem; }
    /* Fix CSS Grid Blowout Bug for scrollable grandchildren */
    .info-dual-grid > div, .split-layout > div { min-width: 0; }
    .info-image-block { min-height: 250px; height: 250px; }
    .info-img { height: 250px; margin-bottom: 2.5rem; }
    .block-title, .info-title, .section-title { font-size: 1.6rem; margin-bottom: 0.75rem;}
    .contact-details-grid { 
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 2rem -2rem 0; /* Bleeds into container padding for edge-to-edge scroll */
        padding: 0.5rem 2rem 2rem 2rem;
    }
    .contact-details-grid::-webkit-scrollbar { display: none; }
    
    .contact-detail-card { 
        flex: 0 0 82%; 
        scroll-snap-align: center;
        background: var(--color-white);
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid rgba(0,0,0,0.03);
    }
    
    .contact-detail-card .icon-wrapper { 
        background: var(--color-beige);
        width: 65px;
        height: 65px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.25rem;
        color: var(--color-green-dark);
    }
    
    .contact-detail-card .icon-wrapper i { width: 28px; height: 28px; stroke-width: 1.5; }
    .contact-detail-card h4.premium-heading { font-size: 1.2rem; margin-bottom: 0.75rem; }
    
    .feature-carousel-wrapper {
        display: block;
        margin-top: 1.5rem;
        width: 100%;
        position: relative;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }
    .feature-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1rem;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
        width: 100%;
        margin: 0; 
        padding-top: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .feature-list::-webkit-scrollbar { display: none; }
    .feature-list li {
        flex: 0 0 42%; /* Shows 2 icons perfectly + half of the 3rd icon peeking in (UI hint) */
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    .feature-list i {
        width: 32px; height: 32px; /* Slight bump for reference feel */
        margin-top: 0;
        margin-bottom: 0.25rem;
        stroke-width: 1.25;
    }
    .feature-title {
        font-size: 0.8rem;
        font-weight: 500;
        margin-bottom: 0;
    }
    .feature-text {
        font-size: 0.7rem; /* Improved text legibility within wider block */
        line-height: 1.4;
        color: var(--color-text-light); /* Softer alignment with reference */
    }
    .mobile-arrow-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 24px !important;
        height: 24px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
        color: var(--color-text-dark) !important;
        box-shadow: none !important;
        opacity: 0.8 !important;
        visibility: visible !important;
        z-index: 100 !important;
    }
    .mobile-arrow-btn i { width: 24px !important; height: 24px !important; color: var(--color-text-dark) !important; stroke-width: 1.5 !important; }
    .mobile-arrow-btn.prev { left: 0px !important; }
    .mobile-arrow-btn.next { right: 0px !important; }

    .footer-top { gap: 2rem; }
    
    /* Carousel cards scale to 50% */
    .program-card { flex: 0 0 calc(50% - 0.75rem); }
    .program-image { height: 120px; }
    .program-content { padding: 0.75rem; }
    .program-title { font-size: 0.9rem; margin-bottom: 0.25rem; }
    .program-desc { font-size: 0.75rem; line-height: 1.3; }
    .carousel-track { gap: 1.5rem; padding-bottom: 1.5rem; }
    .carousel-btn { display: none; }

    /* Programs section — reduce bottom padding by ~50% */
    .programs-section { padding-bottom: 1rem; }

    /* Swipe hint */
    .swipe-hint {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.75rem;
        color: var(--color-text-subtle);
        letter-spacing: 0.04em;
        margin-top: 1.25rem;
        margin-bottom: -0.5rem;
    }
    .swipe-hint i { width: 14px; height: 14px; }
    
    /* Mobile App Overhaul — navbar stays at top */
    .navbar { padding: 0.75rem 0; }
    .navbar.scrolled { background-color: var(--color-green-dark); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }

    /* Floating Form Bar */
    .floating-form-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        z-index: 999;
        background-color: var(--color-white);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        border-radius: 16px 16px 0 0;
        transition: none;
    }

    .floating-form-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        background-color: var(--color-green);
        border-radius: 16px 16px 0 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        width: 100%;
        box-sizing: border-box;
    }

    .floating-form-title {
        font-family: var(--font-heading);
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--color-white);
        letter-spacing: 0.02em;
    }

    .floating-form-chevron {
        width: 22px;
        height: 22px;
        color: var(--color-white);
        transition: transform 0.3s ease;
    }

    .floating-form-bar.expanded .floating-form-chevron {
        transform: rotate(180deg);
    }

    .floating-form-body {
        max-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 0 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .floating-form-bar.expanded .floating-form-body {
        max-height: 600px;
        padding: 1rem 1.25rem 1.25rem;
    }

    .floating-form-bar .minimal-form {
        gap: 0.6rem;
        margin-top: 0;
    }

    .floating-form-bar .form-group label {
        font-size: 0.65rem;
        margin-bottom: -2px;
    }

    .floating-form-bar .form-group {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .floating-form-bar input[type="text"],
    .floating-form-bar input[type="tel"],
    .floating-form-bar input[type="email"],
    .floating-form-bar input[type="date"],
    .floating-form-bar select.callback-time-select,
    .floating-form-bar textarea {
        padding: 0.25rem 0;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .floating-form-bar textarea {
        height: 40px;
    }

    .floating-form-bar .btn-submit {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.25rem !important;
    }

    /* Add bottom padding to footer so it doesn't get hidden behind the bar */
    .site-footer {
        padding-bottom: 5rem;
    }
}
