/* ===================================
   SERVICES SECTION - Cinvico Theme
   =================================== */

.services-section {
    position: relative;
    padding: 53px 0;
    overflow: hidden;
}

.services-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.services-section .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-section .section-content {
    position: relative;
    z-index: 1;
}

.services-section .services-header {
    margin-bottom: 2rem;
}

.services-section .services-header .item-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.services-section .services-header .item-title::before,
.services-section .services-header .item-title::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 2px;
    background: #0000ff;
}

.services-section .services-header .item-title span {
    color: #0000ff;
    white-space: nowrap;
}

.services-section .tabbed-content {
    max-width: 100%;
}

/* Tabs Navigation */
.services-section .nav-tabs {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    gap: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.services-section .nav-tabs .tab {
    flex: 1;
    margin: 0;
}

.services-section .nav-tabs .tab a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.services-section .nav-tabs .tab:last-child a {
    border-right: none;
}

.services-section .nav-tabs .tab a:hover {
    background: rgba(0, 0, 255, 0.08);
    color: #0000ff;
}

.services-section .nav-tabs .tab.active a {
    background: #0000ff;
    color: white;
}

/* Tab Panels */
.services-section .tab-panels {
    position: relative;
}

.services-section .panel {
    display: none;
}

.services-section .panel.active {
    display: block;
}

/* Service Banner */
.services-section .service-banner {
    position: relative;
    width: 100%;
    padding-top: 39%;
    overflow: hidden;
    background: #f0f0f0;
}

.services-section .service-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.services-section .banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.services-section .service-banner:hover img {
    transform: scale(1.05);
}

/* ===================================
   RESPONSIVE
   =================================== */

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

    .services-section .services-header .item-title {
        font-size: 1.5rem;
        gap: 1rem;
    }

    .services-section .services-header .item-title::before,
    .services-section .services-header .item-title::after {
        width: 60px;
    }

    .services-section .nav-tabs .tab a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 30px 0;
    }

    .services-section .services-header .item-title {
        font-size: 1.25rem;
    }

    .services-section .services-header .item-title::before,
    .services-section .services-header .item-title::after {
        width: 40px;
    }

    .services-section .nav-tabs {
        flex-direction: column;
        border-radius: 6px;
    }

    .services-section .nav-tabs .tab {
        width: 100%;
    }

    .services-section .nav-tabs .tab a {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .services-section .nav-tabs .tab:last-child a {
        border-bottom: none;
    }

    .services-section .service-banner {
        padding-top: 60%;
    }
}
