/* Reset and Base Styles */
.navbar {
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 70px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: "Gruppo", sans-serif;
  font-weight: bold;
  font-style: normal;
}

/* Container Layout */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 7rem;
  padding: 20px 40px;
  justify-content: space-between;
}

/* Logo Styles */
.menu-icon img,
.logo img {
  max-height: 30px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.menu-icon img {
  padding-left: 0;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Main Navigation */
.navbar nav {
  flex: 1;
  margin-left: -2rem; /* Added negative margin to shift the nav menu left */
}

.navbar nav ul {
  list-style-type: none;
  display: flex;
  gap: 8rem;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
  transform: translateX(-10rem); /* Alternative approach to shift the menu left */
}

.navbar nav ul li {
  position: relative;
  padding: 5px 0;
}

.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
  position: relative;
}

/* Hover Effect for Nav Links */
.navbar nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-content {
  padding: 10px 10px;
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.95);
  min-width: 220px;
  z-index: 1001;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.navbar nav ul li:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-content a {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 25px;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.98);
  overflow-x: hidden;
  transition: all 0.5s ease;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  font-family: "Gruppo", sans-serif;
  font-weight: bold;
  font-style: normal;
}

.menu-overlay.active {
  width: 400px;
  opacity: 1;
  visibility: visible;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* Menu Content */
.menu-content {
  padding: 60px 40px;
}

#aboutUsBtn{
  cursor: pointer;
}

.menu-content ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 60px;
}

.menu-content ul li {
  margin: 20px 0;
}

.menu-content ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.menu-content ul li a:hover {
  opacity: 1;
  padding-left: 5px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.social-icons a {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Menu Overlay Logo */
.menuOverlayLogo {
  position: absolute; /* Positions the element relative to its nearest positioned ancestor */
  bottom: 10px; /* Moves it to the bottom of the container */
  left: 0; /* Aligns it to the left edge */
  right: 0; /* Ensures it's centered horizontally */
  text-align: center; /* Centers the content within the element */
  margin: 0; /* Removes any extra margin */
}
.social-icons {
  position: absolute; /* Positions the element relative to its nearest positioned ancestor */
  bottom: 60px; /* Moves it to the bottom of the container */
  left: 0; /* Aligns it to the left edge */
  right: 0; /* Ensures it's centered horizontally */
  text-align: center; /* Centers the content within the element */
  margin: 0; /* Removes any extra margin */
}


.menuOverlayLogo img {
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.menuOverlayLogo img:hover {
  opacity: 1;
}



/* Hide Mobile Elements by Default */
.hamburger,
.closeButton {
  display: none;
}
/* Mobile Responsive Styles for Navigation */
@media screen and (max-width: 1024px) {
  .navbar {
    padding-right: 20px;
    height: 60px;
  }

  .container {
    gap: 3rem;
  }

  .navbar nav ul {
    gap: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding-right: 10px;
    height: 60px;
  }

  .container {
    justify-content: space-between;
    padding: 10px 20px;
    gap: 0;
  }

  .menu-icon img {
    padding-left: 0;
  }
  

  .hamburger {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 0px;
    padding-right: 30px;
  }

  /* Mobile Menu Styles */
  #mobileMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #000;
    z-index: 2000;
    transition: 1.5s ease-in-out;
    overflow-y: auto;
  }
  
  #mobileMenu.show {
    right: 0;
    display: block;
  }
  
  #mobileMenu ul {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the start of the column */
    justify-content: left; /* Optional: Ensures items stay at the top */
    padding: 45px 0px; /* Adjust padding as needed */
    gap: 1rem; /* Space between items */
    margin-left: 180px;
  }
  #mobileMenu ul li{
    font-size: 14px;
  }
  
  
  /* Mobile Menu Dropdown */
  #mobileMenu .dropdown-content {
    position: static;
    background-color: #111;
    margin-top: 10px;
    width: 50%;
    border-radius: 0;
  }

  /* Mobile Dropdown Styles */
  .dropdown-content {
    position: relative;
    width: 50%;
    margin-top: 10px;
    border-radius: 0;
    background-color: #111;
  }

  #mobileMenu .closeButton {
    display: block;
    position: absolute;
    top: -20px;
    right: -20px;
    background: none;
    border: none;
    cursor: pointer;
  }

  #mobileMenu .closeButton img {
    width: 24px;
    height: 24px;
  }

  /* Menu Overlay Adjustments */
  .menu-overlay.active {
    width: 60%;
  }

  .menu-content ul {
    margin-bottom: 100px;
  }

  .menu-content ul li a {
    font-size: 20px;
    font-weight: bold;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    height: 50px;
  }

  .container {
    padding: 5px 15px;
  }

  .menu-icon img,
  .logo img {
    max-height: 25px;
  }

  #mobileMenu ul li {
    font-size: 20px;
  }

  .dropdown-content {
    min-width: 100%;
  }

  .dropdown-content a {
    padding: 10px 12px;
    font-size: 16px;
  }

  .menu-content ul li a {
    font-size: 16px;
  }

  .social-icons {
    gap: 25px;
  }
  #mobileMenu .closeButton {
    top: -20px;
    right: -20px;
  }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Smooth transitions */
.menu-icon,
.hamburger,
.closeButton,
#mobileMenu,
.dropdown-content {
  transition: all 0.7s ease-in-out;
}