/* Google Font applied */
/* body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
} */

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 992px) {
  .hero-section {
    height: 60vh;
  }
}

@media screen {
  section.hero-section {
    height: 80vh;
  }
}

@media screen and (max-width: 480px) {
  section.hero-section {
    height: 80vh;
  }
}

/* Overlay Background */
.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  text-align: center;
}

/* Logo Container */
.logo-container {
  width: 100%;
  margin-bottom: 0;
}

.logo-img {
  max-height: 170px;
  width: auto;
  margin-top: -50px;
}

/* Navigation Container */
.nav-container {
  width: 100%;
  margin-bottom: 40px;
  position: relative;
}

.hero-container .offcanvas-header .offcanvas-title {
  font-size: 1.25rem;
  font-family: "Poppins Regular";
}

.hero-container .offcanvas a {
  text-decoration: none;
  color: black;
  display: block; /* Ensures the anchor behaves like a block element */
}

.hero-container .offcanvas .menu-item {
  padding: 20px 0;
}

.hero-container .offcanvas .menu-item p {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Poppins Regular", Verdana, Geneva, Tahoma, sans-serif;
}

/* Navigation Toggle Button (for mobile) */
.nav-toggle {
  display: none;
  position: absolute;
  top: 30px;
  right: 23px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

/* Hero Text Styling */
/* .hero-text {
  width: 100%;
  margin-top: 80px;
} */
.hero-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
}

.hero-text .subheading {
  color: #f9f9f9;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1.5s forwards 0.5s;
}

.hero-text .heading {
  color: #fff;
  /* font-size: 2.8rem; */
  font-size: clamp(2.5rem, 4vh + 1rem, 3.5rem);
  font-weight: bold;
  margin-top: 10px;
  opacity: 0;
  animation: fadeInUp 1.5s forwards 1s;
  font-family: "Satisfy";
}

.scroll-down {
  width: 100%;
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: -75px; /* Adjust based on toggle button height */
    right: 25px;
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 160px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
  }

  #nav-menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-items li a {
    padding: 8px 0;
    color: white;
    text-decoration: none;
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 1.1rem;
    width: 100%;
  }

  .nav-items li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }
}
