/* =============================================
   KK Aesthetics Lounge - 3D Animated Website
   Premium Derma Aesthetic Clinic Styles
   ============================================= */

:root {
    --primary: #c9a86c;
    --primary-light: #e8d5a8;
    --primary-dark: #a88b4a;
    --accent: #d4a574;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #111118;
    --bg-card-hover: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a7a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-gold: linear-gradient(135deg, #c9a86c, #e8d5a8, #d4a574);
    --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #0d0d15 50%, #0a0a0f 100%);
    --shadow-glow: 0 0 30px rgba(201, 168, 108, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

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

.preloader-dna {
    width: 60px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}
.strand {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: dnaRotate 1.2s linear infinite;
}
.strand-2 {
    border-top-color: var(--primary-light);
    animation-delay: 0.6s;
    transform: rotateX(60deg);
}
@keyframes dnaRotate { to { transform: rotateY(360deg); } }

.preloader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--glass-border);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}
.preloader-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 2px;
    animation: preloaderFill 2s ease-in-out forwards;
}
@keyframes preloaderFill { from { width: 0; } to { width: 100%; } }

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo-kk {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-cta {
    background: var(--gradient-gold);
    color: var(--bg-dark) !important;
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 600;
    -webkit-text-fill-color: var(--bg-dark);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== SECTION COMMON ===== */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 168, 108, 0.1);
    border: 1px solid rgba(201, 168, 108, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(201, 168, 108, 0.3); }
.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; justify-content: center; }
.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, rgba(201, 168, 108, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(212, 165, 116, 0.03) 0%, transparent 50%),
                var(--bg-darker);
}
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 120px 24px 60px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 168, 108, 0.1);
    border: 1px solid rgba(201, 168, 108, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}
.title-line { display: block; }
.title-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-plus { color: var(--primary); font-size: 1.2rem; }
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}
.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel { 0%, 100% { opacity: 1; top: 6px; } 50% { opacity: 0.3; top: 18px; } }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

.hero-lottie {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--gradient-bg);
}
.trust-bg-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.floating-molecule {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.06) 0%, transparent 70%);
    animation: moleculeFloat 20s ease-in-out infinite;
}
.mol-1 { top: 10%; right: 5%; animation-delay: 0s; }
.mol-2 { bottom: 20%; left: 10%; animation-delay: 7s; width: 150px; height: 150px; }
.mol-3 { top: 50%; right: 30%; animation-delay: 14s; width: 100px; height: 100px; }
@keyframes moleculeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.trust-lottie {
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-lottie lottie-player {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 40px rgba(201, 168, 108, 0.1));
}
.trust-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}
.trust-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.trust-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.trust-feature:hover {
    border-color: rgba(201, 168, 108, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(201, 168, 108, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.feature-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== TREATMENTS SECTION ===== */
.treatments-section {
    padding: 120px 0;
    background: var(--bg-darker);
    position: relative;
}
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.treatment-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.treatment-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(201, 168, 108, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201, 168, 108, 0.05);
}
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(201, 168, 108, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}
.treatment-card:hover .card-glow { opacity: 1; }
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-3d {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.15), rgba(201, 168, 108, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transform: perspective(500px) rotateY(-5deg);
    transition: var(--transition);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.3), -2px -2px 10px rgba(201, 168, 108, 0.05);
}
.treatment-card:hover .icon-3d {
    transform: perspective(500px) rotateY(5deg) scale(1.1);
    box-shadow: 12px 12px 30px rgba(0,0,0,0.4), -4px -4px 15px rgba(201, 168, 108, 0.1);
}
.treatment-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.treatment-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}
.card-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: rgba(201, 168, 108, 0.1);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== SKIN SCIENCE SECTION ===== */
.science-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--gradient-bg);
}
#skinCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}
.science-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.science-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}
.skin-layers { display: flex; flex-direction: column; gap: 16px; }
.skin-layer {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.skin-layer.active,
.skin-layer:hover {
    background: var(--glass-bg);
    border-color: rgba(201, 168, 108, 0.2);
}
.layer-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    margin-top: 4px;
    flex-shrink: 0;
    transition: var(--transition);
}
.skin-layer.active .layer-indicator { background: var(--primary); box-shadow: 0 0 12px rgba(201, 168, 108, 0.5); }
.layer-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.layer-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.science-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}
.dna-helix-container {
    width: 100%;
    height: 500px;
    position: relative;
}
#dnaCanvas {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}
.science-lottie {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    opacity: 0.4;
}

/* ===== DOCTOR SECTION ===== */
.doctor-section {
    padding: 120px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}
.doctor-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.doctor-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.doctor-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}
.doctor-image-frame {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.frame-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.1) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

.doctor-avatar {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(201, 168, 108, 0.3);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
}
.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary);
}
.avatar-placeholder i { font-size: 4rem; opacity: 0.5; }
.avatar-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-muted);
}

.frame-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 108, 0.1);
    animation: ringRotate 20s linear infinite;
}
.ring-1 { inset: -15px; animation-duration: 20s; }
.ring-2 { inset: -30px; animation-duration: 30s; animation-direction: reverse; border-style: dashed; }
.ring-3 { inset: -45px; animation-duration: 40s; }
@keyframes ringRotate { to { transform: rotate(360deg); } }

.doctor-credentials-float {
    position: absolute;
    bottom: 20px;
    right: -20px;
    z-index: 3;
}
.credential-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 168, 108, 0.3);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.doctor-title-role {
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}
.doctor-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}
.doctor-qualifications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.qualification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
}
.qualification:hover {
    border-color: rgba(201, 168, 108, 0.2);
}
.qualification i { color: var(--primary); }

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 120px 0;
    background: var(--gradient-bg);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.gallery-item { text-align: center; }
.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}
.gallery-before,
.gallery-after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-before { background: linear-gradient(135deg, #1a1520, #151015); z-index: 1; }
.gallery-after { background: linear-gradient(135deg, #151a18, #101518); z-index: 0; }
.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.gallery-placeholder i { font-size: 2rem; }
.gallery-placeholder.after { color: var(--primary); }
.gallery-label {
    position: absolute;
    top: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    border-radius: 100px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 5;
}
.gallery-before .gallery-label { left: 12px; }
.gallery-after .gallery-label { right: 12px; }
.gallery-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--primary);
    z-index: 10;
    cursor: ew-resize;
}
.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 0.8rem;
    box-shadow: 0 0 20px rgba(201, 168, 108, 0.3);
}
.gallery-caption {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-darker);
    overflow: hidden;
}
.testimonials-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 108, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #f5a623;
    font-size: 0.9rem;
}
.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bg-dark);
}
.author-info h5 { font-size: 0.9rem; margin-bottom: 2px; }
.author-info span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== BOOKING SECTION ===== */
.booking-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--gradient-bg);
}
#bookingCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}
.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: start;
}
.booking-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.booking-lottie {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}
.contact-method:hover {
    border-color: rgba(201, 168, 108, 0.3);
    transform: translateX(8px);
}
.whatsapp-method:hover { border-color: #25d366; }
.contact-method i {
    font-size: 1.4rem;
    color: var(--primary);
    width: 24px;
}
.whatsapp-method i { color: #25d366; }
.method-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.method-value {
    display: block;
    font-size: 0.95rem;
}

.booking-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.booking-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.1);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select option { background: var(--bg-card); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s ease-out infinite;
}
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,10,15,0.95);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== LOCATION SECTION ===== */
.location-section {
    padding: 120px 0;
    background: var(--bg-darker);
}
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: stretch;
}
.location-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.loc-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.loc-item:hover { border-color: rgba(201, 168, 108, 0.2); }
.loc-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
}
.loc-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.loc-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}
.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 168, 108, 0.15);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    min-height: 400px;
}
.location-map iframe { display: block; }

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 24px;
    background: var(--bg-darker);
    position: relative;
    border-top: 1px solid var(--glass-border);
}
.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); transform: translateX(4px); }
.footer-contact p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact p i { color: var(--primary); margin-top: 4px; }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }
.animate-fade-up:nth-child(1) { transition-delay: 0.1s; }
.animate-fade-up:nth-child(2) { transition-delay: 0.2s; }
.animate-fade-up:nth-child(3) { transition-delay: 0.3s; }
.animate-fade-up:nth-child(4) { transition-delay: 0.4s; }
.animate-fade-up:nth-child(5) { transition-delay: 0.5s; }

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .treatments-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-track { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
    .trust-content { grid-template-columns: 1fr; gap: 40px; }
    .trust-lottie { order: -1; }
    .science-container { grid-template-columns: 1fr; gap: 40px; }
    .doctor-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .doctor-image-wrapper { justify-content: center; }
    .doctor-qualifications { justify-items: center; }
    .booking-wrapper { grid-template-columns: 1fr; }
    .location-wrapper { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 8, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        backdrop-filter: blur(20px);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; z-index: 1001; }
    .nav-link { font-size: 1.2rem; }

    .treatments-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-track { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .hero-lottie { display: none; }
    .hero-stats { gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .trust-features { grid-template-columns: 1fr; }
    .doctor-qualifications { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .location-info .social-links { justify-content: center; }
    .booking-form-wrapper { padding: 24px; }
    .stat-divider { display: none; }
    .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-content { padding-top: 100px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .container { padding: 0 16px; }
}
