/* ---------------- TOP BAR ---------------- */
/* Prevent horizontal scroll everywhere */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.top-bar {
    background: #0d2c54;
    color: #fff;
    font-size: 14px;
    height: 60px;
    width: 100%;
    overflow: hidden;
    /* FIX horizontal scroll */
}

.top-bar .row {
    margin-left: 0;
    margin-right: 0;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar i {
    font-size: 14px;
}

.social-icons,
.contact-info {
    height: 60px;
    display: flex;
    align-items: center;
}


.social-icons {
    background-color: #F97316;
    height: 60px;
}

.social-icons span,
.social-icons a {
    font-size: 18px;
}


.social-icons a i {
    font-size: 18px;
}

.social-icons a {
    background-color: #273c75;
    padding: 7px;
    border-radius: 50%;
}

.contact-info {
    background-color: #273c75;
    height: 60px;
}

.contact-info i {
    color: #F97316;
    font-size: 18px;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
    position: sticky;
    top: 0px;
    /* height of top-bar */
    z-index: 9999;
    background: #fff !important;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 18px !important;
    font-weight: 500;
    color: #0d2c54 !important;
}

.navbar-nav .nav-link:hover {
    color: #f68712 !important;
}

/* Apply Button */
.navbar-apply-btn {
    background: #F97316;
    color: #fff;
    border-radius: 30px;
    border-bottom-left-radius: 0px;
    font-size: 16px;
    font-weight: 600;
}

.navbar-apply-btn:hover {
    background: #075b5b;
    color: #fff;
}

/* Fix navbar toggler visibility */
.navbar-toggler {
    border: 2px solid #0d2c54;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(13,44,84,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* -------------- DROPDOWN MENU STYLE -------------- */
.dropdown-menu {
    background: #0d6d6d;
    border: none;
    padding: 0;
    margin-top: 15px;
    min-width: 230px;
    border-top: 5px solid #F97316;
}

.dropdown-menu .dropdown-item {
    padding: 14px 20px;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu .dropdown-item:hover {
    background: #075b5b;
}

/* Smooth dropdown animation */
.fade-down {
    animation: dropdownAnim 0.25s ease;
}

.academics ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.academics ul li {
    color: white;
}

@keyframes dropdownAnim {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .navbar-brand img {
        width: 250px;
    }

    .navbar-nav .nav-link {
        padding: 10px !important;
        text-align: center;
    }

    .apply-btn {
        display: block;
        text-align: center;
        margin-top: 15px;
    }

    /* Mobile dropdown background */
    .dropdown-menu {
        margin-top: 0;
        background: #0d6d6d;
        border-radius: 0;
    }

    .social-icons span,
    .social-icons a {
        font-size: 14px;
    }

    .social-icons a {
        padding: 5px 5px 1px 4px;
    }
}

@media (max-width: 426px) {
    .top-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }
}