/* 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-top: 0; /* Extra space to account for fixed navbar */
}

.text-section {
    text-align: center;
    margin: 10px;
}

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

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

.meet-strip {
    background-color: #EF5B0C;
    padding: 10px 15px;
    color: white;
    margin-top: 10px;
}

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

/* School Leaderboard Blocks */
.school-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    margin-top: 10px;
}

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

.school-block img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid #003865;
    background-color: white;
}

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

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

/* Category Sections */
.team-block {
    margin: 30px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-block h2 {
    color: #0e1131;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.domain-section {
    margin-top: 20px;
}

.domain-section h3 {
    color: #EF5B0C;
    font-size: 1.4em;
    margin: 10px 0;
}

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

.member {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.member:hover {
    transform: translateY(-5px);
    background-color: #D4F6CC;
}

.member h4 {
    font-size: 1.1em;
    color: #003865;
    margin: 5px 0;
}

.member p {
    font-size: 0.95em;
    color: #444;
    margin: 3px 0;
}

/* Qualified Teams Section */
#qualified-teams {
    margin-top: 30px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#qualified-teams h2 {
    color: #0e1131;
    font-size: 1.8em;
    margin-bottom: 10px;
}

#qualified-teams .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

#qualified-teams .member {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#qualified-teams .member:hover {
    transform: translateY(-5px);
    background-color: #D4F6CC;
}

#qualified-teams .member h4 {
    font-size: 1.1em;
    color: #003865;
    margin: 5px 0;
}

#qualified-teams .member p {
    font-size: 0.95em;
    color: #444;
    margin: 3px 0;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-section h1 {
        font-size: 2em;
    }
    .text-section p {
        font-size: 1em;
    }
    .school-block {
        width: 90%;
    }
    .member {
        width: 90%;
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .text-section h1 {
        font-size: 1.8em;
    }
    .text-section p {
        font-size: 0.9em;
    }
    .school-block {
        width: 95%;
    }
    .school-block img {
        width: 80px;
        height: 80px;
    }
}
