body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 80px;
    background-color: #091940;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: normal;
    color: #eaeaea;
    text-decoration: none;
}

.logo span {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #cecece;
}

nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 30px;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #cecece;
    font-weight: 700;
}

nav a:hover {
    color: #d4af37;
}

nav a.active {
    color: #d4af37;
}

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
    overflow: hidden;
}

footer {
    text-align: center;
    padding: 60px;
    background-color: #091940;
    font-size: 12px;
    color: #cecece;
}

h1, h2 {
    color: #001f3f;
}

.placeholder-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Team image container for About page */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}

.team-member {
    position: relative;
    width: 240px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #001f3f;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.team-member .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 31, 63, 0.314);
    color: #fff;
    padding: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.team-member:hover .overlay {
    opacity: 1;
}

.team-member .overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 2px;
}

.team-member .overlay p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #fff;
    margin: 0;
    margin-bottom: 20px;
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #cecece;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    transition: height 0.3s ease, visibility 0.3s ease;
}


.contact-info {
    font-size: 18px;
    color: #333;
    margin-top: 20px;
}

.contact-info a {
    color: #001f3f;
    text-decoration: none;
}

.contact-info a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.contact-email, .contact-phone {
    display: inline-block;
    margin-right: 8px;
}


/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display:flex;
        position: absolute;
        transform: translateX(-50%);
        width: 30vw;
        background: #091940;
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        height: 0;
        visibility: hidden;
        overflow: hidden;
        z-index: 1000;
        transition: height 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu.active {
        height: auto;
        visibility: visible;
    }

    nav li {
        margin: 15px 0;
    }

    nav a {
        font-size: 15px;
    }

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

    .team-member {
        width: 200px;
        height: 250px;
    }

    .team-member .overlay {
        opacity: 1;
    }

    .team-member .overlay h3 {
        font-size: 14px;
    }

    .team-member .overlay p {
        font-size: 11px;
    }

    header {
        padding: 20px 40px;
    }
}

@media (max-width: 480px) {
    .team-member {
        width: 180px;
        height: 225px;
    }

    .team-member .overlay {
        opacity: 1;
    }

    .team-member .overlay h3 {
        font-size: 13px;
    }

    .team-member .overlay p {
        font-size: 10px;
    }

    header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .logo span {
        font-size: 12px;
    }

    .placeholder-logo {
        width: 50px;
        height: 50px;
    }
}
