/*
==========================================================
APEX HOSPITAL DARBHANGA
01 - SERVICES & SERVICE DETAIL CSS
==========================================================

Purpose:
- Service overview cards
- Service detail pages
- Service hero
- Service sidebar
- Service feature sections
- Responsive design

This file is intentionally separate from style.css
so future service-page changes remain easy to manage.
==========================================================
*/


/* ======================================================
   01. SERVICE DETAIL - GLOBAL
====================================================== */

.service-detail-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}


/* ======================================================
   02. SERVICE DETAIL HERO
====================================================== */

.service-detail-hero {
    position: relative;
    min-height: 470px;

    margin-top: 80px;

    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.97),
            rgba(2, 132, 199, 0.90)
        );

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
}


/* Decorative background */

.service-detail-hero::before {
    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -150px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    box-shadow:
        0 0 0 40px rgba(255, 255, 255, 0.025),
        0 0 0 80px rgba(255, 255, 255, 0.02);

    pointer-events: none;
}


.service-detail-hero::after {
    content: '';

    position: absolute;

    width: 300px;
    height: 300px;

    right: 80px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(14, 165, 233, 0.18);

    filter: blur(5px);

    pointer-events: none;
}


/* Hero overlay */

.service-detail-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.40),
            transparent
        );

    pointer-events: none;
}


/* Hero container */

.service-detail-hero .service-detail-container {
    position: relative;

    z-index: 5;
}


/* ======================================================
   03. BREADCRUMB
====================================================== */

.service-detail-breadcrumb {
    display: flex;

    align-items: center;

    gap: 0.7rem;

    margin-bottom: 2rem;

    font-size: 0.9rem;

    color: #cbd5e1;
}


.service-detail-breadcrumb a {
    color: #e2e8f0;

    transition: var(--transition);
}


.service-detail-breadcrumb a:hover {
    color: var(--white);
}


.service-detail-breadcrumb i {
    font-size: 0.7rem;

    color: var(--primary-color);
}


.service-detail-breadcrumb span {
    color: #94a3b8;
}


/* ======================================================
   04. HERO CONTENT
====================================================== */

.service-detail-hero-content {
    max-width: 800px;
}


.service-detail-hero-icon {
    width: 75px;
    height: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(10px);

    color: var(--white);

    font-size: 2rem;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}


.service-detail-eyebrow {
    display: block;

    margin-bottom: 0.8rem;

    color: #bae6fd;

    font-size: 0.85rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.service-detail-hero h1 {
    margin: 0 0 1rem;

    color: var(--white);

    font-size: 3.5rem;

    line-height: 1.15;

    font-weight: 700;
}


.service-detail-hero p {
    max-width: 720px;

    margin: 0;

    color: #e2e8f0;

    font-size: 1.15rem;

    line-height: 1.8;
}


/* ======================================================
   05. SERVICE DETAIL MAIN SECTION
====================================================== */

.service-detail-section {
    padding: 6rem 0;

    background: var(--light-bg);
}


.service-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 4rem;

    align-items: start;
}


/* ======================================================
   06. MAIN CONTENT
====================================================== */

.service-detail-main {
    min-width: 0;
}


.service-detail-block {
    margin-bottom: 4rem;

    padding: 3rem;

    background: var(--white);

    border-radius: 1.5rem;

    border: 1px solid #e2e8f0;

    box-shadow: var(--shadow);
}


.service-detail-block:last-child {
    margin-bottom: 0;
}


/* Section label */

.service-detail-section-label {
    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    margin-bottom: 0.8rem;

    color: var(--primary-color);

    font-size: 0.85rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.service-detail-section-label::before {
    content: '';

    width: 28px;
    height: 3px;

    border-radius: 10px;

    background:
        linear-gradient(
            to right,
            var(--primary-color),
            var(--primary-dark)
        );
}


/* Main heading */

.service-detail-block h2 {
    margin-bottom: 1rem;

    color: var(--secondary-color);

    font-size: 2rem;

    line-height: 1.25;
}


.service-detail-block h3 {
    margin-bottom: 1rem;

    color: var(--primary-dark);

    font-size: 1.15rem;

    font-weight: 600;
}


.service-detail-block > p {
    margin-bottom: 1rem;

    color: #64748b;

    font-size: 1rem;

    line-height: 1.85;
}


.service-detail-block > p:last-child {
    margin-bottom: 0;
}


/* ======================================================
   07. SERVICE LIST
====================================================== */

.service-detail-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1rem;

    margin-top: 1.8rem;
}


.service-detail-list-item {
    display: flex;

    align-items: center;

    gap: 0.9rem;

    min-height: 65px;

    padding: 1rem 1.2rem;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 0.9rem;

    color: var(--secondary-color);

    font-size: 0.95rem;

    font-weight: 500;

    transition: var(--transition);
}


.service-detail-list-item:hover {
    transform: translateY(-3px);

    border-color: rgba(14, 165, 233, 0.35);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.08);

    background: var(--white);
}


.service-detail-list-icon {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(14, 165, 233, 0.12);

    color: var(--primary-color);

    font-size: 0.8rem;
}


/* ======================================================
   08. WHY CHOOSE SECTION
====================================================== */

.service-detail-why {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fafc
        );
}


.service-detail-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1.2rem;

    margin-top: 2rem;
}


.service-detail-feature {
    display: flex;

    gap: 1rem;

    padding: 1.3rem;

    border-radius: 1rem;

    background: var(--white);

    border: 1px solid #e2e8f0;

    transition: var(--transition);
}


.service-detail-feature:hover {
    transform: translateY(-4px);

    border-color:
        rgba(14, 165, 233, 0.35);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08);
}


.service-detail-feature-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(14, 165, 233, 0.15),
            rgba(2, 132, 199, 0.08)
        );

    color: var(--primary-color);

    font-size: 1.1rem;
}


.service-detail-feature h3 {
    margin: 0 0 0.35rem;

    color: var(--secondary-color);

    font-size: 1rem;

    line-height: 1.4;
}


.service-detail-feature p {
    margin: 0;

    color: #64748b;

    font-size: 0.85rem;

    line-height: 1.6;
}


/* ======================================================
   09. SIDEBAR
====================================================== */

.service-detail-sidebar {
    position: sticky;

    top: 105px;
}


.service-sidebar-card {
    overflow: hidden;

    margin-bottom: 1.5rem;

    background: var(--white);

    border-radius: 1.3rem;

    border: 1px solid #e2e8f0;

    box-shadow: var(--shadow);
}


/* Sidebar heading */

.service-sidebar-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 1.4rem 1.5rem;

    background:
        linear-gradient(
            135deg,
            var(--secondary-color),
            #1e293b
        );

    color: var(--white);

    font-size: 1.1rem;

    font-weight: 600;
}


.service-sidebar-heading i {
    color: var(--primary-color);

    font-size: 1.2rem;
}


/* Sidebar navigation */

.service-sidebar-nav {
    padding: 0.6rem;
}


.service-sidebar-nav a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    padding: 0.95rem 1rem;

    margin-bottom: 0.2rem;

    border-radius: 0.8rem;

    color: #475569;

    font-size: 0.92rem;

    font-weight: 500;

    transition: var(--transition);
}


.service-sidebar-nav a span {
    display: flex;

    align-items: center;

    gap: 0.75rem;
}


.service-sidebar-nav a span i {
    width: 20px;

    text-align: center;

    color: #94a3b8;

    transition: var(--transition);
}


.service-sidebar-nav a > i {
    font-size: 0.7rem;

    color: #94a3b8;

    transition: var(--transition);
}


.service-sidebar-nav a:hover {
    background: #f0f9ff;

    color: var(--primary-dark);

    transform: translateX(3px);
}


.service-sidebar-nav a:hover span i,
.service-sidebar-nav a:hover > i {
    color: var(--primary-color);
}


/* Active service */

.service-sidebar-nav a.active {
    background:
        linear-gradient(
            135deg,
            var(--primary-color),
            var(--primary-dark)
        );

    color: var(--white);

    box-shadow:
        0 7px 18px rgba(14, 165, 233, 0.25);
}


.service-sidebar-nav a.active span i,
.service-sidebar-nav a.active > i {
    color: var(--white);
}


/* ======================================================
   10. APPOINTMENT SIDEBAR CARD
====================================================== */

.service-sidebar-appointment {
    position: relative;

    overflow: hidden;

    padding: 2rem;

    border-radius: 1.3rem;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--secondary-color)
        );

    color: var(--white);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.18);
}


.service-sidebar-appointment::after {
    content: '';

    position: absolute;

    width: 150px;
    height: 150px;

    right: -70px;
    top: -70px;

    border-radius: 50%;

    border: 25px solid rgba(255, 255, 255, 0.05);
}


.service-sidebar-appointment-icon {
    position: relative;

    z-index: 2;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 1.2rem;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.12);

    color: #bae6fd;

    font-size: 1.3rem;
}


.service-sidebar-appointment h3 {
    position: relative;

    z-index: 2;

    margin-bottom: 0.8rem;

    color: var(--white);

    font-size: 1.3rem;
}


.service-sidebar-appointment p {
    position: relative;

    z-index: 2;

    margin-bottom: 1.5rem;

    color: #cbd5e1;

    font-size: 0.9rem;

    line-height: 1.7;
}


.service-sidebar-appointment .btn-primary {
    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    width: 100%;

    background: var(--white);

    color: var(--primary-dark);

    box-shadow: none;
}


.service-sidebar-appointment .btn-primary:hover {
    background: var(--primary-color);

    color: var(--white);
}


/* ======================================================
   11. SERVICE OVERVIEW - ENHANCEMENTS
====================================================== */

.service-card-premium {
    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    height: 100%;

    border: 1px solid #e2e8f0;
}


.service-card-premium::before {
    content: '';

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            to right,
            var(--primary-color),
            var(--primary-dark)
        );

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);
}


.service-card-premium:hover::before {
    transform: scaleX(1);
}


.service-icon-premium {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 1.2rem;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(14, 165, 233, 0.12),
            rgba(2, 132, 199, 0.05)
        );

    font-size: 2rem;
}


.service-card-content {
    flex-grow: 1;
}


.service-card-label {
    display: block;

    margin-bottom: 0.4rem;

    color: var(--primary-color);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.service-card-premium h3 {
    margin-bottom: 0.4rem;
}


.service-card-premium h4 {
    margin-bottom: 1rem;

    color: #64748b;

    font-size: 0.9rem;

    font-weight: 500;
}


.service-card-premium p {
    line-height: 1.75;
}


/* Card footer */

.service-card-footer {
    margin-top: 2rem;

    padding-top: 1.2rem;

    border-top: 1px solid #e2e8f0;
}


.service-card-link {
    display: inline-flex;

    align-items: center;

    gap: 0.6rem;

    color: var(--primary-dark);

    font-size: 0.9rem;

    font-weight: 700;

    transition: var(--transition);
}


.service-card-link i {
    transition: var(--transition);
}


.service-card-link:hover {
    color: var(--primary-color);
}


.service-card-link:hover i {
    transform: translateX(5px);
}


/* ======================================================
   12. TABLET
====================================================== */

@media (max-width: 1024px) {

    .service-detail-layout {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 2.5rem;
    }


    .service-detail-hero h1 {
        font-size: 3rem;
    }


    .service-detail-block {
        padding: 2.3rem;
    }


    .service-detail-list {
        grid-template-columns: 1fr;
    }

}


/* ======================================================
   13. MOBILE LANDSCAPE / SMALL TABLET
====================================================== */

@media (max-width: 900px) {

    .service-detail-hero {
        min-height: 430px;

        margin-top: 80px;
    }


    .service-detail-layout {
        grid-template-columns: 1fr;

        gap: 2rem;
    }


    .service-detail-sidebar {
        position: static;

        order: 2;
    }


    .service-detail-main {
        order: 1;
    }


    .service-detail-feature-grid {
        grid-template-columns: 1fr;
    }


    .service-sidebar-nav {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 0.3rem;
    }


    .service-sidebar-nav a {
        margin-bottom: 0;
    }

}


/* ======================================================
   14. MOBILE
====================================================== */

@media (max-width: 600px) {

    .service-detail-container {
        padding-left: 4%;
        padding-right: 4%;
    }


    .service-detail-hero {
        min-height: 420px;

        margin-top: 70px;
    }


    .service-detail-breadcrumb {
        flex-wrap: wrap;

        gap: 0.45rem;

        margin-bottom: 1.5rem;

        font-size: 0.78rem;
    }


    .service-detail-hero-icon {
        width: 60px;
        height: 60px;

        margin-bottom: 1rem;

        border-radius: 15px;

        font-size: 1.5rem;
    }


    .service-detail-eyebrow {
        font-size: 0.72rem;

        letter-spacing: 1.4px;
    }


    .service-detail-hero h1 {
        font-size: 2rem;

        line-height: 1.2;
    }


    .service-detail-hero p {
        font-size: 0.95rem;

        line-height: 1.7;
    }


    .service-detail-section {
        padding: 3.5rem 0;
    }


    .service-detail-block {
        padding: 1.7rem;

        border-radius: 1.1rem;

        margin-bottom: 1.5rem;
    }


    .service-detail-block h2 {
        font-size: 1.5rem;
    }


    .service-detail-block h3 {
        font-size: 1rem;
    }


    .service-detail-list {
        gap: 0.75rem;

        margin-top: 1.3rem;
    }


    .service-detail-list-item {
        min-height: 58px;

        padding: 0.85rem;

        font-size: 0.88rem;
    }


    .service-detail-feature {
        padding: 1rem;
    }


    .service-detail-feature-icon {
        width: 42px;
        height: 42px;
    }


    .service-sidebar-nav {
        grid-template-columns: 1fr;
    }


    .service-sidebar-appointment {
        padding: 1.5rem;
    }


    .service-card-premium {
        padding: 2rem;
    }


    .service-icon-premium {
        width: 60px;
        height: 60px;

        font-size: 1.7rem;
    }

}


/* ======================================================
   15. EXTRA SMALL DEVICES
====================================================== */

@media (max-width: 400px) {

    .service-detail-hero h1 {
        font-size: 1.7rem;
    }


    .service-detail-block {
        padding: 1.4rem;
    }


    .service-detail-section {
        padding: 3rem 0;
    }


    .service-sidebar-appointment h3 {
        font-size: 1.15rem;
    }

}

/* ==========================================================
   SERVICES OVERVIEW - CONTAINER ALIGNMENT FIX
========================================================== */

/* Hero content alignment */
.service-overview-hero .service-detail-hero-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}


/* Services overview section */
.service-overview-section {
    width: 100%;
    box-sizing: border-box;
}

.service-overview-section .section-title {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}


/* Services cards */
.service-overview-grid {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}


/* CTA alignment */
.service-overview-cta {
    width: 100%;
    box-sizing: border-box;
}

.service-overview-cta-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* CTA action alignment */
.service-overview-cta-content {
    flex: 1;
    max-width: 850px;
}

.service-overview-cta-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.service-overview-cta-action .btn {
    white-space: nowrap;
}


/* CTA content */
.service-overview-cta-content {
    max-width: 850px;
}


/* ==========================================================
   SERVICES OVERVIEW - RESPONSIVE
========================================================== */

@media (max-width: 768px) {

    .service-overview-hero .service-detail-hero-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .service-overview-section .section-title {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .service-overview-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .service-overview-cta-inner {
        padding: 3rem 1.25rem;
    }

}

/* ==========================================================
   SERVICES PAGE - FINAL CTA GAP & BUTTON ALIGNMENT FIX
   ========================================================== */

/* Remove unnecessary space before the CTA */
.service-overview-grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* CTA section */
.service-overview-cta {
    width: 100%;
    margin-top: 0 !important;
    padding: 2rem 0 3.5rem !important;
    box-sizing: border-box;
}

/* CTA inner alignment */
.service-overview-cta-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* CTA text */
.service-overview-cta-content {
    flex: 1;
    max-width: 900px;
}

.service-overview-cta-content p {
    margin-bottom: 0;
}

/* Contact button area */
.service-overview-cta-action {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Contact Us button */
.service-overview-cta-action .btn,
.service-overview-cta .btn.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 165px;

    margin: 0 !important;
    padding: 13px 28px;

    white-space: nowrap;
}

/* Prevent global button positioning from affecting this CTA */
.service-overview-cta .btn {
    position: static !important;
    transform: none;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .service-overview-cta {
        padding: 1.5rem 0 3rem !important;
    }

    .service-overview-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .service-overview-cta-action {
        width: 100%;
        justify-content: flex-start;
    }

    .service-overview-cta-action .btn,
    .service-overview-cta .btn.btn-primary {
        min-width: 160px;
    }
}

/* ==========================================================
   APEX HOSPITAL DARBHANGA
   SERVICES PAGE - FINAL ALIGNMENT OVERRIDE
   ========================================================== */

/* ----------------------------------------------------------
   SERVICE HERO
   ---------------------------------------------------------- */

.service-detail-hero,
.service-overview-hero {
    width: 100%;
    box-sizing: border-box;
}

.service-detail-hero-inner,
.service-overview-hero .service-detail-hero-inner {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}


/* ----------------------------------------------------------
   SERVICES GRID
   ---------------------------------------------------------- */

.service-overview-section {
    width: 100%;
    box-sizing: border-box;
}

.service-overview-grid {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    box-sizing: border-box !important;
}


/* ----------------------------------------------------------
   SERVICES CTA
   ---------------------------------------------------------- */

.service-overview-cta {
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 3.5rem !important;
    box-sizing: border-box !important;
}

.service-overview-cta-inner {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 2rem !important;
    padding-right: 2rem !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 2rem !important;
}


/* ----------------------------------------------------------
   CTA CONTENT
   ---------------------------------------------------------- */

.service-overview-cta-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 900px !important;
}

.service-overview-cta-content p {
    margin: 0 !important;
}


/* ----------------------------------------------------------
   CTA BUTTON AREA
   ---------------------------------------------------------- */

.service-overview-cta-action {
    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    position: static !important;
}


/* ----------------------------------------------------------
   CTA BUTTON
   ---------------------------------------------------------- */

.service-overview-cta-action .btn,
.service-overview-cta .btn,
.service-overview-cta .btn-primary {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 165px !important;

    height: auto !important;

    margin: 0 !important;

    padding: 13px 28px !important;

    box-sizing: border-box !important;

    white-space: nowrap !important;

    transform: none !important;
}


/* ----------------------------------------------------------
   REMOVE UNWANTED SPACE BEFORE CTA
   ---------------------------------------------------------- */

.service-overview-grid {
    margin-bottom: 0 !important;
}

.service-overview-grid > *:last-child {
    margin-bottom: 0 !important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 768px) {

    .service-detail-hero-inner,
    .service-overview-hero .service-detail-hero-inner,
    .service-overview-grid {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .service-overview-cta {
        padding-top: 1.5rem !important;
        padding-bottom: 3rem !important;
    }

    .service-overview-cta-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 1.25rem !important;
    }

    .service-overview-cta-action {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .service-overview-cta-action .btn,
    .service-overview-cta .btn,
    .service-overview-cta .btn-primary {
        min-width: 160px !important;
    }
}