/* ── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
    --teal:       #0d9488;
    --teal-light: #14b8a6;
    --teal-dark:  #0f766e;
    --navy:       #0f172a;
    --slate:      #334155;
    --muted:      #64748b;
    --border:     #e2e8f0;
    --bg-soft:    #f8fafc;
    --white:      #ffffff;
    --danger:     #ef4444;
    --success:    #22c55e;
    --warning:    #f59e0b;
    --radius:     12px;
    --shadow:     0 4px 24px rgba(15,23,42,.08);
    --shadow-lg:  0 12px 48px rgba(15,23,42,.12);
}

/* ── Reset / Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--slate);
    background: var(--white);
    line-height: 1.65;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; color: var(--navy); }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.text-teal { color: var(--teal) !important; }

/* ── Top Bar ────────────────────────────────────────────────────────────────── */
.topbar {
    background: var(--navy);
    color: #94a3b8;
    padding: 8px 0;
    font-size: .82rem;
}
.topbar-links .btn-outline-light {
    border-color: rgba(255,255,255,.25);
    color: #e2e8f0;
    font-size: .8rem;
    padding: 3px 12px;
}
.btn-teal {
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: .8rem;
    transition: background .2s;
}
.btn-teal:hover { background: var(--teal-dark); color: #fff; }

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.clinic-navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
}
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
}
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--navy); line-height: 1.1; font-size: 1.1rem; }
.brand-sub  { font-size: .68rem; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.clinic-navbar .nav-link { color: var(--slate); font-weight: 500; font-size: .9rem; padding: 6px 14px !important; border-radius: 8px; transition: all .2s; }
.clinic-navbar .nav-link:hover { color: var(--teal); background: rgba(13,148,136,.06); }
.btn-appointment {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff !important;
    border: none;
    padding: 8px 20px !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: .88rem;
    transition: all .25s;
    box-shadow: 0 4px 14px rgba(13,148,136,.3);
}
.btn-appointment:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,148,136,.4); }

/* ── Hero Section ───────────────────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #f0fafa 0%, #e6f7f6 50%, #f8fafc 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-section-image {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(13,148,136,.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(13,148,136,.04) 0%, transparent 40%);
}
.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(13,148,136,.1); color: var(--teal);
    padding: 6px 16px; border-radius: 100px;
    font-size: .85rem; font-weight: 600;
    border: 1px solid rgba(13,148,136,.2);
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--navy);
    margin: 12px 0 18px;
}
.hero-subtitle { font-size: 1.05rem; color: var(--muted); max-width: 480px; line-height: 1.7; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff; border: none;
    padding: 13px 28px; border-radius: 10px;
    font-weight: 600; font-size: .95rem;
    box-shadow: 0 6px 20px rgba(13,148,136,.35);
    transition: all .25s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,148,136,.45); color: #fff; }
.btn-hero-secondary {
    background: #fff; color: var(--navy);
    border: 2px solid var(--border);
    padding: 11px 26px; border-radius: 10px;
    font-weight: 600; font-size: .95rem;
    margin-left: 12px; transition: all .25s;
}
.btn-hero-secondary:hover { border-color: var(--teal); color: var(--teal); }
.min-vh-75 { min-height: 75vh; }

/* Stats */
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat-item { text-align: center; padding: 0 20px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.stat-lbl { font-size: .78rem; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero illustration */
.hero-illustration {
    position: relative; height: 420px;
    display: flex; align-items: center; justify-content: center;
}
.hero-circle {
    width: 320px; height: 320px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,148,136,.1), rgba(13,148,136,.2));
    border: 2px dashed rgba(13,148,136,.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--teal);
}
.hero-card {
    position: absolute;
    background: #fff; border-radius: 12px;
    padding: 12px 18px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 500;
    border: 1px solid var(--border);
}
.hero-card i { font-size: 1.2rem; }
.hero-card-1 { top: 60px; left: 0; }
.hero-card-2 { bottom: 80px; right: 0; }

/* ── Section Common ─────────────────────────────────────────────────────────── */
.section-pad { padding: 72px 0; }
.bg-light-gray { background: var(--bg-soft); }
.section-label {
    display: inline-block;
    background: rgba(13,148,136,.1); color: var(--teal);
    padding: 4px 14px; border-radius: 100px;
    font-size: .8rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 8px; color: var(--navy); }
.section-sub { color: var(--muted); font-size: .95rem; }

/* ── Service Cards ──────────────────────────────────────────────────────────── */
.service-card {
    background: #fff; border-radius: var(--radius);
    padding: 32px 28px; border: 1px solid var(--border);
    transition: all .3s;
    height: 100%;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(13,148,136,.2); }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(13,148,136,.12), rgba(13,148,136,.2));
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 1.3rem; margin-bottom: 18px;
}
.service-name  { font-size: 1rem; font-weight: 700; font-family: 'DM Sans', sans-serif; color: var(--navy); margin-bottom: 8px; }
.service-desc  { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.service-price { font-size: .85rem; font-weight: 700; color: var(--teal); }

/* ── Doctor Cards ───────────────────────────────────────────────────────────── */
.doctor-card {
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    transition: all .3s; text-align: center;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doctor-avatar { position: relative; padding: 24px 24px 0; }
.doctor-avatar img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(13,148,136,.2); }
.doctor-avatar-placeholder {
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,148,136,.1), rgba(13,148,136,.2));
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 2.5rem;
    margin: 0 auto;
    border: 4px solid rgba(13,148,136,.2);
}
.doctor-available-badge {
    position: absolute; bottom: 4px; right: calc(50% - 70px);
    background: #fff; border: 1px solid var(--border);
    padding: 2px 10px; border-radius: 100px;
    font-size: .72rem; font-weight: 600; color: #16a34a;
}
.doctor-info { padding: 16px 20px 24px; }
.doctor-name   { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.doctor-spec   { font-size: .82rem; font-weight: 600; color: var(--teal); }
.doctor-fee    { font-size: .85rem; font-weight: 600; color: var(--muted); }
.btn-book-doctor {
    background: transparent; color: var(--teal);
    border: 1.5px solid var(--teal); border-radius: 8px;
    font-weight: 600; font-size: .85rem;
    padding: 7px 14px; transition: all .2s;
}
.btn-book-doctor:hover { background: var(--teal); color: #fff; }
.doctor-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-profile-doctor {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 600;
    font-size: .85rem;
    padding: 7px 14px;
    transition: all .2s;
}
.btn-profile-doctor:hover {
    border-color: var(--teal);
    background: #ecfdf9;
    color: var(--teal-dark);
}
.btn-outline-teal { border: 2px solid var(--teal); color: var(--teal); border-radius: 10px; padding: 10px 28px; font-weight: 600; transition: all .2s; }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

/* ── Why Section ────────────────────────────────────────────────────────────── */
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(13,148,136,.1), rgba(13,148,136,.18));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 1.1rem;
}
.why-item h6 { font-family: 'DM Sans', sans-serif; font-weight: 700; margin-bottom: 4px; }
.why-item p  { font-size: .88rem; color: var(--muted); margin: 0; }

.quick-booking-card {
    background: #fff; border-radius: var(--radius);
    padding: 36px 32px; border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

/* ── Testimonials ───────────────────────────────────────────────────────────── */
.testimonial-card {
    background: #fff; border-radius: var(--radius);
    padding: 28px 24px; border: 1px solid var(--border);
    transition: all .3s; height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-text { font-size: .9rem; color: var(--slate); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem;
}
.author-name { font-weight: 600; font-size: .88rem; color: var(--navy); }

/* ── Page Hero ──────────────────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
    padding: 60px 0;
    color: #fff;
}
.page-hero-title { color: #fff; font-size: 2.2rem; }
.page-hero p { color: #94a3b8; margin: 8px 0 0; }

/* ── Booking Form ───────────────────────────────────────────────────────────── */
.booking-form-card {
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow);
}
.booking-step { padding: 28px 32px; border-bottom: 1px solid var(--border); }
.booking-step:last-child { border-bottom: none; }
.step-label { font-weight: 700; font-size: 1rem; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.step-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--teal); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; font-weight: 700;
}
.doctor-option {
    display: flex; align-items: center; gap: 14px;
    border: 2px solid var(--border); border-radius: 10px;
    padding: 14px; cursor: pointer; transition: all .2s;
    position: relative;
}
.doctor-option:hover, .doctor-option.selected { border-color: var(--teal); background: rgba(13,148,136,.04); }
.doctor-option-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(13,148,136,.1); color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.doctor-option-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.doctor-option-spec { font-size: .8rem; color: var(--teal); }
.doctor-option-fee  { font-size: .8rem; color: var(--muted); }
.doctor-option-check { margin-left: auto; color: var(--teal); font-size: 1.2rem; opacity: 0; }
.doctor-option.selected .doctor-option-check { opacity: 1; }

.slots-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-btn {
    padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 8px;
    background: #fff; cursor: pointer; font-size: .85rem; font-weight: 500;
    transition: all .2s;
}
.slot-btn:hover, .slot-btn.active { border-color: var(--teal); background: var(--teal); color: #fff; }

.booking-success {
    text-align: center; padding: 60px 40px;
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border);
}
.booking-success-icon { font-size: 4rem; color: var(--success); margin-bottom: 20px; }

/* ── Doctors Page ───────────────────────────────────────────────────────────── */
.spec-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-pill {
    padding: 7px 18px; border: 1.5px solid var(--border);
    border-radius: 100px; font-size: .85rem; font-weight: 500;
    color: var(--slate); transition: all .2s;
}
.spec-pill:hover, .spec-pill.active { border-color: var(--teal); background: var(--teal); color: #fff; }
.doctor-profile-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all .3s; }
.doctor-profile-card:hover { box-shadow: var(--shadow-lg); }
.doctor-profile-header { background: linear-gradient(135deg, rgba(13,148,136,.06), rgba(13,148,136,.12)); padding: 28px 20px 20px; text-align: center; position: relative; }
.doctor-profile-avatar {
    width: 110px; height: 110px; border-radius: 50%;
    background: rgba(13,148,136,.15); color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; margin: 0 auto;
    border: 4px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1);
    overflow: hidden;
}
.doctor-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor-profile-badge {
    position: absolute; top: 14px; right: 14px;
    padding: 3px 12px; border-radius: 100px;
    font-size: .72rem; font-weight: 700;
}
.available   { background: rgba(34,197,94,.1); color: #16a34a; }
.unavailable { background: rgba(239,68,68,.1); color: #dc2626; }
.doctor-profile-body { padding: 20px 24px 28px; }
.doctor-profile-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.doctor-profile-spec { font-size: .85rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.doctor-profile-bio  { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.doctor-profile-fee  { font-size: .88rem; font-weight: 600; color: var(--slate); }
.doctor-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 32px;
    align-items: start;
}
.doctor-detail-summary,
.doctor-detail-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.doctor-detail-summary {
    padding: 30px;
    text-align: center;
}
.doctor-detail-photo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    background: #ecfdf9;
    color: var(--teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 5px solid rgba(13,148,136,.16);
    box-shadow: 0 10px 30px rgba(15,23,42,.1);
}
.doctor-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doctor-profile-badge-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.doctor-detail-summary h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.doctor-detail-spec {
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 18px;
}
.doctor-detail-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    padding: 10px 0;
    border-top: 1px solid #eef2f7;
    color: var(--slate);
    font-size: .92rem;
}
.doctor-detail-line i {
    color: var(--teal);
    width: 18px;
    margin-top: 4px;
    text-align: center;
}
.doctor-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}
.doctor-detail-content {
    padding: 34px;
}
.doctor-detail-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.doctor-rich-bio {
    color: var(--slate);
    line-height: 1.8;
}
.doctor-rich-bio > *:last-child {
    margin-bottom: 0;
}
.doctor-rich-bio h3,
.doctor-rich-bio h4,
.doctor-rich-bio h5 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    margin: 22px 0 10px;
}
.doctor-rich-bio ul,
.doctor-rich-bio ol {
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}
.doctor-rich-bio a {
    color: var(--teal-dark);
    font-weight: 600;
}

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(13,148,136,.1); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
}
.contact-form-card { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.clinic-footer { background: var(--navy); color: #94a3b8; }
.footer-heading { color: #e2e8f0; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px; font-family: 'DM Sans', sans-serif; }
.footer-links { list-style: none; padding: 0; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: #94a3b8; font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-contact { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { font-size: .88rem; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--teal-light); margin-top: 3px; flex-shrink: 0; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.08); color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; transition: all .2s;
}
.social-links a:hover { background: var(--teal); color: #fff; }
.text-muted-light { color: #94a3b8; font-size: .88rem; line-height: 1.7; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .82rem; color: #64748b;
}

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.form-control, .form-select {
    border: 1.5px solid var(--border); border-radius: 8px;
    padding: 10px 14px; font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.12);
    outline: none;
}
.form-label { font-weight: 500; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }

/* ── Utility ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-actions { display: flex; flex-direction: column; gap: 10px; }
    .btn-hero-secondary { margin-left: 0; }
    .hero-stats { flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .booking-step { padding: 20px; }
}

/* Professional responsive refresh */
:root {
    --teal: #0f9488;
    --teal-light: #2dd4bf;
    --teal-dark: #0b6f68;
    --navy: #102033;
    --slate: #334155;
    --muted: #667085;
    --border: #e5e7eb;
    --bg-soft: #f7fafc;
    --radius: 10px;
    --shadow: 0 8px 28px rgba(15, 23, 42, .07);
    --shadow-lg: 0 18px 50px rgba(15, 23, 42, .11);
}

html, body { overflow-x: hidden; }
body {
    color: #263445;
    background: #fff;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
}
p { margin-bottom: 0; }
img { height: auto; }
.container-xl {
    --bs-gutter-x: 1.75rem;
}
a:focus-visible,
button:focus-visible,
.form-control:focus,
.form-select:focus {
    outline: none;
}

.topbar {
    background: #0b1626;
    padding: 9px 0;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container-xl {
    gap: 16px;
}
.topbar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.topbar-info .mx-3 { display: none; }
.topbar-info span,
.topbar-info a {
    color: #cbd5e1 !important;
    line-height: 1.3;
}
.topbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.clinic-navbar {
    padding: 14px 0;
    border-bottom: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 8px 24px rgba(15,23,42,.045);
}
.navbar-brand {
    min-width: 0;
}
.brand-icon,
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 auto;
}
.brand-icon {
    background: var(--teal);
    box-shadow: 0 10px 24px rgba(15,148,136,.22);
}
.brand-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0;
}
.brand-sub {
    font-size: .66rem;
    letter-spacing: .08em;
}
.clinic-navbar .nav-link {
    border-radius: 999px;
    color: #344054;
    font-weight: 600;
    padding: 8px 14px !important;
}
.clinic-navbar .nav-link:hover,
.clinic-navbar .nav-link:focus {
    color: var(--teal-dark);
    background: #ecfdf9;
}
.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(15,148,136,.14);
}

.btn-appointment,
.btn-hero-primary,
.btn-teal {
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15,148,136,.22);
    font-weight: 700;
}
.btn-appointment:hover,
.btn-hero-primary:hover,
.btn-teal:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    box-shadow: 0 14px 30px rgba(15,118,110,.28);
}
.btn-hero-primary {
    padding: 13px 26px;
}
.btn-hero-secondary,
.btn-outline-teal,
.btn-book-doctor,
.btn-profile-doctor {
    border-radius: 999px;
    border-color: #cbd5e1;
    color: var(--navy);
    background: #fff;
}
.btn-hero-secondary:hover,
.btn-outline-teal:hover,
.btn-book-doctor:hover,
.btn-profile-doctor:hover {
    border-color: var(--teal);
    background: #ecfdf9;
    color: var(--teal-dark);
}

.hero-section {
    min-height: 620px;
    padding: 88px 0 72px;
    background: linear-gradient(180deg, #f8fbfc 0%, #eefaf8 100%);
    border-bottom: 1px solid #e8eef2;
}
.hero-section-image {
    background-position: center right;
}
.hero-section > .container-xl {
    position: relative;
    z-index: 1;
}
.hero-bg-pattern {
    background-image: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.72));
}
.min-vh-75 {
    min-height: 560px;
}
.hero-badge,
.section-label {
    background: #ecfdf9;
    border: 1px solid #bceee5;
    color: var(--teal-dark);
    font-weight: 800;
    letter-spacing: .06em;
}
.hero-title {
    max-width: 680px;
    font-size: clamp(2.35rem, 4.6vw, 4.35rem);
    line-height: 1.05;
    margin: 14px 0 20px;
}
.hero-subtitle {
    max-width: 590px;
    color: #475467;
    font-size: 1.08rem;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-hero-secondary {
    margin-left: 0;
    padding: 13px 24px;
}
.hero-stats {
    width: fit-content;
    max-width: 100%;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px 10px;
    backdrop-filter: blur(10px);
}
.stat-item {
    min-width: 108px;
    padding: 0 16px;
}
.stat-num {
    font-family: 'DM Sans', sans-serif;
    color: var(--teal-dark);
    font-size: 1.55rem;
}
.stat-lbl {
    color: #667085;
    line-height: 1.25;
}
.hero-illustration {
    height: 420px;
}
.hero-circle {
    width: 360px;
    height: 280px;
    border-radius: 28px;
    border: 1px solid rgba(15,148,136,.22);
    background: rgba(255,255,255,.78);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    font-size: 4rem;
}
.hero-card {
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
}

.hero-illustration,
.hero-circle,
.hero-card {
    display: none !important;
}

.section-pad {
    padding: 84px 0;
}
.section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.section-title {
    font-size: clamp(1.75rem, 2.6vw, 2.55rem);
    line-height: 1.15;
}
.section-sub {
    color: #667085;
    line-height: 1.7;
}
.bg-light-gray {
    background: #f7fafc;
}

.service-card,
.doctor-card,
.testimonial-card,
.doctor-profile-card,
.doctor-detail-summary,
.doctor-detail-content,
.contact-form-card,
.booking-form-card,
.quick-booking-card,
.booking-success {
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(15,23,42,.055);
}
.service-card,
.testimonial-card,
.doctor-profile-card,
.contact-form-card,
.quick-booking-card,
.booking-success {
    background: #fff;
}
.service-card,
.testimonial-card {
    padding: 30px;
}
.service-card:hover,
.doctor-card:hover,
.doctor-profile-card:hover,
.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: #bceee5;
    box-shadow: var(--shadow-lg);
}
.service-icon,
.why-icon,
.contact-info-icon,
.doctor-avatar-placeholder,
.doctor-profile-avatar {
    background: #ecfdf9;
    color: var(--teal-dark);
}
.service-icon {
    border-radius: 16px;
}
.service-name,
.doctor-name,
.doctor-profile-name,
.author-name {
    font-family: 'DM Sans', sans-serif;
}
.service-desc,
.doctor-profile-bio,
.testimonial-text,
.why-item p {
    color: #667085;
}
.doctor-card {
    height: 100%;
}
.doctor-info {
    padding: 18px 22px 24px;
}
.doctor-avatar img,
.doctor-avatar-placeholder {
    box-shadow: 0 8px 26px rgba(15,23,42,.08);
}
.doctor-available-badge {
    border-color: #d1fadf;
    color: #027a48;
}
.why-section {
    background: #fff;
}
.why-item {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    padding: 18px;
}
.quick-booking-card {
    padding: 34px;
}

.page-hero {
    background: linear-gradient(180deg, #102033 0%, #172b45 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: rgba(255,255,255,.12);
}
.page-hero .container-xl {
    position: relative;
    z-index: 1;
}
.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
}
.page-hero p {
    max-width: 680px;
    color: #cbd5e1;
    line-height: 1.65;
}

.booking-form-card {
    overflow: hidden;
}
.booking-step {
    padding: 30px 34px;
}
.step-label {
    font-size: 1.05rem;
}
.step-num {
    background: var(--teal);
}
.doctor-option {
    border-width: 1px;
    border-radius: 14px;
    background: #fff;
    min-height: 86px;
}
.doctor-option:hover,
.doctor-option.selected {
    background: #f0fdfa;
    box-shadow: 0 8px 24px rgba(15,148,136,.08);
}
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}
.slot-btn {
    border-radius: 999px;
    min-height: 42px;
}
.form-control,
.form-select {
    min-height: 46px;
    border-radius: 10px;
    border: 1px solid #d7dee8;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(15,148,136,.12);
}

.spec-filter {
    justify-content: center;
}
.spec-pill {
    background: #fff;
}
.contact-info-item {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    padding: 18px;
}
.clinic-footer {
    background: #0b1626;
    color: #cbd5e1;
}
.clinic-footer .brand-icon {
    background: rgba(45,212,191,.14);
    color: var(--teal-light);
    box-shadow: none;
}
.footer-heading {
    color: #f8fafc;
}
.footer-links a,
.footer-contact li,
.text-muted-light {
    color: #cbd5e1;
}
.footer-bottom {
    color: #94a3b8;
}

@media (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.55rem);
    }
    .hero-card-1 { left: 12px; }
    .hero-card-2 { right: 12px; }
}

@media (max-width: 991.98px) {
    .topbar .container-xl {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .topbar-links {
        justify-content: flex-start;
    }
    .clinic-navbar {
        padding: 10px 0;
    }
    .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }
    .clinic-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 4px !important;
    }
    .clinic-navbar .nav-link {
        padding: 10px 12px !important;
        border-radius: 10px;
    }
    .clinic-navbar .btn-appointment {
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }
    .hero-section {
        min-height: auto;
        padding: 72px 0 58px;
        background-position: center;
    }
    .hero-section-image {
        background-image: linear-gradient(180deg, rgba(248,251,252,.96), rgba(248,251,252,.9)) !important;
    }
    .min-vh-75 {
        min-height: auto;
    }
    .hero-title,
    .hero-subtitle {
        max-width: none;
    }
    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        padding: 12px;
    }
    .section-pad {
        padding: 66px 0;
    }
    .page-hero {
        padding: 58px 0;
    }
}

@media (max-width: 991.98px) {
    .doctor-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* Website chatbot */
.clinic-chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 1050; font-family: 'DM Sans', sans-serif; }
.clinic-chatbot-toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; box-shadow: 0 14px 32px rgba(15,118,110,.32); font-size: 1.35rem; }
.clinic-chatbot-panel { position: absolute; right: 0; bottom: 72px; width: min(380px, calc(100vw - 32px)); max-height: min(680px, calc(100vh - 120px)); display: none; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 60px rgba(15,23,42,.2); }
.clinic-chatbot.open .clinic-chatbot-panel { display: flex; }
.clinic-chatbot-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--navy); color: #fff; }
.clinic-chatbot-header strong, .clinic-chatbot-header span { display: block; }
.clinic-chatbot-header span { color: #cbd5e1; font-size: .78rem; }
.clinic-chatbot-close { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.clinic-chatbot-messages { padding: 16px; overflow-y: auto; flex: 1 1 auto; background: #f8fafc; }
.clinic-chatbot-message { max-width: 88%; padding: 10px 12px; border-radius: 14px; margin-bottom: 10px; font-size: .9rem; line-height: 1.45; }
.clinic-chatbot-message.bot { background: #fff; border: 1px solid #e6ebf1; color: var(--slate); }
.clinic-chatbot-message.user { margin-left: auto; background: var(--teal); color: #fff; }
.clinic-chatbot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.clinic-chatbot-actions button { border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: var(--navy); padding: 7px 12px; font-size: .82rem; font-weight: 700; }
.clinic-chatbot-actions button:hover { border-color: var(--teal); background: #ecfdf9; color: var(--teal-dark); }
.clinic-chatbot-list { background: #fff; border: 1px solid #e6ebf1; border-radius: 12px; padding: 12px 12px 12px 28px; margin: 0 0 12px; color: var(--slate); font-size: .88rem; }
.clinic-chatbot-card { background: #fff; border: 1px solid #e6ebf1; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.clinic-chatbot-lead-form { display: flex; flex-direction: column; gap: 10px; }
.clinic-chatbot-lead-form label { color: var(--slate); font-size: .82rem; font-weight: 700; }
.clinic-chatbot-lead-form input, .clinic-chatbot-lead-form select, .clinic-chatbot-lead-form textarea { width: 100%; margin-top: 4px; border: 1px solid #d9e2ec; border-radius: 8px; padding: 8px 10px; color: var(--slate); font: inherit; font-weight: 400; }
.clinic-chatbot-submit { border: 0; border-radius: 999px; background: var(--teal); color: #fff; padding: 10px 14px; font-weight: 800; }
.clinic-chatbot-form-status { color: var(--teal-dark); font-size: .82rem; font-weight: 700; min-height: 18px; }
.clinic-chatbot-freeform { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.clinic-chatbot-freeform input { flex: 1; border: 1px solid #d9e2ec; border-radius: 999px; padding: 9px 12px; min-width: 0; }
.clinic-chatbot-freeform button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--teal); color: #fff; }

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }
    .container-xl {
        --bs-gutter-x: 1.25rem;
    }
    .topbar {
        display: none;
    }
    .brand-icon,
    .brand-logo {
        width: 40px;
        height: 40px;
    }
    .brand-name {
        font-size: .98rem;
        max-width: 190px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand-sub {
        font-size: .61rem;
    }
    .hero-section {
        padding: 54px 0 46px;
    }
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-appointment,
    .btn-outline-teal {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        margin-top: 28px !important;
        border-radius: 16px;
    }
    .stat-num {
        font-size: 1.3rem;
    }
    .section-pad {
        padding: 52px 0;
    }
    .section-header {
        margin-bottom: 2rem !important;
    }
    .section-title {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }
    .service-card,
    .testimonial-card,
    .contact-form-card,
    .quick-booking-card,
    .booking-success {
        padding: 22px;
        border-radius: 14px;
    }
    .doctor-info {
        padding: 16px 18px 22px;
    }
    .why-item,
    .contact-info-item {
        padding: 16px;
    }
    .page-hero {
        padding: 44px 0;
    }
    .page-hero-title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }
    .booking-step {
        padding: 22px;
    }
    .doctor-option {
        align-items: flex-start;
        min-height: auto;
    }
    .doctor-option-check {
        position: absolute;
        right: 14px;
        top: 14px;
    }
    .slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .navbar-brand {
        max-width: calc(100vw - 96px);
    }
    .brand-name {
        max-width: 150px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .stat-item + .stat-item {
        border-top: 1px solid var(--border);
    }
    .slots-grid {
        grid-template-columns: 1fr;
    }
    .booking-step,
    .service-card,
    .testimonial-card,
    .contact-form-card,
    .quick-booking-card,
    .booking-success {
        padding: 18px;
    }
}

/* Homepage builder sections */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
}

.hero-slider-wrap .carousel,
.hero-slider-wrap .carousel-inner,
.hero-slider-wrap .carousel-item {
    min-height: inherit;
}

.hero-slider-control {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(15, 23, 42, .55);
    opacity: 1;
}

.hero-slider-control.carousel-control-prev {
    left: 22px;
}

.hero-slider-control.carousel-control-next {
    right: 22px;
}

.hero-slider-indicators {
    bottom: 18px;
    margin-bottom: 0;
}

.hero-slider-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background-color: rgba(13, 148, 136, .45);
}

.hero-slider-indicators .active {
    width: 28px;
    background-color: var(--teal);
}

.home-section-image {
    width: 100%;
    min-height: 320px;
    max-height: 460px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-lg);
}

.home-section-body {
    color: #475467;
    font-size: 1.03rem;
    line-height: 1.75;
    margin: 0;
}

.home-quick-booking {
    max-width: 720px;
    margin: 0 auto;
}

.home-quick-booking .section-header {
    margin-left: auto;
    margin-right: auto;
}

.home-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 18px;
    border: 1px solid #bceee5;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    box-shadow: var(--shadow);
}

.home-cta-band h2 {
    margin: 12px 0 8px;
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.home-cta-band p {
    max-width: 720px;
    margin: 0;
    color: #475467;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .hero-slider-control {
        display: none;
    }

    .home-cta-band {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px;
    }

    .home-section-image {
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-indicators {
        bottom: 10px;
    }

    .home-section-image {
        min-height: 220px;
        border-radius: 14px;
    }

    .home-cta-band {
        padding: 22px;
        border-radius: 14px;
    }

    .home-cta-band .btn {
        width: 100%;
    }
}
/* Patient portal */
.admin-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.admin-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-title {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
}

.admin-card-body { padding: 20px; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.admin-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: .75rem;
    font-weight: 700;
    padding: 10px 16px;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.status-badge,
.badge-type {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .72rem;
    font-weight: 700;
}

.status-badge { background: #e0f2fe; color: #0369a1; }
.status-completed, .status-booked { background: #dcfce7; color: #166534; }
.status-cancelled, .status-skipped { background: #fee2e2; color: #991b1b; }
.status-pending, .status-due { background: #fef3c7; color: #92400e; }
.status-contacted { background: #ede9fe; color: #5b21b6; }
.badge-type { background: rgba(13, 148, 136, .1); color: #0f766e; }

.btn-admin-primary {
    background: #0d9488;
    color: #fff;
    border: 0;
    border-radius: 7px;
    padding: 7px 16px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-admin-primary:hover { background: #0f766e; color: #fff; }

/* Floating WhatsApp contact */
.whatsapp-connect {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 14px 34px rgba(18, 140, 126, .34);
    transition: transform .2s, background .2s, box-shadow .2s;
}

.whatsapp-connect:hover,
.whatsapp-connect:focus {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(18, 140, 126, .42);
}

@media (max-width: 767.98px) {
    .whatsapp-connect {
        right: 16px;
        bottom: 86px;
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }
}
