* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    min-width: 100vw;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
  }

header nav {
    border-top: 8px solid #e57200;
    background: #232d4b;
    color: #fff;
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.navbar-logo {
    margin-right: auto;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
  }

.nav-link.active {
    color: #f0a500;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0a500;
  }

nav ul li a:hover {
    color: #f0a500;
}

main {
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

main section {
    width: 100%;
    margin-bottom: 200px;
    /* padding: 20px; */
}

.banner {
    height: 400px;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.section-content {
    padding: 0 40px;
    margin: 0 auto;
    max-width: 820px;
}

h1 {
    font-size: 2rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

footer {
    padding: 1rem 0;
    border-top: 8px solid #e57200;
    background: #232d4b;
    color: #fff;
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    align-items: center;
    /* padding: 0 1rem 0 1rem; */
    max-width: 1200px;
    width: 100%;
}

.footer-logo {
    max-width: 290px;
    margin-bottom: 0.5rem;
    margin-right: auto;
}

.mobile-menu {
    background-color: #e57200;
    height: 20vh;
    width: 100%;
    /* max-width: 450; */
    position: fixed;
    top: -100%;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    z-index: 1;
}

.mobile-menu.active {
    top: 106px;
}

.mobile-link {
    text-decoration: none;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    transition: color 0.3s;
}

.hamburger {
    height: 50px;
    width: 50px;
    margin-left: auto;
    position: relative;
    display: none;
}

.hamburger span {
    height: 5px;
    width: 100%;
    background-color: #e57200;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.hamburger span:nth-child(1) {
    top: 25%;
}

.hamburger span:nth-child(3) {
    top: 75%;
}

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

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

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


/* Mobile Styles */
@media (max-width: 860px) {
    .nav-link {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .mobile-menu li {
        text-align: center;
    }

    .mobile-menu a {
        display: block;
        padding: 1.5rem 0;
        text-decoration: none;
        color: #fff;
        font-size: 1.5rem;
        transition: color 0.3s;
    }

    .mobile-menu a:hover {
        color: #232d4b;
    }
}

@media (max-width: 640px) {
    .navbar-logo {
        visibility: hidden;
        position: relative;
    }

    .navbar-logo::after {
        content: "HCDE@UVA";
        visibility: visible;
        position: absolute;
        top: 0;
        left: 0;
        font-size: 1.5rem;
        font-weight: bold;
    }
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}