
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 150%; /* Pushes it down below the menu */
    left: 50%;
    transform: translateX(-50%); /* Centers the box perfectly under "About Us" */
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 10px 0;
    z-index: 100;
    transition: all 0.3s ease;
}
/* The upward-pointing triangle on top of the box */
.dropdown-content::before {
    content: "";
    position: absolute;
    bottom: 100%; /* Positions it right at the top edge */
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent; /* Creates the white triangle */
}

/* Styling the links inside the dropdown */
.dropdown-content a {
    color: #666666; /* Gray text like your reference image */
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f4f7f6; /* Subtle ATS green/gray background on hover */
    color: #00A651; /* Text turns ATS Green */
}

/* Show the dropdown when hovering over the main list item */
.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    top: 120%; /* Creates a slight slide-up animation */
}

/* Keeps the black underline active on "About Us" while the user is in the dropdown menu */
.dropdown:hover .bottom-styling::after {
    width: 100%;
}




