/* ============================================
   SMILE LINE DENTAL CLINIC — Enhanced Styles
   ============================================ */

:root {
    --primary: #006d6d;
    --primary-hover: #005a5a;
    --primary-light: #e0f4f4;
    --primary-mid: #b2e0e0;
    --accent: #00a8a8;
    --gold: #c9a227;
    --text-dark: #131a1a;
    --text-body: #3d4a4a;
    --text-muted: #6b7c7c;
    --bg-white: #ffffff;
    --bg-light: #f4fafa;
    --bg-dark: #0d1616;
    --white: #ffffff;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 12px rgba(0,80,80,0.08);
    --shadow-md: 0 12px 40px rgba(0,80,80,0.1);
    --shadow-lg: 0 20px 60px rgba(0,80,80,0.14);
    --container: 1240px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.65;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--text-dark); font-weight: 700; line-height: 1.15; }
p { color: var(--text-body); }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.section { padding: 110px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.section-label {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1.25rem; }
.section-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3.5rem; }
.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1; transform: translate(0, 0);
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2rem; border-radius: 50px;
    text-decoration: none; font-family: 'DM Sans', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    transition: var(--transition); cursor: pointer; border: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(0,109,109,0.25); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,109,109,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-3px); }
.btn-full { width: 100%; justify-content: center; padding: 1.1rem 2rem; font-size: 1rem; }

/* ===== HEADER ===== */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,109,109,0.07);
    padding: 0.9rem 0; transition: var(--transition);
}
header.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 4px 20px rgba(0,80,80,0.08); }
nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-icon { font-size: 1.4rem; color: var(--primary); line-height:1; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.35rem; color: var(--primary); line-height: 1; }
.logo-subtext { font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--text-body); font-weight: 500; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { font-weight: 600; font-size: 0.88rem; color: var(--primary); text-decoration: none; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); display: block; }

/* Mobile Nav */
.mobile-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid rgba(0,0,0,0.06);
    padding: 1.5rem 2rem 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid rgba(0,0,0,0.05); }
.mobile-nav-link { display: block; padding: 1rem 0; font-weight: 500; color: var(--text-body); text-decoration: none; }

/* ===== HERO ===== */
#hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding-top: 80px; overflow: hidden;
}
.hero-bg-image {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
}
#hero:hover .hero-bg-image { transform: scale(1.0); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 45%, rgba(255,255,255,0.3) 100%);
}
.hero-content { position: relative; z-index: 10; padding: 4rem 0; }
.hero-text-content { max-width: 680px; }
.badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1.2rem; background: var(--primary-light);
    color: var(--primary); border-radius: 50px;
    font-weight: 600; font-size: 0.8rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 1.5rem; border: 1px solid var(--primary-mid);
}
.hero-text-content h1 { margin-bottom: 1.25rem; }
.hero-text-content > p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.trust-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,109,109,0.12); border-radius: 50px;
    font-size: 0.85rem; font-weight: 500;
    backdrop-filter: blur(8px); box-shadow: var(--shadow-sm);
}
.stars { color: #f5a623; letter-spacing: 1px; }
.hero-scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted);
    z-index: 10;
}
.scroll-arrow {
    width: 20px; height: 20px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
    transform: rotate(45deg); animation: bounceDown 1.5s infinite;
}
@keyframes bounceDown { 0%,100%{transform:rotate(45deg) translate(0,0)} 50%{transform:rotate(45deg) translate(4px,4px)} }

/* ===== STATS BANNER ===== */
.stats-banner { background: var(--primary); padding: 3rem 0; }
.stats-grid { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat-item { text-align: center; padding: 0.5rem 3rem; }
.stat-item .stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-item .stat-lbl { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.4rem; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ===== ABOUT ===== */
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge-float {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--gold); color: #fff; padding: 1.2rem 1.5rem;
    border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(201,162,39,0.3);
    text-align: center; line-height: 1.2;
}
.about-badge-float .badge-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; display: block; }
.about-badge-float .badge-txt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }
.about-text .section-label { display: block; }
.checklist { list-style: none; margin-top: 1.5rem; }
.checklist li {
    padding: 0.6rem 0 0.6rem 2rem; position: relative;
    font-weight: 500; color: var(--text-body);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.checklist li::before {
    content: '✓'; position: absolute; left: 0; top: 0.6rem;
    color: var(--primary); font-weight: 800;
    background: var(--primary-light); width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 0.75rem;
}

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 1rem; }
.service-card {
    background: var(--bg-white); padding: 2.5rem 2rem;
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,109,109,0.06); transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--primary-mid); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    font-size: 2rem; width: 70px; height: 70px;
    background: var(--primary-light); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.service-tag {
    display: inline-block; padding: 0.25rem 0.8rem;
    background: var(--primary-light); color: var(--primary);
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}

/* ===== DOCTOR ===== */
.doctor-text .section-label { display: block; }
.doctor-spec { color: var(--primary); font-weight: 600; font-size: 1rem; margin-bottom: 1.25rem; display: block; }
.doctor-credentials { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.cred-item { font-size: 0.9rem; font-weight: 500; color: var(--text-body); }
.doctor-stats { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
.stat-box {
    text-align: center; padding: 1.2rem 1.8rem;
    background: var(--bg-light); border-radius: var(--radius-md);
    border: 1px solid rgba(0,109,109,0.08);
}
.stat-box .stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--primary); display: block; }
.stat-box .stat-lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.25rem; display: block; }
.doctor-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ===== TRANSFORMATION ===== */
.transformation-container { max-width: 1000px; margin: 2rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); cursor: ew-resize; }
.comparison-slider { position: relative; width: 100%; aspect-ratio: 16/9; user-select: none; }
.image-before, .image-after { position: absolute; inset: 0; pointer-events: none; }
.image-before img, .image-after img { width: 100%; height: 100%; object-fit: cover; }
.image-after { width: 50%; overflow: hidden; border-right: 3px solid #fff; z-index: 2; }
.label {
    position: absolute; bottom: 16px; padding: 0.4rem 1rem;
    background: rgba(0,0,0,0.55); color: #fff; font-size: 0.78rem;
    font-weight: 700; border-radius: 6px; backdrop-filter: blur(6px);
    text-transform: uppercase; letter-spacing: 1px;
}
.image-before .label { right: 16px; }
.image-after .label { left: 16px; }
.slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; z-index: 3; transform: translateX(-50%); }
.handle-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px; background: var(--primary);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* ===== WHY CHOOSE US ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.feature-card { padding: 2.25rem 2rem; background: var(--bg-light); border-radius: var(--radius-md); transition: var(--transition); border: 1px solid transparent; }
.feature-card:hover { background: #fff; box-shadow: var(--shadow-md); border-color: var(--primary-mid); transform: translateY(-5px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 1.25rem; display: block; }
.feature-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.testimonial-card { background: #fff; padding: 2.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,109,109,0.06); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars-row { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1.25rem; }
.testimonial-card > p { font-style: italic; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; margin-bottom: 1.5rem; }
.patient-info { display: flex; align-items: center; gap: 1rem; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1.25rem; }
.patient-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.patient-name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.patient-meta { font-size: 0.8rem; color: var(--primary); font-weight: 500; margin-top: 2px; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; gap: 1.25rem; }
.gallery-large { grid-row: span 1; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
    color: #fff; font-weight: 600; font-size: 0.85rem;
    transform: translateY(100%); transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ===== FAQ ===== */
.faq-accordion { max-width: 800px; margin: 2rem auto 0; }
.faq-item { background: #fff; border-radius: var(--radius-md); margin-bottom: 0.9rem; overflow: hidden; border: 1px solid rgba(0,109,109,0.07); transition: var(--transition); }
.faq-item:hover { border-color: var(--primary-mid); }
.faq-question {
    width: 100%; padding: 1.4rem 1.75rem;
    background: none; border: none; text-align: left;
    font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    color: var(--text-dark); transition: color 0.3s;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; }
.faq-answer { padding: 0 1.75rem; max-height: 0; overflow: hidden; transition: all 0.35s ease; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 1.5rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ===== APPOINTMENT ===== */
.appointment-wrapper { display: grid; grid-template-columns: 1fr 1.4fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.appointment-info { padding: 4rem 3rem; background: linear-gradient(160deg, var(--primary) 0%, #004d4d 100%); color: #fff; }
.appointment-info p { color: rgba(255,255,255,0.8); }
.contact-methods { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.method { display: flex; gap: 1.25rem; align-items: flex-start; }
.method-icon { font-size: 1.1rem; background: rgba(255,255,255,0.12); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.method strong { color: rgba(255,255,255,0.95); display: block; margin-bottom: 0.2rem; }
.method p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.appointment-form { padding: 3.5rem 3rem; background: #fff; }
.appointment-form h3 { font-size: 1.6rem; color: var(--text-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-body); margin-bottom: 0.5rem; }
input, select, textarea {
    width: 100%; padding: 0.85rem 1.25rem;
    border: 1.5px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    outline: none; transition: var(--transition); background: #fff;
    color: var(--text-dark);
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
textarea { resize: vertical; min-height: 80px; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ===== LOCATION ===== */
.location-map iframe { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.location-info .section-label { display: block; }
.address-card { margin: 1.5rem 0; border: 1.5px solid rgba(0,109,109,0.1); border-radius: var(--radius-md); overflow: hidden; }
.addr-row { display: flex; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(0,109,109,0.06); font-size: 0.93rem; align-items: flex-start; }
.addr-row:last-child { border-bottom: none; }
.addr-row a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn { display: inline-block; padding: 0.45rem 1rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 50px; font-size: 0.8rem; font-weight: 500; text-decoration: none; color: rgba(255,255,255,0.7); transition: var(--transition); }
.social-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }
.footer-links h4 { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.95rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; font-size: 0.88rem; }
.footer-links a { color: inherit; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.07); text-align: center; font-size: 0.82rem; }

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    background: #25d366; color: #fff;
    padding: 0.9rem 1.5rem; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.floating-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(37,211,102,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-links, .nav-right .btn { display: none; }
    .mobile-menu-btn { display: flex; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .about-badge-float { bottom: -1rem; right: 1rem; }
    .appointment-wrapper { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-large { grid-column: span 2; }
    .stats-grid { gap: 0; }
    .stat-item { padding: 0.5rem 1.5rem; }
    .stat-divider { display: none; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .doctor-stats { gap: 1rem; }
}

@media (max-width: 640px) {
    .section { padding: 70px 0; }
    h1 { font-size: 2.4rem; }
    .hero-actions { flex-direction: column; }
    .btn { text-align: center; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-large { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .appointment-form, .appointment-info { padding: 2.5rem 1.75rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; display: grid; gap: 1rem; }
    .stat-divider { display: none; }
    .wa-text { display: none; }
    .floating-whatsapp { padding: 1rem; border-radius: 50%; font-size: 1.4rem; }
    .nav-phone { display: none; }
}

/* ===== NEW IMAGE ADDITIONS ===== */

/* Hero floating doctor card */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.hero-doctor-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    border: 1px solid rgba(0,109,109,0.1);
    text-align: center;
    flex-shrink: 0;
}
.hero-doctor-img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,80,80,0.15);
}
.hero-doctor-info strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--text-dark);
}
.hero-doctor-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}
.hero-doc-stars {
    color: #f5a623;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 4px;
}
.hero-doc-stars span { color: var(--text-dark); font-size: 0.85rem; }

/* About image strip */
.about-img-strip {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
.about-img-strip img {
    flex: 1;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* Service card with image */
.service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: -2.5rem -2rem 1.5rem;
    width: calc(100% + 4rem);
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.07); }
.service-body { position: relative; }
.service-card { padding-top: 0; overflow: hidden; }
/* Re-expose the padding inside body */
.service-body { padding-top: 0; }

/* Feature card with image */
.feature-card { padding: 0; overflow: hidden; text-align: left; }
.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}
.feature-card:hover .feature-img { transform: scale(1.05); }
.feature-body { padding: 1.75rem; }
.feature-body .feature-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.feature-body h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.feature-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* Testimonials with bg image */
.testimonials-section { position: relative; padding: 110px 0; overflow: hidden; }
.testimonials-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.3) saturate(0.6);
}
.testimonials-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(0,60,60,0.85) 0%, rgba(0,30,30,0.9) 100%);
}
.testimonials-section .section-title { color: #fff; }
/* Update testimonial card for dark bg */
.testimonials-section .testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.testimonials-section .testimonial-card > p { color: rgba(255,255,255,0.82); }
.testimonials-section .patient-name { color: #fff; }
.testimonials-section .patient-meta { color: var(--accent); }

/* Patient photo (replaces avatar initials) */
.patient-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

/* Gallery layout with tall/wide items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 1.25rem;
}
.gallery-item { aspect-ratio: unset; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* FAQ two-column layout */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}
.faq-left p { color: var(--text-muted); margin-top: 0.75rem; }
.faq-side-img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
    height: 220px;
    object-fit: cover;
}

/* Appointment section inline image */
.appt-img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 2.5rem;
    height: 160px;
    object-fit: cover;
    opacity: 0.75;
    filter: brightness(0.8);
}

/* Responsive overrides for new elements */
@media (max-width: 1000px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-doctor-card { display: none; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-side-img { display: none; }
}
@media (max-width: 760px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-tall { grid-row: span 1; }
    .gallery-wide { grid-column: span 2; }
    .service-img { height: 130px; }
    .feature-img { height: 130px; }
}
@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-wide { grid-column: span 1; }
}

/* ===== REAL REVIEWS — avatar initials ===== */
.patient-avatar-initials {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.88rem; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.25);
}

/* 9-card responsive grid */
#testimonials .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
    #testimonials .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    #testimonials .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== REAL CLINIC IMAGES ===== */
.location-exterior-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
}

/* ===== FLOATING WHATSAPP — icon only circle ===== */
.floating-whatsapp {
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.floating-whatsapp svg { flex-shrink: 0; }

/* ===== TWO-DOCTOR TEAM SECTION ===== */
.doctors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

.doctor-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,109,109,0.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.doctor-card-img-wrap {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: var(--bg-light);
}
.doctor-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease);
}
.doctor-card:hover .doctor-card-img-wrap img {
    transform: scale(1.04);
}

.doctor-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-card-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.doctor-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.doctor-card-qual {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.doctor-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.doctor-card-creds {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}
.doctor-card-creds span {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-body);
}

.doctor-card-stats {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}
.dc-stat {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,109,109,0.08);
}
.dc-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    line-height: 1;
}
.dc-stat span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
    display: block;
}

@media (max-width: 860px) {
    .doctors-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .doctor-card-img-wrap { height: 260px; }
}
