        :root {
            --primary-color: rgba(247, 116, 49, 1);
            --text-color: #333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Mulish', sans-serif;
            line-height: 1.6;
        }

        .events-page-hero {
            position: relative;
            height: 30vh;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 60px;
            margin-top: 100px;
            background-color: rgba(246, 246, 244, 0.96);
            color: black;
        }

        /* Create a pseudo-element for the circuit background */
        .events-page-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../images/Circuit_Background.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.2;
            /* This makes the circuit pattern 20% visible */
            z-index: 1;
        }


        .events-page-hero h1 {
            font-size: 3rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .events-section {
            padding: 60px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .events-section h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: var(--primary-color);
        }

        .events-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }

        .event-card {
            width: 300px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            background-color: white;
        }

        .event-card:hover {
            transform: translateY(-5px);
        }

        .event-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            /* Makes it square */
            position: relative;
            overflow: hidden;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .event-details {
            padding: 15px;
        }

        .event-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .event-date {
            color: var(--primary-color);
            font-size: 0.9rem;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .events-page-hero h1 {
                font-size: 2rem;
            }

            .events-section h2 {
                font-size: 2rem;
            }

            .event-card {
                width: 100%;
                max-width: 350px;
            }
        }