.services-container {
    padding: 30px 0;
    width: 100%;
    position: relative;
}

.services-container::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.service-box {
    background: transparent;
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px 0;
    height: 180px;
    width: 100%;
    position: relative;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.1);
}
.service-active {
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.service-box:hover .service-icon img {
    opacity: 1;
}

.service-title {
    position: absolute;
    top: 80px;
    left: 15px;
}

.service-title h6 {
    color: var(--primary);
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
    text-transform: capitalize;
    font-style: italic;
}

.service-box:hover .service-title h6 {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .services-container::after{
        display: none;
    }
    .service-box {
        width: 180px;
    }
    .sliderTitle{
        margin-top: 5rem;
        font-size: 26px;
        line-height: 1.2;
    }
    .sliderDesc{
     font-size: 14px;
    }
}

@media (max-width: 767px) {
    .services-container {
        padding: 20px 0;
    }
    
    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .col-lg-2 {
        width: calc(33.333% - 10px); /* 3'lü grid */
        padding: 0 5px;
    }

    .service-box {
        width: 100%;
        height: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 15px 10px;
        margin: 0;
    }

    .service-icon {
        position: static;
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
        transform: none;
    }

    .service-title {
        position: static;
        width: 100%;
    }

    .service-title h6 {
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (max-width: 575px) {
    .col-lg-2 {
        width: calc(50% - 10px); /* 2'li grid */
    }

    .service-box {
        height: 130px;
    }

    .service-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }

    .service-title h6 {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .col-lg-2 {
        width: calc(100% - 10px); /* Tek sütun */
    }

    .service-box {
        height: 120px;
    }
} 