/* Design System */
:root {
    --primary: #1E2D56;
    --primary-light: #2A3E75;
    --secondary: #808080;
    --accent: #3B82F6;
    --accent-light: #60A5FA;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --border-color: #E2E8F0;
    --hero-gradient: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --input-bg: #F8FAFC;
}

[data-theme="dark"] {
    --bg-light: #0F172A;
    --bg-white: #111827;
    --text-dark: #F8FAFC;
    --text-muted: #94A3B8;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --border-color: #334155;
    --hero-gradient: linear-gradient(135deg, #0F172A 0%, #111827 100%);
    --nav-bg: rgba(15, 23, 42, 0.8);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --input-bg: #1F2937;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Video Preloader Intro */
.video-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.video-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.video-preloader video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skip-btn-wrap {
    position: absolute;
    bottom: 40px;
    right: 105px;
    z-index: 100000;
}

#skip-intro {
    padding: 16px 36px;
    font-size: 1.15rem;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
}

p {
    text-align: justify;
}

ul {
    list-style: none;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

/* Typography */
.section-tag {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 45, 86, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 45, 86, 0.2);
}

.w-full {
    width: 100%;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    padding: 10px 0;
    background: var(--bg-white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="dark"] #navbar,
[data-theme="dark"] #navbar.scrolled {
    background: var(--bg-white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .logo-title {
    color: var(--white) !important;
}

[data-theme="dark"] .logo-subtitle {
    color: var(--accent-light) !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

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

.logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 1;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-dark);
}

/* White nav links when on dark hero */
.navbar-dark-hero .nav-links a:not(.btn) {
    color: #FFFFFF;
}

.navbar-dark-hero .menu-toggle .bar {
    background-color: #FFFFFF;
}

.navbar-dark-hero.scrolled .nav-links a:not(.btn) {
    color: rgba(220, 240, 255, 0.9);
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-header .section-tag {
    color: var(--white);
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(150deg, #F0F7FF 0%, #EAF4FF 50%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Soft decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.08);
    top: -100px;
    right: -100px;
    animation: blobFloat 10s ease-in-out infinite;
}

.hero-blob-2 {
    width: 350px;
    height: 350px;
    background: rgba(30, 45, 86, 0.05);
    bottom: -80px;
    left: -80px;
    animation: blobFloat 14s ease-in-out infinite reverse;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Full Screen Hero Styles */
.hero-fullscreen {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 0;
    justify-content: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 45, 86, 0.65) 0%, rgba(10, 15, 30, 0.75) 100%);
    z-index: 1;
}

.hero-content-fullscreen {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding-top: 80px;
}

.hero-text-center {
    max-width: 900px;
    margin: 0 auto;
}

.hero-doctor-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-doctor-badge h3 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-doctor-badge p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 2px 0 0 0;
    font-weight: 500;
}

.tagline-light {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
    backdrop-filter: blur(5px);
}

.text-white {
    color: #fff !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.highlight-light {
    color: #fff;
    background: linear-gradient(120deg, #60A5FA, #93C5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-desc-light {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 800px;
    margin: 0 auto 35px auto !important;
    font-size: 1.15rem;
    line-height: 1.8;
}

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

.btn-glass {
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(8px);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: #fff !important;
}

.stats-glass {
    margin: 50px auto 0 auto;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 25px 50px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(12px) !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.stats-glass .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
}

.text-light {
    color: rgba(255,255,255,0.8) !important;
}

.bg-light-divider {
    background: rgba(255,255,255,0.2) !important;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-text h1 {
    font-size: 3.4rem;
    margin-bottom: 22px;
    line-height: 1.15;
    color: var(--text-dark);
    word-wrap: break-word;
}

.highlight {
    color: var(--accent);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: default;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 3px;
    z-index: -1;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    width: fit-content;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 25px;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    display: inline;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    text-align: center;
}

/* Image side */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(30, 45, 86, 0.15),
        0 10px 30px rgba(59, 130, 246, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
    border: 4px solid #FFFFFF;
    width: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-16px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-img {
    width: 100%;
    aspect-ratio: 16/10;
    display: block;
    object-fit: cover;
}

/* Floating badges */
.hero-badge {
    position: absolute;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 10;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.1);
    animation: badgeFloat 4s ease-in-out infinite;
}

.hero-badge i {
    color: var(--accent);
    font-size: 1.1rem;
}

.badge-top {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.badge-bottom {
    bottom: 20px;
    right: 20px;
    animation-delay: -2s;
    gap: 12px;
}

.badge-bottom strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.88rem;
}

.badge-bottom small {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tagline {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--text-dark);
    /* Fallback */
    word-wrap: break-word;
}

.highlight {
    color: var(--accent);
    /* Fallback */
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: default;
    display: inline-block;
    padding-bottom: 2px;
}

.highlight::before {
    content: '\f891';
    /* fa-wand-magic-sparkles */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 1.2rem;
    color: #FBBF24;
    animation: sparkle 2s infinite;
    opacity: 0;
}

.highlight:hover::before {
    opacity: 1;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3) rotate(20deg);
        opacity: 1;
    }
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    z-index: -1;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
}

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

.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.service-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
    z-index: 2;
    pointer-events: none;
}

.service-box:hover::after {
    left: 140%;
    transition: all 0.7s ease-in-out;
}

.service-box:hover::before {
    opacity: 0.05;
}

.service-box:hover h3 {
    color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-box:hover .service-icon {
    background: var(--accent);
    color: var(--white);
    animation: tooth-pulse 1s infinite;
}

@keyframes tooth-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-box p {
    color: var(--text-muted);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text p {
    text-align: justify;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 45, 86, 0.4);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clinic-features {
    margin: 30px 0;
}

.clinic-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.clinic-features li i {
    color: var(--accent);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--primary);
    padding: 80px;
    border-radius: 40px;
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-items {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--accent);
}

.info-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
}

.map-card {
    background: var(--bg-white);
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 470px;
}

.map-card iframe {
    border-radius: 20px;
    width: 100%;
    height: 100%;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.footer-contact-item {
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-contact-item i {
    color: var(--accent);
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-dark);
    outline: none;
}

.btn-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    text-align: center;
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.appear {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Stagger Delay */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .logo img {
        height: 52px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.btn) {
        font-size: 0.95rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .contact-container {
        padding: 50px;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .video-preloader {
        display: none !important;
    }

    .logo img {
        height: 50px;
    }

    #navbar {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        z-index: 1000;
        padding: 40px;
        flex-shrink: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
    }

    .nav-actions .btn {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content,
    .home-about-grid,
    .about-container,
    .contact-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .badge-top,
    .badge-bottom {
        display: none;
    }

    .hero-stats {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        padding: 16px 10px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        padding: 0 8px;
        text-align: center;
    }

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

    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p,
    .hero-desc-light {
        margin: 0 auto 25px;
        font-size: 0.98rem;
        text-align: center !important;
        line-height: 1.6;
    }

    .hero-doctor-badge {
        padding: 10px 20px;
        border-radius: 25px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }

    .hero-doctor-badge h3 {
        font-size: 1.35rem !important;
    }

    .hero-doctor-badge p {
        font-size: 0.85rem !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .contact-container {
        padding: 40px 25px;
        gap: 30px;
        border-radius: 30px;
    }

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

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .info-items {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .info-item {
        margin-bottom: 0;
        background: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 15px;
    }

    .info-item i {
        font-size: 1.5rem;
    }

    .map-card {
        height: 350px;
    }

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

    .experience-badge {
        right: 0;
        bottom: 0;
        padding: 15px;
        border-radius: 20px;
    }

    .experience-badge .years {
        font-size: 1.8rem;
    }

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

    .page-header {
        padding: 140px 0 60px;
    }

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

/* =============================================
   DARK HERO SECTION — Navy/Teal Theme
   Matching reference design color palette
   ============================================= */

/* Dark hero overrides */
.hero-dark {
    background: linear-gradient(135deg, #071120 0%, #0A1628 45%, #0D1F3C 100%) !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
}

/* Radial glow behind image area */
.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(0, 200, 200, 0.08) 0%, rgba(0, 100, 160, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Corner glow accent (teal) */
.hero-dark::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 200, 200, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}


/* Nav links white on dark hero */
.hero-dark+* #navbar .nav-links a:not(.btn),
.hero-dark-nav .nav-links a:not(.btn) {
    color: #fff;
}

/* Animated floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 200, 0.6), transparent);
    animation: floatParticle linear infinite;
    opacity: 0;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: -4s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 55%;
    animation-duration: 14s;
    animation-delay: -8s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 75%;
    animation-duration: 20s;
    animation-delay: -2s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-duration: 16s;
    animation-delay: -6s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(110vh);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

/* Hero content sits above particles */
.hero-dark .hero-content {
    position: relative;
    z-index: 1;
}

/* Tagline badge */
.tagline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 200, 0.12);
    border: 1px solid rgba(0, 200, 200, 0.3);
    color: #00C8C8;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.tagline-dark i {
    color: #00C8C8;
    font-size: 0.75rem;
}

/* Hero title */
.hero-title-dark {
    font-size: 3.6rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.1 !important;
    margin-bottom: 22px !important;
    word-wrap: break-word;
}

/* Teal highlighted word */
.highlight-teal {
    color: #00C8C8;
    display: inline-block;
}

/* Description */
.hero-desc-dark {
    color: rgba(200, 220, 240, 0.75) !important;
    font-size: 1.05rem !important;
    max-width: 490px;
    line-height: 1.7;
    margin-bottom: 28px !important;
}

/* Treatment tag pills */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.hero-tag {
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    font-size: 0.82rem;
    color: rgba(220, 240, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
    cursor: default;
    transition: all 0.25s ease;
    font-family: 'Outfit', sans-serif;
}

.hero-tag:hover {
    background: rgba(0, 200, 200, 0.15);
    border-color: rgba(0, 200, 200, 0.5);
    color: #00C8C8;
    transform: translateY(-2px);
}

/* Buttons */
.hero-btns-dark {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Teal filled button */
.btn-teal {
    background: linear-gradient(135deg, #00C8C8 0%, #00A0A0 100%);
    color: #071120;
    font-weight: 700;
    border: none;
    padding: 13px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 200, 200, 0.35);
}

.btn-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 200, 200, 0.5);
    color: #071120;
}

/* Dark outline button */
.btn-outline-dark {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

/* Stats row */
.hero-stats-dark {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item-dark {
    display: flex;
    flex-direction: column;
}

.stat-number-dark {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #FFFFFF;
    line-height: 1;
}

.stat-plus-dark {
    font-size: 1.5rem;
    font-weight: 800;
    color: #00C8C8;
    display: inline;
}

.stat-label-dark {
    font-size: 0.78rem;
    color: rgba(200, 220, 240, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Image side */
.hero-img-dark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow ring behind image */
.hero-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 200, 0.12) 0%, rgba(0, 80, 160, 0.08) 50%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }
}

/* Dark card for the image */
.hero-card-dark {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 24px !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite !important;
}

/* The teeth image itself */
.hero-img-3d {
    width: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.05) contrast(1.1) drop-shadow(0 0 20px rgba(0, 200, 200, 0.3));
}

/* Responsive overrides */
@media (max-width: 768px) {
    .hero-title-dark {
        font-size: 2.2rem !important;
    }

    .hero-glow-ring {
        width: 260px;
        height: 260px;
    }

    .hero-stats-dark {
        gap: 20px;
    }

    .stat-number-dark {
        font-size: 1.5rem;
    }

    .hero-btns-dark {
        flex-direction: column;
    }

    .hero-btns-dark .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* =============================================
   Legacy bg-decor (kept for other sections)
   ============================================= */
.bg-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    color: var(--white);
    animation: floating-bg 15s infinite ease-in-out;
}

@keyframes floating-bg {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(50px, 100px) rotate(15deg);
    }

    66% {
        transform: translate(-40px, 50px) rotate(-15deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.decor-1 {
    top: 10%;
    left: 5%;
    font-size: 8rem;
}

.decor-2 {
    top: 30%;
    right: 10%;
    font-size: 10rem;
    animation-delay: -3s;
}

.decor-3 {
    bottom: 20%;
    left: 15%;
    font-size: 7rem;
    animation-delay: -7s;
}

.decor-4 {
    top: 60%;
    left: 40%;
    font-size: 6rem;
    animation-delay: -10s;
}

[data-theme="dark"] .bg-decor {
    opacity: 0.02;
    color: var(--accent);
}