:root {
    --accent: #c24b3e;
    --accent-teal: #0d9488;
}

/* Base styling for legacy content wrapped in the new template */
.page-content {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Work Sans', sans-serif;
    line-height: 1.8;
}

/* Slider / Banner images from old pages */
.slider_main, .containor_main {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 60, 165, 0.1);
    max-width: 1200px;
    margin: 30px auto;
    border: 1px solid rgba(0, 60, 165, 0.08);
}

.slide-pc, .slide-mob, .slider_main img, .containor_main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    display: block; /* Prevent baseline spacing issues */
}

/* Services Intro Section - Proportioned & Unified Across All Service Pages */
.services_intro, .containor_main .contant-cont {
    display: grid !important;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr) !important;
    gap: 32px !important;
    max-width: 1200px !important;
    margin: 0 auto 20px !important;
    padding: 0 4px !important;
    align-items: stretch !important;
}

.intro_text, .intro {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 420px !important;
    height: auto !important;
    background: #ffffff !important;
    border-radius: 22px !important;
    border: 1px solid rgba(0, 60, 165, 0.08) !important;
    box-shadow: 0 16px 42px rgba(0, 60, 165, 0.06), 0 2px 8px rgba(0, 60, 165, 0.02) !important;
    padding: 28px 30px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 5 !important;
    overflow: hidden !important;
}

.intro_text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, #c24b3e 0%, #003ca5 100%);
    border-radius: 0 0 4px 4px;
}

.intro_text h1, .intro h1, .intro h2, .intro h3 {
    font-size: clamp(1.72rem, 2.3vw, 2.15rem) !important;
    color: #0e2246 !important;
    margin-bottom: 14px !important;
    font-family: 'Outfit', 'Work Sans', sans-serif !important;
    line-height: 1.24 !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
}

.intro_text ul, .intro ul {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
}

.intro_text ul li, .intro ul li {
    padding: 9px 16px 9px 40px !important;
    position: relative !important;
    font-size: 0.94rem !important;
    line-height: 1.48 !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0, 60, 165, 0.05) !important;
    transition: all 0.25s ease !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
}

.intro_text ul li:hover, .intro ul li:hover {
    background: #ffffff !important;
    border-color: rgba(0, 60, 165, 0.18) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(0, 60, 165, 0.06) !important;
}

.intro_text ul li::before, .intro ul li::before {
    content: '\f00c' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #10c85e !important;
    background: rgba(16, 200, 94, 0.12) !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9.5px !important;
}

.intro_img, .cont_img {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
}

.intro-img-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    display: flex !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 42px rgba(0, 60, 165, 0.1) !important;
    border: 1px solid rgba(0, 60, 165, 0.08) !important;
    background: #f1f5f9 !important;
}

.intro_img img, .cont_img img, .intro-img-frame img {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 22px !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.intro_img img:hover, .cont_img img:hover, .intro-img-frame img:hover {
    transform: scale(1.025) !important;
}

/* Sections below Intro - Compact and Balanced Padding */
.introduction {
    max-width: 1100px;
    margin: 18px auto !important;
    padding: 30px 34px !important;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 60, 165, 0.05);
    border: 1px solid rgba(0, 60, 165, 0.08);
}

.heading_intro {
    text-align: center;
    margin-bottom: 18px;
}

.heading_intro h3 {
    font-size: clamp(1.75rem, 2.8vw, 2.15rem);
    color: var(--primary);
    font-family: 'Outfit', 'Work Sans', sans-serif;
    position: relative;
    display: inline-block;
    margin-bottom: 6px;
}

.heading_intro h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--secondary);
    margin: 6px auto 0;
    border-radius: 2px;
}

.introduction_text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: left !important;
}

.introduction_text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.introduction_text ul li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Sub Navigation inside pages */
.second_nav {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 20px;
}

.second_nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.second_nav ul li a {
    text-decoration: none;
    color: var(--primary-dark);
    background: #eef7fc;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.second_nav ul li a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 171, 255, 0.2);
}

.second_nav_toggle {
    display: none; /* Hide dropdown nav on PC */
}

/* FAQs */
.faq {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eef7fc;
}

.faq-question .arrows {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.faq-question.active .arrows,
.faq.active .faq-question .arrows {
    transform: rotate(45deg);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 20px;
    color: var(--text-light);
    background: #f8fafc;
}

.faq.active .faq-answer,
.faq-item.active .faq-answer,
.faq-answer.open {
    max-height: 1200px;
    padding: 18px 24px;
    border-top: 1px solid #e2e8f0;
}

/* Language-Separated FAQ Styling */
.faq-q-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
    flex: 1;
}
.faq-q-en {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
}
.faq-q-hi {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    font-family: 'Noto Sans Devanagari', -apple-system, sans-serif;
}
.faq-a-en {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-dark);
}
.faq-a-hi {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-dark);
    font-family: 'Noto Sans Devanagari', -apple-system, sans-serif;
}

/* 1. English Mode (or default): Show English FAQ, hide Hindi FAQ */
body:not(.lang-hi) .faq-q-hi,
body:not(.lang-hi) .faq-a-hi,
body.lang-en .faq-q-hi,
body.lang-en .faq-a-hi {
    display: none !important;
}
body:not(.lang-hi) .faq-q-en,
body:not(.lang-hi) .faq-a-en,
body.lang-en .faq-q-en,
body.lang-en .faq-a-en {
    display: block !important;
}

/* 2. Hindi Mode: Show Hindi FAQ, hide English FAQ */
body.lang-hi .faq-q-en,
body.lang-hi .faq-a-en {
    display: none !important;
}
body.lang-hi .faq-q-hi,
body.lang-hi .faq-a-hi {
    display: block !important;
}

/* In Hindi mode, hide the 'हिंदी में समझें:' prefix since the page is already in Hindi */
body.lang-hi .faq-a-hi > strong:first-child {
    display: none !important;
}

/* Fallback: If an FAQ does not have Hindi translation yet, display English so it is never blank */
body.lang-hi .faq:not(:has(.faq-q-hi:not(:empty))) .faq-q-en,
body.lang-hi .faq-item:not(:has(.faq-q-hi:not(:empty))) .faq-q-en,
body.lang-hi .faq:not(:has(.faq-a-hi:not(:empty))) .faq-a-en,
body.lang-hi .faq-item:not(:has(.faq-a-hi:not(:empty))) .faq-a-en {
    display: block !important;
}

/* Call to action */
.book_app {
    display: inline-block;
    margin-top: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book_app:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 171, 255, 0.3);
}




/* ===================================================
   NEW LOGO-THEME COMPONENT ADDITIONS
   =================================================== */

/* Doctor Profile Hero & Badges */
.doctor-hero {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 56px 20px 0 !important;
}
body.admin-bar-present .doctor-hero {
    padding-top: 102px !important;
}

.doctor-hero-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 60, 165, 0.08);
    border: 1px solid rgba(0, 60, 165, 0.08);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: center;
}

.doctor-portrait-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 60, 165, 0.12);
}

.doctor-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-badge-float {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid rgba(0, 60, 165, 0.1);
    box-shadow: 0 8px 25px rgba(0, 60, 165, 0.1);
}

.doctor-badge-float span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-info-content h1 {
    font-family: 'Outfit', 'Work Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.doctor-tagline {
    font-size: 1.15rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.doctor-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.cred-pill {
    background: var(--primary-subtle, #ebf3ff);
    color: var(--primary);
    border: 1px solid rgba(0, 60, 165, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.doctor-bio p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Philosophy Cards Grid */
.philosophy-sec {
    padding: 50px 0;
    width: 100%;
    box-sizing: border-box;
}

.philosophy-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 36px;
    padding: 0 16px;
}

.philosophy-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--primary-dark);
    margin: 12px 0 10px;
    font-family: 'Outfit', 'Work Sans', sans-serif;
}

.philosophy-header p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.philo-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0, 60, 165, 0.05);
    border: 1px solid rgba(0, 60, 165, 0.08);
    transition: all 0.3s ease;
}

.philo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 60, 165, 0.12);
    border-color: rgba(255, 75, 75, 0.2);
}

.philo-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.philo-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.philo-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Memberships Badges Grid */
.memberships-sec {
    background: #16325c;
    border-radius: 28px;
    padding: 50px 36px;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.memberships-sec h2 {
    color: #ffffff;
    font-family: 'Outfit', 'Work Sans', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.memberships-sec p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 36px;
    font-size: 1rem;
}

.memberships-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.member-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.member-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.member-chip i {
    color: #c24b3e;
}

@media (max-width: 900px) {
    .doctor-hero-card {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 30px;
        text-align: center;
    }
    .doctor-creds {
        justify-content: center;
    }
    .doctor-portrait-wrap {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Modern Inside Page Header & Hero (No stock banner required) */
.services {
    padding: 10px 20px 0 !important;
}
body.admin-bar-present .services {
    padding-top: 14px !important;
}

.inside-breadcrumb-wrap {
    max-width: 1200px;
    margin: 4px auto 14px !important;
    padding: 0 4px;
}

.inside-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light, #556987);
    flex-wrap: wrap;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 60, 165, 0.08);
    box-shadow: 0 2px 8px rgba(0, 60, 165, 0.03);
}

.inside-breadcrumb a {
    color: var(--primary, #16325c);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.inside-breadcrumb a:hover {
    color: var(--secondary, #c24b3e);
}

.inside-breadcrumb .bc-sep {
    color: #94a3b8;
    font-size: 0.68rem;
    display: inline-flex;
    align-items: center;
}

.inside-breadcrumb .bc-current {
    color: var(--secondary, #c24b3e);
    font-weight: 600;
}

.inside-category-pill {
    display: none !important;
}

.service-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-light, #556987);
    margin-bottom: 20px;
}

.inside-cta-actions {
    display: flex !important;
    gap: 14px !important;
    margin-top: auto !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(0, 60, 165, 0.08) !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    position: relative !important;
    z-index: 6 !important;
}

.btn-inside-primary {
    background: linear-gradient(135deg, #c24b3e 0%, #a8362b 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    font-family: 'Work Sans', sans-serif !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(194, 75, 62, 0.28) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-inside-primary:hover {
    background: linear-gradient(135deg, #a8362b 0%, #8f2b21 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(194, 75, 62, 0.38) !important;
    color: #ffffff !important;
}

.btn-inside-wa {
    background: linear-gradient(135deg, #10c85e 0%, #00ab4e 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    font-family: 'Work Sans', sans-serif !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(16, 200, 94, 0.28) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-inside-wa:hover {
    background: linear-gradient(135deg, #0eb354 0%, #009645 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 200, 94, 0.38) !important;
    color: #ffffff !important;
}

.intro-img-frame {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 42px rgba(0, 60, 165, 0.1) !important;
    border: 1px solid rgba(0, 60, 165, 0.08) !important;
    background: #f1f5f9 !important;
    display: flex !important;
}

.intro-img-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 22px !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.intro-img-frame:hover img {
    transform: scale(1.025) !important;
}

.img-badge-overlay {
    display: none !important;
}

/* ================= LANGUAGE MODAL STYLES ================= */
.lang-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: langFadeIn 0.25s ease-out;
}
@keyframes langFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.lang-modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 32px 28px;
    box-shadow: 0 25px 60px rgba(0, 40, 120, 0.25);
    position: relative;
    text-align: center;
    border: 1px solid rgba(0, 60, 165, 0.1);
    animation: langScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes langScaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lang-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}
.lang-modal-close:hover {
    color: #0f172a;
}
.lang-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 60, 165, 0.08);
    color: var(--primary, #003ca5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}
.lang-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
}
.lang-modal-sub {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
}
.lang-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.lang-choice-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    text-align: center;
    width: 100%;
}
.lang-choice-card:hover {
    border-color: var(--primary, #003ca5);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 60, 165, 0.08);
}
.lang-choice-card.active {
    border-color: var(--primary, #003ca5);
    background: rgba(0, 60, 165, 0.04);
    box-shadow: 0 6px 20px rgba(0, 60, 165, 0.12);
}
.lang-choice-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #003ca5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
}
.lang-badge-hi {
    background: #c24b3e;
}
.lang-choice-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    display: block;
}
.lang-choice-desc {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}
.lang-choice-check {
    font-size: 1.15rem;
    color: #10b981;
    display: none;
}
.lang-choice-card.active .lang-choice-check {
    display: block;
}
.lang-modal-footer small {
    color: #94a3b8;
    font-size: 0.8rem;
}
@media (max-width: 480px) {
    .lang-modal-grid { grid-template-columns: 1fr; }
    .lang-choice-card { flex-direction: row; text-align: left; padding: 14px 16px; }
    .lang-choice-check { margin-left: auto; }
}

/* Hide Google Translate top toolbar banner and tooltips */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body {
    top: 0px !important;
    position: static !important;
}
#google_translate_element,
.skiptranslate {
    display: none !important;
}
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ================= ELEMENTOR-STYLE LIVE VISUAL EDITOR ================= */
#florentineAdminBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    border-bottom: 2px solid #0284c7;
    box-sizing: border-box;
}
.florentine-admin-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.florentine-admin-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.3px;
    font-size: 13.5px;
}
.admin-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: adminDotPulse 1.8s infinite;
}
@keyframes adminDotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.admin-page-badge {
    background: rgba(255,255,255,0.12);
    color: #e2e8f0;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.15);
}
.admin-overrides-badge {
    background: rgba(2, 132, 199, 0.2);
    color: #7dd3fc;
    border: 1px solid rgba(2, 132, 199, 0.4);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.admin-overrides-badge:hover {
    background: rgba(2, 132, 199, 0.35);
    color: #fff;
    transform: translateY(-1px);
}
.florentine-admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-bar-btn {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.admin-bar-btn:hover {
    background: rgba(255,255,255,0.22);
    color: #ffffff;
}
.admin-bar-btn.btn-start-edit {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    font-weight: 700;
}
.admin-bar-btn.btn-start-edit:hover {
    background: #0369a1;
    border-color: #0369a1;
}
.admin-bar-btn.btn-start-edit.btn-active {
    background: #059669;
    border-color: #059669;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

/* Quick Translate Button in Modal */
.live-edit-translate-row {
    display: flex;
    justify-content: flex-end;
    margin: -6px 0 12px;
}
.btn-auto-translate {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
    transition: all 0.15s ease;
}
.btn-auto-translate:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}
.btn-auto-translate:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* In-Page Editable Elements in Visual Mode */
.live-edit-mode-active .florentine-editable-block {
    position: relative !important;
    outline: 2px dashed rgba(2, 132, 199, 0.65) !important;
    outline-offset: 4px !important;
    cursor: pointer !important;
    transition: outline 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.live-edit-mode-active .florentine-editable-block:hover {
    outline: 2px solid #0284c7 !important;
    background-color: rgba(2, 132, 199, 0.08) !important;
}
.live-edit-mode-active .florentine-editable-block::after {
    content: '✏️ Edit';
    position: absolute;
    top: -12px;
    right: 4px;
    background: #0284c7;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(2px);
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    white-space: nowrap;
}
.live-edit-mode-active .florentine-editable-block:hover::after {
    opacity: 1;
    transform: translateY(0);
}
.live-edit-mode-active .florentine-editable-block.has-live-override {
    outline-color: rgba(16, 185, 129, 0.6) !important;
}
.live-edit-mode-active .florentine-editable-block.has-live-override::after {
    content: '✅ Edited Live';
    background: #059669;
}
.florentine-pulse-highlight {
    animation: liveHighlightPulse 1.4s ease;
}
@keyframes liveHighlightPulse {
    0% { background-color: rgba(16, 185, 129, 0.45); outline: 3px solid #10b981 !important; transform: scale(1.01); }
    100% { background-color: transparent; outline: none; transform: scale(1); }
}

/* Modal styling for Live Content Edit */
#liveContentEditModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.live-edit-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: modalScaleUp 0.22s ease-out;
}
@keyframes modalScaleUp {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.live-edit-header {
    padding: 16px 20px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.live-edit-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.live-edit-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.live-edit-tag-badge {
    background: #0284c7;
    color: #fff;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.live-edit-id-chip {
    background: rgba(255,255,255,0.12);
    color: #94a3b8;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
}
.live-edit-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}
.live-edit-close:hover { color: #ffffff; }

/* Toolbar Tabs & Helper Buttons */
.live-edit-toolbar-tabs {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.live-edit-tabs {
    display: flex;
    gap: 6px;
}
.live-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.live-tab-btn:hover {
    color: #0f172a;
    background: rgba(0,0,0,0.04);
}
.live-tab-btn.active {
    background: #ffffff;
    color: #0284c7;
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.live-edit-quick-tools {
    display: flex;
    gap: 6px;
}
.btn-quick-tool {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s;
}
.btn-quick-tool:hover {
    background: #f1f5f9;
    color: #0284c7;
    border-color: #94a3b8;
}

/* Modal Body & Textareas */
.live-edit-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.live-edit-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.live-edit-fields-grid.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.live-edit-field {
    display: flex;
    flex-direction: column;
}
.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.field-label-row label {
    font-weight: 700;
    font-size: 0.86rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.char-count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}
.live-edit-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.94rem;
    line-height: 1.5;
    font-family: inherit;
    resize: vertical;
    min-height: 90px;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.live-edit-field textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.field-hi textarea {
    font-family: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Collapsible Original Template Content Drawer */
.live-original-drawer {
    margin-top: 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
}
.original-drawer-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.original-drawer-content {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    white-space: pre-wrap;
    background: #ffffff;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Modal Footer */
.live-edit-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-revert-override {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #ef4444;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.btn-revert-override:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}
.btn-modal-cancel {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-modal-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}
.btn-modal-save {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    transition: all 0.15s;
}
.btn-modal-save:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}
.btn-modal-save:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Page Summary Drawer Card */
.live-page-summary-card {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    animation: modalScaleUp 0.22s ease-out;
}
.live-page-summary-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.summary-edit-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.15s, background-color 0.15s;
}
.summary-edit-item:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}
.summary-edit-details {
    flex: 1;
    min-width: 0;
}
.summary-edit-id {
    font-family: monospace;
    font-size: 11px;
    color: #0284c7;
    font-weight: 700;
    margin-bottom: 2px;
}
.summary-edit-preview-en {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.summary-edit-preview-hi {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.summary-edit-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.btn-summary-action {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-summary-action:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}
.btn-summary-action.revert:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}
.btn-danger-outline {
    background: transparent;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.btn-danger-outline:hover {
    background: #fee2e2;
}

/* Toast Notification */
.live-editor-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    z-index: 1000005;
    border-left: 4px solid #10b981;
    max-width: 420px;
}
.live-editor-toast.show {
    display: flex;
    animation: toastSlideUp 0.25s ease-out;
}
.live-editor-toast.toast-error {
    border-left-color: #ef4444;
}
.live-editor-toast.toast-info {
    border-left-color: #0284c7;
}
@keyframes toastSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Live FAQ Manager Controls */
.faq-live-toolbar {
    margin: 15px 0 25px;
    display: flex;
    justify-content: center;
}
.btn-live-add-faq {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-live-add-faq:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}
.faq-item-actions {
    position: absolute;
    top: 8px;
    right: 35px;
    display: flex;
    gap: 6px;
    z-index: 10;
}
.btn-faq-action {
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}
.btn-faq-action.edit {
    background: #e0f2fe;
    color: #0369a1;
}
.btn-faq-action.edit:hover {
    background: #bae6fd;
}
.btn-faq-action.delete {
    background: #fee2e2;
    color: #dc2626;
}
.btn-faq-action.delete:hover {
    background: #fecaca;
}

/* FAQ Modal */
.live-faq-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.live-faq-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalPop 0.25s ease-out;
}
.live-faq-modal-header {
    padding: 20px 24px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-faq-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.live-faq-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}
.live-faq-close-btn:hover { color: #ffffff; }
.live-faq-modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-modal-field label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}
.faq-modal-field input, .faq-modal-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
}
.faq-modal-field input:focus, .faq-modal-field textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.live-faq-modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}



/* FAQ Header Styles (Desktop) */
.faq-breadcrumb {
    padding: 25px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.faq-header-container {
    max-width: 1200px;
    margin: 20px auto 20px;
    padding: 0 24px;
    text-align: center;
}
.faq-main-h1 {
    font-family: 'Outfit', 'Work Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 12px 0;
}
.faq-sub-hi {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}
.faq-lead-desc {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Vaccine List Section (Desktop) */
.vaccine-list-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,60,165,0.05);
    border: 1px solid #e2e8f0;
}

/* Bottom CTA Banner (Desktop Default) */
.bottom-cta-banner {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 36px 30px;
    background: linear-gradient(135deg, #16325c 0%, #0a1830 100%);
    border-radius: 20px;
    color: #ffffff !important;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 26, 48, 0.12);
}
.bottom-cta-banner h1, .bottom-cta-banner h2, .bottom-cta-banner h3, .bottom-cta-banner h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 10px;
    color: #ffffff !important;
}
.bottom-cta-banner p {
    color: #cbd5e1 !important;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* ==========================================================================
   MASTER MOBILE OPTIMIZATION FOR ALL SUBPAGES & SERVICES (max-width: 768px)
   Redesigned UI for Mobile:
   - ZERO white space after footer
   - Subpages, FAQs, Blogs, and Vaccination fully optimized
   - Desktop (> 768px and > 1120px) remains 100% untouched
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Global Side Padding & Zero Space After Footer */
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        background-color: #0b1a30 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .containor, .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Mobile Header Flex Fit - Fluid, Perfectly Sized for All Viewports */
    .glass-nav {
        height: 56px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .glass-nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        height: 56px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }
    .glass-logo {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }
    .glass-logo a {
        display: flex !important;
        align-items: center !important;
        max-width: 100% !important;
    }
    .glass-logo img {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .glass-nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
    .lang-switch-btn {
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .glass-burger {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .nav-cta-btn {
        display: none !important;
    }

    /* 2. Secondary Navigation Toggle */
    .second_nav ul { display: none !important; }
    .second_nav_toggle {
        display: block !important;
        width: 100% !important;
        padding: 9px 12px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0, 60, 165, 0.15) !important;
        font-family: 'Work Sans', sans-serif !important;
        font-size: 13px !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    }

    /* 3. Subpage Header & Intro Section */
    .services {
        padding: 4px 10px 0 !important;
        margin: 0 auto 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    body.admin-bar-present .services {
        padding-top: 6px !important;
    }

    .inside-breadcrumb-wrap {
        margin: 2px 0 5px !important;
        padding: 0 !important;
    }
    .inside-breadcrumb {
        font-size: 0.76rem !important;
        gap: 5px !important;
        line-height: 1.3 !important;
    }
    .inside-breadcrumb .bc-sep {
        font-size: 0.68rem !important;
    }

    .services_intro, .containor_main .contant-cont {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin: 0 auto 8px !important;
        padding: 0 !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .intro_text, .intro {
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 13px 12px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .intro_text h1, .intro h1, .intro h2 {
        font-size: 1.38rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        letter-spacing: -0.2px !important;
    }
    
    .service-h1-hi {
        font-size: 0.92rem !important;
        margin-top: 2px !important;
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
        color: #c24b3e !important;
        font-weight: 600 !important;
    }

    .service-lead {
        font-size: 0.90rem !important;
        line-height: 1.55 !important;
        margin-bottom: 8px !important;
    }

    .intro_text ul, .intro ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
    }

    .intro_text ul li, .intro ul li {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        padding: 5px 8px 5px 22px !important;
        border-radius: 6px !important;
        text-align: left !important;
        margin-bottom: 2px !important;
    }

    .intro_text ul li::before, .intro ul li::before {
        left: 6px !important;
        top: 6px !important;
        font-size: 10px !important;
    }

    /* Subpage Header CTA buttons */
    .inside-cta-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin-top: 4px !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(0, 60, 165, 0.08) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .btn-inside-primary, .btn-inside-wa {
        flex: 1 !important;
        padding: 0 12px !important;
        font-size: 12.8px !important;
        height: 40px !important;
        border-radius: 50px !important;
        gap: 6px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
    }

    /* Subpage Intro Image Frame - Balanced height (200px) */
    .intro_img, .cont_img {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
    }

    .intro-img-frame {
        width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        border-radius: 16px !important;
        margin: 0 !important;
        box-shadow: 0 6px 20px rgba(0, 60, 165, 0.08) !important;
    }

    .intro-img-frame img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
        border-radius: 16px !important;
    }

    /* 4. Inside Content Cards & Typography */
    .introduction {
        padding: 14px 12px !important;
        margin: 8px 10px !important;
        border-radius: 12px !important;
        max-width: calc(100% - 20px) !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
    }

    .heading_intro h2, .heading_intro h3 {
        font-size: 1.18rem !important;
        margin-bottom: 6px !important;
        line-height: 1.28 !important;
        color: #0f172a !important;
    }

    .introduction_text p {
        font-size: 0.90rem !important;
        line-height: 1.55 !important;
        margin-bottom: 8px !important;
        color: #334155 !important;
        text-align: left !important;
    }

    .introduction_text ul {
        padding-left: 14px !important;
        margin-bottom: 8px !important;
    }

    .introduction_text ul li {
        font-size: 0.88rem !important;
        line-height: 1.48 !important;
        margin-bottom: 5px !important;
        color: #334155 !important;
    }

    .slider_main, .containor_main {
        margin: 8px 10px !important;
        border-radius: 12px !important;
        max-width: calc(100% - 20px) !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
    }
    
    .slider_main img, .containor_main img {
        border-radius: 12px !important;
    }
    
    /* 5. Complete FAQs Styling on Mobile (Both .faq and .faq-item) */
    .faq, .faq-item {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        margin-bottom: 9px !important;
        overflow: hidden !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    }
    .faq.active, .faq-item.active {
        border-color: #cbd5e1 !important;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06) !important;
    }
    .faq-question {
        padding: 12px 14px !important;
        font-size: 0.94rem !important;
        line-height: 1.38 !important;
        font-weight: 600 !important;
        gap: 10px !important;
        background: #ffffff !important;
        width: 100% !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
    }
    .faq-question .faq-q-wrap {
        flex: 1 !important;
        text-align: left !important;
    }
    .faq-question .faq-q-en,
    .faq-question .faq-q-hi {
        font-size: 0.93rem !important;
        line-height: 1.38 !important;
        color: #0e2246 !important;
        font-weight: 600 !important;
        display: block !important;
    }
    .faq-question i.fa,
    .faq-question i.fas,
    .faq-question i.fa-angle-right {
        font-size: 0.90rem !important;
        color: var(--primary) !important;
        flex-shrink: 0 !important;
        transition: transform 0.25s ease !important;
    }
    .faq-item.active .faq-question i.fa,
    .faq-item.active .faq-question i.fas,
    .faq-item.active .faq-question i.fa-angle-right,
    .faq.active .faq-question i.fa,
    .faq.active .faq-question i.fas {
        transform: rotate(90deg) !important;
    }
    .faq-answer {
        background: #f8fafc !important;
        border-top: 1px solid #edf2f7 !important;
        overflow: hidden !important;
    }
    .faq-answer p,
    .faq-a-en, .faq-a-hi {
        padding: 10px 14px 14px 14px !important;
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        color: #334155 !important;
        text-align: left !important;
        margin: 0 !important;
    }
    .faq-answer strong {
        color: #0e2246 !important;
        font-weight: 600 !important;
    }

    /* FAQ Page Specific Structure on Mobile (fertility-faqs.php) */
    .faq-header-container {
        padding: 12px 14px 4px !important;
        margin: 4px auto 0 !important;
        text-align: center !important;
    }
    .faq-main-h1 {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        color: var(--primary-dark) !important;
        font-weight: 700 !important;
        margin: 4px 0 6px !important;
    }
    .faq-sub-hi {
        font-size: 0.95rem !important;
        color: var(--primary) !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
    }
    .faq-lead-desc {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        color: #475569 !important;
        margin: 0 auto 10px !important;
        padding: 0 4px !important;
    }
    .faq-section {
        padding: 0 12px !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .faq-section h2, .faq-cat-heading {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
        color: var(--primary-dark) !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        border-bottom: 2px solid #e2e8f0 !important;
        padding-bottom: 8px !important;
        margin-top: 24px !important;
        margin-bottom: 12px !important;
    }
    .faq-section h2 i, .faq-cat-heading i {
        color: var(--primary) !important;
        font-size: 1.15rem !important;
        min-width: 20px !important;
        text-align: center !important;
    }
    .faq-section h2 span, .faq-cat-heading span {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
    }

    /* Hide Breadcrumbs / Sitemap Trail on Mobile */
    .inside-breadcrumb-wrap,
    .inside-breadcrumb,
    .faq-breadcrumb,
    .blog-nav-bar,
    .blog-crumb {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Fix Dark CTA Cards (FAQ bottom CTA, Blog CTA, etc.) */
    .bottom-cta-banner,
    .article-cta-box,
    section[style*="linear-gradient"],
    div[style*="linear-gradient"],
    section[style*="#16325c"],
    div[style*="#16325c"],
    section[style*="#0a1830"],
    div[style*="#0a1830"] {
        color: #ffffff !important;
    }
    .bottom-cta-banner h1, .bottom-cta-banner h2, .bottom-cta-banner h3, .bottom-cta-banner h4,
    .article-cta-box h1, .article-cta-box h2, .article-cta-box h3, .article-cta-box h4,
    section[style*="linear-gradient"] h1, section[style*="linear-gradient"] h2, section[style*="linear-gradient"] h3, section[style*="linear-gradient"] h4,
    div[style*="linear-gradient"] h1, div[style*="linear-gradient"] h2, div[style*="linear-gradient"] h3, div[style*="linear-gradient"] h4,
    section[style*="#16325c"] h1, section[style*="#16325c"] h2, section[style*="#16325c"] h3, section[style*="#16325c"] h4,
    div[style*="#16325c"] h1, div[style*="#16325c"] h2, div[style*="#16325c"] h3, div[style*="#16325c"] h4 {
        color: #ffffff !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45) !important;
    }
    .bottom-cta-banner p,
    .article-cta-box p,
    section[style*="linear-gradient"] p,
    div[style*="linear-gradient"] p,
    section[style*="#16325c"] p,
    div[style*="#16325c"] p,
    section[style*="#0a1830"] p,
    div[style*="#0a1830"] p {
        color: #cbd5e1 !important;
    }
    .bottom-cta-banner {
        margin: 28px 12px 36px !important;
        padding: 22px 14px !important;
        border-radius: 16px !important;
        max-width: calc(100% - 24px) !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    .bottom-cta-banner h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        color: #ffffff !important;
    }
    .bottom-cta-banner p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        color: #cbd5e1 !important;
    }
    .bottom-cta-banner div[style*="display:flex"],
    .bottom-cta-banner .cta-btns-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .bottom-cta-banner .btn-inside-primary,
    .bottom-cta-banner .btn-inside-wa {
        width: 100% !important;
        height: 38px !important;
        padding: 0 8px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }


    /* 6. Vaccination Page Specific Rules */
    #vaccine-list, #vaccine-list[style*="padding"] {
        padding: 14px 10px !important;
        margin: 10px auto !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #vaccine-list .heading_intro h3 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    #vaccine-list div[style*="overflow-x:auto"] {
        margin-top: 8px !important;
        border-radius: 10px !important;
        border: 1px solid #e2e8f0 !important;
        -webkit-overflow-scrolling: touch !important;
    }
    #vaccine-list table {
        font-size: 0.82rem !important;
        min-width: 580px !important;
    }
    #vaccine-list th {
        padding: 10px 8px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }
    #vaccine-list td {
        padding: 10px 8px !important;
        font-size: 0.80rem !important;
        line-height: 1.4 !important;
    }
    #vaccine-list td span {
        font-size: 0.74rem !important;
    }
    #ivfme {
        padding: 14px 12px !important;
        margin: 10px auto !important;
        border-radius: 14px !important;
    }
    #ivfme ul {
        padding-left: 14px !important;
    }
    #ivfme li {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }

    /* 7. Doctor Profile Page on Mobile (/why-dr-noopur) */
    .doctor-hero {
        padding: 6px 10px 0 !important;
        margin: 0 auto 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .doctor-hero-card {
        grid-template-columns: 1fr !important;
        padding: 16px 12px !important;
        gap: 12px !important;
        text-align: center !important;
        border-radius: 14px !important;
    }
    .doctor-portrait-wrap {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 auto 18px auto !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        box-shadow: 0 12px 32px rgba(0, 60, 165, 0.15) !important;
    }
    .doctor-portrait-wrap img {
        width: 100% !important;
        height: 320px !important;
        max-height: 350px !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
    }
    .doctor-badge-float {
        padding: 5px 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        border-radius: 8px !important;
    }
    .doctor-badge-float span {
        font-size: 0.72rem !important;
    }
    .doctor-info-content h1 {
        font-size: 1.40rem !important;
        line-height: 1.22 !important;
        margin-bottom: 4px !important;
    }
    .doctor-tagline {
        font-size: 0.90rem !important;
        margin-bottom: 10px !important;
    }
    .doctor-creds {
        justify-content: center !important;
        gap: 5px !important;
        margin-bottom: 10px !important;
    }
    .cred-pill {
        padding: 3px 8px !important;
        font-size: 0.76rem !important;
        border-radius: 12px !important;
    }
    .doctor-bio p {
        font-size: 0.90rem !important;
        line-height: 1.55 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    /* 8. Philosophy Section on Mobile */
    .philosophy-sec {
        padding: 18px 0 !important;
    }
    .philosophy-header {
        margin-bottom: 12px !important;
        padding: 0 10px !important;
    }
    .philosophy-header h2 {
        font-size: 1.22rem !important;
    }
    .philosophy-header p {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }
    .philosophy-grid {
        gap: 10px !important;
        padding: 0 10px !important;
        grid-template-columns: 1fr !important;
    }
    .philo-card {
        padding: 14px 12px !important;
        border-radius: 12px !important;
    }
    .philo-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.10rem !important;
        margin-bottom: 8px !important;
        border-radius: 8px !important;
    }
    .philo-card h3 {
        font-size: 1.08rem !important;
        margin-bottom: 4px !important;
    }
    .philo-card p {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }

    /* 9. Memberships Section on Mobile */
    .memberships-sec {
        padding: 20px 12px !important;
        border-radius: 14px !important;
        margin: 0 10px 18px !important;
    }
    .memberships-sec h2 {
        font-size: 1.25rem !important;
        margin-bottom: 6px !important;
    }
    .memberships-sec p {
        font-size: 0.86rem !important;
        margin-bottom: 14px !important;
    }
    .memberships-grid {
        gap: 6px !important;
    }
    .member-chip {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
        gap: 5px !important;
    }
}


/* Language Visibility Rules */
.service-h1-hi,
.faq-h2-hi,
.lang-hi-only {
    display: none !important;
}
html[lang="hi"] .service-h1-hi,
body.lang-hi .service-h1-hi,
html[lang="hi"] .faq-h2-hi,
body.lang-hi .faq-h2-hi,
body.lang-hi .lang-hi-only {
    display: block !important;
}

/* ================================================
   MOBILE FOOTER & ABOUT PAGE FACILITY SECTION FIX
   (Was accidentally nested inside lang-hi rule)
   ================================================ */
@media (max-width: 768px) {
    /* 14. Footer Mobile Layout: One Below Another (Single Column) */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        padding: 0 10px !important;
        text-align: left !important;
    }
    .footer-col {
        margin-bottom: 0 !important;
        width: 100% !important;
    }
    .footer-col h4 {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        letter-spacing: 0.3px !important;
    }
    .footer-col ul {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .footer-col ul li {
        margin-bottom: 8px !important;
    }
    .footer-col ul li a {
        font-size: 0.94rem !important;
        line-height: 1.5 !important;
        display: inline-block !important;
        color: #94a3b8 !important;
        text-decoration: none !important;
        padding: 2px 0 !important;
    }
    .footer-contact-item {
        margin-bottom: 12px !important;
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        color: #94a3b8 !important;
    }
    .footer-contact-item i {
        margin-top: 3px !important;
        font-size: 1rem !important;
        flex-shrink: 0 !important;
        color: var(--secondary) !important;
    }
    .footer-desc {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        margin: 12px 0 16px 0 !important;
        color: #94a3b8 !important;
    }
    .footer-logo img {
        height: 40px !important;
        max-width: 240px !important;
    }
    .footer-social {
        display: flex !important;
        gap: 12px !important;
        margin-bottom: 6px !important;
    }
    .footer-social a {
        width: 38px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 0.95rem !important;
    }
    .footer-bottom {
        padding: 20px 10px calc(65px + env(safe-area-inset-bottom, 0px)) !important;
        text-align: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-top: 24px !important;
    }
    .footer-bottom p {
        font-size: 0.82rem !important;
        color: #64748b !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 15. About Page: Hospital Facility Section - Stack on Mobile */
    .facility-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 18px 12px !important;
        border-radius: 16px !important;
    }
    .facility-card > div:first-child {
        width: 100% !important;
        border-radius: 14px !important;
    }
    .facility-card img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
        border-radius: 14px !important;
        display: block !important;
    }
    .facility-card h2 {
        font-size: 1.22rem !important;
        line-height: 1.28 !important;
        margin-bottom: 8px !important;
    }
    .facility-card p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }

    /* 16. About Page: Buttons below doctor info - side by side same style */
    .doctor-action-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 16px !important;
    }
    .doctor-action-row > * {
        width: 100% !important;
        height: 40px !important;
        padding: 0 8px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        border-radius: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }
    /* Book Consultation button */
    .doctor-action-row .nav-cta-btn {
        background: linear-gradient(135deg, #c24b3e 0%, #a03028 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(194, 75, 62, 0.35) !important;
    }
    /* Call Clinic button */
    .doctor-action-row .sidebar-call-btn {
        background: linear-gradient(135deg, #16325c 0%, #0b1a30 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(11, 26, 48, 0.25) !important;
        margin: 0 !important;
    }
}

/* ========================================================
   WORDPRESS-STYLE MEDIA LIBRARY & CROPPER MODAL
   ======================================================== */
.live-edit-mode-active .florentine-editable-image-block,
.live-edit-mode-active img[data-editable-id] {
    position: relative !important;
    outline: 3px dashed #0284c7 !important;
    outline-offset: 4px !important;
    cursor: pointer !important;
    transition: outline 0.2s ease, filter 0.2s ease;
}
.live-edit-mode-active .florentine-editable-image-block:hover,
.live-edit-mode-active img[data-editable-id]:hover {
    outline: 3px solid #0284c7 !important;
    filter: brightness(0.92);
}
.live-edit-mode-active .florentine-editable-image-block.has-live-override,
.live-edit-mode-active img[data-editable-id].has-live-override {
    outline-color: #10b981 !important;
}

#liveImageMediaModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.wp-media-modal-card {
    background: #ffffff;
    border-radius: 14px;
    width: 95vw;
    max-width: 1100px;
    height: 88vh;
    max-height: 850px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: wpModalZoomIn 0.22s ease-out;
}
@keyframes wpModalZoomIn {
    from { opacity: 0; transform: scale(0.97) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.wp-media-modal-header {
    background: #0f172a;
    padding: 12px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wp-media-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wp-media-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}
.wp-media-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
}
.wp-media-nav-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 8px;
}
.wp-media-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s ease;
}
.wp-media-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.wp-media-tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}
.wp-media-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s;
}
.wp-media-close-btn:hover { color: #ffffff; }

.wp-media-tab-pane {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.wp-media-library-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}
.wp-media-filter-bar {
    padding: 12px 18px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.wp-media-search-wrap {
    position: relative;
    flex: 1;
    max-width: 380px;
}
.wp-media-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}
.wp-media-search-wrap input {
    width: 100%;
    padding: 7px 12px 7px 34px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.wp-media-search-wrap input:focus {
    outline: none;
    border-color: #0284c7;
}
.wp-media-stats {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}
.wp-btn-upload-switch {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
}
.wp-btn-upload-switch:hover { background: #0369a1; }

.wp-media-grid {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    align-content: start;
}
.wp-grid-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border: 2.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.wp-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.wp-grid-item.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.4);
}
.wp-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wp-grid-item .wp-check-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.wp-grid-item.active .wp-check-badge {
    display: flex;
}
.wp-grid-item .wp-format-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.wp-media-sidebar {
    width: 320px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 18px;
    overflow-y: auto;
    box-sizing: border-box;
    gap: 14px;
}
.wp-sidebar-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}
.wp-sidebar-preview-box {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wp-sidebar-preview-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.wp-sidebar-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wp-meta-filename {
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}
.wp-sidebar-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wp-sidebar-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}
.wp-sidebar-field input {
    width: 100%;
    padding: 7px 10px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    box-sizing: border-box;
}
.wp-btn-quick-translate {
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 11px;
    color: #0284c7;
    cursor: pointer;
    padding: 2px 6px;
}
.wp-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}
.wp-btn-crop-existing {
    background: #f1f5f9;
    color: #0284c7;
    border: 1.5px solid #cbd5e1;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s;
}
.wp-btn-crop-existing:hover {
    background: #e0f2fe;
    border-color: #0284c7;
}
.wp-btn-insert-media {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
    transition: opacity 0.15s;
}
.wp-btn-insert-media:hover { opacity: 0.95; }

.wp-dropzone-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f8fafc;
}
.wp-dropzone-inner {
    border: 2.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    width: 100%;
    max-width: 580px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.wp-dropzone-inner:hover, .wp-dropzone-inner.dragover {
    border-color: #0284c7;
    background: #f0f9ff;
    transform: scale(1.01);
}
.wp-dropzone-icon {
    font-size: 3.2rem;
    color: #0284c7;
    margin-bottom: 14px;
}
.wp-dropzone-inner h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin: 0 0 8px;
}
.wp-dropzone-inner h3 span { color: #0284c7; text-decoration: underline; }
.wp-dropzone-inner p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 20px;
}
.wp-btn-select-files {
    background: #0284c7;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
}

.wp-crop-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #0b1120;
}
.wp-crop-toolbar {
    background: #1e293b;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wp-crop-toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wp-crop-label {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wp-crop-ratio-buttons {
    display: flex;
    gap: 6px;
}
.wp-ratio-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.wp-ratio-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.wp-ratio-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}
.wp-btn-reset-crop {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}
.wp-crop-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: none;
    background: #020617;
}
.wp-crop-stage {
    position: relative;
    display: inline-block;
    max-width: 90%;
    max-height: 90%;
}
.wp-crop-stage img {
    max-width: 100%;
    max-height: 52vh;
    display: block;
    user-select: none;
    pointer-events: none;
}
.wp-crop-box {
    position: absolute;
    box-sizing: border-box;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65);
    cursor: move;
}
.wp-crop-grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.35);
}
.wp-crop-grid-line.h1 { top: 33.33%; left: 0; right: 0; height: 1px; }
.wp-crop-grid-line.h2 { top: 66.66%; left: 0; right: 0; height: 1px; }
.wp-crop-grid-line.v1 { left: 33.33%; top: 0; bottom: 0; width: 1px; }
.wp-crop-grid-line.v2 { left: 66.66%; top: 0; bottom: 0; width: 1px; }

.wp-crop-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #0284c7;
    border: 2px solid #ffffff;
    box-sizing: border-box;
    border-radius: 2px;
}
.wp-crop-handle.handle-nw { top: -6px; left: -6px; cursor: nwse-resize; }
.wp-crop-handle.handle-ne { top: -6px; right: -6px; cursor: nesw-resize; }
.wp-crop-handle.handle-se { bottom: -6px; right: -6px; cursor: nwse-resize; }
.wp-crop-handle.handle-sw { bottom: -6px; left: -6px; cursor: nesw-resize; }
.wp-crop-handle.handle-n { top: -6px; left: calc(50% - 6px); cursor: ns-resize; }
.wp-crop-handle.handle-s { bottom: -6px; left: calc(50% - 6px); cursor: ns-resize; }
.wp-crop-handle.handle-w { left: -6px; top: calc(50% - 6px); cursor: ew-resize; }
.wp-crop-handle.handle-e { right: -6px; top: calc(50% - 6px); cursor: ew-resize; }

.wp-crop-footer-row {
    background: #1e293b;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wp-crop-inputs-grid {
    display: flex;
    gap: 14px;
    flex: 1;
}
.wp-crop-input-wrap {
    flex: 1;
}
.wp-crop-input-wrap label {
    display: block;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 3px;
}
.wp-crop-input-wrap input {
    width: 100%;
    padding: 7px 10px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #f8fafc;
    font-size: 0.84rem;
    box-sizing: border-box;
}
.wp-crop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wp-btn-cancel-crop {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    cursor: pointer;
}
.wp-btn-save-crop {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.florentine-image-edit-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0284c7;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease, background 0.15s ease;
    animation: badgePop 0.18s ease-out;
}
.florentine-image-edit-badge:hover {
    background: #0369a1;
    transform: scale(1.05);
}
@keyframes badgePop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
