/* Modern Service Page Layout */
.modern-service-content {
    padding: 30px 0;
    background-color: #f8fbff;
    font-family: 'Montserrat', sans-serif;
}

.modern-service-content .container {
    max-width: 1240px;
}

/* --- Compact Sidebar --- */
.service-sidebar {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    border: 1px solid #edf2f7;
}

.service-sidebar h3 {
    font-size: 16px;
    /* Reduced from 18px */
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    color: #1a202c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar-menu li {
    margin-bottom: 2px;
}

.service-sidebar-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: transparent;
    color: #555;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.service-sidebar-menu li a:hover,
.service-sidebar-menu li a.active {
    background: #f1f8ff;
    color: #0d6efd;
    border-left-color: #0d6efd;
    padding-left: 15px;
    /* Subtle shift */
}

.service-sidebar-menu li a i {
    font-size: 10px;
    opacity: 0.5;
}

/* Sidebar CTA Box */
.sidebar-cta-box {
    margin-top: 25px;
    background: linear-gradient(135deg, #0d6efd 0%, #0099cc 100%);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.sidebar-cta-box h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.sidebar-cta-box .btn-white {
    background: #fff;
    color: #0d6efd;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-cta-box .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* --- Main Content Area --- */
.service-details-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.service-details-wrapper h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -0.5px;
}

/* Shared Heading Styles */
.service-details-wrapper h2,
.service-details-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.service-details-wrapper h2::before,
.service-details-wrapper h3::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: #0d6efd;
    margin-right: 12px;
    border-radius: 4px;
}

.service-details-wrapper h3 {
    font-size: 20px;
    /* Slightly smaller than h2 but consistent style */
}

.service-details-wrapper p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

/* --- Benefits Grid Layout --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 30px;
}

.benefits-grid .benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    position: relative;
}

.benefits-grid .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.08);
    border-color: #0d6efd;
}

.benefits-grid .benefit-item .benefit-icon {
    width: 48px;
    height: 48px;
    background: #eef7ff;
    /* Light blue background from reference */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 18px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.benefits-grid .benefit-item:hover .benefit-icon {
    background: #0d6efd;
    color: #fff;
}

.benefits-grid .benefit-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    /* Ensuring consistent font */
}

.benefits-grid .benefit-item p {
    font-size: 14px;
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Process Steps Layout --- */
.steps-process {
    counter-reset: step-counter;
    margin-top: 30px;
}

.steps-process .step-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.steps-process .step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    width: 35px;
    height: 35px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.steps-process .step-item .step-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2d3748;
}

.steps-process .step-item .step-content p {
    font-size: 15px;
    color: #718096;
    margin-bottom: 0;
}

/* Accordion Adjustments - COMPACT FIX */
.accordion-item {
    border: 1px solid #eef2f7;
    /* Lighter border */
    margin-bottom: 8px;
    /* Reduced from 10px */
    border-radius: 6px !important;
    /* Smaller radius */
    background: #fff;
    overflow: hidden;
}

.accordion-button {
    background-color: #fff;
    padding: 12px 15px;
    /* Compact padding */
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    box-shadow: none !important;
    /* Remove focus shadow */
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #f8fbff;
    /* Very light blue active state */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
    /* Subtle separator */
}

.accordion-body {
    padding: 15px;
    /* Compact padding */
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.accordion-body p {
    margin-bottom: 10px;
    line-height: 1.6;
    /* Reduced slightly */
    color: #555;
    font-size: 14px;
    /* Slightly smaller text */
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* Image Styling */
.service-details-wrapper img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    max-width: 100%;
}

/* --- Service Hero Section --- */
.service-hero {
    background: linear-gradient(135deg, #f8fbff 0%, #eef2f7 100%);
    padding: 60px 0;
    /* Increased padding */
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eef2f7;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero .row {
    align-items: center;
}

.service-hero-content {
    padding-right: 20px;
}

.service-hero-content .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #64748b;
}

.service-hero-content .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.service-hero-content .breadcrumb-item a:hover {
    color: #0d6efd;
}

.service-hero-content .breadcrumb-item.active {
    color: #0d6efd;
    font-weight: 500;
}

.service-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.25;
}

.service-hero-content p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 0;
    max-width: 600px;
}

.service-hero-image {
    text-align: right;
    position: relative;
    padding: 20px;
}

.service-hero-logo-box {
    background: #ffffff;
    border-radius: 30px;
    /* Soft rounded square/badge */
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.1);
    padding: 20px;
    display: inline-block;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.service-hero-logo-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(13, 110, 253, 0.15);
}

.service-hero-logo-box img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    animation: heroFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    border-radius: 0;
    box-shadow: none;
}

/* Float animation for the hero image */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Fix for weird breadcrumb text injection */
.breadcrumb-item a::after {
    content: none !important;
}

@media print {
    a[href]:after {
        content: none !important;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .service-hero {
        padding: 40px 0;
        text-align: center;
    }

    .service-hero .row {
        flex-direction: column-reverse;
    }

    .service-hero-content {
        padding-right: 0;
        margin-top: 30px;
    }

    .service-hero-content h1 {
        font-size: 28px;
    }

    .service-hero-image {
        text-align: center;
        margin-bottom: 20px;
    }

    .service-hero-image img {
        max-height: 250px;
    }
}

/* -----------------------------------------------------------
   FOOTER STYLES (Added to fix missing/broken footer on service pages)
----------------------------------------------------------- */
.footer-area {
    background-color: #021d3a;
    /* Dark Blue Brand Color */
    padding: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
}

.footer-top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Ensure logo is white if it isn't transparent SVG */
}

.footer-desc {
    color: #a0aec0;
    font-size: 15px;
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 15px;
}

.footer-links li a:hover {
    color: #0d6efd;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #cbd5e0;
    font-size: 15px;
}

.footer-contact li i {
    color: #0d6efd;
    margin-right: 15px;
    font-size: 18px;
    margin-top: 3px;
    width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    background-color: #01162e;
    /* Slightly darker shade */
}

.footer-bottom p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.footer-social a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}