nav {
    top: 0;
    margin-top: 1rem;
    position: absolute;
    --bs-gutter-x: 12rem;
    padding-right: calc(var(--bs-gutter-x));
    padding-left: calc(var(--bs-gutter-x));
    margin-right: auto;
    margin-left: auto;
    width: -webkit-fill-available;
    z-index: 999;
}

#nav-content {
    display: flex;
    justify-content: space-between;
    border-radius: 99.9rem;
    background: #00000079;
    background-clip: content-box;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.367);
}


.nav-option {
    display: flex;
    padding: 0.7rem;
}

.nav-list {
    margin: 0;
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 1.4rem;
    padding: 0;
}

.logo {
    max-height: 40px;
    object-fit: cover;
    background-position: center;
}

.login-btn {
    padding: 0.6rem 1rem;
    border-radius: 99.9rem;
}

.updates-container {
    width: 30rem;
}

.news-container {
    font-size: 16px;
    color: white;
    padding: 10px 32px;
    display: flex;
    overflow: hidden;
}

.news-container::after {
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
}

.news-container .news-heading {
    font-weight: bold;
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #0e2e63;
}

.news-container .news {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.news-container .news-single {
    text-decoration: none;
    font-weight: normal;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-8px);
    transition: all 400ms ease;
    pointer-events: none;
}

.news-container .news-single.active {
    color: white;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar-area {
    width: 80%;
    border-radius: 25px;
    background: #00000079;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0px -4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    margin: 0 auto; /* Center it horizontally */
    padding: 0 20px; /* Add some padding on the sides */
    display: block;
    justify-content: space-between;
    align-items: center;
}

.headers {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-options {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    width: 100%;
}

.nav-list span:last-child {
    display: none;
}


.nav-option a {
    color: #bbbbbb;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-option a:hover {
    color: #ffffff;  /* Warm accent color for hover effect */
    transform: scale(1.1);  /* Slight zoom effect on hover */
}

.nav-option a:hover::after {
    width: 100%;
    left: 0;
}

/* Additional Styling for Logo and Nav */
.navbar-area a {
    display: block;
    /* padding: 5px 0; */
}

.nav-options .dropdown {
    position: relative;
    cursor: pointer;
}

.nav-options .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
    top: 100%;
    left: 0;
}

/* Links inside the dropdown */
.nav-options .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of links on hover */
.nav-options .dropdown-content a:hover {
    background-color: #575757;
}

/* Show the dropdown menu when hovering over the dropdown button */
.nav-options .dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Responsiveness */

.hamburger-options {
    display: none; /* Menu is hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Take full height of the screen */
    background-color: black;
    color: white;
    text-align: center;
    z-index: 9999;
}

/* Display the hamburger options when 'active' class is added */
.hamburger-options.active {
    display: block; /* Show the menu */
}

.hamburger-options .close-btn {
    font-size: 1.5rem;
    background: unset;
    color: white;
    border: none;
    float: right;
}

/* Style the menu items */
.hamburger-options ul {
    list-style-type: none;
    padding: 0;
}

.hamburger-options li {
    padding: 20px 0;
}

.hamburger-options a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.hamburger-options a:hover {
    background-color: #333; /* Hover effect */
}

.hamburger-icon {
    cursor: pointer;
    user-select: none;
}

#mobile-view {
    background: #000000;
    border-radius: 0px 0px 3.2rem 3.2rem;
}

#mobile-view ul {
    margin: 0;
    padding: 1rem;
    width: 100%;
}

#mobile-view li {
    padding: 1rem;
}

.nav-item-mb {
    list-style: none;
}

.nav-item-mb > a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    text-decoration: none;
    color: white;
}

@media (max-width: 1200px) {
    nav {
        --bs-gutter-x: 2rem;
    }
}

@media (max-width:1300px) {
    .nav-item {
        display: none;
    }

    .nav-list li:first-child {
        padding-right: 0;
        border-right: none;
    }

    .nav-list span:last-child {
        display: unset;
    }

    .nav-option {
        padding: 0.7rem 1.5rem;
    }

}
