@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Navbar */
nav ul li a {
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3b82f6; /* Blue hover effect */
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* Adjust left and right padding for the container */
footer .container {
  display: grid;
  gap: 1rem;
  text-align: center;
}

footer .grid {
  display: grid;
}

footer .grid div {
  padding-bottom: 0.5rem;
}

footer .social-media {
  margin-bottom: 0;
}

footer .mt-6 {
  margin-top: 0 !important;
}

footer .text-sm {
  margin-top: 10px;
}

.about-section {
  padding: 100px 20px;
  text-align: center;
}

.about-section h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #2563eb;
}

.about-section p {
  max-width: 800px;
  margin: auto;
  font-size: 1.2rem;
  color: #4b5563;
}

.about-section img {
  width: 70%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background: none;
}

/* for contact page */
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Scale-up effect */
.scale-up {
  transform: scale(0.9);
  transition: transform 0.5s ease-out;
}

.scale-up.show {
  transform: scale(1);
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Slide-in Right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/*for custom tour page*/
.opacity-0 {
  opacity: 0;
  transform: translateY(20px); /* Match your animation starting point */
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-fill-mode: both; /* Keeps end state after animation */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  background-color: white; /* Solid white background */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50; /* Ensures navbar stays above everything */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
}
.swiper-pagination {
  position: relative !important;
  margin-top: 20px !important;
}

.swiper-pagination-bullet {
  background-color: #f18306 !important;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #f18306 !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #f18306 !important;
}

/* Default style for all slides */
.swiper-slide {
  transform: scale(0.8);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
  opacity: 0.6;
  filter: blur(2px); /* Slight blur for side slides */
}

/* Make the center slide more prominent */
.swiper-slide-active {
  transform: scale(1.1); /* Enlarge the center slide */
  opacity: 1;
  filter: blur(0px); /* Remove blur */
  box-shadow: 0px 4px 20px rgba(241, 131, 6, 0.7) !important; /* Stronger orange glow */
  transition: box-shadow 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Animate text and images separately */
.swiper-slide h3,
.swiper-slide span {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.swiper-slide-active h3,
.swiper-slide-active span {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design & Mobile Styles */
@media (max-width: 768px) {
  /* About Section */
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    max-width: 90%;
  }

  .about-image {
    max-width: 90%;
    margin-top: 20px;
  }

  /* Hero Section */
  .hero {
    background-position: center;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero a {
    font-size: 1rem;
    padding: 10px 20px;
  }

  /* About Section Header */
  .about-section h1 {
    font-size: 2rem;
  }

  /* Services Section */
  .services .flex {
    flex-direction: column;
  }

  .swiper-slide {
    width: 100% !important;
  }
}

/* Prevent horizontal scrolling */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/*for hamburger icon*/
#menu {
  transition: all 0.3s ease-in-out;
}

#menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-600 {
  transition-delay: 0.6s;
}

/* Mobile menu should be positioned below the navbar */
#mobile-menu {
  display: none; /* Initially hidden */
  flex-direction: column;
  position: absolute;
  top: 100%; /* Positions it right below the navbar */
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 100;
}

/* Show mobile menu when active */
#mobile-menu.active {
  display: flex;
}

/* Mobile Dropdown Styling */
#mobile-services-dropdown {
  display: none; /* Hidden by default */
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

#mobile-services-dropdown.show {
  display: block; /* Show when the "show" class is added */
  opacity: 1;
  visibility: visible;
}

/* Hide dropdown by default */
.group ul {
  display: none;
  position: absolute;
  top: 100%; /* Position below the "Services" */
  left: 0;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 180px; /* Ensures width consistency */
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

/* Show dropdown when hovering over Services or the dropdown itself */
.group:hover > ul,
.group ul:hover {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Ensure dropdown items are properly displayed */
.group ul li a {
  display: block;
  padding: 8px 12px;
  color: black;
  text-decoration: none;
}

/* Hover effect for dropdown items */
.group ul li a:hover {
  color: #f18306;
}

/* Prevent dropdown from disappearing when moving the mouse */
.group ul {
  pointer-events: auto;
}

.thank-you-message {
  display: none;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 18px;
}
