/* What We Offer Tabs Section */
.what-we-offer-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.what-we-offer-header {
    text-align: center;
    margin-bottom: 40px;
}

.what-we-offer-title {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    color: #1a1a1a;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.what-we-offer-title.observed {
    opacity: 1;
    transform: translateY(0);
}

.what-we-offer-subtitle {
    font-size: 17px !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.what-we-offer-subtitle.observed {
    opacity: 1;
    transform: translateY(0);
}

/* Tab Navigation */
.service-tabs-navigation {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
    position: relative;
}

.service-tabs-navigation.observed {
    opacity: 1;
    transform: translateY(0);
}

.service-tab-btn {
    padding: 16px 40px;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-tab-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.service-tab-btn.active {
    background: #C1953538;
    color: #1a1a1a;
    border-color: #D4B896;
    font-weight: 600;
}

/* Tab Content */
.service-tabs-content {
    position: relative;
}

.service-tab-pane {
    display: none;
}

.service-tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards Grid */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card.observed {
    animation: cardFadeIn 0.6s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #D4B896;
}

.service-card.observed:hover {
    transform: translateY(-4px);
}

.service-icon-wrapper {
    margin-bottom: 24px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #3B5A9D;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

/* Audit & Assurance uses purple icons */
#tab-audit .service-icon {
    background: #7B3FF2;
}

/* Tax Consulting uses green icons */
#tab-tax .service-icon {
    background: #2D8A4F;
}

/* Business Processing uses blue icons */
#tab-business .service-icon {
    background: #3B7FD8;
}

.service-card-title {
  font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    flex-grow: 7;
}

.service-card-description {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-footer {
    margin-top: auto;
}

.service-price {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.service-quote-btn {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #333;
    border: 2px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-quote-btn:hover {
    background: #555;
    color: #fff;
    border-color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .what-we-offer-title {
        font-size: 36px;
    }
    
    .what-we-offer-subtitle {
        font-size: 16px;
    }
    
    .service-tabs-navigation {
        gap: 10px;
    }
    
    .service-tab-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .what-we-offer-title {
        font-size: 28px;
    }
    
    .service-tabs-navigation {
        flex-direction: column;
    }
    
    .service-tab-btn {
        width: 100%;
        text-align: center;
    }
}
