/* ===== UTILITY COLORS & FONTS ===== */
.bg-blue-uts { background-color: #0a2343; }
.bg-red-uts { background-color: #c7251b; }
.bg-blue-grey-uts { background-color: #476782; }
.bg-grey-uts { background-color: #72767a; }
.ft-blue-uts { color: #0a2343; }
.ft-red-uts { color: #c7251b; }
.font-small { font-size: 9pt; }
.font-middle { font-size: 10pt; }

/* ===== BASE ===== */
/* body {
    margin: 0;
    font-family: Poppins, Montserrat, sans-serif;
    background-color: white;
} */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* ===== HEADER NAVBAR ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}
header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}
header.scrolled .navbar {
    background: white;
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header.scrolled .logo {
    background-image: url("../img/logo_uts_default.png");
}
.logo {
    display: block;
    width: 220px;
    height: 80px;
    background-image: url("../img/logo_uts_white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.menu {
    display: flex;
    list-style: none;
    column-gap: 10px;
    padding-top: 10px;
    padding-right: 25px;
    font-weight: bold;
    position: relative;
}
.menu > li { position: relative; }
.menu > li > a {
    text-decoration: none;
    color: inherit;
    padding: 10px 10px;
    display: inline-block;
    transition: color 0.3s ease;
}
.menu > li:hover > a { color: #003366; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #003366;
    color: white;
    display: none;
    padding: 10px 0;
    box-sizing: border-box;
    border-radius: 6px;
    z-index: 1000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    animation: dropdownFade 0.25s ease forwards;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.menu > li:hover > .dropdown,
.menu > li.open > .dropdown { display: block; }
.dropdown a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 8px 20px;
    font-weight: normal;
    transition: background 0.2s ease, padding-left 0.2s ease;
}
.dropdown a:hover {
    background-color: #002244;
    padding-left: 25px;
}
.menu-bar {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 992px) {
    header .navbar {
        padding: 20px 0;
        background-color: white;
    }
    .logo {
        width: 120px;
        height: 45px;
        background-image: url("../img/logo_uts_default.png");
    }
    .menu-bar {
        display: block;
        font-size: 28px;
        color: #0a2343;
        padding-right: 25px;
    }
    .menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow-y: hidden;
        flex-direction: column;
        background: #003366;
        color: white;
        transition: max-height 0.3s ease;
    }
    .menu.active {
        max-height: 90vh;
        overflow-y: auto;
    }
    .menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .menu > li > a {
        display: block;
        padding: 12px 20px;
        color: white;
    }
    .menu > li > a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    .dropdown {
        position: static;
        display: none;
        background: #002244;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }
    .menu > li.open > .dropdown { display: block; }
    .dropdown a {
        padding: 10px 35px;
        font-size: 0.95rem;
        color: white;
    }
    .dropdown a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
}

/* ===== FOOTER ===== */
#footer {
    position: relative;
    background-image: url("../img/campus.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    z-index: 1;
}
#footer .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 77, 0.9);
    z-index: 0;
}
#footer .container,
#footer .text-center {
    position: relative;
    z-index: 1;
}