*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.josefin-sans {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #fff;
    color: #333;
    font-size: 1rem; /* Base font size */
    font-family: "Josefin Sans", sans-serif;
}

footer {
    text-align: left;
    font-size: 1rem;
    padding: 1rem 12rem;
    line-height: 1.5em;
    color: rgb(220, 220, 220);
}

h1 {
  font-size: 2.5rem; /* Scales with base font size */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

img.cover-bottom {
    max-height: 400px;
    max-width: 400px;
    object-fit: cover;
    object-position: top;
}

a {
    text-decoration: none;
    color: inherit;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 4em;
    width: auto;
    margin-right: 0.57em;
}

/* Nav bar */
nav {
    z-index: 10;
}

nav a {
    color: #333;
    margin: 0 1rem;
    font-size: 1rem;
}

nav a:hover,
.mission-btn:hover {
    text-decoration: underline;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 0.2rem solid black;
    min-width: 2rem;
}

.dropdown-content a {
    color: #333;
    padding: 0.5rem;
    margin: 0.5rem;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Banner Section */
.banner {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Keep the image in the background */
}

/* Content Container */
.banner-content {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 2; /* Ensure content is above the image */
    padding-left: 10%; /* Adjust for visual balance */
    max-width: 50%;
}

/* Text Block */
.banner-text {
    color: black;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent dark background */
    padding: 0.7rem 1.5rem;
    margin-bottom: 2rem; /* Space between text and button */
    letter-spacing: 0.2rem;
}

.banner-text h1 {
    font-size: 2.2rem;
    font-weight: 400;
}

/* .highlight {
    background-color: white;
    padding-bottom: 10px;
    display: inline;
} */

/* Button */
.cta {
    display: inline-block;
    padding: 1.25rem 2.2rem;
    background-color: black;
    color: rgb(220, 220, 220);
    text-decoration: none;
    border-radius: 2rem;
    font-size: 1rem;
    margin-bottom: 5rem;
}

.cta:hover {
    background-color: #222222;
}

.main {
    text-align: center;
    color: rgb(100, 100, 100);
    font-weight: 400;
}

.main h2 {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 0.5em;
    margin-top: 2em;
    letter-spacing: 0.25em;
}

.main hr {
    margin: auto;
    margin-top: 2rem;
    width: 80%;
}

.main-page-text, .main-page-bullet, .main-page-subtext {
    font-size: 1.3rem;
    padding: 2rem 12rem;
    line-height: 1.5em;
}

.main-page-bullet {
    text-align: left;
    padding: 2rem 17rem;
    margin-bottom: 5rem;
}

.main-page-subtext {
    text-align: left;
    padding: 1rem 12rem;
}

.button {
    display: inline-block;
    padding: 1.25rem 2.2rem;
    background-color: black;
    color: rgb(220, 220, 220);
    text-decoration: none;
    border-radius: 2rem;
    font-size: 1rem;
    margin-bottom: 5rem;
    text-align: left;
}

.button:hover {
    background-color: #222222;
}

/* Left-aligned button inside a container */
.button-container {
    text-align: left;
    margin: 0 12rem;
}

/* About page */
.container {
    display: flex;             /* Flexible two-column layout */
    gap: 1rem;                 /* Space between columns */
    padding: 2rem 11rem;
    flex-wrap: wrap;
}

.images-column {
    flex: 1;                   /* Takes 1/2 of width */
}

.images-column img {
    width: 100%;               /* Responsive images */
    margin-bottom: 1rem;       /* Space between images */
    object-fit: cover;         /* Maintain aspect ratio */
}

.aside-content {
    flex: 1;                   /* Takes 1/2 of width */
    padding: 2rem;
    border-radius: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1.5em;
}

.aside-content hr {
    margin: 1rem;
}

.images-sub-wrapper {
    flex: 1;
    margin-top: 2em;
}

.aside-sub-wrapper {
    flex: 2;
    display: flex;
    justify-content: center;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    flex: 1;
    width: 80%;
    padding: 0.5em;
    margin: 0.5em;
}

.column-header {
    min-height: 4rem; /* Set a fixed minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.column hr {
    width: 80%;
    margin: 1em;
}

.column img {
    max-height: 200px;
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1em;
    object-position: top;
}

.column p {
    font-size: 1.1rem;
    line-height: 1.5rem;
    color:rgb(100, 100, 100);
}

.carousel-container {
    flex-direction: column;
    margin: 1rem auto;
    width: 80%;
}

.carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    width: 100%;
    display: flex;
    justify-content: center;
}

.slide img {
    max-height: 80vh;
    max-width: auto;
    border-radius: 8px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.left {
    left: 1rem;
}

.right {
    right: 1rem;
}

.thumbnails {
    display: flex;
    gap: 0.5em;
    margin-top: 1rem;
    justify-content: center;
}

.thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #555;
    cursor: pointer;
    border-radius: 4px;
}

.thumbnails img:hover,
.thumbnails img.active {
    border-color: #fff;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 330px;
    margin-bottom: 2rem;
}

.card-image-wrapper {
    width: 100%;            /* Full width of the card */
    height: 350px;          /* Fixed height for uniformity */
    display: flex;
    justify-content: center;
    align-items: center;
    object-position: top;
}

.event-image {
    width: 100%;       /* Full width of the container */
    height: 100%;      /* Maintain aspect ratio */
    object-fit: contain;       /* Hide excess image parts */
    border-radius: 5px;
    margin-bottom: 3rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #0055cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #003f99;
}

@media (max-width: 768px) {
    .images-column, .aside-content {
        flex: 1;
    }
    .container {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    .card-container {
        flex-direction: column;
        align-items: center;
    }
}
