/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: rgb(10, 42, 38);
    color: #fff;
    font-family: "Inter", sans-serif;
}

/* Navigation bar styles */
.navbar {
    width: 100%;
    background: rgb(10, 42, 38);
    color: #fff;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(19, 75, 68);
}

.navbar-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {

    height: 40px;
    margin-right: 1rem;
}

.project-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.project-name-second-word {
    font-style: italic;
    color: #bafff7;
}

/* Section header styles */
.section-header {
    max-width: 1100px;
    margin: 2.25rem auto 1.5rem;
    padding: 0 1rem;

    font-size: 2.25rem;
    font-weight: 500;
    color: #b3fceb;
    font-family: "Lora", serif;
}

/* Grid container styles */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
    gap: 1rem;
    /* Gap between columns and rows */
    padding: 1rem;
    /* Padding around the grid */
    max-width: 1100px;
    /* Max width for larger screens */
    margin: 0 auto;
    /* Center the grid */
}

/* Grid item styles for member directory */
.grid-item {
    background: rgb(10, 42, 38);
    border: 1px solid rgb(19, 75, 68);
    padding: 2rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.grid-item-hero {
    background: rgb(10, 42, 38);

    padding: 3rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;


}

.hero-title {
    font-size: 3em;
    font-family: "Lora", serif;
}

.hero-text {
    font-size: 1.15em;
    margin: auto 0;
    display: inline;
    /* Ensure it stays inline with the text */

}

.italic-style {
    font-style: italic;

}

.margin-bottom-20 {
    margin-bottom: 20px;
}


.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* Circular image */
    object-fit: cover;
    /* Ensure image fills circle without distortion */
    margin-bottom: 0.75rem;
}

.member-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.5;
}

/* Single-column section styles */
.single-column-section {
    display: grid;
    grid-template-columns: 1fr;
    /* 1 column on mobile */
    gap: 1rem;
    /* Gap between rows */
    padding: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Footer styles */
.footer {
    width: 100%;
    background: rgb(10, 42, 38);
    color: #eafffd;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgb(19, 75, 68);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-logo {
    height: 40px;
}

.footer-site-name {
    font-size: 1rem;
    font-weight: 600;
}

.footer-about {
    text-align: center;
    font-size: 0.9rem;
    max-width: 550px;
    margin: 0 auto;
    margin-bottom: 3rem;
     color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Media query for larger screens (min-width: 768px) */
@media (min-width: 768px) {

    .navbar {
        border-bottom: none;
    }

    .hero-title {
    font-size: 3.25em;
}


    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns on larger screens */
    }

    .single-column-section {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on larger screens */
    }

    .footer {
         padding: 1.5rem 2rem;
    }

    .footer-logo-section {
        justify-content: left;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Two columns for about and links/socials */
        gap: 2rem;
    }

    .footer-about {
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

    .footer-socials {
        justify-content: flex-end;
    }
}