/* Custom Services Section Styling */

/* Ensure equal height for service cards */
.services-area .s-single-services {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 30px 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.services-area .s-single-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.services-area .s-single-services.active {
    background: url('../img/features/se-hover-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.services-area .s-single-services.active:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(182, 140, 90, 0.3);
}

/* Service icon styling */
.services-area .services-icon {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.services-area .services-icon img {
    transition: all 0.3s ease;
    filter: brightness(1);
}

.services-area .s-single-services:hover .services-icon img {
    transform: scale(1.1);
}

.services-area .s-single-services.active .services-icon img {
    filter: brightness(0) invert(1);
}

/* Service content styling */
.services-area .second-services-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.services-area .second-services-content h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #190a32;
}

.services-area .s-single-services.active .second-services-content h5 {
    color: #fff;
}

.services-area .second-services-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.services-area .s-single-services.active .second-services-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .services-area .s-single-services {
        /* min-height: 250px; */
        padding: 25px 15px;
    }
    
    .services-area .second-services-content h5 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .services-area .s-single-services {
        /* min-height: 220px; */
        padding: 20px 15px;
    }
    
    .services-area .services-icon {
        margin-bottom: 15px;
    }
    
    .services-area .services-icon img {
        width: 40px;
        height: 40px;
    }
    
    .services-area .second-services-content h5 {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

