.header-section {
    padding: 0 20px;
    border-bottom: 1px solid #959494;
    background: #ebf6fe;
}

.main-nav {
    background: #ebf6fe;
    display: flex;
    justify-content: space-between;
    color: #000;
    position: relative;
    z-index: 999;
    min-height: 60px;
}

.logo img {
    max-height: 40px; 
}


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

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

.menu-item {
    position: relative;
    margin: 10px 2px;
    white-space: nowrap;
}

.menu-link {
    margin: 1px 0;
    text-decoration: none;
    color: #2c2c2c;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-link:hover {
    background-color: rgba(33, 69, 192, 0.1); 
    transform: translateY(-3px); 
    color: #000; 
    border-radius: 4px;
    transition: all 0.3s ease; 
}

.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: #f0f4f8;
    color: #9333ea;
}

/* Active Menu Item */
.menu-item.active .menu-link {
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    background-color: #1323b2;
    transform: translateY(-3px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


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


.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1323b2;
    font-size: 26px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.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 20px;
        display: flex;
        justify-content: space-between;
        width: 100%;

    }

    .logo img {
        max-height: 40px; 
    }
    
    .logo a {
        padding-top: 10px;
        text-decoration: none;
        font-size: 20px;
        font-weight: bold;
        color: #1323b2;
    }

    .menu {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
        display: flex;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%; /* Place just below the header */
        left: 0;
        width: 100%; /* Full width menu */
        border-radius: 0 0 8px 8px;
		border-top: 1px solid transparent;
        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; /* Remove gaps */
        text-align: left;
        width: 100%; /* Full width */
    }
    
    /* Active Menu Item */
    .menu-item.active .menu-link {
        color: #fff; 
        font-weight: bold; 
        background-color: #1323b2; 
        transform: translateY(-3px); 
        transform: translateY(-3px);
        transition: all 0.3s ease;
    }
    
    .menu-item.active .menu-link:hover {
        background-color: #1323b2; /* Slightly brighter on hover */
    }

    .menu-link {
        display: block;
        width: 100%; /* Ensure the link spans the full width */
        padding: 10px 10px; /* Add padding for better touch interaction */
        text-align: left; /* Align text to the left */
    }

    .menu-toggle {
        padding-top: 15px;
        display: block;
    }
    
    
}

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

    .menu-item {
        margin: 12px 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 {
    position: relative;
    white-space: nowrap;
}

.currency-dropdown .dropdown-toggle {
    text-decoration: none;
    color: #fff;
    margin-bottom: 4px;
    font-weight: bold; /* Make text bold */
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #1323b2;
}

.currency-dropdown .currency-dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Align directly below toggle */
    left: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* Ensure it appears above other elements */
    padding: 10px 0;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

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

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


.currency-dropdown .dropdown-currency-item:hover {
    background-color: #f0f4f8;
    color: #1323b2;
}

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

/* Show dropdown menu */
.currency-dropdown.dropdown-show .currency-dropdown-menu {
    display: block;
}
.user-balance {
    font-size: 16px;
    color: black;
    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 {
    background: #1323b2; /* Vibrant gradient */
    color: white;
    padding: 50px 20px 20px 50px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 30px;
}

.footer .footer-section {
    flex: 1;
    min-width: 250px;
}

.footer .logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer .footer-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding-bottom: 5px;
}

.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li {
    margin-bottom: 10px;
}

.footer .footer-link {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer .footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer .social-icon {
    color: #1323b2;
    font-size: 36px;
	width: 60px;
	height: 60px;
    background: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
    border-radius: 50%;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding-top: 11px;
}

.footer .social-icon:hover {
    color: #000;
    transform: scale(1.1);
}

.footer .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.8;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}