/* ==========================================================================
   BMJH-Inspired Super Speciality Hospital Design System
   Brand Colors: Crimson #E63946, Dark Crimson #D90429, Navy #1B365D, Amber #F59E0B
   Typography: Outfit (Headings) + Inter (Body) + IBM Plex Mono (Data)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Caveat:wght@600;700&display=swap');

:root {
    /* Brand Colors */
    --brand-crimson:       #E63946;
    --brand-crimson-dark:  #D90429;
    --brand-crimson-deep:  #B8001F;
    --brand-orange:        #FF6B35;
    --brand-orange-light:  #FFF3EB;
    --brand-navy:          #1B365D;
    --brand-navy-dark:     #0B1B33;
    --brand-blue:          #0284C7;
    --brand-blue-light:    #E0F2FE;
    --brand-teal:          #0D9488;
    --brand-green:         #16A34A;

    /* Neutrals */
    --bg-page:             #F8FAFC;
    --bg-white:            #FFFFFF;
    --bg-light-gray:       #F1F5F9;
    --border-subtle:       #E2E8F0;
    --border-light:        #F1F5F9;

    /* Text */
    --text-navy:           #1B365D;
    --text-slate:          #334155;
    --text-muted:          #64748B;
    --text-light:          #94A3B8;

    /* Pastel Category Colors */
    --pastel-pink:         #FFE5E5;
    --pastel-pink-text:    #D90429;
    --pastel-cyan:         #E0F7FA;
    --pastel-cyan-text:    #00838F;
    --pastel-yellow:       #FFF8E1;
    --pastel-yellow-text:  #F57F17;
    --pastel-purple:       #EDE7F6;
    --pastel-purple-text:  #5E35B1;
    --pastel-green:        #E8F5E9;
    --pastel-green-text:   #2E7D32;
    --pastel-peach:        #FBE9E7;
    --pastel-peach-text:   #D84315;

    /* Shadows & Radii */
    --radius-sm:           10px;
    --radius-md:           16px;
    --radius-lg:           24px;
    --radius-xl:           32px;
    --radius-pill:         9999px;

    --shadow-subtle:       0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-card:         0 10px 30px rgba(27, 54, 93, 0.07);
    --shadow-hover:        0 18px 40px rgba(27, 54, 93, 0.12);
    --shadow-glow:         0 8px 25px rgba(230, 57, 70, 0.35);

    --transition-fast:     all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-slate);
    background-color: var(--bg-page);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-navy);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    color: var(--brand-crimson);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--brand-crimson-dark);
}

/* Accessibility Focus */
:focus-visible {
    outline: 2.5px solid var(--brand-crimson) !important;
    outline-offset: 3px !important;
}

/* Skip link */
.skip-to-content {
    position: absolute;
    top: -999px;
    left: 20px;
    background: var(--brand-crimson);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    z-index: 99999;
}
.skip-to-content:focus {
    top: 20px;
}

/* ==========================================================================
   1. TOP HEADER & NAVBAR
   ========================================================================== */
.top-branding-bar {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1040;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand-crimson-dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-subtext {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nabh-badge-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0284C7;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
    position: relative;
    padding: 3px;
}

.nabh-badge-box img, .nabh-badge-box svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.location-switcher-wrap {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    padding: 4px;
    border-radius: var(--radius-pill);
    gap: 4px;
}

.location-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--text-slate);
    transition: var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.location-pill-btn.active {
    background: var(--brand-crimson);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
}

.location-pill-btn:hover:not(.active) {
    background: #E2E8F0;
    color: var(--text-navy);
}

.compassion-slogan {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--brand-crimson);
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.emr-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid #CBD5E1;
    color: var(--text-navy);
    font-weight: 700;
    font-size: 0.84rem;
    transition: var(--transition-fast);
}

.emr-login-btn:hover {
    background: #F8FAFC;
    border-color: var(--brand-crimson);
    color: var(--brand-crimson);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.emr-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FEE2E2;
    color: var(--brand-crimson);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Mobile Location Pill (Matching Screenshot) */
.dmr-mobile-loc-btn {
    background: linear-gradient(135deg, #FF5E3A 0%, #E63946 100%);
    color: #ffffff;
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dmr-mobile-loc-btn:hover {
    transform: scale(1.02);
    color: #ffffff;
}

/* Mobile Fixed Bottom App Navigation Bar */
.dmr-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding: 0 8px;
}

.dmr-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: color 0.2s ease;
    flex: 1;
}

.dmr-mobile-nav-item i {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.dmr-mobile-nav-item:hover,
.dmr-mobile-nav-item.active {
    color: #E63946;
}

.dmr-mobile-nav-center-wrap {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.dmr-mobile-center-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: absolute;
    top: -26px;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.dmr-mobile-center-fab:hover {
    transform: scale(1.08);
    color: #ffffff;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 68px;
    }
}

/* Sticky Main Navigation */
.sticky-navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
}

.navbar-main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-main-nav .nav-item {
    position: relative;
}

.navbar-main-nav .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: #1E293B;
    padding: 10px 14px;
    margin: 6px 2px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.navbar-main-nav .nav-link:hover,
.navbar-main-nav .nav-item:hover > .nav-link,
.navbar-main-nav .nav-link.active {
    color: #E63946;
    background: #FFF1F2;
}

.navbar-main-nav .nav-link .dropdown-chevron {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.navbar-main-nav .nav-item:hover > .nav-link .dropdown-chevron {
    transform: rotate(180deg);
}

/* Primary Dropdown Menu */
.dmr-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    min-width: 250px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1050;
}

.navbar-main-nav .nav-item:hover > .dmr-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dmr-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}

.dmr-dropdown-item:hover,
.dmr-has-submenu:hover > .dmr-dropdown-item {
    background: #FFF1F2;
    color: #E63946;
    font-weight: 600;
}

.dmr-dropdown-item i.bi-chevron-right {
    font-size: 0.75rem;
    color: #E63946;
    margin-left: 12px;
}

/* Multi-Level Flyout Submenus */
.dmr-has-submenu {
    position: relative;
}

.dmr-submenu {
    position: absolute;
    top: -6px;
    left: 100%;
    margin-left: 4px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1060;
}

.dmr-has-submenu:hover > .dmr-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Quick Desktop Hamburger Dropdown Menu (Screenshot 3) */
.dmr-quick-hamburger-wrap {
    position: relative;
}

.dmr-hamburger-btn {
    background: transparent;
    border: none;
    color: #E63946;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dmr-hamburger-btn:hover {
    background: #FFF1F2;
}

.dmr-quick-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1070;
}

.dmr-quick-hamburger-wrap:hover > .dmr-quick-menu,
.dmr-quick-hamburger-wrap.open > .dmr-quick-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dmr-quick-menu .dmr-dropdown-item {
    padding: 8px 20px;
    font-size: 0.86rem;
}

/* ==========================================================================
   HEALTH PACKAGES SECTION — Auto-Scrolling Infinite Carousel
   ========================================================================== */

.dmr-pkg-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

/* মূল কন্টেইনার */
.dmr-pkg-container {
    background: linear-gradient(135deg, #e52d27 0%, #b31217 100%);
    border-radius: 20px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    width: 95%;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(179, 18, 23, 0.25);
    position: relative;
}

@media (max-width: 991px) {
    .dmr-pkg-container {
        flex-direction: column;
        padding: 35px 24px;
        gap: 30px;
    }
}

/* বাম পাশের টেক্সট সেকশন */
.dmr-pkg-left-content {
    flex: 0 0 32%;
    padding-right: 30px;
}

@media (max-width: 991px) {
    .dmr-pkg-left-content {
        flex: 1 1 100%;
        padding-right: 0;
        text-align: center;
    }
}

.dmr-pkg-left-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.dmr-pkg-left-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
    color: #ffe6e6;
}

.dmr-pkg-view-more-btn {
    background-color: #ffffff;
    color: #e52d27;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dmr-pkg-view-more-btn:hover {
    background-color: #f8f9fa;
    color: #b31217;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* ডান পাশের ক্যারোজেল ফ্রেম */
.dmr-pkg-carousel-container {
    flex: 0 0 68%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

@media (max-width: 991px) {
    .dmr-pkg-carousel-container {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* অটোমেটিক স্ক্রলিং ট্র্যাক */
.dmr-pkg-carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: dmrAutoScroll 28s linear infinite;
}

/* হোভার করলে ক্যারোজেল থেমে যাবে */
.dmr-pkg-carousel-track:hover {
    animation-play-state: paused;
}

/* প্যাকেজ কার্ড স্টাইল */
.dmr-package-card {
    background: #ffffff;
    color: #333333;
    width: 260px;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dmr-package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.dmr-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: #b31217;
    margin-bottom: 12px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.dmr-card-image {
    width: 100%;
    height: 115px;
    background: #f0f4f8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.dmr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dmr-package-card:hover .dmr-card-image img {
    transform: scale(1.05);
}

.dmr-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    color: #555555;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.dmr-card-features li {
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}

.dmr-card-features li::before {
    content: "✔";
    color: #e52d27;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

.dmr-card-btn {
    background-color: transparent;
    color: #e52d27;
    border: 1.5px solid #e52d27;
    padding: 9px 0;
    width: 100%;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dmr-card-btn:hover {
    background-color: #e52d27;
    color: #ffffff;
}

/* এনিমেশন কি-ফ্রেম */
@keyframes dmrAutoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}


/* ==========================================================================
   PATIENT TESTIMONIALS SECTION
   ========================================================================== */

.dmr-testimonials-section {
    padding: 70px 0 80px;
    background-color: #ffffff;
    background-image: radial-gradient(#E2E8F0 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    position: relative;
    border-top: 1px solid #F1F5F9;
}

.dmr-testimonials-container {
    max-width: 1320px;
    width: 95%;
    margin: 0 auto;
}

/* Header with centered title and right-aligned View All button */
.dmr-testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
}

.dmr-testimonials-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1E293B;
    margin: 0;
    text-align: center;
    letter-spacing: -0.5px;
}

.dmr-testimonials-view-all {
    position: absolute;
    right: 0;
    background: linear-gradient(135deg, #FF5722 0%, #E63946 100%);
    color: #ffffff;
    padding: 9px 24px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.25);
    transition: all 0.3s ease;
}

.dmr-testimonials-view-all:hover {
    background: linear-gradient(135deg, #E63946 0%, #C62A35 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

@media (max-width: 768px) {
    .dmr-testimonials-header {
        flex-direction: column;
        gap: 16px;
    }
    .dmr-testimonials-view-all {
        position: static;
    }
}

/* 4-column Testimonial Cards Grid */
.dmr-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) {
    .dmr-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dmr-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Card Base */
.dmr-testimonial-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.dmr-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: #E2E8F0;
}

/* Video Thumbnail Container */
.dmr-testimonial-video-wrap {
    position: relative;
    width: 100%;
    height: 165px;
    border-radius: 12px;
    overflow: hidden;
    background: #0F172A;
    margin-bottom: 16px;
    cursor: pointer;
}

.dmr-testimonial-video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.dmr-testimonial-card:hover .dmr-testimonial-video-img {
    transform: scale(1.04);
}

.dmr-testimonial-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.dmr-testimonial-video-wrap:hover .dmr-testimonial-video-overlay {
    background: rgba(15, 23, 42, 0.35);
}

/* Circular Play Button */
.dmr-testimonial-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
    border: 2px solid #ffffff;
}

.dmr-testimonial-play-btn i {
    color: #E63946;
    font-size: 1.15rem;
    margin-left: 3px;
}

.dmr-testimonial-video-wrap:hover .dmr-testimonial-play-btn {
    transform: scale(1.15);
    background: #ffffff;
}

/* Card Content / Quote Typography */
.dmr-testimonial-quote {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 18px 0;
    flex: 1;
}

.dmr-testimonial-quote--large {
    font-size: 1.02rem;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.55;
}

/* Author Info */
.dmr-testimonial-author {
    margin-top: auto;
    border-top: 1px solid #F1F5F9;
    padding-top: 12px;
}

.dmr-testimonial-author__name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 2px;
    line-height: 1.3;
}

.dmr-testimonial-author__loc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
}

/* Video Modal */
.dmr-video-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dmr-video-modal-content {
    background: #000000;
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.dmr-video-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   LATEST UPDATES SECTION
   ========================================================================== */

.dmr-updates-section {
    padding: 70px 0 85px;
    background-color: #FAFCFF;
    border-top: 1px solid #F1F5F9;
    position: relative;
}

.dmr-updates-container {
    max-width: 1320px;
    width: 95%;
    margin: 0 auto;
}

.dmr-updates-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1E293B;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Two-column layout: Left blogs (58%), Right scrolling feed (42%) */
.dmr-updates-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 991px) {
    .dmr-updates-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Left Blog Cards (2 columns side by side) ── */
.dmr-blogs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

@media (max-width: 600px) {
    .dmr-blogs-wrapper {
        grid-template-columns: 1fr;
    }
}

.dmr-blog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dmr-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
    border-color: #E2E8F0;
}

.dmr-blog-card__img-wrap {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #0F172A;
}

.dmr-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dmr-blog-card:hover .dmr-blog-card__img {
    transform: scale(1.05);
}

.dmr-blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dmr-blog-badge {
    background: #FFF1F2;
    color: #E63946;
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.dmr-blog-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    color: #94A3B8;
}

.dmr-blog-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.38;
    margin: 0 0 16px 0;
    flex: 1;
}

.dmr-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dmr-blog-card__title a:hover {
    color: #E63946;
}

.dmr-blog-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #F1F5F9;
    padding-top: 12px;
}

.dmr-blog-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FEE2E2;
    color: #E63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dmr-blog-author-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #E63946;
}

/* ── Right Vertical Scrolling Updates Feed with Red Scrollbar ── */
.dmr-updates-scroll-panel {
    background: #F0F4F8;
    border-radius: 18px;
    padding: 16px;
    max-height: 440px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Custom Red Scrollbar */
.dmr-updates-scroll-panel::-webkit-scrollbar {
    width: 6px;
}

.dmr-updates-scroll-panel::-webkit-scrollbar-track {
    background: #E2E8F0;
    border-radius: 10px;
}

.dmr-updates-scroll-panel::-webkit-scrollbar-thumb {
    background: #E63946;
    border-radius: 10px;
}

.dmr-updates-scroll-panel::-webkit-scrollbar-thumb:hover {
    background: #C62A35;
}

/* Firefox */
.dmr-updates-scroll-panel {
    scrollbar-width: thin;
    scrollbar-color: #E63946 #E2E8F0;
}

/* Feed Item Card */
.dmr-update-feed-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.dmr-update-feed-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #E2E8F0;
}

.dmr-feed-video-thumb {
    width: 120px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #0F172A;
}

.dmr-feed-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dmr-feed-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.dmr-feed-play-btn i {
    color: #E63946;
    font-size: 0.8rem;
    margin-left: 2px;
}

.dmr-update-feed-item:hover .dmr-feed-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ffffff;
}

.dmr-feed-content {
    flex: 1;
    min-width: 0;
}

.dmr-feed-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.35;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dmr-feed-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    color: #64748B;
}

/* ==========================================================================
   DOCTORS SECTION (Matching Benchmark Screenshot)
   ========================================================================== */

.dmr-doc-section {
    background: #ffffff;
    padding: 60px 0 80px;
}

.dmr-doc-section__title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1B365D;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* ── Department Tab Strip ── */
.dmr-doc-tabs-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    position: relative;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 2px;
}

.dmr-doc-scroll-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #E63946;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.dmr-doc-scroll-btn:hover {
    transform: scale(1.2);
}

.dmr-doc-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    scroll-behavior: smooth;
}

.dmr-doc-tabs::-webkit-scrollbar { display: none; }

.dmr-doc-tab {
    background: transparent;
    border: none;
    border-bottom: 3.5px solid transparent;
    margin-bottom: -4px;
    padding: 8px 16px 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dmr-doc-tab:hover {
    color: #E63946;
}

.dmr-doc-tab.active {
    color: #E63946;
    border-bottom-color: #E63946;
    font-weight: 700;
}

/* ── Doctor Spotlight ── */
.dmr-doc-spotlight-wrap {
    margin-bottom: 40px;
}

.dmr-doc-spotlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .dmr-doc-spotlight {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Left: Doctor Photo with Orange Floral Petal Badge Backdrop */
.dmr-doc-spotlight-img-wrap {
    position: relative;
    width: 290px;
    height: 290px;
    border-radius: 36px;
    background: #F97316 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cdefs%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23FB923C'/%3E%3Cstop offset='35%25' stop-color='%23F97316'/%3E%3Cstop offset='75%25' stop-color='%23EA580C'/%3E%3Cstop offset='100%25' stop-color='%23C2410C'/%3E%3C/linearGradient%3E%3ClinearGradient id='petalGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23C2410C' stop-opacity='0.62'/%3E%3Cstop offset='100%25' stop-color='%239A3412' stop-opacity='0.42'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='500' height='500' fill='url(%23bgGrad)'/%3E%3Cg transform='translate(45, 230)'%3E%3Cpath d='M 0 0 C -30 -90, -15 -180, 25 -230 C 85 -170, 65 -75, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 85 -65, 190 -75, 275 -40 C 210 25, 105 15, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 130 -10, 260 45, 345 130 C 245 155, 130 75, 0 0 Z' fill='url(%23petalGrad)' opacity='0.9'/%3E%3Cpath d='M 0 0 C 65 75, 150 170, 195 255 C 95 235, 45 130, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C -55 65, -95 150, -105 235 C -140 150, -95 65, 0 0 Z' fill='url(%23petalGrad)' opacity='0.85'/%3E%3Cpath d='M 0 0 C -85 -20, -170 -10, -225 25 C -180 -65, -85 -45, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Ccircle cx='0' cy='0' r='56' fill='%23EA580C'/%3E%3Ccircle cx='0' cy='0' r='44' fill='%23FB923C' opacity='0.95'/%3E%3Ccircle cx='0' cy='0' r='28' fill='%23FED7AA' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E") center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.22);
}

.dmr-doc-spotlight-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.dmr-doc-spotlight-img-wrap:hover .dmr-doc-spotlight-photo {
    transform: scale(1.04);
}

/* Right: Doctor Info */
.dmr-doc-spotlight-info {
    flex: 1;
    min-width: 0;
}

.dmr-doc-spotlight-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1B365D;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.dmr-doc-spotlight-qual {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 6px;
    line-height: 1.4;
}

.dmr-doc-spotlight-desig {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    line-height: 1.4;
}

.dmr-doc-spotlight-dept {
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 24px;
    line-height: 1.4;
}

.dmr-doc-spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #E63946;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 26px 6px 8px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.28);
    transition: all 0.25s ease;
}

.dmr-doc-spotlight-btn:hover {
    background: #C62A35;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.38);
}

.dmr-doc-spotlight-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: #E63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ── Carousel Thumbnails Row ── */
.dmr-doc-thumbnails-section {
    margin-top: 30px;
}

.dmr-doc-nav-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

.dmr-doc-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dmr-doc-nav-btn--prev {
    background: #CBD5E1;
    color: #ffffff;
}

.dmr-doc-nav-btn--prev:hover:not(:disabled) {
    background: #94A3B8;
    transform: scale(1.08);
}

.dmr-doc-nav-btn--next {
    background: #E63946;
    color: #ffffff;
}

.dmr-doc-nav-btn--next:hover:not(:disabled) {
    background: #C62A35;
    transform: scale(1.08);
}

.dmr-doc-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 4-Thumbnails Grid */
.dmr-doc-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

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

@media (max-width: 575px) {
    .dmr-doc-thumbs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.dmr-doc-thumb-card {
    background: #ffffff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    padding: 6px;
}

.dmr-doc-thumb-card:hover {
    transform: translateY(-5px);
}

.dmr-doc-thumb-card.active {
    border-color: #E63946;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.15);
}

.dmr-doc-thumb-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #F97316 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cdefs%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23FB923C'/%3E%3Cstop offset='35%25' stop-color='%23F97316'/%3E%3Cstop offset='75%25' stop-color='%23EA580C'/%3E%3Cstop offset='100%25' stop-color='%23C2410C'/%3E%3C/linearGradient%3E%3ClinearGradient id='petalGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23C2410C' stop-opacity='0.62'/%3E%3Cstop offset='100%25' stop-color='%239A3412' stop-opacity='0.42'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='500' height='500' fill='url(%23bgGrad)'/%3E%3Cg transform='translate(45, 230)'%3E%3Cpath d='M 0 0 C -30 -90, -15 -180, 25 -230 C 85 -170, 65 -75, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 85 -65, 190 -75, 275 -40 C 210 25, 105 15, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 130 -10, 260 45, 345 130 C 245 155, 130 75, 0 0 Z' fill='url(%23petalGrad)' opacity='0.9'/%3E%3Cpath d='M 0 0 C 65 75, 150 170, 195 255 C 95 235, 45 130, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C -55 65, -95 150, -105 235 C -140 150, -95 65, 0 0 Z' fill='url(%23petalGrad)' opacity='0.85'/%3E%3Cpath d='M 0 0 C -85 -20, -170 -10, -225 25 C -180 -65, -85 -45, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Ccircle cx='0' cy='0' r='56' fill='%23EA580C'/%3E%3Ccircle cx='0' cy='0' r='44' fill='%23FB923C' opacity='0.95'/%3E%3Ccircle cx='0' cy='0' r='28' fill='%23FED7AA' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E") center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dmr-doc-thumb-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.dmr-doc-thumb-card:hover .dmr-doc-thumb-img-wrap img {
    transform: scale(1.05);
}

.dmr-doc-thumb-info {
    padding: 10px 4px 6px;
    text-align: center;
}

.dmr-doc-thumb-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B365D;
    margin-bottom: 2px;
    line-height: 1.3;
}

.dmr-doc-thumb-dept {
    font-size: 0.76rem;
    color: #64748B;
    line-height: 1.35;
}

.dmr-doc-thumb-info strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1E293B;
    line-height: 1.3;
    margin-bottom: 3px;
}

.dmr-doc-thumb-info span {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.3;
}

/* ==========================================================================
   OUR SPECIALITY SERVICES SECTION
   ========================================================================== */

.dmr-spec-section {
    background: linear-gradient(160deg, #FFF9F9 0%, #F8FAFC 50%, #EFF6FF 100%);
    padding: 64px 0 80px;
}

.dmr-spec-section__title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1E293B;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* 2-col layout: sidebar left (narrow) + grid right (wide) */
.dmr-spec-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 767px) {
    .dmr-spec-layout { grid-template-columns: 1fr; }
}

/* ── Left Gradient Sidebar ── */
.dmr-spec-sidebar {
    background: linear-gradient(160deg, #FF6B35 0%, #E63946 55%, #C62A35 100%);
    border-radius: 20px;
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.22);
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

/* Decorative bottom-right blob inside sidebar */
.dmr-spec-sidebar::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -40px;
    right: -40px;
    pointer-events: none;
}

/* Tab button */
.dmr-spec-tab {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.82);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1.35;
}

.dmr-spec-tab:hover:not(.active) {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.dmr-spec-tab.active {
    background: #ffffff;
    color: #C62A35;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ── Right grid wrap ── */
.dmr-spec-grid-wrap {
    min-height: 300px;
}

.dmr-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

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

@media (max-width: 575px) {
    .dmr-spec-grid { grid-template-columns: 1fr; }
}

/* ── Specialty pill card ── */
.dmr-sc {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid transparent;
}

.dmr-sc:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.dmr-sc span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1E293B;
    line-height: 1.35;
}

/* Icon circle */
.dmr-sc__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.75);
}

/* Colour variants */
.dmr-sc--pink   { background: #FFF0F3; border-color: #FFD6DD; }
.dmr-sc--pink   .dmr-sc__icon { color: #E63946; background: #FFE0E5; }
.dmr-sc--pink:hover { border-color: #E63946; }

.dmr-sc--yellow { background: #FFFBEB; border-color: #FDE68A; }
.dmr-sc--yellow .dmr-sc__icon { color: #D97706; background: #FEF3C7; }
.dmr-sc--yellow:hover { border-color: #D97706; }

.dmr-sc--blue   { background: #EFF6FF; border-color: #BFDBFE; }
.dmr-sc--blue   .dmr-sc__icon { color: #2563EB; background: #DBEAFE; }
.dmr-sc--blue:hover { border-color: #2563EB; }

.dmr-sc--sky    { background: #E0F7FA; border-color: #B2EBF2; }
.dmr-sc--sky    .dmr-sc__icon { color: #0891B2; background: #CCEEF5; }
.dmr-sc--sky:hover { border-color: #0891B2; }

.dmr-sc--green  { background: #F0FDF4; border-color: #BBF7D0; }
.dmr-sc--green  .dmr-sc__icon { color: #16A34A; background: #D1FAE5; }
.dmr-sc--green:hover { border-color: #16A34A; }

.dmr-sc--purple { background: #F5F3FF; border-color: #DDD6FE; }
.dmr-sc--purple .dmr-sc__icon { color: #7C3AED; background: #EDE9FE; }
.dmr-sc--purple:hover { border-color: #7C3AED; }

/* View All card — white/neutral */
.dmr-sc--viewall { background: #F8FAFC; border-color: #E2E8F0; }
.dmr-sc--viewall .dmr-sc__icon { color: #64748B; background: #E2E8F0; }
.dmr-sc--viewall span { color: #64748B; }
.dmr-sc--viewall:hover { border-color: #94A3B8; background: #F1F5F9; }

/* ==========================================================================
   DMR MERCY HERO — clean dmr-* namespaced styles
   ========================================================================== */

/* Layout: 2-column grid on lg+, stack on mobile */
.dmr-hero {
    background: #fff;
    padding: 52px 0 64px;
}

.dmr-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .dmr-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    /* Show hero image on mobile too — as a slider below the left content */
    .dmr-hero-right { display: block; width: 100%; }
}

/* ── "Malda's" ── */
.dmr-city {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    color: #E63946;
    line-height: 1;
    margin: 0 0 2px;
    letter-spacing: -1px;
}

/* ── h1 ── */
.dmr-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
    margin: 0 0 22px;
    font-style: italic;
}

/* ── Search bar ── */
.dmr-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #E2E8F0;
    border-radius: 100px;
    padding: 8px 8px 8px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    max-width: 100%;
    margin-bottom: 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dmr-search-bar:focus-within {
    border-color: #E63946;
    box-shadow: 0 8px 24px rgba(230,57,70,0.12);
}

.dmr-search-bar__icon {
    color: #94A3B8;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dmr-search-bar__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #334155;
    min-width: 0;
}

.dmr-search-bar__input::placeholder { color: #94A3B8; }

.dmr-search-bar__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E63946;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.dmr-search-bar__btn:hover {
    background: #C62A35;
    transform: scale(1.06);
}

/* ── CTA button row ── */
.dmr-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* Shared pill style */
.dmr-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Virtual Tour: white bg, crimson border */
.dmr-cta--outline {
    background: #fff;
    border: 1.5px solid #E63946;
    color: #E63946;
}

.dmr-cta--outline:hover {
    background: #FFF1F2;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230,57,70,0.15);
    color: #C62A35;
}

/* Virtual Consultation: solid crimson */
.dmr-cta--solid {
    background: #E63946;
    border: 1.5px solid #E63946;
    color: #fff;
    box-shadow: 0 6px 18px rgba(230,57,70,0.25);
}

.dmr-cta--solid:hover {
    background: #C62A35;
    border-color: #C62A35;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230,57,70,0.35);
    color: #fff;
}

/* Circular icon inside pill */
.dmr-cta__circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.dmr-cta__circle--red { background: #E63946; color: #fff; }
.dmr-cta__circle--white { background: rgba(255,255,255,0.25); color: #fff; }

/* ── Staggered bento cards (single row) ── */
.dmr-cards {
    display: flex;
    align-items: flex-end;        /* stagger baseline */
    gap: 14px;
}

.dmr-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #1E293B;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.3;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.15s;
}

/* Card 2: raised 18px */
.dmr-card--raise1 { transform: translateY(-18px); }

/* Card 3: raised 36px */
.dmr-card--raise2 { transform: translateY(-36px); }

.dmr-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    color: #E63946;
    border-color: #FCA5A5;
}

.dmr-card--raise1:hover { transform: translateY(-24px); }
.dmr-card--raise2:hover { transform: translateY(-42px); }

.dmr-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ── Dot matrix ── */
.dmr-dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 130px;
    margin-top: 28px;
}

.dmr-dots span {
    width: 7px;
    height: 7px;
    background: #FCA5A5;
    border-radius: 50%;
    opacity: 0.7;
}

/* ── Right: hospital image frame ── */
.dmr-hero-right {
    position: relative;
}

.dmr-hero-img {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.13);
    border: 3px solid #fff;
    background: #F1F5F9;
    user-select: none;
}

/* ── Slider Track ── */
.dmr-hero-slider {
    display: flex;
    width: 100%;
    height: 400px;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.dmr-hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ── Slider Arrows ── */
.dmr-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(6px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #1B365D;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.2s;
    padding: 0;
}
.dmr-hero-arrow:hover { background: #E63946; color: #fff; transform: translateY(-50%) scale(1.08); }
.dmr-hero-arrow--prev { left: 12px; }
.dmr-hero-arrow--next { right: 12px; }

/* ── Slider Dots ── */
.dmr-hero-dots {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.dmr-hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s;
}
.dmr-hero-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* ── Mobile height adjustment ── */
@media (max-width: 767px) {
    .dmr-hero-slider,
    .dmr-hero-slide { height: 240px; }
    .dmr-hero-arrow { width: 30px; height: 30px; font-size: .85rem; }
    .dmr-hero-dots { bottom: 48px; }
}
@media (max-width: 991px) and (min-width: 768px) {
    .dmr-hero-slider,
    .dmr-hero-slide { height: 300px; }
}

/* Floating NABL badge on image */
.dmr-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.dmr-img-badge__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FEE2E2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E63946;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dmr-img-badge__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1B365D;
    line-height: 1.1;
}

.dmr-img-badge__sub {
    font-size: 0.7rem;
    color: #64748B;
    font-weight: 600;
}

/* ==========================================================================
   2. HERO SECTION — DMR MERCY (WHITE BG, CRIMSON HEADLINE, STAGGERED BENTO)
   ========================================================================== */
.hero-wrapper {
    background: #ffffff;
    position: relative;
    padding: 56px 0 72px;
    overflow: hidden;
}

/* Soft ambient background radial glows */
.hero-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
    z-index: 1;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 1;
}

/* ── "Malda's" big crimson line ── */
.hero-location-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--brand-crimson);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

/* ── "High Tech No Frills" subtitle + "Super Speciality Hospital" ── */
.hero-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 22px;
    letter-spacing: -0.3px;
}

.hero-main-title .no-frills {
    color: #0F172A;
    font-style: italic;
    font-weight: 700;
}

/* ── Hero Pill Search Box ── */
.hero-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    max-width: 440px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
    gap: 4px;
}

.hero-search-box:focus-within {
    border-color: var(--brand-crimson);
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.12);
}

.hero-search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-slate);
    font-family: 'Inter', sans-serif;
}

.hero-search-input::placeholder {
    color: #94A3B8;
}

.hero-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-crimson);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-search-btn:hover {
    background: var(--brand-crimson-dark);
    transform: scale(1.06);
}

/* ── Hero pill button icon circles (reusable) ── */
.pill-icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ── Hero Action CTA Buttons ── */
.hero-action-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

/* Virtual Tour — white bg, crimson border */
.hero-pill-btn.tour-btn {
    background: #ffffff;
    border: 1.5px solid var(--brand-crimson);
    color: var(--brand-crimson);
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.08);
}

.hero-pill-btn.tour-btn:hover {
    background: #FFF1F2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.16);
    color: var(--brand-crimson-dark);
}

/* Virtual Consultation — solid crimson */
.hero-pill-btn.consult-btn {
    background: var(--brand-crimson);
    border: 1.5px solid var(--brand-crimson);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.28);
}

.hero-pill-btn.consult-btn:hover {
    background: var(--brand-crimson-dark);
    border-color: var(--brand-crimson-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(230, 57, 70, 0.38);
    color: #ffffff;
}

/* ── Staggered Bento Quick-Action Cards ── */
.bento-cards-container {
    display: flex;
    flex-wrap: nowrap;       /* keep 3 cards in one row */
    align-items: flex-end;
    gap: 12px;
    position: relative;
    z-index: 2;
    max-width: 480px;        /* constrain to left column width */
}

.bento-card-item {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--text-navy);
    flex: 1;                 /* equal width for all 3 cards */
    text-align: center;
}

/* Center card slightly elevated */
.bento-card-elevated {
    transform: translateY(-18px);
}

/* Third card most elevated */
.bento-card-most-elevated {
    transform: translateY(-36px);
}

.bento-card-item:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: #CBD5E1;
    color: var(--brand-crimson);
    transform: translateY(-8px);
}

.bento-card-elevated:hover {
    transform: translateY(-26px);
}

.bento-card-most-elevated:hover {
    transform: translateY(-44px);
}

.bento-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}

.bento-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: inherit;
    line-height: 1.25;
    text-align: center;
}

/* ── Dot Matrix Pattern ── */
.dot-matrix-pattern {
    display: grid;
    grid-template-columns: repeat(6, 8px);
    gap: 10px;
    margin-top: 30px;
    opacity: 0.45;
}

.dot-matrix-pattern span {
    width: 8px;
    height: 8px;
    background-color: #FCA5A5;
    border-radius: 50%;
}

/* ── Right Hero Visual Frame ── */
.hero-visual-container {
    position: relative;
    z-index: 2;
    padding-top: 12px;
}

.hero-curved-img-frame {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
    border: 4px solid #ffffff;
    background: #F1F5F9;
}

.hero-curved-img-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-curved-img-frame:hover img {
    transform: scale(1.03);
}

.hero-floating-stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================================================
   3. OUR SPECIALITY SERVICES (VERTICAL TABS & PASTEL PILLS)
   ========================================================================== */
.specialities-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
}

.specialities-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #1B365D;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.speciality-card-outer {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #F1F5F9;
}

/* Left Vertical Category Tab */
.speciality-sidebar-card {
    background: linear-gradient(145deg, #FF6B35 0%, #E63946 50%, #D90429 100%);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    color: #ffffff;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.25);
}

.speciality-tab-pill {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: left;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-fast);
    display: block;
    width: 100%;
}

.speciality-tab-pill.active {
    background: #ffffff;
    color: var(--brand-crimson-dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.speciality-tab-pill:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Right Pastel Service Grid */
.service-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.service-pill-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-pill-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-pill-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Pastel Variants */
.service-pill-pink {
    background: #FEE2E2;
    color: #991B1B;
}
.service-pill-pink .service-pill-icon { color: #DC2626; }

.service-pill-cyan {
    background: #E0F2FE;
    color: #0369A1;
}
.service-pill-cyan .service-pill-icon { color: #0284C7; }

.service-pill-yellow {
    background: #FEF3C7;
    color: #92400E;
}
.service-pill-yellow .service-pill-icon { color: #D97706; }

.service-pill-purple {
    background: #F3E8FF;
    color: #6B21A8;
}
.service-pill-purple .service-pill-icon { color: #9333EA; }

.service-pill-green {
    background: #DCFCE7;
    color: #166534;
}
.service-pill-green .service-pill-icon { color: #16A34A; }

.service-pill-peach {
    background: #FFEDD5;
    color: #9A3412;
}
.service-pill-peach .service-pill-icon { color: #EA580C; }

/* ==========================================================================
   4. DOCTORS SHOWCASE (FEATURED DOCTOR & CAROUSEL)
   ========================================================================== */
.doctors-section {
    padding: 70px 0 90px;
    background: #ffffff;
    position: relative;
}

.doctors-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #1B365D;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

/* Department Scroll Filter Bar */
.dept-filter-bar-wrapper {
    position: relative;
    border-bottom: 1.5px solid #E2E8F0;
    margin-bottom: 40px;
}

.dept-filter-bar {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 28px;
    padding-bottom: 12px;
}

.dept-filter-bar::-webkit-scrollbar {
    display: none;
}

.dept-filter-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.94rem;
    color: #64748B;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    transition: var(--transition-fast);
}

.dept-filter-item.active {
    color: var(--brand-crimson);
    font-weight: 700;
}

.dept-filter-item.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-crimson);
    border-radius: 3px;
}

.dept-filter-item:hover:not(.active) {
    color: var(--text-navy);
}

/* Featured Doctor Spotlight Card */
.featured-doctor-container {
    background: #ffffff;
    max-width: 860px;
    margin: 0 auto 50px;
    padding: 20px;
}

.featured-doctor-avatar-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
}

/* Organic Petal / Flower Orange Backdrop */
.doctor-organic-shape {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FF7A00 0%, #FF9E40 50%, #FF5500 100%);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: rotate(-5deg);
    transition: var(--transition-smooth);
}

.doctor-avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    z-index: 2;
}

.featured-doc-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1B365D;
    margin-bottom: 6px;
}

.featured-doc-qual {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 6px;
}

.featured-doc-desig {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.featured-doc-dept {
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 20px;
}

.view-profile-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-crimson);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.25);
    transition: var(--transition-fast);
}

.view-profile-cta-btn:hover {
    background: var(--brand-crimson-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.35);
}

.view-profile-arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-crimson);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Doctor Carousel Thumbnails */
.doctor-carousel-wrap {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

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

.doctor-thumb-card {
    text-align: center;
    cursor: pointer;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: transparent;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.doctor-thumb-card.active,
.doctor-thumb-card:hover {
    background: #FFFBF7;
    border-color: #FED7AA;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.1);
}

.doctor-thumb-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    position: relative;
}

.doctor-thumb-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FF8A00 0%, #FF5500 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.doctor-thumb-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 2;
}

.doctor-thumb-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.96rem;
    color: #1B365D;
    line-height: 1.2;
    margin-bottom: 4px;
}

.doctor-thumb-dept {
    font-size: 0.76rem;
    color: #64748B;
    line-height: 1.3;
}

.carousel-nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #475569;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-nav-arrow.active,
.carousel-nav-arrow:hover {
    background: var(--brand-crimson);
    color: #ffffff;
}

/* ==========================================================================
   5. HEALTH PACKAGES SECTION (HIGH-IMPACT RED GRADIENT)
   ========================================================================== */
.health-packages-crimson-section {
    background: linear-gradient(135deg, #E63946 0%, #D90429 60%, #BA181B 100%);
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.health-packages-crimson-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pkg-main-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.pkg-desc-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
}

.pkg-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--brand-crimson-dark);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.pkg-view-more-btn:hover {
    background: #FFF1F2;
    color: var(--brand-crimson-deep);
    transform: translateY(-2px);
}

.pkg-view-arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-crimson);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Package Cards inside Crimson Carousel */
.pkg-card-white {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    color: var(--text-slate);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pkg-card-white.elevated {
    transform: translateY(-12px);
    border: 2.5px solid #ffffff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.pkg-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1B365D;
    text-align: center;
    margin-bottom: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pkg-card-img-wrap {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
}

.pkg-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pkg-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.pkg-checklist li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
    padding: 5px 0;
    border-bottom: 1px dashed #F1F5F9;
}

.pkg-check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFF3EB;
    color: #EA580C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pkg-read-more-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--brand-crimson);
    color: var(--brand-crimson);
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.pkg-read-more-btn:hover {
    background: var(--brand-crimson);
    color: #ffffff;
}

.pkg-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pkg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pkg-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #ffffff;
}

/* ==========================================================================
   6. PATIENT TESTIMONIALS & LATEST UPDATES
   ========================================================================== */
.testimonials-section {
    padding: 70px 0;
    background: #FAFAFA;
}

.section-hdr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.section-main-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1B365D;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.section-all-badge-btn {
    background: var(--brand-crimson);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.section-all-badge-btn:hover {
    background: var(--brand-crimson-dark);
    color: #ffffff;
}

/* Video Testimonial Card */
.video-testi-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition-smooth);
}

.video-testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.video-testi-thumb {
    position: relative;
    height: 160px;
    background: #1E293B;
    cursor: pointer;
}

.video-testi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.play-circle-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-crimson);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: var(--transition-fast);
}

.video-testi-thumb:hover .play-circle-icon {
    transform: scale(1.15);
    background: var(--brand-crimson-dark);
}

.video-testi-body {
    padding: 16px 20px;
}

.testi-text-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Latest Updates Cards */
.updates-section {
    padding: 70px 0;
    background: #ffffff;
}

.update-news-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: var(--transition-smooth);
}

.update-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.update-news-img {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

.update-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: #FEE2E2;
    color: var(--brand-crimson);
}

/* ==========================================================================
   7. GET IN TOUCH / NEWSLETTER BANNER
   ========================================================================== */
.get-in-touch-banner {
    background: linear-gradient(135deg, #E63946 0%, #D90429 100%);
    border-radius: var(--radius-pill);
    padding: 18px 36px;
    box-shadow: 0 14px 35px rgba(230, 57, 70, 0.3);
    margin: 40px 0;
    color: #ffffff;
}

.get-in-touch-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    white-space: nowrap;
}

.newsletter-pill-input-group {
    background: #ffffff;
    border-radius: var(--radius-pill);
    padding: 4px 6px 4px 20px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.newsletter-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.88rem;
    color: var(--text-slate);
}

.newsletter-submit-btn {
    border-radius: var(--radius-pill);
    background: var(--brand-crimson);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-submit-btn:hover {
    background: var(--brand-crimson-dark);
}

/* ==========================================================================
   7.1. DMR GALLERY PAGE STYLES (MATCHING REFERENCE DESIGN)
   ========================================================================== */

.dmr-gallery-page-wrapper {
    background-color: #ffffff;
    padding: 30px 0 80px;
    min-height: 80vh;
}

.dmr-gallery-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin: 20px 0 32px;
    letter-spacing: -0.5px;
}

.dmr-gallery-page-title strong {
    color: #111827;
    font-weight: 800;
}

.dmr-gallery-page-title span {
    color: #E63946;
    font-weight: 800;
}

/* Horizontal Scrollable Tabs Bar */
.dmr-gallery-nav-bar {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 auto 36px;
    max-width: 1320px;
    width: 100%;
}

.dmr-gallery-nav-arrow {
    background: transparent;
    border: none;
    color: #E63946;
    font-size: 1.1rem;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.dmr-gallery-nav-arrow:hover {
    background: #FEE2E2;
    transform: scale(1.1);
}

.dmr-gallery-nav-track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    gap: 4px;
    padding: 6px 4px;
    flex-grow: 1;
}

.dmr-gallery-nav-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.dmr-gallery-tab-item {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    padding: 10px 18px;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 4px 4px 0 0;
    display: inline-block;
}

.dmr-gallery-tab-item:hover {
    color: #E63946;
    background: #FFF5F5;
}

.dmr-gallery-tab-item.active {
    color: #E63946;
    font-weight: 800;
    border-bottom: 3px solid #E63946;
}

/* Category Sections & Subheaders */
.dmr-gallery-category-block {
    margin-bottom: 42px;
}

.dmr-gallery-sec-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
}

/* 5-Column Grid */
.dmr-gallery-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .dmr-gallery-grid-5 {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .dmr-gallery-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .dmr-gallery-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Thumbnail Photo Card */
.dmr-gallery-thumb-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #0F172A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.dmr-gallery-thumb-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.dmr-gallery-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dmr-gallery-thumb-card:hover img {
    transform: scale(1.08);
}

.dmr-gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.dmr-gallery-thumb-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #E63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transform: scale(0.8);
    transition: transform 0.25s ease;
}

.dmr-gallery-thumb-card:hover .dmr-gallery-thumb-icon {
    transform: scale(1);
}

/* Load More Button */
.dmr-gallery-load-more-btn {
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 10px 36px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    margin: 20px auto 0;
}

.dmr-gallery-load-more-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.45);
    color: #ffffff;
}

/* Enhanced Lightbox Modal */
.dmr-lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(12px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dmr-lightbox-modal.show {
    opacity: 1;
}

.dmr-lightbox-inner {
    max-width: 1080px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dmr-lightbox-media-wrap {
    position: relative;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    background: #000;
}

.dmr-lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
    object-fit: contain;
}

.dmr-lightbox-info-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    color: #ffffff;
}

.dmr-lightbox-caption {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.dmr-lightbox-category {
    font-size: 0.84rem;
    color: #94A3B8;
}

.dmr-lightbox-counter {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 0.8rem;
    color: #E2E8F0;
}

.dmr-lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dmr-lightbox-close:hover {
    background: #E63946;
}

.dmr-lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dmr-lightbox-nav-btn:hover {
    background: #E63946;
    transform: translateY(-50%) scale(1.1);
}

.dmr-lightbox-prev {
    left: -64px;
}

.dmr-lightbox-next {
    right: -64px;
}

@media (max-width: 1200px) {
    .dmr-lightbox-prev { left: 12px; }
    .dmr-lightbox-next { right: 12px; }
}

/* ==========================================================================
   7.2. DMR PATIENT GUIDE & INFORMATIONAL PAGES STYLES
   ========================================================================== */

.dmr-guide-page-wrapper {
    background-color: #ffffff;
    padding: 30px 0 90px;
    min-height: 80vh;
}

.dmr-guide-hero-banner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 36px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    background: #0F172A;
}

.dmr-guide-hero-banner img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.dmr-guide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    margin: 15px 0 28px;
    letter-spacing: -0.5px;
}

.dmr-guide-title strong {
    color: #111827;
    font-weight: 800;
}

.dmr-guide-title span {
    color: #E63946;
    font-weight: 800;
}

.dmr-guide-nav-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.dmr-guide-nav-tab {
    padding: 8px 22px;
    border-radius: 100px;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.dmr-guide-nav-tab:hover {
    border-color: #CBD5E1;
    color: #E63946;
    background: #FFF5F5;
    transform: translateY(-1px);
}

.dmr-guide-nav-tab.active {
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}

.dmr-guide-content-box {
    max-width: 1060px;
    margin: 0 auto;
}

.dmr-guide-lead-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.dmr-guide-sec-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 28px 0 16px;
    display: block;
}

.dmr-guide-check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 28px;
}

.dmr-guide-check-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.65;
}

.dmr-guide-check-icon {
    position: absolute;
    left: 0;
    top: 2px;
    color: #E63946;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.dmr-guide-val-item {
    margin-bottom: 14px;
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.65;
}

.dmr-guide-val-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #111827;
}

/* Pharmacy Store Column */
.dmr-pharmacy-img-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    background: #0F172A;
    aspect-ratio: 4 / 3;
}

.dmr-pharmacy-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Director Image Card */
.dmr-director-img-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dmr-director-img-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 4.8;
}

/* ==========================================================================
   8. FOOTER STYLES (MATCHING REFERENCE DESIGN)
   ========================================================================== */

.dmr-footer-wrapper {
    position: relative;
    background-color: #ECE7DC;
    margin-top: 60px;
}

/* Floating "Get in touch" Newsletter Banner */
.dmr-touch-banner {
    max-width: 1320px;
    width: 95%;
    margin: -50px auto 0;
    background: linear-gradient(135deg, #FF4500 0%, #E63946 50%, #C9182B 100%);
    border-radius: 28px 80px 28px 80px;
    padding: 36px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 16px 36px rgba(230, 57, 70, 0.28);
    position: relative;
    z-index: 10;
}

@media (max-width: 991px) {
    .dmr-touch-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 28px;
        border-radius: 24px;
        margin-top: -35px;
    }
}

.dmr-touch-banner__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

.dmr-touch-form {
    width: 480px;
    max-width: 100%;
}

.dmr-touch-input-group {
    background: #ffffff;
    border-radius: 100px;
    padding: 6px 6px 6px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.dmr-touch-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    color: #1E293B;
    width: 100%;
    padding-right: 12px;
}

.dmr-touch-input::placeholder {
    color: #94A3B8;
}

.dmr-touch-submit {
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 10px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.dmr-touch-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
}

/* Main Footer Body */
.dmr-main-footer {
    padding: 70px 0 30px;
    color: #475569;
    font-size: 0.88rem;
}

.dmr-footer-container {
    max-width: 1320px;
    width: 95%;
    margin: 0 auto;
}

.dmr-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 1100px) {
    .dmr-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 650px) {
    .dmr-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Brand Column */
.dmr-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.dmr-footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
}

.dmr-footer-brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #E63946;
    line-height: 1.15;
}

.dmr-footer-brand-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Location and Contact Items */
.dmr-footer-location-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.84rem;
    line-height: 1.5;
}

.dmr-footer-location-icon {
    font-size: 1.25rem;
    color: #475569;
    flex-shrink: 0;
    margin-top: 2px;
}

.dmr-footer-loc-name {
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 3px;
}

.dmr-footer-loc-desc {
    color: #64748B;
}

/* Column Headings */
.dmr-footer-col-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #E63946;
    margin-bottom: 24px;
}

/* Contact Column Items */
.dmr-footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.dmr-footer-contact-icon {
    font-size: 1.2rem;
    color: #475569;
    flex-shrink: 0;
    margin-top: 2px;
}

.dmr-footer-contact-lbl {
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 3px;
}

.dmr-footer-contact-sub {
    font-size: 0.8rem;
    color: #64748B;
}

.dmr-footer-contact-val {
    color: #334155;
    font-weight: 600;
}

/* Links List (About) */
.dmr-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dmr-footer-links-list li {
    margin-bottom: 12px;
}

.dmr-footer-links-list a {
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.dmr-footer-links-list a:hover {
    color: #E63946;
    transform: translateX(4px);
}

/* App & Payment Column */
.dmr-app-store-row {
    display: flex;
    gap: 10px;
    margin: 14px 0 24px;
    flex-wrap: wrap;
}

.dmr-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.76rem;
    transition: transform 0.2s ease;
}

.dmr-store-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.dmr-store-btn i {
    font-size: 1.4rem;
}

.dmr-store-btn-text span {
    display: block;
    font-size: 0.62rem;
    color: #94A3B8;
    text-transform: uppercase;
    line-height: 1;
}

.dmr-store-btn-text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Payment Badges */
.dmr-payment-badges-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.dmr-pay-badge {
    background: #ffffff;
    border: 1px solid #D8D2C2;
    border-radius: 6px;
    padding: 6px 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.dmr-pay-badge--visa {
    color: #1A1F71;
    font-style: italic;
}

.dmr-pay-badge--mastercard {
    color: #EB001B;
}

.dmr-pay-badge--maestro {
    color: #00A2E5;
}

.dmr-pay-badge--amex {
    color: #0077A6;
}

/* Footer Bottom Bar */
.dmr-footer-bottom {
    border-top: 1px solid #D8D2C2;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: #64748B;
}

.dmr-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dmr-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #B8B09F;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: transparent;
}

.dmr-social-btn:hover {
    background: #E63946;
    color: #ffffff;
    border-color: #E63946;
    transform: translateY(-2px);
}

/* Sticky Emergency Floating Badge */
.floating-emergency-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--brand-crimson);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition-fast);
}

.floating-emergency-badge:hover {
    background: var(--brand-crimson-dark);
    color: #ffffff;
    transform: scale(1.05);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

/* ==========================================================================
   9. MOBILE RESPONSIVE ENHANCEMENTS (MATCHING MOBILE APP LAYOUT)
   ========================================================================== */

.dmr-mobile-hero-emergency {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
    z-index: 10;
    transition: transform 0.2s ease;
}

.dmr-mobile-hero-emergency:hover {
    transform: scale(1.04);
    color: #ffffff;
}

.dmr-pulse-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@media (max-width: 991px) {
    /* Top Header Mobile Spacing */
    .top-branding-bar {
        padding: 10px 0 6px;
    }
    
    .brand-title {
        font-size: 1.25rem !important;
    }

    /* Hero Section Mobile Tweaks */
    .dmr-hero {
        padding: 20px 0 35px;
    }

    .dmr-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .dmr-city {
        color: #E63946 !important;
        font-size: 1.75rem !important;
        font-weight: 800 !important;
        margin-bottom: 2px !important;
    }

    .dmr-h1 {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        color: #1E293B !important;
        margin-bottom: 18px !important;
    }

    /* Search Bar Mobile */
    .dmr-search-bar {
        width: 100% !important;
        background: #ffffff;
        border-radius: 50px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
        border: 1px solid #E2E8F0;
        padding: 4px 4px 4px 16px;
        margin-bottom: 16px;
    }

    .dmr-search-bar__input {
        font-size: 0.9rem;
    }

    .dmr-search-bar__btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
        color: #ffffff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* CTA Row */
    .dmr-cta-row {
        margin-bottom: 20px;
        display: flex;
        gap: 10px;
    }

    .dmr-cta--solid {
        background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
        border-radius: 50px;
        padding: 10px 22px;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
    }

    /* Mobile 3 Action Pill Cards */
    .dmr-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }

    .dmr-card {
        width: 100%;
        border-radius: 50px !important;
        padding: 12px 20px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
        display: flex;
        align-items: center;
        gap: 16px;
        background: #ffffff !important;
        border: 1px solid #F1F5F9 !important;
        text-decoration: none;
        transform: none !important;
    }

    .dmr-card__icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem !important;
    }

    .dmr-card span {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 1.05rem;
        color: #0F172A;
    }

    /* Hospital Exterior Image Card */
    .dmr-hero-img {
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .dmr-hero-img img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        display: block;
    }
}

/* ==========================================================================
   10. MOBILE LEFT DRAWER & RIGHT FLOATING MENU (MATCHING BENCHMARK)
   ========================================================================== */

/* Left Drawer Offcanvas (Screenshot 1) */
.dmr-left-drawer-offcanvas {
    width: 78% !important;
    max-width: 320px !important;
    border: none !important;
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.16) !important;
    background: #ffffff !important;
}

.dmr-left-drawer-header {
    padding: 24px 20px 10px;
    display: flex;
    justify-content: flex-end;
}

.dmr-drawer-close-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #93C5FD;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dmr-drawer-close-circle:hover {
    background: #DBEAFE;
    transform: scale(1.06);
}

.dmr-left-drawer-body {
    padding: 10px 24px 30px !important;
}

.dmr-left-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dmr-left-drawer-menu li a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.06rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.dmr-left-drawer-menu li a:hover {
    color: #E63946;
}

/* Left & Right Mobile Header Burger Buttons */
.dmr-mobile-left-burger-btn {
    background: transparent;
    border: none;
    color: #E63946;
    font-size: 1.85rem;
    padding: 0 4px;
    line-height: 1;
    cursor: pointer;
}

.dmr-mobile-right-burger-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #FCA5A5;
    background: #FFF5F5;
    color: #E63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.dmr-mobile-right-burger-btn:hover,
.dmr-mobile-right-burger-btn:focus {
    background: #FEE2E2;
    border-color: #E63946;
    color: #E63946;
}

/* Right Floating Menu Card (Screenshot 2) */
.dmr-mobile-right-nav-card {
    width: 290px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    padding: 14px 12px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    margin-top: 10px !important;
}

.dmr-mobile-nav-accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dmr-mobile-nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1E293B;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    display: block;
    transition: all 0.2s ease;
}

.dmr-mobile-nav-link:hover,
.dmr-mobile-nav-link.active {
    color: #E63946;
    background: #FFF5F5;
}

.dmr-mobile-nav-accordion-item {
    border: none;
}

.dmr-mobile-nav-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1E293B;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dmr-mobile-nav-acc-btn i {
    font-size: 0.8rem;
    color: #64748B;
    transition: transform 0.2s ease;
}

.dmr-mobile-nav-acc-btn:not(.collapsed) {
    color: #E63946;
    background: #FFF5F5;
}

.dmr-mobile-nav-acc-btn:not(.collapsed) i {
    transform: rotate(180deg);
    color: #E63946;
}

.dmr-mobile-nav-acc-body {
    padding: 6px 12px 10px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dmr-mobile-nav-acc-body a {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dmr-mobile-nav-acc-body a:hover {
    color: #E63946;
}

/* ==========================================================================
   11. CONTACT US PAGE (MATCHING BENCHMARK LAYOUT)
   ========================================================================== */

.dmr-contact-page-wrapper {
    background-color: #ffffff;
    min-height: 80vh;
    padding: 30px 0 60px;
}

.dmr-contact-outer-card {
    background-color: #F8FAFC;
    border-radius: 36px;
    padding: 44px 48px;
    border: 1px solid #E2E8F0;
}

@media (max-width: 991px) {
    .dmr-contact-outer-card {
        padding: 28px 20px;
        border-radius: 24px;
    }
}

.dmr-contact-sec-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #111827;
}

.dmr-contact-branch-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.08rem;
    color: #1E293B;
    margin-bottom: 8px;
}

.dmr-contact-info-list {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
}

.dmr-contact-info-list strong {
    color: #1E293B;
}

.dmr-contact-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #CBD5E1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.dmr-contact-social-icon:hover {
    background: #E63946;
    color: #ffffff;
    border-color: #E63946;
    transform: translateY(-2px);
}

/* Elevated Form Card (Right Column) */
.dmr-contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 34px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
    .dmr-contact-form-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
}

.dmr-contact-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.dmr-contact-input {
    background-color: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 11px 16px !important;
    font-size: 0.92rem !important;
    color: #1E293B !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.2s ease !important;
}

.dmr-contact-input:focus {
    background-color: #ffffff !important;
    border-color: #E63946 !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15) !important;
    outline: none !important;
}

.dmr-contact-input::placeholder {
    color: #94A3B8;
    font-size: 0.88rem;
}

.dmr-contact-submit-btn {
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
    transition: all 0.2s ease;
    display: inline-block;
}

.dmr-contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.45);
    color: #ffffff;
}

/* Map Cards */
.dmr-map-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.dmr-map-header {
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    background: #FAFAFA;
}

.dmr-map-frame-wrap {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ==========================================================================
   12. PATIENT & EMR PORTAL PAGE STYLES
   ========================================================================== */

.dmr-portal-page-wrapper {
    background-color: #ffffff;
    min-height: 80vh;
}

.portal-auth-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 40px;
}

.portal-auth-tabs-nav {
    background: #F1F5F9;
    padding: 6px;
    border-radius: 50px;
    display: flex;
    gap: 4px;
}

.portal-auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #64748B;
    transition: all 0.2s ease;
    cursor: pointer;
}

.portal-auth-tab-btn.active {
    background: #ffffff;
    color: #E63946;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.portal-input-group-text {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
    color: #64748B;
}

.portal-form-control {
    border-color: #CBD5E1;
    padding: 11px 14px;
    font-size: 0.92rem;
    border-radius: 10px;
    background-color: #ffffff;
}

.portal-form-control:focus {
    border-color: #E63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.btn-portal-submit {
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    border: none;
    padding: 13px 24px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}

.btn-portal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.45);
    color: #ffffff;
}

/* Post Login Patient Dashboard */
.patient-dash-header {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.patient-avatar-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0369A1;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.report-card-header {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

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

.test-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-verified {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.badge-pending {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.badge-processing {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

/* ==========================================================================
   13. POP-OFF MODAL ADVANCED ANIMATIONS & INTERACTIVITY
   ========================================================================== */

/* Glassmorphism Backdrop */
.modal-backdrop.show {
    opacity: 0.65 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: #0B132B !important;
    z-index: 1050 !important;
}

/* Modal Dialog Scale & Spring Transition */
.dmr-animated-modal {
    z-index: 1060 !important;
}

.dmr-animated-modal .modal-dialog {
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
    pointer-events: auto !important;
}

.dmr-animated-modal.show .modal-dialog {
    transform: scale(1) translateY(0) !important;
}

.dmr-popoff-card {
    background-color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#patientLoginModal .modal-header {
    background: #ffffff !important;
    border-bottom: none !important;
}

#loginModalTabs .nav-link {
    color: #64748B;
    background: transparent;
    transition: all 0.2s ease;
    border: none;
}

#loginModalTabs .nav-link.active {
    color: #E63946 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Tab Switch Slide & Fade */
#loginModalTabsContent .tab-pane {
    animation: dmrTabFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dmrTabFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Button Pulse Effect */
.dmr-btn-pulse {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.dmr-btn-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.45) !important;
}

.dmr-btn-pulse:active {
    transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   14. FULLSCREEN LOGO ANIMATION PRELOADER (NO BACKGROUND / SEAMLESS BLEND)
   ========================================================================== */

.dmr-site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #FFFFFF 0%, #FAFBFC 60%, #F1F5F9 100%);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.55s ease;
    overflow: hidden;
}

.dmr-site-preloader.loaded {
    opacity: 0 !important;
    transform: scale(1.04);
    filter: blur(6px);
    visibility: hidden !important;
    pointer-events: none !important;
}

.dmr-preloader-ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, rgba(255, 69, 0, 0.03) 45%, transparent 70%);
    pointer-events: none;
    animation: dmrAmbientBreath 3.5s ease-in-out infinite alternate;
}

@keyframes dmrAmbientBreath {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.dmr-preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 360px;
    padding: 20px;
    position: relative;
    z-index: 2;
    animation: dmrPreloaderPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dmrPreloaderPop {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.dmr-preloader-video-wrap {
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 12px;
    animation: dmrFloatLogo 3s ease-in-out infinite alternate;
}

@keyframes dmrFloatLogo {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-6px);
    }
}

.dmr-preloader-halo {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    animation: dmrHaloPulse 2.5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes dmrHaloPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

.dmr-preloader-canvas {
    width: 190px;
    height: 190px;
    object-fit: contain;
    background: transparent !important;
    pointer-events: none;
    border: none !important;
    outline: none !important;
}

.dmr-preloader-brand-box {
    margin-bottom: 14px;
}

.dmr-preloader-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1B365D;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.dmr-preloader-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.92rem;
    color: #64748B;
    letter-spacing: 0.5px;
}

.dmr-preloader-tagline span {
    color: #E63946;
    font-weight: 700;
}

.dmr-preloader-progress-bar {
    width: 130px;
    height: 3px;
    background: rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.dmr-preloader-progress-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #FF4500 0%, #E63946 50%, #0284C7 100%);
    border-radius: 10px;
    animation: dmrPreloaderBar 1.2s infinite cubic-bezier(0.65, 0, 0.35, 1);
    transform-origin: left center;
}

@keyframes dmrPreloaderBar {
    0% {
        transform: scaleX(0);
    }
    50% {
        transform: scaleX(0.75);
    }
    100% {
        transform: scaleX(1);
    }
}

/* ==========================================================================
   15. FACILITIES PAGE (EXACT BENCHMARK 4-COLUMN CARDS & SEARCH)
   ========================================================================== */

.dmr-facilities-page-wrapper {
    background-color: #F8FAFC;
    min-height: 80vh;
}

.dmr-facilities-search-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    padding: 10px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.facility-cat-btn {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-cat-btn:hover {
    background: #F1F5F9;
    color: #1B365D;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.facility-cat-btn.active {
    background: #1B365D !important;
    color: #ffffff !important;
    border-color: #1B365D !important;
    box-shadow: 0 4px 14px rgba(27, 54, 93, 0.25);
    transform: translateY(-2px);
}

.dmr-facility-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.dmr-facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(230, 57, 70, 0.35);
}

.dmr-facility-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #F1F5F9;
}

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

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

.dmr-facility-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 19, 43, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dmr-facility-card:hover .dmr-facility-img-overlay {
    opacity: 1;
}

.dmr-facility-body {
    padding: 14px 8px 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.dmr-facility-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B365D;
    line-height: 1.35;
    margin: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.dmr-facility-card:hover .dmr-facility-title {
    color: #E63946;
}

/* ==========================================================================
   16. FACILITY DETAIL PAGE (EXACT BENCHMARK 2-COL HERO, CHECKED POINTS, 5-GRID & PILL ACTIONS)
   ========================================================================== */

.dmr-facility-detail-page-wrapper {
    background-color: #F8FAFC;
    min-height: 85vh;
}

.dmr-facility-featured-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

.dmr-facility-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dmr-facility-lead-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #334155;
    font-weight: 500;
    text-align: justify;
    margin-bottom: 0;
}

.dmr-facility-points-list li {
    font-family: 'Outfit', sans-serif;
    font-size: 0.90rem;
    line-height: 1.65;
    color: #475569;
    font-weight: 400;
}

.dmr-check-icon-wrap {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.dmr-check-icon-wrap i {
    stroke-width: 1.5;
}

.dmr-facility-gallery-section {
    width: 100%;
}

.dmr-col-5 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 576px) {
    .dmr-col-5 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 992px) {
    .dmr-col-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.dmr-facility-thumb-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dmr-facility-thumb-wrap:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(230, 57, 70, 0.35);
}

.dmr-facility-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dmr-facility-thumb-wrap:hover .dmr-facility-thumb-img {
    transform: scale(1.08);
}

.dmr-facility-nav-box {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #E2E8F0;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.dmr-nav-pill-btn {
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 30px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dmr-nav-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.25);
}

/* ====================================================
   SECTION 17: OPD DOCTORS & CONSULTANTS DIRECTORY (website/opd-doctor.php)
   ==================================================== */

.dmr-consultants-page-wrapper {
    background-color: #F8FAFC;
    min-height: 85vh;
}

.dmr-consultants-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.dmr-doc-search-card {
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 8px 16px;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .dmr-doc-search-card {
        border-radius: 20px;
        padding: 16px;
    }
}

.dmr-doc-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.dmr-doc-input-icon {
    position: absolute;
    left: 14px;
    color: #E63946;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
}

.dmr-doc-select,
.dmr-doc-input {
    border: 1px solid transparent !important;
    background-color: #F8FAFC !important;
    border-radius: 30px !important;
    padding-left: 40px !important;
    padding-right: 16px !important;
    height: 48px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    transition: all 0.2s ease !important;
}

.dmr-doc-select:focus,
.dmr-doc-input:focus {
    background-color: #ffffff !important;
    border-color: #E63946 !important;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12) !important;
}

.dmr-doc-search-btn {
    border-radius: 30px !important;
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    height: 48px !important;
    padding: 0 28px !important;
    transition: all 0.25s ease !important;
}

.dmr-doc-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35) !important;
}

/* Horizontal Specialty Carousel / Tabs Bar */
.dmr-specialty-bar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.dmr-tab-nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    color: #E63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.dmr-tab-nav-arrow:hover {
    background: #E63946;
    color: #ffffff;
    border-color: #E63946;
}

.dmr-specialty-tabs-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 4px;
    width: 100%;
}

.dmr-specialty-tabs-track::-webkit-scrollbar {
    display: none;
}

.dmr-specialty-pill-tab {
    white-space: nowrap;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    color: #475569;
    font-family: 'Outfit', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.dmr-specialty-pill-tab:hover {
    color: #E63946;
    border-color: rgba(230, 57, 70, 0.4);
    background: #FFF5F5;
}

.dmr-specialty-pill-tab.active {
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    border-color: #E63946;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}

/* 4-Column Doctor Cards */
.dmr-doc-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.dmr-doc-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dmr-doc-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 57, 70, 0.3);
}

/* Warm Sunset Orange Backdrop with Signature Stylized Floral Petal Watermark */
.dmr-doc-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px 18px 0 0;
    background: #F97316 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cdefs%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23FB923C'/%3E%3Cstop offset='35%25' stop-color='%23F97316'/%3E%3Cstop offset='75%25' stop-color='%23EA580C'/%3E%3Cstop offset='100%25' stop-color='%23C2410C'/%3E%3C/linearGradient%3E%3ClinearGradient id='petalGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23C2410C' stop-opacity='0.62'/%3E%3Cstop offset='100%25' stop-color='%239A3412' stop-opacity='0.42'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='500' height='500' fill='url(%23bgGrad)'/%3E%3Cg transform='translate(45, 230)'%3E%3Cpath d='M 0 0 C -30 -90, -15 -180, 25 -230 C 85 -170, 65 -75, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 85 -65, 190 -75, 275 -40 C 210 25, 105 15, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 130 -10, 260 45, 345 130 C 245 155, 130 75, 0 0 Z' fill='url(%23petalGrad)' opacity='0.9'/%3E%3Cpath d='M 0 0 C 65 75, 150 170, 195 255 C 95 235, 45 130, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C -55 65, -95 150, -105 235 C -140 150, -95 65, 0 0 Z' fill='url(%23petalGrad)' opacity='0.85'/%3E%3Cpath d='M 0 0 C -85 -20, -170 -10, -225 25 C -180 -65, -85 -45, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Ccircle cx='0' cy='0' r='56' fill='%23EA580C'/%3E%3Ccircle cx='0' cy='0' r='44' fill='%23FB923C' opacity='0.95'/%3E%3Ccircle cx='0' cy='0' r='28' fill='%23FED7AA' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E") center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dmr-doc-card-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.dmr-doc-card:hover .dmr-doc-card-img {
    transform: scale(1.05);
}

.dmr-doc-book-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF4500 0%, #E63946 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dmr-doc-card:hover .dmr-doc-book-badge {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
}

.dmr-doc-card-body {
    padding: 14px 8px 6px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dmr-doc-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1B365D;
    margin-bottom: 2px;
    line-height: 1.3;
}

.dmr-doc-card-qual {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 4px;
    line-height: 1.3;
}

.dmr-doc-card-desig {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dmr-doc-card-dept {
    font-size: 0.75rem;
    color: #94A3B8;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 36px;
}

.dmr-doc-arrow-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E63946;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
    transition: all 0.25s ease;
}

.dmr-doc-card:hover .dmr-doc-arrow-btn {
    background: #FF4500;
    transform: scale(1.12);
}

/* ====================================================
   SECTION 18: DOCTOR DETAILS PAGE (website/doctor-detail.php)
   ==================================================== */

.dmr-doctor-detail-page-wrapper {
    background-color: #F8FAFC;
    min-height: 85vh;
}

.dmr-doctor-detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.dmr-doctor-detail-img-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    background: #F97316 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cdefs%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23FB923C'/%3E%3Cstop offset='35%25' stop-color='%23F97316'/%3E%3Cstop offset='75%25' stop-color='%23EA580C'/%3E%3Cstop offset='100%25' stop-color='%23C2410C'/%3E%3C/linearGradient%3E%3ClinearGradient id='petalGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23C2410C' stop-opacity='0.62'/%3E%3Cstop offset='100%25' stop-color='%239A3412' stop-opacity='0.42'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='500' height='500' fill='url(%23bgGrad)'/%3E%3Cg transform='translate(45, 230)'%3E%3Cpath d='M 0 0 C -30 -90, -15 -180, 25 -230 C 85 -170, 65 -75, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 85 -65, 190 -75, 275 -40 C 210 25, 105 15, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C 130 -10, 260 45, 345 130 C 245 155, 130 75, 0 0 Z' fill='url(%23petalGrad)' opacity='0.9'/%3E%3Cpath d='M 0 0 C 65 75, 150 170, 195 255 C 95 235, 45 130, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Cpath d='M 0 0 C -55 65, -95 150, -105 235 C -140 150, -95 65, 0 0 Z' fill='url(%23petalGrad)' opacity='0.85'/%3E%3Cpath d='M 0 0 C -85 -20, -170 -10, -225 25 C -180 -65, -85 -45, 0 0 Z' fill='url(%23petalGrad)'/%3E%3Ccircle cx='0' cy='0' r='56' fill='%23EA580C'/%3E%3Ccircle cx='0' cy='0' r='44' fill='%23FB923C' opacity='0.95'/%3E%3Ccircle cx='0' cy='0' r='28' fill='%23FED7AA' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E") center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(255, 87, 34, 0.22);
}

.dmr-doctor-detail-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.dmr-doctor-detail-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1B365D;
    line-height: 1.2;
    margin-bottom: 8px;
}

.dmr-doctor-detail-qual {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.dmr-doctor-detail-desig {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 18px;
}

.dmr-doctor-detail-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 26px;
}

.dmr-doc-feature-box {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 18px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.dmr-doc-feature-box:hover {
    border-color: rgba(230, 57, 70, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.dmr-doc-feature-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1B365D;
    min-width: 110px;
}

.dmr-doc-feature-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dmr-star-icon {
    color: #F59E0B;
    font-size: 1.1rem;
}




