body {
    font-family: sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #234862;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background-color: #f0890b;
}

header nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

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

header nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.2rem;
}

.welcome-section {
    min-height: 40vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.mission-statement {
    margin-top: 30px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #f0890b;
}

.mission-statement h2, .mission-statement h3 {
    color: #234862;
    margin-top: 0;
}

.mission-statement p {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

main section {
    padding: 2rem;
    text-align: center;
    display: none;
}

main section.active {
    display: block;
}

main section.welcome-section.active {
    display: flex;
}

#registration ul {
    list-style-type: none;
    padding: 0;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.events-table th, .events-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.events-table th {
    background-color: #f2f2f2;
}

.events-subsection {
    margin-bottom: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 15px;
}

.event-item h4 {
    margin-top: 0;
    color: #234862;
}

.registration-info {
    background: #eef2f7;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    display: inline-block;
    text-align: left;
}

.registration-info p {
    margin: 5px 0;
}

.team-section {
    margin-top: 40px;
    text-align: center;
}

.member-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.member-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 200px;
    text-align: center;
}

.member-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    background: #ddd; /* Default background if image missing */
}

.member-card h4 {
    margin: 10px 0 5px 0;
    color: #234862;
}

.member-title {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-details {
    text-align: left;
    margin-top: 20px;
}

.contact-details p {
    margin: 10px 0;
}

.welcome-line {
    font-family: 'Sans', serif;
    font-weight: bold;
    color: #234862;
    display: block; /* This forces it to a new line without needing a <br> */
    margin-top: 50px;
  }

.welcome-section img {
    margin-top: 40px;
}

@media (max-width: 768px) {
    header nav ul li {
        display: block;
        margin: 10px 0;
    }
}