/* =========================================================
   SmileCare Dental Clinic — Premium Redesign Stylesheet
========================================================= */

:root {
    --navy: #0e2a3d;
    --navy-deep: #081c2b;
    --navy-soft: #17324d;
    --teal: #1fa7a8;
    --teal-dark: #158788;
    --teal-light: #6fd6d3;
    --mint-bg: #eef8f8;
    --mint-bg-2: #e5f4f3;
    --cream-bg: #fbfaf7;
    --text-muted: #5c6b76;
    --text-soft: #8a97a1;
    --white: #ffffff;
    --border-soft: #e4ecee;

    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --shadow-sm: 0 6px 18px rgba(14, 42, 61, 0.06);
    --shadow-md: 0 14px 36px rgba(14, 42, 61, 0.10);
    --shadow-lg: 0 24px 60px rgba(14, 42, 61, 0.16);
    --shadow-teal: 0 14px 34px rgba(31, 167, 168, 0.28);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================
   Reset & Base
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--navy-soft);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy-soft);
}

section {
    position: relative;
}

.gradient-text {
    background: linear-gradient(100deg, var(--teal-light) 10%, #ffffff 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================
   Scroll reveal utility
========================= */

.reveal-up {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Decorative blobs & patterns
========================= */

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.blob-hero-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(111, 214, 211, 0.35), transparent 70%);
}

.blob-hero-2 {
    width: 320px;
    height: 320px;
    bottom: -140px;
    left: -80px;
    background: radial-gradient(circle, rgba(31, 167, 168, 0.28), transparent 70%);
}

.blob-why-1 {
    width: 460px;
    height: 460px;
    top: 10%;
    right: -160px;
    background: radial-gradient(circle, rgba(111, 214, 211, 0.18), transparent 70%);
}

.blob-appointment {
    width: 380px;
    height: 380px;
    top: -60px;
    left: 55%;
    background: radial-gradient(circle, rgba(31, 167, 168, 0.12), transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    opacity: 0.5;
    z-index: 0;
}

.why-choose-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: 0;
}

/* =========================
   Buttons
========================= */

.primary-btn,
.secondary-btn,
.doctor-btn,
.nav-btn,
.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-teal);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(31, 167, 168, 0.38);
}

.primary-btn.full-width {
    width: 100%;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.secondary-btn:hover {
    background: #fff;
    color: var(--navy);
    transform: translateY(-4px);
}

.nav-btn {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(31, 167, 168, 0.25);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31, 167, 168, 0.35);
}

.doctor-btn {
    color: var(--teal-dark);
    font-weight: 700;
    gap: 6px;
    padding: 0;
}

.doctor-btn i {
    transition: var(--transition);
}

.doctor-btn:hover i {
    transform: translateX(4px);
}

.btn-book {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #fff;
    padding: 14px 26px;
    border-radius: 50px;
    margin-top: 10px;
    box-shadow: var(--shadow-teal);
}

.btn-book:hover {
    transform: translateY(-3px);
}

/* =========================
   Navigation
========================= */

header {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(14, 42, 61, 0.08);
    border-bottom: 1px solid var(--border-soft);
}

.navbar {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 700;
    color: var(--navy-soft);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-size: 17px;
    box-shadow: 0 8px 18px rgba(31, 167, 168, 0.3);
}

.logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    gap: 34px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--navy-soft);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--teal-dark));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal-dark);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--navy-soft);
    cursor: pointer;
}

/* =========================
   Section Heading (shared)
========================= */

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
    position: relative;
    z-index: 1;
}

.section-heading p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    background: var(--mint-bg-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-heading h2 {
    position: relative;
    display: inline-block;
    color: var(--navy-soft);
    background: linear-gradient(100deg, var(--navy-soft) 30%, var(--teal) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.65rem, 1.15rem + 1.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.25;
    margin: 0 0 16px;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--teal), var(--navy-soft));
}

.section-heading span {
    display: block;
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.75;
}

.section-heading.light p {
    background: rgba(255, 255, 255, 0.1);
    color: var(--teal-light);
}

.section-heading.light h2 {
    background: linear-gradient(100deg, #ffffff 30%, var(--teal-light) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading.light h2::after {
    background: linear-gradient(90deg, var(--teal-light), #ffffff);
}

.section-heading.light span {
    color: rgba(255, 255, 255, 0.72);
}

/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 7% 90px;
    background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 45%, var(--teal-dark) 130%);
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-light);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 34px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
}

.trust-item strong i {
    color: #ffc94d;
    font-size: 15px;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.18);
}

/* Hero visual / 3D tooth */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooth-stage {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooth-3d {
    width: 62%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
    animation: toothFloat 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes toothFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-18px) rotate(2deg); }
}

.orbit-ring {
    position: absolute;
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.orbit-ring-1 {
    width: 92%;
    height: 92%;
    animation: spin 30s linear infinite;
}

.orbit-ring-2 {
    width: 70%;
    height: 70%;
    animation: spin 22s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.float-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--teal-light);
    font-size: 20px;
    z-index: 3;
    animation: iconFloat 4s ease-in-out infinite;
}

.icon-sparkle {
    top: 6%;
    left: 4%;
    animation-delay: 0.3s;
}

.icon-shield {
    bottom: 12%;
    left: -2%;
    animation-delay: 1s;
    color: #ffc94d;
}

.icon-plus {
    top: 14%;
    right: 2%;
    animation-delay: 1.6s;
}

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

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 4;
    animation: cardFloat 5.5s ease-in-out infinite;
}

.card-rating {
    top: 4%;
    right: -4%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    animation-delay: 0.5s;
}

.rating-stars {
    color: #ffb524;
    font-size: 13px;
    letter-spacing: 2px;
}

.card-rating p {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy-soft);
    white-space: nowrap;
}

.card-certified {
    bottom: 2%;
    right: 4%;
    animation-delay: 1.4s;
}

.card-certified i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-bg-2);
    color: var(--teal-dark);
    border-radius: 10px;
    font-size: 17px;
}

.card-certified strong {
    display: block;
    font-size: 13px;
    color: var(--navy-soft);
}

.card-certified span {
    font-size: 11.5px;
    color: var(--text-muted);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
    z-index: 3;
    animation: bounce 2.2s ease-in-out infinite;
}

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

/* =========================
   SERVICES SECTION
========================= */

.services {
    padding: 110px 7%;
    background: var(--mint-bg);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    padding: 38px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--navy-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--mint-bg-2), var(--mint-bg));
    color: var(--teal-dark);
    font-size: 26px;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    transform: scale(1.08) rotate(-6deg);
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--teal-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
}

.service-card a i {
    font-size: 12px;
    transition: var(--transition);
}

.service-card a:hover i {
    transform: translateX(4px);
}

/* =========================
   MODAL
========================= */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 43, 0.72);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-overlay.open {
    opacity: 1;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius-md);
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 42px 36px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 26px;
    color: var(--text-soft);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--navy-soft);
    transform: rotate(90deg);
}

.modal-body {
    display: none;
}

.modal-body.active {
    display: block;
}

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-size: 24px;
    margin-bottom: 18px;
}

.modal-body h2 {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--navy-soft);
    background: none;
    -webkit-text-fill-color: var(--navy-soft);
}

.modal-body h2::after {
    display: none;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}

.modal-body ul {
    margin-bottom: 22px;
}

.modal-body ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-soft);
    padding: 8px 0;
    font-size: 14.5px;
    border-bottom: 1px dashed var(--border-soft);
}

.modal-body ul li i {
    color: var(--teal-dark);
}

/* =========================
   ABOUT SECTION
========================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 110px 7%;
    background: var(--cream-bg);
}

.about-image {
    position: relative;
}

.about-blob {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, var(--mint-bg-2), var(--teal-light));
    border-radius: var(--radius-lg);
    opacity: 0.55;
    z-index: 0;
}

.about-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.about-stat-card {
    position: absolute;
    bottom: -26px;
    right: -26px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.about-stat-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-size: 19px;
}

.about-stat-card strong {
    display: block;
    font-size: 19px;
    color: var(--navy-soft);
}

.about-stat-card span {
    font-size: 12.5px;
    color: var(--text-muted);
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    background: var(--mint-bg-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.about-content h2 {
    position: relative;
    display: inline-block;
    color: var(--navy-soft);
    background: linear-gradient(100deg, var(--navy-soft) 30%, var(--teal) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.65rem, 1.15rem + 1.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--teal), var(--navy-soft));
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 26px 0;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-soft);
    font-weight: 600;
    font-size: 14.5px;
}

.about-features div i {
    color: var(--teal-dark);
    font-size: 16px;
}

.about-mini-stats {
    display: flex;
    gap: 30px;
    padding: 22px 0 30px;
    border-top: 1px solid var(--border-soft);
    margin-top: 6px;
}

.about-mini-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-mini-stats strong {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--navy-soft);
    font-weight: 800;
}

.about-mini-stats span {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* =========================
   DOCTORS SECTION
========================= */

.doctors {
    padding: 110px 6%;
    background: #ffffff;
}

.doctor-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
    max-width: 1000px;
    margin: auto;
}

.doctor-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-soft);
}

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

.doctor-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: var(--mint-bg);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s ease;
}

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

.doctor-socials {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
    background: linear-gradient(0deg, rgba(8, 28, 43, 0.65), transparent);
    transition: var(--transition);
}

.doctor-card:hover .doctor-socials {
    bottom: 0;
}

.doctor-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-soft);
    font-size: 15px;
    transition: var(--transition);
}

.doctor-socials a:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-3px);
}

.doctor-info {
    padding: 28px 30px 32px;
}

.doctor-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.specialization {
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.doctor-info > p:not(.specialization) {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
    font-size: 15px;
}

/* =========================
   WHY CHOOSE US
========================= */

.why-choose {
    position: relative;
    padding: 110px 7%;
    background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 130%);
    overflow: hidden;
}

.why-choose-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.24);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-size: 23px;
    margin-bottom: 20px;
    box-shadow: 0 12px 26px rgba(31, 167, 168, 0.35);
}

.why-card h3 {
    color: #fff;
    font-size: 18.5px;
    margin-bottom: 10px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14.5px;
    line-height: 1.7;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    padding: 110px 7%;
    background: var(--mint-bg);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: auto;
}

.testimonial-card {
    background: #fff;
    padding: 36px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 34px;
    color: var(--mint-bg-2);
}

.testimonial-stars {
    color: #ffb524;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--navy-soft);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 26px;
}

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

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy-soft));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.testimonial-author strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy-soft);
}

.testimonial-author span {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* =========================
   APPOINTMENT SECTION
========================= */

.appointment-section {
    position: relative;
    padding: 110px 7%;
    background: linear-gradient(160deg, #ffffff, var(--mint-bg) 60%, var(--mint-bg-2));
    overflow: hidden;
}

.appointment-content {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.appointment-text h2 {
    position: relative;
    display: inline-block;
    color: var(--navy-soft);
    background: linear-gradient(100deg, var(--navy-soft) 30%, var(--teal) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.65rem, 1.15rem + 1.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.appointment-text h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--teal), var(--navy-soft));
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    background: var(--mint-bg-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.appointment-text > p:not(.section-label) {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #fff;
    color: var(--teal-dark);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

.contact-info-item strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy-soft);
}

.contact-info-item span {
    font-size: 14px;
    color: var(--text-muted);
}

.appointment-box {
    background: #fff;
    padding: 44px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-soft);
}

.appointment-box h3 {
    color: var(--navy-soft);
    font-size: 24px;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 26px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--border-soft);
    border-radius: 12px;
    padding: 0 16px;
    margin-bottom: 16px;
    transition: var(--transition);
    background: var(--cream-bg);
}

.input-group:focus-within {
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 167, 168, 0.1);
}

.input-group i {
    color: var(--teal-dark);
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.appointment-box input,
.appointment-box select {
    flex: 1;
    width: 100%;
    padding: 15px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    color: var(--navy-soft);
}

.appointment-box .primary-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 6px;
}

/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    padding: 110px 7%;
    background: #ffffff;
}

.contact-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 380px;
    border: 1px solid var(--border-soft);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--cream-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--mint-bg-2);
    transform: translateY(-4px);
}

.contact-card strong {
    display: block;
    font-size: 15px;
    color: var(--navy-soft);
    margin-bottom: 3px;
}

.contact-card span {
    font-size: 14px;
    color: var(--text-muted);
}

/* =========================
   FOOTER
========================= */

footer#site-footer {
    background: linear-gradient(160deg, var(--navy-deep), var(--navy));
    color: rgba(255, 255, 255, 0.75);
    padding-top: 80px;
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 7% 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 22px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 22px;
    position: relative;
}

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

.footer-col ul li a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.62);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--teal-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--teal-light);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 26px 7%;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================
   Back to top
========================= */

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    border: none;
    font-size: 17px;
    box-shadow: var(--shadow-teal);
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

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

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

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

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

    .contact-map {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .navbar {
        padding: 14px 5%;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 18px 8%;
        gap: 6px;
        box-shadow: var(--shadow-md);
        transform: translateY(-140%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .nav-btn span {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 0;
    }

    .nav-btn i {
        font-size: 16px;
    }

    .hero {
        padding: 130px 6% 80px;
        min-height: auto;
    }

    .services,
    .about,
    .doctors,
    .why-choose,
    .testimonials,
    .appointment-section,
    .contact-section {
        padding: 70px 6%;
    }

    .services-container,
    .doctor-container,
    .why-grid,
    .testimonial-container {
        grid-template-columns: 1fr;
    }

    .appointment-content {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-mini-stats {
        flex-wrap: wrap;
        gap: 22px;
    }

    .about-stat-card {
        right: 10px;
        bottom: -20px;
        padding: 14px 18px;
    }

    .appointment-box {
        padding: 32px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: left;
    }

    .doctor-image {
        aspect-ratio: 4 / 3.6;
    }

    .doctor-socials {
        bottom: 0;
        background: linear-gradient(0deg, rgba(8, 28, 43, 0.55), transparent);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        line-height: 1.22;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-trust {
        gap: 14px;
    }

    .trust-divider {
        display: none;
    }

    .tooth-stage {
        max-width: 300px;
    }

    .card-rating,
    .card-certified {
        display: none;
    }
}
