/* ===== MODERN ADVANCED CSS ===== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #14b8a6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    
    --light: #f8fafc;
    --light-dark: #e2e8f0;
    --light-darker: #cbd5e1;
    
    --white: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --glass: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.1);
    
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.tooth-loader {
    font-size: 4rem;
    color: var(--primary);
    animation: toothPulse 1.5s ease-in-out infinite;
}

.preloader-content p {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.1rem;
}

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

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    z-index: 10000;
    transition: opacity 0.3s, transform 0.1s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transition: all 0.1s;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot,
    .cursor-outline {
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1.2rem 0;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.logo-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

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

.logo-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-call-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-call-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s;
}

/* Notice Bar */
.notice-bar {
    background: linear-gradient(90deg, #ff4d6d, #ffbe0b, #3a86ff, #8338ec);
    padding: 1rem 2rem;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    animation: slideDown 0.5s ease;
}

.notice-bar p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.notice-bar strong {
    font-weight: 700;
    text-decoration: underline;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
    padding-top: 80px;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-darker);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-darker);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.3rem 2.5rem;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin: 0 auto 0.5rem;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

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

.scroll-indicator p {
    font-size: 0.85rem;
    color: var(--light-darker);
    font-weight: 500;
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.image-placeholder i {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    /* z-index: 2; */
}

.floating-card {
    position: absolute;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

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

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    right: -10%;
}

.card-2 {
    bottom: 10%;
    left: -10%;
    animation-delay: 1.5s;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.dentist-card {
    background: var(--gradient-1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow-xl);
}

.dentist-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.dentist-avatar i {
    font-size: 2.5rem;
    color: var(--white);
}

.dentist-info h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.dentist-degree {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.dentist-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--light-dark);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.05);
    font-family: 'Playfair Display', serif;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-dark);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    position: relative;
    height: 300px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-image.before {
    background: var(--gradient-2);
}

.gallery-image.after {
    background: var(--gradient-4);
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.gallery-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.gallery-badge.success {
    background: rgba(16, 185, 129, 0.8);
}

.gallery-content {
    padding: 2rem;
}

.gallery-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.gallery-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.result-card {
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.result-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.result-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.result-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.result-features span {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.gallery-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--light);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-dark);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 1.8rem;
    color: var(--white);
}

.testimonial-meta h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    right: 0;
    font-size: 3rem;
    color: rgba(99, 102, 241, 0.1);
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

.rating-summary {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.rating-score .score {
    font-size: 4rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 1rem;
}

.stars-large {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.rating-score p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Appointment Section */
.appointment-section {
    background: var(--gradient-1);
    color: var(--white);
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.appointment-info {
    display: flex;
    gap: 2rem;
}

.appointment-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.appointment-icon i {
    font-size: 2.5rem;
}

.appointment-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hour-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.day {
    font-weight: 600;
    font-size: 1.1rem;
}

.time {
    color: rgba(255, 255, 255, 0.8);
}

.appointment-cta {
    text-align: center;
}

.appointment-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.appointment-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.info-content h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.info-content p,
.info-content a {
    /* color: var(--text-light); */
    line-height: 1.8;
    text-decoration: none;
}

.info-content a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-brand p {
    color: var(--light-darker);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-contact li {
    color: var(--light-darker);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: var(--light-darker);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.powered-by {
    font-size: 0.9rem;
}

.powered-by a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.powered-by a:hover {
    text-decoration: underline;
    color: var(--secondary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.whatsapp-text {
    position: absolute;
    right: 75px;
    background: var(--dark);
    color: var(--white);
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius);
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .contact-grid,
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid,
    .gallery-grid,
    .testimonials-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .notice-bar {
        padding: 0.8rem 1rem;
        margin-top: 70px;
    }
    
    .notice-bar p {
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .services-grid,
    .gallery-grid,
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        min-height: 85vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 250px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .notice-bar {
        padding: 0.7rem 0.8rem;
        margin-top: 65px;
    }
    
    .notice-bar p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-number {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .appointment-content {
        gap: 2rem;
    }
    
    .appointment-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .appointment-cta h2 {
        font-size: 1.8rem;
    }
    
    .appointment-cta p {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .whatsapp-float,
    .scroll-top {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
    }
    
    .whatsapp-float {
        right: 1.5rem;
    }
    
    .scroll-top {
        left: 1.5rem;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* Extra small devices (portrait phones, less than 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .notice-bar p {
        font-size: 0.8rem;
    }
}

.dentist-avatar {
    width: 120x;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;   /* optional */
    background: #f3f3f3;
    flex-shrink: 0;
}

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




/* ============================================================
   SWABOOT CHATBOT — Swarna Dental Care
   ============================================================ */

/* Launcher Button */
.swaboot-launcher {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(99,102,241,0.45);
    z-index: 1000;
    transition: var(--transition);
}

.swaboot-launcher:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(99,102,241,0.55);
}

.swaboot-launcher .swaboot-icon-open,
.swaboot-launcher .swaboot-icon-close {
    color: #fff;
    font-size: 1.4rem;
    position: absolute;
    transition: opacity 0.25s, transform 0.3s;
}

.swaboot-launcher .swaboot-icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.swaboot-launcher.swaboot-open .swaboot-icon-open {
    opacity: 0;
    transform: rotate(90deg);
}

.swaboot-launcher.swaboot-open .swaboot-icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Badge */
.swaboot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Chat Window */
.swaboot-window {
    position: fixed;
    bottom: 10rem;
    right: 2rem;
    width: 370px;
    max-height: 540px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(99,102,241,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: scale(0.88) translateY(16px);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.swaboot-window.swaboot-visible {
    opacity: 1;
    pointer-events: all;
    transform: scale(1) translateY(0);
}

/* Header */
.swaboot-header {
    background: var(--gradient-primary);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.swaboot-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.swaboot-avatar-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.swaboot-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid #fff;
    animation: swabootPulse 2s infinite;
}

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

.swaboot-header-info {
    flex: 1;
}

.swaboot-header-info h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.swaboot-header-info span {
    color: rgba(255,255,255,0.75);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.swaboot-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.swaboot-close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Messages Area */
.swaboot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
    background: #f8fafc;
}

.swaboot-messages::-webkit-scrollbar { width: 4px; }
.swaboot-messages::-webkit-scrollbar-track { background: transparent; }
.swaboot-messages::-webkit-scrollbar-thumb {
    background: var(--light-dark);
    border-radius: 2px;
}

/* Message Rows */
.swaboot-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: swabootFadeUp 0.28s ease;
}

@keyframes swabootFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.swaboot-row-user {
    flex-direction: row-reverse;
}

.swaboot-bot-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--light-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.swaboot-user-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.75rem;
}

/* Bubbles */
.swaboot-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.845rem;
    line-height: 1.6;
}

.swaboot-bubble-bot {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--light-dark);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.swaboot-bubble-bot a {
    color: var(--primary);
    font-weight: 600;
}

.swaboot-bubble-user {
    background: var(--gradient-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: var(--shadow);
}

/* Typing Indicator */
.swaboot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    min-width: 56px;
}

.swaboot-typing span {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: swabootBounce 1.2s infinite;
}

.swaboot-typing span:nth-child(2) { animation-delay: 0.2s; }
.swaboot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes swabootBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%            { transform: translateY(-7px); }
}

/* Timestamp */
.swaboot-timestamp {
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin: 4px 0;
}

/* Quick Reply Buttons */
.swaboot-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 4px 36px;
    animation: swabootFadeUp 0.3s ease;
}

.swaboot-qr-btn {
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.swaboot-qr-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Input Area */
.swaboot-input-wrap {
    padding: 12px 14px;
    border-top: 1px solid var(--light-dark);
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    flex-shrink: 0;
}

.swaboot-input {
    flex: 1;
    border: 1.5px solid var(--light-dark);
    border-radius: 22px;
    padding: 9px 15px;
    font-size: 0.845rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    outline: none;
    transition: var(--transition-fast);
    background: var(--light);
}

.swaboot-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.swaboot-input::placeholder {
    color: var(--text-muted);
}

.swaboot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.swaboot-send:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hint tooltip */
.swaboot-hint {
    position: fixed;
    bottom: 9rem;
    right: 5.5rem;
    background: var(--dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    animation: swabootFadeUp 0.4s ease;
    z-index: 998;
    pointer-events: none;
}

.swaboot-hint::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right: none;
    border-left-color: var(--dark);
}

/* Responsive */
@media (max-width: 480px) {
    .swaboot-window {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 9.5rem;
        max-height: 480px;
    }

    .swaboot-launcher {
        right: 1.5rem;
        bottom: 5rem;
        width: 52px;
        height: 52px;
    }

    .swaboot-hint {
        right: 4.5rem;
        bottom: 8.5rem;
    }
}

