@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --white: #fff;
  --black: #000;
  /* --primary: #76ba3a; */
  --secondary: #da8435;
  --opt: #d99633;
  --dark: #333;
  --light: #f6f6f6;
}

a {
  text-decoration: none;
}

.border-btm {
  border-bottom: 1px solid #ccc;
}

header {
  position: relative;
  background-color: var(--black);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

@media (max-width: 768px) {
  header {
    background-color: var(--white);
    padding: 7px 0;

  }
}

/* top header  */

.top-header {
  background: #fff;
  padding: 5px 0;
}

.top-header-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-header-left ul {
  display: flex;
  align-items: center;
  /* justify-content: space-around; */
  list-style: none;
  padding: 0;
  width: 100%;
  margin-bottom: 0;

  /* flex-wrap: wrap; */
}

.top-header-left li a {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 15px;
  padding: 7px 12px;
  font-weight: 300;

  i {
    font-size: 18px;
    margin-right: 10px;
    color: #da8435;
  }
}

.top-head-ele .top-head-ele-1 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  border-bottom: 1px solid #333;
}

.top-head-ele .top-head-ele-2 {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.top-header-left li:last-child a {
  border: none;
}

.top-header-right ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-header-right li a {
  display: flex;
  align-items: center;
  font-size: 16px;
  border-left: 1px solid #f6f6f6;
  padding: 5px 10px;

  img {
    max-width: 30px;
    border: 1px solid #fff;
    border-radius: 100%;
    background-color: #fff;
  }
}

.top-header-right li:last-child a {
  border-right: 1px solid #f6f6f6;
}

@media (max-width: 768px) {
  .top-header-left li a {
    font-size: 14px;
    border: none;
    padding: 7px 2px;
  }

  .top-header-left li:first-child a {
    font-size: 14px;
    border: none;
    border-right: 1px solid #f6f6f6;
  }
}

/* bottom nav  */

.logo img {
  width: 210px;
}

@media (max-width: 992px) {
  .logo img {
    width: 120px;
  }
}

.main__menu {
  display: flex;
  justify-content: end;
  gap: 2rem;
}

.nav-menu {
  margin: 0 auto;
}

.main__menu li {
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  color: var(--white);
  cursor: pointer;
}

.main__menu li > a {
  color: var(--white);
  display: block;
  padding: 18px 30px;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.main__menu li > a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background-color: var(--opt);
  left: 50%;
  top: 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.main__menu li a:hover::after {
  width: 100%;
  left: 0;
}

.drop {
  position: relative;
}

.dropdown {
  background-color: #ffffff;
  position: absolute;
  top: 90px;
  left: 0;
  z-index: 100;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, top 0.4s, visibility 0.5s;
}

.main__menu li:hover .dropdown {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.dropdown li {
  line-height: 25px;
  position: relative;
  white-space: wrap;
}

.dropdown li a {
  font-size: 16px;
  color: var(--black);
  font-weight: 500;
  padding: 10px 12px;
  display: block;
  letter-spacing: 0.6px;
  line-height: 20px;
  transition: all 0.3s ease;
  &:hover {
    background-color: var(--opt);
    color: var(--white);
  }
}

.dropdown li a::after {
  content: none;
}

.submenu {
  background-color: #fff;
  position: absolute;
  top: 50px;
  left: 100%;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  width: 315px;
}

.dropdown li:hover .submenu {
  opacity: 1;
  top: 0;
  visibility: visible;
  transition: opacity 0.5s, top 0.4s, visibility 0.5s;
}

/* mobile navbar  */

.side-menu-btn {
  height: 50px;
  width: 50px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  border-radius: 10px;
  cursor: pointer;
}

.close-menu-btn {
  height: 50px;
  width: 50px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  border-radius: 100px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile__navber {
  background-color: #fff;
}

.mobile-navbar {
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 2.5rem;
  z-index: 200;
  width: 100%;
  height: 80vh;
  overflow: auto;
  padding-block: 2.5rem 4rem;
  pointer-events: none;
  opacity: 0;
  transition: top 0.4s, opacity 0.3s;
}

.mobile-navbar::-webkit-scrollbar {
  width: 0.3rem;
  height: scroll;
}

.mobile-navbar::-webkit-scrollbar-thumb {
  background-color: var(--dark);
  border-radius: 100px;
}

.show-menu {
  opacity: 1;
  top: 4rem;
  pointer-events: initial;
}

.main-menu li {
  line-height: 35px;
  font-weight: 400;
  font-size: 18px;
  padding: 5px 15px;
  cursor: pointer;
}

.main-menu li a {
  color: var(--black);
  display: block;

  &:hover {
    color: var(--secondary);
  }
}

.dropdown__container {
  background-color: #ffffff;
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.mobile-dropdown {
  width: 100%;
  padding: 0 10px;
}

.mobile-dropdown li {
  line-height: 25px;
  padding: 7px 0 7px;
  font-size: 18px;
  position: relative;
}

.mobile-dropdown li a {
  font-size: 16px;
  color: var(--black);
  font-weight: 400;
  letter-spacing: 0.6px;
}

.mobile-dropdown li p {
  font-size: 17px;
  color: var(--black);
  font-weight: 500;
  letter-spacing: 0.6px;
}

.mobile-submenu {
  padding: 0 10px;
}

.sub__dropdown {
  background-color: #fff;
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}
