/* General Navbar Styles */
.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #0A2E57 !important; /* Dark Navy Blue */
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: border-bottom 0.3s ease-in-out;
    position: relative; /* Needed for the underline effect */
}

/* Hover Effect */
.navbar-nav .nav-link:hover {
    color: #FFD700 !important; /* Change text to yellow */
}

/* Underline Effect ONLY for Active Page */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* Position the underline */
    width: 100%;
    height: 2px;
    background-color: #FFD700; /* Yellow underline */
}

/* Adjust Logo Size */
#logo {
    height: 70px; /* Increase logo size */
    width: auto;
    transition: all 0.3s ease-in-out;
}

/* Navbar Background */
.navbar {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hide Navbar on Scroll */
.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Language Selector Button */
.lang-btn {
    font-size: 20px;
    padding: 8px 12px;
    background: none;
    border: 2px solid #0A2E57;
    color: #0A2E57;
    transition: all 0.3s ease-in-out;
}

.lang-btn:hover {
    background: #FFD700;
    color: white;
    border-color: #FFD700;
}
#backToTop {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #FFD700; /* Gold */
    color: #0A2E57;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, background 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: scale(1.1);
    background: #0A2E57;
    color: #FFD700;
}

#backToTop i {
    color: #0A2E57;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

#backToTop:hover i {
    color: #FFD700;
}
