* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
    background-color: #002F5E;
    min-height: 100vh;
    padding-top: 60px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: auto;
    text-rendering: auto;
}

.header-top {
    background: #002F5E;
    color: white;
    padding: 5px 0;
    font-size: 14px;
    margin-left: 0;
}

.header-top .container {
    max-width: 100%;
}

header>.container {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.header-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 100%;
    flex: 1;
    margin-left: 20px;
}

.nav-social-icons {
    width: auto;
    height: 48px;
}

.nav-social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 8px;
}

.nav-social-icons img {
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .university {
    color: #002F5E;
    font-size: 18px;
    font-weight: bold;
}

.logo-text .campus {
    color: #FF8000;
    font-size: 16px;
    text-align: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    overflow: hidden;
}

.nav-menu li {
    flex-shrink: 0;
}

/* Nav overflow mode - auto-switch to hamburger when too many items */
header.nav-overflow .nav-menu {
    display: none;
}

header.nav-overflow .hamburger-btn {
    display: block;
}

.redirect-button {
    text-decoration: none;
    color: #002F5E;
    font-weight: 700;
    font-size: medium;
    transition: color 0.3s;
    background-color: white;
    padding: 8px 16px;
    gap: 20px;
    border-radius: 5px;
    border: none;
    display: inline-block;
}

.redirect-button:hover {
    background-color: rgba(15, 49, 236, 0.1);
}

.nav-menu a:hover {
    color: #FF8000;
}

/* Mobile Navigation */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #002F5E;
    cursor: pointer;
    padding: 10px;
}

.nav-menu-mobile {
    position: fixed;
    top: 120px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 120px);
    height: calc(100dvh - 120px);
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 20px 0;
    list-style: none;
    border-radius: 10px 0px 0px 10px;
}

.nav-menu-mobile.open {
    right: 0;
}

.nav-menu-mobile li {
    margin: 0;
    padding: 0;
}

.nav-menu-mobile .redirect-button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border: none;
    background: none;
    color: #002F5E;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.nav-menu-mobile .redirect-button:hover {
    background: #f0f0f0;
}

@media (max-width: 1199px) {
    .nav-menu {
        display: none;
    }

    .folded-no-padding {
        padding: 0 0 0 20px;
    }

    .nav-social-icons {
        display: flex;
        justify-content: center;
        height: 48px;
    }

    .logo-text .campus {
        color: #FF8000;
        font-size: 16px;
        text-align: left;
    }

    .hamburger-btn {
        display: block;
    }

    .logo-text .university {
        font-size: 14px;
        text-align: left;
    }

    .logo-text .campus {
        font-size: 12px;
    }
}

/* Skip-to-content link for keyboard/screen reader accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #002F5E;
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}