/* ==========================================================================
   Reem Medical Center — Design System
   --------------------------------------------------------------------------
   1.  Tokens (colors, type, spacing, shadows)
   2.  Base & typography
   3.  Buttons
   4.  Shared components (eyebrow, section heads, icons, links)
   5.  Top bar & header / navigation
   6.  Hero
   7.  Quick info strip
   8.  About
   9.  Services
   10. Why choose us
   11. Doctors
   12. Facilities
   13. Appointment CTA
   14. Contact & map
   15. Footer & floating UI
   16. Reveal animations & utilities
   17. Responsive
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
    --rmc-blue-900: #072f4a;
    --rmc-blue-800: #0a4268;
    --rmc-blue-700: #0b5c8e;
    --rmc-blue-600: #1273b0;
    --rmc-blue-100: #e3f1fa;
    --rmc-blue-50: #f1f8fd;
    --rmc-teal-700: #0f8a89;
    --rmc-teal-600: #14a3a1;
    --rmc-teal-500: #20b8b4;
    --rmc-teal-100: #dff6f4;
    --rmc-ink: #14283a;
    --rmc-text: #4a5d6e;
    --rmc-muted: #7a8a98;
    --rmc-line: #e3ebf1;
    --rmc-bg: #ffffff;
    --rmc-tint: #f5f9fc;
    --rmc-font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --rmc-font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --rmc-radius-sm: 10px;
    --rmc-radius: 18px;
    --rmc-radius-lg: 28px;
    --rmc-shadow-sm: 0 2px 10px rgba(7, 47, 74, .06);
    --rmc-shadow: 0 12px 34px rgba(7, 47, 74, .10);
    --rmc-shadow-lg: 0 24px 60px rgba(7, 47, 74, .16);
    --rmc-ease: cubic-bezier(.22, .61, .36, 1);
    --rmc-header-h: 82px;
    /* Bootstrap overrides */
    --bs-body-font-family: var(--rmc-font-body);
    --bs-body-color: var(--rmc-text);
    --bs-link-color: var(--rmc-blue-700);
    --bs-link-hover-color: var(--rmc-teal-700);
    --bs-border-radius: var(--rmc-radius-sm);
    --brand: #c22a3a;
}

/* 2. BASE & TYPOGRAPHY -------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--rmc-header-h) + 12px);
}

body {
    font-family: var(--rmc-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rmc-text);
    background: var(--rmc-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    color: var(--rmc-ink);
    line-height: 1.2;
}

h1, h2 {
    font-family: var(--rmc-font-head);
    font-weight: 800;
    letter-spacing: -.01em;
}

h3, h4 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: color .2s var(--rmc-ease);
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--rmc-teal-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 3000;
    background: var(--rmc-blue-700);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 8px;
    transition: top .2s;
}

    .skip-link:focus {
        top: 12px;
        color: #fff;
    }

.section {
    padding: 110px 0;
    position: relative;
}

.section-tint {
    background: var(--rmc-tint);
}

/* 3. BUTTONS ------------------------------------------------------------ */
.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: .7rem 1.5rem;
    letter-spacing: .005em;
    transition: transform .25s var(--rmc-ease), box-shadow .25s var(--rmc-ease), background-color .25s, color .25s, border-color .25s;
}

    .btn i {
        margin-right: .35rem;
        vertical-align: -1px;
    }

        .btn i.bi-arrow-right {
            margin: 0 0 0 .35rem;
            transition: transform .25s var(--rmc-ease);
        }

    .btn:hover i.bi-arrow-right {
        transform: translateX(4px);
    }

.btn-lg {
    padding: .9rem 1.9rem;
    font-size: 1rem;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    color: #fff;
    background: #c22a3a !important;
    border: 0;
    box-shadow: 0 8px 22px rgba(11, 92, 142, .28);
    background-size: 140% 100%;
    background-position: 0 0;
}

    .btn-brand:hover, .btn-brand:focus {
        color: #fff;
        background-position: 100% 0;
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(11, 92, 142, .34);
    }

.btn-outline-brand {
    color: var(--rmc-blue-700);
    border: 1.5px solid var(--rmc-blue-700);
    background: transparent;
}

    .btn-outline-brand:hover, .btn-outline-brand:focus {
        color: #fff;
        background: var(--rmc-blue-700);
        border-color: var(--rmc-blue-700);
        transform: translateY(-2px);
    }

/* 4. SHARED COMPONENTS -------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #c22a3a;
    background: #c22a3a12;
    padding: .4rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.eyebrow-light {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 auto;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 3.6rem;
}

.lead-text {
    font-size: 1.12rem;
    color: var(--rmc-ink);
}

.icon-circle {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rmc-blue-100);
    color: var(--rmc-blue-700);
    font-size: 1.2rem;
}

    .icon-circle.teal {
        background: var(--rmc-teal-100);
        color: var(--rmc-teal-700);
    }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: var(--rmc-blue-700);
}

    .link-arrow i {
        transition: transform .25s var(--rmc-ease);
    }

    .link-arrow:hover {
        color: var(--rmc-teal-700);
    }

        .link-arrow:hover i {
            transform: translateX(5px);
        }

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

    .check-list li {
        display: flex;
        gap: .7rem;
        align-items: center;
        padding: .35rem 0;
        color: var(--rmc-ink);
        font-weight: 500;
    }

    .check-list i {
        color: var(--rmc-teal-600);
        font-size: 1.2rem;
    }

.tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rmc-blue-700);
    background: var(--rmc-blue-100);
    padding: .28rem .7rem;
    border-radius: 999px;
    margin-bottom: .8rem;
}

/* 5. TOP BAR & HEADER --------------------------------------------------- */
.topbar {
    background: var(--rmc-blue-900);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    padding: .55rem 0;
}

    .topbar a {
        color: rgba(255, 255, 255, .9);
    }

        .topbar a:hover {
            color: var(--rmc-teal-500);
        }

    .topbar i {
        color: var(--rmc-teal-500);
        margin-right: .3rem;
    }

.open-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .04em;
    padding: .15rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

    .open-status::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #9aa7b2;
    }

    .open-status.is-open {
        color: #8ef0c5;
    }

        .open-status.is-open::before {
            background: #34d399;
            box-shadow: 0 0 0 4px rgba(52, 211, 153, .25);
        }

    .open-status.is-closed {
        color: #ffc9c9;
    }

        .open-status.is-closed::before {
            background: #f87171;
        }

    .open-status.is-dental {
        color: #ffe6a8;
    }

        .open-status.is-dental::before {
            background: #fbbf24;
        }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}

    .site-header.is-scrolled {
        box-shadow: var(--rmc-shadow-sm);
        border-color: var(--rmc-line);
    }

    .site-header .navbar {
        min-height: var(--rmc-header-h);
        padding: .4rem 0;
    }

.navbar-brand img {
    display: block;
}

.brand-text {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--rmc-font-head);
    font-size: 1.55rem;
    line-height: 1;
    color: var(--rmc-ink);
}

    .brand-text small {
        display: block;
        font-family: var(--rmc-font-body);
        font-size: .62rem;
        font-weight: 700;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: var(--rmc-teal-700);
        margin-top: .3rem;
    }

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--rmc-blue-700), var(--rmc-teal-600));
}

.brand-text-light {
    color: #fff;
}

    .brand-text-light small {
        color: var(--rmc-teal-500);
    }

.brand-text.d-none {
    display: none !important;
}

.brand-text.is-visible {
    display: inline-flex !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: .95rem;
    color: var(--rmc-ink);
    padding: .6rem .9rem !important;
    position: relative;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: .9rem;
        right: .9rem;
        bottom: .25rem;
        height: 2px;
        background: linear-gradient(90deg, var(--rmc-blue-700), var(--rmc-teal-500));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s var(--rmc-ease);
    }

    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
        color: var(--rmc-blue-700);
    }

        .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
            transform: scaleX(1);
        }

.navbar-nav .dropdown-toggle::after {
    border: 0;
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: .7rem;
    position: static;
    background: none;
    transform: none;
    height: auto;
    margin-left: .35rem;
    vertical-align: 0;
}

.dropdown-menu {
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius-sm);
    box-shadow: var(--rmc-shadow);
    padding: .6rem;
/*    margin-top: .4rem;*/
    min-width: 220px;
}

.dropdown-item {
    border-radius: 8px;
    padding: .6rem .9rem;
    font-weight: 600;
    color: var(--rmc-ink);
    display: flex;
    align-items: center;
    gap: .6rem;
}

    .dropdown-item i {
        color: var(--rmc-teal-600);
    }

    .dropdown-item:hover, .dropdown-item:focus {
        background: var(--rmc-blue-50);
        color: var(--rmc-blue-700);
    }

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.navbar-toggler {
    border: 0;
    font-size: 2rem;
    color: var(--rmc-ink);
    padding: .1rem .4rem;
    line-height: 1;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/* Offcanvas (mobile) */
.offcanvas {
    width: min(88vw, 360px);
}

.offcanvas-title {
    font-family: var(--rmc-font-head);
    font-size: 1.5rem;
    color: var(--rmc-ink);
}

.mobile-nav > li {
    border-bottom: 1px solid var(--rmc-line);
}

.mobile-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .95rem .2rem;
    font-weight: 600;
    color: var(--rmc-ink);
}

.mobile-nav ul {
    padding-left: 1rem;
}

    .mobile-nav ul a {
        font-weight: 500;
        color: var(--rmc-text);
        padding: .6rem .2rem;
    }

.mobile-contact a {
    display: block;
    color: var(--rmc-text);
    padding: .35rem 0;
    font-size: .92rem;
}

.mobile-contact i {
    color: var(--rmc-teal-600);
    margin-right: .4rem;
}

/* 6. HERO --------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 30px 0 150px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(900px 500px at 88% 8%, rgba(32, 184, 180, .20), transparent 60%), radial-gradient(800px 520px at 0% 100%, rgba(18, 115, 176, .14), transparent 60%), linear-gradient(180deg, #f3f9fd 0%, #ffffff 100%);
}

    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(11, 92, 142, .09) 1.2px, transparent 1.2px);
        background-size: 26px 26px;
        -webkit-mask-image: linear-gradient(120deg, transparent 40%, #000 100%);
        mask-image: linear-gradient(120deg, transparent 40%, #000 100%);
    }

.hero-title {
    font-size: clamp(2.5rem, 5.2vw, 4.2rem);
    margin-bottom: 1.3rem;
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    margin: 2rem 0 0;
    padding: 0;
}

    .hero-points li {
        font-weight: 600;
        color: var(--rmc-ink);
        font-size: .93rem;
    }

    .hero-points i {
        color: var(--rmc-teal-600);
        margin-right: .35rem;
    }

.hero-visual {
    position: relative;
    isolation: isolate;
    padding: 0 0 30px 30px;
}

.hero-image {
    border-radius: 240px 240px var(--rmc-radius-lg) var(--rmc-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    box-shadow: var(--rmc-shadow-lg);
    background: linear-gradient(135deg, var(--rmc-blue-100), var(--rmc-teal-100));
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero-visual::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 70%;
    border-radius: var(--rmc-radius-lg);
    background: linear-gradient(135deg, var(--rmc-teal-500), var(--rmc-blue-600));
    opacity: .16;
    z-index: -1;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .8rem;
    background: #fff;
    padding: .85rem 1.15rem;
    border-radius: var(--rmc-radius);
    box-shadow: var(--rmc-shadow);
    animation: floaty 6s ease-in-out infinite;
}

    .float-card strong {
        display: block;
        color: var(--rmc-ink);
        font-size: .92rem;
        line-height: 1.2;
    }

    .float-card small {
        color: var(--rmc-muted);
        font-size: .78rem;
    }

.float-card-a {
    top: 14%;
    left: -4px;
}

.float-card-b {
    bottom: 8%;
    right: -14px;
    animation-delay: -3s;
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Image placeholder (used when a photo is unavailable) */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--rmc-blue-100), var(--rmc-teal-100));
    color: var(--rmc-blue-700);
    font-weight: 600;
    font-size: .85rem;
    text-align: center;
    padding: 1rem;
}

    .img-placeholder i {
        font-size: 2rem;
        opacity: .7;
    }

    .img-placeholder.avatar {
        font-family: var(--rmc-font-head);
        font-size: 2.2rem;
        letter-spacing: .04em;
    }

/* 7. QUICK INFO STRIP --------------------------------------------------- */
.quick-strip {
    margin-top: -80px;
    position: relative;
    z-index: 5;
}

.quick-card {
    background: #fff;
    border-radius: var(--rmc-radius-lg);
    box-shadow: var(--rmc-shadow-lg);
    border: 1px solid var(--rmc-line);
}

.quick-item {
    display: flex;
    gap: 1rem;
    padding: 2rem 2rem;
    align-items: flex-start;
}

    .quick-item + .quick-item {
        border-left: 1px solid var(--rmc-line);
    }

.quick-title {
    font-family: var(--rmc-font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.quick-item p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.6;
}

.quick-item a {
    color: var(--rmc-blue-700);
    font-weight: 600;
}

    .quick-item a:hover {
        color: var(--rmc-teal-700);
    }

/* 8. ABOUT -------------------------------------------------------------- */
.about-visuals {
    position: relative;
    padding: 0 70px 70px 0;
}

.about-img {
    border-radius: var(--rmc-radius-lg);
    overflow: hidden;
    box-shadow: var(--rmc-shadow);
    background: var(--rmc-blue-100);
}

    .about-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .8s var(--rmc-ease);
    }

    .about-img:hover img {
        transform: scale(1.05);
    }

.about-img-main {
    aspect-ratio: 4 / 4.4;
}

.about-img-sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    aspect-ratio: 1 / 1;
    border: 8px solid #fff;
    border-radius: var(--rmc-radius-lg);
}

/* 9. SERVICES ----------------------------------------------------------- */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
    padding: 2.1rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--rmc-ease), box-shadow .35s var(--rmc-ease), border-color .35s;
}

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

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--rmc-shadow);
        border-color: transparent;
    }

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

.service-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rmc-blue-100);
    color: var(--rmc-blue-700);
    transition: background .3s, color .3s, transform .3s var(--rmc-ease);
}

    .service-icon.teal {
        background: var(--rmc-teal-100);
        color: var(--rmc-teal-700);
    }

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--rmc-blue-700), var(--rmc-teal-600));
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: .6rem;
}

.service-card p {
    color: var(--rmc-text);
    flex-grow: 1;
}

.service-more {
    font-weight: 700;
    color: var(--rmc-blue-700);
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

    .service-more i {
        transition: transform .25s var(--rmc-ease);
    }

.service-card:hover .service-more i {
    transform: translateX(5px);
}

.pharmacy-banner {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    background: #fff;
    border: 1px dashed #b9d3e4;
    border-radius: var(--rmc-radius);
    padding: 1.4rem 1.8rem;
}

    .pharmacy-banner h3 {
        font-size: 1.1rem;
        margin: 0 0 .15rem;
    }

/* 10. WHY CHOOSE US ----------------------------------------------------- */
.stats {
    margin-top: 2rem;
}

.stat {
    background: linear-gradient(135deg, var(--rmc-blue-800), var(--rmc-blue-700));
    color: #fff;
    border-radius: var(--rmc-radius);
    padding: 1.5rem 1.4rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .stat::after {
        content: "";
        position: absolute;
        right: -30px;
        top: -30px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: rgba(32, 184, 180, .25);
    }

    .stat strong {
        display: block;
        font-family: var(--rmc-font-head);
        font-weight: 400;
        font-size: 2.6rem;
        line-height: 1;
        margin-bottom: .5rem;
        position: relative;
    }

    .stat span {
        font-size: .88rem;
        color: rgba(255, 255, 255, .85);
        position: relative;
    }

.feature-card {
    height: 100%;
    padding: 1.7rem;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
    transition: transform .35s var(--rmc-ease), box-shadow .35s var(--rmc-ease);
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--rmc-shadow);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rmc-blue-100);
    color: var(--rmc-blue-700);
}

    .feature-icon.teal {
        background: var(--rmc-teal-100);
        color: var(--rmc-teal-700);
    }

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: .45rem;
}

.feature-card p {
    margin: 0;
    font-size: .93rem;
}

.insurance {
    margin-top: 4.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--rmc-line);
    text-align: center;
}

.insurance-title {
    font-weight: 700;
    color: var(--rmc-muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    margin-bottom: 1.4rem;
}

.insurance-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin: 0;
    padding: 0;
}

    .insurance-list li {
        font-weight: 700;
        color: var(--rmc-blue-800);
        background: var(--rmc-tint);
        border: 1px solid var(--rmc-line);
        padding: .7rem 1.7rem;
        border-radius: 999px;
        letter-spacing: .03em;
        transition: all .25s var(--rmc-ease);
    }

        .insurance-list li:hover {
            background: var(--rmc-blue-100);
            border-color: var(--rmc-blue-100);
            transform: translateY(-3px);
        }

/* 11. DOCTORS ----------------------------------------------------------- */
.doctor-card {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
    padding: 1.1rem 1.1rem 1.5rem;
    height: 100%;
    transition: transform .35s var(--rmc-ease), box-shadow .35s var(--rmc-ease), border-color .35s;
}

    .doctor-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--rmc-shadow);
        border-color: transparent;
    }

.doctor-photo {
    aspect-ratio: 1 / 1.1;
    border-radius: calc(var(--rmc-radius) - 4px);
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, var(--rmc-blue-100), var(--rmc-teal-100));
}

    .doctor-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
        transition: transform .7s var(--rmc-ease);
    }

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

.doctor-card h3 {
    font-size: 1rem;
    margin-bottom: .3rem;
}

.doctor-card p {
    margin: 0;
    font-size: .85rem;
    color: var(--rmc-teal-700);
    font-weight: 600;
    line-height: 1.5;
}

    .doctor-card p span {
        color: var(--rmc-muted);
        font-weight: 500;
    }

/* 12. FACILITIES -------------------------------------------------------- */
.facility-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius-lg);
    overflow: hidden;
    transition: transform .35s var(--rmc-ease), box-shadow .35s var(--rmc-ease);
}

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

.facility-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rmc-blue-100), var(--rmc-teal-100));
}

    .facility-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .8s var(--rmc-ease);
    }

.facility-card:hover .facility-media img {
    transform: scale(1.06);
}

.facility-body {
    padding: 1.8rem 2rem 2rem;
}

    .facility-body h3 {
        font-size: 1.35rem;
        margin-bottom: .6rem;
    }

    .facility-body p {
        margin-bottom: 1.1rem;
    }

.facility-mini {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    height: 100%;
    background: var(--rmc-tint);
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
    padding: 1.6rem 1.8rem;
    transition: transform .3s var(--rmc-ease), background .3s;
}

    .facility-mini:hover {
        transform: translateY(-4px);
        background: #fff;
        box-shadow: var(--rmc-shadow-sm);
    }

    .facility-mini .feature-icon {
        margin: 0;
    }

    .facility-mini h3 {
        font-size: 1.05rem;
        margin-bottom: .2rem;
    }

    .facility-mini p {
        margin: 0;
        font-size: .93rem;
    }

/* 13. APPOINTMENT CTA --------------------------------------------------- */
.cta {
    padding: 0 0 110px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--rmc-radius-lg);
    padding: 4rem;
    background: linear-gradient(135deg, var(--rmc-blue-900) 0%, var(--rmc-blue-700) 62%, var(--rmc-teal-700) 130%);
    box-shadow: var(--rmc-shadow-lg);
    color: rgba(255, 255, 255, .85);
}

    .cta-card::before, .cta-card::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .cta-card::before {
        width: 420px;
        height: 420px;
        right: -120px;
        top: -160px;
        background: rgba(32, 184, 180, .22);
    }

    .cta-card::after {
        width: 260px;
        height: 260px;
        left: -90px;
        bottom: -120px;
        background: rgba(255, 255, 255, .07);
    }

    .cta-card > .row {
        position: relative;
        z-index: 1;
    }

.cta-title {
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
}

.cta-contact {
    margin: 0;
}

    .cta-contact li {
        padding: .3rem 0;
        font-weight: 600;
    }

    .cta-contact i {
        color: var(--rmc-teal-500);
        margin-right: .6rem;
        font-size: 1.1rem;
    }

    .cta-contact a {
        color: #fff;
    }

        .cta-contact a:hover {
            color: var(--rmc-teal-500);
        }

.appointment-form {
    background: #fff;
    border-radius: var(--rmc-radius);
    padding: 2rem;
    box-shadow: var(--rmc-shadow-lg);
}

    .appointment-form .form-label {
        font-weight: 600;
        font-size: .85rem;
        color: var(--rmc-ink);
        margin-bottom: .35rem;
    }

    .appointment-form .optional {
        color: var(--rmc-muted);
        font-weight: 500;
    }

    .appointment-form .form-control, .appointment-form .form-select {
        border: 1.5px solid var(--rmc-line);
        border-radius: 12px;
        padding: .75rem 1rem;
        color: var(--rmc-ink);
        background-color: var(--rmc-tint);
        transition: border-color .2s, box-shadow .2s, background-color .2s;
    }

        .appointment-form .form-control:focus, .appointment-form .form-select:focus {
            background-color: #fff;
            border-color: var(--rmc-teal-500);
            box-shadow: 0 0 0 4px rgba(32, 184, 180, .15);
        }

    .appointment-form .btn-submit {
        color: #fff;
        background: linear-gradient(135deg, var(--rmc-blue-700), var(--rmc-teal-600));
        border: 0;
        box-shadow: 0 8px 22px rgba(11, 92, 142, .28);
    }

        .appointment-form .btn-submit:hover {
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(11, 92, 142, .34);
        }

.form-note {
    margin: .8rem 0 0;
    text-align: center;
    font-size: .82rem;
    color: var(--rmc-muted);
}

/* 14. CONTACT & MAP ----------------------------------------------------- */
.contact-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius-lg);
    padding: 2.2rem;
    box-shadow: var(--rmc-shadow-sm);
}

.contact-row {
    display: flex;
    gap: 1.1rem;
}

    .contact-row + .contact-row {
        margin-top: 1.6rem;
        padding-top: 1.6rem;
        border-top: 1px solid var(--rmc-line);
    }

    .contact-row h3 {
        font-size: 1rem;
        margin-bottom: .3rem;
    }

    .contact-row p {
        margin: 0;
        font-size: .95rem;
    }

    .contact-row a {
        color: var(--rmc-blue-700);
        font-weight: 600;
    }

        .contact-row a:hover {
            color: var(--rmc-teal-700);
        }

.map-wrap {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: var(--rmc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--rmc-line);
    box-shadow: var(--rmc-shadow);
    background: var(--rmc-blue-100);
}

    .map-wrap iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.map-btn {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
}

/* 15. FOOTER & FLOATING UI --------------------------------------------- */
.site-footer {
    background: var(--rmc-blue-900);
    color: rgba(255, 255, 255, .72);
    padding: 80px 0 0;
    font-size: .95rem;
}

    .site-footer h4 {
        color: #fff;
        font-family: var(--rmc-font-body);
        font-size: 1rem;
        letter-spacing: .04em;
        margin-bottom: 1.4rem;
    }

    .site-footer a {
        color: rgba(255, 255, 255, .78);
    }

        .site-footer a:hover {
            color: var(--rmc-teal-500);
        }

.footer-logo {
    display: block;
    margin-bottom: 1.2rem;
}

.footer-about {
    max-width: 380px;
    margin: 1.1rem 0 1.5rem;
}

.footer-links li {
    padding: .3rem 0;
}

.footer-links a {
    display: inline-block;
    transition: transform .2s var(--rmc-ease), color .2s;
}

    .footer-links a:hover {
        transform: translateX(4px);
    }

.footer-contact li {
    display: flex;
    gap: .7rem;
    padding: .45rem 0;
}

.footer-contact i {
    color: var(--rmc-teal-500);
    margin-top: .2rem;
}

.social {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

    .social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .08);
        color: #fff;
        transition: all .3s var(--rmc-ease);
    }

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

.footer-bottom {
    margin-top: 60px;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
    font-size: .88rem;
}

.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    transition: transform .25s var(--rmc-ease);
}

    .whatsapp-fab:hover {
        color: #fff;
        transform: scale(1.08);
    }

    .whatsapp-fab::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid #25d366;
        animation: pulse 2.4s ease-out infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 96px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--rmc-blue-700);
    color: #fff;
    box-shadow: var(--rmc-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--rmc-ease);
}

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .back-to-top:hover {
        background: var(--rmc-teal-600);
    }

/* 16. REVEAL ANIMATIONS ------------------------------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--rmc-ease), transform .8s var(--rmc-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* 17. INNER PAGES (reusable: about, services, doctors, contact...) ------- */

/* Page hero + breadcrumb */
.page-hero {
    position: relative;
    padding: 64px 0 80px;
    overflow: hidden;
}

.page-title {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    margin-bottom: 1rem;
}

.page-lead {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0;
}

.crumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 0 0 1.6rem;
    font-size: .88rem;
    font-weight: 600;
}

    .crumbs li {
        color: var(--rmc-muted);
    }

        .crumbs li + li::before {
            content: "\F285";
            font-family: "bootstrap-icons";
            font-size: .7rem;
            margin-right: .5rem;
            color: var(--rmc-teal-600);
        }

    .crumbs a {
        color: var(--rmc-blue-700);
    }

        .crumbs a:hover {
            color: var(--rmc-teal-700);
        }

    .crumbs li[aria-current] {
        color: var(--rmc-ink);
    }

/* Framed photo with offset accent block */
.media-frame {
    position: relative;
    isolation: isolate;
    border-radius: var(--rmc-radius-lg);
    aspect-ratio: 4 / 3.3;
    background: linear-gradient(135deg, var(--rmc-blue-100), var(--rmc-teal-100));
    box-shadow: var(--rmc-shadow);
}

    .media-frame::before {
        content: "";
        position: absolute;
        inset: 22px -18px -18px 22px;
        border-radius: var(--rmc-radius-lg);
        background: linear-gradient(135deg, var(--rmc-teal-500), var(--rmc-blue-600));
        opacity: .16;
        z-index: -1;
    }

    .media-frame img, .media-frame .img-placeholder {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: var(--rmc-radius-lg);
    }

.media-frame-tall {
    aspect-ratio: 4 / 4.8;
}

/* Vision & mission */
.vm-card {
    height: 100%;
    padding: 2.6rem;
    border-radius: var(--rmc-radius-lg);
    background: #fff;
    border: 1px solid var(--rmc-line);
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--rmc-ease), box-shadow .35s var(--rmc-ease);
}

    .vm-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--rmc-shadow);
    }

    .vm-card h3 {
        font-family: var(--rmc-font-head);
        font-weight: 400;
        font-size: 1.9rem;
        margin: 1.3rem 0 .8rem;
    }

    .vm-card p {
        margin: 0;
        font-size: 1.05rem;
    }

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    background: var(--rmc-blue-100);
    color: var(--rmc-blue-700);
}

    .vm-icon.teal {
        background: var(--rmc-teal-100);
        color: var(--rmc-teal-700);
    }

.vm-card-dark {
    background: linear-gradient(135deg, var(--rmc-blue-900), var(--rmc-blue-700));
    border-color: transparent;
    color: rgba(255, 255, 255, .88);
}

    .vm-card-dark::after {
        content: "";
        position: absolute;
        right: -60px;
        top: -60px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(32, 184, 180, .22);
    }

    .vm-card-dark h3 {
        color: #fff;
    }

    .vm-card-dark .vm-icon {
        background: rgba(255, 255, 255, .14);
        color: #fff;
    }

    .vm-card-dark > * {
        position: relative;
        z-index: 1;
    }

/* "Why" list */
.why-list {
    margin: 2rem 0 0;
    padding: 0;
}

    .why-list li {
        display: flex;
        gap: 1.1rem;
        padding: 1.1rem 0;
        border-bottom: 1px solid var(--rmc-line);
    }

        .why-list li:last-child {
            border-bottom: 0;
        }

    .why-list h3 {
        font-size: 1.05rem;
        margin: 0 0 .25rem;
    }

    .why-list p {
        margin: 0;
        font-size: .95rem;
    }

.chip-block {
    margin-top: 1.6rem;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
}

.chip-title {
    font-weight: 700;
    color: var(--rmc-muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    margin-bottom: .9rem;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    padding: 0;
}

    .chip-list li {
        font-weight: 600;
        font-size: .9rem;
        color: var(--rmc-blue-800);
        background: var(--rmc-blue-50);
        border: 1px solid var(--rmc-blue-100);
        padding: .4rem 1.1rem;
        border-radius: 999px;
    }

/* Walk-in */
.notice {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin: 1.4rem 0 0;
    padding: .9rem 1.1rem;
    font-size: .92rem;
    color: #7a4a00;
    background: #fff7e6;
    border: 1px solid #fde2a8;
    border-radius: var(--rmc-radius-sm);
}

    .notice i {
        margin-top: .15rem;
    }

.condition-card {
    height: 100%;
    padding: 1.9rem;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
    transition: transform .35s var(--rmc-ease), box-shadow .35s var(--rmc-ease);
}

    .condition-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--rmc-shadow);
    }

    .condition-card h3 {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: .6rem;
        margin-bottom: 1.1rem;
    }

        .condition-card h3 i {
            color: var(--rmc-teal-600);
            font-size: 1.3rem;
        }

    .condition-card li {
        position: relative;
        padding: .4rem 0 .4rem 1.6rem;
        font-size: .95rem;
    }

        .condition-card li::before {
            content: "\F26A";
            font-family: "bootstrap-icons";
            position: absolute;
            left: 0;
            top: .42rem;
            color: var(--rmc-teal-600);
            font-size: .95rem;
        }

.callout {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.7rem 2rem;
    background: var(--rmc-tint);
    border: 1px solid var(--rmc-line);
    border-left: 5px solid var(--rmc-teal-500);
    border-radius: var(--rmc-radius);
}

    .callout h3 {
        font-size: 1.1rem;
        margin-bottom: .3rem;
    }

/* Compact service links */
.mini-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: #fff;
    border: 1px solid var(--rmc-line);
    border-radius: var(--rmc-radius);
    color: var(--rmc-ink);
    transition: transform .3s var(--rmc-ease), box-shadow .3s var(--rmc-ease), border-color .3s;
}

    .mini-link strong {
        flex-grow: 1;
        font-size: 1.02rem;
    }

    .mini-link > .bi-arrow-right {
        color: var(--rmc-blue-700);
        transition: transform .25s var(--rmc-ease);
    }

    .mini-link:hover {
        transform: translateY(-5px);
        box-shadow: var(--rmc-shadow);
        border-color: transparent;
        color: var(--rmc-ink);
    }

        .mini-link:hover > .bi-arrow-right {
            transform: translateX(5px);
        }

/* CTA used mid-page (follows a tinted section) */
.cta-spaced {
    padding-top: 110px;
}

.cta .btn-outline-light {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .7);
}

    .cta .btn-outline-light:hover {
        background: #fff;
        color: var(--rmc-blue-700);
        transform: translateY(-2px);
    }

.cta .btn-light {
    color: var(--rmc-blue-800);
}

    .cta .btn-light:hover {
        transform: translateY(-2px);
    }

@media (max-width: 991.98px) {
    .page-hero {
        padding: 44px 0 56px;
    }

    .media-frame {
        max-width: 560px;
        margin: 0 auto 18px;
    }

    .media-frame-tall {
        max-width: 460px;
    }

    .cta-spaced {
        padding-top: 90px;
    }
}

@media (max-width: 575.98px) {
    .vm-card {
        padding: 1.8rem;
    }

    .callout {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .cta-spaced {
        padding-top: 70px;
    }

    .media-frame::before {
        inset: 14px -8px -10px 14px;
    }
}

/* 18. RESPONSIVE -------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .section {
        padding: 90px 0;
    }
}

@media (max-width: 991.98px) {
    :root {
        --rmc-header-h: 72px;
    }

    .hero {
        padding: 60px 0 130px;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
    }

    .quick-item + .quick-item {
        border-left: 0;
        border-top: 1px solid var(--rmc-line);
    }

    .quick-item {
        padding: 1.5rem 1.6rem;
    }

    .cta-card {
        padding: 2.6rem 2rem;
    }

    .about-visuals {
        max-width: 520px;
        margin: 0 auto;
    }

    .navbar-brand img {
        height: 42px;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 70px 0;
    }

    .cta {
        padding-bottom: 70px;
    }

    .hero {
        padding: 40px 0 120px;
    }

    .hero-visual {
        padding: 0 0 20px 14px;
    }

    .float-card {
        padding: .65rem .85rem;
    }

    .float-card-a {
        left: -6px;
    }

    .float-card-b {
        right: -6px;
    }

    .section-head {
        margin-bottom: 2.4rem;
    }

    .stat strong {
        font-size: 2.1rem;
    }

    .cta-card {
        padding: 2rem 1.2rem;
    }

    .appointment-form {
        padding: 1.4rem;
    }

    .about-visuals {
        padding: 0 40px 40px 0;
    }

    .map-wrap {
        min-height: 340px;
    }

    .whatsapp-fab {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    .back-to-top {
        right: 22px;
        bottom: 80px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   DOCTOR PROFILE PAGE
========================================= */

.doctor-breadcrumb {
    padding: 18px 0;
    background: #f7f9f8;
    border-bottom: 1px solid #e9efec;
}

    .doctor-breadcrumb .breadcrumb {
        font-size: 13px;
    }

    .doctor-breadcrumb a {
        color: var(--brand, #167b65);
        text-decoration: none;
    }

    .doctor-breadcrumb .breadcrumb-item.active {
        color: #697772;
    }


/* =========================================
   PROFILE HERO
========================================= */

.doctor-profile-hero {
    padding: 75px 0 85px;
    background: #fff;
    overflow: hidden;
}

    .doctor-profile-hero .row {
        align-items: center;
    }

.doctor-profile-image {
    width: 100%;
    max-width: 390px;
    height: 460px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #edf3f0;
    box-shadow: 0 15px 45px rgba(20, 60, 45, 0.10);
}

    .doctor-profile-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center top;
    }

.doctor-profile-intro {
    padding-left: 15px;
}

    .doctor-profile-intro .eyebrow {
        display: inline-block;
        margin-bottom: 14px;
        color: var(--brand, #167b65);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .doctor-profile-intro h1 {
        margin: 0 0 12px;
        color: #173d34;
        font-size: clamp(30px, 4vw, 43px);
        font-weight: 750;
        line-height: 1.2;
    }

    .doctor-profile-intro h2 {
        margin: 0 0 8px;
        color: var(--brand, #167b65);
        font-size: 21px;
        font-weight: 600;
    }

.doctor-qualification {
    margin-bottom: 22px;
    color: #737e79;
    font-size: 14px;
    font-weight: 600;
}

.doctor-intro-text {
    max-width: 650px;
    margin-bottom: 25px;
    color: #65716c;
    font-size: 16px;
    line-height: 1.85;
}

.doctor-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 30px;
}

    .doctor-profile-meta > div {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #465750;
        font-size: 14px;
        font-weight: 500;
    }

    .doctor-profile-meta i {
        color: var(--brand, #167b65);
        font-size: 18px;
    }

.doctor-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

    .doctor-profile-actions .btn {
        padding: 13px 23px;
        border-radius: 7px;
        font-size: 14px;
        font-weight: 600;
    }

        .doctor-profile-actions .btn i {
            margin-left: 8px;
        }


/* =========================================
   ABOUT DOCTOR
========================================= */

.doctor-about-section {
    padding: 85px 0;
    background: #fff;
}

    .doctor-about-section .section-title {
        margin-top: 10px;
    }

.doctor-about-content {
    padding-left: 25px;
    border-left: 3px solid var(--brand, #167b65);
}

    .doctor-about-content p {
        margin-bottom: 18px;
        color: #65716c;
        font-size: 15px;
        line-height: 1.9;
    }

        .doctor-about-content p:last-child {
            margin-bottom: 0;
        }


/* =========================================
   QUALIFICATIONS
========================================= */

.doctor-credentials-section {
    padding: 85px 0;
    background: #f5f8f6;
}

    .doctor-credentials-section .section-head {
        margin-bottom: 45px;
    }

.doctor-info-card {
    height: 100%;
    min-height: 220px;
    padding: 30px 22px;
    text-align: center;
    background: #fff;
    border: 1px solid #e9efec;
    border-radius: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .doctor-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(25, 70, 50, .08);
    }

.doctor-info-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--brand, #167b65);
    background: #edf6f1;
    border-radius: 50%;
    font-size: 24px;
}

.doctor-info-card > span {
    display: block;
    margin-bottom: 8px;
    color: #829088;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.doctor-info-card h3 {
    margin-bottom: 9px;
    color: #173d34;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.doctor-info-card p {
    margin: 0;
    color: #77827d;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================
   AREAS OF EXPERTISE
========================================= */

.doctor-expertise-section {
    padding: 85px 0;
    background: #fff;
}

    .doctor-expertise-section .section-head {
        max-width: 700px;
        margin-bottom: 45px;
    }

.expertise-card {
    height: 100%;
    padding: 30px 25px;
    background: #fff;
    border: 1px solid #e9efec;
    border-radius: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .expertise-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 32px rgba(25, 70, 50, .08);
    }

.expertise-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand, #167b65);
    background: #edf6f1;
    border-radius: 10px;
    font-size: 23px;
}

.expertise-card h3 {
    margin-bottom: 18px;
    color: #173d34;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.expertise-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.expertise-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #69766f;
    font-size: 13px;
    line-height: 1.65;
}

    .expertise-card li:last-child {
        margin-bottom: 0;
    }

    .expertise-card li::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 0;
        width: 7px;
        height: 7px;
        background: var(--brand, #167b65);
        border-radius: 50%;
    }


/* =========================================
   LANGUAGES
========================================= */

.doctor-languages-section {
    padding: 75px 0;
    background: #f5f8f6;
}

    .doctor-languages-section .section-title {
        margin: 10px 0 15px;
    }

    .doctor-languages-section .col-lg-5 p {
        max-width: 420px;
        margin-bottom: 0;
        color: #69766f;
        font-size: 15px;
        line-height: 1.8;
    }

.doctor-language-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

    .doctor-language-list > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 125px;
        padding: 20px 12px;
        color: #173d34;
        background: #fff;
        border: 1px solid #e8efeb;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
    }

    .doctor-language-list i {
        color: var(--brand, #167b65);
        font-size: 25px;
    }


/* =========================================
   APPOINTMENT CTA
========================================= */

.doctor-appointment-section {
    padding: 75px 0;
    background: var(--brand, #167b65);
}

.doctor-appointment-inner {
    max-width: 760px;
    margin: 0 auto;
}

    .doctor-appointment-inner .eyebrow {
        display: inline-block;
        margin-bottom: 15px;
        color: rgba(255,255,255,.75);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .doctor-appointment-inner h2 {
        margin-bottom: 18px;
        color: #fff;
        font-size: clamp(27px, 4vw, 38px);
        font-weight: 750;
        line-height: 1.3;
    }

    .doctor-appointment-inner > p {
        max-width: 620px;
        margin: 0 auto 28px;
        color: rgba(255,255,255,.85);
        font-size: 15px;
        line-height: 1.8;
    }

    .doctor-appointment-inner .btn-light {
        color: var(--brand, #167b65);
        border: 1px solid #fff;
    }

    .doctor-appointment-inner .btn-outline-light {
        color: #fff;
        border: 1px solid rgba(255,255,255,.8);
    }

        .doctor-appointment-inner .btn-outline-light:hover {
            color: var(--brand, #167b65);
            background: #fff;
        }


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

@media (max-width: 991px) {

    .doctor-profile-hero {
        padding: 55px 0 65px;
    }

    .doctor-profile-image {
        max-width: 320px;
        height: 390px;
    }

    .doctor-profile-intro {
        padding-left: 0;
    }

        .doctor-profile-intro h1 {
            font-size: 32px;
        }

    .doctor-about-section,
    .doctor-credentials-section,
    .doctor-expertise-section {
        padding: 65px 0;
    }

    .doctor-about-content {
        padding-left: 20px;
    }

    .doctor-info-card {
        min-height: 210px;
    }

    .doctor-languages-section {
        padding: 60px 0;
    }
}


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

@media (max-width: 767px) {

    .doctor-breadcrumb {
        padding: 13px 0;
    }

        .doctor-breadcrumb .breadcrumb {
            font-size: 11px;
        }

    .doctor-profile-hero {
        padding: 35px 0 50px;
    }

    .doctor-profile-image {
        max-width: 270px;
        height: 320px;
        border-radius: 14px;
    }

    .doctor-profile-intro {
        text-align: center;
    }

        .doctor-profile-intro .eyebrow {
            margin-top: 5px;
        }

        .doctor-profile-intro h1 {
            font-size: 28px;
        }

        .doctor-profile-intro h2 {
            font-size: 19px;
        }

    .doctor-intro-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .doctor-profile-meta {
        justify-content: center;
        gap: 12px;
    }

        .doctor-profile-meta > div {
            font-size: 12px;
            text-align: left;
        }

    .doctor-profile-actions {
        justify-content: center;
    }

        .doctor-profile-actions .btn {
            width: 100%;
            max-width: 300px;
            padding: 12px 16px;
            font-size: 13px;
        }

    .doctor-about-section,
    .doctor-credentials-section,
    .doctor-expertise-section {
        padding: 50px 0;
    }

    .doctor-about-content {
        padding-left: 15px;
    }

        .doctor-about-content p {
            font-size: 14px;
            line-height: 1.8;
        }

    .doctor-credentials-section .section-head,
    .doctor-expertise-section .section-head {
        margin-bottom: 30px;
    }

    .doctor-info-card {
        min-height: auto;
        padding: 25px 18px;
    }

    .expertise-card {
        padding: 25px 20px;
    }

        .expertise-card h3 {
            font-size: 18px;
        }

    .doctor-languages-section {
        padding: 50px 0;
    }

    .doctor-language-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

        .doctor-language-list > div {
            flex-direction: row;
            justify-content: flex-start;
            min-height: 65px;
            padding: 15px 20px;
        }

        .doctor-language-list i {
            font-size: 21px;
        }

    .doctor-appointment-section {
        padding: 55px 0;
    }

    .doctor-appointment-inner h2 {
        font-size: 27px;
    }

    .doctor-appointment-inner > p {
        font-size: 14px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .doctor-profile-image {
        max-width: 235px;
        height: 285px;
    }

    .doctor-profile-intro h1 {
        font-size: 25px;
    }

    .doctor-profile-meta {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 10px;
    }

    .doctor-info-card h3 {
        font-size: 17px;
    }
}

/* =========================================
   PROFESSIONAL MEMBERSHIPS
========================================= */

.doctor-expertise-section .doctor-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

    .doctor-expertise-section .doctor-info-card h3 {
        font-size: 17px;
        line-height: 1.5;
    }

    .doctor-expertise-section .doctor-info-card p {
        margin-bottom: 5px;
    }


/* =========================================
   CONSULTATION HOURS
========================================= */

.doctor-hours-card {
    padding: 12px 28px;
    background: #fff;
    border: 1px solid #e9efec;
    border-radius: 12px;
}

.doctor-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 5px;
    border-bottom: 1px solid #edf1ee;
    color: #53645b;
    font-size: 14px;
}

    .doctor-hours-row:last-child {
        border-bottom: 0;
    }

    .doctor-hours-row strong {
        color: #173d34;
        font-size: 14px;
        font-weight: 700;
        text-align: right;
    }

    .doctor-hours-row .doctor-hours-off {
        color: #a36c52;
    }

.doctor-hours-note {
    margin-top: 15px;
    color: #7b8780;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 575px) {

    .doctor-hours-card {
        padding: 8px 16px;
    }

    .doctor-hours-row {
        padding: 17px 0;
        font-size: 12px;
    }

        .doctor-hours-row strong {
            font-size: 12px;
        }
}

/* =========================================
   DR. ILYAS - FOUR LANGUAGE LAYOUT
========================================= */

.doctor-language-list:has(> div:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 767px) {
    .doctor-language-list:has(> div:nth-child(4)) {
        grid-template-columns: repeat(2, 1fr);
    }

        .doctor-language-list:has(> div:nth-child(4)) > div {
            justify-content: center;
            padding: 15px 10px;
            font-size: 13px;
        }
}
.doctor-visit-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

    .doctor-visit-list li {
        position: relative;
        padding: 10px 0 10px 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

        .doctor-visit-list li:last-child {
            border-bottom: 0;
        }

        .doctor-visit-list li::before {
            content: "\F26A";
            font-family: "bootstrap-icons";
            position: absolute;
            left: 0;
            top: 10px;
            color: var(--brand, #167b65);
        }