@import url("../web-fonts/stylesheet.css");
/* 
:root {
  --primary-color: #67c011;
  --primary-dark: #47840b;
  --secondary-color: #171717;
  --secondary-dark: #222222;
  --white: #ffffff;
  --primary-text: #222222;
  --secondary-text: #454545;
  --bg-gray: #f1f3f0;
  --box-border: #e9ece7;
  --background-color: #f2f1ed;
  --primary-gradient: linear-gradient(260deg,
      rgba(103, 192, 17, 1) 0%,
      rgba(1, 146, 151, 1) 100%);
} */


/*===================Header Section Start===============*/

header {
  /* background: var(--white); */
  /* box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px; */
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  /* transform: translateY(-100%);
  transition: transform 0.3s ease-in-out; */
  z-index: 9;
  padding: 0px !important;
}

#header.show {
  /* transform: translateY(0); */
}

.demo-btn {
  background: var(--semi-secondary-color);
  border-radius: 30px;
  padding: 10px 15px;
  color: #ffffff;
  font-weight: 600;

  a {
    color: #ffffff;
    text-decoration: none;
  }
}

nav {
  /* border-bottom: 1px solid #d4d3db; */
  background: var(--background-color);

  .navbar-brand {
    width: 180px;
    /* border-right: 1px solid #d4d3db; */
    padding: 10px 25px 10px 0px;
    text-align: center;

    img {
      width: 100%;
    }
  }
}

.navbar {
  padding-top: 0px;
  padding-bottom: 0px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.navbar-collapse {
  flex-grow: 0;
}

.nav-link {
  font-weight: 600;
  text-transform: capitalize;
  font-size: 15px;
  color: var(--semi-secondary-color);
}

.dropdown-mega {
  position: static;
}

.dropdown-menu.megamenu {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  padding: 2rem;
  border-radius: 0;
  border: none;
  background-color: #f8f9fa;
}

/* Optional: Prevent closing on inner clicks */
.dropdown-menu.megamenu[data-bs-popper] {
  margin-top: 0;
}

.dropdown-menu.megamenu[data-bs-popper] {
  margin-top: 0;
  background: #fff;
  border-radius: 0px 0px 25px 25px;
  border-top: 0px;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 11px 20px -10px;
}

.megamenu {
  padding: 15px 0px;

  .dropdown-item {
    h6 {
      font-weight: 700;
      font-size: 16px;
    }

    .mega_menu_subtext {
      font-size: 15px;
      font-weight: 500;
    }
  }
}

.dropdown-menu {
  h3 {
    font-weight: 700;
    font-size: 18px;
    padding: 15px 15px;
    color: var(--primary-dark);
  }
}

.nav-link {
  padding: 15px 25px !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: var(--primary-color);
  border-radius: 3.0rem;
  color: var(--white);
}

.mega-menu-right-box {
  border-radius: 25px;
  background: var(--background-color);
  padding: 25px;
  border: 2px solid var(--box-border);

  h3 {
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    margin: 0px 0px 15px;
    padding: 0px;
  }

  p {
    font-size: 16px;
  }

  img {
    width: 100%;
    height: auto;
  }
}

.nav-item:last-child {
  background-color: var(--semi-secondary-color);
  border-radius: 3.0rem;

  a {
    color: var(--white);
  }
}

.header-top {
  background-color: var(--primary-color);
  padding: 10px;

  .right-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding-right: 10px;
  }

  .right-link:hover {
    text-decoration: underline;
  }

  .top-social-link {
    color: var(--white);
    padding: 0px 5px;
  }

  .top-social-link:hover {
   
  }
}

.demo-btn {
  display: none;
}

@media (max-width: 980px) {
  #top-scroll {
    display: none;
  }

  nav {
    .navbar-brand {
      width: auto;
      padding: 10px 20px 10px 0px;
    }

    .logo {
      img {
        width: 120px;
        height: auto;
      }
    }
  }


  .dropdown-menu.megamenu[data-bs-popper] {
    max-height: 400px;
    overflow-x: scroll;
    padding: 5px;
  }

  .megamenu {
    & .dropdown-item {
      .mega_menu_subtext {
        font-size: 13px;
        margin: 0px 0px 10px;
      }

      h6 {
        font-size: 15px;
      }
    }
  }

  .mega-menu-right-box {
    display: none;
  }

  header .navbar-toggler:focus {
    box-shadow: none;
  }

  header .navbar-toggler {
    border: 0px;
  }

  .demo-btn {
    display: block;

    .custom-btn {
      min-width: 100px;
    }
  }

  .nav-item:last-child {
    background-color: var(--semi-secondary-color);
    border-radius: 3.0rem;
    display: none;
  }
}