#logo:hover {
    border-color: var(--orange);
    border-style: solid;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    cursor: pointer;
}
/* Blur Overlay */
#blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
    backdrop-filter: blur(8px); /* Blur effect */
    z-index: 5; /* Ensure it's below the menu but above other content */
    display: none; /* Initially hidden */
}

nav {
    margin: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#company_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 5%; /* Set a reasonable max-width */
    height: auto; /* Keep aspect ratio */
}
#logo {
    max-width: 100%;
    height: auto;
    
    display: block; /* Ensure proper alignment */
}
/* Container for left-side links */
.left_links {
    display: flex;
    gap: 20px;
    /* Space between left links */
}

/* Container for right-side links */
.right_links {
    display: flex;
}

/* Navigation menu links */
.navigation_menu {
    position: relative;
    font-size: 1.1em;
    color: var(--gray);
    text-decoration: none;
    padding: 6px 20px;
    display: inline-block;
    transition: .5s;
}

/* Hover effect */
.navigation_menu:hover {
    color: var(--orange);
}

/* Underline effect */
.navigation_menu span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-bottom: 2px solid var(--orange);
    border-radius: 15px;
    transform: scale(0) translateY(50px);
    opacity: 0;
    transition: .5s;
}

/* Hover effect for underline */
.navigation_menu:hover span {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    /* Adjust font size and padding for smaller screens */
    .navigation_menu {
        font-size: 1em;
        padding: 6px 15px;
    }

    .left_links,
    .right_links {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {

    /* Stack navigation links vertically for very small screens */
    .navigation_menu {
        display: block;
        font-size: 0.9em;
        padding: 10px 0;
    }

    nav {
        margin: 2%;
        flex-direction: column;
        align-items: flex-start;
    }
}




.dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--Subtle-Gray);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 25px;
}

.dropdown-content a {
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--white)
}

.dropdown:hover .dropdown-content {
    display: block;
}

.content_down {
    border-radius: 25px;
}

.content_down:hover {
    color: var(--orange);
}

.navigation_menu_drop {
    position: relative;
    font-size: 1.1em;
    color: var(--gray);
    text-decoration: none;
    padding: 6px 20px;
    display: inline-block;
    transition: .5s;
}

/* Hover effect */
.navigation_menu_drop:hover {
    color: var(--orange);
}


.menu-toggle-container {
    display: none;
    z-index: 1001;
}

.menu-toggle {
    display: none;
    padding: 10px;
    font-size: 1em;
    margin: 5px;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navigation_menu {
        font-size: 1em;
        padding: 6px 15px;
    }

    .left_links, .right_links {
        display: none; /* Hide original menu items */
    }

    .menu-toggle-container {
        display: flex;
        
        width: 100%;
        
        justify-content: flex-end;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        font-size: 1.2em;
        background-color: var(--gray);
        color: var(--white);
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 5px;
    }
    .menu-toggle:hover {
        background-color: var(--Dim-Gray);
    }
}

@media (max-width: 480px) {
    .navigation_menu {
        display: block;
        font-size: 0.9em;
        padding: 10px 0;
    }

    nav {
        margin: 2%;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Sidebar styles */
.sidebar_phone {
    position: fixed;
    top: 0;
    left: -100%; /* Initially hidden */
    width: 250px;
    height: 100%;
    background-color: var(--white);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between menu items */
}

/* When the sidebar is active (visible) */
.sidebar_phone.active {
    left: 0;
}

/* Styling for the menu list */
#sidebar_list_phone {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 15px; /* Add spacing between items */
    margin-top: 10%;
}

/* Company logo alignment */
#company_logo_phone {
    margin-bottom: 20px; /* Space below the logo */
    text-align: center;
}

/* Individual navigation links styling */
.navigation_menu_phone,
.navigation_menu_drop_phone {
    display: block;
    font-size: 1em;
    font-weight: 500;
    color: var(--gray);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, var(--white), var(--White-Smoke));
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Hover effect for links */
.navigation_menu_phone:hover,
.navigation_menu_drop_phone:hover {
    background: linear-gradient(135deg, var(--Silver-Sand), var(--Soft-Stone));
    color: var(--black);
    transform: scale(1.05);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown styling */
.dropdown-content_phone {
    display: none;
    position: relative; /* Adjust to show in vertical context */
    background-color: var(--Subtle-Gray);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Show dropdown on hover */
.dropdown_phone:hover .dropdown-content_phone {
    display: block;
}

/* Dropdown links styling */
.content_down_phone {
    display: block;
    padding: 8px 10px;
    color: var(--Dim-Gray);
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.content_down_phone:hover {
    background-color: var(--Gainsboro);
}
