:root {
  --primary-color: #ffffff;
  /* Changed to white for the header background */
  --secondary-color: #000000;
  /* Changed to black for the text */
  --hover-color: #f2f2f2;
  /* Light gray for hover effects */
  --dark-color: #242526;
}

/* New transparent CSS */
nav.transparent {
  background: transparent;
}

nav.transparent .nav-links li a,
nav.transparent .wrapper .logo a {
  color: var(--primary-color); /* White color for text */
}

nav.transparent .nav-links li a:hover {
  background: var(--secondary-color); /* Black background on hover */
}

nav,
nav * {
  margin: 0;
  padding: 0;
}

nav {
  background: var(--primary-color);
}

.nav-links li a {
  color: var(--secondary-color);
}

.nav-links li a:hover {
  background: var(--hover-color);
}

nav {
  position: fixed;
  z-index: 99;
  width: 100%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

nav .wrapper {
  position: relative;
  max-width: 100%;
  padding: 0px 30px;
  height: 90px;
  line-height: 90px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Puts maximum space between the logo and the menu */
}

.wrapper .logo a {
  color: var(--secondary-color);
  /* Black text for the logo */
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.wrapper .nav-links {
  display: inline-flex;
  margin-left: auto;
}

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

.nav-links li a {
  color: var(--secondary-color);
  /* Black text for the menu items */
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 0px;
  transition: all 0.3s ease;
}

nav.transparent .nav-links li a {
  color: #fff;
}
nav.transparent .nav-links li:hover a {
  color: #000;
}

nav.transparent .nav-links li a:hover {
  background-color: aqua;
}
nav.transparent .nav-links li a:hover {
  background: #f8f8f8;
}

nav.transparent .topnav-items li a {
  color: #fff;
}
nav.transparent .topnav-items li a .fab {
  color: #fff;
}

.nav-links li a:hover {
  background: var(--hover-color);
  /* Light gray background on hover */
}

.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 0.3s 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;
  color: var(--secondary-color);
  /* Black text */
  background: var(--primary-color);
  /* White background */
}

/* This targets the dropdown menu items on hover */
.drop-menu li a:hover {
  background: var(--hover-color);
  /* Light gray background on hover */
}

.mega-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 85px;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  max-width: var(
    --container-width
  ); /* assuming the container width is stored in a CSS variable */
}

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

/* ... rest of your CSS ... */

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

.social-icon i {
  font-size: 18px;
  /* Same as the font size for menu items */
  vertical-align: middle;
  /* Aligns the icon with the text */
}

.content .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .row header {
  color: #26184f;
  color: #4985ff;
  font-size: 0.75rem;
  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: #26184f;
  font-size: 17px;
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  color: #26184f;
  margin: 0.75rem 0;
  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;
}

.right-section {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-icon a {
  margin-right: 10px;
}

.social-icon i {
  font-size: 18px;
  vertical-align: middle;
}

.social-icons {
  display: none;
}

nav input {
  display: none;
}

.body-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.body-text div {
  font-size: 45px;
  font-weight: 600;
}

@media screen and (max-width: 1200px) {
  nav .wrapper {
    padding: 0px 0px;
  }

  .logo a img {
    padding-left: 35px;
  }
  .mega-box .content {
    padding: 25px 0px;
  }
}
@media screen and (max-width: 1024px) {
  nav .wrapper {
    height: 100px;
  }
  /* This targets the dropdown menu items in mobile view */
  .drop-menu li a {
    color: var(--primary-color);
    /* White text */
    background: var(--dark-color);
    /* Black background */
  }

  /* This targets the dropdown menu items on hover in mobile view */
  .drop-menu li a:hover {
    background: var(--hover-color);
    /* Light gray background on hover */
  }

  /* This targets the Mega Menu content in mobile view */
  .mega-box .content {
    background: var(--dark-color);
    /* Black background */
  }

  /* This targets the Mega Menu text in mobile view */
  .content .row header,
  .row .mega-links li a {
    color: var(--primary-color);
    /* White text */
  }

  /* This targets the Mega Menu items on hover in mobile view */
  .row .mega-links li a:hover {
    color: var(--hover-color);
    /* Light gray text on hover */
  }

  .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;
    z-index: 999;
  }

  /* 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;
  }

  /* Change the hamburger icon to black */
  .btn.menu-btn i {
    color: var(--secondary-color);
    /* Black */
  }

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

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

  .nav-links li a {
    color: var(--primary-color);
    /* White text */
  }

  .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;
  }

  /* Show social icons in mobile view */
  .social-icons {
    display: flex;
  }

  .social-icon i {
    font-size: 18px;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
    color: #000;
  }

  /* Position social icons to the left of the hamburger icon */
  .right-section {
    display: flex;
    flex-direction: row;
  }

  .social-icon a {
    color: var(--secondary-color);
    /* Black icons */
    margin-left: 12px;
    margin-right: 12px;
  }
}
