           :root {
            --primary: #1a5276;
            --secondary: #2980b9;
            --accent: #ffb65a;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --dark-blue: #0d2035;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            color: var(--dark);
            line-height: 1.6;
            padding-top: 80px; /* Account for fixed navbar */
        }

        /* Enhanced Hero Section */
        .events-hero {
            background: linear-gradient(135deg, var(--primary), var(--dark-blue));
            color: white;
            padding: 150px 0 80px;
            position: relative;
            overflow: hidden;
        }

        .events-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1469&q=80');
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            opacity: 0.15;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .events-hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: white;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            font-weight: 700;
        }

        .events-hero p {
            font-size: 1.2rem;
            margin-bottom: 40px;
        }

        @media (max-width: 768px) {
            .events-hero h1 {
                font-size: 2.5rem;
            }
            .events-hero p {
                font-size: 1.1rem;
            }
        }

        /* Section Titles */
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            font-weight: 700;
            color: var(--dark-blue);
        }

        .section-title p {
            font-size: 1.2rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--accent), var(--primary));
            border-radius: 2px;
        }

        /* Events Section */
        .events {
            padding: 80px 0;
            background-color: var(--light);
        }

        .event-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            border-bottom: 1px solid #ddd;
            flex-wrap: wrap;
        }

        .tab-btn {
            padding: 12px 25px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            color: #666;
            cursor: pointer;
            transition: var(--transition);
            margin: 0 5px 10px;
        }

        .tab-btn.active {
            color: var(--primary);
            border-bottom-color: var(--accent);
        }

        .tab-btn:hover {
            color: var(--primary);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .event-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
            display: flex;
            transition: var(--transition);
        }

        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .event-date {
            background: linear-gradient(135deg, var(--primary), var(--dark-blue));
            color: white;
            padding: 20px;
            min-width: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .event-date .day {
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1;
        }

        .event-date .month {
            font-size: 1rem;
            text-transform: uppercase;
            margin-top: 5px;
            letter-spacing: 1px;
        }

        .event-details {
            padding: 25px;
            flex: 1;
        }

        .event-details h3 {
            margin-bottom: 15px;
            color: var(--dark-blue);
            font-weight: 600;
        }

        .event-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            color: #666;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }

        .event-meta i {
            margin-right: 5px;
            color: var(--accent);
        }

        .register-btn {
            background: linear-gradient(135deg, var(--accent), #ff9e2a);
            border: none;
            color: white;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 500;
            text-decoration: none;
            transition: var(--transition);
            display: inline-block;
            margin-top: 15px;
        }

        .register-btn:hover {
            background: linear-gradient(135deg, #ff9e2a, var(--accent));
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 182, 90, 0.3);
        }

        .recap-btn {
            background: linear-gradient(135deg, var(--primary), var(--dark-blue));
            color: #fff !important;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 500;
            display: inline-block;
            margin-top: 15px;
            text-decoration: none;
            transition: var(--transition);
            border: none;
        }

        .recap-btn:hover {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary));
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(26, 82, 118, 0.3);
        }

        /* Event Recap Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            padding-top: 50px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow-y: auto;
            background-color: rgba(0, 0, 0, 0.8);
        }

        .modal-content {
            background: #fff;
            margin: auto;
            padding: 25px;
            max-width: 1000px;
            border-radius: 15px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease-in-out;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #eee;
            margin-bottom: 20px;
            padding-bottom: 15px;
        }

        .modal-header h2 {
            font-size: 24px;
            font-weight: 700;
            color: var(--dark-blue);
            margin: 0;
        }

        .close {
            color: #333;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }

        .close:hover {
            color: var(--accent);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease-in-out;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            padding: 10px;
            font-size: 14px;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .gallery-item:hover .caption {
            opacity: 1;
        }

        .recap-controls {
            text-align: center;
            margin-top: 20px;
        }

        /* Animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .event-card {
                flex-direction: column;
            }
            
            .event-date {
                flex-direction: row;
                justify-content: center;
                gap: 20px;
                min-width: auto;
                padding: 15px;
            }
        }

        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2.2rem;
            }
            
            .event-meta {
                flex-direction: column;
                gap: 10px;
            }
            
            .tab-btn {
                padding: 10px 15px;
                font-size: 0.9rem;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }
                    /* Footer */
        footer {
            background: linear-gradient(to right, var(--dark-blue), var(--primary));
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(to right, var(--accent), #ff9e2a);
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
            display: block;
            margin-bottom: 15px;
        }

        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

        .social-media a {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            margin-right: 10px;
        }

        .social-media a:hover {
            background: var(--accent);
            transform: translateY(-5px);
            color: white;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--accent), #ff9e2a);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
            box-shadow: 0 5px 15px rgba(255, 182, 90, 0.3);
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(255, 182, 90, 0.4);
        }


        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2.2rem;
            }
            
            .alumni-grid {
                grid-template-columns: 1fr;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fadeIn {
            animation: fadeIn 0.8s ease-out forwards;
        }