.mainnav {
font-size:10px !important;
	
}




/* 1. Hide the hamburger and the menu on Desktop */

.mobile-nav{
  display:none;
}

.menu-toggle {

    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #D85402; /* Your brand orange */
}

/* 2. Mobile Styles */
@media screen and (max-width: 768px) {
    .mobile-nav {
		display:block;
        position: relative;
    }

    .menu-toggle {
        display: block; /* Show the hamburger */
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 100;
    }

    /* Hide the list by default on mobile */
    .mobile-nav ul {
        display: none; 
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 20px 0;
        border-bottom: 2px solid #D85402;
    }

    .mobile-nav.active ul {
        display: flex; /* Show when active */
    }

    /* Social icons layout for mobile */
    .mobile-nav .social {
        display: none; /* Usually hidden on mobile nav to save space */
    }
    
    .mobile-nav.active .social {
        display: flex;
        justify-content: center;
        padding-top: 10px;
    }

    /* 3. The "X" Transformation */
    .mobile-nav.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}