.section-tabs-cards {
    padding: 80px 0;
}

.section-tabs-cards .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tabs-cards .section-header {
    text-align: center;
    margin-bottom: 60px;
    flex-direction: column;
}

.section-tabs-cards .section-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-tabs-cards .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-tabs-cards .section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #666666;
}

/* Tabs layout */
.section-tabs-cards .tabs-container {
    display: flex;
    margin-bottom: 40px;
    border-radius: 6px;
    background-color: #f3f4f6;
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-tabs-cards .tab {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 4px;
    font-size: 15px;
    color: #666666;
    background: none;
    border: none;
    outline: none;
}

.section-tabs-cards .tab.active {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Content styles */
.section-tabs-cards .tabs-content-container {
    position: relative;
}

.section-tabs-cards .tab-content {
    display: none; /* Hide all tab content by default */
}

.section-tabs-cards .tab-content.active {
    display: block; /* Only show active tab content */
}

/* Cards grid */
.section-tabs-cards .cards-grid {
    display: grid;
    gap: 24px;
}

.section-tabs-cards .cards-grid[data-layout="grid"] {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.section-tabs-cards .cards-grid[data-layout="list"] {
    grid-template-columns: 1fr;
}

.section-tabs-cards .cards-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.section-tabs-cards .cards-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.section-tabs-cards .cards-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.section-tabs-cards .cards-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Card item */
.section-tabs-cards .card-item {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
    padding: 30px 24px;
    border-left: 4px solid var(--card-highlight-color, var(--primary-color));
}

.section-tabs-cards .card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-tabs-cards .card-icon {
    margin-bottom: 16px;
}

.section-tabs-cards .card-icon i {
    color: var(--card-highlight-color, var(--primary-color));
    font-size: 24px;
}

.section-tabs-cards .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #434A54;
}

.section-tabs-cards .card-description {
    color: #666666;
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}

.section-tabs-cards .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--card-highlight-color, var(--primary-color));
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.section-tabs-cards .card-link:hover {
    opacity: 0.8;
}

.section-tabs-cards .card-link svg {
    stroke: var(--card-highlight-color, var(--primary-color));
    transition: all 0.2s ease;
}

.section-tabs-cards .card-link:hover svg {
    transform: translateX(4px);
}

.section-tabs-cards .empty-state {
    text-align: center;
    padding: 40px;
    background-color: #f9fafb;
    border-radius: 8px;
    color: #666666;
}

@media (max-width: 768px) {
    .section-tabs-cards {
        padding: 60px 0;
    }
    
    .section-tabs-cards .section-title {
        font-size: 20px;
    }
    
    .section-tabs-cards .section-description {
        font-size: 16px;
    }
    
    .section-tabs-cards .tabs-container {
        flex-direction: column;
        width: 100%;
    }
    
    .section-tabs-cards .tab {
        margin-bottom: 8px;
        text-align: center;
    }
    
    .section-tabs-cards .cards-grid {
        grid-template-columns: 1fr !important;
    }
}