/* Tabs Styles for How We Work and FAQ sections */
.work-tabs, .faq-tabs {
    margin-top: 40px;
}

.tab-buttons, .faq-tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.tab-btn, .faq-tab-btn {
    background: none;
    border: none;
    padding: 10px 25px;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:after, .faq-tab-btn:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active, .faq-tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn.active:after, .faq-tab-btn.active:after {
    transform: scaleX(1);
}

.tab-content, .faq-tab-content {
    position: relative;
}

.tab-pane, .faq-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active, .faq-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tab-buttons, .faq-tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn, .faq-tab-btn {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .tab-btn:after, .faq-tab-btn:after {
        bottom: -5px;
    }
}
