.header-section {
    padding: 0 20px;
    background: linear-gradient(90deg, #3aa4e3 0%, #1e90d7 100%);
}

.main-nav {
    display: flex;
    color: #fff;
    position: relative;
    z-index: 999;
    min-height: 40px;
}

.logo img {
    height: 35px; 
}


/* Logo */
.logo a {
    padding-top: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #1323b2;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    transition: all 0.3s ease-in-out;
    max-width: 100%;
}

.menu-item {
    position: relative;
    white-space: nowrap;
}

.menu-link {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-link:hover {
    background-color: #3783C4; 
    color: #fff; 
    border-radius: 2px;
}

.dropdown-item {
    margin: 0;
}

.dropdown-link {
    text-decoration: none;
    color: #1323b2;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #3A8BCF;
    color: #fff;
}

/* Active Menu Item */
.menu-item.active .menu-link {
    color: #fff;
    background-color: #337ab7;
}


.menu-item.active .menu-link:hover {
    background-color: #337ab7;
}


.menu-toggle {
	margin: 8px 0;
	padding: 0 12px;
    display: none;
    background: none;
    border: 1px solid #ddd;
	border-radius: 4px;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle:hover {
	background: #fff;
    color: #000;
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.menu-toggle.up i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .header-section {
        padding: 0;
        border-bottom: 1px solid #959494;
    }

    .header-top {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        width: 100%;
		height: 50px;
    }

	.logo {
		margin-top: 8px 0;
	}

	.logo img {
		height: 34px;
	}


    .menu {
		padding: 0px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
        display: flex;
        flex-direction: column;
        background: linear-gradient(90deg, #3aa4e3 0%, #1e90d7 100%);
        position: absolute;
        top: 100%;
        min-width: 100%;
		border-top: 1px solid #ddd;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    }

    .menu.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .menu-item {
        margin: 0; 
        text-align: left;
		border-radius: 0px;
    }
    
    /* Active Menu Item */
    .menu-item.active .menu-link {
        color: #fff; 
        background-color: #337ab7; 
    }
    
    .menu-item.active .menu-link:hover {
        background-color: #3A8BCF; 
    }

    .menu-link {
        margin: 0; 
        display: block;
        width: 100%; 
        padding: 8px 15px;
        text-align: left; 
    }

    .menu-toggle {
        display: block;
    }
    

}

@media (min-width: 769px) {
    .menu {
        display: flex;
        flex-wrap: wrap; 
        justify-content: left; 
        margin: 10px;
    }

    .menu-item {
        margin: 5px 5px; 
    }
}

/* For mobile screens, menu will stay as dropdown */
@media (max-width: 768px) {
    .menu {
        flex-wrap: nowrap; /* Prevent wrapping on mobile */
    }
}
}

.logo img {
    margin-right: 10px;
}
/* Currency Dropdown */
.currency-dropdown {
	margin: 7px 0;
    position: relative;
    white-space: nowrap;
}
	
.currency-dropdown .dropdown-toggle {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #ddd;
	border-radius: 25px;
    background-color: #fff;
	margin: 0 0 3px 5px;
}

.currency-dropdown .currency-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 2px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999; 
    padding: 0;
    min-width: auto;
    max-height: 300px;
    overflow-y: auto;
    margin: 0 7px;
}

.currency-dropdown .currency-dropdown-menu li {
    list-style: none;
}


.currency-dropdown .dropdown-currency-item {
    display: block;
    text-decoration: none;
    padding: 5px 10px;
    color: #000;
    font-size: 14px;
    transition: background-color 0.3s ease;
}


.currency-dropdown .dropdown-currency-item:hover {
    background-color: #3A8BCF;
    color: #fff;
}

.currency-dropdown .dropdown-currency-item.active {
    font-weight: bold;
    color: #fff;
    background-color: #337ab7;
}


.dropdown-currency-item:focus {
  background-color: #3A8BCF;
}

/* Show dropdown menu */
.currency-dropdown.dropdown-show .currency-dropdown-menu {
    display: block;
}
.user-balance {
    font-size: 16px;
    color: #fff;
    margin-top: 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    display: none; 
}

@media (min-width: 768px) { 
    .user-balance {
        display: block; 
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: left;
}




.footer_bottom {
  background: #f5f5f5;
  color: #000;
}
