/* Feature Layout Improvements */
.tj-service-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.tj-service-section .col-lg-4 {
    padding: 15px;
    display: flex;
}

.service-item.style-4 {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: all 0.3s ease;
    padding: 40px 35px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
}

.service-item.style-4:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item.style-4 .service-icon {
    margin-bottom: 25px;
}

.service-item.style-4 .service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-item.style-4 .service-content .title {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-item.style-4 .service-content .desc {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-item.style-4 .text-btn {
    margin-top: auto;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .tj-service-section .col-lg-4 {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .tj-service-section .col-lg-4 {
        width: 100%;
    }
    
    .service-item.style-4 {
        padding: 30px 25px;
    }
}

/* Fix container width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section spacing */
.section-gap {
    padding: 100px 0;
}

/* Equal height alignment fix */
.service-item.style-4 {
    min-height: 380px;
}