@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Subtle, Premium Clinical Palette (Indira IVF Style - No Gradients) */
    --primary: #16325c; /* Deep Clinical Navy */
    --primary-dark: #0c1e38; /* Midnight Clinical Navy */
    --primary-light: #24467c; /* Classic Medical Navy */
    --primary-subtle: #f0f4f9; /* Subtle Clinical Tint */

    --secondary: #c24b3e; /* Subtle Muted Terracotta Rose (Dignified & Warm) */
    --secondary-hover: #a8362b; /* Deep Muted Terracotta */
    --secondary-light: #d46357; /* Soft Coral Rose */
    --secondary-subtle: #fdf5f4; /* Soft Blush Off-White */

    --accent: #475569; /* Slate Gray */
    --accent-subtle: #f1f5f9;
    --accent-iris: #3b5998;
    --accent-lavender: #4a6fa5;
    --accent-gold: #c24b3e;
    --accent-teal: #16325c;

    /* Solid Colors - No Gradients */
    --gradient-brand: #16325c;
    --gradient-cta: #c24b3e;
    --gradient-blue: #16325c;
    --gradient-gold: #c24b3e;
    --gradient-soft: #f8fafc;

    /* Surfaces & Clean Minimal Borders */
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: #e2e8f0;
    --white: #ffffff;
    --text-dark: #1e293b; /* Slate Charcoal */
    --text-light: #64748b; /* Muted Slate */
    --bg-light: #f8fafc; /* Crisp Clinical Off-White */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-sm: 0 2px 6px rgba(22, 50, 92, 0.04);
    --shadow-md: 0 6px 20px rgba(22, 50, 92, 0.08);
    --shadow-lg: 0 16px 36px rgba(22, 50, 92, 0.12);
    --shadow-glow: 0 4px 16px rgba(194, 75, 62, 0.2);
    --shadow-blue-glow: 0 4px 16px rgba(22, 50, 92, 0.18);
    --sticky-height-ds: 80px;
    --sticky-height-mb: 70px;
}
@import url('glass.css');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[id] {
    scroll-margin-top: 75px; /* Offset for fixed glass-nav */
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Standalone breadcrumb clearance below fixed navbar */
.inside-breadcrumb-wrap {
    margin: 2px auto 6px !important;
    padding: 0 4px;
}

body {
    font-family: 'Work Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Noto Sans Devanagari', 'Work Sans', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    transition: top 0.2s ease, all 0.3s ease;
}
/* When admin bar is present, push nav below it */
body.admin-bar-present .glass-nav {
    top: 46px;
}

.glass-nav-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.glass-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 18px;
}
.glass-logo a {
    display: flex;
    align-items: center;
}
.glass-logo img {
    height: 48px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.glass-logo img:hover {
    transform: scale(1.02);
}

.glass-nav-links {
    display: flex;
    gap: 3px;
    align-items: center;
}

.sidebar-header {
    display: none;
}

.nav-icon-mb {
    display: none;
}

.sidebar-contact-card {
    display: none;
}

.glass-nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.glass-nav-links a:hover {
    color: var(--primary);
    background-color: rgba(0, 60, 165, 0.06);
    transform: translateY(-1px);
}

.glass-nav-links a.active {
    color: var(--primary);
    background-color: rgba(0, 60, 165, 0.08);
    font-weight: 700;
}

/* Nav Actions */
.glass-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-call-btn,
.nav-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    background: rgba(0, 60, 165, 0.06);
    border: 1px solid rgba(0, 60, 165, 0.14);
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav-call-btn:hover,
.nav-btn-call:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 60, 165, 0.15);
}
.nav-call-btn:hover i,
.nav-btn-call:hover i {
    color: #fff;
}
.nav-call-btn i,
.nav-btn-call i {
    color: var(--secondary);
    font-size: 12px;
}

.nav-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b7036;
    background: #e8f9ee;
    border: 1px solid rgba(37, 211, 102, 0.35);
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-family: inherit;
    outline: none;
}
.nav-btn-wa:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.nav-btn-wa:hover i {
    color: #ffffff;
}
.nav-btn-wa i {
    color: #25D366;
    font-size: 14px;
}

.nav-cta-btn {
    background: linear-gradient(135deg, #10c85e 0%, #00ab4e 100%);
    color: #ffffff !important;
    border: none;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 4px 14px rgba(0, 186, 82, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
}
.nav-cta-btn:hover {
    background: linear-gradient(135deg, #0eb956 0%, #009945 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(0, 186, 82, 0.45);
}

/* Language Switcher Toggle Button (EN / हिन्दी) */
.lang-switch-btn {
    background: rgba(22, 50, 92, 0.06);
    border: 1px solid rgba(22, 50, 92, 0.15);
    color: var(--primary, #16325c);
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.lang-switch-btn:hover {
    background: rgba(22, 50, 92, 0.1);
    border-color: var(--primary, #16325c);
}
.lang-switch-btn .lang-opt {
    color: var(--text-light, #64748b);
    transition: color 0.2s ease;
}
.lang-switch-btn .lang-opt.active {
    color: var(--secondary, #c24b3e);
    font-weight: 700;
}
.lang-switch-btn .lang-sep {
    color: #94a3b8;
    font-size: 11px;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 60, 165, 0.35);
    filter: brightness(1.05);
}

/* Glass Dropdown for Fertility & Gynae */
.glass-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.glass-dropbtn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: 'Outfit', 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-chevron {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.glass-dropbtn:hover, 
.glass-dropbtn.active,
.glass-dropdown:hover .glass-dropbtn,
.glass-dropdown.open .glass-dropbtn {
    color: var(--primary);
    background-color: rgba(0, 60, 165, 0.06);
}

.glass-dropdown:hover .nav-chevron,
.glass-dropdown.open .nav-chevron {
    transform: rotate(180deg);
}

.glass-dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(46, 38, 57, 0.16);
    z-index: 1000;
    border-radius: 18px;
    top: 100%;
    left: 0;
    padding: 10px;
    border: 1px solid rgba(0, 60, 165, 0.12);
    animation: dropFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible bridge so mouse never leaves hover zone when traveling to menu */
.glass-dropdown-content::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-dropdown:hover .glass-dropdown-content,
.glass-dropdown.open .glass-dropdown-content {
    display: block;
}

.glass-dropdown-content a {
    color: var(--text-dark);
    padding: 10px 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 60, 165, 0.06);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.glass-dropdown-content a:hover {
    background-color: rgba(0, 60, 165, 0.05);
    color: var(--secondary);
    padding-left: 18px;
}

.glass-dropdown-content a:hover .dropdown-icon {
    background: #c24b3e;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 75, 75, 0.3);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: 82vh;
    min-height: 500px;
    max-height: 660px;
    overflow: hidden;
    background-color: #0d0f17;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active img {
    transform: scale(1);
}

.hero-slider .florentine-img-edit-wrap {
    display: contents !important;
}
.hero-slider .florentine-img-static-btn,
.hero-slider .florentine-image-edit-badge {
    display: none !important;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(10, 24, 48, 0.94) 0%, 
        rgba(10, 24, 48, 0.84) 38%, 
        rgba(10, 24, 48, 0.48) 68%, 
        rgba(10, 24, 48, 0.20) 100%),
        linear-gradient(to top, 
        rgba(10, 24, 48, 0.60) 0%, 
        transparent 35%);
    z-index: 3;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: clamp(32px, 8.5vw, 130px);
    transform: translateY(-50%);
    z-index: 4;
    max-width: 660px;
    color: var(--white);
    text-align: left;
    padding: 0;
}

/* Micro-animations for smooth slide transitions */
.slide .slide-content h1,
.slide .slide-content .slide-title,
.slide .slide-content p,
.slide .slide-content .hero-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-content h1,
.slide.active .slide-content .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.28s;
}

.slide.active .slide-content .hero-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

.slide-content h1,
.slide-content .slide-title {
    font-size: clamp(2.1rem, 3.6vw, 3.25rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.slide-content p {
    font-size: clamp(1.02rem, 1.22vw, 1.14rem);
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 28px;
    line-height: 1.65;
    font-weight: 400;
    max-width: 580px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(194, 75, 62, 0.32);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 75, 62, 0.46);
    color: var(--white);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    text-decoration: none;
    padding: 13.5px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-welcome-consult {
    background: linear-gradient(135deg, #10c85e 0%, #00ab4e 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 13.5px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Work Sans', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(16, 200, 94, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-welcome-consult:hover {
    background: linear-gradient(135deg, #0eb354 0%, #009645 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16, 200, 94, 0.45);
}

.btn-welcome-consult span {
    color: #ffffff !important;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-dark, #16325c) !important;
    border: 1.5px solid rgba(22, 50, 92, 0.3);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Work Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover {
    background: rgba(22, 50, 92, 0.06);
    border-color: var(--primary-dark, #16325c);
    color: var(--primary-dark, #16325c) !important;
    transform: translateY(-2px);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-nav button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-nav button.active {
    background: var(--secondary);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(194, 75, 62, 0.4);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 24, 48, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.slider-arrow:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 16px rgba(194, 75, 62, 0.4);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Modern Stats Bar */
.stats-bar {
    background: #16325c;
    padding: 50px 24px;
    position: relative;
    z-index: 5;
    margin-top: -36px;
    border-radius: 36px 36px 0 0;
    box-shadow: 0 -10px 40px rgba(27, 16, 40, 0.25);
    border-top: 1px solid rgba(244, 63, 94, 0.2);
}

.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 26px 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(244, 63, 94, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.stat-item h3 {
    font-size: 3.2rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.1;
}

.stat-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Sections */
.section {
    padding: 48px 24px;
}

.section-alt {
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-tag,
.inside-category-pill,
.appt-badge {
    display: none !important;
}

.section-title {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    margin-bottom: 14px;
    color: var(--text-dark);
    line-height: 1.25;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 720px;
    margin-top: 8px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 60, 165, 0.08);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.primecare-list {
    list-style: none;
    margin: 28px 0;
}

.primecare-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    border: 1px solid rgba(0, 60, 165, 0.05);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.25s ease;
}

.primecare-list li:hover {
    background: var(--white);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(244, 63, 94, 0.2);
}

.primecare-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* Dual Department Showcase Tabs */
/* Segmented Toggle Switch for Clinical Verticals (Desktop) */
.dept-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 auto 36px auto;
    background: #e2e8f0;
    padding: 5px;
    border-radius: 50px;
    max-width: 560px;
    width: 100%;
    border: 1.5px solid rgba(0, 60, 165, 0.12);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.dept-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #475569;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none;
    white-space: nowrap;
    user-select: none;
}

.dept-tab-btn i {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.dept-tab-btn:hover {
    color: var(--primary-dark, #0b1a30);
}

.dept-tab-btn.active {
    background: linear-gradient(135deg, #16325c 0%, #0b1a30 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(11, 26, 48, 0.25) !important;
    border-color: transparent !important;
}

.dept-tab-btn.active i {
    color: #ffffff !important;
    transform: scale(1.08);
}

.dept-panel {
    display: none;
    animation: panelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dept-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: 0 10px 30px rgba(0, 60, 165, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 60, 165, 0.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c24b3e;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 60, 165, 0.1), 0 0 0 1px rgba(244, 63, 94, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--secondary);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
    background: #c24b3e;
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Outfit', 'Work Sans', sans-serif;
    transition: color 0.2s ease;
}

.service-card:hover h3 {
    color: var(--secondary);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--secondary);
    transition: all 0.25s ease;
}

.service-link i {
    transition: transform 0.25s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* General Accordion FAQs (Homepage) */
.faq-list {
    background-color: var(--white);
    border-radius: 24px;
    padding: 16px 30px;
    box-shadow: 0 8px 30px rgba(18, 20, 29, 0.02);
    border: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid #f1f5f9;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Success Stories */
.story-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(18, 20, 29, 0.02);
    border: 1px solid var(--border-color);
}

.story-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-card .story-info {
    padding: 30px;
    text-align: center;
}

.story-card h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.story-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.story-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(18, 20, 29, 0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card-img {
    height: 240px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 30px;
}

.blog-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

/* ==========================================================================
   SUBPAGES (INNER PAGES) STYLING SYSTEM
   ========================================================================== */

/* Subpage banner section */
.slider_main {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #090b11;
}

.slidess {
    width: 100%;
    height: 100%;
    position: relative;
}

.slidess img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

/* Inner Page Sub Navigation */
.second_nav {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    margin: -40px auto 60px;
    max-width: 800px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.second_nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.second_nav ul li {
    margin: 0;
}

.second_nav ul li a {
    display: block;
    padding: 20px 30px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

.second_nav ul li a:hover {
    color: var(--primary);
    background-color: rgba(82, 107, 194, 0.04);
}

.second_nav_toggle {
    display: none;
}

/* Inner Page Services Introduction Section */
.services {
    padding: 0 24px 0;
}

.services_intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.intro_text h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 24px;
    color: var(--text-dark);
}

.intro_text ul {
    list-style: none;
    margin-top: 20px;
}

.intro_text ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 500;
}

.intro_text ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 16px;
}

.intro_img {
    float: right;
    width: 350px;
    margin: 10px 0 24px 32px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.intro_img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Inner Page Introduction Content Block */
.introduction {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 24px;
}

.heading_intro {
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

.heading_intro h3, .heading_intro h1 {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-family: 'Outfit', 'Work Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.introduction_text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
    text-align: left;
}

.introduction_text ul {
    margin: 20px 0 24px 20px;
}

.introduction_text ul li {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.introduction_text ul li p {
    margin-bottom: 0;
    display: inline;
}

/* Inner Page FAQs Accordion (subpages) */
.faq {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq:hover {
    border-color: rgba(82, 107, 194, 0.25);
    box-shadow: 0 10px 25px rgba(82, 107, 194, 0.04);
}

.faq-question {
    padding: 22px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Work Sans', sans-serif;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .arrows {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    font-weight: 400;
    line-height: 1;
}

.faq-question.active {
    color: var(--primary);
}

.faq-question.active .arrows,
.faq.active .faq-question .arrows,
.faq-item.active .faq-question .arrows {
    transform: rotate(45deg);
    color: var(--secondary);
}

.faq-question.active i.fa,
.faq-question.active i.fas,
.faq.active .faq-question i.fa,
.faq-item.active .faq-question i.fa {
    transform: rotate(90deg);
    color: var(--secondary);
}

.faq-question i.fa,
.faq-question i.fas {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq.active .faq-answer,
.faq-item.active .faq-answer,
.faq-answer.open {
    max-height: 800px;
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: left;
}

/* Bilingual FAQ Display Separation (English vs Hindi) */
.faq-q-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 15px;
}
.faq-q-en {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}
.faq-q-hi {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Noto Sans Devanagari', -apple-system, sans-serif;
    line-height: 1.5;
}
.faq-a-en {
    padding: 0 28px 20px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-light);
}
.faq-a-hi {
    padding: 0 28px 20px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-light);
    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 if present */
body.lang-hi .faq-a-hi > strong:first-child {
    display: none !important;
}

/* Inner Page Partner Logos Section */
.logo-sec {
    background: rgba(82, 107, 194, 0.02);
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 80px 0;
}

.logos {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logos img {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.3s ease;
}

.logos img:hover {
    filter: grayscale(0) opacity(1);
}

/* Inner Page Building/Hospital Section */
.hospital {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.hospi-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.hospi-img img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-buttons a img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(18, 20, 29, 0.15));
    transition: transform 0.3s ease;
}

.floating-buttons a img:hover {
    transform: scale(1.1);
}

/* Indira IVF Style Appointment Modal Popup */
.appt-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(12, 30, 56, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.appt-overlay.open {
    display: flex !important;
}

.appt-modal {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 22px 24px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 20px 50px rgba(12, 30, 56, 0.22);
    border: 1px solid #e2e8f0;
    font-family: 'Work Sans', sans-serif;
    max-height: 94vh;
    overflow: hidden;
}

.appt-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.appt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #f0f4f9;
    color: #16325c;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
}

.appt-modal-header h2 {
    font-family: 'Outfit', 'Work Sans', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #16325c;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.appt-modal-header p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.modal-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 13.5px;
    font-family: 'Work Sans', sans-serif;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.modal-input:focus {
    border-color: #16325c;
    box-shadow: 0 0 0 3px rgba(22, 50, 92, 0.08);
}

.phone-container {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    width: 52px;
    background: #f8fafc;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #16325c;
    font-size: 13.5px;
    flex-shrink: 0;
}

.btn-appt-submit {
    width: 100%;
    padding: 12px 18px;
    background-color: #c24b3e; /* Solid subtle terracotta - No gradient! */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(194, 75, 62, 0.22);
    transition: all 0.2s ease;
}

.btn-appt-submit:hover {
    background-color: #a8362b;
    box-shadow: 0 6px 16px rgba(194, 75, 62, 0.32);
    transform: translateY(-1px);
}

.appt-trust-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
    color: #64748b;
}

.appt-trust-footer span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.appt-trust-footer i {
    color: #16325c;
}

.appt-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.appt-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Footer Section - Solid Deep Navy (No Gradient) */
footer {
    background: #0b1a30;
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 24px 24px;
    border-top: 1px solid #16325c;
    position: relative;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.1fr 1.4fr;
    gap: 36px;
}

.footer-logo {
    display: inline-block;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 14px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.footer-logo img {
    height: 38px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.footer-social a.social-fb {
    background: #1877F2 !important;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}
.footer-social a.social-fb:hover {
    background: #0d65d9 !important;
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.65);
}

.footer-social a.social-insta {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
}
.footer-social a.social-insta:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 8px 24px rgba(214, 36, 159, 0.7);
    filter: brightness(1.12);
}

.footer-social a.social-yt {
    background: #FF0000 !important;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}
.footer-social a.social-yt:hover {
    background: #cc0000 !important;
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.65);
}

.footer-social a.social-wa {
    background: #25D366 !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}
.footer-social a.social-wa:hover {
    background: #1da851 !important;
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.65);
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.25s ease;
}

.footer-contact-item:hover {
    color: var(--white);
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-top: 3px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.88rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-align: center;
}


/* Hamburger mobile menu button */
.glass-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.glass-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Compact desktop scaling (1121px - 1340px) to shrink-fit on laptops */
@media (max-width: 1340px) and (min-width: 1121px) {
    .glass-nav-container {
        padding: 0 14px;
    }
    .glass-logo {
        margin-right: 10px;
    }
    .glass-logo img {
        height: 44px;
        max-width: 250px;
    }
    .glass-nav-links {
        gap: 1px;
    }
    .glass-nav-links a,
    .glass-dropbtn {
        font-size: 12px;
        padding: 5px 6px;
        gap: 2px;
    }
    .nav-cta-btn {
        padding: 6px 11px;
        font-size: 12px;
    }
    .lang-switch-btn {
        padding: 4px 7px;
        font-size: 11.5px;
    }
}

@media (max-width: 1120px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .intro_img {
        float: none;
        width: 100%;
        margin: 24px 0;
    }
    .glass-nav {
        height: 60px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        z-index: 1000000 !important;
    }
    body.mobile-nav-active .glass-nav {
        z-index: 2147483647 !important;
    }
    .main-page-wrapper {
        padding-top: 60px !important;
    }
    body.admin-bar-present .main-page-wrapper {
        padding-top: 106px !important;
    }
    body.mobile-nav-active {
        overflow: hidden !important;
    }
    body.mobile-nav-active .bottom-sticky-bar {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(120%) translateX(-50%) !important;
        transition: transform 0.25s ease, opacity 0.2s ease !important;
    }
    body.mobile-nav-active .floating-right-stack {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Slide-in right sidebar mobile menu - Highest Stacking Context */
    .glass-nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        padding: 24px 18px 30px;
        box-shadow: -10px 0 45px rgba(22, 50, 92, 0.22);
        gap: 4px;
        z-index: 2147483647 !important;
        visibility: hidden;
        transform: translateX(105%);
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
        align-items: stretch;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .glass-nav-links.mobile-open {
        transform: translateX(0);
        visibility: visible;
        z-index: 2147483647 !important;
    }
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 14px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(22, 50, 92, 0.08);
    }
    .sidebar-brand img {
        height: 40px;
        width: auto;
        max-width: 200px;
        object-fit: contain;
        display: block;
    }
    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(22, 50, 92, 0.06);
        border: none;
        font-size: 24px;
        color: var(--text-dark, #1e293b);
        cursor: pointer;
        line-height: 1;
        transition: all 0.2s ease;
    }
    .sidebar-close:hover,
    .sidebar-close:active {
        background: rgba(194, 75, 62, 0.12);
        color: var(--secondary, #c24b3e);
    }
    .nav-icon-mb {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        color: var(--secondary, #c24b3e);
        font-size: 15px;
        flex-shrink: 0;
    }
    .glass-nav-links a {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        font-size: 14.5px;
        font-weight: 500;
        border-radius: 12px;
        border-bottom: none;
        color: var(--text-dark, #1e293b);
        transition: all 0.2s ease;
        text-decoration: none;
    }
    .glass-nav-links a:hover, .glass-nav-links a.active {
        background: rgba(22, 50, 92, 0.06);
        color: var(--primary, #16325c);
        font-weight: 600;
    }
    .glass-nav-links .glass-dropdown {
        width: 100%;
        margin-bottom: 2px;
    }
    .glass-nav-links .glass-dropbtn {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 14px;
        font-size: 14.5px;
        font-weight: 500;
        border-radius: 12px;
        color: var(--text-dark, #1e293b);
        border: none;
        background: transparent;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .glass-nav-links .glass-dropbtn .nav-left-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .glass-nav-links .glass-dropbtn .nav-chevron {
        font-size: 12px;
        color: #94a3b8;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
        margin-left: auto;
    }
    .glass-nav-links .glass-dropdown.open .glass-dropbtn .nav-chevron {
        transform: rotate(180deg);
        color: var(--secondary, #c24b3e);
    }
    .glass-nav-links .glass-dropdown.open .glass-dropbtn {
        background: rgba(22, 50, 92, 0.05);
        color: var(--primary, #16325c);
        font-weight: 600;
    }
    .glass-nav-links .glass-dropdown-content {
        position: relative;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--secondary, #c24b3e);
        border-radius: 0;
        margin-left: 20px;
        margin-top: 2px;
        margin-bottom: 4px;
        display: block !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0 0 0 10px;
        top: auto;
        left: auto;
        background: transparent;
        min-width: unset;
        animation: none;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    }
    .glass-nav-links .glass-dropdown.open .glass-dropdown-content {
        max-height: 800px;
        opacity: 1;
        padding: 4px 0 6px 10px;
    }
    .glass-nav-links .glass-dropdown-content a {
        padding: 7px 10px;
        font-size: 13.5px;
        gap: 8px;
        color: #334155;
    }
    .glass-nav-links .glass-dropdown-content a .dropdown-icon {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    .sidebar-contact-card {
        display: block;
        margin-top: 16px;
        padding: 14px;
        background: #f8fafc;
        border-radius: 14px;
        border: 1px solid rgba(22, 50, 92, 0.08);
        text-align: center;
    }
    .sidebar-cta-title {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--text-dark, #1e293b);
        margin-bottom: 10px;
    }
    .sidebar-contact-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 8px;
    }
    .sidebar-call-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #ffffff !important;
        color: var(--primary, #16325c) !important;
        border: 1px solid rgba(22, 50, 92, 0.15) !important;
        padding: 9px 10px !important;
        border-radius: 8px;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-decoration: none;
    }
    .sidebar-wa-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #25d366 !important;
        color: #ffffff !important;
        border: none !important;
        padding: 9px 10px !important;
        border-radius: 8px;
        font-size: 13px !important;
        font-weight: 600 !important;
        cursor: pointer;
    }
    .sidebar-appt-btn {
        width: 100%;
        background: linear-gradient(135deg, #10c85e 0%, #00ab4e 100%) !important;
        color: #ffffff !important;
        border: none;
        padding: 11px 18px;
        border-radius: 50px;
        font-size: 13.5px;
        font-weight: 700;
        cursor: pointer;
        font-family: 'Work Sans', sans-serif;
        box-shadow: 0 4px 14px rgba(16, 200, 94, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.25s ease;
    }
    .sidebar-appt-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(16, 200, 94, 0.45);
    }
    .nav-call-btn {
        display: none !important;
    }
    /* Mobile Header optimization: Hide header appointment button */
    .nav-cta-btn {
        display: none !important;
    }
    .glass-nav-container {
        padding: 0 16px;
        height: 60px;
    }
    .glass-logo img {
        height: 44px;
        max-width: 260px;
    }
    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 2000000000 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .sidebar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
    .glass-burger {
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        background: rgba(22, 50, 92, 0.06) !important;
        border: 1px solid rgba(22, 50, 92, 0.12) !important;
        cursor: pointer !important;
        gap: 4px !important;
        transition: all 0.2s ease !important;
        outline: none !important;
    }
    .glass-burger:hover,
    .glass-burger:active {
        background: rgba(22, 50, 92, 0.12) !important;
    }
    .glass-burger span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background-color: var(--primary, #16325c) !important;
        border-radius: 2px !important;
        transition: all 0.25s ease !important;
    }
    .section {
        padding: 60px 24px;
    }
    .slider_main {
        height: 240px;
    }
    .services_intro {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .intro_text ul li {
        text-align: left;
    }
    .second_nav {
        margin-top: -20px;
        padding: 10px;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .second_nav ul {
        display: none;
    }
    .second_nav_toggle {
        display: block;
        width: 100%;
        padding: 14px 18px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background-color: var(--white);
        font-size: 15px;
        color: var(--text-dark);
        font-weight: 600;
        outline: none;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- BLOG PAGES STYLING --- */
.blog-header {
    padding: 140px 24px 70px;
    text-align: center;
    background: var(--gradient-soft);
    border-bottom: 1px solid var(--border-color);
}
.blog-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: 'Outfit', 'Work Sans', sans-serif;
}
.blog-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.blog-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;
}
.blog-post {
    background-color: var(--white);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: 'Outfit', 'Work Sans', sans-serif;
}
.blog-date {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
    background-color: rgba(0, 60, 165, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-feature-image {
    margin: 0 0 24px;
    border-radius: 16px;
    overflow: hidden;
    max-height: 450px;
    box-shadow: var(--shadow-sm);
}
.blog-feature-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}
.blog-content p {
    margin-bottom: 16px;
}
.blog-content h2, .blog-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-family: 'Outfit', 'Work Sans', sans-serif;
}
.blog-content ul, .blog-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.blog-content li {
    margin-bottom: 8px;
}
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

/* --- PRIMECARE LIST STYLE --- */
.primecare-list {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 24px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.primecare-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 18px;
    border-radius: 16px;
    transition: all 0.3s ease;
}
.primecare-list li:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.primecare-list li p {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
}
.primecare-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.primecare-list li:hover .primecare-icon {
    background: var(--gradient-brand);
    color: var(--white);
    transform: scale(1.05);
}

/* ==========================================================================
   REDESIGNED SUBPAGES COMPONENT SYSTEM (Programs, Success Stories, FAQs)
   ========================================================================== */

/* Programs Page Styling */
.program {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 24px;
}
.program-text {
    background-color: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-text:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.program-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}
.program-text h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
}
.programm {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}
.heglight {
    font-weight: 700;
    color: #b91c1c; /* Accent red for notes */
}
.heglight2 {
    font-weight: 700;
    color: var(--text-dark);
}

/* Success Stories Page Styling */
.success_stories {
    text-align: center;
    padding: 60px 24px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.success_stories h1 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: 'Outfit', 'Work Sans', sans-serif;
}
.success_stories p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.success {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.success_main {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.success_main:nth-child(even) {
    flex-direction: row-reverse;
}
.success_main:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.success-img {
    flex: 0 0 300px;
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
}
.success-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.success-text {
    flex: 1;
}
.success-text h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Outfit', 'Work Sans', sans-serif;
}
.success-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Gallery / Babies Grid */
.success-section2 {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 24px;
    text-align: center;
}
.succes-text2 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.success-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.success-img-clint {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 220px;
    transition: transform 0.3s ease;
}
.success-img-clint:hover {
    transform: scale(1.03);
}
.success-img-clint img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.grp-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 40px;
}
.grp-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* FAQ Page Styling */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;
}
.faq-section h1 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Outfit', 'Work Sans', sans-serif;
}
.faq-section h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 40px 0 20px;
    font-family: 'Work Sans', sans-serif;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .success_main {
        flex-direction: column !important;
        gap: 20px;
    }
    .success-img {
        flex: 0 0 auto;
        width: 100%;
        height: 240px;
    }
    .success_stories h1 {
        font-size: 2.2rem;
    }
    .faq-section h1 {
        font-size: 2.2rem;
    }
}

/* Sidebar default hidden on desktop */
@media (min-width: 1121px) {
    .sidebar-close {
        display: none;
    }
    .sidebar-backdrop {
        display: none;
    }
}

/* Bottom Sticky Bar Styles */
.bottom-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 600px;
    height: 68px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 60, 165, 0.16);
    border-radius: 24px;
    z-index: 999;
    display: none !important; /* Hidden on desktop */
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-container {
    width: 100%;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 10px;
    align-items: center;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Work Sans', sans-serif;
    outline: none;
}

.sticky-btn:active {
    transform: scale(0.95);
}

/* Call Us Button */
.sticky-call {
    color: var(--primary);
    background-color: rgba(0, 60, 165, 0.08);
    border: 1px solid rgba(0, 60, 165, 0.15);
}

.sticky-call:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 60, 165, 0.25);
}

/* WhatsApp Button */
.sticky-whatsapp {
    color: #0fa94f;
    background-color: rgba(15, 169, 79, 0.08);
    border: 1px solid rgba(15, 169, 79, 0.15);
}

.sticky-whatsapp:hover {
    background-color: #0fa94f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 169, 79, 0.25);
}

/* Book Appointment Button */
.sticky-appt {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(255, 75, 75, 0.3);
}

.sticky-appt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 75, 75, 0.4);
    filter: brightness(1.05);
}


/* Global responsive image rule */
img {
    max-width: 100%;
    height: auto;
}

/* Packages Grid Styling */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0 60px;
}

.package-card {
    background: #fff;
    border: 1px solid rgba(0, 60, 165, 0.1);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 60, 165, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.package-card.featured {
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(255, 75, 75, 0.15);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 35px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 60, 165, 0.08);
    border-color: rgba(0, 60, 165, 0.2);
}

.package-card.featured:hover {
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(255, 75, 75, 0.18);
}

.package-card h3 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.package-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
    font-family: 'Work Sans', sans-serif;
}

.package-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.package-meta {
    font-size: 0.88rem;
    background: rgba(0, 60, 165, 0.04);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.package-ideal {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 16px;
}

.btn-package-select {
    background: var(--gradient-brand);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: auto; /* Push button to bottom */
    text-align: center;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.15);
}

.btn-package-select:hover {
    box-shadow: 0 6px 20px rgba(255, 75, 75, 0.35);
    filter: brightness(1.05);
    transform: translateY(-2px);
}

@media (min-width: 769px) {
    .package-card.special-forty {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.2fr 2fr;
        gap: 35px;
        align-items: center;
        background: #f8fafc;
        border: 2px solid rgba(0, 60, 165, 0.25);
        padding: 40px;
    }
    
    .special-forty .special-forty-details {
        border-left: 1px solid rgba(0, 60, 165, 0.15);
        padding-left: 35px;
    }
}

.special-forty-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.special-forty-list li {
    font-size: 0.92rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.special-forty-list li i {
    color: var(--secondary);
    font-size: 1rem;
}

/* Tablet Media Query - Hide navigation arrows on tablets */
@media (max-width: 1024px) {
    .slider-arrow {
        display: none !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Responsive overrides */
@media (max-width: 768px) {
    body {
        line-height: 1.55 !important;
        font-size: 14px !important;
    }
    p {
        line-height: 1.55 !important;
        font-size: 0.88rem !important;
        margin-bottom: 0.85rem !important;
    }
    .about-text p, .introduction_text p, .blog-content p, .intro p, .success-text p, .faq-answer p, .package-desc, .footer-desc {
        line-height: 1.55 !important;
        margin-bottom: 0.85rem !important;
        font-size: 0.88rem !important;
    }
    .primecare-list li p {
        margin-bottom: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    .stat-item p {
        margin-bottom: 0 !important;
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
    }
    h1, h2, h3, h4 {
        line-height: 1.25 !important;
    }
    
    /* Float image resets for mobile compatibility */
    .intro_img, .cont_img, .about-image {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px 0 !important;
        display: block !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .service-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .service-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important;
    }
    .service-card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .story-card .story-info {
        padding: 14px 12px !important;
    }

    .blog-card-body {
        padding: 14px 12px !important;
    }

    .success_main {
        flex-direction: column !important;
        gap: 14px !important;
        padding: 14px 12px !important;
    }

    .success-img {
        flex: 0 0 auto;
        width: 100%;
        height: 200px !important;
        border-radius: 12px !important;
    }

    .success_stories h1 {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }

    .faq-section h1 {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
    
    footer {
        padding-top: 36px !important;
        padding-bottom: calc(30px + 65px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    .bottom-sticky-bar {
        display: flex !important;
        position: fixed !important;
        bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 20px) !important;
        max-width: 480px !important;
        height: 56px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(22, 50, 92, 0.12) !important;
        box-shadow: 0 8px 30px rgba(0, 30, 80, 0.16) !important;
        border-radius: 16px !important;
        z-index: 99999 !important;
        padding: 0 6px !important;
        align-items: center !important;
    }
    
    .sticky-container {
        width: 100% !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1.35fr !important;
        gap: 6px !important;
        align-items: center !important;
    }
    
    .sticky-btn {
        height: 42px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
        gap: 5px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        font-family: 'Work Sans', sans-serif !important;
        transition: transform 0.15s ease, background 0.2s ease !important;
    }
    
    .sticky-btn:active {
        transform: scale(0.96) !important;
    }
    
    .sticky-btn i {
        font-size: 13px !important;
    }

    .sticky-call {
        color: #16325c !important;
        background: rgba(22, 50, 92, 0.08) !important;
        border: 1px solid rgba(22, 50, 92, 0.15) !important;
    }

    .sticky-whatsapp {
        color: #0b7036 !important;
        background: #e8f9ee !important;
        border: 1px solid rgba(37, 211, 102, 0.35) !important;
    }

    .sticky-appt {
        color: #ffffff !important;
        background: #c24b3e !important;
        border: none !important;
        box-shadow: 0 3px 10px rgba(194, 75, 62, 0.35) !important;
    }
    
    /* Hero slider mobile redesign - uncovers photo with small bottom text */
    .hero-slider {
        height: 380px !important;
        min-height: 350px !important;
        max-height: 420px !important;
        margin-top: 0 !important;
        position: relative !important;
    }

    .slide img {
        object-fit: cover !important;
        object-position: center top !important;
        transform: none !important;
    }

    /* Keep upper 50% completely transparent so photo and faces are 100% visible */
    .slide-overlay {
        background: linear-gradient(to bottom, 
            rgba(10, 24, 48, 0) 0%, 
            rgba(10, 24, 48, 0) 45%, 
            rgba(10, 24, 48, 0.45) 70%, 
            rgba(10, 24, 48, 0.88) 100%) !important;
    }
    
    /* Anchor text to bottom with small compact styling */
    .slide-content {
        top: auto !important;
        bottom: 16px !important;
        left: 14px !important;
        right: 14px !important;
        transform: none !important;
        max-width: calc(100% - 28px) !important;
        text-align: left !important;
        padding: 0 !important;
        z-index: 5 !important;
    }
    
    .slide-content h1,
    .slide-content .slide-title {
        font-size: clamp(1.1rem, 4.4vw, 1.3rem) !important;
        margin-bottom: 4px !important;
        line-height: 1.22 !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
        text-align: left !important;
    }
    
    .slide-content p {
        display: none !important;
    }
    
    
    .hero-btns {
        justify-content: flex-start !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .hero-btns .btn-hero-primary {
        padding: 6px 14px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        height: 32px !important;
        border-radius: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        gap: 5px !important;
        box-shadow: 0 2px 8px rgba(194, 75, 62, 0.4) !important;
    }
    
    .hero-btns .btn-hero-secondary {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        height: 32px !important;
        border-radius: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.18) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        gap: 5px !important;
    }
    
    .slider-arrow {
        display: none !important;
    }

    /* Slider dots moved to top-right capsule badge to keep photo completely clear */
    .slider-nav {
        top: 14px !important;
        right: 14px !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        background: rgba(10, 24, 48, 0.45) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        padding: 5px 9px !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        gap: 6px !important;
        z-index: 10 !important;
    }
    
    .slider-nav button {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.45) !important;
    }
    
    .slider-nav button.active {
        width: 16px !important;
        border-radius: 4px !important;
        background: #c24b3e !important;
    }
    
    /* Center and constrain standalone CTA buttons on mobile */
    .book_app, .story-btn {
        padding: 9px 18px !important;
        font-size: 12.5px !important;
        width: 100% !important;
        max-width: 240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
        border-radius: 10px !important;
    }
    
    /* Stats grid scale adjustments */
    .stats-bar {
        padding: 18px 12px !important;
        margin-top: -10px !important;
        border-radius: 14px !important;
        gap: 10px !important;
    }
    .stat-item h3 {
        font-size: 1.55rem !important;
        margin-bottom: 2px !important;
    }
    .stat-item p {
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
    }
    
    /* Fix section and container spacing on mobile to avoid double padding */
    .section {
        padding: 24px 12px !important;
    }
    
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .section-title {
        font-size: 1.35rem !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
    }
    
    .section-sub {
        font-size: 0.85rem !important;
        margin-bottom: 14px !important;
        line-height: 1.4 !important;
    }
    
    /* Fix inner subpage banners showing blank/empty gaps */
    .slider_main {
        height: auto !important;
    }

    .package-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .package-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }
    .package-price {
        font-size: 1.35rem !important;
        margin-bottom: 8px !important;
    }
    .package-desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    .package-meta {
        font-size: 0.78rem !important;
        padding: 6px 10px !important;
        border-radius: 6px !important;
    }
    .btn-package-select {
        padding: 9px 16px !important;
        font-size: 12.5px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 480px) {
    .sticky-container {
        grid-template-columns: 1fr 1fr 1.35fr !important;
        gap: 5px;
    }
    
    .sticky-btn {
        padding: 0 4px;
        font-size: 11.5px;
        height: 40px;
        border-radius: 10px;
    }
    
    .sticky-btn span {
        font-size: 11px;
    }
    
    /* Ultra-compact hero text on small phones to keep photo completely visible */
    .hero-slider {
        height: 360px !important;
    }
    .slide-content h1,
    .slide-content .slide-title {
        font-size: 1.1rem !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
    }
    .slide-content p {
        font-size: 0.74rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    .hero-btns .btn-hero-primary,
    .hero-btns .btn-hero-secondary {
        font-size: 11px !important;
        padding: 5px 11px !important;
        height: 30px !important;
    }

    .special-forty-list {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .glass-nav-container {
        padding: 0 14px;
    }
    .glass-logo img {
        height: 38px;
        max-width: 240px;
    }
}

/* WhatsApp Subject Selector Popup Styles */
.wa-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(18, 20, 29, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2100; /* Above regular modals */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wa-overlay.open {
    display: flex;
    opacity: 1;
}

.wa-modal {
    background-color: var(--white);
    border-radius: 24px;
    padding: 35px 30px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 30px 70px rgba(18, 20, 29, 0.2);
    border: 1px solid var(--border-color);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.wa-overlay.open .wa-modal {
    transform: translateY(0);
}

.wa-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #0fa94f;
    margin-bottom: 20px;
}

.wa-header i {
    font-size: 2.2rem;
}

.wa-header h2 {
    font-size: 1.6rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.2;
}

.wa-modal p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.wa-modal select {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 24px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Work Sans', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    color: var(--text-dark);
}

.wa-modal select:focus {
    border-color: #0fa94f;
    box-shadow: 0 0 0 4px rgba(15, 169, 79, 0.1);
}

.wa-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
    transition: color 0.2s;
}

.wa-close:hover {
    color: var(--text-dark);
}

.btn-wa-submit {
    background: #0fa94f;
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 4px 15px rgba(15, 169, 79, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-wa-submit:hover {
    background: #0d9645;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 169, 79, 0.35);
}

@media (max-width: 480px) {
    .wa-modal {
        padding: 28px 20px;
    }
    .wa-header h2 {
        font-size: 1.4rem;
    }
    .wa-modal p {
        font-size: 0.9rem;
    }
}


/* Modals & Overlays styles for WhatsApp and Appointments */
.appt-overlay, .wa-overlay, .success-overlay {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important; height: 100vh !important;
  background-color: rgba(11, 26, 48, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 2147483647 !important; /* Above ALL other elements */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box !important;
}

.appt-overlay.open, .wa-overlay.open {
  display: flex !important;
  opacity: 1 !important;
}

.appt-modal, .wa-modal {
  background-color: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 30px 70px rgba(18, 20, 29, 0.2);
  border: 1px solid rgba(0, 60, 165, 0.08);
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 94vh;
  overflow: hidden;
}

.appt-overlay.open .appt-modal, .wa-overlay.open .wa-modal {
  transform: translateY(0) !important;
}

.appt-close, .wa-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 30px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.appt-close:hover, .wa-close:hover {
  color: var(--secondary);
}

.wa-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0fa94f;
  margin-bottom: 20px;
}

.wa-header i {
  font-size: 2.2rem;
}

.wa-header h2 {
  font-size: 1.6rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.2;
}

.btn-wa-submit {
  background-color: #0fa94f;
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(15, 169, 79, 0.2);
  transition: all 0.25s ease;
}

.btn-wa-submit:hover {
  background-color: #0d9343;
  box-shadow: 0 6px 20px rgba(15, 169, 79, 0.3);
  transform: translateY(-1px);
}

/* Floating Action Stack on Bottom Right (Call and WhatsApp) */
.floating-right-stack {
  position: fixed;
  right: 24px;
  bottom: 28px;
  top: auto;
  transform: none;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-stack-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff !important;
  font-size: 20px;
}

.float-stack-btn:hover {
  transform: scale(1.1) translateX(-4px);
}

.float-stack-btn.call-btn {
  background: #16325c;
  box-shadow: 0 8px 24px rgba(0, 60, 165, 0.35);
}

.float-stack-btn.call-btn:hover {
  box-shadow: 0 12px 28px rgba(0, 60, 165, 0.5);
}

.float-stack-btn.wa-btn {
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.float-stack-btn.wa-btn:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.float-stack-btn.estimate-btn {
  background: #c24b3e;
  box-shadow: 0 8px 24px rgba(255, 75, 75, 0.35);
}

.float-stack-btn.estimate-btn:hover {
  box-shadow: 0 12px 28px rgba(255, 75, 75, 0.5);
}

/* Tooltip on hover */
.float-stack-btn .float-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(7, 21, 43, 0.95);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  font-family: 'Work Sans', sans-serif;
}

.float-stack-btn .float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(7, 21, 43, 0.95);
}

.float-stack-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-right-stack {
    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: 20px;
    max-width: 360px;
    width: 100%;
    padding: 28px 24px 24px;
    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: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}
.lang-modal-close:hover {
    color: #0f172a;
}
.lang-modal-icon {
    width: 48px;
    height: 48px;
    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.4rem;
    margin: 0 auto 12px;
}
.lang-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 18px;
}
.lang-modal-sub {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}
.lang-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}
.lang-choice-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    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 8px 20px rgba(0, 60, 165, 0.1);
}
.lang-choice-card.active {
    border-color: var(--primary, #003ca5);
    background: rgba(0, 60, 165, 0.04);
    box-shadow: 0 4px 16px rgba(0, 60, 165, 0.12);
}
.lang-choice-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #003ca5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.lang-badge-hi {
    background: #c24b3e;
}
.lang-choice-title {
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    display: block;
}
.lang-choice-desc {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}
.lang-choice-check {
    font-size: 1.1rem;
    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: 420px) {
    .lang-modal-card { max-width: 100%; margin: 0 16px; padding: 22px 16px 20px; }
    .lang-modal-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lang-choice-card { padding: 14px 10px; }
}

/* 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); }
}
.faq-live-toolbar {
    display: flex;
    justify-content: flex-start;
    margin: 15px 0;
}
.btn-live-add-faq {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.92rem;
    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;
}

/* ==========================================================================
   MASTER LANGUAGE & DESKTOP ISOLATION RULES
   - Hide Hindi subtitles & category lines by default (in English)
   - Show only when user selects Hindi (body.lang-hi or html[lang="hi"])
   ========================================================================== */
.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;
}

/* 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;
}
.table-swipe-hint {
    display: none;
}

/* ==========================================================================
   MASTER MOBILE OPTIMIZATION OVERRIDES (max-width: 768px)
   Redesigned UI for Mobile:
   - ZERO white space after footer
   - Prominently sized About image (250px)
   - Slightly bigger, highly readable mobile typography
   - Segmented toggle switch for Clinical Verticals
   - Side-by-side balanced action buttons
   - Appointment popup strictly above all (z-index: 2147483647)
   - Clean 10px side margins across every component
   - Desktop (> 768px and > 1120px) remains 100% untouched
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Global Reset & Eliminate ANY White Space After Footer */
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        background-color: #0b1a30 !important; /* Seamless match with footer - zero white gap */
        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;
        background-color: var(--bg-light, #f8fafc) !important;
    }

    /* Appointment popup strictly above ALL on mobile */
    .appt-overlay, .wa-overlay, .success-overlay {
        z-index: 2147483647 !important;
    }
    .appt-modal, .wa-modal, .success-modal {
        z-index: 2147483647 !important;
        max-height: 94vh !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .appt-modal {
        overflow: hidden !important;
    }
    .wa-modal, .success-modal {
        overflow-y: auto !important;
    }

    /* Container & Edge Margins (Clean 10px gutters) */
    .section, section {
        padding: 22px 0 !important;
        margin: 0 !important;
    }
    .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. Sized-Up Mobile Typography (Crisp, comfortable, easy to read) */
    h1, .hero-slide h1, .slide-content h1, .slide-content .slide-title {
        font-size: 1.52rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    h2, .section-title {
        font-size: 1.34rem !important;
        line-height: 1.28 !important;
        margin-bottom: 8px !important;
    }
    h3 {
        font-size: 1.20rem !important;
        line-height: 1.32 !important;
        margin-bottom: 6px !important;
    }
    h4 {
        font-size: 1.08rem !important;
        line-height: 1.35 !important;
        margin-bottom: 4px !important;
    }
    p, .section-desc, .service-card p, .story-info p {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        color: #334155 !important;
    }
    /* Hero sub-heading must stay white on dark background - HIDDEN on mobile for cleaner look */
    .slide-content p {
        display: none !important;
    }
    .slide-content h1,
    .slide-content .slide-title {
        color: rgba(255, 255, 255, 1) !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    }
    li, .about-list li, .primecare-list li p {
        font-size: 0.94rem !important;
        line-height: 1.52 !important;
    }
    .service-h1-hi, .faq-sub-hi, .service-desc-hi {
        font-size: 1.0rem !important;
        line-height: 1.48 !important;
        margin-top: 4px !important;
    }

    /* 3. Hero Slider Mobile Polish & SIDE-BY-SIDE Buttons */
    .hero-slider {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    .hero-slide {
        height: 250px !important;
    }
    .hero-slide-bg {
        object-position: center top !important;
    }
    .slide-content {
        padding: 14px 12px 14px !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: linear-gradient(to top, rgba(11, 26, 48, 0.96) 0%, rgba(11, 26, 48, 0.78) 65%, transparent 100%) !important;
    }
    .hero-btns {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 10px 0 0 0 !important;
    }
    .hero-btns .btn-hero-primary,
    .hero-btns .btn-hero-secondary {
        width: 100% !important;
        height: 38px !important;
        padding: 0 6px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    /* 4. Stats Counter Bar */
    .stats-bar, .stats-section {
        padding: 12px 8px !important;
        margin: 0 !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .stat-item {
        padding: 8px 6px !important;
    }
    .stat-number {
        font-size: 1.55rem !important;
        line-height: 1.1 !important;
    }
    .stat-label {
        font-size: 0.80rem !important;
        line-height: 1.28 !important;
    }

    /* 5. Section 2: About Dr. Noopur - PROMINENT IMAGE & SIDE-BY-SIDE Buttons */
    .about-image {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        margin: 18px auto 0 !important;
        box-shadow: 0 10px 28px rgba(0, 60, 165, 0.12) !important;
    }
    .about-image img {
        width: 100% !important;
        height: 250px !important;
        max-height: 280px !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
        border-radius: 18px !important;
    }
    .about-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 18px !important;
    }
    .about-actions .btn-hero-primary,
    .about-actions .btn-welcome-consult {
        width: 100% !important;
        height: 42px !important;
        padding: 0 8px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 22px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        gap: 6px !important;
        letter-spacing: 0.01em !important;
    }
    .about-actions .btn-hero-primary {
        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;
        text-decoration: none !important;
    }
    .about-actions .btn-welcome-consult {
        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;
    }
    .about-actions .btn-hero-primary i,
    .about-actions .btn-welcome-consult i {
        font-size: 12px !important;
        margin: 0 !important;
    }

    /* 6. Section 3: PrimeCare Promise Mobile Polish */
    .primecare-list {
        margin: 16px 0 !important;
        padding: 0 !important;
    }
    .primecare-list li {
        padding: 12px 14px !important;
        gap: 12px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }
    .primecare-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 1.05rem !important;
        border-radius: 10px !important;
    }

    /* 7. Section 4: Dual Clinical Verticals - SEGMENTED TOGGLE SWITCH */
    .dept-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 18px auto !important;
        padding: 4px !important;
        border-radius: 30px !important;
        background: #e2e8f0 !important;
        border: 1px solid rgba(0, 60, 165, 0.12) !important;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.05) !important;
    }
    .dept-tab-btn {
        width: 100% !important;
        height: 40px !important;
        padding: 0 4px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 24px !important;
        white-space: nowrap !important;
        gap: 5px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        color: #475569 !important;
    }
    .dept-tab-btn.active {
        background: linear-gradient(135deg, #16325c 0%, #0b1a30 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 3px 10px rgba(11, 26, 48, 0.22) !important;
    }
    .dept-tab-btn i {
        font-size: 12px !important;
    }

    /* Service Cards Grid on Homepage */
    .services-grid, .treatments-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 !important;
    }
    .service-card {
        padding: 14px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 0 !important;
    }
    .service-icon, .service-card-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.20rem !important;
        border-radius: 12px !important;
        margin-bottom: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .service-card h3 {
        font-size: 1.12rem !important;
        margin-bottom: 4px !important;
    }
    .service-card p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }
    .service-link, .service-card .card-link {
        font-size: 0.86rem !important;
        font-weight: 600 !important;
    }

    /* 8. Success Stories Mobile Polish */
    .stories-grid, .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .story-card, .testimonial-card {
        padding: 14px 12px !important;
        border-radius: 14px !important;
        margin-bottom: 10px !important;
    }
    .story-card img {
        height: 170px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }
    .story-info h4 {
        font-size: 1.12rem !important;
        margin: 8px 0 4px 0 !important;
    }
    .story-info p, .testimonial-card p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }
    .story-btn {
        height: 36px !important;
        font-size: 12px !important;
        padding: 0 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
    }

    /* 9. Section 6: FAQs and Blog on Homepage */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        width: 100% !important;
    }
    .about-grid .section-title {
        font-size: 1.34rem !important;
        margin-bottom: 14px !important;
    }

    /* Breadcrumbs / Sitemap Hide on Mobile (User Request) */
    .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;
    }

    /* Dark CTA Cards (FAQ bottom CTA, Blog CTA, etc.) - Bright White & Light Slate text */
    .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;
    }

    /* FAQ Page 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 Items (Homepage & Inside Pages) */
    .about-grid .faq-accordion, .about-grid .faq, .faq, .faq-item {
        background: #ffffff !important;
        border-radius: 12px !important;
        margin-bottom: 9px !important;
        border: 1px solid #e2e8f0 !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;
    }
    .about-grid .faq .faq-question, .faq-question {
        padding: 12px 14px !important;
        font-size: 0.94rem !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;
        cursor: pointer !important;
        box-sizing: border-box !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;
    }
    .about-grid .faq .faq-answer p, .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;
        margin: 0 !important;
        text-align: left !important;
    }
    .faq-answer strong {
        color: #0e2246 !important;
        font-weight: 600 !important;
    }

    /* Blog Mobile Category Dropdown + Searchbar on Same Line */
    .blog-filter-controls {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .blog-cat-select-wrap {
        display: block !important;
        flex: 1 1 48% !important;
        max-width: 50% !important;
        position: relative !important;
    }
    .blog-cat-select-wrap select {
        width: 100% !important;
        height: 42px !important;
        padding: 0 28px 0 10px !important;
        border-radius: 8px !important;
        border: 1px solid #cbd5e1 !important;
        font-size: 0.86rem !important;
        color: #0e2246 !important;
        background-color: #ffffff !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        text-overflow: ellipsis !important;
    }
    .blog-cat-select-wrap::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: var(--primary);
        font-size: 0.8rem;
    }
    .blog-search-box {
        flex: 1 1 52% !important;
        max-width: 52% !important;
        margin: 0 !important;
    }
    .blog-search-box input {
        height: 42px !important;
        font-size: 0.86rem !important;
    }
    .blog-search-box button {
        height: 42px !important;
        padding: 0 12px !important;
    }

    /* Homepage Blog List Container */
    .homepage-blog-list,
    .about-grid > div > div[style*="flex-direction: column"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Homepage Blog Cards */
    .about-grid .blog-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        background: #ffffff !important;
        border-radius: 14px !important;
        padding: 12px !important;
        margin-bottom: 8px !important;
        border: 1px solid rgba(0, 60, 165, 0.08) !important;
        box-shadow: 0 4px 14px rgba(0, 60, 165, 0.04) !important;
    }
    .about-grid .blog-card-img {
        width: 110px !important;
        min-width: 110px !important;
        height: 74px !important;
        aspect-ratio: 3 / 2 !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        background: #f8fafc !important;
    }
    .about-grid .blog-card-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    .about-grid .blog-card-body {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        flex: 1 !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    .about-grid .blog-card-body span {
        font-size: 0.70rem !important;
        font-weight: 700 !important;
        color: var(--primary) !important;
        margin-bottom: 2px !important;
        display: inline-block !important;
        text-transform: uppercase !important;
    }
    .about-grid .blog-card-body h3 {
        font-size: 0.96rem !important;
        line-height: 1.32 !important;
        margin: 0 0 3px 0 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .about-grid .blog-card-body h3 a {
        color: var(--primary-dark) !important;
        text-decoration: none !important;
    }
    .about-grid .blog-card-body p {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
        color: var(--text-light) !important;
        margin: 0 0 4px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .about-grid .blog-read-more {
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: var(--secondary) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    /* Section CTA Action Buttons across Homepage */
    .about-grid a.btn-hero-primary,
    .section a.btn-hero-primary {
        height: 38px !important;
        font-size: 13px !important;
        padding: 0 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
    }

    /* 10. Blog Directory on /blog */
    .blog-wrapper {
        padding: 14px 10px 40px !important;
        max-width: 100% !important;
    }
    .blog-nav-bar {
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
    }
    .blog-crumb {
        font-size: 0.82rem !important;
        gap: 6px !important;
    }
    .blog-hero-header {
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }
    .blog-hero-header h1 {
        font-size: 1.52rem !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
    }
    .blog-hero-header p {
        font-size: 0.94rem !important;
        line-height: 1.55 !important;
    }
    .blog-filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    .blog-pills-list {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .blog-pill-btn {
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
        border-radius: 8px !important;
        flex: 0 1 auto !important;
        white-space: normal !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 38px !important;
        line-height: 1.25 !important;
        border: 1.5px solid #cbd5e1 !important;
    }
    .blog-pill-btn.active {
        background: #16325c !important;
        color: #ffffff !important;
        border-color: #16325c !important;
        box-shadow: 0 2px 8px rgba(22, 50, 92, 0.2) !important;
    }
    .blog-pill-btn:not(.active) {
        background: #ffffff !important;
        color: #334155 !important;
    }
    .blog-search-box {
        min-width: 100% !important;
        width: 100% !important;
    }
    .blog-search-box input {
        padding: 9px 14px 9px 36px !important;
        font-size: 0.86rem !important;
        border-radius: 8px !important;
    }
    .blog-search-box i {
        font-size: 0.84rem !important;
        left: 12px !important;
    }
    .blog-articles-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .blog-card-media {
        height: 180px !important;
    }
    .blog-card-content {
        padding: 14px 12px !important;
    }
    .blog-card-title {
        font-size: 1.18rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    .blog-card-excerpt {
        font-size: 0.90rem !important;
        line-height: 1.52 !important;
        margin-bottom: 12px !important;
    }
    .blog-read-link {
        font-size: 0.88rem !important;
    }

    /* Single Article Full Page on /blog?id=... */
    .article-header {
        margin-bottom: 16px !important;
    }
    .article-cat-badge {
        font-size: 0.78rem !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
    }
    .article-main-title {
        font-size: 1.52rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    .article-meta-row {
        gap: 10px !important;
        font-size: 0.84rem !important;
    }
    .article-featured-img {
        max-height: 220px !important;
        margin-bottom: 16px !important;
        border-radius: 12px !important;
    }
    .article-body {
        font-size: 0.98rem !important;
        line-height: 1.68 !important;
    }
    .article-cta-box {
        padding: 18px 14px !important;
        margin-top: 24px !important;
        border-radius: 14px !important;
    }

    /* 11. VACCINATION SCHEDULE TABLE & SWIPE HINT */
    .table-swipe-hint {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 0.80rem !important;
        color: var(--secondary) !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        padding: 8px 10px !important;
        background: rgba(0, 60, 165, 0.05) !important;
        border-radius: 8px !important;
    }
    .vaccine-list-section,
    #vaccine-list,
    #vaccine-list[style*="padding"] {
        padding: 14px 10px !important;
        margin: 10px auto !important;
        border-radius: 14px !important;
    }
    #vaccine-list .heading_intro h3 {
        font-size: 1.20rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .vaccine-table-scroll,
    #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.84rem !important;
        min-width: 530px !important;
    }
    #vaccine-list th {
        padding: 10px 10px !important;
        font-size: 0.80rem !important;
        white-space: nowrap !important;
    }
    #vaccine-list td {
        padding: 10px 10px !important;
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }
    #vaccine-list td span {
        font-size: 0.76rem !important;
    }

    /* 12. Full-Page Subpage Overrides (inside pages) */
    .services {
        padding: 4px 10px 0 !important;
    }
    .inside-breadcrumb-wrap, .faq-breadcrumb {
        padding: 10px 10px 0 !important;
    }
    .inside-breadcrumb a, .inside-breadcrumb span {
        font-size: 0.80rem !important;
    }
    .service_box, .service-hero-card {
        padding: 14px 12px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }
    .service-hero-title, .faq-main-h1 {
        font-size: 1.52rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }
    .intro-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .intro-img-frame {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        border-radius: 12px !important;
    }
    .intro-img-frame img {
        height: 180px !important;
        object-fit: cover !important;
    }
    .service-cta-btns {
        flex-direction: row !important;
        gap: 8px !important;
    }
    .service-cta-btns a, .service-cta-btns button {
        flex: 1 1 0 !important;
        width: 100% !important;
        font-size: 13px !important;
        padding: 0 8px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
    }
    .introduction {
        padding: 16px 12px !important;
        margin-bottom: 10px !important;
        border-radius: 14px !important;
    }
    .introduction_text ul, .introduction_text ol {
        padding-left: 18px !important;
        margin: 6px 0 !important;
    }
    .introduction_text li {
        font-size: 0.94rem !important;
        line-height: 1.55 !important;
        margin-bottom: 6px !important;
    }

    /* 13. Footer & Zero White Space Guarantee */
    footer {
        padding-top: 30px !important;
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
        margin-bottom: 0 !important;
    }
    .footer-bottom {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .footer-bottom p {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .mobile-sticky-bar {
        height: 52px !important;
    }
    .sticky-btn {
        font-size: 11.5px !important;
    }

    /* 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;
    }

}

/* ========================================================
   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;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    grid-auto-rows: 130px;
    gap: 12px;
    align-content: start;
}
.wp-grid-item {
    position: relative;
    width: 100%;
    height: 130px;
    min-height: 130px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border: 2.5px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    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 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wp-media-load-more-bar {
    padding: 14px 16px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}
.wp-btn-load-more {
    background: #f1f5f9;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 24px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}
.wp-btn-load-more:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}
.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: fixed !important;
    width: auto !important;
    max-width: max-content !important;
    right: auto !important;
    bottom: auto !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 14px !important;
    border-radius: 24px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), 0 0 0 1.5px rgba(255, 255, 255, 0.35) !important;
    cursor: pointer !important;
    z-index: 9999999 !important;
    line-height: 1 !important;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease !important;
    animation: badgePop 0.15s ease-out !important;
    pointer-events: auto !important;
}
.florentine-image-edit-badge:hover {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
}
.florentine-image-edit-badge i {
    font-size: 12px !important;
    color: #e0f2fe !important;
}
@keyframes badgePop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

body.live-edit-active img.florentine-editable-image-block {
    cursor: pointer;
    transition: outline 0.15s ease;
}
body.live-edit-active img.florentine-editable-image-block:hover {
    outline: 2.5px dashed #0284c7;
    outline-offset: 3px;
}

/* Always-visible persistent image edit button when live editing is active */
.florentine-img-edit-wrap {
    position: relative !important;
    display: inline-block !important;
    max-width: 100% !important;
    vertical-align: middle;
}
.florentine-img-edit-wrap.block-wrap {
    display: block !important;
}
body:not(.live-edit-mode-active) .florentine-img-static-btn {
    display: none !important;
}
body.live-edit-mode-active .florentine-img-static-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 9999 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 20px !important;
    padding: 6px 13px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
    animation: badgePop 0.15s ease-out;
}
body.live-edit-mode-active .florentine-img-static-btn:hover {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    transform: scale(1.05) !important;
}

