/* 
 * AlignBody - Premium Physiotherapy Website Styles
 * Theme: Clean, Medical, Trustworthy, High-end
 */

/* =========================
   CSS VARIABLES (IMPORTANT FIX)
========================= */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
    /* Color Palette */
    --primary-color: #2B6CB0;
    /* Deep Medical Blue */
    --primary-light: #4299E1;
    /* Lighter Blue */
    --primary-soft: rgba(43, 108, 176, 0.1);
    --secondary-color: #38B2AC;
    /* Teal/Cyan Accent */
    --secondary-soft: rgba(56, 178, 172, 0.1);
    --warning-soft: rgba(236, 201, 75, 0.1);
    --text-dark: #2D3748;
    /* Dark Slate */
    --text-muted: #718096;
    /* Gray */
    --bg-light: #F7FAFC;
    /* Off-white background */
    --bg-white: #FFFFFF;
    /* Spacing & Layout */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* =========================
   GLOBAL RESET & TYPOGRAPHY
========================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    /* overflow-x: hidden REMOVED — this was blocking ALL child horizontal scroll */
    -webkit-font-smoothing: antialiased;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    line-height: 1.2;
}

h2 {
    line-height: 1.3;
}

.letter-spacing-2 {
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* =========================
   COLOR UTILITIES
========================= */
.text-primary {
    color: var(--primary-color) !important;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

.-color {
    color: var(--secondary-color) !important;
}

. {
    color: var(--text-muted) !important;
}

.text-primary-dark {
    color: #003B5C !important;
}

.bg-primary-soft {
    background-color: var(--primary-soft) !important;
}

.bg-secondary-soft {
    background-color: var(--secondary-soft) !important;
}

.bg-warning-soft {
    background-color: var(--warning-soft) !important;
}

.bg-primary-dark {
    background-color: #003B5C !important;
}

/* =========================
   BUTTONS
========================= */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-pill {
    border-radius: 50rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    box-shadow: 0 4px 6px rgba(43, 108, 176, 0.25);
}

    .btn-primary:hover {
        background: #2c5282;
        transform: translateY(-2px);
        box-shadow: 0 8px 12px rgba(43, 108, 176, 0.3);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-primary-dark {
    background: #073d60;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 5px;
    font-weight: normal;
}

    .btn-primary-dark:hover {
        background-color: #002a42;
        transform: translateY(-2px);
    }

/* =========================
   TOP BAR
========================= */
.top-bar {
    background-color: #003B5C;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

ul.dropdown-menu.dropdown-menu-center.show {
    width: 100%;
}

.top-bar i {
    margin-right: 0.5rem;
}

.social-icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #fff;
    color: #003B5C;
    border-radius: 4px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .social-icon-square:hover {
        background-color: var(--primary-light);
        color: #fff;
        transform: translateY(-2px);
    }

/* =========================
   NAVBAR
========================= */
.navbar {
    padding: 1rem 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* .space1 {
    margin-left: -137px;
} */

/* .space {
    margin-left: 420px;
}

.space1 {
    margin-left: 166px;
    margin-right: -265px;
} */
/* Use Bootstrap utilities instead of fixed margins */
.gap-custom {
    gap: 2rem;
}

/* .navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
} */

/* .brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
} */

.brand-tagline {
    font-size: 0.7rem;
    background-color: #003B5C;
    color: #fff;
    padding: 3px 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
    border-radius: 2px;
}

/* Responsive Logo */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
        /* Smaller logo on mobile */
        width: auto;
    }

    .brand-tagline {
        font-size: 0.6rem;
    }
}

.nav-link {
    font-weight: 600;
    color: #003B5C !important;
    margin: 0 0.8rem;
    font-size: 1rem;
}


    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-light) !important;
    }

.phone-icon-circle {
    width: 40px;
    height: 40px;
    background-color: #003B5C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}


h2.font-size.display-5.fw-bold.mb-4 {
    font-size: 31px;
}

.phone-icon-circle:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
}


/* Specific adjustment for full-width services dropdown if needed, but keeping global for now */

/* Specific adjustment for full-width services dropdown if needed, but keeping global for now */

#hero {
    /* min-height: 500px; */
    /* Use 'fixed' only for desktops if needed, but often buggy on mobile. Using 'scroll' is safer, or media query. */
    background: url('http://127.0.0.1:5501/Align_bodyN/images/blog9.webp') no-repeat center center;
    background-size: cover;
    /* background-attachment: fixed; */
    /* position: relative; */
    z-index: 1;
    /* overflow: hidden; */
}
    #hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('../images/hero.webp');
    }
@media (max-width: 991.98px) {
    #hero {
        height: auto;
        padding-top: 100px;
        /* Space for fixed navbar if needed */
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-bg-carousel .carousel-item {
        height: 100%;
        /* Allow content to dictate height */
        min-height: 100vh;
        /* Ensure it covers at least viewport */
    }
}



#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient overlay for better text readability */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: -1;
}

.w-100.py-4.mt-auto.stats-strip {
    margin-bottom: 0px;
}

.col-lg-6.mb-5.mb-lg-0.aos-init.aos-animate {
    margin-top: 65px;
}


/* Hero Typography */
.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.hero-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

    .hero-title span.text-primary {
        color: var(--primary-color);
        position: relative;
        display: inline-block;
    }

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
        text-align: left
        /* Slightly smaller for tablets */
    }

    .hero-subtitle {
        font-size: 0.9rem;
        text-align: left
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        /* Mobile friendly */
    }

    /* Center text on mobile for hero */
    #hero .text-lg-start {
        text-align: center !important;
    }

    #hero .col-lg-6 {
        margin-bottom: 2rem !important;
        /* Add space between text and form */
    }

    /* Adjust form container on mobile */
    .glass-card {
        padding: 1.5rem !important;
    }

    /* Adjust button size */
    .btn-lg {
        width: 100%;
        /* Full width button on mobile */
        padding: 0.8rem 1rem;
    }
}

/* Glass Card Style for Form */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.hero-img {
    border: 8px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

    .hero-img:hover {
        transform: scale(1.02);
    }

/* Stats Strip Gradient */
.stats-strip {
    background: linear-gradient(90deg, #003B5C 0%, #005A8D 100%);
    position: relative;
    box-shadow: 0 -4px 20px rgba(0, 59, 92, 0.15);
}

.stat-item {
    transition: transform 0.3s ease;
}

    .stat-item:hover {
        transform: translateY(-5px);
    }

@media (max-width: 576px) {
    .stats-strip .col-6 {
        padding: 0px;
    }

    .stats-strip h4 {
        font-size: 1.2rem;
    }

    .stats-strip h5 {
        font-size: 0.8rem;
    }
}

/* =========================
   CARDS & ICONS
========================= */
/* =========================
   CARDS & ICONS
========================= */
.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

h6.fw-bold.mb-0.text-primary-dark {
    font-size: 11px;
}

.icon-box-lg {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card {
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: rgba(43, 108, 176, 0.1);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
            background-color: var(--primary-color) !important;
            color: #fff !important;
        }

        .service-card:hover .service-bg-icon {
            opacity: 0.1 !important;
            transform: scale(1.2);
            transition: all 0.5s ease;
        }

/* =========================
   TESTIMONIALS
========================= */
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

/* =========================
   FORMS
========================= */
.form-control,
.form-select {
    padding: 0.8rem 1.25rem;
    border-color: #E2E8F0;
    font-size: 0.95rem;
}

    .form-control:focus,
    .form-select:focus {
        box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
        border-color: var(--primary-color);
        background-color: #fff !important;
    }

/* =========================
   CONTACT SECTION
========================= */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    }

/* =========================
   FOOTER
========================= */
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.social-icon-box:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-3px);
}

footer a.hover-white:hover {
    color: #fff !important;
    padding-left: 5px;
}

.footer-cta-btn {
    font-weight: 700;
    transition: all 0.3s ease;
}

    .footer-cta-btn:hover {
        background-color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px) {
    #hero {
        text-align: center;
        min-height: auto;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    /* Stats Strip adjustment */
    .stats-strip .border-start {
        border-right: none !important;
        border-left: none !important;
    }

    .stats-strip .col-6 {
        margin: 0rem;
    }

    /* Services grid */
    .service-card {
        margin-bottom: 20px;
    }
}

@media(max-width:991px) {
    .border-one {
        border-right: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }

    .border-two {
        border-bottom: 1px solid #ffff;
    }

    .border-three {
        border-right: 1px solid #fff;
    }
}

@media (max-width: 768px) {
    .doctor-img-wrapper {
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .doctor-stats-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
        border-bottom: none;
        border-top: 4px solid var(--primary-color);
        width: 90%;
        /* Responsive width */
    }

    /* Footer responsiveness */
    footer .row > div {
        text-align: left;
        margin-bottom: 2rem;
    }

    footer .social-icon-box {
        margin: 0 5px;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* =========================
   DOCTOR IMAGE SECTION
========================= */
.doctor-img-wrapper {
    position: relative;
    padding-bottom: 3rem;
    /* Space for the floating card at bottom */
    padding-left: 2rem;
}

.doctor-img {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-lg);
}

.doctor-stats-card {
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 768px) {
    .doctor-img-wrapper {
        padding-left: 0;
    }

    .doctor-stats-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
        border-bottom: none;
        border-top: 4px solid var(--primary-color);
    }
}

/* =========================
   CHRONIC PAIN SECTION
========================= */
/* =========================
   CHRONIC PAIN SECTION
========================= */
.pain-grid-item {
    transition: all 0.3s ease;
}

.symptom-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    border: 8px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

    .symptom-icon img {
        transition: transform 0.3s ease;
    }

.pain-grid-item:hover .symptom-icon img {
    transform: scale(1.05);
}

/* Border Logic via Utility Classes mostly, but specific tweaks here if needed */
.border-lg-end {
    border-right: 1px solid #dee2e6 !important;
}

@media (max-width: 991.98px) {
    .border-lg-end {
        border-right: none !important;
    }

    #chronic-pain .col {
        border-right: 1px solid #dee2e6;
    }

        #chronic-pain .col:nth-child(even) {
            border-right: none;
        }
}

/* =========================
   FEATURES SECTION
========================= */
.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.feature-item {
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 12px;
}

    .feature-item:hover {
        background-color: #f8f9fa;
        transform: translateX(10px);
    }

        .feature-item:hover .icon-box {
            background-color: var(--primary-color) !important;
            color: #fff !important;
            transform: rotate(10deg);
        }

/* Booking Steps Timeline */
.booking-steps-container {
    position: relative;
}

    .booking-steps-container::before {
        content: '';
        position: absolute;
        left: 40px;
        /* Center of 80px icon */
        top: 40px;
        /* Center of first icon */
        bottom: 40px;
        /* Center of last icon */
        width: 2px;
        background-color: var(--primary-color-dark);
        z-index: 0;
        transform: translateX(-50%);
    }

@media (max-width: 991.98px) {
    .booking-steps-container::before {
        display: none;
        /* Hide line on mobile when stacked */
    }
}

/* Signature Font */
.signature-font {
    font-family: 'Great Vibes', cursive;
}



/* ============ TOP BAR ============ */
.top-bar {
    background-color: #003B5C;
    color: #ffffff;
    font-size: 14px;
    padding: 6px 0;
}

/* ============ NAVBAR ============ */
.custom-navbar {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Nav Links */
.nav-link {
    font-weight: 600;
    color: #003B5C !important;
    margin: 0 10px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: #2B6CB0 !important;
    }

/* Phone Circle Icon */
.phone-icon-circle {
    width: 42px;
    height: 42px;
    background-color: #003B5C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .phone-icon-circle i {
        color: #fff;
    }

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 15px;
}

/* Mega Menu */
.mega-menu {
    width: 900px;
    left: 50%;
    transform: translateX(-50%);
}

/* Dropdown Items */
.dropdown-item {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
}

    .dropdown-item:hover {
        background-color: #f1f5f9;
        color: #003B5C;
    }

/* Mobile Responsive Fix */
@media (max-width: 991px) {
    .mega-menu {
        width: 100%;
        transform: none;
        left: 0;
    }

    .nav-link {
        margin: 5px 12px;
        text-align: left;
    }

    .dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
        width: 100%
    }
}


/* =========================
   HERO SECTION FIX
========================= */
#hero {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}



    /* Dark overlay for readability */
    #hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(237, 235, 239, 0.7);
        z-index: 1;
    }

    /* Content above background */
    #hero .container {
        position: relative;
        z-index: 2;
    }

/* =========================
   HERO TEXT STYLING
========================= */
.hero-subtitle {
    display: inline-block;
    color: #000000;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 30px;
    font-weight: bold;
    color: #073d60;
    line-height: 1.2;
    margin-bottom: 20px;
}

    .hero-title .text-primary {
        color: #073d60 !important;
    }

a.btn.btn-lg.rounded-pill.px-5.py-3.shadow-lg.hover-lift {
    background: #073d60;
    color: white;
}

/* #hero p {
    color: #eaeaea !important;
} */

/* =========================
   GLASS FORM CARD (RIGHT)
========================= */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.text-primary-dark {
    color: #073d60;
}

.btn-primary-dark {
    background: #073d60;
    color: #fff;
    border: none;
}

    .btn-primary-dark:hover {
        background: #073d60;
        color: #fff;
    }

/* =========================
   BUTTON HOVER EFFECTS
========================= */
.hover-lift {
    transition: all 0.3s ease;
}

a.btn.button.btn-lg.rounded-pill.px-5.py-3.shadow-lg.hover-lift {
    background: #073d60;
    color: white;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.hover-scale {
    transition: all 0.3s ease;
}

    .hover-scale:hover {
        transform: scale(1.03);
    }

/* =========================
   STATS STRIP (BOTTOM)
========================= */
.stats-strip {
    background: #073d60;
    position: relative;
    z-index: 2;
}

/* =========================
   MOBILE RESPONSIVE FIX
========================= */
@media (max-width: 991px) {
    #hero {
        padding-top: 80px;
        padding-bottom: 0px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    #hero p {
        max-width: 100% !important;
        text-align: left
    }

    .glass-card {
        margin-top: 20px;
    }
}


/* Accordian section */
/* FAQ Section Styling */
.faq-section {
    background: #f4f6f8;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e3a5f;
}

/* Custom Accordion Card Style */
.custom-accordion .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Question Button */
.custom-accordion .accordion-button {
    background: #ffffff;
    color: #3b3f45;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 20px;
    border-radius: 10px !important;
    box-shadow: none;
}

    /* Hover Effect */
    .custom-accordion .accordion-button:hover {
        background: #f1f3f5;
    }

    /* Active (Opened) Question */
    .custom-accordion .accordion-button:not(.collapsed) {
        background: #ffffff;
        color: #1e3a5f;
        box-shadow: none;
    }

    /* Remove default Bootstrap arrow background */
    .custom-accordion .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

/* Answer Body */
.custom-accordion .accordion-body {
    background: #ffffff;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 15px 20px 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .faq-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .faq-title {
        font-size: 1.5rem;
    }

    .custom-accordion .accordion-button {
        font-size: 0.9rem;
        padding: 15px;
    }

    .custom-accordion .accordion-body {
        font-size: 0.9rem;
    }
}


/* CTA Section Background */
.cta-section {
    background: #f5f7f9;
}

/* Main Box */
.cta-box {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Title Styling */
.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #123c56;
    line-height: 1.3;
}

/* Paragraph Text */
.cta-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.8;
}

/* Button Styling */
.cta-btn {
    background-color: #0f3b57;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

    .cta-btn:hover {
        background-color: #0c2f45;
        color: #fff;
    }

/* Image Wrapper */
.cta-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

/* Image */
.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 991px) {
    .cta-title {
        font-size: 26px;
        text-align: center;
    }

    .cta-text {
        text-align: center;
    }

    .cta-btn {
        display: block;
        margin: auto;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .cta-title {
        font-size: 22px;
    }

    .cta-box {
        padding: 20px !important;
    }
}


/* service  */

/* Section Background */
.services-section {
    background-color: #f5f6f7;
}

/* Heading */
.section-title {
    font-weight: 700;
    color: #0b3558;
    font-size: 28px;
}

/* Service Card */
.service-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    transition: all 0.3s ease;
    height: 100%;
}

    /* Hover Effect */
    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

/* Number */
.service-number {
    font-size: 14px;
    color: #8a8a8a;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

/* Title */
.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #0b3558;
    margin-bottom: 12px;
}

/* Description */
.service-text {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Learn More Link */
.learn-more {
    font-size: 14px;
    font-weight: 600;
    color: #0b3558;
    text-decoration: none;
}

    .learn-more:hover {
        color: #0d6efd;
    }

/* Responsive Tweaks */
@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }

    .service-card {
        padding: 25px 20px;
    }
}


/* About Section */

#about {
    background-color: #ffffff;
}

/* Custom Colors */
.text-primary-dark {
    color: #0b3558;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Icon Box */
.icon-box,
.icon-box-lg {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-lg {
    width: 60px;
    height: 60px;
}

/* Doctor Image */
.doctor-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Floating Stats Card */
.doctor-stats-card {
    /* bottom: 30px; */
    left: -63px;
    max-width: 100%;
    height: 170px;
}

/* Signature Font Style */
/* .signature-font {
    font-family: cursive;
    font-weight: 600;
} */

/* Hover Scale Effect */
.hover-scale {
    transition: 0.3s ease;
}

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

/* Gallery Images */
.hero-img {
    height: 200px;
    object-fit: cover;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .doctor-stats-card {
        position: static !important;
        margin-top: 20px;
        left: 0;
    }

    .card-img-top .object-fit-cover {
        height: auto;
    }
}



/* Section Background */
.contact-section {
    background-color: #f4f6f8;
}

/* Small Title */
.section-small {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #6c757d;
}

/* Main Title */
.section-title {
    font-weight: 700;
    color: #0b3558;
}

/* Map */
.map-box iframe {
    border-radius: 10px;
}

/* Location List */
.location-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

    .location-item i {
        color: #0d6efd;
    }

    .location-item p {
        margin: 0;
        flex: 1;
        font-size: 14px;
    }

h2.display-5.fw-bold.text-primary-dark.mb-4 {
    font-size: 30px;
    color: #0b3558;
}

h2.display-5.fw-bold.text-primary-dark {
    font-size: 30px;
    color: #0b3558;
}
/* Contact Text */
.contact-text {
    color: #6c757d;
    font-size: 15px;
}

/* Form Styling */
.custom-input {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px;
    font-size: 14px;
}

    .custom-input:focus {
        border-color: #0d6efd;
        box-shadow: none;
    }

/* Button */
.submit-btn {
    background-color: #0b3558;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
}

    .submit-btn:hover {
        background-color: #0d6efd;
    }




/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 26px;
    }
}

.footer-menu-block {
    display: none
}

.bottom-menu {
    position: fixed;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0px;
    z-index: 999;
}

    .bottom-menu ul {
        display: flex;
        width: 350px;
        padding: 0px;
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }

        .bottom-menu ul li {
            list-style: none;
            position: relative;
            width: 70px;
            height: 50px;
            z-index: 2;
            background: #ffffff;
            margin: 5px;
            border-radius: 50px;
            margin-bottom: 0px;
        }

            .bottom-menu ul li a {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                width: 100%;
                text-align: center;
            }

                .bottom-menu ul li a .icon {
                    position: relative;
                    display: block;
                    line-height: 45px;
                    font-size: 1em;
                    transition: 0.5s;
                    color: #222327;
                }

            .bottom-menu ul li.active a .icon {
                transform: translateY(-32px);
                color: #224a54;
            }

            .bottom-menu ul li a .text {
                position: absolute;
                background: #003263;
                color: #fff;
                padding: 2px 7px;
                border-radius: 12px;
                font-weight: 400;
                font-size: 0.75em;
                letter-spacing: 0.05em;
                transition: 0.5s;
                opacity: 0;
                transform: translateY(15px);
            }

            .bottom-menu ul li.active a .text {
                transform: translateY(-4px);
                opacity: 1;
            }

.menu-indicator {
    position: absolute;
    top: -35px;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
    transition: 0.5s;
}

    .menu-indicator::before {
        content: "";
        position: absolute;
        top: 5px;
        left: -28px;
        width: 30px;
        height: 30px;
        background: transparent;
        border-radius: 50%;
        box-shadow: 15px 18px #fff;
    }

    .menu-indicator::after {
        content: "";
        position: absolute;
        top: 5px;
        right: -28px;
        width: 30px;
        height: 30px;
        background: transparent;
        border-radius: 50%;
        box-shadow: -15px 18px #fff;
    }

.bottom-menu ul li:nth-child(1).active ~ .menu-indicator {
    transform: translateX(calc(70px * 0));
}

.bottom-menu ul li:nth-child(2).active ~ .menu-indicator {
    transform: translateX(calc(70px * 1));
}

.bottom-menu ul li:nth-child(3).active ~ .menu-indicator {
    transform: translateX(calc(70px * 2));
}

.bottom-menu ul li:nth-child(4).active ~ .menu-indicator {
    transform: translateX(calc(70px * 3));
}

.bottom-menu ul li:nth-child(5).active ~ .menu-indicator {
    transform: translateX(calc(70px * 4));
}


@media(max-width:991px) {
    .footer-menu-block {
        display: none
    }

    .row {
        margin: 0px
    }
}


/* service-2 */

/* Section Background */
.dry-needling {
    background-color: #f5f6f7;
    padding: 60px 0;
}

/* Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b3d5c;
    line-height: 1.3;
}

/* Paragraph */
.section-text {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Video Box (Responsive Fix) */
.video-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%; /* IMPORTANT */
    max-width: 100%; /* Prevent overflow */
}

    /* Image Responsive */
    .video-box img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 16px;
        object-fit: cover;
    }

/* Play Button Center (Re-enable for overlay) */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .play-btn:hover {
        background: #0d6efd;
    }

.play-icon {
    font-size: 26px;
    color: #0d6efd;
}

.play-btn:hover .play-icon {
    color: #fff;
}

/* Video Card Wrapper (NEW) */
.video-card {
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

    /* Video Responsive Inside Card */
    .video-card video {
        width: 100%;
        height: auto;          /* natural aspect ratio */
        max-height: 420px;     /* cap on desktop — prevents oversized frame */
        border-radius: 12px;
        display: block;
        object-fit: cover;
    }


/* Tablet Responsive */
@media (max-width: 991px) {
    .section-title {
        font-size: 26px;
        text-align: center;
    }

    .section-text {
        font-size: 14px;
        text-align: center;
    }

    .video-box {
        margin-top: 25px;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .dry-needling {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .section-text {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .play-btn {
        width: 55px;
        height: 55px;
    }

    .play-icon {
        font-size: 20px;
    }
}

/* why dry needling */

/* Section Background */
.what-dry-needling {
    background-color: #f5f6f7;
}

/* Left Title */
.main-title {
    font-size: 30px;
    font-weight: 700;
    color: #0b3d5c;
    line-height: 1.3;
}

/* Paragraph Text */
.main-text {
    font-size: 14.5px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Center Image */
.center-image img {
    border-radius: 18px;
    width: 100%;
    max-width: 320px;
    object-fit: cover;
}

/* Steps Wrapper */
.steps-wrapper {
    padding-left: 10px;
}

/* Step Item */
.step-item {
    gap: 15px;
}

/* Icon Circle */
.step-icon {
    min-width: 70px;
    height: 70px;
    background: #0b3d5c;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Step Content */
.step-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #0b3d5c;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Divider Line */
.step-divider {
    margin: 25px 0;
    border-top: 1px solid #dcdcdc;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .main-title {
        font-size: 26px;
        text-align: center;
    }

    .main-text {
        text-align: center;
    }

    .center-image {
        margin: 20px 0;
    }

    .steps-wrapper {
        margin-top: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .main-title {
        font-size: 22px;
    }

    .main-text {
        font-size: 13.5px;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
        margin-bottom: 10px;
        margin-left: 100px;
    }

    .step-divider {
        margin: 20px 0;
    }
}

/*Choose AlignBody for Dry Needling Therapy*/

/* Section Background */
.choose-alignbody {
    background-color: #f5f6f7;
}

/* Title */
.choose-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b3d5c;
    line-height: 1.3;
}

/* Right Top Text */
.choose-subtext {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.8;
    margin-top: 8px;
}

/* Feature Card */
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 22px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

    /* Hover Effect (soft like screenshot) */
    .feature-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transform: translateY(-3px);
    }

/* Icon Box */
.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background: #fcfcfd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #0b3d5c;
    margin-bottom: 15px;
}

/* Card Title */
.feature-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #0b3d5c;
    margin-bottom: 10px;
}

/* Card Text */
/*.feature-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}*/

/* Tablet Responsive */
@media (max-width: 991px) {
    .choose-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 10px;
    }

    .choose-subtext {
        text-align: center;
        font-size: 14px;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .choose-title {
        font-size: 22px;
    }

    .feature-card {
        padding: 20px 18px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .feature-card h5 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13.5px;
    }
}

/* Benefits Of Dry Needling Therapy At AlignBody */

/* Section Background */
.benefits-section {
    background-color: #f5f6f7;
}

/* Left Image Styling */
.benefits-img img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}


/* Title */
/*.benefits-title {
    font-size: 30px;
    font-weight: 700;
    color: #0b3d5c;
    line-height: 1.3;
    margin-bottom: 15px;
}*/

/* Paragraph */
/*.benefits-text {
    font-size: 14.8px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 25px;
}*/

/* Benefits List */
.benefits-list li {
    margin-bottom: 18px;
    gap: 12px;
}

/* Icon Style */
.benefit-icon {
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    color: #0b3d5c;
    font-size: 20px;
    margin-top: 3px;
}

/* List Text */
/*.benefits-list p {
    font-size: 14.5px;
    color: #495057;
    line-height: 1.7;
    margin: 0;
}*/

.benefits-list strong {
    color: #0b3d5c;
    font-weight: 600;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .benefits-title {
        font-size: 26px;
        text-align: center;
    }

    .benefits-text {
        text-align: center;
    }

    .benefits-list {
        margin-top: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .benefits-section {
        padding: 40px 0;
    }

    .benefits-title {
        font-size: 22px;
    }

    .benefits-text {
        font-size: 13.8px;
    }

    .benefits-list p {
        font-size: 13.5px;
    }

    .benefit-icon {
        font-size: 18px;
        min-width: 24px;
    }
}


/* testimonial-section */

/* Section Base */
.testimonial-section {
    position: relative;
    background: #0f4664;
    padding: 80px 0;
    overflow: hidden;
}

/* Left Content */
.testimonial-left {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* Title */
.testimonial-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* Paragraph */
.testimonial-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: #fbfcfc;
    max-width: 420px;
    margin-bottom: 25px;
}

/* Button */
.share-btn {
    background: #feffff;
    color: #0f4664;
    padding: 10px 22px;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    transition: 0.3s ease;
}

    .share-btn:hover {
        background: #ffffff;
        color: #0f4664;
    }

/* Review Card */
.review-card {
    background: #f1f2f3;
    padding: 20px;
    border-radius: 6px;
    height: 100%;
    font-size: 13.5px;
    line-height: 1.7;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Reviewer Name */
.review-name {
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    color: #000;
}

/* Background Decorative Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

/* Large Left Circle (Yellow) */
.circle-1 {
    width: 180px;
    height: 180px;
    background: #f4b43a;
    bottom: -60px;
    left: -60px;
}

/* Outline Circles */
/* .circle-2 {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255,255,255,0.1);
  left: -120px;
  top: -80px;
} */

.circle-3 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255,255,255,0.1);
    left: 80px;
    bottom: -50px;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .testimonial-title {
        font-size: 32px;
        text-align: center;
    }

    .testimonial-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-left {
        text-align: center;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-title {
        font-size: 26px;
    }

    .testimonial-text {
        font-size: 13.5px;
    }

    .review-card {
        padding: 18px;
        font-size: 13px;
    }

    .circle-1 {
        width: 120px;
        height: 120px;
    }

    .circle-2,
    .circle-3 {
        display: none; /* hide extra shapes on small screens */
    }
}

/* FAQ-Section */
/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f4f6f9;
}

/* Title */
.faq-title {
    font-size: 36px;
    font-weight: 700;
    color: #123c56;
    margin-bottom: 50px;
}

/* Custom Accordion Card */
.custom-accordion {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

/* Button */
.custom-btn {
    background: #ffffff !important;
    font-weight: 500;
    padding: 18px 20px;
    border: none !important;
    box-shadow: none !important;
    color: #2c3e50 !important;
}

    .custom-btn:not(.collapsed) {
        background: #ffffff !important;
        color: #123c56 !important;
    }

    /* Remove blue focus */
    .custom-btn:focus {
        box-shadow: none !important;
    }

/* Body */
.custom-body {
    background: #ffffff;
    padding: 20px;
    font-size: 15px;
    color: #555;
}

/* Custom Arrow Size */
.accordion-button::after {
    transform: scale(0.8);
}

/* Responsive */
@media (max-width: 991px) {
    .faq-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 50px 0;
    }
}

/* map-section */
/* ============================= */
/* Contact Top Bar */
/* ============================= */

.contact-bar {
    background: #123f5f;
    padding: 30px 0;
    color: #fff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

    .contact-item h6 {
        font-weight: 600;
        margin-bottom: 5px;
    }

    .contact-item p {
        font-size: 14px;
        margin: 0;
        opacity: 0.9;
    }

.icon-circle {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}


/* ============================= */
/* Callback Section */
/* ============================= */

.callback-section {
    background: #f4f6f9;
    padding-bottom: 60px;
}

.callback-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

    .callback-form h3 {
        font-weight: 700;
        margin-bottom: 10px;
        color: #123f5f;
    }

    .callback-form p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .callback-form a {
        color: #123f5f;
        font-weight: 500;
        text-decoration: underline;
    }

/* Inputs */

.custom-input {
    background: #f2f2f2;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
}

    .custom-input:focus {
        box-shadow: none;
        border-color: #123f5f;
    }

.flag-box {
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-right: none;
}

/* Button */

.custom-btn {
    background: #123f5f;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
}

    .custom-btn:hover {
        background: #0f334c;
    }

/* Map */

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}


/* ============================= */
/* Responsive */
/* ============================= */

@media (max-width: 991px) {
    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .callback-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .callback-section {
        padding: 40px 0;
    }

    .map-container {
        min-height: 300px;
    }
}


.row .d-flex.align-items-center {
    flex-direction: row !important;
    /* align-items: flex-start !important; */
    padding: 30px;
}




/* Mobile view: image card ke niche aa jay */
@media (max-width: 768px) {



    .row .d-flex .flex-grow-1 {
        width: 100%;
        padding-right: 0 !important;
    }


    .row .d-flex .flex-shrink-0 {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 15px;
    }

        /* Image center + responsive */
        .row .d-flex .flex-shrink-0 img {
            width: 100%;
            height: 180px !important;
            object-fit: cover;
        }
}


/* Awards Section */
.awards-section {
    background: #ffffff;
}

/* Title Style */
.awards-title {
    color: #1f4e79;
    font-size: 28px;
    position: relative;
}

/* Award Card */
.award-card {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    width: fit-content;
}

    /* Image Styling */
    .award-card img {
        width: 100%;
        height: 180px;
        object-fit: contain;
        border-radius: 6px;
    }

    /* Hover Effect */
    .award-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .award-card img {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .awards-title {
        font-size: 22px;
    }

    .award-card img {
        height: 120px;
    }
}



/* Dr.Richa  Section */
.doctor-section {
    background: #f8f9fb;
}

/* Title */
.doctor-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 20px;
}

/* Paragraph */
.doctor-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Doctor Image */
.doctor-img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

/* Floating Card */
.info-card {
    position: absolute;
    bottom: -38px;
    left: -36px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
    width: 220px;
    z-index: 1;
}

    .info-card p {
        margin: 8px 0;
        font-weight: 500;
        color: #1e3a5f;
    }

/* Signature Section */
.doctor-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.signature {
    font-family: cursive;
    font-size: 28px;
    border-right: 1px solid #ccc;
    padding-right: 20px;
}

.designation h5 {
    font-weight: 600;
    color: #1e3a5f;
}

/* Responsive */
@media (max-width: 992px) {
    .info-card {
        position: static;
        margin: 20px auto 0;
        width: 80%;
    }

    .doctor-signature {
        flex-direction: column;
        align-items: flex-start;
    }

    .signature {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .doctor-title {
        font-size: 26px;
    }

    .doctor-text {
        font-size: 14px;
    }
}

/* award-section */
/* Section Background */
.awards-section {
    background: #f3f4f6;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
}

/* Award Images */
.award-img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    background: #fff;
    padding: 8px;
}

    /* Hover Effect */
    .award-img:hover {
        transform: translateY(-5px);
    }

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    background-color: #1e3a5f;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators {
    bottom: -40px;
}


/* map-section */
/* Section Background */
.contact-section {
    background: #f4f6f9;
}

/* Top Info Bar */
.info-bar {
    background: #143e5c;
    border-radius: 12px;
    color: #fff;
}

    .info-bar h6 {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .info-bar p {
        font-size: 14px;
        margin: 0;
        opacity: 0.9;
    }

/* Icon Circle */
.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Form Box */
.form-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Custom Inputs */
.custom-input {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}

    .custom-input:focus {
        box-shadow: none;
        border-color: #143e5c;
    }

/* Country Code */
.country-code {
    background: #f1f1f1;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

/* Button */
.submit-btn {
    background: #143e5c;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
}

    .submit-btn:hover {
        background: #0f2f46;
    }

/* Map Box */
.map-box {
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
}

/* Responsive */
@media (max-width: 991px) {
    .map-box {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .info-bar {
        text-align: left;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
/* Container for the icon circles */
.symptom-icon {
    width: 120px;
    height: 120px;
    transition: transform 0.3s ease;
}

/* Hover effect to make it feel interactive like your original code */
.pain-grid-item:hover .symptom-icon {
    transform: scale(1.05);
}

.pain-grid-item {
    border-right: 1px solid #dee2e6;
    /* Optional: ensures items in the same row are aligned */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Remove the right border on the last item of each row for Desktop (5 columns) */
@media (min-width: 992px) {
    .pain-grid-item:nth-child(5n) {
        border-right: none;
    }
    /* Add a middle horizontal line after the first 5 items */
    .pain-grid-item:nth-child(-n+5) {
        border-bottom: 1px solid #dee2e6;
    }
}

.d-flex.align-items-center.bg-white.p-3.rounded-4.h-100.shadow-sm.border.border-light {
    flex-direction: row !important;
}

.text-center-card {
    padding: 25px 0px;
}

ul.list-unstyled.mb-0.text-start {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media(max-width:991px) {
    ul.list-unstyled.mb-0.text-start {
        flex-wrap: wrap
    }

    .doctor-stats-card {
        /* bottom: 30px; */
        left: -63px;
        max-width: 100%;
        height: 100%;
    }

    .pain-grid-item {
        border-right: 1px solid #dee2e6;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-bottom: 1px solid #dee2e6;
    }

    .btn-width {
        width: 265px
    }

    .d-flex.align-items-center.bg-white.p-3.rounded-4.h-100.shadow-sm.border.border-light {
        flex-direction: column !important;
    }

    .row .d-flex.align-items-center {
        flex-direction: column !important;
    }
}
/* Adjustments for Typography */
.pain-grid-item h6 {
    font-size: 1.1rem;
    margin-top: 15px;
    color: #333; /* Or your text-primary-dark color */
}

.d-flex.flex-column.gap-5.h-100.justify-content-center.position-relative.booking-steps-container.circle1 {
    position: relative;
    left: -90px;
}

.rounded-circle.bg-primary-dark.text-white.d-flex.align-items-center.justify-content-center.shadow-lg.circle-2 {
    border: 15px solid #fff;
    font-size: 30px;
}

.rounded-circle.bg-primary-dark.text-white.d-flex.align-items-center.justify-content-center.shadow-lg {
    border: 15px solid #fff;
    font-size: 30px;
    width: 120px;
    margin-right: 30px;
}

.d-flex.flex-column.gap-5.h-100.justify-content-center.position-relative.booking-steps-container.circle1 .d-flex.gap-4.align-items-center.position-relative.z-1 {
    padding: 0;
    padding-bottom: 25px;
}

.bottom-ling {
    border-bottom: 1px solid #e1d7d7;
    padding-bottom: 20px;
}

.list-ul ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    margin-top: 18px;
}

.inside-card {
    border-left: 10px solid #073D60;
    bottom: -50px;
}

    .inside-card ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .inside-card ul li {
            padding: 5px;
        }

            .inside-card ul li span {
                font-size: 17px;
                color: #073d60;
                font-weight: 600;
            }

.margin-top-50 {
    margin-top: 50px;
}

.margin-top-80 {
    margin-top: 80px;
}

.bg-with-padding {
    background: #F5F6F6;
    padding: 50px 0px;
}

@media(max-width:991px) {
    li.nav-item {
        width: 100%;
    }
    .inside-card ul li span {
        font-size: 12px;
        color: #073d60;
        font-weight: 600;
    }

    .inside-card {
        border-left: 10px solid #073D60;
        bottom: -50px;
        padding: 7px !important;
    }

        .inside-card ul li {
            padding: 5px;
            padding-bottom: 0;
        }

    .rounded-circle.bg-primary-dark.text-white.d-flex.align-items-center.justify-content-center.shadow-lg.circle-2 {
        border: 15px solid #fff;
        font-size: 30px;
        width: 125px;
    }

    .d-flex.flex-column.gap-5.h-100.justify-content-center.position-relative.booking-steps-container.circle1 {
        position: relative;
        left: 0;
    }

        .d-flex.flex-column.gap-5.h-100.justify-content-center.position-relative.booking-steps-container.circle1 .d-flex.gap-4.align-items-center.position-relative.z-1 {
            padding: 0;
            padding-bottom: 0px;
        }

    .rounded-circle.bg-primary-dark.text-white.d-flex.align-items-center.justify-content-center.shadow-lg {
        width: 125px;
        margin-left: 0px !important;
        border: 15px solid #fff;
        font-size: 30px;
    }
}

.header-fixed {
    width: 100%;
    transition: all 0.3s ease;
}

    .header-fixed.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff; /* ya apka header color */
        z-index: 9999;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.alignbody-footer .info-text a {
    color: #fff !important;
    text-decoration: none;
}

.alignbody-footer .loc-box a {
    color: #fff;
    text-decoration: none;
}

.border-right-side {
    border-right: 1px solid;
}
a { 
    text-decoration: none;
}
/* ============================================================
   ALIGNBODY – MEGA MENU FINAL FIX
   ============================================================ */

/* ── Hamburger ── */
.navbar-toggler {
    border: 1.5px solid #003B5C;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003B5C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Category title ── */
.mega-col-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #003B5C;
    padding: 0 0.5rem 0.5rem;
    margin-bottom: 0.35rem;
    border-bottom: 2px solid #003B5C;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.mega-col-title i { color: #4299E1; font-size: 0.8rem; }

/* ── Dropdown items ── */
.mega-col .dropdown-item,
.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2D3748;
    border-radius: 5px;
    line-height: 1.4;
    white-space: normal;
    padding: 0.42rem 0.6rem;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.mega-col .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: #EBF4FF;
    color: #003B5C;
    padding-left: 1rem;
}
.navbar-nav .dropdown-menu .dropdown-divider { display: none !important; }

/* ============================================================
   DESKTOP FIX — position: absolute (NOT fixed) so Bootstrap
   doesn't fight with Popper.js
   ============================================================ */
@media (min-width: 992px) {

    /* Navbar must be relative so dropdown is positioned inside it */
    #mainNav {
        position: relative !important;
    }

    /* Full-width mega panel — absolute, NOT fixed */
    .mega-dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        transform: none !important;   /* cancel any Popper transform */
        border: none !important;
        border-top: 3px solid #003B5C !important;
        border-radius: 0 0 14px 14px !important;
        padding: 0 !important;
        box-shadow: 0 16px 40px rgba(0,59,92,0.12) !important;
        background: #fff !important;
        z-index: 1050 !important;
        margin-top: 0 !important;
    }

    /* Columns */
    .mega-col {
        padding: 1.25rem 1rem;
        border-right: 1px solid #e8f0f7;
    }
    .mega-col:last-child { border-right: none; }
    .mega-dropdown .dropdown-menu .row { --bs-gutter-x: 0; }

    /* About dropdown – keep narrow */
    .navbar-nav .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu {
        min-width: 200px;
        border-top: 3px solid #003B5C;
        border-radius: 0 0 10px 10px;
        padding: 0.4rem 0;
        box-shadow: 0 12px 30px rgba(0,59,92,0.1);
    }
    .navbar-nav .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu .dropdown-item {
        padding: 0.55rem 1.2rem;
    }
}

/* ============================================================
   MOBILE FIX — scrollable collapse + 2-col service grid
   ============================================================ */
@media (max-width: 991.98px) {

    /* FIX: make the whole mobile nav scrollable */
    .navbar-collapse {
        max-height: calc(100vh - 75px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-top: 2px solid #e8eff5;
        padding-bottom: 1rem;
    }

    li.nav-item {
        width: 100% !important;
        border-bottom: 1px solid #f0f4f8;
    }
    li.nav-item:last-child { border-bottom: none; }

    .navbar-nav .nav-link {
        padding: 0.72rem 0.25rem !important;
        margin: 0 !important;
        font-size: 0.97rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Mobile dropdown panel */
    .navbar-nav .dropdown-menu {
        border: none !important;
        background: #f4f8fc !important;
        border-radius: 10px !important;
        padding: 0.6rem 0.4rem !important;
        box-shadow: none !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
    }

    /* Category section */
    .mega-col {
        padding: 0.6rem 0.4rem;
        border-right: none !important;
        border-bottom: 1px solid #dce8f2;
    }
    .mega-col:last-child { border-bottom: none; }

    .mega-col-title {
        font-size: 0.65rem;
        padding: 0 0.4rem 0.4rem;
        margin-bottom: 0.2rem;
    }

    /* 2-column grid */
    .mega-col-items {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .mega-col-items li {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .mega-col .dropdown-item {
        font-size: 0.8rem !important;
        padding: 0.38rem 0.45rem !important;
    }
}

/* ============================================================
   ALIGNBODY – MEGA MENU FINAL FIX
   ============================================================ */

/* ── Hamburger ── */
.navbar-toggler {
    border: 1.5px solid #003B5C;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003B5C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Category heading ── */
.mega-col-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #003B5C;
    padding: 0 0.5rem 0.5rem;
    margin-bottom: 0.35rem;
    border-bottom: 2px solid #003B5C;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.mega-col-title i { color: #4299E1; font-size: 0.8rem; }

/* ── Dropdown items ── */
.mega-col .dropdown-item,
.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2D3748;
    border-radius: 5px;
    line-height: 1.4;
    white-space: normal;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    padding: 0.42rem 0.6rem;
}
.mega-col .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: #EBF4FF;
    color: #003B5C;
    padding-left: 1rem;
}

/* Kill Bootstrap dividers */
.navbar-nav .dropdown-menu .dropdown-divider { display: none !important; }

/* ============================================================
   DESKTOP (≥ 992px) – Fix: data-bs-display="static" already
   disables Popper, so we just need correct positioning
   ============================================================ */
@media (min-width: 992px) {

    /* Mega panel spans full navbar width */
    .mega-dropdown {
        position: static !important;
    }
    .mega-dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
        border: none !important;
        border-top: 3px solid #003B5C !important;
        border-radius: 0 0 14px 14px !important;
        padding: 0 !important;
        box-shadow: 0 16px 40px rgba(0,59,92,0.12) !important;
        background: #fff !important;
        margin-top: 0 !important;
        z-index: 1050 !important;
    }

    /* Each column */
    .mega-col {
        padding: 1.25rem 1rem;
        border-right: 1px solid #e8f0f7;
    }
    .mega-col:last-child { border-right: none; }

    /* Neutralise bootstrap row gutter inside mega */
    .mega-dropdown .dropdown-menu .row { --bs-gutter-x: 0; }

    /* About – small standard dropdown */
    .navbar-nav .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu {
        min-width: 200px;
        border-top: 3px solid #003B5C;
        border-radius: 0 0 10px 10px;
        padding: 0.4rem 0;
        box-shadow: 0 12px 30px rgba(0,59,92,0.1);
    }
    .navbar-nav .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu .dropdown-item {
        padding: 0.55rem 1.2rem;
    }
}

/* ============================================================
   MOBILE (< 992px) – Fix: allow scroll inside open dropdown
   ============================================================ */
@media (max-width: 991.98px) {

    /* Allow the whole collapse to scroll */
    .navbar-collapse {
        border-top: 2px solid #e8eff5;
        padding: 0.5rem 0 1rem;
        margin-top: 0.5rem;
        /* FIX: make the collapse scrollable when content is tall */
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Nav items full width */
    li.nav-item {
        width: 100% !important;
        border-bottom: 1px solid #f0f4f8;
    }
    li.nav-item:last-child { border-bottom: none; }

    .navbar-nav .nav-link {
        padding: 0.72rem 0.25rem !important;
        margin: 0 !important;
        font-size: 0.97rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Mobile dropdown panel – static, no clipping */
    .navbar-nav .dropdown-menu {
        border: none !important;
        background: #f4f8fc !important;
        border-radius: 10px !important;
        padding: 0.6rem 0.4rem !important;
        box-shadow: none !important;
        position: static !important;
        width: 100% !important;
        /* FIX: do NOT set max-height here – let parent scroll */
        overflow: visible !important;
    }

    /* Each category section */
    .mega-col {
        padding: 0.6rem 0.4rem;
        border-right: none !important;
        border-bottom: 1px solid #dce8f2;
    }
    .mega-col:last-child { border-bottom: none; }

    .mega-col-title {
        font-size: 0.65rem;
        letter-spacing: 1.4px;
        padding: 0 0.4rem 0.4rem;
        margin-bottom: 0.2rem;
        white-space: normal;
    }

    /* 2-column grid for items */
    .mega-col-items {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .mega-col-items li {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .mega-col .dropdown-item {
        font-size: 0.8rem !important;
        padding: 0.38rem 0.45rem !important;
    }
}

/* ============================================================
   MOBILE LAYOUT — index.html  (max-width 991.98px ONLY)
   ============================================================ */
@media (max-width: 991.98px) {

    /* ── HERO ── */
    #hero { min-height: unset !important; height: auto !important; padding-top: 1.25rem !important; padding-bottom: 0 !important; }
    #hero .col-lg-6.mb-5     { margin-bottom: 0.75rem !important; }
    .hero-subtitle           { font-size: 0.72rem !important; margin-bottom: 0.3rem !important; }
    .hero-title              { font-size: 1.65rem !important; margin-bottom: 0.6rem !important; }
    #hero .lead              { font-size: 0.85rem !important; line-height: 1.5 !important; margin-bottom: 0.85rem !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    #hero .btn.button        { padding: 0.55rem 1.4rem !important; font-size: 0.88rem !important; margin-bottom: 1rem; }
    #hero .glass-card        { padding: 1rem !important; }
    #hero .glass-card .mb-3  { margin-bottom: 0.5rem !important; }
    #hero .glass-card .form-control { padding: 0.55rem 0.9rem !important; }
    #hero .glass-card textarea { min-height: 46px !important; }
    .stats-strip .text-center-card { padding: 10px 2px !important; }
    .stats-strip h4 { font-size: 1rem !important; }
    .stats-strip h5 { font-size: 0.68rem !important; }
    .stats-strip i  { font-size: 1rem !important; }

    /* ── PAIN GRID ── */
    .pain-grid-item .p-4 { padding: 0.65rem !important; }
    .symptom-icon        { width: 75px !important; height: 75px !important; }
    .pain-grid-item h6   { font-size: 0.8rem !important; margin-top: 6px !important; }

    /* ── IMPORTANCE CARDS ── */
    #_ViewContent6 .bg-white.p-4.rounded-4 { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 0.8rem !important; padding: 0.8rem !important; text-align: left !important; }
    #_ViewContent6 .bg-white.p-4.rounded-4 > div[style*="100px"] { flex-shrink: 0 !important; width: 60px !important; height: 60px !important; min-width: 60px !important; margin: 0 !important; }
    #_ViewContent6 .bg-white.p-4.rounded-4 > div[style*="100px"] img { width: 60px !important; height: 60px !important; }
    #_ViewContent6 h5.fw-bold { font-size: 0.88rem !important; margin-bottom: 0.2rem !important; }
    #_ViewContent6 p.small    { font-size: 0.78rem !important; }

    /* ── VIDEO ── */
    .video-box, .video-card { width: 100% !important; border-radius: 12px; overflow: hidden; }
    .video-card video, .elementor-video { width: 100% !important; height: auto !important; max-height: 240px !important; display: block; border-radius: 12px; object-fit: cover; background: #000; }

    /* ────────────────────────────────────────────────────────
       TREATMENT TYPES — horizontal scroll  (_ViewContent7)
       Bootstrap .row becomes a scroll track on mobile.
       The .container must allow overflow, hence the negative
       margin trick to escape its padding.
    ──────────────────────────────────────────────────────── */
    #_ViewContent7 .row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 0.75rem !important;
        padding: 0.5rem 1rem 1rem !important;
        margin: 0 -1rem !important;          /* escape container padding */
        /* keep Bootstrap gutter vars from adding extra space */
        --bs-gutter-x: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #_ViewContent7 .row.g-4::-webkit-scrollbar { display: none; }

    /* Each treatment card: 88% wide, full content visible, next card peeks */
    #_ViewContent7 .row.g-4 > .col-lg-6 {
        flex: 0 0 88% !important;
        min-width: 0 !important;
        max-width: 88% !important;
        width: 88% !important;
        scroll-snap-align: start !important;
        padding: 0 !important;
    }
    /* STACKED: text on top, image below — auto height so nothing clips */
    #_ViewContent7 .d-flex.align-items-center.bg-white {
        flex-direction: column !important;
        align-items: flex-start !important;
        height: auto !important;
        min-height: unset !important;
        padding: 1rem !important;
    }
    #_ViewContent7 .d-flex.align-items-center.bg-white .flex-grow-1 {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 0.85rem !important;
    }
    #_ViewContent7 .d-flex.align-items-center.bg-white .flex-shrink-0 {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
    }
    #_ViewContent7 .d-flex.align-items-center.bg-white .flex-shrink-0 img {
        width: 100% !important;
        height: 170px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        display: block;
    }
    #_ViewContent7 h4      { font-size: 1rem !important; margin-bottom: 0.4rem !important; }
    #_ViewContent7 p.small { font-size: 0.85rem !important; line-height: 1.6 !important; }

    /* ────────────────────────────────────────────────────────
       SERVICES NUMBERED CARDS — horizontal scroll (_ViewContent9)
    ──────────────────────────────────────────────────────── */
    #_ViewContent9 .row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 0.75rem !important;
        padding: 0.5rem 1rem 1rem !important;
        margin: 0 -1rem !important;
        --bs-gutter-x: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #_ViewContent9 .row.g-4::-webkit-scrollbar { display: none; }

    /* Each service card: 75% wide so 2nd card peeks */
    #_ViewContent9 .row.g-4 > [class*="col-"] {
        flex: 0 0 75% !important;
        min-width: 0 !important;
        max-width: 75% !important;
        width: 75% !important;
        scroll-snap-align: start !important;
        padding: 0 !important;
    }
    #_ViewContent9 .card { height: auto !important; }

    /* ── TESTIMONIALS: mobile swipe track ── */
    .mob-review-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0.5rem 0.25rem 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .mob-review-track::-webkit-scrollbar { display: none; }
    .mob-review-card {
        flex: 0 0 80%;
        min-width: 0;
        scroll-snap-align: start;
        background: #fff;
        color: #2D3748;
        border-radius: 12px;
        padding: 1.1rem;
        font-size: 0.87rem;
        line-height: 1.6;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    .mob-review-card p        { margin: 0 0 0.4rem; }
    .mob-review-card .fw-bold { font-size: 0.82rem; }

    /* ── GENERAL spacing ── */
    .margin-top-80 { margin-top: 2rem !important; }
    .margin-top-50 { margin-top: 1.25rem !important; }
    .display-5     { font-size: 1.5rem !important; }
    .display-6     { font-size: 1.25rem !important; }
}

/* ── Desktop video frame fix (service pages) ── */
@media (min-width: 992px) {
    .video-card {
        max-width: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    .video-card video,
    .video-box video,
    .elementor-video {
        width: 100% !important;
        height: auto !important;
        max-height: 420px !important;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }
    /* Service page inline video link wrapper */
    a[href$=".mp4"] {
        display: block;
        border-radius: 12px;
        overflow: hidden;
        max-height: 420px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
}
