body {
    margin: 0;
    font-family: 'Playwrite IT Moderna', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px 20px;
    position: relative;
    z-index: 2; /* Ensure the navbar stays on top of the hero section */
}

.logo {
    font-size: 1.5em;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 3; /* Ensure the hamburger icon stays on top */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2; /* Ensure the nav-links stay on top */
}

.nav-links a {
    text-decoration: none;
    color: #1b2256;
}

.hero {
    width: 100%;
    height: calc(100vh - 3rem); /* Adjust height to account for navbar and additional space */
    margin-top: 3rem; /* Add margin to create space between navbar and hero section */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    width: 90%;
    height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the hero section */
    position: absolute;
    top: 0;
    left: 0;
}

.team {
    padding: 50px 20px;
    text-align: center;
}

.team-heading {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #1b2256;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.team-member {
    text-align: center;
    color: #1b2256;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-name {
    margin-top: 10px;
    font-size: 1.2em;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.footer a {
    color: #1b2256;
    font-size: 1.5em;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 3; /* Ensure the mobile menu stays on top */
        text-align: center; /* Center align the links */
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        height: calc(50vh - 3rem); /* Adjust height to account for navbar on smaller screens */
        margin-top: 3rem; /* Ensure consistent spacing on smaller screens */
    }

    .hero-container {
        width: 95%;
        height: 70%;
    }

    .team-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Adjust grid layout for smaller screens */
        gap: 10px;
    }

    .team-image {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 1em;
    }
}
