/* Tabs Container */
.tabs-container {
    max-width: 1200px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 1.5rem;
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
    color: #3229ae;
}

/* Hover and Active States */
.tab-button:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Shine Effect */
.tab-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.tab-button:hover::after {
    left: 100%;
}

/* Year Grid */
.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.year-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.year-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(124, 58, 237, 0.1) 50%, transparent 100%);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s ease;
}

.year-card:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.year-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
    border-color: #7c3aed;
}

/* Year Card Headings with Different Colors */
.year-card h3 {
    font-size: 2.25rem; /* Increased from 1.5rem */
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Different colors for different years */
.year-card:nth-of-type(1) h3 { color: #2563eb; } /* Blue */
.year-card:nth-of-type(2) h3 { color: #7c3aed; } /* Purple */
.year-card:nth-of-type(3) h3 { color: #db2777; } /* Pink */
.year-card:nth-of-type(4) h3 { color: #059669; } /* Emerald */
.year-card:nth-of-type(5) h3 { color: #d97706; } /* Amber */
.year-card:nth-of-type(6) h3 { color: #dc2626; } /* Red */
.year-card:nth-of-type(7) h3 { color: #4f46e5; } /* Indigo */
.year-card:nth-of-type(8) h3 { color: #0891b2; } /* Cyan */
.year-card:nth-of-type(9) h3 { color: #be185d; } /* Rose */
.year-card:nth-of-type(10) h3 { color: #15803d; } /* Green */

/* Enhanced hover effect for year cards */
.year-card:hover h3 {
    transform: scale(1.05);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}


.learn-more {
    display: inline-block;
    color: #7c3aed;
    font-weight: 500;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #f3f4f6;
    transition: all 0.3s ease;
}

.year-card:hover .learn-more {
    background: #7c3aed;
    color: white;
}

/* Tab Content Animation */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tabs-header {
    text-align: left;
    /* padding: 2rem 0; */
    background: var(--bg-light);
    padding: 1rem 1.75rem;
}

.tabs-title {
    font-size: 2.5rem;
    color: #7c3aed;
    /* max-width: 800px; */
    /* margin: 0 auto; */
    font-weight: bold;
}

.tabs-subtitle {
    color: var(--primary-purple);
    font-size: 1rem;
    font-weight: 600;
    /* margin-bottom: 1rem; */
    justify-content: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs-container {
        margin: 1rem;
        padding: 1rem;
    }

    .tabs-navigation {
        /* flex-direction: column; */
        gap: 0.5rem;
    }

    .tab-button {
        /* width: 100%; */
        width: 25%;
        text-align: center;
    }

    .year-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .year-card {
        padding: 1.5rem;
    }

    .year-card h3 {
        font-size: 1.75rem; /* Slightly smaller on mobile */
    }    
}