:root {
    --teal-primary: #15A59B;
    --teal-light: #47D4CC;
    --teal-dark: #0D7A70;
    --teal-gradient: linear-gradient(135deg, #15A59B 0%, #47D4CC 100%);
}

* {
    font-family: 'Poppins', sans-serif;
}

.hero-section {
    background: var(--teal-gradient);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom center;
    background-size: cover;
}

.btn-teal {
    background: var(--teal-primary);
    border-color: var(--teal-primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-teal:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 165, 155, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--teal-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--teal-gradient);
    border-radius: 2px;
}

.calendar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.calendar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 165, 155, 0.15);
}

.month-header {
    background: var(--teal-gradient);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.month-header h4 {
    margin: 0;
    font-weight: 600;
}

.month-header .month-year {
    font-size: 1.1rem;
    opacity: 0.9;
}

.events-list {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.event-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--teal-primary);
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #e8f5f4;
    transform: translateX(5px);
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-date {
    background: var(--teal-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.event-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-content h6 {
    color: var(--teal-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-content p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.event-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-type.academic {
    background: #e3f2fd;
    color: #1976d2;
}

.event-type.exam {
    background: #fff3e0;
    color: #f57c00;
}

.event-type.holiday {
    background: #f3e5f5;
    color: #7b1fa2;
}

.event-type.registration {
    background: #e8f5e8;
    color: #388e3c;
}

.event-type.graduation {
    background: #fce4ec;
    color: #c2185b;
}

.filter-tabs {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-tabs .nav-link {
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    color: var(--teal-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tabs .nav-link.active {
    background: var(--teal-primary);
    color: white;
    box-shadow: 0 3px 10px rgba(21, 165, 155, 0.3);
}

.filter-tabs .nav-link:hover:not(.active) {
    background: #f0f9f8;
    color: var(--teal-primary);
}

.academic-year-banner {
    background: linear-gradient(45deg, var(--teal-dark), var(--teal-primary));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.academic-year-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.legend {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.download-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-radius: 15px;
    margin-top: 3rem;
}


.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 165, 155, 0.15);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-primary);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .calendar-card {
        margin-bottom: 2rem;
    }
    
    .event-date {
        width: 50px;
        height: 50px;
    }
    
    .event-date .day {
        font-size: 1.25rem;
    }
    
    .filter-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
