@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');


.custom-btn {
  border: 2px solid white;
  /* White border */
  color: white;
  /* Dark text */
  background-color: transparent;
  /* Transparent background */
  padding: 8px 16px;
  /* Adjust padding if needed */
  font-size: 16px;
  border-radius: 4px;
  /* Keep rounded corners like Bootstrap */
  transition: all 0.3s ease;
  /* Smooth hover effect */
  display: flex;
  /* Use flexbox */
  align-items: center;
  /* Center text vertically */
  justify-content: center;
  /* Center text horizontally */
  height: 32px;
  /* Adjust height */
}

.custom-btn:hover {
  background-color: white;
  /* White background on hover */
  color: black;
  /* Keep text dark */
}

.dropdown-menu {
  background-color: black;
}

.dropdown {
  margin-top: 10px;
}

.custom-input {
  height: 30px;
  width: 600px;
  border-radius: 0px !important;
}

nav {
  margin-top: -20px;
  z-index: 99;
  width: 100%;
  background: #242526;
  padding-top: 10px;
  height: 115px;
  background-color: black;
  margin-bottom: -5px;
}

nav .wrapper {
  position: relative;
  max-width: auto;
  padding: 0px 30px;
  padding-left: 100px;
  padding-right: 100px;
  height: 70px;
  /* line-height: 70px; */
  margin: auto;
  display: flex;
  align-items: center;
}

.rightside {
  margin-top: -25px;
}

.logo {
  margin-top: -70px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper .logo a {
  color: #f2f2f2;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.wrapper .nav-links {
  display: flex;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: #3A3B3C;
}

.nav-links .mobile-item {
  display: none;
}

.nav-links .drop-menu {
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 150px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  margin-top: -25px;
}

.mega-box .content {
  background: black;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .megamenu-row {
  width: calc(25% - 30px);
  line-height: 45px;
}

/* Image container style for better zoom behavior */
.content .megamenu-row:first-child {
  position: relative;
  overflow: hidden;
  max-height: 250px;
}

.content .megamenu-row img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  /* Ensures the image maintains its aspect ratio */
  max-width: 100%;
  /* Ensures the image doesn't exceed container width */
  display: block;
}

.content .megamenu-row header {
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}

.content .megamenu-row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.megamenu-row .mega-links li {
  padding: 0;
}

.megamenu-row .mega-links li a {
  padding: 0px;
  padding: 0 6px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}

.megamenu-row .mega-links li a:hover {
  color: #f2f2f2;
}

.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn {
    display: block;
  }

  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }

  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: #242526;
  }

  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }

  #menu-btn:checked~.nav-links {
    left: 0%;
  }

  #menu-btn:checked~.btn.menu-btn {
    display: none;
  }

  #close-btn:checked~.btn.menu-btn {
    display: block;
  }

  .nav-links li {
    margin: 15px 10px;
  }

  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }

  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  #showDrop:checked~.drop-menu,
  #showMega:checked~.mega-box {
    max-height: 100%;
  }

  .nav-links .desktop-item {
    display: none;
  }

  .nav-links .mobile-item {
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .nav-links .mobile-item:hover {
    background: #3A3B3C;
  }

  .drop-menu li {
    margin: 0;
  }

  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }

  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }

  .mega-box .content .megamenu-row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-box .content .megamenu-row:nth-child(1),
  .mega-box .content .megamenu-row:nth-child(2) {
    border-top: 0px;
  }

  .content .megamenu-row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }

  .megamenu-row .mega-links li {
    margin: 0;
  }

  .content .megamenu-row header {
    font-size: 19px;
  }
}

nav input {
  display: none;
}