* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  user-select: none;
  cursor: default;
  margin: 0;
  padding: 0;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
  margin-top: 50px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  right: .1%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}

.slider-controls span {
  cursor: pointer;
  font-size: 2em;
  color: white;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 1);
  z-index: 100;
  transition: all 0.3s ease;
}

/* Shrink navbar */
#navbar.shrink {
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

/* Logo */
#logo img {
  height: 80px;
  transition: height 0.3s ease;
}

#navbar.shrink #logo img {
  height: 60px;
}


/* Nav items */
.nav-items ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-items ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 20px;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 20px;
}

.nav-items ul li a:hover {
  color: #dddddd;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-items ul li a.active {
  background-color: #f47400;
  color: #ffffff;
}

/* Hamburger Menu Button */
#menuToggle {
  display: none;
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* ================= Responsive Design ================== */

/* Large Desktops and High-Resolution Screens: From 1281px and up */
@media (min-width: 1281px) {
  .hero-slider {
    height: 700px;
  }
  #logo img {
    height: 80px;
  }
  .nav-items ul {
    gap: 20px;
  }
}

/* Laptops and Small Desktops: 1025px to 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-slider {
    height: 600px;
  }
  #logo img {
    height: 75px;
  }
  .nav-items ul {
    gap: 18px;
  }
}

/* Tablets: 601px to 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero-slider {
    height: 500px;
  }
  #logo img {
    height: 70px;
  }
  .nav-items {
    display: none; /* Hide nav at tablet */
  }
  #menuToggle {
    display: block;
  }
}

/* Medium Mobile Screens: 360px to 600px */
@media (min-width: 360px) and (max-width: 600px) {
  .hero-slider {
    height: 400px;
  }
  #logo img {
    height: 60px;
  }
  .nav-items {
    display: none; /* Hide nav at medium mobile */
  }
  #menuToggle {
    display: block;
  }
}

/* Small Mobile Screens: 320px to 359px */
@media (max-width: 359px) {
  .hero-slider {
    height: 350px;
  }
  #logo img {
    height: 55px;
  }
  .nav-items {
    display: none; /* Hide nav at small mobile */
  }
  #menuToggle {
    display: block;
  }
}

/* When menu is toggled active (add .active class on nav-items) */
.nav-items.active {
  display: flex !important;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  flex-direction: column;
  text-align: center;
  padding: 20px 0;
  gap: 10px;
  z-index: 101;
}

.nav-items.active ul {
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.nav-items.active ul li {
  margin-bottom: 10px;
}

.nav-items.active ul li a {
  font-size: 18px;
  display: block;
  padding: 10px 0;
}
