

        /* Upcoming events */
        .events-section {
            background: #e6f0ff;
            padding: 50px 20px;
            overflow: hidden;
            position: relative;
        }

        .events-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            text-transform: uppercase;
        }

        .events-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #1c3b70;
            display: block;
            margin: 10px auto 0;
            border-radius: 2px;
        }

        .events-marquee {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .events-track {
            display: flex;
            width: calc(200%);
            /* to repeat the items smoothly */
            animation: scroll 20s linear infinite;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .event-item {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            background: #1565c0;
            color: #fff;
            padding: 10px 25px;
            margin: 0 10px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            min-width: 250px;
            transition: transform 0.3s ease;
        }

        .event-item:hover {
            transform: scale(1.05);
            background: #0d47a1;
        }

        .event-date {
            font-weight: 700;
            margin-right: 12px;
            font-size: 1rem;
        }

        .event-name {
            font-size: 1rem;
            white-space: nowrap;
        }
@media (max-width: 768px) {



            .events-title {
                font-size: 2rem;
                margin-bottom: 20px;
            }

            .event-item {
                min-width: 200px;
                padding: 8px 18px;
            }

            .event-date,
            .event-name {
                font-size: 0.9rem;
            }
}




        /* Banner Popup Styles */
        .banner-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .banner-popup .popup-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            overflow: hidden;
        }

        .banner-popup img {
            width: 100%;
            height: auto;
            display: block;
        }

        .close-popup {
            position: absolute;
            top: 10px;
            right: 18px;
            font-size: 28px;
            font-weight: bold;
            color: var(--text-color);
            cursor: pointer;
            z-index: 10;
        }

        /* Banner Styling with Faster Animation */
        .main-banner {
            position: relative;
            width: 100%;
            height: 85vh;
            overflow: hidden;
        }

        .main-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            filter: brightness(0.75);
            animation: zoomIn 6s ease-in-out infinite alternate;
        }

        /* Banner Text Styling */
        .banner-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #dfd6f7;
            text-align: center;
            z-index: 2;
            animation: fadeIn 1s ease forwards;
            width: 90%;
            max-width: 900px;
        }


        .banner-text h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
        }

        .banner-text p {
            font-size: 1.25rem;
            font-weight: 400;
            margin-top: 0.5rem;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
        }

        /* Animation Keyframes */
        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(40px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes zoomIn {
            0% {
                transform: scale(1);
            }

            100% {
                transform: scale(1.05);
            }
        }

        /* Gallery section */
        .gallery-section {
            padding: 60px 20px;
            background: #f9f9f9;
            text-align: center;
        }

        .gallery-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            text-transform: uppercase;
        }

        .gallery-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #1c3b70;
            display: block;
            margin: 10px auto 0;
            border-radius: 2px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .gallery-item {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Lightbox styles */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .lightbox-img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 10px;
            box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
        }
@media (max-width: 600px) {



            .gallery-item {
                height: 120px;
            }
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .main-banner {
        height: 50vh;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1rem;
    }
}
