/*
 * Styles this site adds on top of the template.
 *
 * The template's own files (bootstrap, custom.css, sfmc.css) are untouched, so
 * the design stays exactly as delivered and everything specific to the booking
 * flow is here and easy to find.
 */

/* --- Floating WhatsApp button ---------------------------------------- */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 80px;
    z-index: 9999;
    transition: transform .3s ease-in-out;
}

.whatsapp-chat img {
    width: 60px;
    height: auto;
}

.whatsapp-chat:hover {
    transform: scale(1.1);
}

/* --- Booking flow ----------------------------------------------------- */
.booking-card {
    background: #fff;
    border: 1px solid #f0f1f5;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(31, 41, 55, .06);
    padding: 24px;
    margin-bottom: 24px;
}

.booking-card > h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f1f5;
}

.booking-summary {
    background-color: #FF6E6E;
    color: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.booking-summary .label {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
    opacity: .85;
    margin-bottom: 4px;
}

.booking-summary .value {
    font-size: 20px;
    font-weight: 600;
}

.booking-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FF6E6E;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
}

/* Time slots. A slot is a radio input styled as a chip, so the keyboard and
   screen readers get a real radio group rather than a grid of divs. */
.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.slot-grid .slot {
    position: relative;
}

.slot-grid .slot input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.slot-grid .slot span {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    transition: all .15s ease-in-out;
}

.slot-grid .slot input:hover + span {
    border-color: #FF6E6E;
}

.slot-grid .slot input:focus-visible + span {
    outline: 2px solid #2467ca;
    outline-offset: 2px;
}

.slot-grid .slot input:checked + span {
    background: #FF6E6E;
    border-color: #FF6E6E;
    color: #fff;
}

.slot-grid .slot small {
    display: block;
    font-size: 11px;
    opacity: .75;
}

.slot-empty {
    color: #6b7280;
    font-size: 14px;
}

/* --- Appointment slip -------------------------------------------------- */
.slip {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 32px;
}

.slip-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.slip-head img {
    max-width: 180px;
    height: auto;
}

.slip-ref {
    text-align: right;
}

.slip-ref .ref {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.slip dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px 16px;
    margin: 0;
}

.slip dt {
    color: #6b7280;
    font-weight: 500;
}

.slip dd {
    margin: 0;
    color: #1f2937;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .slip {
        padding: 20px;
    }

    .slip dl {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .slip dd {
        margin-bottom: 12px;
    }

    .whatsapp-chat {
        right: 20px;
    }
}

.status-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.status-confirmed { background: #ecfdf5; color: #047857; }
.status-requested { background: #fffbeb; color: #b45309; }
.status-cancelled { background: #fef2f2; color: #b91c1c; }
.status-completed { background: #eff6ff; color: #1d4ed8; }
.status-noshow    { background: #f3f4f6; color: #4b5563; }

@media print {
    .header,
    .footer,
    .breadcrumb-bar-two,
    .whatsapp-chat,
    .no-print {
        display: none !important;
    }

    .slip {
        border: 0;
        padding: 0;
    }
}

/* Ensure AOS never hides content when JS animation is delayed or disabled */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ==========================================================================
   Header & Navbar Menu Styling (Fixing Highlighted Menu & Contrast)
   ========================================================================== */

/* Navbar Brand Logo */
.header .header-nav .navbar-brand.logo img {
    height: 52px !important;
    width: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

/* Base Top Nav Links on Desktop */
@media (min-width: 992px) {
    .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li {
        display: inline-flex !important;
        align-items: center !important;
        height: 85px !important;
        margin: 0 4px !important;
        position: relative !important;
    }

    .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li.login-link {
        display: none !important;
    }

    .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        line-height: 1.2 !important;
        padding: 6px 12px 10px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        position: relative !important;
        transition: all 0.2s ease !important;
    }

    /* Active Indicator Underline - Snug 3px below text, NO huge gap */
    .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li.active > a::after {
        content: "";
        position: absolute;
        bottom: 0px;
        left: 12px;
        right: 12px;
        height: 3px;
        border-radius: 3px;
    }

    .sfmc-home .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li.active > a::after {
        background: #FF6E6E !important;
    }

    .main-wrapper:not(.sfmc-home) .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li.active > a::after {
        background: #0e82fd !important;
    }
}

/* Top Nav Links on Homepage (over Blue Banner) */
.sfmc-home .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li > a {
    color: rgba(255, 255, 255, 0.95) !important;
}

.sfmc-home .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li:hover > a {
    color: #ffffff !important;
    opacity: 1 !important;
}

.sfmc-home .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li.active > a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Top Nav Links on Inner Pages (White header) */
.main-wrapper:not(.sfmc-home) .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li > a {
    color: #1f2937 !important;
}

.main-wrapper:not(.sfmc-home) .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li:hover > a {
    color: #0e82fd !important;
}

.main-wrapper:not(.sfmc-home) .header.header-fourteen .header-nav .main-menu-wrapper .main-nav > li.active > a {
    color: #0e82fd !important;
    font-weight: 700 !important;
}

/* Submenu dropdown inside all pages */
.header.header-fourteen .header-nav .main-menu-wrapper .main-nav .submenu {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
    border: 1px solid #eef2f6 !important;
    padding: 8px 0 !important;
}

.header.header-fourteen .header-nav .main-menu-wrapper .main-nav .submenu li a {
    color: #1f2937 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    display: block !important;
}

.header.header-fourteen .header-nav .main-menu-wrapper .main-nav .submenu li a:hover {
    color: #0e82fd !important;
    background-color: #f8fafc !important;
}

/* Breadcrumb Bar Top Padding for Fixed Header */
.breadcrumb-bar-two {
    padding: 130px 0 45px !important;
    background: #f8fafc !important;
}

/* ==========================================================================
   Header Flexbox Fix: Brand Left, Nav Center, Button Right (Desktop)
   ========================================================================== */
@media (min-width: 992px) {
    .header.header-fourteen .header-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        height: 85px !important;
    }

    .header.header-fourteen .header-nav .navbar-header {
        width: auto !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .header.header-fourteen .header-nav .navbar-brand.logo {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header.header-fourteen .header-nav .navbar-brand.logo img {
        height: 48px !important;
        width: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
    }

    .header.header-fourteen .header-nav .main-menu-wrapper {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 16px !important;
    }

    .header.header-fourteen .header-nav .main-menu-wrapper .main-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 2px !important;
    }

    .header.header-fourteen .header-nav .header-navbar-rht {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .header.header-fourteen .header-nav .header-navbar-rht li.login-in-fourteen {
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .header.header-fourteen {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        height: 70px !important;
        background: #0e82fd !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 1040 !important;
    }

    .header.header-fourteen .header-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 70px !important;
        padding: 0 15px !important;
        width: 100% !important;
    }

    .header.header-fourteen .navbar-header {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        width: auto !important;
        position: relative !important;
    }

    .header.header-fourteen .navbar-header #mobile_btn {
        position: static !important;
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        margin: 0 !important;
        z-index: 10 !important;
    }

    .header.header-fourteen .navbar-header #mobile_btn .bar-icon span {
        background-color: #ffffff !important;
        display: block !important;
        height: 3px !important;
        width: 24px !important;
        margin-bottom: 4px !important;
        border-radius: 2px !important;
    }

    .header.header-fourteen .navbar-brand.logo {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header.header-fourteen .navbar-brand.logo img {
        height: 42px !important;
        width: auto !important;
    }

    .header.header-fourteen .header-navbar-rht {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header.header-fourteen .header-navbar-rht li.login-in-fourteen a {
        padding: 7px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }

    .sfmc-hero-modern {
        padding: 100px 0 45px !important;
    }

    .sfmc-hero-modern .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .sfmc-hero-modern .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .sfmc-hero-modern .row > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sfmc-hero-modern h1 {
        font-size: 1.85rem !important;
        word-break: break-word !important;
    }
}

@media (max-width: 575.98px) {
    .header.header-fourteen .header-navbar-rht li.login-in-fourteen a {
        padding: 6px 10px !important;
        font-size: 11.5px !important;
    }
}


/* ==========================================================================
   High-Contrast Buttons (Never merging with backgrounds)
   ========================================================================== */

/* Primary Coral Button (Global bg-sfmc) */
.btn-primary.bg-sfmc,
.bg-sfmc {
    background-color: #FF6E6E !important;
    border-color: #FF6E6E !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(255, 110, 110, 0.4) !important;
    transition: all 0.25s ease !important;
}

.btn-primary.bg-sfmc:hover,
.bg-sfmc:hover {
    background-color: #f05252 !important;
    border-color: #f05252 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 110, 110, 0.5) !important;
}

/* Hero Section Buttons with Strong Contrast */
.btn-hero-primary {
    background-color: #FF6E6E !important;
    border: 2px solid #FF6E6E !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 8px 24px rgba(255, 110, 110, 0.45) !important;
    border-radius: 999px !important;
    padding: 14px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
}

.btn-hero-primary:hover {
    background-color: #e55353 !important;
    border-color: #e55353 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 110, 110, 0.55) !important;
}

.btn-hero-secondary {
    background-color: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: #0e82fd !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 999px !important;
    padding: 14px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
}

.btn-hero-secondary:hover {
    background-color: #f0f7ff !important;
    border-color: #f0f7ff !important;
    color: #0a6ecb !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2) !important;
}

.btn-hero-tertiary {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    backdrop-filter: blur(8px);
    border-radius: 999px !important;
    padding: 14px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
}

.btn-hero-tertiary:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* High-Contrast Outline Primary Button */
.btn-outline-primary {
    background-color: #ffffff !important;
    border: 2px solid #0e82fd !important;
    color: #0e82fd !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.btn-outline-primary:hover {
    background-color: #0e82fd !important;
    border-color: #0e82fd !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 130, 253, 0.3) !important;
}

/* Service Card Booking Button */
.book-btn,
.service-cat-card-modern .btn {
    background-color: #FF6E6E !important;
    border: 2px solid #FF6E6E !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(255, 110, 110, 0.35) !important;
    border-radius: 999px !important;
    transition: all 0.25s ease !important;
}

.book-btn:hover,
.service-cat-card-modern .btn:hover {
    background-color: #e55353 !important;
    border-color: #e55353 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 110, 110, 0.5) !important;
}

/* ==========================================================================
   Modern Clinical UI & Google Standards Design Enhancements (SFMC Update)
   ========================================================================== */

:root {
    --sfmc-coral: #FF6E6E;
    --sfmc-blue: #0e82fd;
    --sfmc-navy: #1e3a8a;
    --sfmc-dark: #0f172a;
    --sfmc-slate: #334155;
    --sfmc-muted: #64748b;
    --sfmc-bg-light: #f8fafc;
    --sfmc-card-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    --sfmc-card-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* Soft Color Backgrounds */
.bg-soft-primary { background-color: #eff6ff !important; color: #1d4ed8; }
.bg-soft-rose { background-color: #fff1f2 !important; color: #e11d48; }
.bg-soft-teal { background-color: #f0fdf4 !important; color: #15803d; }
.bg-soft-amber { background-color: #fffbeb !important; color: #b45309; }
.bg-slate-50 { background-color: #f8fafc !important; }

/* Section Badges & Eyebrows */
.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.section-badge-pill.rose {
    background: #fff1f2;
    color: #e11d48;
}

/* Modern Hero Section */
.sfmc-hero-modern {
    position: relative;
    padding: 130px 0 70px;
    background: linear-gradient(135deg, #0e82fd 0%, #1e3a8a 100%);
    color: #ffffff;
    overflow: hidden;
}

.sfmc-hero-modern::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 110, 110, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.sfmc-hero-modern h1 {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.sfmc-hero-modern .lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.hero-visual-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    color: #0f172a;
    position: relative;
}

.hero-visual-card .logo-badge {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: contain;
    background: #f8fafc;
    padding: 6px;
}

/* Trust Strip */
.trust-strip {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-item h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #0f172a;
}

.trust-item p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Modern Doctor Cards */
.doctor-card-modern {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: var(--sfmc-card-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.doctor-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--sfmc-card-shadow-hover);
    border-color: #cbd5e1;
}

.doctor-card-img-wrap {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 0;
}

.doctor-card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform 0.4s ease;
}

.doctor-card-modern:hover .doctor-card-img-wrap img {
    transform: scale(1.03);
}

.doctor-card-role-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.doctor-card-role-badge.director {
    background: rgba(225, 29, 72, 0.9);
}

.doctor-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doctor-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.doctor-card-deg {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.doctor-card-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0e82fd;
    margin-bottom: 16px;
}

.doctor-card-bio {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 20px;
}

.doctor-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.doctor-tag {
    font-size: 12px;
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.doctor-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Procedure Showcase & Milestone Cards */
.procedure-spotlight-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: var(--sfmc-card-shadow);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.procedure-spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sfmc-card-shadow-hover);
}

.procedure-img-wrap {
    position: relative;
    height: 260px;
    background: #0f172a;
    overflow: hidden;
}

.procedure-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.procedure-spotlight-card:hover .procedure-img-wrap img {
    transform: scale(1.04);
}

.procedure-badge-corner {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(14, 130, 253, 0.92);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

.procedure-badge-corner.milestone {
    background: rgba(225, 29, 72, 0.92);
}

.procedure-body {
    padding: 24px;
}

.procedure-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.procedure-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Why Choose Us Modern 6-Card Grid */
.why-card-modern {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.why-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--sfmc-card-shadow);
    border-color: #cbd5e1;
}

.why-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.why-card-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 0;
}

/* Continuity Feature Banner */
.continuity-banner-wrap {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff5f5 100%);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid #e2e8f0;
}

/* Doctor Detailed Profile Styles */
.doctor-profile-card {
    background: #ffffff;
    box-shadow: var(--sfmc-card-shadow);
}

.doctor-main-portrait {
    width: 100%;
    max-width: 340px;
    height: 420px;
    object-fit: cover;
    object-position: top center;
}

.doctor-badge-floating {
    margin-top: -16px;
    position: relative;
    z-index: 2;
}

.badge-pill-item {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
}

.profile-content-card {
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.section-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.interest-tag {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.timeline-styled .timeline-item {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid #e2e8f0;
}

.timeline-styled .timeline-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0e82fd;
    border: 2px solid #ffffff;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.card-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FF6E6E;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Category Cards Enhancements */
.service-cat-card-modern {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
}

.service-cat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--sfmc-card-shadow-hover);
    border-color: #0e82fd;
}

.service-cat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-cat-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .sfmc-hero-modern {
        padding: 100px 0 50px;
    }

    .sfmc-hero-modern h1 {
        font-size: 2.1rem;
    }

    .doctor-card-img-wrap {
        height: 320px;
    }

    .continuity-banner-wrap {
        padding: 28px;
    }

    .doctor-main-portrait {
        height: 340px;
    }
}

@media (max-width: 575.98px) {
    .sfmc-hero-modern h1 {
        font-size: 1.75rem;
    }

    .hero-feature-pill {
        width: 100%;
        margin-right: 0;
    }

    .doctor-card-actions {
        flex-direction: column;
    }

    .doctor-card-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Photo Gallery & Centre Tour Enhancements
   ========================================================================== */
.gallery-hero-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff1f2 100%);
    padding: 70px 0 45px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.gallery-hero-banner::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(14, 130, 253, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.gallery-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 35px;
}

.gallery-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.gallery-filter-btn:hover {
    color: #0e82fd;
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 130, 253, 0.12);
}

.gallery-filter-btn.active {
    background: #0e82fd;
    color: #ffffff;
    border-color: #0e82fd;
    box-shadow: 0 4px 14px rgba(14, 130, 253, 0.28);
}

.gallery-filter-btn .count-badge {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    margin-left: 4px;
    font-weight: 700;
}

.gallery-filter-btn.active .count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Gallery Photo Item Cards */
.gallery-photo-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(14, 130, 253, 0.12);
    border-color: #bfdbfe;
}

.gallery-photo-media {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    display: block;
}

.gallery-photo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.75) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-photo-card:hover .gallery-photo-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #0e82fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: scale(0.85);
    transition: transform 0.25s ease;
}

.gallery-photo-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-category-tag {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: auto !important;
    height: auto !important;
    max-width: max-content !important;
    z-index: 5 !important;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1.4;
    pointer-events: none;
}

.gallery-category-tag.facility {
    color: #0e82fd;
    border: 1px solid rgba(14, 130, 253, 0.2);
}

.gallery-category-tag.scan {
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.gallery-category-tag.therapy {
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.gallery-category-tag.doctor {
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.gallery-photo-details {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-photo-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.gallery-photo-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Home Page Testimonials */
.testimonial-card-modern {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 14px;
}

.testimonial-quote-icon {
    font-size: 32px;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
    flex-grow: 1;
    margin-bottom: 18px;
    font-style: italic;
}

.testimonial-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eff6ff;
    color: #0e82fd;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #bfdbfe;
}

.testimonial-author-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
}

.testimonial-author-meta {
    font-size: 12px;
    color: #64748b;
}

/* FAQ Accordion */
.faq-accordion-custom .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-accordion-custom .accordion-button {
    font-weight: 700;
    color: #0f172a;
    font-size: 16px;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    box-shadow: none;
}

.faq-accordion-custom .accordion-button:not(.collapsed) {
    color: #0e82fd;
    background: #f8fafc;
    box-shadow: none;
}

.faq-accordion-custom .accordion-body {
    padding: 18px 22px 24px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    background: #ffffff;
}

/* Facility Preview Ribbon on Home Page */
.facility-preview-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 240px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.facility-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-preview-card:hover img {
    transform: scale(1.08);
}

.facility-preview-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    color: #ffffff;
}

.facility-preview-caption h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 14px;
}

.facility-preview-caption span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}


