@font-face {
    font-family: 'Poppins Regular';
    src: url('./fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal; /* Correct the weight */
    font-style: normal;
}

.mobile-menu-container {
    position: fixed;
    z-index: 9999;
    background-color: var(--primary-color);
    min-width: 50%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    top: 50%; /* Center vertically */
    left: 0; /* Optional: if the menu is aligned to the left side */
    transform: translate(-110%, -50%);
    border-radius: 0px 10px 10px 0px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* transform: translateX(-110%); */
    transition: all ease-in-out 0.5s;
}


/* Menu */
.mobile-menu {
    display: block; /* Hidden by default */
    flex-direction: column;
    padding: 0;
}

.menu-toggle{
    border: none;
    background: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
    margin: 0px 20px;
    padding: 0px;
}

/* Menu Item */
.mobile-menu-item {
    border-bottom: 1px solid lightgray;
    
}

.mobile-menu-item:last-child{
    border-bottom: none;
}

/* Dropdown Toggle Button */
.dropdown-toggle {
    background: none;
    border: none;
    color: white;
    width: 100%;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Poppins Regular';
    font-weight: 500;
}

/* Dropdown Content */
.mobile-dropdown-content {
    /* background-color: #555; */
    color: white;
    overflow: hidden;
    padding-left: 30px;
    max-height: 0; /* Needed for transition */
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out; 
}

.mobile-dropdown-content.open{
    max-height: 300px; /* Set a large enough value to accommodate the content */
    padding-top: 10px; /* Add padding animation for smoothness */
    padding-bottom: 10px;
    overflow-y: auto;
}

.mobile-dropdown-content a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: white;
    font-size: 15px;
    transition: all ease-in-out 0.3s;
}

.mobile-dropdown-content a:hover {
    background-color: var(--secondary-color);
}


.hide-mobile-menu{
    border: none;
    background:none;
    font-size: 16px;
    padding: 20px;
    /* position: absolute; */
    right: 10px;
    color: white;
    
}