.fusion-row .logo-btn {
  width: 18%;
    display: flex
;
    justify-content: center;
    margin: 0px;
   
}
.contact-us-btn {
    /* width: 161px; */
    /* height: 38px; */
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    gap: 10px;
    font-size: 16px;
    background-color: #ffa601 !important;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.contact-box-hdr1 {
    width: 20%;
    display: flex;
    justify-content: center;
}

.fusion-logo img {
    width: auto;
}
/* nav#mobile-menu {
    margin-top: 30px;
} */

.fusion-header {
    display: flex
;
    justify-content: center;
    align-items: center;
    height: 92px !important;
}

.fusion-header .fusion-row {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 90% !important;
    margin: 1px;
}

/*mega menu*/
/*depth 1 */
    ul.sub-menu-depth-1.mega-menu-grid1 {
        display: none !important;
        position: absolute;
        left: 30px;
        right: 0;
        top: -2px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        align-items: center;
        justify-content: space-evenly;
        gap: 0px 0px;
        padding: 20px 20px 20px 20px;
        box-sizing: border-box;
        z-index: 1111;
/*        transform: translate(4%, 50px);*/
        width: 100%;
        background: #f5f5f5 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        border-radius: 8px;
        padding: 8px 14px;
    }
    ul.sub-menu-depth-1.mega-menu-grid1 li{
        padding: 0 !important;
        margin: 0 !important;
    }
    ul.sub-menu-depth-1.mega-menu-grid1 li a{
        font-size: 15px;
        line-height: 22px;
        padding: 8px 10px;
    }
    ul.sub-menu-depth-1.mega-menu-grid1 li::after{
        content: none !important;
        display: none !important;
    }
    .mega-menu-list .sub-menu .menu-depth-1:hover > ul.sub-menu-depth-1.mega-menu-grid1{
        display: grid !important;
    }
    .mega-menu-list ul.sub-menu-depth-1.mega-menu-grid1 li:first-child:before{
    content: none;
    position: absolute;
    transform: translate(80%, 26px);
    width: 100%;
    height: 20px;
    background-image: url('/wp-content/themes/Avada-Child-Theme/img/polygon-hover.png');
    background-size: contain;
    background-repeat: no-repeat;
    }
  
   .mega-menu-list ul.sub-menu-depth-0.mega-menu-grid0 li.menu-item-has-children > a::after {
        content: url(/wp-content/themes/Avada-Child-Theme/img/droup-down-arrow.png) !important;
        filter: brightness(0) saturate(100%) invert(0%) sepia(6%) saturate(23%) hue-rotate(229deg) brightness(102%) contrast(105%);
        transform: translate(100%, 0%);
        position: absolute;
        padding: 0px 5px 0 0;
    }
/*depth 1*/
 .sub-menu {
    display: none !important;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(50px, auto);
    gap:px; /* Gap between columns */
}
/* css for gird */

  /* .has-mega-menu > .sub-menu > li:after {
    content: ''; 
    position: absolute;
    top: -20px; 
    left: 50%;
    transform: translateX(-50%); 
    width:60px; 
    height:43px; 
    background-image: url('/wp-content/uploads/2025/03/Polygon-3.png'); 
    background-repeat: no-repeat; 
}   */
/* css for menu item */

/* css for submenu icon */
.submenu-icon{
    position: relative;

}
.submenu-icon {
    font-size: 17px;
    font-weight: normal;
    font-family: 'Hind';
}

.has-mega-menu .sub-menu li {
    position: relative;
}


/* .has-mega-menu .sub-menu  li::after {
    content: '';
    margin-right: 10px;
  
    
    background-image: url('/wp-content/uploads/2025/03/land-6.png');
    background-repeat: no-repeat;
    position: absolute;
    top:26px ;
    width: 100%;
    left: 24px;
  } */


  .has-mega-menu .sub-menu li {
    position: relative; /* Ensure the li is positioned so the absolute icon can be placed relative to it */
}

.has-mega-menu .sub-menu li::after {
    content: url(/wp-content/themes/Avada-Child-Theme/img/land-6.png);
    margin-right: 10px; /* Space between the icon and the text */
    /* background-image: url('/wp-content/uploads/2025/03/land-6.png');  */
    background-repeat: no-repeat;
    position: absolute;
    top: 11px; /* Adjust the vertical position */
    left: 18px; /* Adjust the horizontal position */
    width: 16px; /* Set the width of the icon */
    height: 16px; /* Set the height of the icon */
    background-size: contain; /* Ensure the icon scales properly */
    display: block; /* Ensure the pseudo-element is visible */
    filter: brightness(0) saturate(100%) invert(20%) sepia(5%) saturate(10%) hue-rotate(341deg) brightness(93%) contrast(95%);
}

/* hover effect */

.has-mega-menu .sub-menu li:hover::after {
    filter: brightness(0) saturate(100%) invert(58%) sepia(76%) saturate(1607%) hue-rotate(359deg) brightness(101%) contrast(107%);
}

.menu .submenu .submenu-item li{
    font-size: 18px; /* Set your desired font-size */
}
.has-mega-menu > .sub-menu {
    position: relative;
}

    .has-mega-menu > .sub-menu > li:first-child {
        position: relative; /* Positioning context for the icon */
    }


    .has-mega-menu > .sub-menu > li:first-child:before{
    content: ''; /* Empty content as we are using an image */
    position: absolute;
    top: -48px; /* Position the image above the menu item */
    left:78%;
    transform: translateX(-50%); /* Center the image horizontally */
    width:60px; /* Set the width of the image */
    height:43px; /* Set the height of the image */
    background-image: url('/wp-content/themes/Avada-Child-Theme/img/Polygon-3.png'); /* Set the SVG image URL */
    background-size: contain; /* Ensure the image is properly sized */
    background-repeat: no-repeat; /* Avoid repeating the image */
}



/* Ensure exactly 4 items per column */
.mega-menu-grid > .menu-item:nth-child(4n+1) {
    grid-column: 1; /* Ensure every 4th item starts a new column */
}
.mega-menu-grid li:nth-child(4n+1) {
    grid-column: span 1; /* Ensure 4 items per column */
}
.mega-menu-grid .menu-item {
    list-style: none;
    padding: 10px;
    text-align: center;
}

/* Show submenu on hover */
.menu-item:hover > .sub-menu {
    display:block !important;
    display: grid !important;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive columns */
    gap: 15px; /* Space between grid items */
    padding: 20px;
}

/* Style each submenu item in the grid */
.mega-menu-grid .menu-item {
    list-style: none;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
}

/* Optional: Add styling to submenu links */
.mega-menu-grid .menu-item a {
    padding: 10px 20px;
    background-color: #0073e6; /* Button-like background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Hover effect for submenu items */
.mega-menu-grid .menu-item a:hover {
    background-color: #005bb5;
}




/* css end for start for new wlker */

.menu-item-has-children.parent > a::after {
/*     content: " ▼" !important; */
    margin-left: 5px !important;
    color: white !important;
  content:url(/wp-content/themes/Avada-Child-Theme/img/droup-down-arrow.png) !important;
}

/*.parent > a::after {
    content: '▼' !important; 

    margin-left: 5px !important;
    color: white !important; /* Arrow color */

.has-mega-menu:hover > .sub-menu {
    display: grid;
}
/* Main Menu Item with Mega Menu */
.has-mega-menu {
    position: static;
}

.has-mega-menu > .sub-menu {

    display: none;
     position: absolute;
    left:-85px;
    top:50%; 
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    gap: 10px 45px;
    padding: 20px 40px 46px 40px;
    box-sizing: border-box;
    z-index: 1000;
    display: grid;
    transform: translate(-11%, 47px);
    width:990px;
}

.has-mega-menu:hover > .sub-menu {
    display: grid;
}

/* Column Headers */
.mega-menu-column > .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-column > .sub-menu > li {
    padding: 10px 0;
}

/* Menu Links */
.sub-menu a {
    text-decoration: none;
    color: #000;
}

/* .sub-menu a:hover {
    background: #f5f5f5;
} */

.dropdown-arrow {
    margin-left: 5px;
    color: white; /* Adjust color as needed */
}

.menu-item-has-children > a {
    position: relative;
    padding-right: 15px; /* Space for the arrow */
}

.menu-item-has-children > a .dropdown-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Main Menu */
.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list > li {
    position: relative;
    display: inline-block;
    margin: 0 16px;
}

.mega-menu-list li a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
}

/* for hover effect in submenu */

.mega-menu-list li ul li {
    /* padding: 10px; */
    padding-left: 30px !important;
    padding-right: 10px !important;
}

.mega-menu-list li ul {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.mega-menu-list li ul li:hover {
    background: #f5f5f5 !important;
    border-radius: 6px !important;
}

.mega-menu-list > li > a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}

.custom-mega-menu {
    width: 60% !important;
    display: flex;
    justify-content: center;
}
/* Dropdown Menu */
.sub-menu.mega-menu-grid {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff; /* Adjust as needed */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-item-has-children:hover > .sub-menu.mega-menu-grid {
    display: block;
}

/* Menu Depth Classes */
.menu-depth-0 {
    /* Styles for top-level menu items */
}

.menu-depth-1 {
    /* Styles for first-level dropdown items */
}

/* Add more depth styles as needed */
/* When menu is active, hide â˜° and show âœ– */
.menu-toggle-container.menu-opened .open-menu {
    display: none;
}

/*

a{
    color: black;
}
*/
/* Add dropdown arrow to menu items with submenus */

.mega-menu-wrapper{
    background:none !important;
}

/* css */

/* Add dropdown arrow to menu items with submenus */
.custom-mega-menu .sub-menu > a::after {
    content: '\25BC'; /* Unicode character for downward arrow */
    margin-left: 8px;
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.3s ease;
  color:white;
}

/* Rotate arrow when submenu is open */
.custom-mega-menu .sub-menu:hover > a::after {
    transform: rotate(180deg);
}


/* Header Styles */
ul.mega-menu-list li, ul.sub-menu li {
    list-style-type:none;
}
.custom-header {
    background: #222;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height:55px;
}

.logo-btn .fusion-logo {
    width: 50% !important;
    display: flex !important;
   justify-content: center !important;
}
.menu-item-description {
    font-size: 15px;
    font-weight: 400;
    padding-left: 15px;
    color: #000;
}

/**/
.menu-item-third >.sub-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    width: max-content;
}
.menu-item-third > .sub-menu > li:first-child:before {
    content: '';
    position: absolute;
    top: -47px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 43px;
    background-image: url(/wp-content/themes/Avada-Child-Theme/img/Polygon-3.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
}
/*css for mega menu mobile view */
@media (min-width: 1025px) {
    .mega-menu-list ul.sub-menu-depth-0.mega-menu-grid0 li.menu-item-has-children:hover > a::after{
        content: url(/wp-content/themes/Avada-Child-Theme/img/up-arrow.png) !important;
    }
}
@media (max-width: 1024px) {
    .contact-us-btn {
        padding: 10px;
    }
    /*  depth 1  */
    .mega-menu-list ul.sub-menu-depth-0.mega-menu-grid0 li.menu-item-has-children.has-mega-menu-submenu-active > a::after{
        content: url(/wp-content/themes/Avada-Child-Theme/img/up-arrow.png) !important;
    }
   .mega-menu-list .sub-menu .menu-depth-1:hover > ul.sub-menu-depth-1.mega-menu-grid1{
        grid-template-columns: repeat(2, 2fr) !important;
   }
    /* depth 1   */
    .menu-toggle-container {
        width: 31%;
    }
    .mega-menu-list li a {
        padding: 7px 15px 10px 20px !important;
    }
    
    .menu-item-has-children.parent>a::after {
        content: url(/wp-content/themes/Avada-Child-Theme/img/black-arrow-down.png) !important;
    }
    .submenu-icon .sub-menu .third-sub-menu a {
        color: #000 !important;
    }
    .fusion-header .fusion-row {
        width: 100%;
        max-width: 100%;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .fusion-row .logo-btn {
        width: 73% !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-direction: row-reverse;
    }
    .fusion-row .contact-box-hdr1 {
        width: 30% !important;
        display: flex;
        justify-content: center;
    }
    .sub-menu {
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transform: translateY(-10px);
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    .sub-menu.active-submenu {
        max-height: 500px;
        /* Adjust this value based on submenu height */
        visibility: visible;
        transform: translateY(0);
    }
    /* Default arrow (down) */
    /* When the menu is open, change arrow to up */
    .parent.open>a::after {
        transform: rotate(180deg) !important;
    }
    /*css for droep*/
    .parent {
        position: relative;
    }
    /* Style the menu toggle */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        padding: 10px;
        background: #eee;
        cursor: pointer;
    }
    /* Arrows */
    .arrow {
        margin-left: 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    /* Hide close arrow by default */
    .arrow-close {
        display: none;
    }
    /* Mega menu hidden by default */
    .mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }
    /* Show mega menu when .open class is applied */
    .parent.open .mega-menu {
        display: block;
    }
    /*end css for droep*/
    .fusion-header {
        padding-right: 10px;
    }
    /*css for toggle menu*/
    .contact-box-hdr {
        display: block !important;
        top: 5px !important;
    }
    .fusion-header-wrapper .fusion-row {
        justify-content: left !important;
    }
    button.menu-has-children-toggle {
        display: block;
        background: transparent;
        border: none;
    }
    /*end css for toggle menu */
    button.menu-has-children-toggle:before {
        display: block;
        position: absolute;
        right: 0px;
        margin: 0;
        content: "\e61f";
        font-family: awb-icons;
        color: white;

    }
    .mega-menu-wrapper {
        width: 100%;
    }
    .mega-menu-list>li>a {
        width: 100%;
        text-align: left;
        color: #000 !important;
        font-weight: 800;
    }
    .parent>a::after {
        position: absolute;
        right: 23px;
    }
    /*css for droup-down option  */
    .has-mega-menu>.sub-menu {
        position: static !important;
        grid-template-columns: repeat(1, 1fr) !important;
        transform: none !important;
        width: 100% !important;
        background: #06060600 !important;
        text-align: left !important;
        /*padding: 20px 35px 46px 4px !important;*/
        padding: 0px 35px 0px 15px !important;
    }
    .has-mega-menu > ul.sub-menu-depth-0.mega-menu-grid0.active-submenu {
        padding: 20px !important;
        margin-bottom: 15px !important;
    }
    .mega-menu-list li ul li {
        padding-left: 0px !important;
    }
    .sub-menu a {
        /*color: #fff !important;*/
        color: #000;
    }
    .mega-menu-list>li {
        display: contents !important;
    }
    .has-mega-menu>.sub-menu>li:first-child:before {
        content: none !important;
        /* Remove the arrow image */
        display: none !important;
        /* Hide completely */
    }
    .has-mega-menu .sub-menu li::after {
        /* content: none !important;  
    display: none !important;*/
        left: 0px !important;
    }
    /*end css for */
    .custom-mega-menu {
        width: 100% !important;
    }
    /* css for mneu color */
    .menu-toggle .open-menu {
        color: white;
        border: white;
    }
    .close-menu {
        /*    color: white;*/
        border-color: white;

    }
    button:focus,
    button:hover {
        background-color: #080808;
    }
    .mega-menu-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item .sub-menu {
        display: none !important;
    }

    .menu-item:hover>.sub-menu {
        display: block !important;
        background-color: #F3F3F3 !important;
    }
    .custom-mega-menu {
        position: fixed;
        top: 92px;
        left: 0;
        width: 100%;
        /* height: 100vh; */
        background: rgb(11, 11, 11);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 20px;
        text-align: center;
        display: none !important;
        /* Menu hidden initially */
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Show menu when active */
    .custom-mega-menu.active {
        display: flex !important;
        /* Ensure menu shows */
        align-items: flex-start;
        width: 100% !important;
        background-color: #fff !important;
        z-index: 999;
    }

    /* Open button (☰) - Visible initially */
    .open-menu {
        /*        color: white;*/
        border-color: white;
        display: block; 
        background: transparent;
        color: white; 
        border: none; 
        background-size: 43px;
        font-size: 32px; 
    }

    /* Close button (✖) - Hidden initially */
    .close-menu {
        display: none;
    }

    /* When menu is active, hide ☰ and show ✖ */
    .menu-toggle-container.menu-opened .open-menu {
        display: none;
    }

    .menu-toggle-container.menu-opened .close-menu {
        display: block;
        border: none;
        background: transparent;
        font-size: 32px;
        color: white;
    }

    span.main-text {
        font-weight: 500;
        font-size: 15px;
    }
}
@media (max-width:768px) {
    .contact-box-hdr {
        display: block !important;
        position: absolute;
        right: 6% !important;
        top: 8px !important;
    }
    .open-menu {
        display: block;
        background: transparent;
        color: white;
        border: none;
        background-size: 43px;
        font-size: 32px;
    }

    .menu-toggle-container.menu-opened .close-menu {
        display: block;
        border: none;
        background: transparent;
        font-size: 32px;
        color: white;
    }
    span.main-text {
        font-weight: 500 !important;
        font-size: 15px !important;
    }
    .fusion-logo img{
        width: 100% !important;
    }
}
@media(max-width: 480px){
  .fusion-header-sticky-height .fusion-header{
    padding: 20px !important;
  }
   .fusion-row .logo-btn{
    justify-content: space-around !important;  
   }
  .fusion-header .fusion-row{
    width: 100%;
    max-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    }
    .fusion-row .fusion-logo {
        width:28% !important;
    }
    .fusion-row .menu-toggle-container {
     /*   width: 23%;*/
         width:12% !important;
    }
    .fusion-row .contact-box-hdr {
    position:absolute;
    top: 8px!important;
    right: 18% !important;
    width: 30%;
    }
    .fusion-row .contact-us-btn {
        width: 100%;
        padding-right: 5px;
        font-size: 14px;
        padding: 12px;
    }
    .logo-btn .fusion-logo {
        width: 50% !important;
    }
    .fusion-logo img{
        width: 100% !important;
    }
}
/* Hide menu buttons on desktop */
@media (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }
}
@media (max-width: 1500px){
    .fusion-header-wrapper .fusion-row {
        width: 100%;
        max-width: 100% !important;
    }
    .fusion-header-wrapper .fusion-header {
        padding-left: 0px;
    }
}

