/* ============================================
   Smile Today Orthodontics - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-navy: #1e3a5f;
    --primary-gold: #f5c842;
    --primary-gold-hover: #e6b730;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf9f7;
    --border-light: #e9ecef;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Prevent layout shift from font loading */
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    min-height: 1.2em;
    line-height: 1.2;
}

.hero-description {
    min-height: 3em;
}

.hero-buttons {
    min-height: 50px;
}

.hero-image {
    min-height: 400px;
    position: relative;
    /* Reserve space to prevent CLS */
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
}

/* ============================================
   BEFORE/AFTER SLIDER COMPONENT
   ============================================ */
.before-after-slider {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.82%; /* 435/651 aspect ratio */
    overflow: hidden;
}

.slider-before,
.slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-before {
    width: 50%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.slider-after {
    width: 100%;
    z-index: 1;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Braces Overlay - Simulates braces on teeth */
.braces-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
}

.braces-overlay::before,
.braces-overlay::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent 5%,
        rgba(180, 180, 180, 0.8) 5%,
        rgba(180, 180, 180, 0.8) 95%,
        transparent 95%
    );
    box-shadow: 
        /* Top wire brackets */
        0 0 0 1px rgba(150, 150, 150, 0.6),
        /* Bracket positions */
        12% 0 0 2px rgba(200, 200, 200, 0.9),
        12% 0 0 3px rgba(150, 150, 150, 0.7),
        25% 0 0 2px rgba(200, 200, 200, 0.9),
        25% 0 0 3px rgba(150, 150, 150, 0.7),
        38% 0 0 2px rgba(200, 200, 200, 0.9),
        38% 0 0 3px rgba(150, 150, 150, 0.7),
        50% 0 0 2px rgba(200, 200, 200, 0.9),
        50% 0 0 3px rgba(150, 150, 150, 0.7),
        62% 0 0 2px rgba(200, 200, 200, 0.9),
        62% 0 0 3px rgba(150, 150, 150, 0.7),
        75% 0 0 2px rgba(200, 200, 200, 0.9),
        75% 0 0 3px rgba(150, 150, 150, 0.7),
        88% 0 0 2px rgba(200, 200, 200, 0.9),
        88% 0 0 3px rgba(150, 150, 150, 0.7);
}

.braces-overlay::before {
    top: 25%;
    /* Upper arch wire */
}

.braces-overlay::after {
    bottom: 25%;
    /* Lower arch wire */
}

/* Add vertical bracket lines */
.braces-overlay {
    background-image: 
        /* Upper brackets vertical lines */
        repeating-linear-gradient(
            90deg,
            transparent 0%,
            transparent 11.5%,
            rgba(150, 150, 150, 0.6) 11.5%,
            rgba(150, 150, 150, 0.6) 12.5%,
            transparent 12.5%,
            transparent 24.5%,
            rgba(150, 150, 150, 0.6) 24.5%,
            rgba(150, 150, 150, 0.6) 25.5%,
            transparent 25.5%,
            transparent 37.5%,
            rgba(150, 150, 150, 0.6) 37.5%,
            rgba(150, 150, 150, 0.6) 38.5%,
            transparent 38.5%,
            transparent 50.5%,
            rgba(150, 150, 150, 0.6) 50.5%,
            rgba(150, 150, 150, 0.6) 51.5%,
            transparent 51.5%,
            transparent 63.5%,
            rgba(150, 150, 150, 0.6) 63.5%,
            rgba(150, 150, 150, 0.6) 64.5%,
            transparent 64.5%,
            transparent 76.5%,
            rgba(150, 150, 150, 0.6) 76.5%,
            rgba(150, 150, 150, 0.6) 77.5%,
            transparent 77.5%,
            transparent 89.5%,
            rgba(150, 150, 150, 0.6) 89.5%,
            rgba(150, 150, 150, 0.6) 90.5%,
            transparent 90.5%
        );
    background-position: 0 25%, 0 75%;
    background-size: 100% 8%;
    background-repeat: no-repeat;
}

/* Slider Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary-gold);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
    transition: background 0.2s ease;
}

.slider-handle:hover {
    background: var(--primary-gold-hover);
    width: 6px;
}

.slider-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary-gold);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.slider-handle:hover .slider-handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.slider-handle-circle svg {
    width: 20px;
    height: 20px;
    color: white;
    stroke-width: 2.5;
}

/* Slider Labels */
.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 5;
    pointer-events: none;
}

.slider-label-before {
    left: 20px;
}

.slider-label-after {
    right: 20px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 15px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.slider-btn {
    padding: 8px 16px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-navy);
}

.slider-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-navy);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .slider-handle-circle {
        width: 40px;
        height: 40px;
    }
    
    .slider-handle-circle svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-label {
        font-size: 12px;
        padding: 6px 12px;
        top: 10px;
    }
    
    .slider-label-before {
        left: 10px;
    }
    
    .slider-label-after {
        right: 10px;
    }
    
    .slider-controls {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }
    
    .slider-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.hero-team-image {
    /* Reserve space to prevent CLS - use aspect ratio instead of fixed height */
    aspect-ratio: 1 / 1;
    max-height: 651px;
    background: var(--bg-light);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

/* Desktop: Reserve exact dimensions to prevent CLS */
@media (min-width: 992px) {
    .hero-team-image {
        width: 550px;
        height: 550px;
        min-height: 550px;
        max-width: 550px;
        max-height: 550px;
        aspect-ratio: 1 / 1;
    }
    
    .hero-content {
        min-height: 550px;
    }
    
    .hero {
        min-height: 600px;
    }
}

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

/* Interactive Preview Effect for Thanksgiving Image */
.hero-team-image.interactive-preview {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.hero-team-image.interactive-preview .image-preview-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-team-image.interactive-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                object-position 0.6s ease,
                filter 0.3s ease;
    transform: scale(1.2);
    filter: brightness(0.95);
}

.hero-team-image.interactive-preview .preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
}

.hero-team-image.interactive-preview .preview-hint {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.4);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
}

/* Expanded state - moderate expansion, stays in place */
.hero-team-image.interactive-preview.expanded {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-team-image.interactive-preview.expanded .image-preview-container {
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-team-image.interactive-preview.expanded img {
    transform: scale(1);
    object-position: center center;
    filter: brightness(1);
    width: 100%;
    height: 100%;
}

.hero-team-image.interactive-preview.expanded .preview-overlay {
    opacity: 0;
}

.hero-team-image.interactive-preview.expanded .preview-hint {
    transform: translateY(10px);
    opacity: 0;
}

/* Bounce animation when expanding */
@keyframes bounceExpand {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.15); }
}

.hero-team-image.interactive-preview.expanding {
    animation: bounceExpand 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Mobile tap feedback */
.hero-team-image.interactive-preview:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .hero-team-image.interactive-preview .preview-hint {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-team-image.interactive-preview.expanded {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .hero-team-image.interactive-preview.expanded {
        transform: scale(1.08);
    }
}

@media (max-width: 768px) {
    .hero-team-image {
        aspect-ratio: 1 / 1;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-team-image {
        aspect-ratio: 1 / 1;
        max-height: 350px;
    }
}

@media (max-width: 430px) {
    .hero-team-image {
        aspect-ratio: 1 / 1;
        max-height: 300px;
    }
}

.floating-appt-btn {
    min-width: 180px;
    min-height: 50px;
}

/* Optimize font loading - fonts are loaded via Google Fonts link with font-display: swap */
/* Additional font-display is handled in the Google Fonts link */

/* Custom Elements - Web Components */
site-header,
site-footer {
    display: contents;
}

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

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

/* Prevent specific elements from overflowing viewport */
table, 
pre, 
code, 
iframe, 
video, 
embed, 
object {
    max-width: 100%;
}

/* Ensure all containers respect viewport */
main,
section,
article,
header,
footer,
div {
    box-sizing: border-box;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 430px) {
    .container {
        padding: 0 15px;
    }
}

.section {
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 430px) {
    .header-content {
        padding: 15px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary-navy);
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 2px;
}

/* Navigation - Default Desktop Styles */
.header-content nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 5px;
    list-style: none;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition-medium);
}

.nav-menu > li > a:hover {
    background: var(--bg-light);
    color: var(--primary-navy);
}

/* Dropdown */
.nav-menu li.has-dropdown > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    transition: transform var(--transition-medium);
}

.nav-menu li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-medium);
    list-style: none;
    padding: 8px 0;
    margin-top: 8px;
}

.nav-menu li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    padding: 12px 20px;
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-medium);
    font-size: 14px;
}

.dropdown li a:hover {
    background: var(--bg-light);
    color: var(--primary-navy);
    padding-left: 25px;
}

/* Header CTA Button */
.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-call {
    font-weight: 600;
    color: var(--primary-navy);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-medium);
}

.header-call::before {
    content: '📞';
}

.header-call:hover {
    color: var(--primary-gold);
}

.btn-schedule {
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-medium);
    white-space: nowrap;
}

.btn-schedule:hover {
    background: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 200, 66, 0.4);
}

/* Mobile Menu Toggle - Hidden by default on desktop */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: var(--transition-medium);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 50%, #f0f4f8 100%);
    overflow: hidden;
    /* Prevent layout shift */
    contain: layout style paint;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.1) 0%, transparent 70%);
    z-index: 0;
}

@media (max-width: 768px) {
    .hero::before {
        right: -15%;
        width: 70%;
    }
}

@media (max-width: 430px) {
    .hero::before {
        right: -10%;
        width: 60%;
    }
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.hero-text {
    max-width: 540px;
    /* Reserve space to prevent CLS on desktop */
    min-height: 400px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 200, 66, 0.2);
    color: var(--primary-navy);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
    /* Reserve exact space to prevent font loading shift */
    min-height: 4.5rem;
    line-height: 1.2;
    font-size: clamp(2rem, 5vw, 3rem);
}

.hero h1 span {
    color: var(--primary-gold);
    position: relative;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
    /* Reserve exact space to prevent font loading shift */
    min-height: 4.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-medium);
    box-shadow: 0 10px 25px rgba(20, 41, 70, 0.08);
}

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

.btn-primary:hover {
    background: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 200, 66, 0.4);
}

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

.btn-secondary:hover {
    background: #152a45;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

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

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

.btn-link {
    border: none;
    background: transparent;
    box-shadow: none;
    text-decoration: underline;
    padding-left: 0;
    padding-right: 0;
}

.btn-link:hover {
    color: var(--primary-gold);
    background: transparent;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 25px;
    list-style: none;
    padding: 0;
    color: var(--primary-navy);
    font-weight: 600;
}

.hero-benefits li {
    background: rgba(26, 54, 93, 0.05);
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    font-size: 14px;
}

.hero-quick-form {
    margin-top: 35px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.hero-quick-form h3 {
    margin-bottom: 5px;
}

.hero-quick-form p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-quick-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-quick-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.hero-quick-form input,
.hero-quick-form select {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
}

.hero-quick-form input:focus,
.hero-quick-form select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.2);
}

.hero-quick-form .form-note {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
}

.stat-number span {
    color: var(--primary-gold);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s backwards;
    min-height: 400px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: block;
    object-fit: contain;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* Trust Indicators */
.trust-bar {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-bar .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 25px 20px;
}

.trust-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin: 0;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    width: 100%;
    align-items: center;
}

.trust-logos img {
    max-height: 45px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition-medium);
    margin: 0 auto;
}

.trust-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    background: var(--primary-navy);
    padding: 35px 0;
    text-align: center;
}

.page-banner h1 {
    color: var(--bg-white);
    margin-bottom: 10px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--primary-gold);
}

.breadcrumb span {
    color: var(--primary-gold);
}

/* ============================================
   SERVICES / FEATURES SECTION
   ============================================ */
.services {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 200, 66, 0.2);
    color: var(--primary-navy);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
}

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

/* Instruction cards - responsive grid */
.instruction-cards {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .instruction-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .instruction-cards {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: var(--transition-medium);
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(245, 200, 66, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-gold);
    gap: 10px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    background: var(--bg-light);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* Hover Compare Effect for Before/After */
.hover-compare {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.hover-compare img:first-child {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease;
}

.hover-compare img:nth-child(2) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
}

.hover-compare:hover img:first-child {
    opacity: 0 !important;
}

.hover-compare:hover img:nth-child(2) {
    opacity: 1 !important;
}

.hover-compare:hover .hover-label-before {
    display: none !important;
}

.hover-compare:hover .hover-label-after {
    display: inline !important;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary-gold);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    color: var(--primary-navy);
    font-weight: 500;
}

.why-us-text h2 {
    margin-bottom: 20px;
}

.why-us-text > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 200, 66, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 15px;
    margin: 0;
}

/* ============================================
   DOCTORS SECTION
   ============================================ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Doctor Cards - Flip Card Style */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doctor-card-wrapper {
    perspective: 1000px;
    height: 500px;
}

.doctor-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.doctor-card.flipped {
    transform: rotateY(180deg);
}

.doctor-card-front,
.doctor-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Front of card */
.doctor-card-front {
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    flex-shrink: 0;
    background: var(--bg-light);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition-medium);
}


.doctor-card:not(.flipped):hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-info h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.doctor-title {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-location {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.doctor-flip-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--primary-navy);
    opacity: 0.6;
    margin-top: auto;
    padding-top: 10px;
}

.doctor-flip-hint svg {
    width: 14px;
    height: 14px;
}

/* Back of card */
.doctor-card-back {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a4a6f 100%);
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    color: white;
}

.doctor-card-back h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.doctor-card-back .doctor-title {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.doctor-bio {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    flex-grow: 1;
    overflow-y: auto;
}

.doctor-bio::-webkit-scrollbar {
    width: 4px;
}

.doctor-bio::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.doctor-bio::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.doctor-credentials {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-credentials h4 {
    color: var(--primary-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.doctor-credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doctor-credentials li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.doctor-credentials li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
}

.doctor-flip-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    cursor: pointer;
}

.doctor-flip-back:hover {
    color: var(--primary-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .doctor-card-wrapper {
        height: 480px;
    }
    
    .doctor-image {
        height: 280px;
    }
    
    .doctor-card-back {
        padding: 20px;
    }
    
    .doctor-bio {
        font-size: 13px;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--primary-navy);
    color: var(--bg-white);
}

.testimonials .section-header h2 {
    color: var(--bg-white);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

.testimonial-stars {
    color: var(--primary-gold);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-navy);
}

.author-info h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.location-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 200, 66, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.location-card h3 {
    margin-bottom: 15px;
}

.location-details {
    margin-bottom: 20px;
}

.location-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 15px;
}

.location-details a {
    color: var(--primary-navy);
}

.location-details a:hover {
    color: var(--primary-gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #e6b730 100%);
    padding: 80px 0;
    text-align: center;
}

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

.cta-content h2 {
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--primary-navy);
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.faq-category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

.faq-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(245, 200, 66, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.faq-category-card h3 {
    margin-bottom: 10px;
}

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

.accordion-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 200, 66, 0.3);
}

.accordion-item.active {
    border-color: var(--primary-gold);
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.2);
}

.accordion-header {
    width: 100%;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-navy);
    text-align: left;
    transition: all 0.3s ease;
    gap: 15px;
}

.accordion-header span:first-child {
    flex: 1;
    line-height: 1.4;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, #fef9e7 0%, #fff 100%);
}

.accordion-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.accordion-item:hover .accordion-icon {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.accordion-item.active .accordion-icon {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

.accordion-body {
    padding: 20px 25px 25px;
    color: var(--text-medium);
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.accordion-item.active .accordion-body {
    opacity: 1;
    transform: translateY(0);
}

.accordion-body p {
    margin-bottom: 12px;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body ul {
    margin: 12px 0;
    padding-left: 22px;
}

.accordion-body ul li {
    margin-bottom: 8px;
}

.accordion-body a {
    color: var(--primary-navy);
    font-weight: 600;
}

.accordion-body a:hover {
    color: var(--primary-gold);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.gallery-image {
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-navy);
    color: var(--bg-white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.gallery-info {
    padding: 20px;
    text-align: center;
}

.gallery-info h4 {
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 14px;
    margin: 0;
}

/* TikTok-Style Flipbook Gallery */
.flipbook-gallery {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    aspect-ratio: 1 / 1;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.flipbook-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.flipbook-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.flipbook-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.flipbook-slide.prev {
    opacity: 0;
    transform: translateX(-100%) scale(0.9);
}

.flipbook-slide.next {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
}

.flipbook-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-label {
    position: absolute;
    bottom: 60px;
    left: 20px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.flipbook-slide.active .slide-label {
    opacity: 1;
    transform: translateY(0);
}

/* Tap zones */
.tap-zone {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.tap-left {
    left: 0;
}

.tap-right {
    right: 0;
}

/* Progress bar */
.flipbook-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.progress-bar {
    height: 100%;
    background: var(--primary-gold);
    width: 5.56%;
    transition: width 0.3s ease;
}

/* Counter */
.flipbook-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 20;
    backdrop-filter: blur(10px);
}

/* Swipe hint */
.swipe-hint {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    z-index: 30;
    animation: pulseHint 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.swipe-hint.hidden {
    opacity: 0;
}

@keyframes pulseHint {
    0%, 100% { transform: translate(-50%, 50%) scale(1); }
    50% { transform: translate(-50%, 50%) scale(1.05); }
}

/* Tap feedback animation */
.flipbook-gallery::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 15;
}

.flipbook-gallery.tap-feedback::after {
    animation: tapFeedback 0.4s ease-out;
}

@keyframes tapFeedback {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Navigation dots (optional alternative) */
.flipbook-dots {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
    z-index: 20;
}

.flipbook-dot {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.flipbook-dot.active {
    background: var(--primary-gold);
}

.flipbook-dot.viewed {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flipbook-gallery {
        max-width: 100%;
        border-radius: var(--radius-lg);
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
}

@media (min-width: 769px) {
    .flipbook-gallery:hover .tap-zone {
        background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, transparent 30%);
    }
    
    .flipbook-gallery:hover .tap-right {
        background: linear-gradient(-90deg, rgba(0,0,0,0.1) 0%, transparent 30%);
    }
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

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

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.2);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inline contact info in footer brand */
.footer-brand .footer-contact-inline {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-brand .footer-contact-inline .location-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand .footer-contact-inline .location-block strong {
    color: var(--primary-gold);
    font-size: 13px;
    margin-bottom: 2px;
}

.footer-brand .footer-contact-inline .location-block a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-brand .footer-contact-inline .location-block a:hover {
    color: var(--primary-gold);
}

.footer-links-group {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.footer-links-group .footer-links {
    flex: 0 0 auto;
    min-width: 120px;
}

.footer-brand .logo-title {
    color: var(--bg-white);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.footer-links h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact-grid {
    display: flex;
    gap: 30px;
}

.location-block {
    flex: 1;
}

.location-block strong {
    display: block;
    color: var(--primary-gold);
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.contact-item.phone {
    margin-bottom: 0;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   EXPANDABLE LOCATIONS BOX
   ============================================ */
.location-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-toggle:hover {
    background: var(--primary-gold) !important;
    transform: translateY(-3px);
}

.location-toggle h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--primary-gold);
}

.location-toggle.active .toggle-arrow {
    transform: rotate(180deg);
}

.location-toggle em {
    font-size: 12px;
    color: var(--primary-gold);
    opacity: 0.8;
}

.locations-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
    border-radius: 16px;
    margin-top: 0;
}

.locations-expand.active {
    max-height: 800px;
    opacity: 1;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.locations-expand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.location-expand-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.location-expand-card h4 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-gold);
}

.location-expand-info {
    margin-bottom: 20px;
}

.location-expand-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.location-expand-info a {
    color: var(--primary-navy);
    font-weight: 600;
}

.location-expand-info a:hover {
    color: var(--primary-gold);
}

.location-expand-map {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

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

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

@media (max-width: 768px) {
    .locations-expand-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-expand.active {
        padding: 20px;
        max-height: 1200px;
    }
}

/* ============================================
   COMPACT FOOTER
   ============================================ */
.footer-compact {
    background: var(--primary-navy);
    padding: 18px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-left {
    flex: 1;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-center a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-center a:hover {
    color: var(--primary-gold);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.footer-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.footer-right a:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.footer-right svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer-compact {
        padding: 15px 20px;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-left {
        order: 3;
    }
    
    .footer-center {
        order: 1;
    }
    
    .footer-right {
        order: 2;
    }
}

/* ============================================
   INSTRUCTIONS PAGE
   ============================================ */
.instructions-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.instructions-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.instructions-nav h4 {
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.instructions-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.instructions-nav a {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-medium);
    transition: var(--transition-fast);
}

.instructions-nav a:hover,
.instructions-nav a.active {
    background: rgba(245, 200, 66, 0.2);
    color: var(--primary-navy);
}

.instructions-main {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.instructions-main h2 {
    margin-bottom: 20px;
}

.instructions-main h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.instructions-main p {
    margin-bottom: 15px;
}

.instructions-main ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style: disc;
}

.instructions-main li {
    margin-bottom: 10px;
    color: var(--text-medium);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

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

.float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: opacity;
}

.reveal.active {
    opacity: 1;
}

/* Prevent layout shift during font loading */
.logo-title {
    min-height: 1.2em;
    display: inline-block;
}

/* Accordion items should be visible by default - they have their own active state for content */
.accordion-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PROGRESS SLIDESHOW
   ============================================ */
.progress-slideshow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slideshow-slide.active {
    opacity: 1;
}

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

.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.slideshow-caption h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.slideshow-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    z-index: 10;
}

.slideshow-nav:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 15px;
}

.slideshow-nav.next {
    right: 15px;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: var(--bg-light);
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slideshow-dot.active {
    background: var(--primary-gold);
    transform: scale(1.2);
}

.slideshow-dot:hover {
    background: var(--primary-navy);
}

.slideshow-thumbnails {
    display: flex;
    gap: 8px;
    padding: 15px;
    background: var(--bg-light);
    overflow-x: auto;
    scrollbar-width: thin;
}

.slideshow-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-fast);
    opacity: 0.6;
}

.slideshow-thumb.active {
    border-color: var(--primary-gold);
    opacity: 1;
}

.slideshow-thumb:hover {
    opacity: 1;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .mobile-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: var(--bg-white) !important;
        flex-direction: column !important;
        padding: 80px 20px 20px !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
        transition: right var(--transition-medium);
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-medium);
    }

    .nav-menu li.has-dropdown.active .dropdown {
        max-height: 500px;
    }

    .nav-menu li.has-dropdown > a::after {
        float: right;
    }

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

    .hero-text {
        max-width: 100%;
    }

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

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

    .hero-benefits {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-quick-form {
        text-align: left;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Keep Quick Links and Services side by side at this breakpoint */

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

    .instructions-nav {
        position: static;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-content {
        gap: 30px;
        padding: 0 15px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .hero-image {
        min-height: 300px;
        max-width: 100%;
    }
    
    .hero-image img {
        object-fit: contain;
        max-height: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .hero-image::before {
        display: none;
    }

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

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

    .footer-links-group {
        justify-content: center;
    }
    
    .footer-contact-grid {
        flex-direction: column;
        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo-title {
        font-size: 16px;
    }

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

    .logo-tagline {
        font-size: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .header-cta .btn-schedule {
        display: none;
    }

    .services-grid,
    .faq-grid,
    .gallery-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

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

/* iPhone 15 Pro and similar small mobile devices (393px and below) */
@media (max-width: 430px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .hero {
        padding: 30px 0;
        min-height: auto;
        width: 100%;
        overflow-x: hidden;
    }

    .hero-content {
        gap: 25px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-team-image {
        min-height: auto !important;
        max-height: 300px;
        margin: 20px 0 !important;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-team-image img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-image {
        min-height: 250px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        max-height: none;
    }

    .section {
        padding: 40px 0;
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   FLOATING APPOINTMENT BUTTON & SLIDE PANEL
   ============================================ */
.floating-appt-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gold);
    color: var(--primary-navy);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.4);
    transition: var(--transition-medium);
    z-index: 998;
}

.floating-appt-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(245, 200, 66, 0.5);
}

.floating-appt-btn svg {
    flex-shrink: 0;
}

/* Appointment Panel Overlay */
.appointment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 1001;
}

.appointment-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-out Panel */
.appointment-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right var(--transition-medium);
    z-index: 1002;
    overflow-y: auto;
}

.appointment-panel.active {
    right: 0;
}

/* Location Selection Cards in Panel */
.location-select-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.location-select-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.location-select-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.location-select-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-gold);
}

.location-select-header .location-icon {
    font-size: 28px;
}

.location-select-header h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin: 0;
}

.location-select-info {
    margin-bottom: 15px;
}

.location-select-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.location-select-info a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
}

.location-select-info a:hover {
    color: var(--primary-gold);
}

.location-select-info .closed-note {
    color: #e74c3c;
    font-style: italic;
    font-size: 13px;
}

.location-select-map {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-schedule-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
}

.location-schedule-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 200, 66, 0.4);
}

/* ============================================
   RESERVATIONS PAGE
   ============================================ */
.reservations-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.reservations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.reservation-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reservation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Compact Reservation Card with Map Header */
.reservation-card-compact {
    overflow: visible;
}

/* Disable hover transform on compact cards to keep maps interactive */
.reservation-card-compact:hover {
    transform: none;
}

.reservation-map-top {
    height: 150px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    z-index: 1;
}

.reservation-map-top iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.location-name-header {
    background: var(--primary-navy);
    padding: 12px 15px;
    text-align: center;
    color: white;
}

.location-name-header h3 {
    font-size: 18px;
    margin: 0 0 2px 0;
    color: white !important;
}

.location-name-header span {
    font-size: 12px;
    opacity: 0.85;
    color: white;
}

.reservation-info-compact {
    padding: 15px;
}

.info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-col {
    flex: 1;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.info-col .info-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.info-col strong {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-col p {
    font-size: 13px;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.4;
}

.info-col p a {
    color: var(--primary-navy);
    font-weight: 500;
}

.actions-col {
    justify-content: flex-end;
    align-items: center;
}

.actions-col .btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 14px;
}

@media (max-width: 640px) {
    .info-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .actions-col {
        justify-content: stretch;
    }
    
    .actions-col .btn {
        width: 100%;
        text-align: center;
    }
}

/* Legacy reservation header - keep for backwards compatibility */
.reservation-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a3f5f 100%);
    color: white !important;
    padding: 15px 20px;
    text-align: center;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.reservation-header .reservation-icon {
    font-size: 28px;
    margin-bottom: 5px;
    display: block;
}

.reservation-header h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: white !important;
}

.reservation-header p,
.reservation-header .office-tagline {
    opacity: 0.9;
    font-size: 13px;
    color: white !important;
    margin: 0;
}

.reservation-info {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

/* Horizontal Info Layout for Reservation Cards */
.reservation-info-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 25px;
    background: var(--bg-light);
}

.reservation-info-horizontal .info-col {
    flex: 1;
    min-width: 150px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.reservation-info-horizontal .info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.reservation-info-horizontal strong {
    display: block;
    font-size: 13px;
    color: var(--primary-navy);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservation-info-horizontal p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.4;
}

.reservation-info-horizontal a {
    color: var(--primary-navy);
    font-weight: 600;
}

.reservation-helper {
    margin-top: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.reservation-helper ul {
    margin: 15px 0 20px;
    padding-left: 20px;
}

.reservation-helper li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

@media (max-width: 600px) {
    .reservation-info-horizontal {
        flex-direction: column;
        gap: 15px;
    }
    
    .reservation-info-horizontal .info-col {
        min-width: 100%;
    }
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-item .info-text strong {
    display: block;
    color: var(--primary-navy);
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .info-text p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

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

.info-item .info-text a:hover {
    color: var(--primary-gold);
}

.info-item .closed-note {
    color: #e74c3c;
    font-style: italic;
    font-size: 13px;
    margin-top: 5px;
}

.reservation-map {
    padding: 0 30px;
}

.reservation-actions {
    padding: 15px 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* When actions are at the bottom of the card */
.reservation-card .reservation-actions:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Reservation Info Section */
.reservation-info-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.reservation-info-section h3 {
    text-align: center;
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 40px;
}

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

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

.expect-item .expect-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.expect-item h4 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.expect-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Prefer to Call Section */
.prefer-call {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #e8b84a 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.prefer-call h3 {
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.prefer-call p {
    color: var(--primary-navy);
    opacity: 0.8;
    margin-bottom: 25px;
}

.call-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.call-buttons .btn:hover {
    background: #2a3f5f;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .reservations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .expect-grid {
        grid-template-columns: 1fr;
    }
    
    .reservation-info-section {
        padding: 30px 20px;
    }
    
    .prefer-call {
        padding: 30px 20px;
    }
    
    .call-buttons {
        flex-direction: column;
    }
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.panel-close:hover {
    background: var(--primary-gold);
}

.panel-content {
    padding: 60px 30px 30px;
}

.panel-content h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.panel-content > p {
    color: var(--text-medium);
    margin-bottom: 25px;
}

.panel-content .form-group {
    margin-bottom: 18px;
}

.panel-content .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-navy);
    font-size: 14px;
}

.panel-content .form-group input,
.panel-content .form-group select,
.panel-content .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-fast);
}

.panel-content .form-group input:focus,
.panel-content .form-group select:focus,
.panel-content .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.2);
}

.panel-contact {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.panel-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

.panel-contact a {
    color: var(--primary-navy);
    font-weight: 600;
}

.panel-contact a:hover {
    color: var(--primary-gold);
}

/* Mobile adjustments for floating button */
@media (max-width: 576px) {
    .floating-appt-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 14px;
        max-width: calc(100vw - 40px);
    }
    
    .floating-appt-btn span {
        display: none;
    }
    
    .floating-appt-btn {
        padding: 15px;
        border-radius: 50%;
        min-width: auto;
        width: 56px;
        height: 56px;
    }
    
    .appointment-panel {
        width: 100%;
        right: -100%;
        max-width: 100vw;
    }
}

@media (max-width: 430px) {
    .floating-appt-btn {
        bottom: 15px;
        right: 15px;
        width: 56px;
        height: 56px;
        padding: 15px;
        min-width: auto;
    }
}

/* ============================================
   Elfsight Widget Branding Hide
   ============================================ */
#google-reviews-widget,
#backup-widget {
    position: relative;
}

/* Hide Elfsight branding/watermark on all widgets */
[class*="elfsight-app"] a[href*="elfsight"],
[class*="elfsight-app"] [class*="eapps-link"],
[class*="elfsight-app"] [class*="powered"],
[class*="elfsight-app"] [class*="branding"],
[class*="elfsight-app"] [class*="watermark"],
[class*="eapps"] a[href*="elfsight.com"],
[class*="eapps-widget-toolbar"],
a[href*="elfsight.com"][target="_blank"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ============================================
   Google Reviews Fallback Styles
   ============================================ */
.google-reviews-fallback {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.fallback-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.fallback-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.fallback-rating .stars {
    color: #fbbc05;
    font-size: 24px;
    letter-spacing: 2px;
}

.fallback-rating .rating-text {
    color: var(--text-medium);
    font-size: 16px;
}

.fallback-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.google-review-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition-medium);
}

.google-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.reviewer-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

.review-stars {
    color: #fbbc05;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

.fallback-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 991px) {
    .fallback-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fallback-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .google-reviews-fallback {
        padding: 20px;
    }
}

/* ============================================
   DESKTOP NAVIGATION FIX - MUST BE AT END
   ============================================ */
@media screen and (min-width: 992px) {
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-content nav {
        display: flex;
        flex: 1;
        justify-content: center;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        gap: 5px;
    }
    
    .nav-menu > li {
        position: relative;
    }
    
    .nav-menu > li > a {
        padding: 10px 18px;
        border-bottom: none !important;
        display: block;
    }
    
    .mobile-toggle {
        display: none !important;
    }
    
    .mobile-overlay {
        display: none !important;
    }
    
    .dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 200px;
        max-height: none !important;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        padding: 10px 0;
    }
    
    .nav-menu li.has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown li a {
        padding: 10px 20px;
        display: block;
        white-space: nowrap;
    }
    
    .dropdown li a:hover {
        background: #f5f5f5;
    }
}

/* ============================================
   Compact Footer Styles
   ============================================ */
.footer-compact {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding: 40px 0 20px;
}

.footer-compact .footer-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-compact .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-compact .footer-brand-mini {
    flex: 1;
    min-width: 250px;
}

.footer-compact .footer-brand-mini .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-compact .footer-brand-mini .logo-img {
    height: 45px;
    width: auto;
}

.footer-compact .footer-brand-mini .logo-title {
    font-size: 16px;
    color: white;
}

.footer-compact .footer-brand-mini .tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-compact .footer-contact-inline {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.footer-compact .footer-contact-inline .location {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-compact .footer-contact-inline strong {
    color: var(--primary-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-compact .footer-contact-inline a {
    color: rgba(255,255,255,0.8);
}

.footer-compact .footer-contact-inline a:hover {
    color: var(--primary-gold);
}

.footer-compact .footer-social {
    display: flex;
    gap: 10px;
}

.footer-compact .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: white;
}

.footer-compact .social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

.footer-compact .social-link svg {
    width: 18px;
    height: 18px;
}

.footer-compact .footer-links-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-compact .footer-links-row .link-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-compact .footer-links-row .link-group-title {
    font-size: 13px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-right: 5px;
}

.footer-compact .footer-links-row a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

.footer-compact .footer-links-row a:hover {
    color: var(--primary-gold);
}

.footer-compact .footer-links-row .separator {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
}

.footer-compact .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .footer-compact .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-compact .footer-contact-inline {
        justify-content: center;
    }
    
    .footer-compact .footer-social {
        justify-content: center;
    }
    
    .footer-compact .footer-links-row {
        justify-content: center;
        text-align: center;
    }
}

/* ============================================
   FAQ Flip Card Styles
   ============================================ */
.faq-flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.faq-flip-card {
    perspective: 1000px;
    height: 220px;
}

.faq-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.faq-flip-card:hover .faq-flip-inner,
.faq-flip-card.flipped .faq-flip-inner {
    transform: rotateY(180deg);
}

.faq-flip-front,
.faq-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.faq-flip-front {
    background: white;
    box-shadow: var(--shadow-sm);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.faq-flip-front .faq-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.faq-flip-front h4 {
    font-size: 16px;
    color: var(--primary-navy);
    line-height: 1.4;
}

.faq-flip-front .flip-hint {
    position: absolute;
    bottom: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.faq-flip-back {
    background: var(--primary-navy);
    color: white;
    transform: rotateY(180deg);
    overflow-y: auto;
}

.faq-flip-back h4 {
    font-size: 14px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.faq-flip-back p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

.faq-flip-back ul {
    font-size: 13px;
    padding-left: 18px;
    margin: 8px 0;
    color: rgba(255,255,255,0.85);
}

.faq-flip-back ul li {
    margin-bottom: 4px;
}

.faq-flip-back a {
    color: var(--primary-gold);
}

/* Scrollable back content for longer answers */
.faq-flip-back .scroll-content {
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
}

.faq-flip-back .scroll-content::-webkit-scrollbar {
    width: 4px;
}

.faq-flip-back .scroll-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.faq-flip-back .scroll-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

@media (max-width: 600px) {
    .faq-flip-card {
        height: 200px;
    }
    
    .faq-flip-front,
    .faq-flip-back {
        padding: 20px;
    }
    
    .faq-flip-front h4 {
        font-size: 15px;
    }
}

