/* 
===============================================
    EVENTS PAGE STYLESHEET
===============================================
*/

/* =========================================
   FOOTER STYLES
   ========================================= */
.footer {
    background: var(--bg-alt);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
    position: relative;
    padding-bottom: 10px;
    color: var(--text-primary);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-decoration: none;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(var(--primary), 0.3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.footer-links a::before {
    content: '›';
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 25px;
    gap: 0;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px 0 0 50px;
    background: var(--bg-surface);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(var(--primary), 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.back-to-top {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(var(--primary), 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(var(--secondary), 0.4);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 60px 0 20px;
    }
}

/* ===== 1. EVENTS HERO BANNER ===== */
.events-hero {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 100px;
}

.events-hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 20, 60, 0.7) 0%, rgba(30, 60, 120, 0.5) 100%);
}

.events-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.events-hero-content .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.events-hero-content .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.events-hero-content .breadcrumb a:hover {
    color: var(--secondary);
}

.events-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.events-hero-content h1 span {
    color: var(--secondary);
}

.events-hero-content .tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Hero Event Stats */
.hero-event-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stat-item i {
    font-size: 2rem;
    color: var(--secondary);
}

.hero-stat-item div {
    text-align: left;
}

.hero-stat-item small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.hero-stat-item strong {
    display: block;
    font-size: 1.5rem;
}

/* ===== 2. EVENT FILTER SECTION ===== */
.event-filter-section {
    padding: 60px 0;
    background: var(--bg-body);
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.event-search {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.event-search i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.event-search input {
    width: 100%;
    padding: 1rem 1.2rem 1rem 3rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-surface);
    color: var(--text-main);
    transition: var(--transition);
}

.event-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary), 0.1);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-main);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(var(--primary), 0.3);
}

/* ===== 3. UPCOMING EVENTS SECTION ===== */
.upcoming-events-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sec-tag {
    display: inline-block;
    background: rgba(var(--primary), 0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.sec-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.sec-title span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Event Cards Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.event-badge.featured {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.event-date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.event-date-badge .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.event-details {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.event-category {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.event-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.event-footer {
    display: flex;
    gap: 10px;
}

.btn-register {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-register:hover {
    box-shadow: 0 6px 20px rgba(var(--primary), 0.4);
    transform: translateY(-2px);
}

.btn-add-calendar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-calendar:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: rotate(90deg);
}

/* ===== 4. FEATURED EVENT SECTION ===== */
.featured-event-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.featured-event-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 2px solid var(--border);
}

.featured-content {
    padding: 3rem;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.event-info-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary), 0.1);
    border-radius: 10px;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: var(--text-main);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.info-item span {
    display: block;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Countdown Timer */
.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(var(--primary), 0.1), rgba(var(--secondary), 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(var(--primary), 0.2);
}

.countdown-item {
    text-align: center;
}

.countdown-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-item .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.featured-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-outline {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--primary), 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(var(--primary), 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-event-card:hover .featured-image img {
    transform: scale(1.05);
}

/* ===== 5. CALENDAR SECTION ===== */
.calendar-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.calendar-wrapper {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.calendar-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 2rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.75rem;
    font-size: 0.85rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.calendar-day:hover {
    background: var(--bg-alt);
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.legend-color.academic { background: #3b82f6; }
.legend-color.sports { background: #22c55e; }
.legend-color.cultural { background: #f59e0b; }
.legend-color.workshop { background: #8b5cf6; }

.calendar-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== 6. PAST EVENTS SECTION ===== */
.past-events-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.past-event-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.past-event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.past-event-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.past-event-card:hover .past-event-image img {
    transform: scale(1.1);
}

.past-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.past-event-card:hover .past-overlay {
    opacity: 1;
}

.btn-view-gallery {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-gallery:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.past-event-details {
    padding: 1.5rem;
}

.past-event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.past-event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.past-event-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-read-more:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

/* ===== 7. ACHIEVEMENTS SECTION ===== */
.achievements-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.achievement-event {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.achievement-rank {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== 8. CALL TO ACTION ===== */
.events-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.events-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .featured-event-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .event-search {
        max-width: 100%;
    }

    .category-filters {
        justify-content: center;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .past-events-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-wrapper {
        padding: 1.5rem;
    }

    .featured-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-event-stats {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}
/* =========================================
   COMPREHENSIVE RESPONSIVE STYLES
   ========================================= */

/* Large Tablets & Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .event-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .past-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-hero-content h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .calendar-wrapper {
        padding: 20px;
    }
}

/* Medium Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .events-grid,
    .past-events-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .featured-event-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        order: -1;
        height: 300px;
    }

    .featured-content {
        padding: 2rem;
    }

    .events-hero {
        height: 400px;
    }

    .events-hero-content h1 {
        font-size: 2rem;
    }

    .category-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        margin: 5px;
    }

    .calendar-header {
        flex-direction: column;
        gap: 10px;
    }

    .calendar-grid {
        overflow-x: auto;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

/* Small Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
    .events-hero {
        height: 350px;
    }

    .events-hero-content h1 {
        font-size: 1.8rem;
    }

    .events-hero-content p {
        font-size: 0.9rem;
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 1.5rem;
    }

    .countdown-item {
        padding: 15px;
        background: rgba(var(--primary), 0.05);
        border-radius: 12px;
    }

    .countdown-item .number {
        font-size: 1.8rem;
    }

    .countdown-item .label {
        font-size: 0.75rem;
    }

    .card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer-col h3 {
        font-size: 1.1rem;
    }

    .featured-actions,
    .calendar-actions,
    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline,
    .btn-outline-dark {
        width: 100%;
        justify-content: center;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    .events-hero-content h1 {
        font-size: 1.5rem;
    }

    .countdown-timer {
        padding: 1rem;
    }

    .countdown-item .number {
        font-size: 1.2rem;
    }
}
