html,
body {
  overflow-x: hidden;
}

.hero-bg {
  background-image: url("../images/photo-1486406146926-c627a92ad1ab.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-section {
  position: relative;
  background-image: url("../images/photo-1486406146926-c627a92ad1ab.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 40vh;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.bg-semiblack {
  background-color: rgba(0, 0, 0, 0.7);
}

.bg-opacity-70 {
  backdrop-filter: blur(5px);
}

.rounded-lg {
  border-radius: 8px;
}

.bg-opacity-50 {
  background-color: rgba(0, 0, 0, 0.5);
}

/* custom css for footer */

@media (min-width: 768px) {
  .footer-list li a {
    display: inline-block;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .footer-list li a {
    line-height: 1.25;
  }
}

nav {
  transition: background-color 0.3s ease-in-out;
}

.nav-scrolled {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  backdrop-filter: blur(2px);
  transition: background 0.3s ease-in-out;
}

#mobile-menu {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-open #mobile-menu {
  background-color: white;
  color: black;
}

#mobile-menu a {
  color: inherit;
}

#mobile-menu a:hover {
  color: gray;
}

#mobile-menu a {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-open #mobile-menu a {
  opacity: 1;
  transform: translateY(0);
}
