/* Navbar container */
.main-navbar {
    position: absolute;
    top: 0;
    right: 20px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    height: 70px;
}
/* The dropdown container */
.dropdown {
    display: inline-block;
}

/* The menu icon (button) */
.menu-icon {
    width: 50px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border: 0.2px solid #1D4D5A;
    border-radius: 10px;
    background-color: white;
    cursor: pointer;
    padding: 10px;
    position: relative; /* Ensures stacking */
    z-index: 1100; /* Keeps the button on top */
}

/* Hamburger lines */
.menu-icon div {
    width: 30px;
    height: 0.5px;
    background-color: #004b54;
    border-radius: 2px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    position: absolute;
    top: 0; /* Aligns with the button */
    right: 0;
    background-color: #EBF3F6;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Lower than the button */
    padding: 5px;
    padding-top: 40px;
    border-radius: 10px;
}

/* Show dropdown when 'show' class is added */
.dropdown-content.show {
    visibility: visible;
    opacity: 1;
}

/* Dropdown links */
.dropdown-content a {
    color: #1D4D5A;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 18px;
    transition: background 0.3s;
}

/* Hover effect */
.dropdown-content a:hover {
    background-color: white;
    border-radius: 5px;
}
