@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Momo+Signature&display=swap");
/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  font-family: "Mulish", sans-serif;
}
body {
  position: relative;
}
/* NAVBAR */
.navbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 80px; /* FIX — changed margin to padding */
  /* position: fixed; */
  width: 100%;
  z-index: 999;
}

.navbar .links ul {
  display: flex;
  gap: 25px;
}

.navbar .links ul li {
  list-style-type: none;
}

.navbar .links ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
.navbar .links ul li a:hover {
  color: #124747;
  font-weight: 700;
}

.navbar .buttons a,
.buttons a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  background-color: #ffda32;
  padding: 10px 24px;
  border-radius: 5px;
}

/* MENU ICON */
.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 24px;
  z-index: 1001;
}

/* MOBILE */
@media (max-width: 768px) {
  body {
    padding: 0 20px; /* FIX — changed margin to padding */
  }

  .menu-icon {
    display: block;
  }

  .navbar {
    padding: 12px 20px; /* FIX */
    position: fixed;
  }

  .links {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 100%;
    background: #fff;
    padding-top: 20px;
    transition: 0.3s ease;
    z-index: 999;
    /* padding: 30px; */
    padding-bottom: 20px;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.25);

    /* background-color: #124747; */
  }

  .links ul {
    flex-direction: column;
    text-align: center;
  }

  .buttons {
    display: none;
  }
}

/* HERO */
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
}

.hero-content p {
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
}

/* MARQUEE */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #124747;
  padding: 15px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  color: #fff;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* POPULAR TOURS SECTION */
.cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0 40px 80px; /* FIX — no margin */
  width: 100%;
  background-color: #fff;
  margin-top: 60px;
}

/* LEFT TITLE */
.card-title {
  width: 20%;
  display: flex;
  flex-direction: column;
}

.card-title h2,
.explore-title h2,
.about h2 {
  font-size: 30px;
  text-align: left;
  font-style: italic;
}

.card-title p {
  line-height: 1.8;
  margin-top: 10px;
}

/* RIGHT SLIDER SECTION */
.slider-container {
  width: 80%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden; /* IMPORTANT */
}

.cards-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  background-color: #fff;
  padding: 10px 20px 20px 20px;
}

.cards-wrapper::-webkit-scrollbar {
  display: none;
}

/* TRIP CARD */
.trip-card {
  width: 300px;
  min-width: 300px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  /* border: 1px solid #ccc; */
}

.trip-card .img img {
  width: 100%;
  display: block;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.card-content p {
  font-size: 14px;
}

/* SLIDER BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
  font-size: 28px;
  border: none;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.explore {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0 80px;
  gap: 20px;
}

.row1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

.slider-btn:hover {
  background: #f0f0f0;
}

.country-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.country-card p {
  font-weight: 600;
}
.img-card {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden; /* Important */
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Perfectly fills circle */
  display: block;
}
.features {
  margin: 0;
  width: 100%;
  height: 300px; /* or your required height */
  background-image: url("../images/Rectangle\ 165\ \(1\).png");
  background-size: cover; /* fills entire div */
  background-position: center; /* keeps focus center */
  background-repeat: no-repeat; /* avoid repeat */
  margin: 80px 0;
  padding: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* ✅ Enables wrapping */
  height: auto;
  margin-top: 0;
}

.about {
  margin: 0 80px;
  position: relative;
  background-color: #fff;
}

.quotes {
  position: absolute;
  left: -40px;
  bottom: 75px;
}

.quotes {
  width: 80px;
}

.feature-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  width: 30%;
  gap: 20px;
  border-radius: 10px;
  height: 150px;
}

.left {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  color: #124747;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}

.right p {
  line-height: 1.5;
}
.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-dots {
  text-align: center;
  margin-top: 15px;
}

.slider-dots span {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  display: inline-block;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.slider-dots .active {
  background-color: #124747;
}
.slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.banner1 {
  margin: 0;
  width: 100%;
  height: 300px; /* or your required height */
  background-image: url("../images/beautiful-skyline-dubai-surrounded-by-sand-dust-day-light.jpg");
  background-size: cover; /* fills entire div */
  background-position: center; /* keeps focus center */
  background-repeat: no-repeat; /* avoid repeat */
  /* margin: 80px 0; */
  padding: 40px;
  flex-shrink: 0; /* ✨ THIS FIXES YOUR PROBLEM */

  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
}
.slide:nth-child(1) .banner1 {
  background-image: url("../images/thailand-banner.jpg");
}

.slide:nth-child(2) .banner1 {
  background-image: url("../images/thailandbg.jpg"); /* replace */
}

.banner-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #124747;
  gap: 20px;
  padding: 40px 60px;

  outline: 4px ridge #fff; /* border-like line */
  outline-offset: -16px; /* space between box and outline */
}

.banner-text h2 {
  font-size: 40px;
  /* font-family: "Stack Sans Headline", sans-serif; */
  font-family: "Momo Signature", cursive;

  color: #fff;
}
.slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.8s ease;
  width: 100%;
}
.slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.slider-dots {
  text-align: center;
  margin-top: 20px;
}

.slider-dots span {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  display: inline-block;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 80px;
}

.slider-dots .active {
  background-color: #124747;
  transform: scale(1.2);
}

.banner-text h3 {
  font-size: 26px;
  font-style: italic;
  color: #ffce53;
}

.banner-text p {
  font-size: 20px;
  color: #fff;
}

footer {
  background-color: #f1ffff;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

footer p {
  font-size: 22px;
  font-weight: 600;
}
.socials {
  margin-top: 20px;
  margin-bottom: 20px;
}
.socials ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.socials ul li {
  list-style-type: none;
}
.socials img {
  width: 50px;
}
/* HERO */
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Background Video */
.hero .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.banner-text h2,
.banner-text h3,
.banner-text p {
  text-align: center;
}

/* Content Container */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
}

.hero-content p {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
}

.only-mob {
  display: none;
}
.explore-title {
  margin-bottom: 20px !important;
  margin-top: 80px;
  margin-left: 80px;
  margin-right: 80px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .feature-card {
    height: auto;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .hero-content p {
    font-size: 16px;
  }
}

.about p {
  font-size: 28px;
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }
  .hero {
    height: 80vh; /* helps better fitting on mobile */
  }

  .about p {
    font-size: 20px;
  }
  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 14px;
  }
  .about {
    margin: 0;
  }
  .quotes {
    width: 34px;
    top: -30px;
    left: 20px;
  }
  .features {
    flex-direction: column;
  }
  .feature-card {
    width: 100%;
  }
  .only-mob {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .explore {
    display: none;
  }
  .only-mob .explore-title h2 {
    text-align: center;
  }
  .features {
    padding: 16px;
  }
  .banner1 {
    height: auto;
  }
  .explore-title {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }
  .explore-title h2 {
    text-align: center;
  }
  footer p {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-content p {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 13px;
  }
}
.img-card {
  transition: transform 0.3s ease-in-out; /* Smooth animation */
}

.img-card:hover {
  transform: scale(1.1); /* Slight zoom */
}
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background-color: #366363;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  z-index: 9999;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}

.buttons {
  margin-top: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .banner1 {
    width: 100% !important;
    height: 350px !important;
    /* margin: 30px 0 !important; */
    padding: 0px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .banner-text {
    padding: 20px !important;
    outline-offset: -8px !important;
    gap: 12px !important;
  }

  .banner-text h2 {
    font-size: 18px !important;
    text-align: center;
  }

  .banner-text h3 {
    font-size: 16px !important;
    text-align: center;
  }

  .banner-text p {
    font-size: 14px !important;
    text-align: center;
  }

  .buttons {
    z-index: 9999;
  }
  .banner1 {
    overflow: visible; /* Ensure content is not clipped */
  }
  .buttons a {
    padding: 10px 10px !important;
    font-size: 12px !important;
  }
  .buttons {
    display: inline-block; /* Ensure the buttons are visible */
    position: relative; /* For z-index to take effect */
    z-index: 9999; /* Ensure the buttons are on top */
  }
}
#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  position: relative;
  background: white;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  max-width: 90%;
  width: 450px;
  cursor: pointer;
}

.closeBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: black;
  color: white;
  border: none;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup img {
  width: 100%;
  display: block;
}
