/* General Styling for Navbar */

html {
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  /* Change sticky to fixed */
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 10px 0;
  /* Optional for better spacing */
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: white;
  height: 28px;
}

.logo-img {
  height: 60px;
  border-radius: 50%;
}

.logo-img2 {
  height: 60px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: black;
  text-decoration: none;
  padding: 12px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  color: orangered;
  /* Lighter color on hover */
}

/* Mobile view adjustments */
@media (max-width: 768px) {

  /* Hide desktop nav links on mobile */
  .nav-links {
    display: none;
  }

  /* Show hamburger icon on mobile */
  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }

  /* Mobile fullscreen slider */
  .mobile-slider {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: left 0.3s ease-in-out;
    z-index: 100;
    padding-top: 50px;
    display: none;
    /* Hide slider by default */
  }

  .mobile-slider.open {
    left: 0;
    display: block;
    /* Show the slider when open */
  }

  .mobile-slider .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: orangered;
    cursor: pointer;
  }

  .mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }

  .mobile-nav-links li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #444;
  }

  .mobile-nav-links li a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
  }

  .mobile-nav-links li a:hover {
    background-color: #5c6e7d;
  }
}

/* Hide hamburger and mobile-specific items on larger screens */
@media (min-width: 769px) {
  .hamburger {
    display: none;
    /* Hide hamburger on larger screens */
  }

  .mobile-slider {
    display: none;
    /* Hide mobile slider on larger screens */
  }
}