/* General Reset */
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Intro Section */
.intro {
    text-align: center;
    margin-top: 20px;
}

.intro h1 {
    font-size: 2.5em;
    color: #4a4a6a; /* Dark purple */
    font-weight: bold;
}

.intro p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #4a4a6a;
}

/* Header Section */
.header {
position: relative; /* Needed to position the overlay */
width: 100%;
aspect-ratio: 10 / 3; /* Set the aspect ratio */
overflow: hidden; /* Ensure content stays within bounds */
}

.header img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the entire area */
display: block;
filter: brightness(0.7); /* Darkens the image */
}

/* Section Headings */
section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #4a4a6a;
    font-weight: bold;
    text-align: center;
}

/* Add space between paragraphs in "Student Driven" section */
section h2 + p {
margin-bottom: 20px; /* Adjust spacing */
}

/* Add even spacing between headers */
section h2 {
margin-top: 30px;  /* Increase top margin */
margin-bottom: 25px; /* Adjust bottom margin */
}

/* Past Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Event Card Styling */
.event-card {
    background: #2e3141;
    color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.event-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.event-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 1em;
    margin-bottom: 15px;
}

.event-card a {
    color: #add8e6;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.event-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}
