/* ======  navbar (laptop) ====== */
/* ======  navbar (laptop) ====== */

header{
  height: 50px ;
  padding: 0px 70px;
  background-color: #00adf0;

  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}

header p{
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

header a{
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;

}
header .call{
  cursor:auto;
}

header a span{

  font-size: 13px;
  font-weight: 400;
  margin-left: 15px;
}


nav {
  position: sticky;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  height: 100px;
  padding: 0 70px;
  /* margin: 10px 0 ; */
  
/* background-color: #333333; */

  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}
nav .wrapper {
  position: relative;
  width: 100%;
  /* max-width: 1300px; */
  padding: 0px 30px;
  height: 100%;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* background-color: blueviolet; */

  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}

.wrapper .logo{

  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  height: 80%;
  width: auto;
  

  /* background-color: chocolate; */
}
.wrapper .logo a {
  display: flex;
  align-items: center; /* Centers image vertically */
  justify-content: center; /* Centers content inside */
  height: 100%; /* Ensures the <a> tag takes full height of the parent */
}

.wrapper .logo a img {
  height: 90%; /* Image height is 90% of the <a> tag */
  width: auto; /* Maintains aspect ratio */
  max-height: 100%; /* Ensures it does not exceed <a>'s height */
}

.desc{

  height: 100%;
  padding: 0 10px;
text-transform: uppercase;
  font-family: "Audiowide", sans-serif;

  /* background-color: rgb(255, 17, 17); */

  display: flex;
  flex-direction: column;
  line-height: 30px;
  align-items: center;
  align-content: center;

}

.desc h3{
  font-size: 30px;
  letter-spacing: 2px;
  color: #00adf0;

  font-family: "Audiowide", sans-serif;

}
.desc h4{
  font-size: 20px;
  letter-spacing: 2px;
  color: #00adf0;
  font-family: "Audiowide", sans-serif;

}

.desc h5{
  font-size: 18px;
  color: grey;
  font-weight: 400;
  

}



.wrapper .nav-links {
  display: inline-flex;
  height: 100%;

  /* background-color: rgb(93, 241, 48); */
}
.nav-links li {
  list-style: none;
  height: 100%;

  /* background-color: red; */

  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center
}
.nav-links li a {
  color: #222222;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 2px 15px;
  height: 100%;
  /* border-radius: 5px; */

  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  transition: all 0.3s ease;
}
.nav-links li a:hover {
  background: #00adf0;
}
.nav-links .mobile-item {
  display: none;
}
.nav-links .drop-menu {
  position: absolute;
  background: #222222;
  width: 180px;
  line-height: 30px;
  top: 150px;
  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 0.3s ease;
  top: 100px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a {
  width: 100%;
  display: block;
  /* padding: 0 0 0 25px; */
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
}
.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content {
  background: #242526;
  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 .row {
  width: calc(25% - 30px);
  line-height: 45px;
}
.content .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header {
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li {
  padding: 0 20px;
}
.row .mega-links li a {
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.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 .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }
  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li {
    margin: 0;
  }
  .content .row header {
    font-size: 19px;
  }
}
nav input {
  display: none;
}


/* Hamburger Menu Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;  /* Slightly smaller icon */
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5000;
}

.hamburger div {
  width: 25px;  /* Smaller bars */
  height: 3px;
  background-color: #051829;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/* Mobile menu styles */
.menu {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Overlay color */
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu ul li {
  padding: 2px 10px;
  width: 100%;
  border: 1px solid #000;
}

.menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;  /* Reduced font size */
  font-weight: 500;  /* Slightly lighter weight */
  padding: 15px 20px;  /* Reduced padding */
  color: #051829;
}

/* Active menu styles */
.menu.active {
  display: flex; /* Show menu when active */
}

/* Hamburger icon when clicked (transforms into 'X') */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: top left;
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: bottom left;
}
/* Dropdown menu styles */
.ham-nav-links{
  background-color: #ffffff;
}

.ham-nav-links li .dropdown-menu {
  display: none;
  list-style: none;
  padding: 0;
  text-align: center;
}

.ham-nav-links li.active .dropdown-menu {
  display: block; /* Show the dropdown when active */
}

.ham-nav-links li .dropdown-menu li {
  padding: 8px 0; 
}

.ham-nav-links li .dropdown-menu li a {
  font-size: 16px;  /* Smaller font size in the dropdown */
  padding: 8px 12px; /* Reduced padding in the dropdown */
}

/* Mobile view */
@media screen and (max-width: 1210px) {
  /* Show the hamburger icon */
  .hamburger {
    display: flex;
  }

  /* Hide the navigation menu in mobile view */
  .navbar {
    display: none;
  }

  .menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Adjust other menu items as needed for mobile */
  .menu ul li a {
    font-size: 16px;  /* Smaller font size */
    padding: 8px 12px; /* Reduced padding */
  }

  .wrapper .nav-links{
    display: none;
  }
}