/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: #002855;
}

header {
    background-color: #002855;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
}

header img {
    max-width: 100px;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

nav {
    background-color: #0077C8;
    text-align: center;
    padding: 10px 0;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
}

nav ul li a:hover {
    color: #E87722;
}

/* Main Content */
main {
    padding: 40px 10%;
}

.events {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

/* Each Event Card */
.event-card {
    background-color: #F1F1F1;
    border-radius: 8px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    width: 250px;  /* Fixed width for uniformity */
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

/* Image inside Card */
.event-card img {
    width: 100%;
    height: 150px; /* Fixed height to ensure all images are same size */
    object-fit: cover;  /* Ensures the image covers the area without distorting */
    border-radius: 5px;
}

/* Title */
.event-card h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 15px 0;
}

/* Description */
.event-card p {
    font-size: 11px;
    color: #A7A8AA;
    margin-bottom: 10px;
}

/* Event Date */
.event-card span {
    font-weight: bold;
    color: #0077C8;
}

/* Button */
.event-card a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E87722;
    color: #FFFFFF;
    font-size: 11px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

.event-card a:hover {
    background-color: #F1F1F1;
    color: #002855;
}
