/* Services Section Styles */
.services-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent; /* Changed from white to match the image structure */
}

.services-section .section-title {
    text-align: left;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    margin-top: 0;
    padding-left: 20px;
    padding-top: 20px;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.services-tabs {
    display: flex;
    gap: 8px;
    padding-left: 20px;
    background-color: #fff;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    outline: none;
}

.tab-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
    border-bottom: 1px solid #333;
}

.tab-btn:hover:not(.active) {
    background-color: #f5f5f5;
}

.services-content-box {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 40px 10px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    margin: 0 20px 20px 20px;
    margin-left: 0;
    margin-right: 0;
}

.section-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
}

.services-section .section-title {
    background-color: transparent;
    padding: 0;
    margin-bottom: 25px;
}

.services-tabs {
    padding-left: 0;
    background-color: transparent;
}

.service-item {
    text-align: center;
    padding: 10px;
    position: relative;
    cursor: pointer;
}

/* Vertical separators */
.service-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #f0f0f0;
}

.service-icon {
    font-size: 55px; /* Large emoji size */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: translateY(-8px);
}

.service-title {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    line-height: 1.3;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-content-box {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px 10px;
        gap: 20px 0;
    }
    .service-item:nth-child(3)::after {
        display: none;
    }
    .service-item:nth-child(6)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .services-tabs {
        flex-wrap: wrap;
    }
    .tab-btn {
        border-radius: 6px;
        margin-bottom: 5px;
        border-bottom: 1px solid #e0e0e0;
    }
    .services-content-box {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 12px;
    }
    .service-item:nth-child(even)::after {
        display: none;
    }
    .service-item:nth-child(3)::after {
        display: block;
    }
}

@media (max-width: 480px) {
    .services-content-box {
        grid-template-columns: 1fr;
    }
    .service-item::after {
        display: none !important;
    }
}
