* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}
body, html {
    height: 100%;
    margin: 0;
}
header {
    background: #02275c;
}
.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.nav-branding {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #4fc3ff;
    transition: color 0.3s ease;
}
.nav-branding img {
    height: 130px;
    width: auto;
}
.nav-branding:hover {
    color: #81d4fa;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-item a {
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4fc3ff, #81d4fa);
    transition: width 0.3s ease;
}
.nav-item a:hover {
    color: #81d4fa;
}
.nav-item a:hover::after {
    width: 100%;
}
.hamburger {
    display: none;
    cursor: pointer;
}
.nav-item.has-dropdown {
    position: relative;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    text-align: center;
    background: #163b72;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 999;
}
.nav-item.has-dropdown:hover > .dropdown {
    display: block;
}
.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #e3f2fd;
}
.dropdown li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #81d4fa;
}
.bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px auto;
    background-color: #e3f2fd;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}
a {
    color: #e3f2fd;
    text-decoration: none;
}
li {
    list-style: none;
}
@media (max-width: 1220px){
    .nav-item a{
        font-size: 10px;
    }
    .nav-menu {
        gap: 30px;
    }
}
@media (max-width: 1020px){
    .nav-item a{
        font-size: 9px;
    }
    .nav-menu {
        gap: 20px;
    }
}
@media (max-width: 900px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .navbar {
        flex-wrap: wrap;
        padding-top: 30px;
    }
    .nav-branding {
        order: 1;
    }
    .hamburger {
        order: 2;
        display: block;
    }
    .nav-menu {
        order: 3;
        width: 100%;
        background: #02275c;
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-menu.active {
        max-height: 600px;
        padding: 20px 0;
    }
    .nav-item {
        text-align: center;
    }
    .dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
    }
    .nav-item:hover > .dropdown {
        display: block;
    }
}