/*
Theme Name: Dr. Aminul Islam - Surgeon Care
Theme URI: https://example.com
Author: GrapHost
Description: A premium WordPress theme for Dr. Md. Aminul Islam — General, Laparoscopic, Hepatobiliary & Pancreatic Surgery specialist. Refined editorial typography, elevated cards, subtle motion and a cohesive navy/gold/teal palette built for trust and clinical authority.
Version: 2.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-surgeon
*/

/* ===== RESET / BASE ===== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #2c3440;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, iframe, svg { max-width: 100%; }
img { display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; font-family: 'Playfair Display', 'Georgia', serif; letter-spacing: -0.01em; }
p { text-align: justify; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
button { font-family: inherit; }
::selection { background: #17998a; color: #fff; }
@media (max-width: 700px) {
    .main-nav ul li a, .header-cta, .nav-toggle, .faq-q, .btn { min-height: 40px; }
}

:root {
    --navy: #0e3554;
    --navy-deep: #081f33;
    --teal: #17998a;
    --teal-dark: #0f6e63;
    --teal-tint: #eef8f6;
    --gold: #c99a3a;
    --gold-light: #e4c47a;
    --sky: #4db3e8;
    --text-muted: #667284;
    --border: #e7eaef;
    --ink: #1c2430;
    --shadow-sm: 0 2px 10px rgba(9, 30, 51, 0.05);
    --shadow-md: 0 10px 30px rgba(9, 30, 51, 0.08);
    --shadow-lg: 0 22px 55px rgba(9, 30, 51, 0.14);
    --radius: 14px;
}

/* ===== SHARED PATTERNS ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow-light { color: var(--gold-light); }
.eyebrow-light::before { background: var(--gold-light); }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--navy-deep);
    color: #b9c6d4;
    font-size: 12.5px;
    padding: 9px 0;
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-left span, .top-bar-hours { display: inline-flex; align-items: center; gap: 7px; }
.top-bar svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.85; }
.top-bar .sep { opacity: 0.35; }
.top-bar-socials { display: flex; gap: 8px; }
.top-bar-socials a {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.top-bar-socials a:hover { background: var(--teal); transform: translateY(-2px); }

/* ===== HEADER / NAV ===== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-logo .site-title {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    line-height: 1.25;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
.site-logo .site-title:hover { color: var(--navy); }
.site-title-sub {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    text-align: left;
    margin: 0;
}
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #263042;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color .2s ease, background .2s ease;
}
.main-nav ul li a:hover { color: var(--teal-dark); background: var(--teal-tint); }
.main-nav ul li.menu-item-has-children { position: relative; }
.main-nav ul li.menu-item-has-children > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.submenu-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 6px;
    font-size: 12px;
    color: #263042;
    transition: transform .25s ease, background .2s ease;
}
.submenu-arrow:hover { background: var(--teal-tint); }
li.submenu-open > .submenu-arrow { transform: rotate(180deg); }
.main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    padding: 8px;
    border: 1px solid var(--border);
}
.main-nav ul li:hover > ul { display: block; }
.main-nav ul li ul li a { padding: 10px 14px; border-radius: 6px; }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(23,153,138,0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,153,138,0.36); }
@keyframes cta-orange-pulse {
    0%, 78%, 100% {
        background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
        box-shadow: 0 8px 20px rgba(23,153,138,0.28);
    }
    88% {
        background: linear-gradient(135deg, #ff9a4d 0%, #e8632c 100%);
        box-shadow: 0 10px 26px rgba(232,99,44,0.55);
    }
}
.header-cta { animation: cta-orange-pulse 2s ease-in-out infinite; }
.header-cta:hover { animation-play-state: paused; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--navy); cursor: pointer; padding: 4px; line-height: 1; }
.site-header.scrolled { box-shadow: var(--shadow-md); padding: 12px 0; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(112deg, rgba(5,20,36,0.94) 32%, rgba(6,25,45,0.72) 62%, rgba(6,25,45,0.32) 100%);
}
.hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 90px;
    z-index: 3;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
    pointer-events: none;
}
.hero-doctor-photo {
    position: absolute;
    right: clamp(40px, 18vw, 340px);
    bottom: 0;
    z-index: 2;
    height: 100%;
    max-height: 680px;
    width: auto;
    max-width: 58%;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}
.hero-inner { position: relative; z-index: 4; max-width: 660px; padding: 90px 0 70px; }
.hero-inner h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 46px;
    line-height: 1.22;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}
.hero-inner h1 .accent {
    font-style: italic;
    background: linear-gradient(100deg, var(--gold-light) 0%, #fff3d6 45%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: underline;
    text-decoration-color: rgba(228, 196, 122, 0.7);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.hero-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin: 10px 0 22px;
    background: linear-gradient(100deg, var(--gold-light) 0%, #fff3d6 45%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 34px;
    font-family: 'Inter', sans-serif;
}
.hero-cta-row { display: flex; align-items: center; justify-content: flex-start; text-align: left; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-cta-btn {
    padding: 15px 30px;
    font-size: 14px;
    border-radius: 30px;
}
.hero-call-cta {
    position: relative;
    background: linear-gradient(135deg, var(--sky) 0%, #2f8fc4 55%, var(--navy) 140%);
    box-shadow: 0 10px 26px rgba(77,179,232,0.4);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 16px 32px 16px 26px;
    animation: heroCallPulse 2.4s ease-out infinite;
    transition: transform .25s ease, box-shadow .25s ease;
}
.hero-call-cta::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3ee08a;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(62,224,138,0.65);
    animation: heroCallDot 1.8s ease-out infinite;
}
.hero-call-cta svg {
    width: 19px;
    height: 19px;
    transform-origin: 70% 30%;
    animation: heroCallRing 2.4s ease-in-out infinite;
}
.hero-call-cta:hover {
    transform: translateY(-4px) scale(1.045);
    box-shadow: 0 18px 34px rgba(77,179,232,0.55);
}
.hero-call-cta:active { transform: translateY(-1px) scale(0.99); }
@keyframes heroCallPulse {
    0%   { box-shadow: 0 10px 26px rgba(77,179,232,0.4), 0 0 0 0 rgba(77,179,232,0.5); }
    70%  { box-shadow: 0 10px 26px rgba(77,179,232,0.4), 0 0 0 16px rgba(77,179,232,0); }
    100% { box-shadow: 0 10px 26px rgba(77,179,232,0.4), 0 0 0 0 rgba(77,179,232,0); }
}
@keyframes heroCallDot {
    0%   { box-shadow: 0 0 0 0 rgba(62,224,138,0.65); }
    70%  { box-shadow: 0 0 0 7px rgba(62,224,138,0); }
    100% { box-shadow: 0 0 0 0 rgba(62,224,138,0); }
}
@keyframes heroCallRing {
    0%, 80%, 100% { transform: rotate(0deg); }
    82%  { transform: rotate(-16deg); }
    85%  { transform: rotate(13deg); }
    88%  { transform: rotate(-9deg); }
    91%  { transform: rotate(6deg); }
    94%  { transform: rotate(0deg); }
}
.hero-book-cta { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.hero-book-cta { display: none; }
@media (prefers-reduced-motion: reduce) {
    .hero-call-cta, .hero-call-cta::after, .hero-call-cta svg { animation: none; }
}
.hero-trust-row {
    display: flex;
    gap: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-trust-item .star-ic { width: 18px; height: 18px; color: var(--gold-light); }
.hero-trust-item span { font-size: 12px; color: rgba(255,255,255,0.65); font-family: 'Inter', sans-serif; margin-top: 3px; }
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    z-index: 2;
}
.hero-scroll-cue span {
    position: absolute;
    top: 8px; left: 50%;
    width: 4px; height: 8px;
    background: var(--gold-light);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue {
    0% { opacity: 1; top: 8px; }
    70% { opacity: 0; top: 22px; }
    100% { opacity: 0; top: 22px; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(23,153,138,0.3);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(23,153,138,0.4); }
.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    box-shadow: none;
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.45);
    box-shadow: none;
    backdrop-filter: blur(4px);
}
.btn-ghost svg { width: 16px; height: 16px; }
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-3px); }

/* ===== DOCTOR INTRO ===== */
.doctor-intro { padding: 100px 0; position: relative; }
.doctor-intro .container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: center;
}
.doctor-intro .photo-wrap { position: relative; }
.doctor-intro .photo-wrap::before {
    content: "";
    position: absolute;
    top: -22px; right: -22px;
    width: 100%; height: 100%;
    border: 2px solid var(--gold);
    border-radius: 16px;
    z-index: 0;
}
.doctor-intro .photo-wrap img {
    border-radius: 16px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}
.doctor-intro .exp-badge {
    position: absolute;
    bottom: 28px;
    left: -28px;
    width: auto;
    max-width: 230px;
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.doctor-intro .exp-badge::before {
    content: "";
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2l2.4 4.86 5.36.78-3.88 3.78.92 5.34L12 14.27l-4.8 2.49.92-5.34L4.24 7.64l5.36-.78L12 2z'/></svg>") center/70% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2l2.4 4.86 5.36.78-3.88 3.78.92 5.34L12 14.27l-4.8 2.49.92-5.34L4.24 7.64l5.36-.78L12 2z'/></svg>") center/70% no-repeat;
}
.doctor-intro .exp-badge strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    line-height: 1.15;
    color: var(--navy);
}
.doctor-intro .exp-badge span {
    display: block;
    font-size: 10.5px;
    line-height: 1.3;
    margin-top: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.doctor-intro h2 { font-size: 32px; color: var(--navy); margin-bottom: 18px; line-height: 1.3; }
.doctor-intro h2 .doctor-role-sub {
    display: block;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    color: var(--teal-dark);
    letter-spacing: 0.02em;
    margin-top: 6px;
}
.doctor-intro h2 .accent { color: var(--teal-dark); font-style: italic; }
.doctor-creds-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal-dark);
    background: var(--teal-tint);
    border: 1px solid rgba(23,153,138,0.18);
    border-radius: 20px;
    padding: 7px 14px;
}
.chip-accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.doctor-reg {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}
.doctor-intro p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; font-family: 'Inter', sans-serif; text-align: justify; }
.doctor-intro p strong { color: #263042; }

/* ===== SERVICES ===== */
.services-section { background: #f7f8fa; padding: 100px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 54px; }
.section-title .eyebrow { justify-content: center; }
.section-title h2 { font-size: 34px; color: var(--navy); margin-bottom: 14px; }
.section-title h2 .accent { color: var(--teal-dark); font-style: italic; }
.section-title p { color: var(--text-muted); font-size: 15px; max-width: 640px; margin: 0 auto; font-family: 'Inter', sans-serif; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    font-family: 'Inter', sans-serif;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--gold);
}
.service-card .s-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: linear-gradient(150deg, var(--teal-tint), #dff2ef);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .28s ease;
}
.service-card:hover .s-icon { transform: scale(1.08) rotate(-4deg); }
.service-card .s-icon svg { width: 28px; height: 28px; color: var(--navy); }
.service-card .s-icon.s-icon-photo { overflow: hidden; background: var(--teal-tint); }
.service-card .s-icon.s-icon-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.65; }
.service-card .learn { font-size: 13px; font-weight: 600; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 4px; }
.explore-more-wrap { text-align: center; margin-top: 46px; }

/* ===== STATS ===== */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(120deg, var(--navy-deep), var(--navy));
    position: relative;
}
.stats-section .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 24px;
    position: relative;
}
.stat { padding: 10px 12px; position: relative; }
.stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px; top: 12px; bottom: 12px;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.stat-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.stat-icon-circle svg { width: 28px; height: 28px; color: var(--gold-light); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.stat-label { font-size: 12.5px; color: rgba(255,255,255,0.65); font-family: 'Inter', sans-serif; }

/* ===== VIDEO LIBRARY ===== */
.video-section { padding: 100px 0; }
.video-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 6px 6px 18px;
    scroll-snap-type: x mandatory;
}
.video-scroll::-webkit-scrollbar { height: 5px; }
.video-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.video-scroll::-webkit-scrollbar-thumb:hover { background: var(--teal); }
.video-item {
    flex: 0 0 270px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
}
.video-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-item .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.video-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-item:hover .thumb img { transform: scale(1.08); }
.video-item .thumb::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,20,35,0.45), transparent 55%);
}
.video-item .thumb .play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1;
    transition: transform .25s ease, background .25s ease;
}
.video-item:hover .thumb .play { transform: translate(-50%,-50%) scale(1.1); background: var(--teal); }
.video-item .thumb .play svg { width: 18px; height: 18px; fill: var(--teal); transition: fill .25s ease; }
.video-item:hover .thumb .play svg { fill: #fff; }
.video-item .caption { padding: 16px 18px; font-size: 13.5px; font-weight: 600; color: #263042; font-family: 'Inter', sans-serif; }
.view-all-wrap { text-align: center; margin-top: 38px; }

/* ===== FACEBOOK VIDEO LIBRARY ===== */
.fb-video-item { display: block; text-decoration: none; }
.fb-video-item .thumb.fb-thumb-fallback {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #0d5ea6, #1877f2 55%, #0a4a9c);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fb-video-item .fb-logo { width: 46px; height: 46px; fill: rgba(255,255,255,0.28); position: absolute; }
.fb-video-item .thumb.fb-thumb-fallback .play {
    position: relative; z-index: 1;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform .25s ease, background .25s ease;
}
.fb-video-item:hover .thumb.fb-thumb-fallback .play { transform: scale(1.1); background: #1877f2; }
.fb-video-item .thumb.fb-thumb-fallback .play svg { width: 18px; height: 18px; fill: #1877f2; transition: fill .25s ease; }
.fb-video-item:hover .thumb.fb-thumb-fallback .play svg { fill: #fff; }
.fb-video-item .caption { display: flex; flex-direction: column; gap: 4px; }
.fb-video-item .fb-watch-note { font-size: 12px; font-weight: 600; color: #1877f2; }
.fb-video-empty-notice {
    padding: 18px 20px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: #8a94a6;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 30px 0 100px; background: #f7f8fa; }
.testimonials-section .section-title h2 { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonials-section .section-title h2::before,
.testimonials-section .section-title h2::after {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold);
    display: inline-block;
}
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.testi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
    font-family: 'Inter', sans-serif;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card .quote-ic { width: 34px; height: 26px; color: var(--teal-tint); margin-bottom: 10px; }
.testi-card .stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 14px; color: #4a5568; margin-bottom: 22px; line-height: 1.75; font-style: italic; }
.author-row { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--teal-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    flex-shrink: 0;
}
.testi-card .author { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.author-tag { font-size: 11.5px; color: var(--text-muted); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.testi-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.testi-dots span.active { background: var(--teal); transform: scale(1.3); }
.view-reviews-wrap { text-align: center; margin-top: 34px; }
.btn-navy { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); box-shadow: 0 10px 24px rgba(14,53,84,0.28); }
.btn-navy:hover { box-shadow: 0 16px 32px rgba(14,53,84,0.38); }

/* ===== FAQ ===== */
.faq-section { padding: 30px 0 100px; }
.faq-list { max-width: 820px; margin: 0 auto; counter-reset: faqnum; }
.faq-item {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 14px;
    background: #fff;
    overflow: hidden;
    counter-increment: faqnum;
    transition: box-shadow .3s ease, border-color .3s ease, transform .25s ease;
}
.faq-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--gold));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(14,53,84,0.1);
    border-color: rgba(23,153,138,0.3);
}
.faq-item.open {
    box-shadow: 0 16px 32px rgba(14,53,84,0.12);
    border-color: rgba(23,153,138,0.35);
    background: linear-gradient(180deg, #fff 0%, var(--teal-tint) 260%);
}
.faq-item.open::before { transform: scaleY(1); }
.faq-item .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px 20px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #263042;
    font-family: 'Inter', sans-serif;
    gap: 20px;
    transition: color .25s ease;
}
.faq-item .faq-q span:first-child { display: flex; align-items: baseline; gap: 14px; }
.faq-item .faq-q span:first-child::before {
    content: counter(faqnum, decimal-leading-zero);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 15px;
    color: var(--gold);
    flex-shrink: 0;
    opacity: 0.85;
}
.faq-item.open .faq-q { color: var(--teal-dark); }
.faq-item .faq-q .plus {
    color: var(--teal);
    font-size: 20px;
    font-weight: 400;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--teal-tint);
    display: flex; align-items: center; justify-content: center;
}
.faq-item:hover .faq-q .plus { box-shadow: 0 0 0 5px rgba(23,153,138,0.12); }
.faq-item.open .faq-q .plus {
    transform: rotate(135deg);
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    box-shadow: 0 6px 16px rgba(23,153,138,0.4);
}
.faq-item .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    font-size: 14px;
    color: var(--text-muted);
    padding: 0 26px 0 60px;
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }

/* ===== APPOINTMENT + CONTACT ===== */
.appointment-section { padding: 30px 0 110px; background: #fff; }
.appointment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}
.appointment-form-card, .contact-card, .clinic-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 34px;
    box-shadow: var(--shadow-sm);
    font-family: 'Inter', sans-serif;
}
.appointment-form-card { border-top: 3px solid var(--gold); }
.appointment-form-card h3, .clinic-card h4, .contact-card h4 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 10px;
}
.appointment-form-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #263042; margin-bottom: 7px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fbfcfd;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23,153,138,0.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }

.appointment-form-card-landscape { max-width: 100%; }
.appointment-form-card-landscape .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.appointment-form-card-landscape .btn-full { width: auto; min-width: 260px; margin: 0 auto; display: flex; }
@media (max-width: 720px) {
    .appointment-form-card-landscape .form-row { grid-template-columns: 1fr; }
}
.form-submit-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; text-align: center; }
.btn-full {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--sky), #2f8fc4);
    box-shadow: 0 10px 24px rgba(77,179,232,0.32);
    padding: 16px 30px;
}
.btn-full:hover { box-shadow: 0 16px 32px rgba(77,179,232,0.42); }

.clinic-card { margin-bottom: 22px; }
.clinic-card .addr-row { display: flex; gap: 12px; margin-bottom: 18px; font-size: 14px; }
.clinic-card .addr-row .pin { color: var(--sky); flex-shrink: 0; }
.clinic-card .map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/10; }
.clinic-card .map-embed iframe { width: 100%; height: 100%; border: 0; }
.clinic-card-map-only { margin-bottom: 0; }
.clinic-card-map-only .map-embed-tall { aspect-ratio: auto; height: 320px; }

.contact-card .c-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-card .c-row .c-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--teal-tint); color: var(--teal-dark);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 15px;
}
.contact-card .c-row strong { display: block; font-size: 14px; color: #263042; margin-bottom: 2px; }
.contact-card .c-row span { font-size: 13px; color: var(--text-muted); }
.contact-card .c-row .emergency { color: #c0392b; font-weight: 600; }

/* ===== FOOTER ===== */
.site-footer { background: linear-gradient(180deg, var(--navy-deep), #051524); color: #a9b7c6; padding: 76px 0 0; position: relative; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: 'Inter', sans-serif;
}
.footer-grid h3 { color: #fff; font-size: 21px; margin-bottom: 16px; font-family: 'Playfair Display', serif; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-grid .f-row { display: flex; gap: 12px; margin-bottom: 14px; font-size: 13.5px; align-items: flex-start; line-height: 1.6; }
.footer-grid .f-row .ic { color: var(--gold-light); flex-shrink: 0; }
.footer-grid a.f-row.f-row-link { color: #b9c6d4; transition: color .2s ease, gap .2s ease; cursor: pointer; }
.footer-grid a.f-row.f-row-link:hover { color: #2be371; gap: 15px; }
.whatsapp-blink {
    font-size: 15.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    animation: whatsappBlink 1.6s ease-in-out infinite;
}
.whatsapp-blink .ic { font-size: 17px; }
@keyframes whatsappBlink {
    0%, 100% { background: var(--teal); color: #fff; box-shadow: 0 0 0 0 rgba(23, 153, 138, 0.5); }
    50% { background: #ff7a29; color: #fff; box-shadow: 0 0 0 6px rgba(255, 122, 41, 0); }
}
.whatsapp-blink:hover { gap: 12px !important; }
.footer-grid ul li { margin-bottom: 11px; font-size: 13.5px; }
.footer-grid ul li a { transition: color .2s ease, padding-left .2s ease; }
.footer-grid ul li a:hover { color: #fff; padding-left: 4px; }
.footer-socials { display: flex; gap: 12px; padding: 30px 0; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.06); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background .2s ease, transform .2s ease;
}
.footer-socials a:hover { background: var(--teal); transform: translateY(-3px); }
.footer-bottom { text-align: center; font-size: 12.5px; padding: 20px 0; color: #7c8ca0; border-top: 1px solid rgba(255,255,255,0.06); font-family: 'Inter', sans-serif; }
.footer-credit { color: var(--gold-light); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.footer-credit:hover { color: #fff; text-decoration: underline; }

/* ===== FLOATING CALL / WHATSAPP BUTTONS ===== */
.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: transform .2s ease, box-shadow .2s ease;
}
.float-btn svg { width: 24px; height: 24px; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-call { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.float-whatsapp { background: #25d366; }
@media (max-width: 700px) {
    .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
    .float-btn { width: 48px; height: 48px; }
    .float-btn svg { width: 21px; height: 21px; }
}

/* ===== INNER PAGES (page.php: About, Services, Patient Info, etc.) ===== */
.breadcrumb-bar {
    background: var(--teal-tint);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.breadcrumb-bar ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.breadcrumb-bar li { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.breadcrumb-bar li:not(:last-child)::after { content: '›'; margin-left: 6px; color: var(--text-muted); opacity: .6; }
.breadcrumb-bar a { color: var(--teal-dark); font-weight: 600; transition: color .2s ease; }
.breadcrumb-bar a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb-bar li[aria-current="page"] { color: var(--navy); font-weight: 600; }

.page-hero {
    padding: 110px 0 50px;
    background: linear-gradient(120deg, var(--navy-deep), var(--navy));
    text-align: center;
}
.page-hero h1 { color: #E7D3A2; font-size: 38px; margin: 10px 0 0; }
.page-hero-sub { color: rgba(255,255,255,0.82); max-width: 640px; margin: 16px auto 0; font-size: 15.5px; line-height: 1.7; text-align: center; }
.page-content-section { padding: 70px 0; }
.page-content-thumb { margin-bottom: 34px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.page-content-thumb img { width: 100%; display: block; }
.page-content {
    max-width: 820px;
    margin: 0 auto;
    color: #45505e;
    font-size: 16.5px;
    line-height: 1.8;
}
.page-content h1,
.page-content h2,
.page-content h3 { color: var(--navy); margin: 34px 0 14px; }
.page-content h2 { font-size: 26px; }
.page-content h3 { font-size: 20px; }
.page-content p { margin: 0 0 18px; }
.page-content a { color: var(--teal-dark); text-decoration: underline; }
.page-content ul,
.page-content ol { margin: 0 0 18px; padding-left: 22px; }
.page-content li { margin-bottom: 8px; }
.page-content img { max-width: 100%; height: auto; border-radius: 10px; }
.page-content blockquote {
    border-left: 3px solid var(--teal);
    margin: 24px 0;
    padding: 6px 22px;
    color: var(--navy);
    font-style: italic;
    background: var(--teal-tint);
}

/* ===== BLOG ===== */
.blog-section { padding: 70px 0; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--teal-tint); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-card-thumb-placeholder svg { width: 40px; height: 40px; color: var(--teal); opacity: .5; }
.blog-card-body { padding: 22px 24px 26px; }
.blog-card-cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: var(--teal-tint);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 18.5px; margin: 0 0 10px; line-height: 1.35; }
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--teal-dark); }
.blog-card-body p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; text-align: left; margin: 0 0 14px; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.blog-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
}
.blog-pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.blog-pagination .page-numbers:not(.current):not(.dots):hover { border-color: var(--teal); color: var(--teal-dark); }
.blog-pagination .dots { border: none; }

/* Single post */
.blog-post-hero { text-align: center; }
.blog-post-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.75); }
.blog-post-featured-img { padding: 34px 0 0; }
.blog-post-featured-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.blog-post-layout { max-width: 820px; margin: 0 auto; }
.blog-post-content { max-width: none; margin: 0; }
.blog-author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 48px;
    padding: 24px;
    background: var(--teal-tint);
    border-radius: var(--radius);
}
.blog-author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.blog-author-name { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--navy); font-size: 17px; }
.blog-author-role { font-size: 13.5px; color: var(--text-muted); margin: 4px 0 12px; }

/* ===== COMMENTS (page.php / single.php, only shown if comments are open) ===== */
.comments-area { margin-top: 48px; max-width: 760px; }
.comments-title, .comment-reply-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 22px;
}
.comment-reply-title { font-size: 19px; margin-top: 40px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; margin: 18px 0 0 32px; padding: 0; }
.comment-body {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.comment-author .avatar { border-radius: 50%; flex-shrink: 0; }
.comment-author .fn { font-weight: 700; color: var(--navy); font-style: normal; }
.comment-metadata { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.comment-metadata a { color: inherit; }
.comment-content p { margin: 0 0 10px; }
.comment-reply-link {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal-dark);
}
.comments-closed-note { color: var(--text-muted); font-size: 14px; }
.comment-form .comment-notes,
.comment-form .logged-in-as { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    transition: border-color .2s ease;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--teal); }

/* ===== CHAMBER LOCATION PAGE ===== */
.chambers-section { padding: 70px 0; }
.chambers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}
.chamber-card { margin-bottom: 0; }
.chamber-card .addr-row a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.chamber-card .addr-row a:hover { text-decoration: underline; }

/* ===== VIDEO LIGHTBOX ===== */
.video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,31,51,0.86);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-lightbox.open { display: flex; }
.video-lightbox-inner { width: 100%; max-width: 900px; }
.video-lightbox-frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lightbox-inner.is-vertical { max-width: 380px; }
.video-lightbox-inner.is-vertical .video-lightbox-frame { padding-top: 177.77%; }
.video-lightbox-close {
    display: block;
    margin: 0 0 10px auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    font-size: 22px;
    line-height: 40px;
    color: var(--navy);
    cursor: pointer;
}

/* ===== VIDEOS PAGE ===== */
.videos-page-section { padding: 70px 0; }
.videos-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.video-page-card { cursor: pointer; }
.video-page-card .thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 9;
}
.video-page-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.video-page-card:hover .thumb img { transform: scale(1.06); }
.video-page-card .thumb .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-page-card .thumb .play svg {
    width: 56px;
    height: 56px;
    fill: #fff;
    background: rgba(23,153,138,0.85);
    border-radius: 50%;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform .25s ease;
}
.video-page-card:hover .thumb .play svg { transform: scale(1.1); }
.video-page-card .caption { margin-top: 14px; font-weight: 600; color: var(--navy); font-size: 15px; line-height: 1.5; }
.video-page-card.fb-video-page-card { text-decoration: none; display: block; }
.video-page-card.fb-video-page-card .thumb.fb-thumb-fallback {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0d5ea6, #1877f2 55%, #0a4a9c);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-page-card.fb-video-page-card .fb-logo { width: 56px; height: 56px; fill: rgba(255,255,255,0.28); position: absolute; }
.video-page-card.fb-video-page-card .thumb .play {
    position: relative; z-index: 1; inset: auto;
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform .25s ease, background .25s ease;
}
.video-page-card.fb-video-page-card:hover .thumb .play { transform: scale(1.1); background: #1877f2; }
.video-page-card.fb-video-page-card .thumb .play svg { width: 22px; height: 22px; fill: #1877f2; padding: 0; background: none; box-shadow: none; }
.video-page-card.fb-video-page-card:hover .thumb .play svg { fill: #fff; }
.video-page-card.fb-video-page-card .caption { display: flex; flex-direction: column; gap: 4px; }
.video-page-card .fb-watch-note { font-size: 12.5px; font-weight: 600; color: #1877f2; }

/* ===== SERVICES PAGE: photo service cards ===== */
.conditions-section { padding: 70px 0; }
.services-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-photo-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease;
    font-family: 'Inter', sans-serif;
}
.service-photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-photo-card .photo-link { display: block; }
.service-photo-card .photo {
    width: 100%;
    height: 190px;
    background: var(--teal-tint);
    overflow: hidden;
}
.service-photo-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.service-photo-card:hover .photo img { transform: scale(1.05); }
.service-photo-card .photo.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--teal-tint), #dff2ef);
}
.service-photo-card .photo.photo-placeholder svg { width: 46px; height: 46px; color: var(--navy); opacity: .55; }
.service-photo-card .card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-photo-card h3 { font-family: 'Playfair Display', serif; font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.service-photo-card h3 a { color: var(--navy); }
.service-photo-card h3 a:hover { color: var(--teal-dark); }
.service-photo-card .card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0 0 18px; flex: 1; }
.service-photo-card .btn-sm { padding: 10px 22px; font-size: 12.5px; align-self: flex-start; }
.condition-list { list-style: none; margin: 0; padding: 0; }
.condition-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 11px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.condition-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal-dark);
    font-weight: 700;
}

/* ===== SERVICE / CONDITION DETAIL PAGES ===== */

/* -- Intro: photo + "Get Expert Care" -- */
.service-intro-section { padding: 70px 0 20px; }
.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.service-intro-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}
.service-intro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-intro-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.service-intro-photo-placeholder svg { width: 84px; height: 84px; color: var(--gold-light); }
.service-intro-copy h2 { color: var(--navy); margin: 0 0 14px; }
.service-intro-copy p { color: var(--text-muted); font-size: 15.5px; line-height: 1.8; margin: 0 0 26px; }

/* -- Full written detail -- */
.service-full-content { padding: 50px 0 70px; }
.service-content-narrow { max-width: 760px; }
.service-content-narrow > h2:first-child { color: var(--navy); margin-bottom: 18px; }
.service-content-narrow > p { color: var(--text-muted); font-size: 15.5px; line-height: 1.85; margin-bottom: 8px; }
.service-content-narrow h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: var(--teal-dark);
    margin: 36px 0 16px;
}
.service-content-narrow .condition-list { margin-bottom: 8px; }
.service-content-narrow .condition-list li { font-size: 15px; }
.callout-box {
    margin: 30px 0;
    padding: 22px 26px;
    background: var(--teal-tint);
    border-left: 4px solid var(--gold);
    border-radius: 0 10px 10px 0;
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.7;
}
.service-faq-block { display: flex; flex-direction: column; gap: 22px; }
.service-faq-item .service-faq-q { font-weight: 700; color: var(--navy); margin: 0 0 6px; font-size: 15px; }
.service-faq-item .service-faq-a { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* -- CTA banner -- */
.service-cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 46px 0; }
.service-cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.service-cta-banner-inner h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.service-cta-banner-inner p { color: rgba(255,255,255,0.75); margin: 0; font-size: 14.5px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b9852a); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(201,154,58,0.35); flex-shrink: 0; }
.btn-gold:hover { box-shadow: 0 16px 32px rgba(201,154,58,0.45); transform: translateY(-2px); }

/* -- Other Treatment Services -- */
.other-services-section { padding: 70px 0; }
.other-services-title { text-align: center; color: var(--navy); margin-bottom: 40px; }

@media (max-width: 900px) {
    .service-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-intro-photo { aspect-ratio: 16 / 10; }
    .service-cta-banner-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .doctor-intro .container,
    .appointment-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .conditions-grid, .services-photo-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-page-grid { grid-template-columns: repeat(2, 1fr); }
    .chambers-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-author-box { flex-direction: column; text-align: center; }
    .stats-section .container { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .stat:nth-child(2)::after { display: none; }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { background-attachment: scroll; }
    .hero-doctor-photo { max-width: 40%; right: 2%; }
    .top-bar-left span:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
    .site-logo { gap: 8px; }
    .site-title { font-size: 16px !important; line-height: 1.2 !important; }
    .site-title-sub { font-size: 9.5px !important; letter-spacing: 0.06em !important; }
    .top-bar-right .top-bar-hours { display: none; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-lg); display: none; max-height: calc(100vh - 60px); overflow-y: auto; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; padding: 12px 20px; align-items: stretch; }
    .main-nav ul li ul { position: static; box-shadow: none; }
    .main-nav ul li:hover > ul { display: none; }
    .main-nav li.submenu-open > ul { display: block !important; }
    .submenu-arrow { display: flex; }
    .header-actions { display: flex; align-items: center; gap: 10px; }
    .nav-toggle { display: block; }
    .header-actions .header-cta { display: none; }
    .hero-book-cta { display: inline-flex; }
}
@media (max-width: 700px) {
    .hero-cta-btn { padding: 12px 22px; font-size: 13px; }
    .hero-inner h1 { font-size: 30px; }
    .hero-title { font-size: 18px; margin: 8px 0 16px; }
    .hero-trust-row { flex-wrap: wrap; gap: 22px; }
    .services-grid { grid-template-columns: 1fr; }
    .conditions-grid, .services-photo-grid { grid-template-columns: 1fr; }
    .videos-page-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .video-item { flex: 0 0 230px; }
    .footer-grid { grid-template-columns: 1fr; }
    .doctor-intro .photo-wrap::before { display: none; }
    .doctor-intro .exp-badge { left: 10px; bottom: 16px; padding: 10px 14px 10px 12px; max-width: 190px; }
    .doctor-intro .exp-badge::before { flex-basis: 32px; width: 32px; height: 32px; }
    .doctor-intro .exp-badge strong { font-size: 15px; }
    .doctor-intro .exp-badge span { font-size: 9px; }
    .hero { min-height: 560px; display: block; overflow: hidden; }
    .hero-inner { padding: 24px 0 50px; }
    .hero-doctor-photo {
        position: relative;
        z-index: 2;
        display: block;
        height: auto;
        max-height: none;
        width: 58%;
        max-width: 250px;
        margin: 22px auto 0;
        object-position: top center;
        filter: drop-shadow(0 16px 24px rgba(0,0,0,0.35));
    }
    .hero::before { background: linear-gradient(180deg, rgba(5,20,36,0.4) 0%, rgba(5,20,36,0.93) 42%, rgba(6,25,45,0.97) 100%); }
    .doctor-intro { padding: 70px 0; }
    .services-section { padding: 70px 0; }
    .stats-section { padding: 50px 0; }
    .page-hero { padding: 80px 0 40px; }
    .page-content-section { padding: 50px 0; }
    .chambers-section { padding: 50px 0; }
    .videos-page-section { padding: 50px 0; }
    .conditions-section { padding: 50px 0; }
    .section-title h2 { font-size: 27px; }
    .doctor-intro h2 { font-size: 26px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero-sub { font-size: 14px; }
    .appointment-form-card, .contact-card, .clinic-card { padding: 26px 22px; }
    .service-card, .testi-card { padding: 28px 22px; }
    .service-photo-card .card-body { padding: 20px 20px 24px; }
    .top-bar-socials { display: none; }
}
@media (max-width: 420px) {
    .container { padding: 0 18px; }
    .stats-section .container { grid-template-columns: repeat(2, 1fr); }
    .hero-inner h1 { font-size: 26px; }
    .hero-trust-row { gap: 18px; }
    .top-bar-left span:nth-child(1) { font-size: 11.5px; }
    .site-title { font-size: 14.5px; line-height: 1.2; }
    .site-title-sub { font-size: 8.5px; letter-spacing: 0.05em; }
}

