* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}


/* NAVIGATION */

nav {
    background: #005b88;
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;
}

.logo {
    font-weight: bold;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #ffea00;
}


/* HERO */

.hero {
    min-height: 650px;

    background:
        linear-gradient(
            rgba(0, 91, 136, 0.93),
            rgba(0, 91, 136, 0.93)
        );

    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;
}

.small-title {
    letter-spacing: 2px;
    font-size: 14px;
}

.hero h1 {
    font-size: 70px;
    line-height: 1.05;

    margin: 25px 0;
}

.hero h1 span {
    color: #ffea00;
}

.hero p {
    font-size: 22px;
}


/* BUTTON */

.button {
    display: inline-block;

    margin-top: 20px;
    padding: 14px 28px;

    background: #ffea00;

    color: #003f60;

    text-decoration: none;

    font-weight: bold;

    border-radius: 6px;
}

.button:hover {
    background: white;
}


/* NORMAL SECTIONS */

.section {
    padding: 90px 10%;

    text-align: center;
}

.section h2,
.join h2 {
    font-size: 38px;

    color: #005b88;
}

.section > p {
    max-width: 800px;

    margin: auto;

    font-size: 18px;

    line-height: 1.7;
}


/* BLUE SECTION */

.blue-section {
    background: #f1f7fa;
}


/* CARDS */

.cards {
    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;

    margin-top: 50px;
}

.card {
    width: 280px;

    padding: 30px;

    background: white;

    border-radius: 10px;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #005b88;
}


/* JOIN */

.join {
    background: #005b88;

    color: white;

    text-align: center;

    padding: 90px 20px;
}

.join h2 {
    color: white;
}

.join p {
    font-size: 20px;
}


/* FOOTER */

footer {
    background: #003f60;

    color: white;

    padding: 30px;

    text-align: center;
}

/* Team members */

.team-cards {
    align-items: stretch;
}

.card.person {
    width: 280px;
    flex: 0 0 280px;
    text-align: center;
    overflow: hidden;
}

.card.person .person-photo {
    width: 180px;
    height: 180px;
    max-width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;

    display: block;
    margin: 0 auto 25px auto;
}

.person h3 {
    margin-bottom: 8px;
}

.person p {
    margin-top: 0;
    font-weight: 600;
}

@media (max-width: 700px) {
    .card.person {
        width: min(280px, 100%);
        flex-basis: min(280px, 100%);
    }

    .card.person .person-photo {
        width: 160px;
        height: 160px;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 45px;
    }

    .section {
        padding: 60px 25px;
    }

}
