.services-section {
    background: url('../images/dark-mosaic_sevice_bg.png') repeat;
    background-color: #f9f9f9;
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: #3088E2;
    margin: 15px auto 0;
    border-radius: 10px;
}

/* Service Box */
.serviceBox {
    text-align: center;
    padding: 0 15px 15px;
    border-radius: 0 0 150px 150px;
    box-shadow: 0 12px 7px -7px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
    color: #999;
    font-family: 'Kumbh Sans', sans-serif;
}

.serviceBox:hover {
    transform: translateY(-6px);
}

.serviceBox .service-icon {
    color: #fff;
    font-size: 50px;
    line-height: 80px;
    height: 80px;
    width: 85px;
    margin: 0 auto 25px;
    border-radius: 0 0 50px 50px;
}

.serviceBox .service-content {
    background: #fff;
    padding: 0 20px 20px;
    border-radius: 15px 15px 150px 150px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 15px solid;
}

.serviceBox .title {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 7px;
}

.serviceBox .description {
    font-size: 14px;
    margin: 0 0 15px;
}

.serviceBox .read-more {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

.serviceBox .read-more:hover {
    color: #999;
    border-bottom: 1px dashed #999;
}

/* Unique Colors for Each Card */
.color1 {
    background: linear-gradient(transparent 65%, #3088E2 65%);
}

.color1 .service-content {
    border-top-color: #3088E2;
}

.color1 .service-icon {
    background-color: #3088E2;
}

.color1 .title,
.color1 .read-more {
    color: #3088E2;
}

.color2 {
    background: linear-gradient(transparent 65%, #FFA005 65%);
}

.color2 .service-content {
    border-top-color: #FFA005;
}

.color2 .service-icon {
    background-color: #FFA005;
}

.color2 .title,
.color2 .read-more {
    color: #FFA005;
}

.color3 {
    background: linear-gradient(transparent 65%, #f22e52 65%);
}

.color3 .service-content {
    border-top-color: #f22e52;
}

.color3 .service-icon {
    background-color: #f22e52;
}

.color3 .title,
.color3 .read-more {
    color: #f22e52;
}

.color4 {
    background: linear-gradient(transparent 65%, #00B59C 65%);
}

.color4 .service-content {
    border-top-color: #00B59C;
}

.color4 .service-icon {
    background-color: #00B59C;
}

.color4 .title,
.color4 .read-more {
    color: #00B59C;
}

.color5 {
    background: linear-gradient(transparent 65%, #6741D9 65%);
}

.color5 .service-content {
    border-top-color: #6741D9;
}

.color5 .service-icon {
    background-color: #6741D9;
}

.color5 .title,
.color5 .read-more {
    color: #6741D9;
}

.color6 {
    background: linear-gradient(transparent 65%, #D72638 65%);
}

.color6 .service-content {
    border-top-color: #D72638;
}

.color6 .service-icon {
    background-color: #D72638;
}

.color6 .title,
.color6 .read-more {
    color: #D72638;
}

.color7 {
    background: linear-gradient(transparent 65%, #159957 65%);
}

.color7 .service-content {
    border-top-color: #159957;
}

.color7 .service-icon {
    background-color: #159957;
}

.color7 .title,
.color7 .read-more {
    color: #159957;
}

.color8 {
    background: linear-gradient(transparent 65%, #F57F17 65%);
}

.color8 .service-content {
    border-top-color: #F57F17;
}

.color8 .service-icon {
    background-color: #F57F17;
}

.color8 .title,
.color8 .read-more {
    color: #F57F17;
}

.color9 {
    background: linear-gradient(transparent 65%, #5C6BC0 65%);
}

.color9 .service-content {
    border-top-color: #5C6BC0;
}

.color9 .service-icon {
    background-color: #5C6BC0;
}

.color9 .title,
.color9 .read-more {
    color: #5C6BC0;
}

/* Responsive Row Spacing */
@media (max-width: 575.98px) {
    .services-section .row {
        margin-bottom: 20px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .services-section .row {
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) {
    .services-section .row {
        margin-bottom: 50px;
    }
}

/* Tabs Bar Css start */

.services-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: auto;
    margin-top: 50px;
}

.sidebar {
    background-color: var(--sidebar);
    width: 250px;
    flex-shrink: 0;
    padding: 1rem 0.8rem;
    border-right: 1px solid var(--border);
}

.sidebar h2 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.category {
    margin-bottom: 1.2rem;
}

.category label {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.category label:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sub-items {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sub-items li {
    list-style: none;
    margin: 0.4rem 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #ccc;
}

.sub-items li:hover {
    color: #fff;
    font-weight: bold;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked~.sub-items {
    display: block;
}

.content-area {
    flex: 1;
    padding: 2.5rem;
    background-color: var(--card);
    min-height: auto;
}

.content-area .service-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.content-area .service-content img.service-img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.content-area .service-content .text {
    flex: 1;
}

.content-area h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-area p {
    font-size: 1rem;
    line-height: 1.6;
}

.content-area .btn-view {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: #3088E2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.content-area .btn-view:hover {
    background-color: #206bb7;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .services-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .content-area .service-content {
        flex-direction: column;
        text-align: center;
    }

    .content-area .service-content img.service-img {
        width: 100%;
        height: auto;
    }
}
