/* General body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #D4F6CC;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Navigation Bar Styling */
.navbar {
    background-color: #0e1131;
    width: 100%;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar-list li {
    margin: 0 20px;
}

.navbar-link {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar-link:hover {
    color: #EF5B0C;
}

/* Header styling */
header {
    background-color: #0e1131;
    color: white;
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Center Text Section */
.text-section {
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
}

.text-section h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    color: #EF5B0C;
}

.text-section p {
    font-size: 1.2em;
    margin: 5px 0;
    color: #3CCF4E;
}

/* Strip under header */
.meet-strip {
    background-color: #EF5B0C;
    padding: 10px 15px;
    color: white;
    margin-top: 10px;
}

.meet-strip h2 {
    font-size: 1.5em;
    margin: 0;
}

/* School container */
.school-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
}

/* School block */
.school-block {
    background-color: white;
    margin: 15px;
    padding: 20px;
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.school-block:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background-color: #3CCF4E;
}

/* On hover, change inner ambassador appearance */
.school-block:hover .ambassador {
    transform: scale(1.05);
    background-color: #003865;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.school-block:hover .ambassador h3 {
    color: white;
}

/* School heading */
.school-block h2 {
    color: #003865;
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Ambassador container */
.ambassador-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.ambassador {
    width: 110px;
    height: 110px;
    background-color: #eee;
    border-radius: 50%;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-left: -10px;
}

.ambassador:nth-child(2) {
    margin-left: 10px;
}

.ambassador img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ambassador h3 {
    margin-top: 8px;
    font-size: 0.9em;
    color: #333;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .school-container {
        flex-direction: column;
        align-items: center;
    }

    .school-block {
        width: 90%;
        margin: 10px 0;
    }

    .text-section h1 {
        font-size: 2em;
    }

    .text-section p {
        font-size: 1em;
    }

    .meet-strip h2 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .school-block {
        width: 95%;
    }

    .text-section h1 {
        font-size: 1.8em;
    }

    .text-section p {
        font-size: 0.9em;
    }
}

/* --- Events and Highlights Section --- */
.events-container {
    width: 100%;
    padding: 40px 5%;
    box-sizing: border-box;
    background-color: #ffffff;
}

/* Individual Event Row */
.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    gap: 40px;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f7fff9; /* subtle background */
    width: 100%;
}

/* Reverse row (image right, text left) */
.event-row.reverse {
    flex-direction: row-reverse;
}

/* Poster/Image styling */
.event-row img {
    width: 45%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Text block */
.event-description {
    width: 55%;
    text-align: justify;
    padding: 10px;
}

/* Heading */
.event-description h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #EF5B0C;
}

/* Paragraph */
.event-description p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* Hover effect on event row */
.event-row:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background-color: #e8ffe8;
}

/* Optional: slight zoom on image */
.event-row:hover img {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-row {
        flex-direction: column;
        gap: 20px;
    }

    .event-row.reverse {
        flex-direction: column;
    }

    .event-row img,
    .event-description {
        width: 100%;
    }

    .event-description h3 {
        font-size: 1.5em;
    }
}