/**
 * DR. PAKHARE DENTAL CLINIC
 * Premium Dental Healthcare Design System
 * 
 * Palette:
 * - Primary Navy:   #123B4A
 * - Dental Teal:    #2F7F82
 * - Soft Aqua:      #DCEEEF
 * - Warm Ivory:     #FAF8F2
 * - Pure White:     #FFFFFF
 * - Main Text:      #172B32
 * - Secondary Text: #60747A
 * - Soft Border:    #DCE5E5
 * - Alt Soft BG:    #F2F8F8
 * - Dark Start:     #0E303B
 * - Dark End:       #174D59
 * - Dark Accent:    #A9DCDD
 */

/* ================= 1. COLOR TOKENS & SYSTEM ================= */
:root {
    /* Brand Palette */
    --primary-navy:   #123B4A;
    --dental-teal:    #2F7F82;
    --soft-aqua:      #DCEEEF;
    --warm-ivory:     #FAF8F2;
    --pure-white:     #FFFFFF;
    --main-text:      #172B32;
    --secondary-text: #60747A;
    --soft-border:    #DCE5E5;
    --bg-alt:         #F2F8F8;

    /* Dark Section Tokens */
    --dark-bg-start:  #0E303B;
    --dark-bg-end:    #174D59;
    --dark-accent:    #A9DCDD;

    /* Functional Mappings */
    --primary:          #123B4A;
    --primary-hover:    #2F7F82;
    --primary-light:    #DCEEEF;
    --teal:             #2F7F82;
    --text-heading-dark:#123B4A;
    --text-body-dark:   #172B32;
    --text-muted-dark:  #60747A;
    --text-accent:      #2F7F82;

    /* 3D Model Stage Gradients */
    --stage-hero-gradient: radial-gradient(circle at 50% 35%, #F4FFFF 0%, #DCEEEF 40%, #9FCBCC 100%);
    --stage-card-gradient: linear-gradient(135deg, #DCEEEF 0%, #C5E1E2 55%, #A9D1D2 100%);

    /* Shadows */
    --shadow-card-elevated: 0 10px 30px -5px rgba(18, 59, 74, 0.06), 0 0 0 1px var(--soft-border);
    --shadow-card-hover: 0 20px 45px -10px rgba(18, 59, 74, 0.12), 0 0 0 1px var(--dental-teal);
    --shadow-stage: 0 25px 55px -12px rgba(18, 59, 74, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.9);

    /* Radii */
    --radius-futuristic-card: 24px;
    --radius-stage: 32px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Unified Font System */
    --font-primary: 'Manrope', 'Inter', 'Segoe UI', 'Noto Sans Devanagari', -apple-system, sans-serif;
    --font-heading: 'Manrope', 'Inter', 'Segoe UI', 'Noto Sans Devanagari', -apple-system, sans-serif;
    --font-body:    'Manrope', 'Inter', 'Segoe UI', 'Noto Sans Devanagari', -apple-system, sans-serif;
}

/* Base Body & Typography */
body {
    background-color: var(--pure-white);
    color: var(--main-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, 
.display-hero, 
.display-section, 
.statement-lead {
    color: var(--primary-navy) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

p, .text-body {
    font-family: var(--font-body);
    color: var(--main-text);
    font-weight: 400;
}

.text-muted, 
.text-muted-dark {
    font-family: var(--font-body);
    color: var(--secondary-text) !important;
}

/* Buttons and Form Controls */
button, .btn, .btn-luxury-primary, .btn-luxury-outline, .btn-primary-grad {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Eyebrows, Labels & Highlights */
.label-editorial {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dental-teal) !important;
    background: rgba(220, 238, 239, 0.65);
    border: 1px solid rgba(47, 127, 130, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 1.25rem;
}

.highlight-teal,
.text-teal,
.text-cyan {
    color: var(--dental-teal) !important;
}

/* ================= 2. PAGE BACKGROUNDS & SECTION FLOW ================= */

/* Hero -> Warm Ivory */
.hero-editorial {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F2 100%) !important;
    padding-top: 120px;
    padding-bottom: 75px;
    position: relative;
    overflow: hidden;
}

/* Introduction / About -> Soft Subtle Gradient */
#about {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(242, 248, 248, 0.85) 45%, rgba(250, 248, 242, 0.80) 100%) !important;
    background-size: 150% 150%;
    animation: dentalSectionGradientDrift 28s ease infinite alternate;
    border-top: 1px solid var(--soft-border);
    border-bottom: 1px solid var(--soft-border);
    position: relative;
    overflow: hidden;
}

/* Doctor -> Pure White with Soft Aura Transition */
#doctor {
    background: linear-gradient(180deg, rgba(250, 248, 242, 0.82) 0%, rgba(255, 255, 255, 0.94) 35%, rgba(242, 248, 248, 0.80) 100%) !important;
    background-size: 150% 150%;
    animation: dentalSectionGradientDrift 26s ease infinite alternate;
    border-bottom: 1px solid var(--soft-border);
    position: relative;
    overflow: hidden;
}

/* Treatments -> Soft Ivory & Aqua Flow */
#treatments {
    background: linear-gradient(180deg, rgba(242, 248, 248, 0.80) 0%, rgba(250, 248, 242, 0.88) 50%, rgba(236, 247, 248, 0.82) 100%) !important;
    background-size: 150% 150%;
    animation: dentalSectionGradientDrift 30s ease infinite alternate;
    position: relative;
    overflow: hidden;
}

/* Why Choose Us -> Soft Clean Medical Flow */
.section-why-choose,
section:has(.why-card) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(242, 248, 248, 0.82) 50%, rgba(255, 255, 255, 0.90) 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Statement Section -> Soft Aqua Alt with Smooth Pulse */
.statement-section {
    background: linear-gradient(135deg, rgba(242, 248, 248, 0.92) 0%, rgba(220, 238, 239, 0.65) 50%, rgba(250, 248, 242, 0.90) 100%) !important;
    background-size: 180% 180%;
    animation: dentalSectionGradientDrift 22s ease infinite alternate;
    border-top: 1px solid var(--soft-border);
    border-bottom: 1px solid var(--soft-border);
    padding: 85px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Gallery -> Warm Ivory Flow */
#gallery {
    background: linear-gradient(180deg, rgba(250, 248, 242, 0.85) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(242, 248, 248, 0.85) 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Appointment -> Soft Aqua Transition */
#appointment {
    background: linear-gradient(180deg, rgba(242, 248, 248, 0.85) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(250, 248, 242, 0.88) 100%) !important;
    background-size: 150% 150%;
    animation: dentalSectionGradientDrift 28s ease infinite alternate;
    border-top: 1px solid var(--soft-border);
    position: relative;
    overflow: hidden;
}

/* Contact -> Soft Clean Finish */
#contact {
    background: linear-gradient(180deg, rgba(250, 248, 242, 0.85) 0%, rgba(242, 248, 248, 0.92) 50%, rgba(255, 255, 255, 0.85) 100%) !important;
    position: relative;
    overflow: hidden;
}

/* ================= 2.1 SECTION GRADIENT SHIFT KEYFRAMES ================= */
@keyframes dentalSectionGradientDrift {
    0% {
        background-position: 0% 20%;
    }
    50% {
        background-position: 100% 80%;
    }
    100% {
        background-position: 20% 100%;
    }
}

/* ================= 3. DARK SECTIONS (TECHNOLOGY & FINAL CTA) ================= */

/* Featured Treatment / Technology Banner */
.featured-treatment-banner,
.final-cta-section {
    background: linear-gradient(135deg, var(--dark-bg-start) 0%, var(--dark-bg-end) 100%) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-stage);
    border: 1px solid rgba(169, 220, 221, 0.2);
    box-shadow: 0 25px 60px -15px rgba(14, 48, 59, 0.35);
    position: relative;
    overflow: hidden;
}

.featured-treatment-banner h2,
.featured-treatment-banner h6,
.final-cta-section h2,
.final-cta-section h6 {
    color: #FFFFFF !important;
}

.featured-treatment-banner p,
.final-cta-section p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.featured-treatment-banner .label-editorial,
.final-cta-section .label-editorial {
    color: var(--dark-accent) !important;
    background: rgba(169, 220, 221, 0.12) !important;
    border-color: rgba(169, 220, 221, 0.3) !important;
}

.featured-highlight-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    transition: var(--transition);
}

.featured-highlight-box:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--dark-accent);
    transform: translateY(-4px);
}

.featured-highlight-box i {
    color: var(--dark-accent) !important;
}

/* ================= PREMIUM ANIMATED DENTAL AURA HERO BACKGROUND ================= */
.hero-editorial {
    position: relative;
    overflow: hidden;
    /* Soft clean medical base gradient */
    background: radial-gradient(circle at 85% 20%, #E6F8FB 0%, #FAFDFC 38%, #FFFFFF 72%) !important;
}

.hero-content {
    position: relative;
    z-index: 2; /* Content stays in front of animated background */
}

/* Background container: strictly behind hero content */
.dental-aura-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* 1. Ambient Moving Gradient Mesh Layer */
.aura-mesh-layer {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(ellipse at 72% 28%, rgba(220, 238, 239, 0.50) 0%, rgba(250, 248, 242, 0.40) 45%, transparent 75%);
    filter: blur(55px);
    pointer-events: none;
    animation: auraMeshSlowDrift 22s ease-in-out infinite alternate;
}

@keyframes auraMeshSlowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-3%, 2%) scale(1.04);
    }
    100% {
        transform: translate(2%, -2%) scale(0.98);
    }
}

/* 2. Large Blurred Gradient Orbs */
.aura-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Orb 1: Soft Dental Teal & Aqua Glow (Right/Center-Right behind stage) */
.aura-orb-1 {
    width: 580px;
    height: 580px;
    top: -10%;
    right: 5%;
    background: radial-gradient(circle, rgba(47, 127, 130, 0.15) 0%, rgba(220, 238, 239, 0.45) 45%, transparent 72%);
    filter: blur(75px);
    animation: auraOrb1Movement 18s ease-in-out infinite alternate;
}

@keyframes auraOrb1Movement {
    0% {
        transform: translate(0, 0) scale(0.95);
        opacity: 0.70;
    }
    50% {
        transform: translate(-40px, 35px) scale(1.08);
        opacity: 0.95;
    }
    100% {
        transform: translate(25px, -30px) scale(0.92);
        opacity: 0.75;
    }
}

/* Orb 2: Warm Ivory & Soft Aqua Warmth (Left under Headline & Text) */
.aura-orb-2 {
    width: 620px;
    height: 620px;
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(250, 248, 242, 0.70) 0%, rgba(220, 238, 239, 0.35) 50%, transparent 75%);
    filter: blur(80px);
    animation: auraOrb2Movement 20s ease-in-out infinite alternate;
}

@keyframes auraOrb2Movement {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }
    50% {
        transform: translate(50px, -35px) scale(1.06);
        opacity: 0.92;
    }
    100% {
        transform: translate(-30px, 20px) scale(0.96);
        opacity: 0.80;
    }
}

/* Orb 3: Central Ambient Pearlescent Highlight */
.aura-orb-3 {
    width: 480px;
    height: 480px;
    top: 25%;
    left: 35%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(220, 238, 239, 0.30) 45%, rgba(47, 127, 130, 0.08) 65%, transparent 75%);
    filter: blur(65px);
    animation: auraOrb3Movement 16s ease-in-out infinite alternate;
}

@keyframes auraOrb3Movement {
    0% {
        transform: translate(0, 0) scale(0.92);
        opacity: 0.65;
    }
    50% {
        transform: translate(-35px, -25px) scale(1.05);
        opacity: 0.88;
    }
    100% {
        transform: translate(30px, 30px) scale(0.96);
        opacity: 0.70;
    }
}

/* 3. Subtle Flowing Light / Wave Effect */
.aura-light-wave {
    position: absolute;
    top: -30%;
    left: -40%;
    width: 180%;
    height: 160%;
    background: radial-gradient(ellipse 70% 35% at 50% 50%, rgba(255, 255, 255, 0.38) 0%, rgba(220, 238, 239, 0.20) 40%, transparent 70%);
    pointer-events: none;
    transform: rotate(-12deg);
    animation: auraWaveSlowFlow 17s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes auraWaveSlowFlow {
    0% {
        transform: rotate(-12deg) translate(-4%, -2%) scale(0.96);
        opacity: 0.50;
    }
    50% {
        transform: rotate(-10deg) translate(2%, 3%) scale(1.03);
        opacity: 0.85;
    }
    100% {
        transform: rotate(-14deg) translate(-2%, 4%) scale(0.98);
        opacity: 0.60;
    }
}

/* 4. Translucent Floating Dental Particles (few, tiny, drifting slowly) */
.aura-particle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.aura-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, #FFFFFF 20%, rgba(47, 127, 130, 0.35) 80%);
    box-shadow: 0 0 8px rgba(47, 127, 130, 0.25), 0 0 16px rgba(220, 238, 239, 0.4);
    opacity: 0;
}

.aura-dot-1 {
    width: 5px;
    height: 5px;
    top: 75%;
    left: 18%;
    animation: auraDriftParticle 15s ease-in-out infinite;
    animation-delay: 0s;
}

.aura-dot-2 {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 42%;
    animation: auraDriftParticle 18s ease-in-out infinite;
    animation-delay: 3s;
}

.aura-dot-3 {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 68%;
    animation: auraDriftParticle 16s ease-in-out infinite;
    animation-delay: 5s;
}

.aura-dot-4 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 28%;
    animation: auraDriftParticle 17s ease-in-out infinite;
    animation-delay: 7s;
}

.aura-dot-5 {
    width: 5px;
    height: 5px;
    top: 70%;
    left: 82%;
    animation: auraDriftParticle 19s ease-in-out infinite;
    animation-delay: 2s;
}

.aura-dot-6 {
    width: 4px;
    height: 4px;
    top: 35%;
    left: 55%;
    animation: auraDriftParticle 20s ease-in-out infinite;
    animation-delay: 6s;
}

@keyframes auraDriftParticle {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    20% {
        opacity: 0.65;
    }
    50% {
        transform: translateY(-50px) translateX(18px);
        opacity: 0.85;
    }
    80% {
        opacity: 0.40;
    }
    100% {
        transform: translateY(-110px) translateX(32px);
        opacity: 0;
    }
}

/* ================= 4. HERO 3D STAGE ================= */
.hero-3d-stage-container {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: 100%;
    /* Elegant medical gradient: white -> soft aqua -> very light teal -> white */
    background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #F2FBFC 22%, #DCEEEF 55%, #B4DFE0 100%);
    background-size: 130% 130%;
    border-radius: var(--radius-stage);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-stage);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    animation: heroStageGlowCycle 16s ease-in-out infinite alternate;
}

/* Ambient Slow Radial Glow Movement */
@keyframes heroStageGlowCycle {
    0% {
        background-position: 46% 36%;
    }
    50% {
        background-position: 54% 44%;
    }
    100% {
        background-position: 50% 32%;
    }
}

/* 5. Behind 3D Tooth: Soft Radial Aura (transparent aqua -> soft teal -> transparent) */
.stage-tooth-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(220, 238, 239, 0.65) 0%, rgba(47, 127, 130, 0.22) 38%, rgba(47, 127, 130, 0.05) 60%, transparent 75%);
    filter: blur(42px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: toothAuraBreathing 14s ease-in-out infinite alternate;
}

@keyframes toothAuraBreathing {
    0% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.65;
    }
    50% {
        transform: translate(-50%, -52%) scale(1.08);
        opacity: 0.95;
    }
    100% {
        transform: translate(-50%, -48%) scale(0.96);
        opacity: 0.70;
    }
}

/* Optional: Subtle Circular Light / Ripple Pulse behind Tooth */
.stage-tooth-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid rgba(47, 127, 130, 0.16);
    box-shadow: 0 0 25px rgba(47, 127, 130, 0.08), inset 0 0 15px rgba(220, 238, 239, 0.25);
    pointer-events: none;
    z-index: 0;
    animation: toothRipplePulse 12s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

@keyframes toothRipplePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.10;
        border-color: rgba(47, 127, 130, 0.10);
    }
    40% {
        opacity: 0.70;
        border-color: rgba(47, 127, 130, 0.22);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.28);
        opacity: 0;
        border-color: rgba(47, 127, 130, 0.02);
    }
}

/* Ambient Soft Blurred Gradient Blob behind Tooth */
.hero-3d-stage-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(47, 127, 130, 0.16) 0%, rgba(220, 238, 239, 0.40) 45%, transparent 70%);
    filter: blur(48px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: heroAmbientBlobFloat 18s ease-in-out infinite alternate;
}

@keyframes heroAmbientBlobFloat {
    0% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.60;
    }
    50% {
        transform: translate(-46%, -53%) scale(1.06);
        opacity: 0.90;
    }
    100% {
        transform: translate(-53%, -47%) scale(0.95);
        opacity: 0.70;
    }
}

/* Subtle Glowing Light Orbit around Tooth */
.stage-light-orbit {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px dashed rgba(47, 127, 130, 0.20);
    box-shadow: 0 0 30px rgba(47, 127, 130, 0.08), inset 0 0 20px rgba(220, 238, 239, 0.20);
    pointer-events: none;
    z-index: 0;
    transform: rotateX(68deg) rotateZ(0deg);
    animation: heroOrbitSpin 36s linear infinite;
}

@keyframes heroOrbitSpin {
    0% {
        transform: rotateX(68deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(68deg) rotateZ(360deg);
    }
}

/* Soft Moving Light Reflection / Sheen */
.stage-light-sheen {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, 0.26) 50%, transparent 58%);
    pointer-events: none;
    z-index: 0;
    animation: heroLightSheenSweep 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes heroLightSheenSweep {
    0%, 25% {
        transform: translate(-60%, -60%) rotate(25deg);
        opacity: 0;
    }
    35% {
        opacity: 0.75;
    }
    50%, 100% {
        transform: translate(60%, 60%) rotate(25deg);
        opacity: 0;
    }
}

/* Soft Contact Shadow beneath Molar */
.hero-3d-stage-container::after {
    content: '';
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(18, 59, 74, 0.28) 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.hero-3d-molar-img {
    width: auto;
    height: 380px;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 30px rgba(18, 59, 74, 0.24));
    transition: transform 0.3s ease-out;
    animation: heroToothGentleFloat 8s ease-in-out infinite;
}

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

/* Mobile Optimizations */
@media (max-width: 768px) {
    .aura-mesh-layer {
        filter: blur(35px);
    }
    .aura-orb-1 {
        width: 360px;
        height: 360px;
        filter: blur(45px);
    }
    .aura-orb-2 {
        width: 360px;
        height: 360px;
        filter: blur(45px);
    }
    .aura-orb-3 {
        display: none;
    }
    .aura-particle-field {
        display: none; /* Disable particles on mobile for better performance */
    }
    .stage-tooth-aura {
        width: 280px;
        height: 280px;
        filter: blur(28px);
    }
    .stage-tooth-ripple {
        width: 240px;
        height: 240px;
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .hero-editorial,
    .aura-mesh-layer,
    .aura-orb-1,
    .aura-orb-2,
    .aura-orb-3,
    .aura-light-wave,
    .aura-dot,
    .stage-tooth-aura,
    .stage-tooth-ripple,
    .hero-3d-stage-container,
    .hero-3d-stage-container::before,
    .stage-light-orbit,
    .stage-light-sheen,
    .hero-3d-molar-img {
        animation: none !important;
        transform: none !important;
    }
    .stage-tooth-ripple {
        opacity: 0.3 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
    .stage-tooth-aura {
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* ================= 5. TREATMENT CARDS & VIEWPORTS ================= */
.treatment-editorial-card {
    background: var(--pure-white);
    border-radius: var(--radius-futuristic-card);
    border: 1.5px solid var(--soft-border);
    box-shadow: var(--shadow-card-elevated);
    padding: 1.8rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.treatment-editorial-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--dental-teal);
    transform: translateY(-5px);
}

.card-futuristic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.category-concept-tag {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dental-teal);
    background: rgba(220, 238, 239, 0.7);
    padding: 0.32rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(47, 127, 130, 0.28);
}

.card-num-subtle {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.95rem;
    font-weight: 800;
    color: #8C9BAA;
}

/* 3D DENTAL OBJECT VIEWPORT (USER-SPECIFIED SOFT AQUA/TEAL GRADIENT) */
.dental-3d-card-viewport {
    width: 100%;
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 1.15rem;
    border-radius: 20px;
    /* User specified linear aqua/teal gradient */
    background: 
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 70%),
        linear-gradient(135deg, #DCEEEF 0%, #C5E1E2 55%, #A9D1D2 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.5), 0 6px 20px -4px rgba(18, 59, 74, 0.12);
    overflow: hidden;
}

/* Soft Animated Depth Aura behind 3D Dental Object */
.dental-3d-card-viewport::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-top: -70px;
    margin-left: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(220, 238, 239, 0.55) 42%, rgba(47, 127, 130, 0.16) 68%, transparent 80%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
    animation: toothCardAuraPulse 18s ease-in-out infinite alternate;
}

/* Ground Contact Shadow under every tooth */
.dental-3d-card-viewport::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(18, 59, 74, 0.28) 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.dental-3d-card-img {
    max-width: 82%;
    max-height: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 18px rgba(18, 59, 74, 0.25));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.treatment-editorial-card:hover .dental-3d-card-img {
    transform: translateY(-6px) scale(1.08);
    filter: drop-shadow(0 16px 26px rgba(18, 59, 74, 0.32));
}

.treatment-title-text {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.treatment-desc-text {
    color: var(--secondary-text);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.treatment-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--soft-border);
}

.treatment-cost-badge {
    font-size: 0.82rem;
    color: var(--secondary-text);
}

.treatment-cost-badge strong {
    color: var(--primary-navy);
    font-size: 0.94rem;
}

.treatment-link-btn {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--dental-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: var(--transition);
}

.treatment-link-btn:hover {
    color: var(--primary-navy);
    transform: translateX(3px);
}

/* ================= 6. STATS & PILLAR CARDS ================= */
.stats-editorial-strip {
    background: var(--pure-white);
    border: 1.5px solid var(--soft-border);
    border-radius: var(--radius-futuristic-card);
    box-shadow: var(--shadow-card-elevated);
    padding: 2.2rem 1.8rem;
    margin-top: 3.5rem;
}

.stat-metric-number {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-metric-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-text);
}

.editorial-pillar-card,
.why-card {
    background: var(--pure-white);
    border-radius: 22px;
    border: 1.5px solid var(--soft-border);
    box-shadow: var(--shadow-card-elevated);
    padding: 2.2rem 1.8rem;
    height: 100%;
    transition: var(--transition);
}

.editorial-pillar-card:hover,
.why-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--dental-teal);
    transform: translateY(-4px);
}

.pillar-number {
    color: var(--dental-teal);
    font-weight: 800;
}

.why-number-label {
    color: rgba(47, 127, 130, 0.4);
}

.why-card:hover .why-number-label {
    color: var(--dental-teal);
}

/* ================= 7. BUTTONS (USER SPECIFIED SYSTEM) ================= */
.btn-luxury-primary,
.btn-primary {
    background: var(--primary-navy) !important;
    border: 1.5px solid var(--primary-navy) !important;
    color: #FFFFFF !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(18, 59, 74, 0.22) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-luxury-primary:hover,
.btn-primary:hover {
    background: var(--dental-teal) !important;
    border-color: var(--dental-teal) !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 25px rgba(47, 127, 130, 0.3) !important;
    transform: translateY(-2px);
}

.btn-luxury-outline,
.btn-outline-primary {
    background: transparent !important;
    color: var(--primary-navy) !important;
    border: 1.5px solid var(--primary-navy) !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-luxury-outline:hover,
.btn-outline-primary:hover {
    background: var(--soft-aqua) !important;
    border-color: var(--primary-navy) !important;
    color: var(--primary-navy) !important;
    transform: translateY(-2px);
}

.btn-luxury-patient {
    background: #e6f6f7 !important;
    border: 1.5px solid #a4d8db !important;
    color: var(--primary-navy, #123b4a) !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(47, 127, 130, 0.12) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-luxury-patient i {
    color: var(--dental-teal, #2f7f82);
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.btn-luxury-patient:hover {
    background: #d4f0f2 !important;
    border-color: var(--dental-teal, #2f7f82) !important;
    color: #0b2833 !important;
    box-shadow: 0 8px 22px rgba(47, 127, 130, 0.22) !important;
    transform: translateY(-2px);
}

.btn-luxury-patient:hover i {
    transform: scale(1.12);
    color: var(--primary-navy, #123b4a);
}

.btn-luxury-white {
    background: #FFFFFF !important;
    color: var(--primary-navy) !important;
    border: 1.5px solid #FFFFFF !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-luxury-white:hover {
    background: var(--soft-aqua) !important;
    border-color: var(--soft-aqua) !important;
    color: var(--primary-navy) !important;
    transform: translateY(-2px);
}

/* ================= 8. APPOINTMENT & CONTACT PANELS ================= */
.appointment-booking-card {
    background: var(--pure-white);
    border-radius: var(--radius-futuristic-card);
    border: 1.5px solid var(--soft-border);
    box-shadow: 0 20px 50px -15px rgba(18, 59, 74, 0.1);
}

.map-viewport-frame {
    border-radius: var(--radius-futuristic-card);
    border: 1.5px solid var(--soft-border);
    box-shadow: var(--shadow-card-elevated);
}

.contact-icon-bubble {
    background: rgba(220, 238, 239, 0.8) !important;
    color: var(--dental-teal) !important;
}

.doctor-qualification-pill {
    background: var(--bg-alt);
    border: 1px solid var(--soft-border);
    color: var(--main-text);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Override utility colors for consistency */
.text-primary,
.text-cyan,
.text-teal,
.text-info {
    color: var(--dental-teal) !important;
}

.bg-primary {
    background-color: var(--primary-navy) !important;
}

.bg-primary-subtle {
    background-color: var(--soft-aqua) !important;
    color: var(--primary-navy) !important;
}

/* ================= 9. RESPONSIVE ================= */
@media (max-width: 991.98px) {
    .hero-3d-stage-container {
        min-height: 420px;
        margin-top: 2rem;
    }
    .hero-3d-molar-img {
        height: 300px;
    }
    .dental-3d-card-viewport {
        height: 160px;
    }
}

@media (max-width: 575.98px) {
    .hero-3d-stage-container {
        min-height: 340px;
        border-radius: 24px;
        padding: 1rem;
    }
    .hero-3d-molar-img {
        height: 240px;
    }
    .stage-floating-spec {
        font-size: 0.68rem;
        padding: 0.35rem 0.75rem;
    }
}

/* ================= 10. HOMEPAGE DENTAL FLOW / AQUA AURA DESIGN SYSTEM ================= */

/* Section Content Layering Guarantee */
#home .container,
#about .container,
#doctor .container,
#treatments .container,
.section-why-choose .container,
section:has(.why-card) .container,
.statement-section .container,
#gallery .container,
#appointment .container,
#contact .container {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* GLOBAL BACKGROUND CANVAS (Fixed behind content) */
.homepage-dental-flow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    user-select: none;
}

/* Continuous Subtle Ambient Gradient Shift: White -> Ivory -> Soft Aqua -> White */
.flow-gradient-canvas {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(250, 248, 242, 0.92) 28%, 
        rgba(220, 238, 239, 0.72) 58%, 
        rgba(255, 255, 255, 0.98) 100%
    );
    background-size: 250% 250%;
    animation: flowCanvasShift 28s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes flowCanvasShift {
    0% {
        background-position: 0% 20%;
        transform: scale(1);
    }
    50% {
        background-position: 100% 80%;
        transform: scale(1.03);
    }
    100% {
        background-position: 30% 100%;
        transform: scale(1);
    }
}

/* Very Large Blurred Aqua/Teal/Ivory Gradient Blobs (15–30s Movement) */
.flow-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Teal Blob: Very large, drifting slowly behind right/center content */
.flow-blob-teal {
    width: 780px;
    height: 780px;
    top: 18%;
    right: -8%;
    background: radial-gradient(circle, rgba(47, 127, 130, 0.13) 0%, rgba(220, 238, 239, 0.35) 45%, transparent 72%);
    filter: blur(95px);
    animation: flowBlobTealDrift 28s ease-in-out infinite alternate;
}

@keyframes flowBlobTealDrift {
    0% {
        transform: translate(0, 0) scale(0.96);
        opacity: 0.65;
    }
    50% {
        transform: translate(-80px, 60px) scale(1.08);
        opacity: 0.92;
    }
    100% {
        transform: translate(35px, -45px) scale(0.98);
        opacity: 0.72;
    }
}

/* Aqua Blob: Soft aqua aura, drifting slowly behind lower-left content */
.flow-blob-aqua {
    width: 840px;
    height: 840px;
    bottom: 8%;
    left: -12%;
    background: radial-gradient(circle, rgba(220, 238, 239, 0.52) 0%, rgba(47, 127, 130, 0.10) 42%, transparent 72%);
    filter: blur(105px);
    animation: flowBlobAquaDrift 24s ease-in-out infinite alternate;
}

@keyframes flowBlobAquaDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.72;
    }
    50% {
        transform: translate(75px, -55px) scale(1.06);
        opacity: 0.90;
    }
    100% {
        transform: translate(-45px, 35px) scale(0.96);
        opacity: 0.76;
    }
}

/* Ivory Blob: Gentle warm ivory glow, drifting slowly behind mid content */
.flow-blob-ivory {
    width: 700px;
    height: 700px;
    top: 55%;
    right: 22%;
    background: radial-gradient(circle, rgba(250, 248, 242, 0.82) 0%, rgba(220, 238, 239, 0.22) 48%, transparent 70%);
    filter: blur(85px);
    animation: flowBlobIvoryDrift 30s ease-in-out infinite alternate;
}

@keyframes flowBlobIvoryDrift {
    0% {
        transform: translate(0, 0) scale(0.93);
        opacity: 0.60;
    }
    50% {
        transform: translate(-55px, -40px) scale(1.05);
        opacity: 0.85;
    }
    100% {
        transform: translate(45px, 30px) scale(0.97);
        opacity: 0.68;
    }
}

/* Subtle Flowing Aqua / Teal Wave Shapes */
.flow-wave-layer {
    position: absolute;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
}

.flow-wave-1 {
    top: 25%;
    left: -12%;
    width: 125vw;
    height: 480px;
    background: radial-gradient(ellipse 65% 40% at 50% 50%, rgba(220, 238, 239, 0.32) 0%, rgba(47, 127, 130, 0.08) 45%, transparent 72%);
    filter: blur(55px);
    border-radius: 40% 60% 65% 35% / 45% 45% 55% 55%;
    animation: flowWaveDrift1 26s ease-in-out infinite alternate;
}

.flow-wave-2 {
    bottom: 15%;
    right: -15%;
    width: 120vw;
    height: 440px;
    background: radial-gradient(ellipse 70% 45% at 50% 50%, rgba(250, 248, 242, 0.65) 0%, rgba(220, 238, 239, 0.28) 45%, rgba(47, 127, 130, 0.05) 65%, transparent 80%);
    filter: blur(65px);
    border-radius: 55% 45% 38% 62% / 48% 52% 48% 52%;
    animation: flowWaveDrift2 24s ease-in-out infinite alternate;
}

@keyframes flowWaveDrift1 {
    0% {
        transform: rotate(-3deg) translate(0, 0) scale(0.96);
        opacity: 0.55;
    }
    50% {
        transform: rotate(-1deg) translate(40px, 30px) scale(1.05);
        opacity: 0.85;
    }
    100% {
        transform: rotate(-4deg) translate(-25px, -20px) scale(0.98);
        opacity: 0.65;
    }
}

@keyframes flowWaveDrift2 {
    0% {
        transform: rotate(3deg) translate(0, 0) scale(0.95);
        opacity: 0.50;
    }
    50% {
        transform: rotate(1deg) translate(-35px, -25px) scale(1.04);
        opacity: 0.82;
    }
    100% {
        transform: rotate(4deg) translate(20px, 15px) scale(0.98);
        opacity: 0.60;
    }
}

/* Very Small Translucent Dental-Style Particles / Bubbles */
.flow-bubbles-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    user-select: none;
    z-index: 1;
}

.flow-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
    background: radial-gradient(circle at 32% 28%, 
        rgba(255, 255, 255, 0.85) 0%, 
        rgba(220, 238, 239, 0.35) 40%, 
        rgba(47, 127, 130, 0.10) 75%, 
        rgba(220, 238, 239, 0.05) 100%
    );
    border: 1px solid rgba(220, 238, 239, 0.40);
    box-shadow: 
        inset -2px -2px 5px rgba(47, 127, 130, 0.12),
        inset 2px 2px 5px rgba(255, 255, 255, 0.70),
        0 0 10px rgba(220, 238, 239, 0.25);
}

/* Medium Glass Bubble Accent */
.bubble-glass-md {
    background: radial-gradient(circle at 30% 26%, 
        rgba(255, 255, 255, 0.90) 0%, 
        rgba(255, 255, 255, 0.40) 22%, 
        rgba(220, 238, 239, 0.25) 55%, 
        rgba(47, 127, 130, 0.08) 80%, 
        transparent 100%
    );
    border: 1px solid rgba(220, 238, 239, 0.45);
    box-shadow: 
        inset -3px -3px 6px rgba(47, 127, 130, 0.14),
        inset 3px 3px 6px rgba(255, 255, 255, 0.80),
        0 4px 14px rgba(220, 238, 239, 0.28);
}

/* Large Glass Bubble Accent with soft blur & subtle highlight */
.bubble-glass-lg {
    background: radial-gradient(circle at 28% 25%, 
        rgba(255, 255, 255, 0.80) 0%, 
        rgba(255, 255, 255, 0.30) 20%, 
        rgba(220, 238, 239, 0.18) 50%, 
        rgba(47, 127, 130, 0.06) 80%, 
        transparent 100%
    );
    border: 1px solid rgba(220, 238, 239, 0.35);
    box-shadow: 
        inset -4px -4px 10px rgba(47, 127, 130, 0.10),
        inset 4px 4px 10px rgba(255, 255, 255, 0.65),
        0 6px 20px rgba(220, 238, 239, 0.20);
    filter: blur(0.5px);
}

/* 16 Varied Natural Bubble Positions, Speeds and Staggered Offsets */
.bubble-1 {
    width: 14px;
    height: 14px;
    left: 6%;
    bottom: -40px;
    animation: dentalBubbleSway1 21s ease-in-out infinite;
    animation-delay: -4s;
}

.bubble-2 {
    width: 32px;
    height: 32px;
    left: 14%;
    bottom: -50px;
    animation: dentalBubbleSway2 25s ease-in-out infinite;
    animation-delay: -15s;
}

.bubble-3 {
    width: 18px;
    height: 18px;
    left: 22%;
    bottom: -40px;
    animation: dentalBubbleSway3 19s ease-in-out infinite;
    animation-delay: -8s;
}

.bubble-4 {
    width: 58px;
    height: 58px;
    left: 29%;
    bottom: -70px;
    animation: dentalBubbleSway1 29s ease-in-out infinite;
    animation-delay: -21s;
}

.bubble-5 {
    width: 12px;
    height: 12px;
    left: 37%;
    bottom: -40px;
    animation: dentalBubbleSway2 22s ease-in-out infinite;
    animation-delay: -12s;
}

.bubble-6 {
    width: 28px;
    height: 28px;
    left: 45%;
    bottom: -50px;
    animation: dentalBubbleSway3 26s ease-in-out infinite;
    animation-delay: -3s;
}

.bubble-7 {
    width: 16px;
    height: 16px;
    left: 53%;
    bottom: -40px;
    animation: dentalBubbleSway1 20s ease-in-out infinite;
    animation-delay: -17s;
}

.bubble-8 {
    width: 36px;
    height: 36px;
    left: 60%;
    bottom: -55px;
    animation: dentalBubbleSway2 27s ease-in-out infinite;
    animation-delay: -9s;
}

.bubble-9 {
    width: 20px;
    height: 20px;
    left: 67%;
    bottom: -45px;
    animation: dentalBubbleSway3 23s ease-in-out infinite;
    animation-delay: -24s;
}

.bubble-10 {
    width: 68px;
    height: 68px;
    left: 74%;
    bottom: -80px;
    animation: dentalBubbleSway1 30s ease-in-out infinite;
    animation-delay: -14s;
}

.bubble-11 {
    width: 14px;
    height: 14px;
    left: 81%;
    bottom: -40px;
    animation: dentalBubbleSway2 18s ease-in-out infinite;
    animation-delay: -6s;
}

.bubble-12 {
    width: 30px;
    height: 30px;
    left: 87%;
    bottom: -50px;
    animation: dentalBubbleSway3 24s ease-in-out infinite;
    animation-delay: -19s;
}

.bubble-13 {
    width: 12px;
    height: 12px;
    left: 93%;
    bottom: -40px;
    animation: dentalBubbleSway1 21s ease-in-out infinite;
    animation-delay: -11s;
}

.bubble-14 {
    width: 26px;
    height: 26px;
    left: 18%;
    bottom: -50px;
    animation: dentalBubbleSway2 27s ease-in-out infinite;
    animation-delay: -26s;
}

.bubble-15 {
    width: 15px;
    height: 15px;
    left: 50%;
    bottom: -40px;
    animation: dentalBubbleSway3 22s ease-in-out infinite;
    animation-delay: -7s;
}

.bubble-16 {
    width: 52px;
    height: 52px;
    left: 84%;
    bottom: -70px;
    animation: dentalBubbleSway1 28s ease-in-out infinite;
    animation-delay: -2s;
}

/* Natural Multi-Curved Upward Sway Animations (18–30s loops) */
@keyframes dentalBubbleSway1 {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.85);
        opacity: 0;
    }
    10% {
        opacity: 0.50;
    }
    30% {
        transform: translateY(75vh) translateX(20px) scale(0.95);
        opacity: 0.65;
    }
    60% {
        transform: translateY(40vh) translateX(-18px) scale(1.02);
        opacity: 0.70;
    }
    85% {
        transform: translateY(15vh) translateX(12px) scale(0.96);
        opacity: 0.45;
    }
    100% {
        transform: translateY(-15vh) translateX(-8px) scale(0.88);
        opacity: 0;
    }
}

@keyframes dentalBubbleSway2 {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.88);
        opacity: 0;
    }
    12% {
        opacity: 0.55;
    }
    35% {
        transform: translateY(70vh) translateX(-24px) scale(0.98);
        opacity: 0.68;
    }
    65% {
        transform: translateY(35vh) translateX(18px) scale(1.04);
        opacity: 0.72;
    }
    88% {
        transform: translateY(10vh) translateX(-10px) scale(0.94);
        opacity: 0.40;
    }
    100% {
        transform: translateY(-15vh) translateX(6px) scale(0.86);
        opacity: 0;
    }
}

@keyframes dentalBubbleSway3 {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.82);
        opacity: 0;
    }
    10% {
        opacity: 0.48;
    }
    40% {
        transform: translateY(65vh) translateX(16px) scale(0.96);
        opacity: 0.62;
    }
    70% {
        transform: translateY(30vh) translateX(-14px) scale(1.01);
        opacity: 0.68;
    }
    90% {
        transform: translateY(8vh) translateX(18px) scale(0.92);
        opacity: 0.35;
    }
    100% {
        transform: translateY(-15vh) translateX(-6px) scale(0.84);
        opacity: 0;
    }
}

/* SECTION-LEVEL AMBIENT DECORATIVE LAYERS */
.section-ambient-decor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* Soft Radial Light Glows in Selected Sections */
.ambient-radial-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

.ambient-glow-about {
    width: 620px;
    height: 620px;
    top: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(220, 238, 239, 0.50) 0%, rgba(47, 127, 130, 0.12) 42%, transparent 70%);
    filter: blur(80px);
    animation: ambientGlowBreathing 20s ease-in-out infinite alternate;
}

.ambient-glow-doctor {
    width: 580px;
    height: 580px;
    top: 10%;
    right: -5%;
    background: radial-gradient(circle, rgba(47, 127, 130, 0.14) 0%, rgba(220, 238, 239, 0.45) 45%, transparent 72%);
    filter: blur(85px);
    animation: ambientGlowBreathing 22s ease-in-out infinite alternate;
    animation-delay: -5s;
}

.ambient-glow-treatments-1 {
    width: 650px;
    height: 650px;
    top: -10%;
    right: 5%;
    background: radial-gradient(circle, rgba(220, 238, 239, 0.52) 0%, rgba(47, 127, 130, 0.14) 40%, transparent 70%);
    filter: blur(90px);
    animation: ambientGlowBreathing 24s ease-in-out infinite alternate;
}

.ambient-glow-treatments-2 {
    width: 600px;
    height: 600px;
    bottom: -15%;
    left: -5%;
    background: radial-gradient(circle, rgba(250, 248, 242, 0.78) 0%, rgba(220, 238, 239, 0.38) 45%, transparent 70%);
    filter: blur(85px);
    animation: ambientGlowBreathing 26s ease-in-out infinite alternate;
    animation-delay: -8s;
}

.ambient-glow-center {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(220, 238, 239, 0.45) 0%, rgba(47, 127, 130, 0.10) 45%, transparent 70%);
    filter: blur(95px);
    animation: ambientGlowBreathing 25s ease-in-out infinite alternate;
}

.ambient-glow-gallery {
    width: 600px;
    height: 600px;
    top: 5%;
    left: -8%;
    background: radial-gradient(circle, rgba(220, 238, 239, 0.46) 0%, rgba(250, 248, 242, 0.68) 50%, transparent 70%);
    filter: blur(85px);
    animation: ambientGlowBreathing 22s ease-in-out infinite alternate;
    animation-delay: -4s;
}

.ambient-glow-appointment {
    width: 660px;
    height: 660px;
    top: 15%;
    right: -8%;
    background: radial-gradient(circle, rgba(47, 127, 130, 0.15) 0%, rgba(220, 238, 239, 0.48) 42%, transparent 70%);
    filter: blur(90px);
    animation: ambientGlowBreathing 24s ease-in-out infinite alternate;
}

.ambient-glow-contact {
    width: 640px;
    height: 640px;
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(220, 238, 239, 0.48) 0%, rgba(47, 127, 130, 0.12) 40%, transparent 72%);
    filter: blur(85px);
    animation: ambientGlowBreathing 26s ease-in-out infinite alternate;
    animation-delay: -6s;
}

@keyframes ambientGlowBreathing {
    0% {
        transform: scale(0.94);
        opacity: 0.65;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.92;
    }
    100% {
        transform: scale(0.98);
        opacity: 0.72;
    }
}

/* Subtle Flowing Curved / Wave Shapes (Water, Cleanliness, Enamel) */
.ambient-enamel-wave {
    position: absolute;
    top: 8%;
    left: -20%;
    width: 140%;
    height: 340px;
    background: radial-gradient(ellipse 65% 35% at 50% 50%, rgba(220, 238, 239, 0.36) 0%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
    filter: blur(40px);
    border-radius: 40% 60% 65% 35% / 45% 45% 55% 55%;
    transform: rotate(-6deg);
    pointer-events: none;
    animation: enamelWaveDrift 24s ease-in-out infinite alternate;
}

.ambient-wave-reverse {
    top: auto;
    bottom: 5%;
    left: -10%;
    transform: rotate(5deg);
    animation: enamelWaveDriftReverse 26s ease-in-out infinite alternate;
}

.ambient-clean-swirl {
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(220, 238, 239, 0.38) 0%, rgba(250, 248, 242, 0.48) 45%, transparent 72%);
    filter: blur(55px);
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
    pointer-events: none;
    animation: cleanSwirlDrift 22s ease-in-out infinite alternate;
}

@keyframes enamelWaveDrift {
    0% {
        transform: rotate(-6deg) translate(-3%, -2%) scale(0.96);
        opacity: 0.55;
    }
    50% {
        transform: rotate(-4deg) translate(2%, 3%) scale(1.04);
        opacity: 0.85;
    }
    100% {
        transform: rotate(-7deg) translate(-1%, 4%) scale(0.98);
        opacity: 0.65;
    }
}

@keyframes enamelWaveDriftReverse {
    0% {
        transform: rotate(5deg) translate(3%, 2%) scale(0.95);
        opacity: 0.50;
    }
    50% {
        transform: rotate(3deg) translate(-2%, -3%) scale(1.05);
        opacity: 0.82;
    }
    100% {
        transform: rotate(6deg) translate(2%, -2%) scale(0.97);
        opacity: 0.60;
    }
}

@keyframes cleanSwirlDrift {
    0% {
        transform: translate(0, 0) scale(0.95);
        opacity: 0.60;
    }
    50% {
        transform: translate(-25px, -20px) scale(1.06);
        opacity: 0.88;
    }
    100% {
        transform: translate(20px, 15px) scale(0.98);
        opacity: 0.65;
    }
}

/* Translucent Floating Bubbles / Micro-Particles (Slow Upward Movement, 16–25s) */
.ambient-bubbles-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(220, 238, 239, 0.50) 50%, rgba(47, 127, 130, 0.20) 100%);
    border: 1px solid rgba(220, 238, 239, 0.7);
    box-shadow: 0 0 10px rgba(47, 127, 130, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    opacity: 0;
    will-change: transform, opacity;
}

.ambient-bubble.ab-1 {
    width: 7px;
    height: 7px;
    bottom: 5%;
    left: 14%;
    animation: bubbleUpwardDrift 18s ease-in-out infinite;
    animation-delay: 0s;
}

.ambient-bubble.ab-2 {
    width: 5px;
    height: 5px;
    bottom: 8%;
    left: 36%;
    animation: bubbleUpwardDrift 22s ease-in-out infinite;
    animation-delay: 4s;
}

.ambient-bubble.ab-3 {
    width: 8px;
    height: 8px;
    bottom: 3%;
    left: 65%;
    animation: bubbleUpwardDrift 20s ease-in-out infinite;
    animation-delay: 2s;
}

.ambient-bubble.ab-4 {
    width: 6px;
    height: 6px;
    bottom: 10%;
    left: 82%;
    animation: bubbleUpwardDrift 25s ease-in-out infinite;
    animation-delay: 7s;
}

.ambient-bubble.ab-5 {
    width: 5px;
    height: 5px;
    bottom: 6%;
    left: 48%;
    animation: bubbleUpwardDrift 19s ease-in-out infinite;
    animation-delay: 5s;
}

@keyframes bubbleUpwardDrift {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 0.65;
    }
    50% {
        transform: translateY(-130px) translateX(20px);
        opacity: 0.85;
    }
    85% {
        opacity: 0.45;
    }
    100% {
        transform: translateY(-260px) translateX(-15px);
        opacity: 0;
    }
}

/* Reduced Motion & Mobile Optimization */
@media (max-width: 768px) {
    .flow-gradient-canvas {
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .flow-blob-teal {
        width: 420px;
        height: 420px;
        filter: blur(50px);
    }
    .flow-blob-aqua {
        width: 450px;
        height: 450px;
        filter: blur(55px);
    }
    .flow-blob-ivory {
        display: none;
    }
    .ambient-radial-glow {
        filter: blur(45px);
    }
    .ambient-enamel-wave {
        filter: blur(25px);
    }
    .ambient-bubbles-field,
    .flow-bubbles-layer .bubble-4,
    .flow-bubbles-layer .bubble-5,
    .flow-bubbles-layer .bubble-6 {
        display: none;
    }
    .flow-wave-layer {
        filter: blur(40px);
        opacity: 0.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flow-gradient-canvas,
    .flow-blob,
    .flow-wave-layer,
    .flow-bubble,
    .ambient-radial-glow,
    .ambient-enamel-wave,
    .ambient-clean-swirl,
    .ambient-bubble,
    .dental-3d-card-viewport::before,
    .stage-tooth-aura,
    .stage-tooth-ripple,
    .aura-mesh-layer,
    .aura-orb,
    .aura-light-wave,
    .aura-dot,
    #about,
    #doctor,
    #treatments,
    .statement-section,
    #appointment {
        animation: none !important;
        transform: none !important;
    }
}

/* ================= MANDATORY FOOTER VISIBILITY & CONTRAST ================= */
.footer-editorial {
    position: relative !important;
    z-index: 20 !important;
    background: #123B4A !important;
    color: #DCEEEF !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

.footer-editorial .container,
.footer-editorial [class*="col-"],
.footer-editorial .footer-nav-col,
.footer-editorial .footer-sub-bar {
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-editorial h6,
.footer-editorial .footer-nav-col h6 {
    color: #FFFFFF !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

.footer-editorial .brand-title-text,
.footer-editorial .text-dark,
.footer-editorial a.text-dark {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.footer-editorial p,
.footer-editorial .text-muted,
.footer-editorial span.text-muted,
.footer-editorial div.text-muted,
.footer-editorial .footer-sub-bar,
.footer-editorial .footer-nav-col a,
.footer-editorial .footer-sub-bar a {
    color: #DCEEEF !important;
    opacity: 1 !important;
}

.footer-editorial .brand-subtitle-text,
.footer-editorial .text-primary,
.footer-editorial .tagline-marathi,
.footer-editorial .text-teal,
.footer-editorial .footer-nav-col a.text-primary {
    color: #8FD0D2 !important;
    opacity: 1 !important;
}

.footer-editorial a:hover,
.footer-editorial .footer-nav-col a:hover,
.footer-editorial .footer-sub-bar a:hover {
    color: #FFFFFF !important;
}

.footer-editorial .brand-wrap img {
    opacity: 1 !important;
    visibility: visible !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.4)) !important;
}

