/* Header */

@font-face {
  font-family: Outfit-Regular;
  src: url("../fonts/Outfit/Outfit-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: Be-Vietnam-Pro;
  src: url("../fonts/Be_Vietnam_Pro/BeVietnamPro-Regular.ttf");
  font-weight: 400;
}


:root{
    --underline-color: #E02725;
    --table-border-color: #CFCFCF;
    --dark-gray-color: #464646;
    --black-color: black;
    --white-color: white;
    --lighter-gray-color: #D9D8D8;
    --bluish-gray-color: #F2F2F2;
    --darker-gray-color: rgb(23, 23, 23);
}



 .navbar{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 20px;
    width: 100%;
    z-index: 11;
     transition: background-color 0.3s ease;
  }


   .navbar .nav-items{
        margin-bottom: 0;
    margin-left: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: end;
}

   .navbar .nav-items .nav-item{
    color: var(--white-color);
       font-family: Be-Vietnam-Pro;
   }

.mega-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
 background-color: var(--darker-gray-color);
  z-index: 1000;
  width: 99vw;
  align-items: start;
  padding: 30px;
}
.mega-column {
  flex: 1;
  min-width: 100px;
  margin: 0 20px;
}

 .dropdown-menu{
 position: absolute;
  transition: all 0.6s ease;
  width: 100%;
  min-width: 200px;
  z-index: 99;
  border-radius: 0;
  border: none;
  display: none;
  background-color: var(--darker-gray-color) !important;
     font-family: Be-Vietnam-Pro;
 }


.nav-item:hover .mega-menu {
  display: flex;
}

.nav-item:hover .dropdown-menu{
  display: block;
}

.nav-item.active .mega-menu{
  display: flex;
}

.nav-item.active .dropdown-menu {
  display: block;
}

.dropdown-menu ul{
  display: block;
}

.nav-link{
  color: white;
  background: none;
  border: none;
  font-size: 16px;
  padding:20px !important;
  cursor: pointer;
  text-decoration: none;
  font-family:Be-Vietnam-Pro;
    transition: color 0.3s ease;
}

/*.nav-link:focus, .nav-link:hover{*/
/*  color: var(--white-color)*/
/*}*/

/* .navbar.scrolled .nav-link{
  color: white;
}

.navbar.menu-open .nav-link{
    color: black;
} */
.mega-column {
  flex: 1;
  min-width: 100px;
  margin: 0 20px;
}

.mega-menu1 .mega-column .coverage-menu-img{
    width: 100%;
    height: 250px;
    overflow: hidden;
     border-radius: 20px;
}

.mega-menu1 .mega-column .coverage-menu-img img{
    width: 100%;
    height: 250px;
    border-radius: 20px;
object-fit: cover;
 transform: scale(1);
 transition: all 0.5s ease-in-out;

}

.mega-menu1 .mega-column:hover .coverage-menu-img img{
  transform: scale(1.1);
}

.mega-menu1 .mega-column a{
  text-decoration: none;
}
.mega-menu1 .mega-column a h6 {
  margin-top: 10px;
  padding-top: 5px;
  font-size: 18px;
  color: var(--white-color);
     text-transform: capitalize;
       font-family: Be-Vietnam-Pro;
  transition: all 0.5s ease-in-out;
}

.mega-menu1 .mega-column h6 i{
  font-size: 15px;
}

.mega-menu2 h3{
   color: var(--white-color);
  font-size: 18px;
  line-height: 30px;
  text-transform: capitalize;
     font-family: Be-Vietnam-Pro;
}
.mega-menu2 .mega-column a {
  display: block;
  padding: 8px;
  color: var(--white-color);
  text-decoration: none;
  background-color: transparent;
  transition: all 0.6s ease;
    text-transform: capitalize;
    font-size: 16px;
     font-family: Be-Vietnam-Pro;
            text-transform: capitalize;
}
.mega-menu2 .mega-column .products-name{
  font-size: 20px;
  line-height: 30px;
}

.mega-menu1 .mega-column a:hover h6, .mega-menu2 .mega-column a:hover, .mega-menu3 .mega-column a:hover,  .dropdown-menu ul li a:hover {
     color: var(--underline-color);
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu ul li a {
  display: block;
  padding: 10px 15px;
     color: var(--white-color);
  text-decoration: none;
       font-family: Be-Vietnam-Pro;
       text-transform: capitalize;
       transition: all 0.6s ease;
}
/* 
.dropdown-menu ul li a:hover {
     background-color: var(--bluish-gray-color);
} */

.mega-column img{
  border-radius: 20px;
  height: 250px;
}

.navbar .btn, .menu-panel .btn {
  background: var(--underline-color);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--white-color);
      font-family: Be-Vietnam-Pro;
}

.side-menu-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--white-color);
  color: var(--darker-gray-color);
  font-family: sans-serif;
}

.menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background: var(--white-color);
  color: var(--darker-gray-color);
  transform: translateX(100%);
  transition: transform 0.3s ease;
padding: 20px 0;
  box-sizing: border-box;
}

.menu-panel.active {
  transform: translateX(0);
}

.main-menu {
  z-index: 1;
}

.submenu {
  z-index: 2;
  width: 100%;
}

.submenu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spacing between items */
}

.submenu-grid li {
  flex: 0 0 calc(50% - 10px); /* 2 items per row */
  box-sizing: border-box;
  text-align: start;
}

.menu-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.menu-panel li, .menu-panel .inside-submenu li, .main-submenu li {
    padding: 15px 10px;
    cursor: pointer;
    text-align: end;
    width: 100%;
    font-size: 17px;
    line-height: 27px;
        font-family: Be-Vietnam-Pro;
          text-transform: capitalize;
}

 .inside-submenu h6{
  font-size: 18px !important;
  line-height: 28px;
  margin: 20px 0;
      font-family: Be-Vietnam-Pro;
 }

.menu-panel .submenu-grid li{
  text-align: center;
} 

.menu-panel a {
  color: var(--darker-gray-color);
  text-decoration: none;
      font-family: Be-Vietnam-Pro;
}

.menu-panel .submenu-grid li img{
  height: 100px;
    width: 110px;
  border-radius: 10px;
}

.back-btn {
  margin-bottom: 20px;
  background: none;
  border: none;
  color: var(--darker-gray-color);
  font-size: 16px;
  cursor: pointer;
 text-align: end;
    width: 100%;
        font-family: Be-Vietnam-Pro;
}


.back-btn i{
  font-size: 14px;
  font-weight: 500;
  margin-right: 10px;
}

.offcanvas{
    display: inline-flex;
    width: 100%;
}

.offcanvas-menu {
    display: none;
    z-index: 11;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    background: transparent;
}


    .offcanvas-menu .row{
      padding: 0 20px;
    margin: 0;
    }

    .offcanvas-menu .offcanvas.offcanvas-end{
      width: 80%;
    }

    .offcanvas-menu .offcanvas-body{
      display: block;
      align-items: center;
      justify-content: end;
      overflow-y: hidden;
    }

    /*.side-menu-container{*/
    /*  top: 8%;*/
    /*}*/

    .has-submenu i, .inside-submenu i, .main-submenu i{
      font-size: 12px !important;
        margin-left: 10px;
    }
.close-btn {
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.side-menu-container #submenu-1 ul{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start !important;
}

.offcanvas-header .btn-close{
  color: var(--darker-gray-color) !important;
}

.offcanvas-header .btn-close:focus{
  box-shadow: none;
  outline: none;

} 

.menu-btn:focus{
border: none;
outline: none;
}


/* In your CSS */
.navbar.homepage {
  background-color: transparent !important;
   position: absolute !important; 
    transition: background-color 0.3s ease;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 20px;
    width: 100%;
}


.navbar.homepage:hover {
  background-color: transparent;
}

.navbar.innerpage {
  background-color: var(--darker-gray-color) !important;
  position: relative !important;
  transition: background-color 0.3s ease;
  z-index: 11;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 20px;
    width: 100%;
}

.navbar.innerpage:hover {
  background-color: var(--darker-gray-color) !important;
}

.navbar.innerpage.scrolled, .navbar.homepage.scrolled {
    position: fixed !important;
    top:0;
   background-color: var(--darker-gray-color) !important;
    box-shadow: 0 2px 5px rgba(236, 234, 234, 0.2);
  }

  .navbar.innerpage.scrolled .nav-link, .navbar.homepage.scrolled .nav-link {
    color: white; /* Keep white when scrolled */
  }
  
  .navbar.menu-open {
  background-color: var(--darker-gray-color) !important;
}

  .offcanvas-menu.homepage {
    display: none;
    z-index: 11;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    background: transparent;
}

.offcanvas-menu.innerpage {
    display: none;
    z-index: 11;
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    background: var(--darker-gray-color);
}

@media screen and (max-width: 1024px) {
   .navbar.homepage, .navbar.innerpage {
    display: none;
  }

  .offcanvas-menu.homepage, .offcanvas-menu.innerpage{
    display: block;
    
  }
}

@media screen and (max-width: 380px){
    .submenu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* optional spacing between items */
}

.submenu-grid li {
  flex: 1 0 calc(50% - 8px); /* Subtract half the gap for perfect fit */
  box-sizing: border-box;
          justify-content: start;
        display: flex
;
}
.menu-panel .submenu-grid li img {
    height: 95px;
    width: 95px;
            object-fit: cover;
    border-radius: 10px;
}
}
