/* ==========================================================================
   MO DENTAL CLINIC - PREMIUM DENTAL DESIGN SYSTEM (2026)
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #009a8e;        /* Brand Logo Teal */
    --primary-rgb: 0, 154, 142;
    --primary-light: #00b8aa;
    --primary-dark: #006e65;
    --accent: #D4AF37;         /* Champagne Gold */
    --accent-rgb: 212, 175, 55;
    --accent-light: #E5C35D;
    --accent-dark: #A9861E;
    --accent-gold-pale: #F7E7C4;
    
    --bg-light: #FFFFFF;       /* Pure White Background */
    --bg-white: #FFFFFF;
    --bg-dark: #002e2a;        /* Brand Dark Slate */
    --bg-card: #FFFFFF;
    
    --text-main: #1C2B2E;      /* Soft Charcoal Teal */
    --text-muted: #556B6E;
    --text-light: #FFFFFF;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --border-radius-round: 100px;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-premium: 0 10px 40px rgba(0, 154, 142, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 154, 142, 0.12);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.02);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 154, 142, 0.05);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--border-radius-round);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 154, 142, 0.06);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--border-radius-round);
    margin-bottom: 15px;
    border: 1px solid rgba(0, 154, 142, 0.1);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title span {
    font-style: italic;
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Button & Link Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-round);
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 154, 142, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 154, 142, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

/* Header & Navigation */
header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(250, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    box-shadow: 0 5px 30px rgba(0, 154, 142, 0.08);
    border-bottom: 1px solid rgba(0, 154, 142, 0.08);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--text-light);
    fill: var(--accent);
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Scrolled Header Overrides for light background contrast */
header.scrolled .logo-text {
    color: var(--primary);
}

header.scrolled .logo-icon {
    filter: brightness(0) saturate(100%) invert(47%) sepia(85%) saturate(1478%) hue-rotate(139deg) brightness(96%) contrast(101%);
}

header.scrolled .nav-link {
    color: var(--text-main);
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: var(--border-radius-round);
    transition: var(--transition-smooth);
}

/* Page Transition Overlay (Removed) */
.page-loader {
    display: none !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 35, 41, 0.9) 30%, rgba(0, 154, 142, 0.45) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-round);
    color: var(--accent-gold-pale);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title span {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    max-width: 360px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Statistics Section */
.statistics {
    background-color: var(--primary-dark);
    padding: 60px 0;
    color: var(--text-light);
    position: relative;
    z-index: 4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stats-card {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-card:last-child {
    border-right: none;
}

.stats-card h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stats-card p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    filter: brightness(0.95);
}

.about-img-sub {
    width: 250px;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    position: absolute;
    bottom: -40px;
    right: -40px;
    border: 8px solid var(--bg-light);
    box-shadow: var(--shadow-hover);
}

.experience-badge {
    position: absolute;
    top: 40px;
    left: -40px;
    padding: 30px;
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    text-align: center;
}

.experience-badge h4 {
    font-size: 2.5rem;
    color: var(--text-light);
    line-height: 1;
}

.experience-badge p {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.about-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.about-bullets li svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #F3F1EB;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    padding: 40px;
    border-radius: var(--border-radius-md);
    background: var(--bg-white);
    border: 1px solid rgba(0, 154, 142, 0.05);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 154, 142, 0.06);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    background-color: var(--primary);
    color: var(--accent);
    transform: rotateY(180deg);
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.why-card p {
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    border-radius: var(--border-radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 154, 142, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-img-wrap {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-overlay-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: var(--border-radius-round);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-floating {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid var(--bg-white);
    position: absolute;
    top: 210px;
    right: 30px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    z-index: 5;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon-floating {
    background-color: var(--primary);
    transform: scale(1.1) rotate(15deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-benefits {
    list-style: none;
    margin-bottom: 25px;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.service-benefits svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

.service-cta {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-cta svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-cta svg {
    transform: translateX(5px);
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.doctor-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    border: 1px solid rgba(0, 154, 142, 0.03);
    transition: var(--transition-smooth);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

.doctor-img-wrap {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.doctor-card:hover .doctor-img {
    transform: scale(1.05);
}

.doctor-socials {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: var(--border-radius-round);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    opacity: 0;
}

.doctor-card:hover .doctor-socials {
    bottom: 25px;
    opacity: 1;
}

.doctor-social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.doctor-social-icon:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: scale(1.15) translateY(-3px);
}

.doctor-info {
    padding: 30px;
    text-align: center;
}

.doctor-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.doctor-name {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.doctor-qualifications {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Treatment Process Timeline */
.treatment-process {
    background-color: #F3F1EB;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(212, 175, 55, 0.4) 50%, var(--primary) 100%);
    z-index: 1;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--bg-white);
    border: 4px solid var(--primary);
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-bounce);
}

.process-step:hover .process-number {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track {
    overflow: hidden;
    position: relative;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.8s ease;
}

.testimonial-item.active {
    display: block;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.5;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
}

.testimonial-quote::before {
    content: '“';
    top: -30px;
    left: -20px;
}

.testimonial-quote::after {
    content: '”';
    bottom: -60px;
    right: -20px;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--accent);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.testimonial-author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-author-avatar-initials {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
}

.testimonial-author-name {
    font-size: 1.15rem;
    font-weight: 700;
}

.testimonial-author-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid rgba(0, 154, 142, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.testimonial-btn:hover {
    background-color: var(--primary);
    color: var(--accent);
}

/* Gallery Section */
.gallery-filter-wrap {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 10px 24px;
    border-radius: var(--border-radius-round);
    background: var(--bg-white);
    border: 1px solid rgba(0, 154, 142, 0.1);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-filter.active,
.gallery-filter:hover {
    background-color: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 154, 142, 0.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 154, 142, 0.85);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover class-overlay,
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-item-title {
    font-size: 1.25rem;
    color: var(--text-light);
}

.gallery-zoom-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 15px;
    transition: var(--transition-bounce);
}

.gallery-zoom-icon:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 35, 41, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.lightbox-content-box {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--glass-border);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 15px;
    font-family: 'Playfair Display', serif;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: var(--border-radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    border: 1px solid rgba(0, 154, 142, 0.03);
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-header h3 {
    font-size: 1.15rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition-bounce);
}

.faq-item.active {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item.active .faq-header {
    background-color: rgba(0, 154, 142, 0.02);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-content {
    padding: 0 30px 30px 30px;
}

/* Map Section */
.map-section {
    padding: 0;
    height: 450px;
    width: 100%;
    position: relative;
    border-bottom: 5px solid var(--accent);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

/* Appointment CTA Section */
.appointment-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.appointment-cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    bottom: -200px;
    right: -100px;
}

.appointment-cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    left: -50px;
}

.appointment-cta .container {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
}

.appointment-cta h2 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 20px;
}

.appointment-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.appointment-cta-btns {
    display: justify-content: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Preview Section & Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background: rgba(0, 154, 142, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-details p {
    font-size: 0.95rem;
    white-space: pre-line;
}

.contact-form-panel {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 154, 142, 0.03);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 154, 142, 0.08);
    border-radius: var(--border-radius-md);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--accent);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

textarea.form-input {
    resize: none;
    height: 120px;
}

/* Appointment Form Status Modals */
.form-status-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 35, 41, 0.85);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.status-modal-content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent);
}

.status-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 2.5rem;
}

.status-icon.error {
    background: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
}

.status-modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.status-modal-content p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.status-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Footer Section */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo .logo-text {
    color: var(--text-light);
}

.footer-logo .logo-icon {
    color: var(--text-light);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-socials-list {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Scroll Reveal Classes (JS trigger) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Inner Page Hero Sections */
.inner-hero {
    height: 40vh;
    min-height: 350px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding-top: var(--header-height);
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    top: -300px;
    right: -100px;
}

.inner-hero-content {
    position: relative;
    z-index: 5;
}

.inner-hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--accent);
}

/* FAQ Inner Page details */
.faq-inner-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
}

.faq-cta-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 154, 142, 0.05);
    text-align: center;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.faq-cta-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Doctor Profiles Detail (Inner page) */
.doctor-profile-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.doctor-profile-sidebar {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    border: 1px solid rgba(0, 154, 142, 0.03);
    position: sticky;
    top: 100px;
}

.doctor-profile-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.doctor-profile-meta {
    padding: 35px;
    text-align: center;
}

.doctor-profile-meta h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.doctor-profile-meta p {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.doctor-sidebar-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.doctor-profile-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.doc-detail-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.doc-detail-block h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.doc-detail-block p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.timeline-education {
    list-style: none;
    padding-left: 20px;
    border-left: 2px solid rgba(0, 154, 142, 0.1);
}

.timeline-education li {
    position: relative;
    padding-bottom: 25px;
    padding-left: 20px;
}

.timeline-education li::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid var(--bg-light);
}

.timeline-education h4 {
    font-size: 1.1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-education span {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
}

/* Service Detail (Inner Page) */
.services-list-full {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail-row:nth-child(even) {
    direction: rtl;
}

.service-detail-row:nth-child(even) .service-detail-content {
    direction: ltr;
}

.service-detail-row:nth-child(even) .service-detail-img-box {
    direction: ltr;
}

.service-detail-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
}

.service-detail-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.service-detail-content p {
    font-size: 1rem;
    margin-bottom: 25px;
}

/* About Inner Details */
.about-mission-vision {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mv-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 154, 142, 0.03);
    text-align: center;
}

.mv-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 0.95rem;
}

.about-timeline-section {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
    border-left: 2px solid rgba(0, 154, 142, 0.1);
}

.about-timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 4px solid var(--bg-light);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.about-timeline-year {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-timeline-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Admin Dashboard Panel Style */
.admin-dashboard-link {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-bounce);
}

.admin-dashboard-link:hover {
    transform: scale(1.1) rotate(45deg);
    background-color: var(--accent);
    color: var(--primary-dark);
}

.admin-dashboard-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 35, 41, 0.9);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.admin-dashboard-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 154, 142, 0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.admin-dashboard-header h2 {
    font-size: 1.8rem;
}

.admin-dashboard-close {
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-muted);
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th, 
.admin-table td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 154, 142, 0.08);
}

.admin-table th {
    background-color: var(--primary);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-table tr:hover {
    background-color: rgba(0, 154, 142, 0.02);
}

/* Modern 404 Page Styles */
.error-404-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.error-404-code {
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
}

.error-404-code span {
    color: var(--accent);
}

.error-404-text {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Responsive Grid / Breakpoints */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-title { font-size: 3.2rem; }
    
    .about-preview {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-box {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 40px;
        padding-left: 40px;
    }
    
    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 50px;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary) 0%, rgba(212, 175, 55, 0.4) 50%, var(--primary) 100%);
    }
    
    .process-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0;
    }
    
    .process-number {
        margin-bottom: 0;
        margin-right: 25px;
        flex-shrink: 0;
    }
    
    .doctor-profile-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .doctor-profile-sidebar {
        position: relative;
        top: 0;
    }
    
    .service-detail-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-row:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 40px;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu.open + .nav-cta {
        display: none;
    }
    
    header.scrolled .nav-menu {
        background: rgba(250, 249, 245, 0.98);
    }
    
    .nav-cta {
        margin-right: 40px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats-panel {
        display: none; /* Hide floating stats panel on tablet/mobile hero */
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stats-card {
        border-right: none;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-mission-vision {
        grid-template-columns: 1fr;
    }
    
    .faq-inner-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-cta-card {
        position: relative;
        top: 0;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 1.8rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title { font-size: 2.3rem; }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-sub {
        display: none;
    }
    
    .experience-badge {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-panel {
        padding: 30px 20px;
    }
    
    .status-modal-content {
        padding: 30px 20px;
    }
}
