nav{
    background: transparent;
    border-bottom: none;
    /* background-color: #fff; */
    position: absolute;
    top: 0;

}

.nav-main{
    padding: 40px 0 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-ul{
    list-style: none !important;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.search {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.search:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.nav-search-input {
    width: 80%;
    padding: 5px;
    border: none;
    outline: none;
    border-radius: 5px;
    margin-left: 5px;
}

.btn-login{
    font-size: 12px;
    padding: 10px 37px;
    text-decoration: none;
    color: #fff;
    background-color: #E50065;
    border-radius: 4px;
}

@media(max-width:768px){
    .btn-login{
        display: block;
        text-align: center;
        font-weight: 600;
    }
}

.secondary_nav_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.secondary_nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px auto;
    list-style: none;
    max-width: 768px;
    width: 100%;
    padding: 0;
}

.secondary_nav > li {
    display: inline-block;
}

.secondary_nav > li > a {
    text-decoration: none;
    padding: 10px;
    display: block;
}

.secondary_nav > li > a::after {
    display: none;
}

.secondary_nav .dropdown-menu {
    display: none;
    margin-top: 30px;
    list-style: none;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    transition-delay: 2s;
}

.secondary_nav .dropdown-menu li {
    display: block;
}

.secondary_nav .dropdown-menu li a {
    padding: 10px;
    text-decoration: none;
    display: block;
    color: #000;
}

.secondary_nav .dropdown:hover .dropdown-menu {
    display: block;
}

.secondary_nav>li>a{
    color: #333;
    text-decoration: none;
    transition: color 0.5s ease-in-out;
}

.secondary_nav>li>a:hover{
    color: #E50065 !important;
    scale: 1.01;
}

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

    .secondary_nav_container{
        display: none;
    }

    .mob-main-menu{
        margin: 15px 0;
    }

    .hamburger-menu{
        height: 16px;
        width: 16px;
    }
}

.mob-nav, .mob-main-nav{
    display: none;
}

@media(max-width:768px){
    .mob-nav, .mob-main-nav{
        display: block;
    }
}

.mob-main-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mob-main-nav{
    list-style: none;
    padding: 0;
}

.mob-main-nav > li {
    padding: 15px;
    border: 1px solid rgba(51, 51, 51, 0.3);
    border-right: none;
    border-left: none;
}


.mob-main-nav>li:first-child{
    border-top: none;
}

.mob-main-nav>li:last-child{
    border-bottom: none;
}

.mob-main-nav>li>a{
    text-decoration: none;
    font-size: large;
    color: #333;
}

.mob-main-nav>li:last-child>a{
    color: #fff;
}

/* .cancel-x{
    display: none;
} */

/* Sidebar hidden by default */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease-in-out;
    padding: 15px;
    z-index: 1000;
    max-width: 350px;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

/* Navigation Menu */
.mob-main-nav {
    list-style: none;
    padding: 0;
}

.mob-main-nav > li {
    padding: 15px;
    border: 1px solid rgba(51, 51, 51, 0.3);
    border-right: none;
    border-left: none;
}

.mob-main-nav > li:first-child {
    border-top: none;
}

.mob-main-nav > li:last-child {
    border-bottom: none;
}

.mob-main-nav > li > a {
    text-decoration: none;
    font-size: large;
    color: #333;
    display: block;
    /* padding: 10px; */
    /* background: #f5f5f5;  */
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mob-main-nav > li > a:hover {
    background: #e0e0e0; /* Hover effect */
}

/* Dropdown Menu */
.dropdown-container {
    position: relative;
    padding: 0%;
}

.dropdown-toggle-btn {
    cursor: pointer;
    display: block;
    font-size: large;
    color: #333;
    text-decoration: none;
    /* padding: 10px; */
    /* background: #f5f5f5;  */
    border-radius: 5px;
    transition: background 0.75s ease;
}

.dropdown-toggle-btn:hover {
    background: #e0e0e0;
}

.dropdown-content {
    display: none;
    list-style: none;
    padding: 0;
    /* margin-left: 15px; */
    border-left: 2px solid #ccc;
}

.dropdown-container.open .dropdown-content {
    display: block;
}

/* Submenu (Multilevel Dropdown) */
.sub-dropdown-container {
    position: relative;
}

.sub-dropdown-container:not(.sub-dropdown-container:last-child) {
    border-bottom: 2px solid rgba(51, 51, 51, 0.3);
}

.sub-dropdown-container > a {
    display: block;
    padding: 10px;
    font-size: large;
    color: #333;
    text-decoration: none;
    /* background: #e8f4ff; */
    border-radius: 5px;
    transition: background 0.3s ease;
}

.sub-dropdown-container > a:hover {
    background: #d0e8ff; /* Hover effect */
}

.sub-dropdown-content {
    display: none;
    list-style: none;
    padding: 0;
    margin-left: 15px;
    /* border-left: 2px solid #ccc; */
}

.sub-dropdown-container.open .sub-dropdown-content {
    display: block;
}

/* Third Level Dropdown Styling */
.sub-dropdown-content li a {
    display: block;
    /* padding: 10px; */
    font-size: large;
    color: #333;
    text-decoration: none;
    /* background: #d6f5e8; */
    border-radius: 5px;
    transition: background 0.3s ease;
}

.sub-dropdown-content li a:hover {
    background: #E50065;
}

#hamburger, #close-sidebar {
    cursor: pointer;
    z-index: 1000;
}

#close-sidebar {
    display: none;
}

.mob-nav .cancel-x {
    display: inline-block;
}

/* Adjust visibility of close icon */
.mob-nav .sidebar.open ~ .cancel-x {
    display: inline-block;
}

/* Animation effects */
.sidebar ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar.open ul li {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.open ul li:nth-child(1) { transition-delay: 0.1s; }
.sidebar.open ul li:nth-child(2) { transition-delay: 0.2s; }
.sidebar.open ul li:nth-child(3) { transition-delay: 0.3s; }
.sidebar.open ul li:nth-child(4) { transition-delay: 0.4s; }
.sidebar.open ul li:nth-child(5) { transition-delay: 0.5s; }
.sidebar.open ul li:nth-child(6) { transition-delay: 0.5s; }
.sidebar.open ul li:nth-child(7) { transition-delay: 0.5s; }
.sidebar.open ul li:nth-child(8) { transition-delay: 0.5s; }
.sidebar.open ul li:nth-child(9) { transition-delay: 0.5s; }

