/* Service Detail Pages Styling */

/* Hero Section */
body {
    position: relative;
}

#hero {
    scroll-margin-top: 100px;
}

.service-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Scrollspy Sidebar Navigation */
.sidebar-nav {
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-top: 20px;
    border-right: 1px solid #e0e0e0;
}

.sidebar-nav .nav-link {
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link:hover {
    color: var(--bs-primary);
    background-color: rgba(0, 123, 255, 0.05);
}

.sidebar-nav .nav-link.active {
    color: var(--bs-primary);
    border-left-color: var(--bs-primary);
    background-color: rgba(0, 123, 255, 0.1);
    font-weight: 500;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content Area */
.content-area {
    min-height: calc(100vh - 200px);
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Intro Section Improvements */
.content-section .lead {
    list-style: none;
    padding-left: 0;
}

.content-section .lead li {
    display: flex;
    align-items: flex-start;
}

.solution-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--bs-primary);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.solution-box .h4 {
    margin-bottom: 0.75rem;
}

.solution-box p {
    margin-bottom: 0;
}

.content-section {
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--bs-primary);
}



.example-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tool Badges */
.tool-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.tool-badge:hover {
    background-color: #e9ecef;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

.tool-badge i {
    font-size: 1.5rem;
    color: var(--bs-primary);
}

/* Progress Stack */
.progress {
    height: 8px;
    border-radius: 4px;
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--bs-primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sidebar-nav {
        display: none;
    }

    .content-area {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Mobile Friendly */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.5rem;
    }

    .service-hero h1 {
        font-size: 2rem;
    }
}