/* ==========================================================================
   Kalyan Hospital - Master Stylesheet
   Modern, Responsive Healthcare Website Design
   ========================================================================== */

:root {
    --primary-red: #b31b1b;
    --primary-red-dark: #8e1414;
    --primary-red-light: #d62828;
    --secondary-dark: #1e293b;
    --secondary-slate: #334155;
    --accent-gold: #f59e0b;
    --text-main: #1f2937;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-floating: 0 12px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.25s ease;
    --font-sans: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red-dark);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font: inherit;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.site-main {
    min-height: calc(100vh - 450px);
    padding-bottom: 60px;
}

/* ==========================================================================
   HEADER SYSTEM: THREE DISTINCT LAYERS
   ========================================================================== */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* LAYER 1: Top Contact Bar */
.header-layer-1 {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
    padding: 7px 0;
}

.layer-1-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.layer-1-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-slate);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--primary-red);
}

.contact-icon {
    color: var(--primary-red);
    flex-shrink: 0;
}

.layer-1-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    transition: var(--transition);
}

.social-icon-link:hover {
    background-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-2px);
}

/* LAYER 2: Main Hospital Branding Bar */
.header-layer-2 {
    background-color: var(--primary-red);
    color: #ffffff;
    padding: 14px 0;
    position: relative;
}

.layer-2-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.branding-logos {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 1;
}

.brand-logo-img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 50%;
    background: transparent;
}

.nabh-logo-wrap {
    display: inline-flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 1;
}

.nabh-logo-img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 50%;
    background: transparent;
}

.branding-info {
    display: flex;
    align-items: center;
    gap: 32px;
}

.info-pill {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-icon {
    color: #ffffff;
    flex-shrink: 0;
    opacity: 0.95;
}

.pill-text {
    display: flex;
    flex-direction: column;
}

.pill-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.pill-desc {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

/* LAYER 3: Floating White Navigation Bar */
.nav-floating-wrapper {
    position: relative;
    width: 100%;
    margin-top: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1001;
}

.main-navbar {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    width: 100%;
}

.mobile-nav-header {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mobile-nav-brand img {
    height: 38px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-box {
    width: 26px;
    height: 20px;
    display: inline-block;
    position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 26px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.2s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -8px;
}

.hamburger-inner::after {
    content: '';
    bottom: -8px;
}

.nav-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto;
    padding: 0;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--primary-red);
    background-color: #fff1f2;
}

.dropdown-chevron {
    color: #64748b;
    transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--primary-red);
}

.mobile-submenu-toggle {
    display: none;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1002;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-treatments,
.dropdown-menu-location {
    max-height: 480px;
    overflow-y: auto;
    min-width: 310px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
    transition: var(--transition);
}

.dropdown-link:hover,
.dropdown-link.active {
    background-color: #fef2f2;
    color: var(--primary-red);
    padding-left: 22px;
}

/* Nested Dropdown */
.dropdown-item.has-nested {
    position: relative;
}

.nested-chevron {
    color: #94a3b8;
}

.nested-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background-color: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1003;
}

.dropdown-item.has-nested:hover > .nested-dropdown-menu,
.dropdown-item.has-nested:focus-within > .nested-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* CTA in Nav */
.nav-cta-container {
    margin-left: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn-appointment {
    background-color: #ffffff !important;
    color: var(--primary-red) !important;
    border: 1.5px solid var(--primary-red) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-appointment:hover {
    background-color: #ffffff !important;
    color: var(--primary-red-dark) !important;
    border-color: var(--primary-red-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(179, 27, 27, 0.2);
}

.btn-primary {
    background-color: #db261d !important;
    color: #ffffff !important;
    border: 1.5px solid #db261d !important;
    box-shadow: 0 4px 14px rgba(219, 38, 29, 0.25) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
}

.btn-primary:hover {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(219, 38, 29, 0.4) !important;
}

.btn-outline {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.btn-outline:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #db261d !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs-nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.8125rem;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: #94a3b8;
    margin-right: 8px;
}

.breadcrumb-item a {
    color: var(--secondary-slate);
}

.breadcrumb-item a:hover {
    color: var(--primary-red);
}

.breadcrumb-item.active {
    color: var(--primary-red);
    font-weight: 600;
}

/* ==========================================================================
   PAGE HERO & HEADERS
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 35%;
    background: radial-gradient(circle, rgba(179, 27, 27, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 680px;
}

/* ==========================================================================
   CONTENT SECTIONS & CARDS
   ========================================================================== */
.section {
    padding: 50px 0;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 750px;
    line-height: 1.65;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

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

.card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: var(--transition);
}

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

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 8px;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

/* Doctor Profile Cards */
.doctor-profile-card {
    display: flex;
    gap: 28px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.doctor-img-wrap {
    flex-shrink: 0;
    width: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #f1f5f9;
}

.doctor-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-details h2 {
    font-size: 1.6rem;
    color: var(--secondary-dark);
    margin-bottom: 4px;
}

.doctor-qualification {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.doctor-designation {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Forms */
.form-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(179, 27, 27, 0.12);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Emergency Helpline Strip */
.footer-emergency-strip {
    background-color: var(--primary-red);
    color: #ffffff;
    padding: 16px 0;
}

.emergency-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.emergency-col {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
}

.emergency-col a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.btn-emergency-cta {
    background-color: #ffffff;
    color: var(--primary-red);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.btn-emergency-cta:hover {
    background-color: #f8fafc;
    color: var(--primary-red-dark);
    transform: translateY(-1px);
}

/* Main Footer */
.footer-main {
    padding: 60px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.footer-logo-img {
    height: 42px;
    width: auto;
}

.footer-nabh-img {
    height: 42px;
    width: auto;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.83rem;
    color: #cbd5e1;
}

.footer-contact-row svg {
    color: var(--primary-red-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-row a {
    color: #e2e8f0;
}

.footer-contact-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #1e293b;
    color: #94a3b8;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.84rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Bottom Footer */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 22px 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-meta-note {
    color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .header-layer-2 {
        padding: 12px 0;
    }

    .branding-info {
        gap: 18px;
    }

    .nav-floating-wrapper {
        margin-top: 0;
    }

    .main-navbar {
        border-radius: 0;
        padding: 0;
        position: relative;
    }

    .mobile-nav-header {
        display: flex;
        padding: 12px 16px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu-container {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu-container.is-open {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        padding: 12px 18px;
        width: 100%;
    }

    .mobile-submenu-toggle {
        display: inline-flex;
        position: absolute;
        right: 12px;
        top: 10px;
        background: #f1f5f9;
        border: none;
        border-radius: 4px;
        padding: 6px;
        cursor: pointer;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #f8fafc;
        transform: none;
        visibility: visible;
        opacity: 1;
        display: none;
        padding: 4px 0;
    }

    .dropdown-menu.is-submenu-open {
        display: block;
    }

    .nested-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #f1f5f9;
        transform: none;
        visibility: visible;
        opacity: 1;
        display: none;
    }

    .nested-dropdown-menu.is-submenu-open {
        display: block;
    }

    .nav-cta-container {
        width: 100%;
        padding: 16px;
        margin: 0;
    }

    .nav-cta-container .btn {
        width: 100%;
    }

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

    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .layer-1-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .layer-2-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .branding-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .doctor-img-wrap {
        width: 100%;
        max-width: 260px;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

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

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

    .emergency-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* ==========================================================================
   MASTER SHARED HEADER ISOLATION & FULL-WIDTH RULES (High Specificity)
   Prevents Third-Party Framework / Bootstrap Resets from Breaking Header
   ========================================================================== */
.site-header {
    width: 100% !important;
    position: relative !important;
    z-index: 1000 !important;
    contain: layout style !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

.site-header,
.site-header * {
    box-sizing: border-box !important;
    font-family: var(--font-sans) !important;
}

.site-header ul, .site-header ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header a {
    text-decoration: none !important;
}

/* Layer 1: Top Contact Bar Stability */
.site-header .header-layer-1 {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
}

/* Layer 2: Main Hospital Branding Bar Stability */
.site-header .header-layer-2 {
    background-color: var(--primary-red) !important;
    padding: 14px 0 !important;
    position: relative !important;
    min-height: 86px !important;
    display: flex !important;
    align-items: center !important;
}

/* Layer 3: Full-Width White Navigation Bar - Moved Downward (No Negative Margin) */
.site-header .nav-floating-wrapper {
    width: 100% !important;
    margin-top: 0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    z-index: 1001 !important;
    min-height: 52px !important;
}

/* Image & SVG Rendering Lockdown (Prevents Tailwind / Framework shifts) */
.site-header img {
    display: inline-block !important;
    vertical-align: middle !important;
    max-width: 100% !important;
}

.site-header svg {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.site-header .brand-logo-link,
.site-header .nabh-logo-wrap {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.site-header .brand-logo-img {
    height: 58px !important;
    width: 58px !important;
    max-width: 58px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-header .nabh-logo-img {
    height: 58px !important;
    width: 58px !important;
    max-width: 58px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Full-Width Inner Container Across the Screen */
.site-header .nav-full-container,
.site-header .nav-floating-wrapper .container {
    width: 100% !important;
    max-width: 1820px !important;
    margin: 0 auto !important;
    padding: 0 clamp(16px, 1.8vw, 36px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header .main-navbar {
    width: 100% !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header .nav-menu-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin: 0 auto !important;
}

.site-header .nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important; /* STRICTLY PREVENT WRAPPING ON DESKTOP */
    gap: clamp(4px, 0.8vw, 16px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.site-header .nav-item {
    position: relative !important;
    list-style: none !important;
    flex-shrink: 0 !important;
}

.site-header .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 14px clamp(8px, 0.85vw, 16px) !important;
    font-size: clamp(0.83rem, 0.88vw, 0.90rem) !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    letter-spacing: 0.012em !important;
    background: transparent !important;
    transition: all 0.22s ease-in-out !important;
    -webkit-font-smoothing: antialiased !important;
}

.site-header .nav-link:hover {
    color: #b31b1b !important;
    background-color: #f8fafc !important;
}

.site-header .nav-item.active > .nav-link {
    color: #b31b1b !important;
    background-color: #fff1f2 !important;
    box-shadow: inset 0 0 0 1px rgba(179, 27, 27, 0.12) !important;
}

.site-header .dropdown-chevron {
    width: 13px !important;
    height: 13px !important;
    color: #64748b !important;
    transition: transform 0.22s ease, color 0.22s ease !important;
}

.site-header .nav-item:hover .dropdown-chevron,
.site-header .nav-item.active > .nav-link .dropdown-chevron {
    transform: rotate(180deg) !important;
    color: #b31b1b !important;
}

.site-header .dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 260px !important;
    background-color: #ffffff !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
    z-index: 1002 !important;
    list-style: none !important;
}

.site-header .dropdown-menu-treatments,
.site-header .dropdown-menu-location {
    max-height: 480px !important;
    overflow-y: auto !important;
    min-width: 310px !important;
}

.site-header .nav-item:hover > .dropdown-menu,
.site-header .nav-item:focus-within > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.site-header .dropdown-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 18px !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
}

.site-header .dropdown-link:hover,
.site-header .dropdown-link.active {
    background-color: #fef2f2 !important;
    color: #b31b1b !important;
    padding-left: 22px !important;
}

.site-header .nested-dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    min-width: 220px !important;
    background-color: #ffffff !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(10px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
    z-index: 1003 !important;
    list-style: none !important;
}

.site-header .dropdown-item.has-nested:hover > .nested-dropdown-menu,
.site-header .dropdown-item.has-nested:focus-within > .nested-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

.site-header .nav-cta-container {
    display: none !important;
}

.site-header .btn-appointment {
    background-color: #b31b1b !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px clamp(13px, 1vw, 20px) !important;
    font-size: clamp(0.82rem, 0.84vw, 0.865rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.015em !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(179, 27, 27, 0.25) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
}

.site-header .btn-appointment:hover {
    background-color: #8c1414 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(179, 27, 27, 0.35) !important;
}

/* Homepage Hero Alignment with Master Full-Width Header */
.kalyan-homepage .cs_hero_style_2 {
    height: auto !important;
    min-height: 640px !important;
    padding: 35px 0 35px 0 !important;
}

.kalyan-homepage .site-main {
    padding-bottom: 0 !important;
}

/* ==========================================================================
   COMPLETE MODERN MOBILE RESPONSIVE HEADER ENGINE (< 1024px)
   ========================================================================== */

/* Hide mobile-only components on desktop */
@media (min-width: 1025px) {
    .mobile-menu-backdrop,
    .mobile-nav-header,
    .mobile-submenu-toggle,
    .nav-item-appointment-cta {
        display: none !important;
    }
}

/* ==========================================================================
   CLEAN MOBILE NAVIGATION ENGINE (< 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* 1. Header Sticky Positioning */
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1050 !important;
        width: 100% !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    }

    /* 2. Layer 1: Compact Emergency / Contact Top Bar */
    .site-header .header-layer-1 {
        min-height: 36px !important;
        padding: 6px 14px !important;
        background-color: #f8fafc !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .site-header .layer-1-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    .site-header .layer-1-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
    .site-header .contact-email {
        display: none !important;
    }
    .site-header .contact-phone {
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    .site-header .contact-phone span {
        font-size: 0.74rem !important;
    }
    .site-header .layer-1-right {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .site-header .social-icon-link {
        width: 24px !important;
        height: 24px !important;
    }
    .site-header .social-icon-link svg {
        width: 12px !important;
        height: 12px !important;
    }

    /* 3. Layer 2: Hide large desktop Red branding block on mobile */
    .site-header .header-layer-2 {
        display: none !important;
    }

    /* 4. Layer 3: Floating wrapper transforms into Clean Sticky Mobile Header */
    .site-header .nav-floating-wrapper {
        margin-top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        min-height: 60px !important;
        background: #ffffff !important;
        position: relative !important;
    }
    .site-header .nav-full-container,
    .site-header .nav-floating-wrapper .container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .site-header .main-navbar {
        border-radius: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: block !important;
        position: relative !important;
        background: #ffffff !important;
    }

    /* 5. Mobile Nav Bar: Dual Logos on Left, Hamburger on Right */
    .site-header .mobile-nav-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        width: 100% !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid #f1f5f9 !important;
        box-sizing: border-box !important;
    }
    .site-header .mobile-nav-brand {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .site-header .mobile-brand-logos {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .site-header .mobile-brand-logo {
        height: 50px !important;
        width: 50px !important;
        max-height: 50px !important;
        max-width: 50px !important;
        object-fit: contain !important;
        border-radius: 50% !important;
        display: block !important;
        flex-shrink: 0 !important;
    }
    .site-header .mobile-nabh-logo {
        height: 44px !important;
        width: 44px !important;
        max-height: 44px !important;
        max-width: 44px !important;
        object-fit: contain !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* Completely hide any extra text or obsolete buttons */
    .site-header .mobile-brand-titles,
    .site-header .mobile-nav-actions,
    .site-header .mobile-action-btn,
    .site-header .home-nav-brand {
        display: none !important;
    }

    /* Pixel-Perfect Mobile Menu Toggle Button (Vector SVG + Bulletproof Fallback) */
    .site-header .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.2s ease !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        outline: none !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    .site-header .mobile-menu-toggle:hover,
    .site-header .mobile-menu-toggle:focus {
        background: #f8fafc !important;
        border-color: #94a3b8 !important;
    }
    .site-header .mobile-menu-toggle.is-active {
        background: #fee2e2 !important;
        border-color: #fca5a5 !important;
    }
    .site-header .mobile-menu-toggle .hamburger-icon {
        display: block !important;
        margin: auto !important;
        pointer-events: none !important;
        transition: transform 0.2s ease !important;
    }
    .site-header .mobile-menu-toggle .hamburger-icon-open {
        display: block !important;
    }
    .site-header .mobile-menu-toggle .hamburger-icon-close {
        display: none !important;
    }
    .site-header .mobile-menu-toggle.is-active .hamburger-icon-open {
        display: none !important;
    }
    .site-header .mobile-menu-toggle.is-active .hamburger-icon-close {
        display: block !important;
        stroke: #db261d !important;
    }

    /* Fallback CSS Hamburger (Guaranteed Centered, Zero Right Overflow) */
    .site-header .hamburger-box {
        width: 22px !important;
        height: 16px !important;
        position: relative !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }
    .site-header .hamburger-inner,
    .site-header .hamburger-inner::before,
    .site-header .hamburger-inner::after {
        width: 22px !important;
        height: 2.5px !important;
        background-color: #0f172a !important;
        border-radius: 2px !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        transition: transform 0.25s ease, opacity 0.2s ease !important;
    }
    .site-header .hamburger-inner {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    .site-header .hamburger-inner::before {
        content: '' !important;
        top: -6px !important;
    }
    .site-header .hamburger-inner::after {
        content: '' !important;
        bottom: -6px !important;
    }
    /* Animated X state for CSS fallback */
    .site-header .mobile-menu-toggle.is-active .hamburger-inner {
        transform: rotate(45deg) !important;
    }
    .site-header .mobile-menu-toggle.is-active .hamburger-inner::before {
        top: 0 !important;
        opacity: 0 !important;
    }
    .site-header .mobile-menu-toggle.is-active .hamburger-inner::after {
        bottom: 0 !important;
        transform: rotate(-90deg) !important;
    }

    /* 6. Backdrop Overlay (Below Header, Closes Menu On Tap) */
    .mobile-menu-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.5) !important;
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
        z-index: 1045 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.25s ease, visibility 0.25s ease !important;
    }
    .mobile-menu-backdrop.is-visible {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 7. Dropdown Menu Container (Full-Width, Starts Right Below Header Bar) */
    .site-header .nav-menu-container {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        z-index: 1050 !important;
        display: none !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
        border-top: 1px solid #e2e8f0 !important;
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .site-header .nav-menu-container.is-open {
        display: block !important;
    }
    body.mobile-nav-lock {
        overflow: hidden !important;
        touch-action: none !important;
    }

    /* 8. Menu Items List inside Dropdown */
    .site-header .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .site-header .nav-item {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .site-header .nav-link-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .site-header .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        text-decoration: none !important;
        flex: 1 !important;
        border-radius: 0 !important;
        transition: background-color 0.2s ease, color 0.2s ease !important;
    }
    .site-header .nav-link:hover,
    .site-header .nav-item.active > .nav-link,
    .site-header .nav-item.active > .nav-link-row > .nav-link {
        color: #db261d !important;
        background-color: #fff1f2 !important;
    }

    /* Mobile Submenu Accordion Toggle Button */
    .site-header .mobile-submenu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;
        color: #475569 !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-right: 12px !important;
        transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease !important;
    }
    .site-header .mobile-submenu-toggle.is-active,
    .site-header .nav-item.is-active-dropdown .mobile-submenu-toggle {
        transform: rotate(180deg) !important;
        color: #db261d !important;
        background: #fee2e2 !important;
    }
    .site-header .nav-link .dropdown-chevron {
        display: none !important;
    }

    /* Accordion Dropdown Submenu */
    .site-header .dropdown-menu {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 4px solid #db261d !important;
        background-color: #f8fafc !important;
        padding: 4px 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
        width: 100% !important;
    }
    .site-header .dropdown-menu.is-submenu-open {
        display: block !important;
    }
    .site-header .dropdown-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 11px 24px !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        color: #334155 !important;
        text-decoration: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        transition: all 0.2s ease !important;
    }
    .site-header .dropdown-link:hover,
    .site-header .dropdown-link.active {
        background-color: #fee2e2 !important;
        color: #db261d !important;
        padding-left: 28px !important;
    }

    /* Nested Dropdown inside Accordion */
    .site-header .nested-dropdown-menu {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 4px solid #b91c1c !important;
        background-color: #f1f5f9 !important;
        padding: 4px 0 !important;
    }
    .site-header .nested-dropdown-menu.is-submenu-open {
        display: block !important;
    }
    .site-header .nested-dropdown-menu .dropdown-link {
        padding-left: 36px !important;
    }

    /* Book Appointment Action Button in Menu */
    .site-header .nav-item-appointment-cta {
        padding: 16px 20px 24px 20px !important;
        border-bottom: none !important;
    }
    .site-header .nav-menu-btn-appointment {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 14px 20px !important;
        background: #db261d !important;
        color: #ffffff !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        text-align: center !important;
        box-shadow: 0 4px 14px rgba(219, 38, 29, 0.3) !important;
        transition: background-color 0.2s ease !important;
    }
    .site-header .nav-menu-btn-appointment:hover {
        background: #b91c1c !important;
        color: #ffffff !important;
    }

    .kalyan-homepage .cs_hero_style_2 {
        padding: 20px 0 20px 0 !important;
    }
}

/* Small mobile devices (screens <= 575px) */
@media (max-width: 575px) {
    .site-header .contact-phone.contact-old-patients {
        display: none !important;
    }
    .site-header .mobile-nav-header {
        padding: 8px 14px !important;
    }
    .site-header .mobile-brand-logo {
        height: 48px !important;
        width: 48px !important;
        max-height: 48px !important;
        max-width: 48px !important;
    }
    .site-header .mobile-nabh-logo {
        height: 42px !important;
        width: 42px !important;
        max-height: 42px !important;
        max-width: 42px !important;
    }
    .site-header .mobile-menu-toggle {
        width: 42px !important;
        height: 42px !important;
    }
}


/* ==========================================================================
   MASTER SHARED FOOTER PROTECTION & ISOLATION (Immune to Bootstrap / External Resets)
   ========================================================================== */
.site-footer {
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    font-family: var(--font-sans) !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}

.site-footer * {
    box-sizing: border-box !important;
}

.site-footer ul, .site-footer ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer a {
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.site-footer .footer-emergency-strip {
    background-color: #b31b1b !important;
    color: #ffffff !important;
    padding: 16px 0 !important;
}

.site-footer .emergency-strip-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

.site-footer .emergency-col {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.9rem !important;
}

.site-footer .emergency-col a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.site-footer .btn-emergency-cta {
    background-color: #ffffff !important;
    color: #b31b1b !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 9px 20px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.site-footer .btn-emergency-cta:hover {
    background-color: #f8fafc !important;
    color: #8c1414 !important;
    transform: translateY(-1px) !important;
}

.site-footer .footer-main {
    padding: 60px 0 40px 0 !important;
}

.site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 40px !important;
}

.site-footer .footer-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    background: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    width: fit-content !important;
}

.site-footer .footer-logo-img {
    height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
}

.site-footer .footer-nabh-img {
    height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
}

.site-footer .footer-tagline {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
}

.site-footer .footer-contact-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.site-footer .footer-contact-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 0.83rem !important;
    color: #cbd5e1 !important;
    margin-bottom: 0 !important;
}

.site-footer .footer-contact-row svg {
    color: #ef4444 !important;
    flex-shrink: 0 !important;
    margin-top: 3px !important;
}

.site-footer .footer-contact-row a {
    color: #e2e8f0 !important;
}

.site-footer .footer-contact-row a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.site-footer .footer-social-links {
    display: flex !important;
    gap: 10px !important;
}

.site-footer .footer-social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background-color: #1e293b !important;
    color: #94a3b8 !important;
    border-radius: 50% !important;
}

.site-footer .footer-social-links a:hover {
    background-color: #b31b1b !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.site-footer .footer-heading {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 18px !important;
    position: relative !important;
    padding-bottom: 8px !important;
}

.site-footer .footer-heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 32px !important;
    height: 2px !important;
    background-color: #b31b1b !important;
}

.site-footer .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.site-footer .footer-links a {
    color: #94a3b8 !important;
    font-size: 0.84rem !important;
    display: inline-block !important;
}

.site-footer .footer-links a:hover {
    color: #ffffff !important;
    padding-left: 4px !important;
}

.site-footer .footer-bottom {
    border-top: 1px solid #1e293b !important;
    padding: 22px 0 !important;
    font-size: 0.8125rem !important;
    color: #64748b !important;
}

.site-footer .footer-bottom-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.site-footer .footer-bottom-inner p {
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 640px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .site-footer .emergency-strip-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .site-footer .btn-emergency-cta {
        width: 100% !important;
        text-align: center !important;
    }
    .site-footer .footer-bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
    }
}


/* ==========================================================================
   HOMEPAGE ORTHOPEDIC SERVICES & TREATMENTS SECTION STYLING
   ========================================================================== */
.cs_service_section_2 {
    padding-bottom: 120px !important;
}

@media (max-width: 991px) {
    .cs_service_section_2 {
        padding-bottom: 70px !important;
    }
}

.cs_service_card_2 .cs_service_icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.cs_service_card_2 .cs_service_icon img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
}

@media (max-width: 575px) {
    .cs_service_card_2 .cs_service_icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }
    .cs_service_card_2 .cs_service_icon img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }
}


/* ==========================================================================
   HOMEPAGE WHY CHOOSE SECTION & ACCORDIONS PROFESSIONAL POLISH
   ========================================================================== */
.cs_whychoose_section_2 {
    padding: 95px 0 105px !important;
    margin-bottom: 40px !important;
}

@media (max-width: 991px) {
    .cs_whychoose_section_2 {
        padding: 60px 0 70px !important;
        margin-bottom: 25px !important;
    }
}

.cs_accordians_style_1 .cs_accordian {
    border-bottom: 1px solid rgba(134, 148, 167, 0.25) !important;
    padding-bottom: 8px !important;
}

.cs_accordians_style_1 .cs_accordian:last-child {
    border-bottom: none !important;
}

.cs_accordians_style_1 .cs_accordian .cs_accordian_icon {
    width: 44px !important;
    height: 44px !important;
    top: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cs_accordians_style_1 .cs_accordian:first-child .cs_accordian_icon {
    top: 14px !important;
}

.cs_accordians_style_1 .cs_accordian .cs_accordian_icon img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain !important;
}

.cs_accordians_style_1 .cs_accordian .cs_accordian_head {
    padding-block: 26px 20px !important;
    padding-inline: 62px 24px !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.cs_accordians_style_1 .cs_accordian:first-child .cs_accordian_head {
    padding-top: 16px !important;
}

.cs_accordians_style_1 .cs_accordian .cs_accordian_toggler {
    top: 34px !important;
}

.cs_accordians_style_1 .cs_accordian:first-child .cs_accordian_toggler {
    top: 24px !important;
}

.cs_accordians_style_1 .cs_accordian .cs_accordian_body {
    padding-inline-start: 62px !important;
    padding-bottom: 26px !important;
    font-size: 1.02rem !important;
    line-height: 1.8 !important;
    color: #475569 !important;
}

.cs_whychoose_section_2 .cs_faq_img {
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(226, 232, 240, 0.8) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.cs_whychoose_section_2 .cs_faq_img:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 22px 50px -10px rgba(15, 23, 42, 0.18), 0 0 1px 1px rgba(226, 232, 240, 0.8) !important;
}

@media (max-width: 575px) {
    .cs_accordians_style_1 .cs_accordian .cs_accordian_head {
        padding-inline: 46px 16px !important;
        font-size: 1.08rem !important;
    }
    .cs_accordians_style_1 .cs_accordian .cs_accordian_body {
        padding-inline-start: 46px !important;
        font-size: 0.94rem !important;
    }
    .cs_accordians_style_1 .cs_accordian .cs_accordian_icon {
        width: 32px !important;
        height: 32px !important;
    }
    .cs_accordians_style_1 .cs_accordian .cs_accordian_icon img {
        width: 26px !important;
        height: 26px !important;
    }
}


/* ==========================================================================
   HOMEPAGE SPECIALISTS / TEAM SECTION REDESIGN
   ========================================================================== */
.cs_team_section_2 {
    padding: 100px 0 110px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}

@media (max-width: 991px) {
    .cs_team_section_2 {
        padding: 60px 0 70px !important;
    }
}

.cs_specialist_card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.02) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.cs_specialist_card:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.14), 0 10px 15px -3px rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(179, 27, 27, 0.3) !important;
}

.cs_specialist_img_wrapper {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    background-color: #f1f5f9 !important;
    overflow: hidden !important;
}

.cs_specialist_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    transition: transform 0.5s ease-out !important;
}

.cs_specialist_card:hover .cs_specialist_img {
    transform: scale(1.03) !important;
}

.cs_specialist_tag {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 2 !important;
    background: rgba(179, 27, 27, 0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 5px 12px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.cs_specialist_tag.cs_tag_secondary {
    background: rgba(15, 23, 42, 0.88) !important;
}

.cs_specialist_body {
    padding: 22px 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
}

.cs_specialist_qual {
    display: inline-block !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #b31b1b !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 4px !important;
}

.cs_specialist_name {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.cs_specialist_name a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.cs_specialist_name a:hover {
    color: #b31b1b !important;
}

.cs_specialist_role {
    font-size: 0.865rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    min-height: 38px !important;
}

.cs_specialist_actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.cs_btn_appointment {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #b31b1b !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: background-color 0.22s ease, transform 0.22s ease !important;
    white-space: nowrap !important;
}

.cs_btn_appointment:hover {
    background: #8c1414 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.cs_btn_profile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    text-decoration: none !important;
    transition: all 0.22s ease !important;
    flex-shrink: 0 !important;
}

.cs_btn_profile:hover {
    background: #b31b1b !important;
    color: #ffffff !important;
    border-color: #b31b1b !important;
}

.cs_specialist_highlights {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 22px 0 28px !important;
}

.cs_specialist_highlight_item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 0.92rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

.cs_specialist_highlight_icon {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    color: #b31b1b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    flex-shrink: 0 !important;
}

@media (max-width: 575px) {
    .cs_specialist_img_wrapper {
        height: 280px !important;
    }
    .cs_specialist_role {
        min-height: auto !important;
    }
}


/* ==========================================================================
   HOMEPAGE GLOBAL SECTION PADDING & HARMONIZATION
   ========================================================================== */
.cs_about_style_2 {
    padding: 95px 0 100px !important;
}

.cs_service_section_2 {
    padding: 95px 0 100px !important;
}

.cs_whychoose_section_2 {
    padding: 95px 0 100px !important;
    margin-bottom: 0 !important;
}

.cs_work_section_1 {
    padding: 95px 0 100px !important;
    background: #ffffff !important;
}

.cs_team_section_2 {
    padding: 95px 0 100px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}

.cs_appointment_section {
    padding: 95px 0 115px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
    border-top: 1px solid #edf2f7;
}

@media (max-width: 991px) {
    .cs_about_style_2,
    .cs_service_section_2,
    .cs_whychoose_section_2,
    .cs_work_section_1,
    .cs_team_section_2,
    .cs_appointment_section {
        padding: 65px 0 70px !important;
    }
}

@media (max-width: 575px) {
    .cs_about_style_2,
    .cs_service_section_2,
    .cs_whychoose_section_2,
    .cs_work_section_1,
    .cs_team_section_2,
    .cs_appointment_section {
        padding: 50px 0 55px !important;
    }
}

/* ==========================================================================
   HOMEPAGE REDESIGNED BOOK AN APPOINTMENT SECTION
   ========================================================================== */
.kalyan-appointment-sidebar {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px #e2e8f0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.kalyan-sidebar-img-box {
    position: relative !important;
    height: 220px !important;
    overflow: hidden !important;
    background: #0f172a !important;
}

.kalyan-sidebar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.kalyan-appointment-sidebar:hover .kalyan-sidebar-img {
    transform: scale(1.04) !important;
}

.kalyan-sidebar-badge {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.kalyan-sidebar-content {
    padding: 26px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    flex: 1 !important;
}

.kalyan-helpline-box {
    background: linear-gradient(135deg, #b31b1b 0%, #8b0000 100%) !important;
    border-radius: 14px !important;
    padding: 20px 18px !important;
    color: #ffffff !important;
    text-align: center !important;
    box-shadow: 0 10px 24px -5px rgba(179, 27, 27, 0.35) !important;
}

.kalyan-helpline-label {
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
}

.kalyan-helpline-phone {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 4px !important;
    letter-spacing: 0.3px !important;
    transition: opacity 0.2s ease !important;
}

.kalyan-helpline-phone:hover {
    color: #ffeedd !important;
    opacity: 0.95 !important;
}

.kalyan-helpline-sub {
    font-size: 0.76rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: block !important;
}

.kalyan-timing-schedule {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    background: #f8fafc !important;
}

.kalyan-timing-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.kalyan-timing-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.kalyan-timing-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.86rem !important;
    gap: 10px !important;
}

.kalyan-timing-day {
    color: #475569 !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.kalyan-timing-hours {
    color: #0f172a !important;
    font-weight: 600 !important;
    text-align: right !important;
}

.kalyan-sidebar-perks {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding-top: 4px !important;
}

.kalyan-perk-item {
    display: flex !important;
    align-items: center !important;
    font-size: 0.86rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

/* Appointment Form Card */
.kalyan-appointment-form-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px #e2e8f0 !important;
    padding: 38px 36px !important;
    height: 100% !important;
}

.kalyan-form-header {
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 18px !important;
    margin-bottom: 24px !important;
}

.kalyan-form-title {
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.3px !important;
}

.kalyan-form-subtitle {
    font-size: 0.92rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.kalyan-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 22px !important;
}

.kalyan-col-full {
    grid-column: 1 / -1 !important;
}

.kalyan-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.kalyan-form-label {
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.kalyan-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.kalyan-input-icon {
    position: absolute !important;
    left: 16px !important;
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.kalyan-form-input {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 16px 10px 44px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: all 0.22s ease !important;
    line-height: 1.4 !important;
}

.kalyan-form-input:focus {
    outline: none !important;
    border-color: #b31b1b !important;
    box-shadow: 0 0 0 4px rgba(179, 27, 27, 0.12) !important;
}

.kalyan-form-input::placeholder {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

.kalyan-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 18px !important;
    padding-right: 40px !important;
    cursor: pointer !important;
}

.kalyan-textarea {
    height: auto !important;
    min-height: 95px !important;
    padding: 14px 16px !important;
    resize: vertical !important;
}

.kalyan-form-submit-btn {
    width: 100% !important;
    height: 52px !important;
    background: linear-gradient(135deg, #b31b1b 0%, #8b0000 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px -4px rgba(179, 27, 27, 0.35) !important;
    transition: all 0.25s ease !important;
}

.kalyan-form-submit-btn:hover {
    background: linear-gradient(135deg, #991b1b 0%, #700000 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 28px -4px rgba(179, 27, 27, 0.42) !important;
    color: #ffffff !important;
}

.kalyan-form-security-note {
    font-size: 0.82rem !important;
    color: #64748b !important;
    text-align: center !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    font-weight: 500 !important;
}

@media (max-width: 767px) {
    .kalyan-form-grid {
        grid-template-columns: 1fr !important;
    }

    .kalyan-appointment-form-card {
        padding: 26px 20px !important;
    }

    .kalyan-sidebar-content {
        padding: 22px 18px !important;
    }

    .kalyan-sidebar-img-box {
        height: 180px !important;
    }

    .kalyan-form-title {
        font-size: 1.35rem !important;
    }
}


/* ==========================================================================
   HOMEPAGE 50%/50% 2-COLUMN ORTHOPEDIC FAQS SECTION
   ========================================================================== */
.kalyan-faq-section {
    padding: 95px 0 100px !important;
    background: #ffffff !important;
    position: relative !important;
    border-top: 1px solid #edf2f7 !important;
}

.kalyan-faq-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.kalyan-faq-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.03) !important;
}

.kalyan-faq-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-2px) !important;
}

.kalyan-faq-card.active {
    border-color: #b31b1b !important;
    border-left: 4.5px solid #b31b1b !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(179, 27, 27, 0.08) !important;
}

.kalyan-faq-header {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: background-color 0.2s ease !important;
}

.kalyan-faq-header:focus {
    outline: none !important;
}

.kalyan-faq-num {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.5px !important;
}

.kalyan-faq-card.active .kalyan-faq-num {
    background: #fee2e2 !important;
    color: #b31b1b !important;
}

.kalyan-faq-question {
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.45 !important;
    flex: 1 !important;
    transition: color 0.2s ease !important;
}

.kalyan-faq-card:hover .kalyan-faq-question,
.kalyan-faq-card.active .kalyan-faq-question {
    color: #b31b1b !important;
}

.kalyan-faq-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.28s ease !important;
}

.kalyan-faq-card.active .kalyan-faq-icon {
    background: #b31b1b !important;
    color: #ffffff !important;
    border-color: #b31b1b !important;
    transform: rotate(45deg) !important;
}

.kalyan-faq-body {
    display: none;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.kalyan-faq-content {
    padding: 0 22px 20px 66px !important;
}

.kalyan-faq-content p {
    font-size: 0.93rem !important;
    line-height: 1.75 !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
}

/* FAQ Bottom Assistance Banner */
.kalyan-faq-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-radius: 18px !important;
    padding: 30px 36px !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.kalyan-faq-banner-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.kalyan-faq-banner-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.kalyan-faq-btn-white {
    background: #b31b1b !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.22s ease !important;
    box-shadow: 0 4px 14px rgba(179, 27, 27, 0.35) !important;
}

.kalyan-faq-btn-white:hover {
    background: #8b0000 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.kalyan-faq-btn-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 12px 22px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.22s ease !important;
}

.kalyan-faq-btn-outline:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .kalyan-faq-section {
        padding: 65px 0 70px !important;
    }
}

@media (max-width: 575px) {
    .kalyan-faq-section {
        padding: 50px 0 55px !important;
    }

    .kalyan-faq-header {
        padding: 14px 14px !important;
        gap: 10px !important;
    }

    .kalyan-faq-num {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.72rem !important;
    }

    .kalyan-faq-question {
        font-size: 0.9rem !important;
    }

    .kalyan-faq-content {
        padding: 0 14px 16px 50px !important;
    }

    .kalyan-faq-content p {
        font-size: 0.88rem !important;
    }

    .kalyan-faq-banner {
        padding: 24px 20px !important;
    }

    .kalyan-faq-btn-white,
    .kalyan-faq-btn-outline {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ==========================================================================
   HOMEPAGE TYPOGRAPHY POLISH & WEIGHT HARMONIZATION
   ========================================================================== */
.cs_hero_title {
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
}

.cs_section_title {
    font-weight: 600 !important;
    letter-spacing: -0.018em !important;
    color: #0f172a !important;
}

.cs_feature_title {
    font-weight: 600 !important;
}

.cs_service_title {
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

.cs_accordian_head {
    font-weight: 600 !important;
}

.cs_work_title {
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

.cs_specialist_name a {
    font-weight: 600 !important;
}

.cs_specialist_role {
    font-weight: 500 !important;
    color: #64748b !important;
}

.kalyan-form-title {
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

.kalyan-faq-question {
    font-weight: 600 !important;
}

/* Ensure descriptive body copy is never heavy or over-bold */
.cs_about_desc,
.cs_section_desc,
.cs_work_desc,
.cs_short_desc,
.cs_feature_desc,
.kalyan-faq-content p {
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Subtitles: crisp, professional, clean tracking */
.cs_section_subtitle {
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    font-size: 0.8rem !important;
}

/* 3-Step Journey Circular Image Framing */
.cs_work_card_1 .cs_work_img {
    width: 155px !important;
    height: 155px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 4px solid #ffffff !important;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
    background: #f8fafc !important;
}

.cs_work_card_1:hover .cs_work_img {
    transform: scale(1.05) !important;
    box-shadow: 0 16px 32px -4px rgba(179, 27, 27, 0.18) !important;
    border-color: #fee2e2 !important;
}

.cs_work_card_1 .cs_work_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}


/* ==========================================================================
   DROPDOWN NESTED MENU ALIGNMENT & HOVER FIX
   ========================================================================== */
.site-header .has-nested,
.dropdown-menu > li.has-nested,
.dropdown-item.has-nested {
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.site-header .has-nested > .dropdown-link,
.dropdown-menu > li.has-nested > .dropdown-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 18px !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.site-header .has-nested:hover > .nested-dropdown-menu,
.site-header .has-nested:focus-within > .nested-dropdown-menu,
.dropdown-menu > li.has-nested:hover > .nested-dropdown-menu,
.dropdown-menu > li.has-nested:focus-within > .nested-dropdown-menu,
.dropdown-item.has-nested:hover > .nested-dropdown-menu,
.dropdown-item.has-nested:focus-within > .nested-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* ==========================================================================
   HOMEPAGE HERO: PROUD MOMENT OF EXCELLENCE (DR. RAJINDER SINGH AWARD)
   ========================================================================== */
/* HOMEPAGE HERO: PROUD MOMENT OF EXCELLENCE */
.cs_hero_award_edition {
    background: radial-gradient(circle at 82% 25%, rgba(254, 240, 138, 0.32) 0%, rgba(255, 255, 255, 0) 55%),
                radial-gradient(circle at 12% 80%, rgba(254, 205, 211, 0.28) 0%, rgba(255, 255, 255, 0) 50%),
                linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
}

.kalyan-homepage .cs_hero_award_edition {
    height: auto !important;
    min-height: 620px !important;
    padding: 60px 0 65px 0 !important;
}

/* Ensure hero uses proper centered container padding */
.cs_hero_award_edition .container {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.cs_hero_award_edition .cs_hero_content {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
}

.cs_hero_award_edition .cs_hero_text {
    width: 100% !important;
    max-width: 640px !important;
    padding-block: 20px !important;
    padding-inline: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
}

.cs_hero_award_pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(179, 27, 27, 0.08) !important;
    border: 1px solid rgba(179, 27, 27, 0.22) !important;
    color: #b31b1b !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 2px 6px rgba(179, 27, 27, 0.05) !important;
}

.cs_hero_award_edition .cs_hero_title {
    color: #0f172a !important;
    font-size: clamp(2.1rem, 3.4vw, 3.1rem) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    text-shadow: none !important;
    margin-bottom: 8px !important;
}

.cs_hero_award_edition .cs_hero_dr_name {
    color: #b31b1b !important;
    font-size: clamp(1.9rem, 3.1vw, 2.7rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin-top: 6px !important;
    display: block !important;
}

.cs_hero_award_headline {
    color: #1e293b !important;
    font-size: clamp(1.05rem, 1.25vw, 1.2rem) !important;
    font-weight: 600 !important;
    line-height: 1.48 !important;
    margin-bottom: 14px !important;
}

.cs_hero_award_headline .cs_highlight_accent {
    color: #b31b1b !important;
    font-weight: 700 !important;
}

.cs_hero_award_edition .cs_hero_desc {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    max-width: 580px !important;
    margin-bottom: 24px !important;
}

.cs_hero_trust_row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 16px !important;
    margin-bottom: 28px !important;
}

.cs_hero_trust_item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.cs_hero_trust_item i {
    color: #10b981 !important;
    font-size: 0.85rem !important;
}

.cs_hero_btn_outline {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.cs_hero_btn_outline:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

.cs_hero_opd_strip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
    font-size: 0.82rem !important;
    color: #475569 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.cs_hero_opd_strip .cs_dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22) !important;
    display: inline-block !important;
}

.cs_hero_award_img_wrapper {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 15px !important;
    z-index: 2 !important;
}

.cs_award_graphic_container {
    position: relative !important;
    max-width: 500px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.cs_hero_award_img {
    max-width: 100% !important;
    width: auto !important;
    max-height: 540px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.16)) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cs_hero_award_img:hover {
    transform: translateY(-4px) scale(1.015) !important;
}

@media (max-width: 1200px) {
    .cs_hero_award_edition .cs_hero_content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
    
    .cs_hero_award_img {
        max-height: 480px !important;
    }
}

@media (max-width: 991px) {
    .kalyan-homepage .cs_hero_award_edition {
        padding: 40px 0 45px 0 !important;
    }
    
    .cs_hero_award_edition .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .cs_hero_award_edition .cs_hero_content {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .cs_hero_award_edition .cs_hero_text {
        max-width: 100% !important;
        padding-block: 0 !important;
    }

    .cs_award_graphic_container {
        max-width: 440px !important;
        margin: 0 auto !important;
    }

    .cs_hero_award_img {
        max-height: 400px !important;
    }
}

@media (max-width: 575px) {
    .cs_hero_award_edition .cs_hero_title {
        font-size: 1.85rem !important;
    }

    .cs_hero_award_edition .cs_hero_dr_name {
        font-size: 1.6rem !important;
    }

    .cs_hero_award_headline {
        font-size: 1rem !important;
    }

    .cs_hero_award_img {
        max-height: 320px !important;
    }

    .cs_hero_trust_row {
        gap: 8px 12px !important;
    }

    .cs_hero_trust_item {
        font-size: 0.8rem !important;
        padding: 5px 12px !important;
    }
}


/* ==========================================================================
   HOMEPAGE FEATURE SECTION 2 POLISH
   ========================================================================== */
/* HOMEPAGE FEATURE SECTION 2 POLISH */
.cs_feature_section_2 {
    padding: 30px 0 20px 0 !important;
}

.cs_feature_section_2 .container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100% !important;
}

.cs_feature_grid_2 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.cs_feature_card_2 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 490px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

.cs_feature_card_2:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
}

.cs_feature_card_2 .cs_feature_img {
    width: 100% !important;
    height: 220px !important;
    margin-top: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.cs_feature_card_2 .cs_feature_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cs_feature_card_2:hover .cs_feature_img img {
    transform: scale(1.05) !important;
}

@media (max-width: 991px) {
    .cs_feature_section_2 {
        padding: 20px 0 15px 0 !important;
    }
    
    .cs_feature_grid_2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .cs_feature_card_2 {
        min-height: auto !important;
    }
    
    .cs_feature_card_2 .cs_feature_img {
        height: 200px !important;
    }
}

/* ==========================================================================
   HOMEPAGE ABOUT HOSPITAL SECTION WIDTH & ALIGNMENT ENHANCEMENT
   ========================================================================== */
/* HOMEPAGE ABOUT HOSPITAL SECTION WIDTH & ALIGNMENT ENHANCEMENT */
.cs_about_style_2 .container {
    max-width: 1300px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Remove the legacy 112px indent so content aligns with cards above & below */
.cs_about_style_2 .cs_about_content {
    padding-inline-start: 0 !important;
    padding-inline-end: 24px !important;
    width: 100% !important;
}

.cs_about_style_2 .cs_about_img {
    width: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

.cs_about_style_2 .cs_about_img > img.cs_about_main_img,
.cs_about_style_2 .cs_about_img > img:first-child {
    width: 100% !important;
    height: 100% !important;
    min-height: 460px !important;
    max-height: 540px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 20px !important;
}

/* Float NABH badge in bottom corner with strict sizing */
.cs_about_style_2 .cs_about_experience_badge {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(8px) !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    z-index: 5 !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.cs_about_style_2 .cs_about_experience_badge img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}

/* Standardize Homepage Container Max-Width across all main sections */
.kalyan-homepage .cs_hero_award_edition .container,
.kalyan-homepage .cs_feature_section_2 .container,
.kalyan-homepage .cs_about_style_2 .container,
.kalyan-homepage .cs_service_section_2 .container,
.kalyan-homepage .cs_whychoose_section_2 .container,
.kalyan-homepage .cs_work_section_1 .container,
.kalyan-homepage .cs_team_section_2 .container,
.kalyan-homepage .kalyan-faq-section .container,
.kalyan-homepage .cs_appointment_section .container {
    max-width: 1300px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

@media (max-width: 991px) {
    .cs_about_style_2 .cs_about_content {
        padding-inline-end: 0 !important;
        margin-top: 24px !important;
    }
    
    .cs_about_style_2 .cs_about_img > img.cs_about_main_img,
    .cs_about_style_2 .cs_about_img > img:first-child {
        min-height: 320px !important;
        max-height: 400px !important;
    }
}

/* ==========================================================================
   BOOK APPOINTMENT BUTTONS IN PAGES:
   Pure White Background, Brand Red Text, Defined Red Border
   Ensures buttons are ALWAYS clearly visible and never show unwanted red background
   ========================================================================== */
.site-main .btn-appointment,
main .btn-appointment,
.card .btn-appointment,
.section .btn-appointment,
a.btn-appointment:not(.site-header *),
.site-main a.bg-brand,
main a.bg-brand,
.site-main a[class*="bg-brand"],
main a[class*="bg-brand"] {
    background-color: #ffffff !important;
    color: #b31b1b !important;
    border: 1.5px solid #b31b1b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.site-main .btn-appointment:hover,
main .btn-appointment:hover,
.card .btn-appointment:hover,
.section .btn-appointment:hover,
a.btn-appointment:not(.site-header *):hover,
.site-main a.bg-brand:hover,
main a.bg-brand:hover,
.site-main a[class*="bg-brand"]:hover,
main a[class*="bg-brand"]:hover {
    background-color: #db261d !important;
    color: #ffffff !important;
    border-color: #db261d !important;
    box-shadow: 0 10px 24px -2px rgba(219, 38, 29, 0.4) !important;
    transform: translateY(-3px) !important;
}

.site-main .btn-appointment:hover *,
main .btn-appointment:hover *,
.card .btn-appointment:hover *,
.section .btn-appointment:hover *,
a.btn-appointment:not(.site-header *):hover *,
.site-main a.bg-brand:hover *,
main a.bg-brand:hover *,
.site-main a[class*="bg-brand"]:hover *,
main a[class*="bg-brand"]:hover * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Ensure any child elements or SVGs inside these buttons inherit the red color */
.site-main .btn-appointment *,
main .btn-appointment *,
.card .btn-appointment *,
a.btn-appointment:not(.site-header *) *,
.site-main a.bg-brand *,
main a.bg-brand * {
    color: inherit !important;
    stroke: currentColor !important;
}

/* Dedicated Hero CTA Button (e.g. About Hospital page) with vibrant interactive hover */
.btn-appointment-hero {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.85rem 2.2rem !important;
    background-color: #ffffff !important;
    color: #db261d !important;
    border: 1.5px solid #db261d !important;
    border-radius: 0.75rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 4px 14px rgba(219, 38, 29, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.btn-appointment-hero:hover {
    background-color: #db261d !important;
    color: #ffffff !important;
    border-color: #db261d !important;
    box-shadow: 0 12px 28px -2px rgba(219, 38, 29, 0.42) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.btn-appointment-hero:hover * {
    color: #ffffff !important;
}

.btn-appointment-hero:active {
    transform: translateY(-1px) scale(1) !important;
    box-shadow: 0 6px 16px rgba(219, 38, 29, 0.3) !important;
}

/* ==========================================================================
   UNIVERSAL PARAGRAPH TYPOGRAPHY (Consistent 16px Font-Size Across All Pages)
   Enforces 16px font-size, Open Sans font family, and 1.65 line-height for all
   regular paragraph text, descriptions, and introductory content.
   Preserves all headings (H1-H6), titles, badges, and component layouts.
   ========================================================================== */
p:not(.cs_section_subtitle):not(.kalyan-form-security-note):not(.badge):not(.pill-title):not(.footer-meta-note),
.paragraph,
.cs_about_desc,
.cs_section_desc,
.cs_work_desc,
.cs_feature_desc,
.cs_hero_desc,
.cs_short_desc,
.page-hero-subtitle,
.page-hero-desc,
.section-desc,
.section-lead,
.article-prose p,
.site-main p,
main p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-family: 'Open Sans', sans-serif !important;
}

@media (min-width: 640px) {
    p:not(.cs_section_subtitle):not(.kalyan-form-security-note):not(.badge):not(.pill-title):not(.footer-meta-note),
    .paragraph,
    .cs_about_desc,
    .cs_section_desc,
    .cs_work_desc,
    .cs_feature_desc,
    .cs_hero_desc,
    .cs_short_desc,
    .page-hero-subtitle,
    .page-hero-desc,
    .section-desc,
    .section-lead,
    .article-prose p,
    .site-main p,
    main p {
        font-size: 16px !important;
    }
}

@media (min-width: 768px) {
    p:not(.cs_section_subtitle):not(.kalyan-form-security-note):not(.badge):not(.pill-title):not(.footer-meta-note),
    .paragraph,
    .cs_about_desc,
    .cs_section_desc,
    .cs_work_desc,
    .cs_feature_desc,
    .cs_hero_desc,
    .cs_short_desc,
    .page-hero-subtitle,
    .page-hero-desc,
    .section-desc,
    .section-lead,
    .article-prose p,
    .site-main p,
    main p {
        font-size: 16px !important;
    }
}

@media (min-width: 1024px) {
    p:not(.cs_section_subtitle):not(.kalyan-form-security-note):not(.badge):not(.pill-title):not(.footer-meta-note),
    .paragraph,
    .cs_about_desc,
    .cs_section_desc,
    .cs_work_desc,
    .cs_feature_desc,
    .cs_hero_desc,
    .cs_short_desc,
    .page-hero-subtitle,
    .page-hero-desc,
    .section-desc,
    .section-lead,
    .article-prose p,
    .site-main p,
    main p {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   STICKY LEFT ACTIONS: WHATSAPP & KNEE HEALTH ASSESSMENT
   ========================================================================== */
.sticky-left-actions {
    position: fixed !important;
    left: 20px !important;
    bottom: 24px !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    pointer-events: none !important;
}

.sticky-left-actions > * {
    pointer-events: auto !important;
}

/* WhatsApp Floating Button */
.sticky-whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: #25D366 !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    text-decoration: none !important;
}

.sticky-whatsapp-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

.sticky-whatsapp-btn .whatsapp-svg {
    width: 28px !important;
    height: 28px !important;
    fill: #ffffff !important;
    display: block !important;
}

/* Knee Health Assessment Red Pill Button */
.sticky-knee-assessment-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 22px !important;
    background-color: #DB261D !important;
    color: #ffffff !important;
    font-family: var(--font-sans, 'Montserrat', sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    border-radius: 34px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px !important;
    animation: dualGlow 1.5s infinite !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.sticky-knee-assessment-btn:hover {
    background-color: #b91c1c !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

@keyframes dualGlow {
    0% {
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.6), 0 0 12px rgba(0, 0, 255, 0.5) !important;
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 0, 0, 0.9), 0 0 26px rgba(0, 0, 255, 0.8) !important;
    }
    100% {
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.6), 0 0 12px rgba(0, 0, 255, 0.5) !important;
    }
}

/* ==========================================================================
   MOBILE STICKY BOTTOM ACTION FOOTER (Mobile Only: <= 768px)
   ========================================================================== */
@media (min-width: 769px) {
    .mobile-sticky-footer {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Hide floating left buttons on mobile to prevent clutter & content overlap */
    .sticky-left-actions {
        display: none !important;
    }

    /* Hide floating circular chatbot launcher & bubble on mobile (integrated into sticky footer) */
    #cb-launcher {
        display: none !important;
    }

    /* Chatbot modal window on mobile opens cleanly above the sticky footer */
    #cb-window {
        bottom: 64px !important;
        right: 8px !important;
        left: 8px !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
        height: 75vh !important;
        border-radius: 18px !important;
        z-index: 10005 !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28) !important;
    }

    /* Prevent page content from being hidden behind sticky footer */
    body {
        padding-bottom: 64px !important;
    }

    .mobile-sticky-footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
        z-index: 9998 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 6px 4px !important;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box !important;
    }

    .mobile-footer-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        text-decoration: none !important;
        color: #475569 !important;
        padding: 4px 1px !important;
        gap: 3px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        font-family: inherit !important;
        transition: all 0.2s ease !important;
        min-width: 0 !important;
        -webkit-appearance: none !important;
    }

    .mobile-footer-item:active,
    .mobile-footer-item:hover {
        color: #db261d !important;
        background-color: #f8fafc !important;
    }

    .mobile-footer-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 22px !important;
        width: 22px !important;
    }

    .mobile-footer-icon svg {
        display: block !important;
    }

    .mobile-footer-label {
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0.1px !important;
        white-space: nowrap !important;
    }

    /* WhatsApp item accent */
    .mobile-footer-whatsapp {
        color: #15803d !important;
    }
    .mobile-footer-whatsapp:hover {
        color: #16a34a !important;
    }

    /* Knee Health Assessment item accent with pulse glow */
    .mobile-footer-knee {
        color: #db261d !important;
        position: relative !important;
    }
    .mobile-footer-knee .mobile-footer-label {
        color: #db261d !important;
    }
    .mobile-footer-knee::after {
        content: '' !important;
        position: absolute !important;
        top: 2px !important;
        right: calc(50% - 16px) !important;
        width: 6px !important;
        height: 6px !important;
        background: #db261d !important;
        border-radius: 50% !important;
        animation: pulseDot 1.4s infinite !important;
    }

    @keyframes pulseDot {
        0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(219, 38, 29, 0.7); }
        70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 5px rgba(219, 38, 29, 0); }
        100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(219, 38, 29, 0); }
    }

    /* AI Chat item accent */
    .mobile-footer-chat {
        color: #2563eb !important;
    }
    .mobile-footer-chat .mobile-footer-label {
        color: #2563eb !important;
    }
    .mobile-footer-chat:active,
    .mobile-footer-chat:hover {
        color: #1d4ed8 !important;
    }

    /* Book Appointment prominent pill CTA */
    .mobile-footer-appointment {
        background: #db261d !important;
        color: #ffffff !important;
        border-radius: 20px !important;
        padding: 6px 10px !important;
        margin: 0 4px !important;
        box-shadow: 0 2px 8px rgba(219, 38, 29, 0.35) !important;
    }
    .mobile-footer-appointment .mobile-footer-label {
        color: #ffffff !important;
    }
    .mobile-footer-appointment:active,
    .mobile-footer-appointment:hover {
        background: #b91c1c !important;
        color: #ffffff !important;
    }
}


