.site-header {
  width: 100%;
  font-family: Arial, sans-serif;
  position: sticky !important;
  top: 0;
  left: 0;
  z-index: 9999 !important; 
  background: #fff;   
}
.site-header.container {
  overflow: visible !important; 
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 80px;
  width: auto;
}
.top-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.menu-item-177 a::before {
  content: "";
  display: inline-block;
  width: 50px;   
  height: 30px; 
  background: url('http://smartfinbox.com/wp-content/uploads/2025/09/icon_personal_loan.png') no-repeat center;
  background-size: contain;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-item-179 a::before {
  content: "";
  display: inline-block;
  width: 50px;   
  height: 30px; 
  background: url('http://smartfinbox.com/wp-content/uploads/2025/09/icon_business_loan.png') no-repeat center;
  background-size: contain;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-item-180 a::before {
  content: "";
  display: inline-block;
  width: 50px;   
  height: 30px; 
  background: url('http://smartfinbox.com/wp-content/uploads/2025/09/icon_student_loan.png') no-repeat center;
  background-size: contain;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-item-181 a::before {
  content: "";
  display: inline-block; 
  width: 50px;  
  height: 30px;  
  background: url('http://smartfinbox.com/wp-content/uploads/2025/09/icon_vehicle_loan.png') no-repeat center;
  background-size: contain;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-item-178 a::before {
  content: "";
  display: inline-block;
  width: 50px;  
  height: 30px; 
  background: url('http://smartfinbox.com/wp-content/uploads/2025/09/icon_pocket_loan.png') no-repeat center;
  background-size: contain;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-item-176 a {
    background: #59c700;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600 !important;
    text-decoration: none;
    transition: background 0.3s;
}
.menu-item-176 a:hover {
    background: #4db200;
    color: #fff !important;
}
.top-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
.header-bottom {
  /*background: #f8f8f8;*/
  padding: 10px 20px;
}
.bottom-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin: 0;
  padding: 0;
}
.bottom-menu li a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}


/* ---- Hamburger Menu Styles ---- */
.hamburger-menu {
    display: none; /* Hide by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333; /* Change to your desired color */
    margin: 5px 0;
    transition: 0.4s; /* For the animation effect */
}
.closebutton {
    display: none;
}
.close-section {
    padding-top: 20px;
}



/* On mobile, show the hamburger */
@media (max-width: 768px) {
    .closebutton {
        display: block;
    }
    .hamburger-menu {
        display: block; /* Show the hamburger */
        position: fixed; /* Make the hamburger fixed so it stays on top */
       
        right: 20px; /* Adjust as needed */
    }

    /* Initial state of the mobile menu: hidden and off-screen */
    .top-menu-wrapper,
    .header-bottom {
        display: block; 
        position: fixed; 
        top: 0;
        right: 0;
        width: 80%; /* Adjust width as needed */
        height: 100vh; /* Full viewport height */
        background-color: #fff; /* White background */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateX(100%); /* Pushes the menu off-screen to the right */
        transition: transform 0.4s ease-in-out; 
        z-index: 999; 
        overflow-y: auto; 
    }
    
    .top-menu,
    .bottom-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .top-menu li,
    .bottom-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .top-menu li a,
    .bottom-menu li a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #333;
        text-align: left;
    }

    /* Active state for when the menu is open */
    .site-header.menu-open .top-menu-wrapper,
    .site-header.menu-open .header-bottom {
        transform: translateX(0); /* Slides the menu into view */
    }
}

button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus, body .wp-block-file .wp-block-file__button:hover, body .wp-block-file .wp-block-file__button:focus {
    /* color: #ffffff; */
    background-color: inherit !important;
    border-color: inherit !important;
}
/* Hide the hamburger button when the menu is active */
.site-header.menu-open .hamburger-menu {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s ease, opacity 0.4s ease;
}



 

