:root {
    --ink: #082f3d;
    --muted: #5d7080;
    --line: #d7e8ed;
    --surface: #ffffff;
    --surface-soft: #f3fbfb;
    --brand-blue: #0c7891;
    --brand-blue-dark: #075a73;
    --brand-green: #36b977;
    --brand-green-dark: #218d5d;
    --shadow: 0 18px 48px rgba(7, 90, 115, 0.13);
    --radius: 8px;
    --heading-font: "Sora", sans-serif;
    --body-font: "Open Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: var(--body-font);
    overflow-x: hidden;
}

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

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

p {
    color: var(--muted);
    line-height: 1.72;
}

.section-anchor {
    scroll-margin-top: 88px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(12, 120, 145, 0.12);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 244px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 6px;
    color: #284654;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
    color: var(--brand-blue-dark);
    background: #eaf8f8;
    transform: translateY(-1px);
}

.site-nav .nav-phone {
    margin-left: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    gap: 8px;
    padding: 0 16px;
}

.site-nav .nav-phone:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-green-dark));
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--brand-blue-dark);
    background: #fff;
    font-size: 20px;
}

/* ── Hero V2 ─────────────────────────────── */
.hero-v2 {
    position: relative;
    min-height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f0fafa;
}

.hero-v2-bg {
    position: absolute;
    inset: -40% 0 -40% 0;
    background: url("../../image (23).jpeg") center top / cover no-repeat;
    opacity: 0.13;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
}

.hero-v2-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(54, 185, 119, 0.13), transparent 42%),
        radial-gradient(circle at 88% 68%, rgba(12, 120, 145, 0.10), transparent 42%),
        linear-gradient(175deg, rgba(240, 250, 250, 0.85) 0%, rgba(247, 252, 252, 0.72) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-v2-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 56px;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    width: 100%;
}

.hero-v2-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1px solid rgba(54, 185, 119, 0.32);
    border-radius: 999px;
    color: var(--brand-green-dark);
    background: rgba(54, 185, 119, 0.09);
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hero-v2-left h1 {
    margin: 22px 0 18px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.07;
    letter-spacing: -0.02em;
}

.hero-v2-left p {
    font-size: 17px;
    line-height: 1.72;
    color: var(--muted);
    max-width: 500px;
    margin: 0;
}

.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-v2-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-v2-logo-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 32px;
    box-shadow: 0 20px 50px rgba(7, 90, 115, 0.16);
    border: 1px solid rgba(12, 120, 145, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-v2-logo-card img {
    width: min(100%, 280px);
    height: auto;
}

.hero-v2-doctor-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: end;
}

.hero-v2-doctor-row img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    border: 4px solid #fff;
    box-shadow: 0 14px 32px rgba(7, 90, 115, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-v2-doctor-row img:nth-child(2) {
    transform: translateY(-14px);
}

.hero-v2-doctor-row img:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(7, 90, 115, 0.26);
}

.hero-v2-doctor-row img:nth-child(2):hover {
    transform: translateY(-20px);
}

.hero-v2-stats-bar {
    position: relative;
    z-index: 2;
    background: #fff;
    border-top: 1px solid rgba(12, 120, 145, 0.10);
    box-shadow: 0 -6px 24px rgba(7, 90, 115, 0.06);
}

.hero-v2-stats {
    display: flex;
    align-items: stretch;
}

.hero-v2-stat {
    flex: 1;
    padding: 24px 32px;
    border-right: 1px solid rgba(12, 120, 145, 0.10);
}

.hero-v2-stat:last-child {
    border-right: none;
}

.hero-v2-stat strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 800;
    color: var(--brand-blue-dark);
    line-height: 1;
}

.hero-v2-stat span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(54, 185, 119, 0.12), transparent 34%),
        linear-gradient(180deg, #f7fcfc 0%, #ffffff 100%);
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    min-height: calc(100vh - 82px);
}

.hero-slide {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    padding: 64px 0 78px;
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 38px 0 auto auto;
    width: min(44vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 120, 145, 0.13), rgba(54, 185, 119, 0.08) 58%, transparent 70%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(54, 185, 119, 0.28);
    border-radius: 999px;
    color: var(--brand-green-dark);
    background: rgba(54, 185, 119, 0.08);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-copy h1,
.about-copy h2,
.section-title h2,
.appointment-panel h2,
.contact-copy h2 {
    margin: 18px 0 16px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 710px;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.04;
}

.hero-copy p {
    max-width: 650px;
    margin: 0;
    font-size: 18px;
}

.hero-actions,
.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    padding: 0 22px;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    box-shadow: 0 14px 28px rgba(12, 120, 145, 0.2);
}

.btn-secondary {
    color: var(--brand-blue-dark);
    background: #fff;
    border: 1px solid rgba(12, 120, 145, 0.2);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(12, 120, 145, 0.18);
}

.hero-stats {
    max-width: 700px;
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero-stats div {
    min-height: 94px;
    padding: 18px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 32px rgba(7, 90, 115, 0.08);
}

.hero-stats strong {
    display: block;
    color: var(--brand-blue-dark);
    font-family: var(--heading-font);
    font-size: 28px;
    line-height: 1;
}

.hero-stats span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-media {
    min-width: 0;
}

.banner-card {
    position: relative;
    min-height: 470px;
    padding: 18px;
    border: 1px solid rgba(12, 120, 145, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.banner-logo {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    width: min(64%, 360px);
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 12px 28px rgba(7, 90, 115, 0.12);
}

.banner-photo {
    width: 100%;
    height: 100%;
    min-height: 434px;
    border-radius: 6px;
    object-fit: cover;
}

.exterior-photo {
    object-position: center top;
}

.banner-card-exterior::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 36%, rgba(8, 47, 61, 0.55));
    pointer-events: none;
}

.banner-chip {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    max-width: calc(100% - 60px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 47, 61, 0.82);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(8, 47, 61, 0.2);
}

.doctor-banner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    padding: 20px;
    border: 1px solid rgba(12, 120, 145, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(12, 120, 145, 0.08), rgba(54, 185, 119, 0.12)),
        #fff;
    box-shadow: var(--shadow);
}

.doctor-banner img {
    width: 100%;
    border-radius: 8px;
    border: 5px solid #fff;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 14px 30px rgba(7, 90, 115, 0.14);
}

.doctor-banner img:nth-child(1),
.doctor-banner img:nth-child(2),
.doctor-banner img:nth-child(3) {
    aspect-ratio: 4 / 5;
}

.doctor-banner img:nth-child(2) {
    transform: translateY(-20px);
}

.doctor-banner img:nth-child(4) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(76%, 440px);
    padding: 12px 16px;
    background: #fff;
}

.facility-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(12, 120, 145, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.facility-banner img {
    width: 100%;
    height: 230px;
    border-radius: 6px;
    object-fit: cover;
}

.facility-banner img:first-child {
    grid-column: 1 / -1;
    height: 265px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 64px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(8, 47, 61, 0.74);
    background-size: 48%;
}

.carousel-indicators {
    margin-bottom: 22px;
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(12, 120, 145, 0.35);
}

.carousel-indicators .active {
    background-color: var(--brand-green);
}

.hero {
    position: relative;
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f7fcfc;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    transform: scale(1.04);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.94));
    pointer-events: none;
}

.hero .carousel-indicators,
.hero .carousel-control-prev,
.hero .carousel-control-next {
    display: none;
}

.hero .carousel-item {
    display: none !important;
}

.hero .carousel-item:first-child {
    display: block !important;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-slide {
    width: 100%;
    min-height: calc(100vh - 82px);
}

.hero-slide {
    padding: 96px 0 104px;
    background: transparent;
}

.hero-slide::before {
    display: none;
}

.hero-layout {
    display: block;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-media {
    display: none;
}

.about,
.specialities,
.doctors,
.facilities,
.appointment,
.contact {
    padding: 86px 0;
}

.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
    gap: 52px;
    align-items: center;
}

.about-photo {
    padding: 12px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    object-position: center top;
}

.about-copy h2,
.section-title h2,
.appointment-panel h2,
.contact-copy h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.16;
}

.about-copy p {
    margin: 0 0 18px;
    font-size: 17px;
}

.specialities,
.facilities {
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
}

.section-title {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-title p {
    margin: 0 auto;
}

.speciality-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.speciality-card {
    min-height: 236px;
    padding: 24px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(7, 90, 115, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.speciality-card:hover {
    transform: translateY(-4px);
    border-color: rgba(54, 185, 119, 0.36);
    box-shadow: var(--shadow);
}

.speciality-card i {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 24px;
}

.speciality-card h3,
.doctor-info h3,
.facility-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 800;
}

.speciality-card p,
.facility-card p {
    margin: 0;
    font-size: 15px;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.doctor-card {
    overflow: hidden;
    border: 1px solid rgba(12, 120, 145, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(7, 90, 115, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(7, 90, 115, 0.16);
}

.doctor-info {
    min-height: 136px;
    padding: 22px;
    border-bottom: 1px solid rgba(12, 120, 145, 0.1);
    background:
        linear-gradient(135deg, rgba(12, 120, 145, 0.08), rgba(54, 185, 119, 0.1)),
        #fff;
}

.doctor-info span,
.facility-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--brand-green-dark);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.doctor-info p {
    margin: 0;
    color: #436171;
    font-weight: 700;
}

.doctor-card img {
    width: 100%;
    aspect-ratio: 739 / 917;
    object-fit: cover;
    object-position: top;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.facility-card {
    overflow: hidden;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(7, 90, 115, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.facility-card img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.facility-card:first-child img {
    object-position: center top;
}

.facility-card div {
    padding: 22px;
}

.appointment {
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #075a73, #218d5d);
}

.appointment-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
}

.appointment-panel .eyebrow {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.appointment-panel h2,
.appointment-panel p {
    color: #fff;
}

.appointment-panel p {
    max-width: 680px;
    margin: 0;
    opacity: 0.9;
}

.appointment-actions {
    margin: 0;
    justify-content: flex-end;
}

.appointment-actions .btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
}

.contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 36px;
    align-items: stretch;
}

.contact-copy,
.contact-card {
    padding: 34px;
    border-radius: 8px;
}

.contact-copy {
    background: linear-gradient(135deg, #f2fbfb, #ffffff);
    border: 1px solid rgba(12, 120, 145, 0.12);
}

.contact-copy p {
    max-width: 680px;
    margin-bottom: 0;
    font-size: 18px;
}

.contact-card {
    display: grid;
    align-content: center;
    gap: 16px;
    color: #fff;
    background: linear-gradient(150deg, var(--brand-blue-dark), var(--brand-green-dark));
    box-shadow: var(--shadow);
}

.contact-card a,
.contact-card div {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.contact-card i {
    width: 24px;
    text-align: center;
}

.site-footer {
    padding: 42px 0 26px;
    color: #fff;
    background: #083c4d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 46px;
    gap: 24px;
    align-items: center;
}

.footer-grid img {
    width: 220px;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
}

.footer-grid p {
    margin: 0 0 4px;
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 800;
}

.footer-grid span,
.footer-bottom span {
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #24c15f;
    box-shadow: 0 16px 34px rgba(36, 193, 95, 0.38);
    font-size: 28px;
}

.floating-whatsapp::before,
.floating-whatsapp::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(36, 193, 95, 0.36);
    border-radius: 50%;
    animation: pulse 1.8s linear infinite;
}

.floating-whatsapp::after {
    animation-delay: 0.45s;
}

@keyframes pulse {
    0% {
        transform: scale(0.75);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 1199px) {
    .speciality-grid,
    .facility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 991px) {
    .nav-shell {
        min-height: 76px;
    }

    .brand img {
        width: 214px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 86px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: flex-start;
        min-height: 46px;
    }

    .site-nav .nav-phone {
        margin-left: 0;
        justify-content: center;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: auto;
    }

    .hero-slide {
        padding: 52px 0 72px;
    }

    .hero-layout,
    .about-grid,
    .appointment-panel,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        max-width: 680px;
    }

    .hero-v2-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-v2-container {
        padding-top: 52px;
        padding-bottom: 40px;
    }

    .hero-v2-right {
        max-width: 600px;
    }

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

    .gallery-item-wide {
        grid-column: span 2;
    }

    .gallery-section-title {
        flex-direction: column;
        gap: 14px;
    }

    .appointment-actions {
        justify-content: flex-start;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 767px) {
    .nav-shell {
        width: min(100% - 24px, 1180px);
    }

    .brand img {
        width: 186px;
    }

    .hero-slide {
        padding: 34px 0 42px;
    }

    .hero .carousel-indicators {
        display: none;
    }

    .hero-copy h1 {
        font-size: 33px;
    }

    .hero-v2-grid {
        gap: 28px;
    }

    .hero-v2-container {
        padding-top: 36px;
        padding-bottom: 28px;
    }

    .hero-v2-left h1 {
        font-size: 30px;
        margin: 16px 0 14px;
    }

    .hero-v2-left p {
        font-size: 16px;
    }

    .hero-v2-logo-card {
        padding: 18px 22px;
    }

    .hero-v2-doctor-row {
        gap: 8px;
    }

    .hero-v2-stats {
        flex-wrap: wrap;
    }

    .hero-v2-stat {
        flex: 1;
        min-width: 33%;
        padding: 18px 20px;
    }

    .hero-v2-stat strong {
        font-size: 24px;
    }

    .hero-copy p,
    .about-copy p,
    .contact-copy p {
        font-size: 16px;
    }

    .about,
    .specialities,
    .doctors,
    .facilities,
    .appointment,
    .contact {
        padding: 48px 0;
    }

    .hero-layout {
        gap: 22px;
    }

    .hero .carousel-item:first-child .hero-media {
        display: none;
    }

    .banner-card {
        min-height: auto;
        padding: 12px;
    }

    .banner-logo {
        position: static;
        width: 100%;
        margin-bottom: 12px;
    }

    .banner-photo {
        min-height: 190px;
    }

    .banner-card-exterior::after {
        inset: auto 12px 12px;
        height: 140px;
        top: auto;
    }

    .banner-chip {
        left: 22px;
        right: 22px;
        bottom: 22px;
        justify-content: center;
        border-radius: 8px;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .doctor-banner,
    .facility-banner,
    .speciality-grid,
    .doctor-grid,
    .facility-grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 14px;
    }

    .doctor-banner::-webkit-scrollbar,
    .facility-banner::-webkit-scrollbar,
    .speciality-grid::-webkit-scrollbar,
    .doctor-grid::-webkit-scrollbar,
    .facility-grid::-webkit-scrollbar {
        height: 6px;
    }

    .doctor-banner::-webkit-scrollbar-thumb,
    .facility-banner::-webkit-scrollbar-thumb,
    .speciality-grid::-webkit-scrollbar-thumb,
    .doctor-grid::-webkit-scrollbar-thumb,
    .facility-grid::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(12, 120, 145, 0.24);
    }

    .doctor-banner {
        grid-auto-columns: minmax(190px, 62vw);
        gap: 12px;
        align-items: stretch;
    }

    .doctor-banner img {
        scroll-snap-align: start;
        height: 100%;
    }

    .doctor-banner img:nth-child(2) {
        transform: none;
    }

    .doctor-banner img:nth-child(4) {
        display: none;
    }

    .facility-banner {
        grid-auto-columns: minmax(250px, 82vw);
        gap: 12px;
    }

    .facility-banner img {
        scroll-snap-align: start;
    }

    .facility-banner img,
    .facility-banner img:first-child {
        height: 190px;
        aspect-ratio: 16 / 10;
        grid-column: auto;
    }

    .speciality-grid {
        grid-auto-columns: minmax(226px, 72vw);
        gap: 14px;
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .speciality-card {
        min-height: 220px;
        scroll-snap-align: start;
    }

    .doctor-grid {
        grid-auto-columns: minmax(260px, 82vw);
        gap: 16px;
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .doctor-card {
        scroll-snap-align: start;
    }

    .doctor-info {
        min-height: 124px;
        padding: 18px;
    }

    .facility-grid {
        grid-auto-columns: minmax(270px, 84vw);
        gap: 16px;
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .facility-card {
        scroll-snap-align: start;
    }

    .facility-card div {
        padding: 18px;
    }

    .appointment-panel,
    .contact-copy,
    .contact-card {
        padding: 24px;
    }

    .btn-primary,
    .btn-secondary,
    .appointment-actions {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hero-copy h1 {
        font-size: 32px;
    }

    .about-copy h2,
    .section-title h2,
    .appointment-panel h2,
    .contact-copy h2 {
        font-size: 28px;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}

/* Active responsive banner hero. The older hero markup is kept hidden as a fallback only. */
.hero {
    min-height: auto;
    display: block;
    background: #fff;
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}

#heroCarousel {
    display: none !important;
}

.banner-carousel {
    width: 100%;
    background: #fff;
}

.banner-carousel .carousel-inner,
.banner-carousel picture,
.banner-carousel .banner-img {
    width: 100%;
}

.hero .banner-carousel .carousel-item,
.hero .banner-carousel .carousel-item:first-child {
    display: none !important;
}

.hero .banner-carousel .carousel-item.active {
    display: block !important;
}

.banner-carousel .banner-img {
    height: auto;
    min-height: 0;
    object-fit: cover;
}

.hero .banner-carousel .carousel-indicators {
    display: flex !important;
    margin-bottom: 18px;
}

.hero .banner-carousel .carousel-control-prev,
.hero .banner-carousel .carousel-control-next {
    display: flex !important;
    width: 62px;
}

.banner-carousel .carousel-control-prev-icon,
.banner-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(8, 47, 61, 0.72);
    background-size: 48%;
}

@media (max-width: 767px) {
    .hero .banner-carousel .carousel-indicators {
        margin-bottom: 12px;
    }

    .hero .banner-carousel .carousel-control-prev,
    .hero .banner-carousel .carousel-control-next {
        display: none !important;
    }
}

/* ── About section enhancements (index.html) ──────── */
.about-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0 28px;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(12, 120, 145, 0.14);
    border-radius: var(--radius);
    background: rgba(247, 252, 252, 0.9);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.about-badge i {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 14px;
}

.about-cta {
    margin-top: 4px;
}

.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(12, 120, 145, 0.10), rgba(54, 185, 119, 0.12));
    border: 1px solid rgba(54, 185, 119, 0.25);
    color: var(--brand-green-dark);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
}

.doctor-card-founder .doctor-info {
    background: linear-gradient(135deg, rgba(12, 120, 145, 0.11), rgba(54, 185, 119, 0.14)), #fff;
}

/* ── Doctor availability ──────────────────────────── */
.doctor-avail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-green-dark);
}

.doctor-avail i {
    font-size: 11px;
}

/* ── Why Choose section ───────────────────────────── */
.why-choose {
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
    padding: 86px 0;
}

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

.why-card {
    padding: 28px 24px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(7, 90, 115, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(54, 185, 119, 0.34);
    box-shadow: 0 20px 44px rgba(7, 90, 115, 0.13);
}

.why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 22px;
}

.why-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 800;
}

.why-card p {
    margin: 0;
    font-size: 15px;
}

/* ── Page Hero (about.html) ───────────────────────── */
.page-hero {
    position: relative;
    padding: 80px 0 72px;
    overflow: hidden;
    background: #f0fafa;
}

.page-hero-bg {
    position: absolute;
    inset: -30% 0 -30% 0;
    background: url("../../image (23).jpeg") center top / cover no-repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(54, 185, 119, 0.12), transparent 40%),
        linear-gradient(170deg, rgba(240, 250, 250, 0.92) 0%, rgba(247, 252, 252, 0.80) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.page-hero-inner h1 {
    margin: 18px 0 16px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.page-hero-inner p {
    font-size: 18px;
    color: var(--muted);
    margin: 0;
    max-width: 620px;
}

/* ── About Full (about.html) ──────────────────────── */
.about-full {
    padding: 86px 0;
    background: #fff;
}

.about-full-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.about-full-photo {
    position: relative;
}

.about-full-photo img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4/3;
    object-position: center top;
}

.about-full-photo-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(8, 47, 61, 0.86);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.about-full-copy p {
    font-size: 16px;
    margin-bottom: 16px;
}

.about-full-copy p:last-child {
    margin-bottom: 0;
}

/* ── Vision & Mission ─────────────────────────────── */
.vision-mission {
    padding: 86px 0;
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vm-card {
    padding: 36px 32px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(7, 90, 115, 0.09);
}

.vm-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 24px;
}

.vm-card h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 800;
}

.vm-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.74;
}

/* ── Leadership ───────────────────────────────────── */
.leadership {
    padding: 86px 0;
    background: #fff;
}

.leader-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 52px;
    align-items: start;
    padding: 40px;
    border: 1px solid rgba(12, 120, 145, 0.13);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(12, 120, 145, 0.04), rgba(54, 185, 119, 0.05)), #fff;
    box-shadow: 0 20px 56px rgba(7, 90, 115, 0.11);
}

.leader-photo-wrap {
    position: relative;
}

.leader-photo-wrap img {
    width: 100%;
    border-radius: 10px;
    border: 4px solid #fff;
    box-shadow: 0 16px 40px rgba(7, 90, 115, 0.16);
    object-fit: cover;
    object-position: top;
    aspect-ratio: 3/4;
}

.leader-photo-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    color: #fff;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leader-info h2 {
    margin: 12px 0 6px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.1;
}

.leader-title {
    margin: 0 0 20px !important;
    color: var(--brand-blue-dark) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.leader-info p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 14px;
}

.leader-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.leader-stats div {
    padding: 16px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 8px;
    background: #f7fcfc;
    text-align: center;
}

.leader-stats strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-blue-dark);
    line-height: 1;
}

.leader-stats span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leader-awards h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--brand-blue-dark);
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 800;
}

.leader-awards ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leader-awards li {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(54, 185, 119, 0.18);
    border-radius: 8px;
    background: rgba(54, 185, 119, 0.04);
}

.leader-awards li i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-green-dark);
    font-size: 14px;
}

.leader-awards li span {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── 24-Hour Services (about.html) ───────────────── */
.services-24 {
    padding: 86px 0;
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
}

.services-24-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.services-24-card {
    padding: 28px 24px;
    border: 1px solid rgba(12, 120, 145, 0.12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(7, 90, 115, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.services-24-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(7, 90, 115, 0.13);
}

.services-24-card i {
    display: block;
    margin-bottom: 16px;
    font-size: 30px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-24-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 800;
}

.services-24-card p {
    margin: 0;
    font-size: 15px;
}

/* ── Nav active state ─────────────────────────────── */
.nav-active {
    color: var(--brand-blue-dark) !important;
    background: #eaf8f8 !important;
}

/* ── Founding strip (about.html) ─────────────────── */
.founding-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 22px;
}

.founding-item {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(12, 120, 145, 0.14);
    border-radius: 8px;
    background: #f7fcfc;
}

.founding-item > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 15px;
}

.founding-item strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.founding-item span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

/* ── Facilities CTA ───────────────────────────────── */
.facilities-cta {
    text-align: center;
    margin-top: 32px;
}

/* ── Gallery page (facilities.html) ──────────────── */
.gallery-section {
    padding: 72px 0;
    background: #fff;
}

.gallery-section-alt {
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 100%);
}

.gallery-section-title {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
}

.gallery-section-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 22px;
}

.gallery-section-title h2 {
    margin: 6px 0 8px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.14;
}

.gallery-section-title p {
    margin: 0;
    font-size: 16px;
    max-width: 580px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(12, 120, 145, 0.10);
    box-shadow: 0 10px 28px rgba(7, 90, 115, 0.10);
    background: #f0f0f0;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item-wide img {
    height: 320px;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    padding: 10px 14px;
    background: #fff;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-blue-dark);
    border-top: 1px solid rgba(12, 120, 145, 0.08);
}

/* ── Responsive additions ─────────────────────────── */
@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .leader-card {
        grid-template-columns: 1fr;
    }

    .leader-photo-wrap {
        max-width: 320px;
    }

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

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

@media (max-width: 767px) {
    .why-grid,
    .services-24-grid {
        grid-template-columns: 1fr;
    }

    .why-choose,
    .vision-mission,
    .leadership,
    .services-24,
    .about-full,
    .gallery-section {
        padding: 48px 0;
    }

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

    .gallery-item-wide {
        grid-column: span 1;
    }

    .gallery-item img,
    .gallery-item-wide img {
        height: 220px;
    }

    .founding-strip {
        flex-direction: column;
    }

    .page-hero {
        padding: 52px 0 48px;
    }

    .leader-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .leader-card {
        padding: 24px 20px;
        gap: 28px;
    }
}

/* ── Doctor Carousel Cards ──────────────────────────── */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.doc-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(12, 120, 145, 0.10);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    border: 1px solid rgba(12, 120, 145, 0.08);
}

.doc-card:hover {
    box-shadow: 0 8px 32px rgba(12, 120, 145, 0.18);
    transform: translateY(-3px);
}

.doc-card-founder {
    border-top: 3px solid var(--brand-green);
}

.doc-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #eef6f9;
}

.doc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.doc-founder-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--brand-green);
    color: #fff;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
}

.doc-body {
    padding: 16px 18px 18px;
}

.doc-dept {
    display: inline-block;
    background: rgba(12, 120, 145, 0.09);
    color: var(--brand-blue);
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.doc-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.3;
}

.doc-qual {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
}

.doc-avail {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(12, 120, 145, 0.08);
    color: var(--brand-blue);
}

.doc-avail-green {
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
}

.doc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.doc-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brand-blue);
    background: #fff;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.doc-nav-btn:hover {
    background: var(--brand-blue);
    color: #fff;
}

.doc-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.doc-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(12, 120, 145, 0.22);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.doc-dots button.active,
.doc-dots button:focus {
    background: var(--brand-blue);
    transform: scale(1.3);
    outline: none;
}

@media (max-width: 991px) {
    .doc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }
    .doc-img-wrap {
        height: 180px;
    }
}
