/* ========================================
   DentPlus - Premium Agency Style
   Organic, Handcrafted, Less AI
   ======================================== */

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --accent-light: #e0f2fe;

    --text: #1a1a2e;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

ul { list-style: none; }

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

/* ========================================
   Custom Cursor
   ======================================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease), width 0.3s, height 0.3s, border 0.3s;
    opacity: 0.5;
}

.cursor.active {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--accent);
    mix-blend-mode: normal;
}

.cursor-follower.active {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

@media (max-width: 1024px) {
    .cursor, .cursor-follower { display: none; }
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

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

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

.preloader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--accent);
}

.tooth-svg {
    width: 100%;
    height: 100%;
}

.tooth-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawTooth 2s var(--ease) forwards;
}

@keyframes drawTooth {
    to { stroke-dashoffset: 0; }
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 32px;
}

.preloader-text span {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s var(--ease) forwards;
}

.preloader-text span:nth-child(1) { animation-delay: 0.1s; }
.preloader-text span:nth-child(2) { animation-delay: 0.15s; }
.preloader-text span:nth-child(3) { animation-delay: 0.2s; }
.preloader-text span:nth-child(4) { animation-delay: 0.25s; }
.preloader-text span:nth-child(5) { animation-delay: 0.3s; color: var(--accent); }
.preloader-text span:nth-child(6) { animation-delay: 0.35s; color: var(--accent); }
.preloader-text span:nth-child(7) { animation-delay: 0.4s; color: var(--accent); }
.preloader-text span:nth-child(8) { animation-delay: 0.45s; color: var(--accent); }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    animation: progress 1.5s var(--ease) forwards;
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

/* ========================================
   Noise Texture
   ======================================== */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    width: 40px;
    height: 40px;
    color: var(--accent);
    transition: transform 0.4s var(--ease);
}

.logo:hover .logo-mark {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

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

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.nav-link span {
    display: block;
    transition: transform 0.4s var(--ease);
}

.nav-link span::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--accent);
}

.nav-link:hover span {
    transform: translateY(-100%);
}

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: background 0.3s;
}

.header-phone:hover {
    background: var(--bg-alt);
}

.phone-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 12px;
}

.phone-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s var(--ease);
}

.btn-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-cta-icon {
    font-size: 12px;
    transition: transform 0.4s var(--ease);
}

.btn-cta:hover .btn-cta-icon {
    transform: translate(3px, -3px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 24px;
    height: 14px;
    position: relative;
}

.menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: all 0.4s var(--ease);
}

.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { bottom: 0; }

.menu-toggle.active .menu-icon span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .menu-icon span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
}

.mobile-menu.active {
    pointer-events: auto;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: var(--bg);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.mobile-menu.active .mobile-menu-bg {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 24px 40px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    padding: 12px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease);
    transition-delay: calc(var(--i) * 0.08s);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:hover {
    color: var(--accent);
}

.mobile-footer {
    margin-top: auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease) 0.4s;
}

.mobile-menu.active .mobile-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.mobile-social a {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s var(--ease);
}

.mobile-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #fef3c7 100%);
    opacity: 0.7;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 32px;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    margin-right: 16px;
}

.word.accent {
    color: var(--accent);
    font-style: italic;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
}

.btn-primary:hover .btn-bg {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    position: relative;
}

.btn-underline {
    position: absolute;
    bottom: 16px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--text);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.btn-secondary:hover .btn-underline {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.3));
    border-radius: var(--radius-xl);
}

.floating-badge {
    position: absolute;
    background: var(--bg);
    padding: 16px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.badge-rating {
    top: 40px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.badge-patients {
    bottom: 80px;
    left: -30px;
    animation: float 5s ease-in-out infinite reverse;
}

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

.badge-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
}

.badge-value {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

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

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding: 24px 32px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}

.stat-txt {
    font-size: 13px;
    color: var(--text-light);
}

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

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.scroll-hint span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ========================================
   Soft Transition Section
   ======================================== */
.section-transition {
    padding: 48px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.transition-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    max-width: 200px;
}

.transition-badges {
    display: flex;
    align-items: center;
    gap: 40px;
}

.transition-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    padding: 12px 20px;
    background: var(--bg-alt);
    border-radius: 50px;
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease);
}

.transition-badge i {
    font-size: 16px;
    color: var(--accent);
}

.transition-badge:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

/* ========================================
   Section Styles
   ======================================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.section-label.light {
    color: rgba(255,255,255,0.6);
}

.section-label.light .label-line {
    background: rgba(255,255,255,0.3);
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--border);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -1px;
}

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

.text-accent {
    color: var(--accent);
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 500px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 64px;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 120px 0;
    background: var(--bg);
}

.section-intro {
    margin-bottom: 64px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.services-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
}

.service-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--border);
    transform: translateY(-5px);
}

.service-card.service-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 0;
    background: var(--text);
}

.service-card.service-wide {
    grid-column: span 2;
    padding: 0;
    background: var(--text);
}

.service-card .service-bg {
    position: absolute;
    inset: 0;
}

.service-card .service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.5s, transform 0.5s;
}

.service-card:hover .service-bg img {
    opacity: 0.5;
    transform: scale(1.05);
}

.service-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--bg);
}

.service-num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.5;
    margin-bottom: 16px;
}

.service-content h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.service-tags span {
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bg);
    transition: gap 0.3s var(--ease);
}

.service-link:hover {
    gap: 14px;
}

/* Small service cards */
.service-card:not(.service-large):not(.service-wide) .service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}

.service-card:not(.service-large):not(.service-wide):hover .service-icon {
    background: var(--accent);
    color: var(--bg);
    transform: rotate(-5deg) scale(1.1);
}

.service-card:not(.service-large):not(.service-wide) h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.service-card:not(.service-large):not(.service-wide) p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-arrow {
    width: 44px;
    height: 44px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 14px;
    transition: all 0.4s var(--ease);
    position: absolute;
    bottom: 32px;
    right: 32px;
}

.service-card:hover .service-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    transform: rotate(45deg);
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.services-cta span {
    color: var(--text-light);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s var(--ease);
}

.link-arrow:hover {
    gap: 14px;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--bg-alt);
}

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

.about-media {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image-float {
    position: absolute;
    right: -60px;
    bottom: -40px;
    width: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 6px solid var(--bg);
}

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

.about-exp-badge {
    position: absolute;
    top: 40px;
    left: -40px;
    background: var(--accent);
    color: var(--bg);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.3);
}

.exp-num {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.exp-num sup {
    font-size: 24px;
}

.exp-txt {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.feature-item:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 13px;
    color: var(--text-light);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: var(--text);
}

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

.stat-card {
    text-align: center;
    padding: 32px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--bg);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ========================================
   Doctors Section
   ======================================== */
.doctors {
    padding: 120px 0;
    background: var(--bg);
}

.doctors-slider {
    position: relative;
}

.doctors-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.doctor-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease);
}

.doctor-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.doctor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-social {
    display: flex;
    gap: 12px;
}

.doctor-social a {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.doctor-card:hover .doctor-social a {
    transform: translateY(0);
    opacity: 1;
}

.doctor-card:hover .doctor-social a:nth-child(2) {
    transition-delay: 0.1s;
}

.doctor-social a:hover {
    background: var(--accent);
    color: var(--bg);
}

.doctor-info {
    padding: 24px;
}

.doctor-info h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.doctor-info > span {
    display: block;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 16px;
}

.doctor-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.doctor-stats i {
    color: var(--accent);
    margin-right: 4px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-btn {
    width: 52px;
    height: 52px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 16px;
    pointer-events: auto;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 120px 0;
    background: var(--bg-alt);
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.testimonials-rating {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.rating-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.rating-stars {
    color: #fbbf24;
    font-size: 18px;
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.rating-count {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.google-logo {
    height: 24px;
    object-fit: contain;
}

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

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.testimonial-card.featured {
    background: var(--text);
    border-color: var(--text);
}

.testimonial-card.featured .testimonial-quote,
.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .author-info strong {
    color: var(--bg);
}

.testimonial-card.featured .author-info span {
    color: rgba(255,255,255,0.6);
}

.testimonial-quote {
    color: var(--accent);
    font-size: 32px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 28px;
}

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

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 15px;
    color: var(--text);
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.author-rating {
    margin-left: auto;
    color: #fbbf24;
    font-size: 14px;
}

/* ========================================
   Appointment Section
   ======================================== */
.appointment {
    padding: 120px 0;
    background: var(--text);
    position: relative;
    overflow: hidden;
}

.appointment-bg {
    position: absolute;
    inset: 0;
}

.appointment-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.appointment-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.appointment-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.appointment-info {
    color: var(--bg);
}

.appointment-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.appointment-title span {
    color: var(--accent);
}

.appointment-desc {
    font-size: 17px;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 40px;
}

.appointment-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
}

.perk-item i {
    color: var(--accent);
    font-size: 18px;
}

.appointment-contact {
    display: flex;
    gap: 16px;
}

.contact-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    transition: background 0.3s;
}

.contact-box:hover {
    background: rgba(255,255,255,0.15);
}

.contact-box.whatsapp {
    background: rgba(37, 211, 102, 0.2);
}

.contact-box.whatsapp:hover {
    background: rgba(37, 211, 102, 0.3);
}

.contact-box .contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-box .contact-text span {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

.contact-box .contact-text strong {
    font-size: 16px;
}

/* Appointment Form */
.appointment-form-wrap {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--text-light);
}

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

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-alt);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    transition: all 0.3s var(--ease);
}

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

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s var(--ease);
}

.form-group textarea + label {
    top: 18px;
    transform: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 6px;
    left: 16px;
    font-size: 11px;
    color: var(--accent);
    background: var(--bg);
    padding: 0 4px;
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    margin-top: 12px;
}

.form-submit:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-submit .btn-bg {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
}

.form-submit:hover .btn-bg {
    transform: translateY(0);
}

.form-submit .btn-text,
.form-submit .btn-arrow {
    position: relative;
    z-index: 1;
}

/* ========================================
   Location Section - 2025 Modern Style
   ======================================== */
.location-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.location-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, var(--border) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    max-width: 500px;
    margin: 16px auto 0;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

/* Map Container */
.map-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 520px;
}

.map-frame {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.5s ease;
}

.map-container:hover .map-frame iframe {
    filter: grayscale(0%) contrast(1);
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.1) 100%);
    pointer-events: none;
}

/* Floating Location Card on Map */
.map-location-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-width: 280px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    transition: all 0.4s var(--ease);
}

.map-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

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

.location-pulse {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.location-card-header span {
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-location-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.map-location-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.directions-btn:hover {
    background: var(--accent-dark);
    transform: translateX(4px);
}

/* Contact Info Side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Quick Contact Cards */
.quick-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

.quick-contact-card:hover {
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.1);
}

.quick-contact-card.whatsapp:hover {
    border-color: #25d366;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.15);
}

.qc-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
}

.quick-contact-card:hover .qc-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.quick-contact-card.whatsapp .qc-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.quick-contact-card.whatsapp:hover .qc-icon {
    background: #25d366;
    color: white;
}

.qc-content {
    flex: 1;
}

.qc-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.qc-content strong {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.qc-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease);
}

.quick-contact-card:hover .qc-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.quick-contact-card.whatsapp:hover .qc-arrow {
    color: #25d366;
}

/* Working Hours Card */
.working-hours-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.wh-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.wh-header i {
    font-size: 20px;
    color: var(--accent);
}

.wh-header h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.wh-list {
    list-style: none;
}

.wh-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.wh-list li:last-child {
    border-bottom: none;
}

.wh-list li span {
    color: var(--text-light);
    font-size: 14px;
}

.wh-list li strong {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.wh-list li strong.closed {
    color: #ef4444;
}

.wh-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.wh-badge i {
    font-size: 18px;
    color: var(--accent);
}

.wh-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

/* Branch Selector */
.branch-selector {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.branch-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.branch-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s var(--ease);
}

.branch-tag i {
    font-size: 10px;
}

.branch-tag:hover,
.branch-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.branch-tag.active {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #1e2a4a 0%, #0f172a 50%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 17.32v34.64L30 60 0 51.96V17.32L30 0z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.5;
}

.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo .logo-mark {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

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

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--bg);
}

.logo-tagline {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 320px;
}

.footer-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.google-logo-small {
    height: 28px;
    object-fit: contain;
}

.google-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.google-rating .stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fbbf24;
    font-size: 14px;
}

.google-rating .stars span {
    color: var(--bg);
    font-weight: 700;
    margin-left: 6px;
}

.google-rating .rating-text {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: all 0.3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--bg);
    transform: translateX(4px);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.footer-links a:hover::before {
    width: 12px;
}

.branch-main {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(14, 165, 233, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Newsletter */
.footer-newsletter {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.newsletter-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 6px;
}

.newsletter-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: var(--bg);
    font-size: 15px;
    transition: all 0.3s var(--ease);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.12);
    border-color: var(--accent);
}

.newsletter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.4s var(--ease);
}

.newsletter-btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}

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

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-3px);
}

/* ========================================
   WhatsApp Float
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: #25d366;
    color: var(--bg);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.4s var(--ease);
}

.whatsapp-float i {
    font-size: 22px;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 16px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

/* ========================================
   Animations
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ========================================
   Enhanced Animations & Interactions
   ======================================== */

/* Floating Dental Particles */
.dental-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dental-particle {
    position: absolute;
    font-size: 20px;
    color: var(--accent);
    opacity: 0.08;
    animation: floatParticle 20s linear infinite;
}

.dental-particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.dental-particle:nth-child(2) { left: 15%; animation-delay: -4s; font-size: 16px; }
.dental-particle:nth-child(3) { left: 25%; animation-delay: -8s; font-size: 24px; }
.dental-particle:nth-child(4) { left: 40%; animation-delay: -12s; }
.dental-particle:nth-child(5) { left: 60%; animation-delay: -6s; font-size: 18px; }
.dental-particle:nth-child(6) { left: 75%; animation-delay: -10s; }
.dental-particle:nth-child(7) { left: 85%; animation-delay: -14s; font-size: 22px; }
.dental-particle:nth-child(8) { left: 95%; animation-delay: -2s; font-size: 14px; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.08;
    }
    90% {
        opacity: 0.08;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Pulse Icon Animation */
.pulse-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Service Card Hover Glow */
.service-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent), transparent, var(--accent));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    filter: blur(15px);
}

.service-card:hover::before {
    opacity: 0.3;
}

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(90deg, var(--text), var(--accent), var(--text));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s linear infinite;
}

@keyframes textShimmer {
    to { background-position: 200% center; }
}

/* Breathing Card Effect */
.breathing-card {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
    50% { transform: scale(1.02); box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15); }
}

/* Icon Float Animation */
.service-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

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

/* Wiggle Animation for attention */
.wiggle {
    animation: wiggle 2.5s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* Gradient Border Animation */
.gradient-border {
    position: relative;
}

.gradient-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent), #22d3ee, var(--accent), #22d3ee);
    background-size: 300% 300%;
    animation: gradientBorder 4s ease infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::after {
    opacity: 1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--accent) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Typing Cursor Effect */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #22d3ee);
    z-index: 10002;
    transition: width 0.1s ease-out;
}

/* Tilt Card Effect */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

/* Sparkle Animation */
.sparkle {
    position: relative;
}

.sparkle::before,
.sparkle::after {
    content: '✦';
    position: absolute;
    font-size: 12px;
    color: var(--accent);
    animation: sparkleAnim 2s ease-in-out infinite;
}

.sparkle::before {
    top: -10px;
    right: -10px;
    animation-delay: 0s;
}

.sparkle::after {
    bottom: -10px;
    left: -10px;
    animation-delay: 1s;
}

@keyframes sparkleAnim {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* Heartbeat for CTA buttons */
.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.05); }
    28% { transform: scale(1); }
    42% { transform: scale(1.05); }
    70% { transform: scale(1); }
}

/* Reveal on Scroll Enhanced */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for lists */
.stagger-item {
    opacity: 0;
    transform: translateX(-20px);
}

.stagger-item.visible {
    animation: staggerIn 0.5s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Glowing Button */
.glow-btn {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.4); }
    50% { box-shadow: 0 0 40px rgba(14, 165, 233, 0.6), 0 0 60px rgba(14, 165, 233, 0.3); }
}

/* Interactive Tooth Icon */
.tooth-bounce {
    display: inline-block;
    animation: toothBounce 2s ease-in-out infinite;
}

@keyframes toothBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

/* Stats Number Counter Animation */
.stat-number {
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.15);
    color: var(--accent);
}

/* Doctor Card Hover Enhancement */
.doctor-card {
    transition: all 0.5s var(--ease);
}

.doctor-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

/* Testimonial Card Float */
.testimonial-card {
    transition: all 0.5s var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Form Input Focus Animation */
.form-control:focus {
    transform: translateY(-2px);
}

/* WhatsApp Button Attention */
.whatsapp-float {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-float:hover {
    animation: none;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border-light) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1200px) {
    .services-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.service-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .doctors-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav, .header-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-layout,
    .about-layout,
    .appointment-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-main {
        text-align: center;
        order: 2;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

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

    .hero-visual {
        order: 1;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        min-height: 400px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-wrap {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 16px;
    }

    .floating-badge {
        display: none;
    }

    .transition-content {
        flex-direction: column;
        gap: 20px;
    }

    .transition-line {
        display: none;
    }

    .transition-badges {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .transition-badge {
        justify-content: center;
        width: 100%;
    }

    .services-bento {
        grid-template-columns: 1fr;
    }

    .service-card.service-large,
    .service-card.service-wide {
        grid-column: span 1;
    }

    .about-image-float,
    .about-exp-badge {
        display: none;
    }

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

    .slider-nav {
        display: none;
    }

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

    .form-group.full {
        grid-column: span 1;
    }

    .appointment-contact {
        flex-direction: column;
    }

    .location-section {
        padding: 80px 0;
    }

    .map-container {
        min-height: 350px;
    }

    .map-location-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
        padding: 20px;
    }

    .quick-contact-card {
        padding: 16px 20px;
    }

    .qc-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .qc-content strong {
        font-size: 14px;
    }

    .branch-tags {
        gap: 8px;
    }

    .branch-tag {
        padding: 8px 14px;
        font-size: 12px;
    }

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

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

    .footer-bottom .container {
        flex-direction: column;
        gap: 16px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
    }
}
