/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette - Physical Clinic Finishes */
    --teal-primary: #5F8575; /* Plascon Natures Abundance G2-C2-1 */
    --teal-hover: #4B6E5F;
    --teal-light: #ECF2EE;
    --teal-glow: rgba(95, 133, 117, 0.15);
    
    --blue-navy: #20262E; /* Anthracite / Graphite epoxy dark navy */
    --blue-hover: #151A20;
    --blue-light: #FAF9F6; /* Plascon Aluminium Snow 45 */
    
    --coral-accent: #E84D4D; /* Coral 66 / Logo */
    --coral-hover: #CE3B3B;
    --coral-light: #FDF1F1;
    --coral-glow: rgba(232, 77, 77, 0.12);
    
    /* Neutral Tones */
    --text-dark: #20262E;
    --text-muted: #5A6672;
    --bg-base: #FAF9F6; /* Plascon Aluminium Snow 45 */
    --bg-light: #EBECEC; /* Plascon Light Grey Aluminium 44 */
    --border-color: #DFD3C3; /* Soft Beech / Birch laminate */
    
    /* Glassmorphism & Shadows */
    --glass-bg: rgba(250, 249, 246, 0.75);
    --glass-border: rgba(223, 211, 195, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(32, 38, 46, 0.05);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.01), 0 1px 3px rgba(0, 0, 0, 0.01);
    --hover-shadow: 0 20px 40px rgba(95, 133, 117, 0.06), 0 1px 10px rgba(0, 0, 0, 0.01);
    
    /* Layout Constants */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-base);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-navy);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

/* Badge & Indicators */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.badge-teal {
    background-color: var(--teal-light);
    color: var(--teal-primary);
}

.badge-coral {
    background-color: var(--coral-light);
    color: var(--coral-accent);
}

/* Icons */
.icon-teal {
    color: var(--teal-primary);
}

.icon-coral {
    color: var(--coral-accent);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal-primary);
    color: var(--bg-base);
    box-shadow: 0 4px 14px rgba(36, 174, 178, 0.25);
}

.btn-primary:hover {
    background-color: var(--teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 174, 178, 0.35);
}

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

.btn-outline:hover {
    background-color: var(--teal-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.btn-icon-right {
    margin-left: 8px;
    width: 18px;
    height: 18px;
}

/* Glassmorphism Card base */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

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

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

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--blue-navy);
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(26, 54, 93, 0.3);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-drawer {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

.drawer-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-navy);
}

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

.drawer-footer {
    margin-top: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glow-circle {
    position: absolute;
    filter: blur(140px);
    border-radius: var(--radius-full);
}

.glow-teal {
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background-color: rgba(36, 174, 178, 0.08);
}

.glow-coral {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background-color: rgba(232, 77, 77, 0.06);
}

.hero-vertical-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-order-1 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-order-2 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-order-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 860px;
    margin-top: 12px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 16px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 640px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-navy);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Expanded Hero Gallery Visual - Grand Aspect Ratio */
.hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slider-card {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(95, 133, 117, 0.28);
    box-shadow: 0 40px 80px rgba(32, 38, 46, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 44px 28px 44px;
    z-index: 2;
    max-height: 580px;
}

.slider-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Slide 1 Logo Showcase - Extra Grand & Prominent */
.slide-logo-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pulse-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    background: rgba(95, 133, 117, 0.25);
    border-radius: 50%;
    filter: blur(36px);
    animation: logoGlowPulse 3s infinite ease-in-out;
}

@keyframes logoGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

.hero-featured-logo {
    position: relative;
    max-height: 290px;
    width: auto;
    max-width: 380px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}

.slide-logo-title {
    font-size: 2.6rem;
    font-family: 'Playfair Display', serif;
    color: var(--blue-navy);
    margin-bottom: 6px;
}

.slide-logo-slogan {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    color: var(--teal-primary);
    margin-bottom: 22px;
}

.slide-badge {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-full);
}

/* Slide Image Wrapper for Premises Creatives - Grand & Impactful */
.slide-image-wrapper {
    width: 100%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(95, 133, 117, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

/* Pure Image Slide (No text captions underneath, expanded frame) */
.slide-image-wrapper.pure-image-slide {
    max-width: 920px;
    aspect-ratio: 16 / 9;
    margin-bottom: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-slide:hover .slide-image {
    transform: scale(1.05);
}

/* Slide 2 Doctor Photo */
.slide-photo-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--teal-primary);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    margin-bottom: 12px;
}

.slide-doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-doctor-name {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    color: var(--blue-navy);
    margin-bottom: 2px;
}

.slide-doctor-role {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.slide-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.slide-link:hover { text-decoration: underline; }

/* Slide 3 Clinic Info */
.slide-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.slide-clinic-name {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    color: var(--blue-navy);
    margin-bottom: 4px;
}

.slide-clinic-address {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    padding-top: 8px;
}

.slider-dot {
    width: 28px;
    height: 6px;
    border-radius: 4px;
    background: rgba(95, 133, 117, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 42px;
    background: var(--teal-primary);
}

/* Lowered "Premium Healthcare" Status Block */
.compact-status-card {
    position: absolute;
    bottom: -20px;
    right: 10px;
    width: 310px;
    padding: 16px 20px;
    background: rgba(32, 38, 46, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    color: #FFFFFF;
    z-index: 5;
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.compact-status-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.compact-badges {
    font-size: 0.78rem;
    font-weight: 600;
    color: #34D399;
    display: flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22C55E;
    border-radius: 50%;
    animation: dotPulse 1.8s infinite ease-in-out;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating Elements style */
.floating-card {
    position: absolute;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    animation: floatingFloat 6s ease-in-out infinite;
}

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

.card-top-left {
    top: 15%;
    left: -12%;
}

.card-bottom-right {
    bottom: 10%;
    right: -10%;
    animation-delay: 2s;
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
}

.icon-teal-bg {
    background-color: var(--teal-primary);
}

.icon-blue-bg {
    background-color: var(--blue-navy);
}

.floating-details {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue-navy);
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */
.benefits-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding-top: 0;
}

.benefits-grid {
    background-color: var(--bg-base);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.benefit-card {
    padding: 12px;
    flex-shrink: 0;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--teal-light);
    color: var(--teal-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon i {
    width: 24px;
    height: 24px;
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.9rem;
}

/* ==========================================================================
   PHILOSOPHY & TABS SECTION
   ========================================================================== */
.philosophy-section .grid-2 {
    gap: 64px;
}

.clinic-intro-card {
    max-width: 500px;
}

.intro-tag {
    color: var(--teal-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.clinic-intro-card h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.clinic-intro-card p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.signature-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    border-left: 3px solid var(--teal-primary);
    padding-left: 20px;
}

.sig-title strong {
    display: block;
    color: var(--blue-navy);
    font-size: 1.1rem;
}

.sig-title span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Tabs System */
.tabs-container {
    background-color: var(--bg-base);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--teal-primary);
}

.tab-btn.active {
    background-color: var(--bg-base);
    color: var(--teal-primary);
    border-top: 3px solid var(--teal-primary);
    margin-top: -3px; /* visual align */
}

.tabs-content-wrapper {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: tabFadeIn 0.4s ease;
}

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

.tab-pane h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.tab-pane p {
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.checklist li i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-header {
    margin-bottom: 64px;
}

.section-desc {
    max-width: 580px;
    margin: 16px auto 0;
    font-size: 1.1rem;
}

.service-card {
    background-color: var(--bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 36px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(36, 174, 178, 0.2);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    margin-bottom: 28px;
}

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

.service-icon i {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal-primary);
}

.service-link i {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   LIVE PRACTICE SHOWCASE GALLERY
   ========================================================================== */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(32, 38, 46, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item.item-large {
    grid-column: span 2;
    height: 380px;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(32, 38, 46, 0.16);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(24, 32, 42, 0.94), rgba(24, 32, 42, 0.45) 75%, transparent);
    color: #FFFFFF;
    transition: var(--transition);
}

.gallery-caption h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

@media (max-width: 900px) {
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .gallery-item.item-large {
        grid-column: span 2;
        height: 300px;
    }
    .gallery-item {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .grid-gallery {
        grid-template-columns: 1fr;
    }
    .gallery-item.item-large, .gallery-item {
        grid-column: span 1;
        height: 260px;
    }
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-card {
    background-color: var(--bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
}

.team-photo-container {
    height: 240px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-avatar-fallback {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.avatar-coral { background-color: var(--coral-accent); }
.avatar-teal { background-color: var(--teal-primary); }
.avatar-blue { background-color: var(--blue-navy); }
.avatar-gray { background-color: var(--text-muted); }
.avatar-orange { background-color: #D97706; }

.suite-available-card {
    border: 2px dashed rgba(95, 133, 117, 0.4);
    background-color: var(--teal-light);
}

.provider-website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-primary);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.provider-website-link:hover {
    color: var(--teal-hover);
    text-decoration: underline;
}

.team-info {
    padding: 28px;
}

.team-info h4 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.team-role {
    display: block;
    color: var(--teal-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.team-contact-info {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-contact-info i {
    width: 16px;
    height: 16px;
    color: var(--teal-primary);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: var(--blue-navy);
    color: var(--bg-base);
    position: relative;
    overflow: hidden;
}

.testimonials-section .glow-circle {
    opacity: 0.15;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 1;
    color: rgba(36, 174, 178, 0.3);
    margin-bottom: -40px;
}

.testimonial-slider {
    position: relative;
    min-height: 220px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

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

.testimonial-rating-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.rating-stars {
    color: #FFC107;
    font-size: 1.4rem;
    letter-spacing: 3px;
}

.rating-score {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--teal-primary);
    background: rgba(95, 133, 117, 0.2);
    border: 1px solid rgba(95, 133, 117, 0.4);
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--teal-primary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.slider-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.slider-btn:hover {
    color: var(--teal-primary);
}

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--teal-primary);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   FAQS SECTION
   ========================================================================== */
.grid-faq {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
}

.faq-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.faq-info p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.faq-cta-box {
    padding: 32px;
    border-radius: var(--radius-md);
    background-color: rgba(36, 174, 178, 0.05);
}

.faq-cta-box h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.faq-cta-box p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--teal-primary);
}

.phone-link i {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

/* Accordion design */
.faq-accordions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(36, 174, 178, 0.3);
    box-shadow: var(--glass-shadow);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue-navy);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
    color: var(--teal-primary);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--teal-light);
    color: var(--teal-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    width: 20px;
    height: 20px;
}

.contact-detail-item h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-navy);
    margin-bottom: 4px;
}

.email-link {
    color: var(--teal-primary);
    font-weight: 600;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--blue-navy);
    text-decoration: underline;
}

.contact-detail-item p {
    font-size: 0.9rem;
}

.map-container {
    height: 200px;
    border-radius: var(--radius-md);
    background-color: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-placeholder-content {
    padding: 24px;
}

.map-icon {
    width: 32px;
    height: 32px;
    color: var(--teal-primary);
    margin-bottom: 8px;
}

.map-placeholder-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.map-placeholder-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* Form Styles */
.contact-form-panel {
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border-color);
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-form-panel p {
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    gap: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-navy);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea, .form-group select {
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-base);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 4px var(--teal-glow);
}

.form-group.error input, .form-group.error textarea {
    border-color: var(--coral-accent);
}

.form-group.error input:focus, .form-group.error textarea:focus {
    box-shadow: 0 0 0 4px var(--coral-glow);
}

.error-msg {
    font-size: 0.75rem;
    color: var(--coral-accent);
    margin-top: 4px;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

.contact-form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    color: #22C55E;
    margin-bottom: 20px;
}

.success-icon i {
    width: 64px;
    height: 64px;
}

.contact-form-success h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-form-success p {
    font-size: 1rem;
    margin-bottom: 28px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: #0d121e;
    color: #E2E8F0;
    padding-top: 70px;
    padding-bottom: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr 1.5fr;
    gap: 48px;
    margin-bottom: 50px;
}

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

.footer-logo {
    height: 76px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94A3B8;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-heading {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list .contact-icon {
    width: 16px;
    height: 16px;
    color: var(--teal-primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.disclaimer {
    margin-bottom: 20px;
}

.disclaimer p {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.5;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #64748B;
}

.footer-bottom-links a {
    color: #64748B;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--teal-primary);
}

/* ==========================================================================
   APPOINTMENT BOOKING WIZARD MODAL
   ========================================================================== */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-wrapper.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2001;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.modal-wrapper.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--coral-accent);
}

.modal-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.9rem;
}

/* Progress indicator steps */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--teal-primary);
    transition: width 0.3s ease;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-base);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.progress-step.active .step-num {
    border-color: var(--teal-primary);
    background-color: var(--teal-primary);
    color: var(--bg-base);
    box-shadow: 0 0 0 4px var(--teal-glow);
}

.progress-step.active .step-label {
    color: var(--teal-primary);
}

.progress-step.completed .step-num {
    border-color: var(--teal-primary);
    background-color: var(--teal-light);
    color: var(--teal-primary);
}

.modal-body {
    padding: 32px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
}

.wizard-slide {
    display: none;
}

.wizard-slide.active {
    display: block;
    animation: slideIn 0.4s ease;
}

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

.wizard-slide h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.slide-instructions {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Service Card selector */
.service-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wizard-select-card {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.wizard-select-card * {
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.wizard-select-card input[type="radio"] {
    display: none;
}

.select-card-content {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition);
}

.select-card-content:hover {
    border-color: rgba(36, 174, 178, 0.4);
    background-color: var(--bg-light);
}

.wizard-select-card input[type="radio"]:checked + .select-card-content {
    border-color: var(--teal-primary);
    background-color: var(--teal-light);
}

.select-icon {
    width: 32px;
    height: 32px;
    color: var(--teal-primary);
    margin-bottom: 16px;
}

.select-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-navy);
    margin-bottom: 6px;
}

.select-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slide-error-msg {
    font-size: 0.8rem;
    color: var(--coral-accent);
    margin-top: 16px;
    display: none;
}

/* Provider card selection */
.provider-select-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.provider-card-content {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.provider-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    flex-shrink: 0;
}

.provider-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--teal-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.provider-details {
    display: flex;
    flex-direction: column;
}

/* Schedule Slot Picker */
.schedule-wizard-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 28px;
}

.date-picker-column {
    display: flex;
    flex-direction: column;
}

.date-picker-column label, .time-picker-column label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-navy);
    margin-bottom: 8px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-slot-btn {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.time-slot-btn * {
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.time-slot-btn input[type="radio"] {
    display: none;
}

.time-slot-btn span {
    display: flex;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.time-slot-btn span:hover {
    border-color: var(--teal-primary);
    background-color: var(--bg-light);
}

.time-slot-btn input[type="radio"]:checked + span {
    background-color: var(--teal-primary);
    border-color: var(--teal-primary);
    color: var(--bg-base);
}

/* Patient Form details */
.patient-details-form {
    display: flex;
    flex-direction: column;
}

/* Success View Modal */
.wizard-success-view {
    display: none;
    text-align: center;
    padding: 10px 0;
}

.success-header {
    margin-bottom: 24px;
}

.success-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #E6F4EA;
    color: #22C55E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-badge i {
    width: 32px;
    height: 32px;
}

.wizard-success-view h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.wizard-success-view p {
    font-size: 0.95rem;
}

.summary-card {
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.summary-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-navy);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.summary-row span {
    color: var(--text-muted);
}

.summary-row strong {
    color: var(--blue-navy);
}

.summary-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modal Footer controls */
.modal-footer {
    padding: 20px 40px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-light);
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .grid-faq {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-slider-card {
        padding: 24px 20px 16px 24px;
        max-height: 480px;
    }
    
    .philosophy-visual {
        order: 2;
    }
    
    .clinic-intro-card {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 8px;
    }
    
    .mobile-menu-toggle i {
        width: 28px;
        height: 28px;
    }
    
    .btn-booking-trigger:not(#drawerBookingBtn):not(#openBookingBtn) {
        width: 100%;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas .btn {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    
    .editorial-card-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .benefits-section {
        margin-top: -30px;
    }
    
    /* Benefits: horizontal scroll carousel on mobile */
    .benefits-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .benefits-grid::-webkit-scrollbar {
        display: none;
    }
    
    .benefits-grid .benefit-card {
        min-width: 260px;
        max-width: 300px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-slider-card {
        padding: 20px 16px 14px 16px;
        max-height: none;
        aspect-ratio: 4 / 3;
    }
    
    .slide-logo-title {
        font-size: 1.8rem;
    }
    
    .slide-logo-slogan {
        font-size: 1.1rem;
    }
    
    .hero-featured-logo {
        max-height: 180px;
        max-width: 240px;
    }
    
    .logo-pulse-glow {
        width: 200px;
        height: 200px;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn.active {
        border-top: none;
        border-left: 3px solid var(--teal-primary);
    }
    
    .tabs-content-wrapper {
        padding: 24px;
    }
    
    .schedule-wizard-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .copyright {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .modal-card {
        max-height: 100vh;
        max-height: 100dvh;
        height: 100%;
        border-radius: 0;
    }
    
    /* Compact modal header for mobile — this is critical for footer visibility */
    .modal-header {
        padding: 16px 20px 12px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }
    
    .modal-header p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .wizard-progress {
        margin-top: 12px;
    }
    
    .progress-line {
        top: 14px;
    }
    
    .step-num {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .progress-step {
        gap: 4px;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .progress-step.active .step-num {
        box-shadow: 0 0 0 3px var(--teal-glow);
    }
    
    /* Compact modal body */
    .modal-body {
        padding: 16px 20px;
    }
    
    .wizard-slide h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .slide-instructions {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .select-card-content {
        padding: 14px;
    }
    
    .select-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 8px;
    }
    
    .select-title {
        font-size: 0.95rem;
    }
    
    .select-desc {
        font-size: 0.75rem;
    }
    
    .service-select-grid {
        gap: 10px;
    }
    
    /* Compact modal footer — always visible */
    .modal-footer {
        padding: 12px 20px 16px;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 580px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .copyright {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .service-select-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 110px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-slider-card {
        padding: 16px 12px 12px 12px;
        border-radius: var(--radius-md);
        aspect-ratio: 3 / 2.5;
    }
    
    .hero-featured-logo {
        max-height: 140px;
        max-width: 200px;
    }
    
    .logo-pulse-glow {
        width: 160px;
        height: 160px;
    }
    
    .slide-logo-title {
        font-size: 1.4rem;
    }
    
    .slide-logo-slogan {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .slide-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-divider {
        height: 24px;
    }
    
    .benefits-section {
        margin-top: -20px;
    }
    
    .benefits-grid {
        padding: 16px;
        gap: 12px;
    }
    
    .benefits-grid .benefit-card {
        min-width: 240px;
        padding: 16px;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .team-photo {
        aspect-ratio: 3 / 4;
        height: auto;
    }
    
    .contact-form-panel {
        padding: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    /* Modal refinements for small phones */
    .modal-header {
        padding: 12px 16px 8px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-header p {
        font-size: 0.75rem;
    }
    
    .wizard-progress {
        margin-top: 8px;
    }
    
    .step-label {
        display: none;
    }
    
    .step-num {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .progress-line {
        top: 12px;
    }
    
    .modal-body {
        padding: 12px 16px;
    }
    
    .modal-footer {
        padding: 10px 16px 14px;
        gap: 8px;
    }
    
    .modal-footer .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .provider-avatar-img {
        width: 44px;
        height: 44px;
    }
    
    .select-card-content {
        padding: 10px;
    }
    
    .select-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 6px;
    }
    
    .wizard-slide h3 {
        font-size: 1.1rem;
    }
    
    .slide-instructions {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .section-subheading {
        font-size: 0.9rem;
    }
}
