:root {
  --background-Font: #f9f8f6;
  --white: #ffffff;
  --main-Font-Color: #007072;
  --secondary-Color: #00433e;
  --secondary-Background-Color: #f7f7f7;
  --secondary-text-color: #1e1e1e;
  --hover-color: #01a89d;
}

body {
  background-color: var(--background-Font) !important;
}

/* Navbar */

.custom-navbar {
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--main-Font-Color);
}

.custom-navbar .nav-link {
  transition: 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: var(--hover-color) !important;
}

.packages-header-container,
.homepage-ui-cards {
  display: flex;
}

/*Homepage Hero Section*/

.homepage-hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  height: auto;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-banner,
.group-packages-banner {
  position: absolute;
  inset: 0;
  background-image: url("/media/hero-img.jpg")!important;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -2;
  will-change: transform;
}

.group-packages-banner {
  background-image: url("/media/group\ destination\ banner.jpg") !important;
}

/* Slight dark overlay to improve text contrast */
.homepage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.38));
  z-index: -1;
}

/* Heading and subheading stacking and sizing (responsive) */
.home-heading {
  position: relative;
  z-index: 2;
  margin: 0 12px 0.6rem;
  color: var(--background-Font);
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 800;
  font-size: clamp(22px, 4.8vw, 70px); /* scales between 22px and 70px */
  line-height: 1;
  text-align: center;
  padding: 8px 10px;
}

.hero-paragraph {
  position: relative;
  z-index: 2;
  margin-top: 35px;
  margin-bottom: 8px;
  padding: 0 14px;
  max-width: 940px;
}

.hero-text {
  margin: 0;
  color: var(--background-Font);
  font-family: "Barlow", Roboto Slab, serif;
  font-size: clamp(14px, 2.2vw, 25px); /* smaller on mobile */
  font-weight: 400;
  line-height: 1.35;
  text-align: center !important;
}

/* CTA grouping */
.cta-btn-hero {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap; /* wrap on small screens */
  padding: 12px;
}

.cta-btn-hero .btn {
  min-width: 160px !important;
  width: auto;
  padding: 12px 20px;
  font-size: clamp(14px, 2.2vw, 18px);
  height: auto;
  border-radius: 20px !important;
  box-sizing: border-box;
}

/* Desktop tweaks to keep tall hero if you prefer */
@media (min-width: 1200px) {
  .homepage-hero {
    min-height: 85vh;
  } /* larger screens can be taller */
}

/* Tablet: keep hero compact and center content */
@media (max-width: 992px) {
  .homepage-hero {
    min-height: 60vh;
    padding: 48px 18px;
  }
  .home-heading {
    font-size: clamp(24px, 6.6vw, 40px);
  }
  .hero-text {
    font-size: clamp(15px, 4.6vw, 20px);
  }
  .cta-btn-hero .btn {
    min-width: 140px;
    padding: 10px 16px;
  }
}

/* Mobile: stack, smaller heading, buttons full width if needed */
@media (max-width: 768px) {
  .homepage-hero {
    min-height: 40vh;
    padding: 28px 12px;
  }
  .home-heading {
    font-size: clamp(15px, 4.5vw, 20px);
    font-weight: 700;
    padding: 4px 8px;
  }
  .hero-text {
    font-size: 18px;
    line-height: 1.3;
    padding: 0 6px;
  }
  .cta-btn-hero {
    gap: 10px;
    padding: 8px;
  }
  .cta-btn-hero .btn {
    width: 100%;
    min-width: 0;
    max-width: 320px;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .homepage-hero {
    min-height: 34vh;
    padding: 18px 10px;
  }
  .home-heading {
    font-size: clamp(10px, 3.5vw, 15px);
  }
  .hero-text {
    font-size: 15px;
  }
  .cta-btn-hero .btn {
    padding: 10px 12px;
    font-size: 14px;
  }
}

.cta-btn-hero {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px;
  white-space: nowrap;
}

.cta-btn {
  position: relative;
  bottom: -15px;
  right: 105%;
}

.btn {
  border-radius: 20px !important;
  border: none !important;
  background-color: var(--background-Font) !important;
  color: var(--main-Font-Color) !important;
  font-family: "Barlow", Roboto Slab, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 15px 30px !important;
  width: 200px !important;
  height: 75px !important;
}

.btn:hover {
  background-color: var(--hover-color) !important;
  color: var(--secondary-Background-Color) !important;
}

/*Homepage UI Cards*/

.homepage-ui-cards {
  background: var(--main-Font-Color);
  padding: 0 20px;
  text-align: center !important;
}

.homepage-ui-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--main-Font-Color);
  font-family: "Barlow", Roboto Slab, serif;
  max-width: 300px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 12px;
}

.homepage-ui-card-img img {
  max-width: 280px;
  border-radius: 10px;
  margin: 3px 0;
}

.homepage-ui-cards-heading {
  font-family: "Barlow", Roboto Slab, serif;
  color: var(--background-Font);
  font-size: 20px;
}

.homepage-ui-cards-description {
  color: var(--background-Font);
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 400;
  font-size: 18px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5rem;
  text-align: center !important;
}

/*Homepage About Section*/

.homepage-about {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5%;
  padding: 60px 80px;
  font-family: "Barlow", Roboto Slab, serif;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img,
.about-txt {
  flex: 1 1 50%;
}

.about-img img {
  width: 100%;
  height: 550px;
  object-fit: contain;
  display: block;
}

.about-heading {
  font-family: "Rock Salt", Barlow, Roboto Slab, serif;
  font-size: 28px;
  text-align: center;
  color: var(--main-Font-Color);
  display: none;
  margin-bottom: 25px;
}

.about-text {
  border: 7px dashed var(--main-Font-Color);
  padding: 28px;
  color: var(--secondary-text-color);
  font-family: "Barlow", Roboto Slab, serif;
  font-size: 18px;
  line-height: 1.6rem;
  border-radius: 8px;
  background-color: var(--secondary-Background-Color);
  text-align: justify;
}

@media (max-width: 992px) {
  .homepage-hero {
    min-height: 48vh;
    padding: 36px 20px;
  }

  .home-heading,
  .banner-heading {
    font-size: 45px;
  }

  .homepage-ui-cards-container {
    width: 100% !important;
    max-width: 720px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .cta-btn {
    position: relative !important;
    display: block !important;
    left: 0 !important;
  }

  .homepage-about {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 40px;
  }

  .about-img img {
    display: none;
  }

  .about-heading {
    display: block;
  }

  .about-text {
    width: 90%;
    max-width: 700px;
    margin: 20px auto !important;
    font-size: 17px;
    line-height: 1.7rem;
  }
}

@media (max-width: 576px) {
  .homepage-about {
    padding: 30px 18px;
  }

  .about-img img {
    width: 100%;
    height: auto;
  }

  .about-text {
    width: 100%;
    font-size: 16px;
    padding: 22px;
    line-height: 1.6rem;
    border-width: 5px;
  }
}

/*Why Us Section*/

.why-us-heading {
  font-family: "Barlow", Roboto Slab, serif;
  font-size: 50px;
  color: var(--secondary-text-color) !important;
}

.why-us-heading-edit-1,
.why-us-heading-edit-2 {
  font-size: 50px;
  color: var(--main-Font-Color);
}
.why-us-heading-edit-2 {
  font-family: "Rock Salt", serif;
}

.why-us-subheading {
  font-family: "Rock Salt", serif !important;
  font-size: 38px !important;
  padding: 0 40px !important;
  color: var(--main-Font-Color) !important;
}

.why-us-text {
  color: var(--secondary-text-color) !important;
  font-family: "Barlow", Roboto Slab, serif !important;
  font-weight: 500;
  padding: 35px !important;
  line-height: 1.8;
  text-align: center !important;
}

/* Why-us Image Grid Section*/

.all-packages-container,
.why-us-wrapper, .contact-container{
  overflow-x: hidden;
}

.image-grid.wrapper {
  display: flex;
  justify-content: center; /* centers the grid */
  gap: 40px;
  max-width: 1320px;
  padding: 25px;
}

.service {
  width: 220px;
  height: 340px;
  border-radius: 12px;
  border: 1px solid var(--main-Font-Color);
  overflow: hidden; /* ensures image doesn't spill */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10px;
  background: var(--secondary-Background-Color);
}

.service-img {
  width: 100%;
  height: 280px;
  object-fit: cover; /* crops image while keeping aspect */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: block;
}

.service-title {
  font-family: "Barlow", Roboto Slab, serif;
  color: var(--main-Font-Color);
  padding: 10px;
}

.service-text {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 992px) {
  .why-us-subheading {
    text-align: center;
  }

  .image-grid.wrapper {
    flex-wrap: wrap; /* allow wrapping into new lines */
    justify-content: center; /* keep everything centered horizontally */
    gap: 20px; /* slightly smaller gap for tablets */
  }

  .service {
    width: 45%; /* 2 per row on medium screens */
    margin: 0 auto; /* center each card block */
  }
}

@media (max-width: 768px) {
  .why-us-subheading {
    text-align: center;
  }

  .why-us-img {
    display: block;
    width: 300px;
    margin: 20px auto;
  }
}

@media (max-width: 576px) {
  .image-grid.wrapper {
    flex-direction: column; /* stack vertically */
    align-items: center; /* center all cards */
    gap: 24px; /* equal spacing */
  }

  .service {
    width: 90%; /* full width but nicely contained */
    max-width: 300px; /* keeps consistent size */
  }

  .review-btn-container {
    text-align: center; /* centers button under the stacked cards */
  }

  .review-btn {
    margin: 0 auto; /* centers button itself */
    display: inline-block;
  }

  .why-us-heading-edit-2,
  .why-us-heading-edit-1,
  .why-us-heading {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .why-us-subheading {
    text-align: center;
    font-size: 27px;
  }

  .why-us-img {
    display: block;
    width: 210px;
    margin: 20px auto;
  }
}

/*Packages Section*/

.packages-heading {
  justify-content: space-between;
  color: var(--main-Font-Color);
  font-family: "Rock Salt", roboto slab, serif;
  font-size: 42px;
  text-align: center !important;
  margin-top: 4.5rem;
  margin-bottom: 4rem;
  line-height: 1.5rem;
}

.packages-header-img img {
  display: flex;
  justify-content: space-between;
  height: 400px;
  max-width: 415px;
  margin: 4rem;
  border-radius: 0 110px 110px 110px;
}

.packages-header-description {
  color: var(--secondary-text-color);
  justify-content: space-between;
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 450;
  font-size: 18px;
  text-align: center !important;
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7rem;
  padding: 13px;
}

.packages-subtitle {
  color: var(--main-Font-Color) !important;
  font-family: "Barlow", Roboto Slab, serif !important;
  font-size: 40px;
  text-align: center !important;
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5rem;
}

strong {
  font-family: "Rock Salt", roboto slab, serif;
  font-size: 28px;
  font-weight: 150 !important;
  color: var(--main-Font-Color);
}

/* --- Tablet: <= 992px --- */
@media (max-width: 992px) {
  .packages-heading {
    font-size: 36px;
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
  }

  /* soften image margins & scale down */
  .packages-header-img img,
  img.packages-header-img {
    max-width: 360px;
    margin: 3rem auto;
    border-radius: 0 90px 90px 90px;
  }

  .packages-header-description {
    font-size: 17px;
    padding: 12px;
  }

  .packages-subtitle {
    font-size: 34px;
    margin: 1rem 12px;
  }
}

@media (min-width: 768px) {
  .packages-heading {
    font-size: 25px;
  }
}

/* Mobile/small phones: <= 768px */
@media (max-width: 768px) {
  .packages-header-container .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Make each column full width so they stack vertically */
  .packages-header-container .col-md-6 {
    width: 100%;
    max-width: 720px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  /* Put image on top and center it */
  .packages-header-img {
    order: -1; /* image first */
    max-width: 350px; /* smaller on phones */
    width: 100%;
    margin: 1.25rem auto 0;
    border-radius: 0 90px 90px 90px; /* gentler radius for small screens */
  }

  /* Center and reduce heading size & weight */
  .packages-heading {
    font-size: 28px;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    padding: 0 8px;
  }

  /* Subheading / paragraph smaller and lighter */
  .packages-header-description {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    margin: 0.75rem auto 1.25rem;
    padding: 8px 10px;
  }

  /* Subtitle smaller and centered */
  .packages-subtitle {
    font-size: 22px;
    margin: 12px 8px;
    text-align: center;
  }

  /* Strong tags scaled down */
  .packages-header-description strong,
  .packages-header-container strong {
    font-size: 18px;
    display: inline-block;
    margin-bottom: 6px;
  }
}

/* Extra small phones <= 420px */
@media (max-width: 420px) {
  .packages-heading {
    font-size: 22px;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
  }

  .packages-header-img img,
  img.packages-header-img {
    width: 85%;
    max-width: 280px;
    margin: 0.9rem auto;
    border-radius: 0 80px 80px 80px;
  }

  .packages-header-description {
    font-size: 14px;
    padding: 8px;
    line-height: 1.45;
  }

  .packages-subtitle {
    font-size: 20px;
    margin: 10px 6px;
  }
}

/*packages card section*/

.packages-card-container {
  background-color: var(--main-Font-Color);
  padding: 50px 0;
}

.school-packages-card-container,
.group-packages-card-container,
.solo-packages-card-container {
  padding: 0 30px 0 30px;
}

.card {
  border: 2px solid var(--secondary-Color) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8) !important;
}
.card-img-top {
  height: 520px;
  object-fit: cover;
}

.card-title {
  font-family: "Rock Salt", Roboto Slab, serif;
  margin: 6px;
  color: var(--main-Font-Color) !important;
}

.card-text {
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 450;
  color: var(--secondary-text-color) !important;
  line-height: 1.5;
}

.card-price {
  color: var(--main-Font-Color) !important;
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 700 !important;
  text-align-last: right;
}

.btn-primary,
.btn-canvas {
  width: 100% !important;
  height: 75px !important;
  padding: 15px 30px !important;
  margin-bottom: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 18px !important;
  background-color: var(--main-Font-Color) !important;
  color: var(--secondary-Background-Color) !important;
  font-size: 22px !important;
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-canvas,
  .faq-btn,
  .review-btn {
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 100% !important;
    max-width: 320px !important;
  }

  .pack-btn {
    font-size: 28px !important;
  }
}

/*Promotions Section*/

.header-card {
  margin: 15px !important;
}

.uae-promo,
.title {
  font-family: "Barlow", Roboto Slab, serif;
  color: var(--secondary-Background-Color);
  font-style: italic;
  font-weight: 300;
}

.promo-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--hover-color),
    var(--secondary-Color)
  );
}

.uae-promo .promo-card {
  height: 85%;
  padding: 20px;
  cursor: pointer;
}

.promo-card:hover {
  color: var(--hover-color) !important;
}

.description {
  background: #00707262;
  margin-top: auto;
  margin-left: auto;
  margin-right: 0;
  padding: 3px 20px;
  border-radius: 99px 0 0 99px;
}

/*packages-info section*/

.canvas {
  background-color: var(--main-Font-Color);
}

.btn-canvas {
  background-color: var(--secondary-Background-Color) !important;
  color: var(--main-Font-Color) !important;
}

.pack-img {
  width: 100% !important;
  height: 500px !important;
  object-fit: cover !important;
  border-radius: 0 110px 0 110px !important;
}

.img-canvas {
  border-radius: 110px 0 110px 0 !important;
}

.pack-title,
.pack-text,
ul {
  color: var(--secondary-text-color) !important;
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 500;
  line-height: 1.5;
}

.price,
.price-1 {
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: var(--secondary-Background-Color) !important;
}

.price-1 {
  color: var(--main-Font-Color) !important;
}

.bs-light {
  color: var(--secondary-Background-Color) !important;
}

@media (max-width: 992px) {
  .packages-info-container .pack-img {
    max-height: 440px !important;
    height: auto !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .packages-info-container .pack-title {
    font-size: 22px !important;
  }
  .packages-info-container .pack-text {
    font-size: 15px !important;
  }
  .packages-info-container ul {
    margin-left: 20px !important;
  }
}

@media (max-width: 768px) {
  /* stack the two columns vertically and center content */
  .packages-info-container .row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* force image column to appear first (image on top) */
  .packages-info-container .row > .col-md-5:first-child {
    order: 2 !important; /* text column becomes second */
  }
  .packages-info-container .row > .col-md-5:last-child {
    order: 1 !important; /* image becomes first */
  }

  .packages-info-container .pack-img {
    width: 92% !important;
    height: auto !important;
    max-height: 340px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    display: block !important;
    margin: 6px auto !important;
  }

  .packages-info-container .pack-title {
    font-size: 20px !important;
    margin-top: 6px !important;
  }
  .packages-info-container .pack-text {
    font-size: 15px !important;
  }
  .packages-info-container ul,
  p {
    margin-left: 18px !important;
    margin-right: 18px !important;
    text-align: left !important;
    max-width: 720px !important;
  }

  .packages-info-container .pack-btn {
    width: 92% !important;
    max-width: 420px !important;
    margin: 12px auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  .packages-info-container .btn-canvas,
  .packages-info-container .btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .packages-info-container .pack-btn {
    margin-bottom: 25px !important;
  }
}

@media (max-width: 420px) {
  .packages-info-container .pack-img {
    display: none !important; /* sacrifices image on smallest devices for clarity */
  }

  .packages-info-container .pack-title {
    font-size: 18px !important;
  }
  .packages-info-container .pack-text {
    font-size: 14px !important;
  }
  .packages-info-container ul {
    margin-left: 14px !important;
    margin-right: 14px !important;
    font-size: 14px !important;
  }

  .packages-info-container .pack-btn {
    width: 96% !important;
    margin: 10px auto !important;
  }

  .packages-info-container .btn-canvas,
  .packages-info-container .btn {
    padding: 10px 12px !important;
    font-size: 15px !important;
  }
}

/* Safety overrides - ensure layout is not affected by floats/positioning */
.packages-info-container .col-md-5 {
  float: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}
.packages-info-container .row {
  gap: 16px !important;
}

/*Gallery Section*/

.gallery-heading {
  font-family: "Rock Salt", Roboto Slab, serif !important;
  font-size: 28px !important;
  background: var(--main-Font-Color) !important;
  color: var(--secondary-Background-Color) !important;
  text-align: center !important;
  height: 100px;
  margin: 30px 0 30px 0;
  padding: 32px;
  letter-spacing: 2.1px !important;
}

.gallery-container {
  position: relative;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.gallery {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  transition: opacity 0.4s ease-in-out;
  scrollbar-width: none; /* hide scrollbar Firefox */
}

.gallery img {
  width: 400px;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 5;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/*Gallery --- Destination Highlights Section Grid*/

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 15px auto;
  padding: 0 8px 0 8px;
}

.grid-container img {
  width: 100%;
  height: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.grid-container img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-heading {
    font-size: 20px !important;
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.arrow.left {
  left: 10px;
}
.arrow.right {
  right: 10px;
}

@media (max-width: 768px) {
  .gallery-heading {
    font-size: 20px !important;
  }
}

/*Reviews Section*/

.review-heading {
  font-family: "Barlow", Roboto Slab, serif;
  color: var(--main-Font-Color);
  margin: 18px auto;
  padding: 20px;
}

.reviews-container {
  justify-content: center; /* centers the group */
  gap: 20px; /* spacing between cards */
  flex-wrap: wrap;
  margin: 15px;
}

.review-description {
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 450;
  margin: 15px 0;
  flex-grow: 1; /* ensures all descriptions stretch equally */
  display: flex;
  align-items: flex-start; /* keep text at top */
  font-size: 15px;
}

.review-card {
  background-color: var(--main-Font-Color);
  color: var(--secondary-Background-Color);
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  flex: 1 1 300px; /* makes cards flexible */
  max-width: 350px; /* consistent width */
  display: flex;
  flex-direction: column; /* stack content vertically */
  justify-content: space-between; /* push reviewer to bottom */
}

.rating {
  margin: 3px;
}

.reviewer {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.review-img {
  width: 50px;
  height: 50px; /* force same height */
  object-fit: cover; /* keeps proportions, crops excess */
  display: block;
  border-radius: 50%;
}

.reviewer-name {
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 450;
  padding-left: 10px;
}

.review-btn,
.faq-btn {
  width: 200px !important;
  height: 75px !important;
  padding: 15px 30px !important;
  margin-bottom: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.review-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
  text-align: center;
}

/*FAQ Section*/

.FAQ-heading {
  color: var(--main-Font-Color);
  font-family: "Barlow", Roboto Slab, serif;
  font-size: 42px;
}

.faq-description {
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 500;
  color: var(--secondary-text-color);
  font-size: 15px;
  line-height: 1.8;
}

.faq-btn {
  width: 30% !important;
}

.faq-section {
  max-width: 800px;
  margin: auto;
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 500;
  color: var(--secondary-Color) !important;
}

.faq-category {
  margin-bottom: 28px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--main-Font-Color);
  color: var(--secondary-Background-Color);
  border: none;
  border-radius: 15px;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-question:hover {
  background: var(--hover-color);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.4s ease,
    transform 0.4s ease;
  transform: translateY(-5px);
  color: var(--secondary-Color);
}

.faq-item,
.active .faq-answer {
  max-height: 400px; /* adjust depending on content */
  padding: 22px;
  opacity: 1;
  transform: translateY(0);
  font-size: 1rem;
}

.faq-item.active .icon {
  content: "-";
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .faq-question .icon {
    font-size: 25px;
    transition: transform 0.3s ease;
  }

  .faq-answer,
  .faq-description {
    font-size: 20px;
    padding: 0 15px;
  }
}

/*Contact Section*/

.contactpage-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  height: auto;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contactpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.144), rgba(0, 0, 0, 0));
  z-index: -1;
}

.contact-heading {
  position: relative;
  z-index: 2;
  margin: 0 12px 0.6rem;
  color: var(--background-Font);
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 800;
  font-size: clamp(22px, 4.8vw, 70px); /* scales between 22px and 70px */
  text-align: center;
  padding: 8px 10px;
}

.contact-banner {
  position: absolute;
  inset: 0;
  background-image: url("/media/hero-contact-img.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -2;
  will-change: transform;
}

/* Desktop tweaks to keep tall hero if you prefer */
@media (min-width: 1200px) {
  .contactpage-hero {
    min-height: 70vh;
  }
}

/* Tablet: keep hero compact and center content */
@media (max-width: 992px) {
  .contactpage-hero {
    min-height: 60vh;
    padding: 48px 18px;
  }
  .contact-heading {
    font-size: clamp(35px, 9.6vw, 50px);
  }
}

/* Mobile: stack, smaller heading, buttons full width if needed */
@media (max-width: 768px) {
  .contactpage-hero {
    min-height: 40vh;
    padding: 28px 12px;
  }
  .contact-heading {
    font-size: clamp(25px, 9.5vw, 30px);
    font-weight: 700;
    padding: 4px 8px;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .contactpage-hero {
    min-height: 34vh;
    padding: 18px 10px;
  }
  .contact-heading {
    font-size: clamp(20px, 8.5vw, 25px);
  }
}

.contact-us-subheading {
  font-family: "Barlow", Roboto Slab, serif;
  font-size: 35px;
  margin-bottom: 20px;
  color: var(--secondary-text-color);
}

.contact-us-text,
.contact-number,
.contact-mail {
  font-family: "Barlow", Roboto Slab, serif;
  color: var(--secondary-text-color);
  font-weight: 330;
  line-height: 1.5;
  font-size: 22px;
  text-align: center !important;
}

.contact-text-edit {
  font-family: "Rock Salt", Roboto Slab, serif;
  color: var(--main-Font-Color);
  font: size 25px;
  line-height: 2;
}

.mail-1,
.logo-1 {
  font-size: 8rem;
  color: var(--main-Font-Color);
}

.socials-wrapper {
  text-align: center;
  margin-top: 10px;
  font-size: 5rem;
}

.email-link,
.whatsapp-link,
.socials-wrapper a {
  text-decoration: none;
}

.bx {
  color: var(--main-Font-Color);
}

.bx:hover {
  color: var(--hover-color);
}

.google-1:hover {
  color: var(--hover-color) !important;
}

.dots:hover {
  color: var(--hover-color) !important;
}

.email-link,
.whatsapp-link {
  color: var(--secondary-text-color);
}

.email-link:hover {
  color: var(--hover-color);
}

.contact-number:hover {
  color: var(--hover-color);
}

.whatsapp-link:hover {
  color: var(--hover-color);
}

h4 {
  font-family: "Barlow", Roboto Slab, serif;
  color: var(--secondary-text-color);
}

/*More Destinations Section*/

* {
  padding: 0;
  box-sizing: border-box;
}

.banner-destinations-container {
  position: relative;
  width: 100%;
  min-height: 70vh;
  height: auto;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-banner {
  position: absolute;
  inset: 0;
  background-image: url("/media/hero-img.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -2;
  will-change: transform;
}

/* Slight dark overlay to improve text contrast */
.banner-destinations-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.18)
  ); /* adjust opacity if needed */
  z-index: -1;
}

/* Heading and subheading stacking and sizing (responsive) */
.banner-heading {
  position: relative;
  z-index: 2;
  margin: 0 12px 0.6rem;
  color: var(--background-Font);
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 800;
  font-size: clamp(22px, 4.8vw, 70px); /* scales between 22px and 70px */
  text-align: center;
  padding: 8px 10px;
}

.destinations-banner {
  position: absolute;
  inset: 0;
  background-image: url("/media/other\ destinations\ banner\ img.jpg")!important;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -2;
  will-change: transform;
}

.flipcard-title {
  font-family: "Barlow", Roboto Slab, serif !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  text-align: center !important;
}

.flipcard-description {
  font-size: 1rem !important;
  color: var(--secondary-text-color);
  margin-bottom: 20px !important;
  line-height: 1.3 !important;
}

/* Desktop tweaks to keep tall hero if you prefer */
@media (min-width: 1200px) {
  .banner-destinations-container {
    min-height: 70vh;
  }
}

/* Tablet: keep hero compact and center content */
@media (max-width: 992px) {
  .banner-destinations-container {
    min-height: 60vh;
    padding: 48px 18px;
  }
  .banner-heading {
    font-size: clamp(35px, 9.6vw, 50px);
  }
}

/* Mobile: stack, smaller heading, buttons full width if needed */
@media (max-width: 768px) {
  .banner-destinations-container {
    min-height: 40vh;
    padding: 28px 12px;
  }
  .banner-heading {
    font-size: clamp(30px, 8.9vw, 35px);
    font-weight: 700;
    padding: 4px 8px;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .banner-destinations-container {
    min-height: 34vh;
    padding: 18px 10px;
  }
  .banner-heading {
    font-size: clamp(18px, 8.5vw, 25px);
  }
}

.headings {
  font-family: "Rock Salt", roboto slab, serif;
  font-size: 13px;
  font-weight: 150 !important;
  color: var(--main-Font-Color);
}

/* Destination card component - two columns with no gap */
.dest-card {
  display: flex;
  gap: 0; /* explicitly no gap */
  width: 100%;
  max-width: 1200px; /* optional container cap; change to match your layout */
  margin: 40px auto; /* center block with vertical spacing */
  box-sizing: border-box;
  align-items: stretch;
  overflow: hidden; /* prevents children from leaking outside */
  background: transparent;
  border-radius: 50px;
}

/* Left: image area implemented as background so it always covers */
.dest-media {
  flex: 1 1 50%;
  min-width: 40%; /* on very narrow screens, this helps layout before stacking */
  height: 500px; /* desktop visual height - adjust as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: block;
  box-sizing: border-box;
}

/* Overlay text on the image */
.dest-overlay {
  position: absolute;
  left: 6%;
  bottom: 6%;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.28));
  padding: 18px 20px;
  border-radius: 8px;
  max-width: 72%;
  box-sizing: border-box;
}
.dest-overlay-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  line-height: 1.1;
}
.dest-overlay-sub {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
}

/* Right: details column */
.dest-details {
  flex: 1 1 30%;
  padding: 36px 40px;
  background-color: var(--secondary-Color);
  color: var(--secondary-text-color);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Headings & text */
.dest-title {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--hover-color);
}
.dest-lead {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 16px;
  color: var(--secondary-Background-Color);
}
.dest-includes {
  margin: 0 0 16px;
  padding-left: 1.15rem;
  line-height: 1.3;
  color: var(--secondary-Background-Color);
  text-align: left !important;
}

.dest-includes .headings {
  color: var(--hover-color);
}

/* Reverse layout: image on the right */
.dest-card.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 992px) {
  .dest-card {
    flex-direction: row; /* keep columns side-by-side */
    flex-wrap: nowrap; /* do not wrap into stacked layout */
    overflow-x: auto; /* allow horizontal scroll on very narrow viewports */
    -webkit-overflow-scrolling: touch;
    margin: 24px 12px; /* keep some page padding */
  }

  .dest-media {
    flex: 0 0 48%; /* left column ~48% width */
    height: 60vh; /* reduce visual height for small screens */
    min-width: 240px; /* ensure image remains visible and doesn't collapse */
  }

  .dest-details {
    flex: 0 0 52%; /* right column ~52% width */
    padding: 20px;
    min-width: 260px; /* ensure text area remains readable */
    text-align: left !important;
  }

  .dest-overlay {
    left: 8%;
    right: auto;
    bottom: 8%;
    max-width: 60%;
  }
}

/* very small phones: slightly smaller sizes but still side-by-side */
@media (max-width: 480px) {
  .dest-card {
    margin: 20px 15px;
  }
  .dest-media {
    flex-basis: 46%;
    min-width: 330px;
    height: 50vh;
  }
  .dest-details {
    flex-basis: 54%;
    min-width: 220px;
    padding: 18px;
    text-align: left !important;
  }
  .dest-overlay {
    max-width: 85%;
    bottom: 9%;
  }
}

/*Footer Section*/
footer {
  background-color: var(--secondary-Color);
  color: var(--background-Font);
  font-family: "Barlow", Roboto Slab, serif;
  width: 100%;
  padding: 30px 0 0;
  margin-top: -1px !important;
}

/*black strip*/
.banner {
  width: 100%;
  padding: 30px;
  background-color: var(--secondary-text-color);
  color: var(--secondary-Background-Color);
  display: flex; /* centers content inside */
  align-items: center; /* vertical centering */
}

.footer-heading {
  font-family: "Rock Salt", serif;
  padding-top: 16px;
  text-align: center;
  line-height: 1.8;
}

.footer-contact-details {
  color: var(--background-Font) !important;
}

.footer-info {
  text-align: center;
  line-height: 1.3;
}

.footer-contact {
  margin: 10px;
}

.footer-contact-details {
  margin-bottom: 15px;
  line-height: 1.7;
}

.footer-nav li {
  list-style: none;
  font-family: "Barlow", Roboto Slab, serif;
  font-weight: 500;
  font-size: 20px;
}

.faq-link {
  text-decoration: none;
  color: var(--background-Font) !important;
}

.footer-copyright {
  margin: 0;
  padding: 10px 0;
  text-align: center;
  font-family: monospace;
  font-size: 14px;
  color: var(--secondary-Background-Color);
}

.contact-and-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

/* Footer/contact section padding increase */
@media (max-width: 600px) {
  .whatsapp-btn {
    width: 10px;
  }

  .whatsapp-btn:active .whatsapp-text {
    opacity: 1;
  }
}

@media (max-width: 992px) {
  footer .footer-container,
  .contact-us-text {
    padding: 30px 25px;
  }
}

@media (max-width: 720px) {
  footer .footer-container,
  .contact-us-text {
    padding: 28px 20px;
  }
}

@media (max-width: 420px) {
  footer .footer-container,
  .contact-us-text {
    padding: 25px 16px;
  }
}

/*Whatsapp Floating Icon*/
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Barlow", Roboto Slab, serif;
}

/* Main button */
.whatsapp-btn {
  background-color: var(--main-Font-Color);
  color: var(--secondary-Background-Color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: width 0.3s ease, transform 0.3s, box-shadow 0.3s;
  width: 60px; /* default width = just icon */
}

/* Icon */
.whatsapp-btn i {
  font-size: 2rem;
  padding: 15px;
}

/* Text container (hidden by default) */
.whatsapp-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 15px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show text on hover */
.whatsapp-btn:hover,
.whatsapp-btn:focus {
  width: 200px; /* expanded width */
}

.whatsapp-btn:hover .whatsapp-text,
.whatsapp-btn:focus .whatsapp-text {
  opacity: 1;
}

/* Text style */
.whatsapp-text .title {
  font-weight: bold;
  font-size: 1rem;
}

.whatsapp-text .subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Hover animation */
.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Slide-in animation */
.whatsapp-widget {
  transform: translateY(100px);
  opacity: 0;
  animation: floatIn 0.5s forwards;
  animation-delay: 1s;
}

@keyframes floatIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*More destinations image slider */

.overlay-slider {
  --accent: #007072;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 16px;
}

/* internal container gives margin around the big image */
.slider-inner {
  max-width: 1100px;
  margin: 15px auto;
  position: relative;
  box-sizing: border-box;
}

/* viewport holds slide track, keeps main image full-width inside max width */
.slides-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: var(--secondary-text-color);
  position: relative;
}

/* track is horizontal sliding row */
.slides-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* each slide is full width */
.slide {
  min-width: 100%;
  position: relative;
  height: 64vh; /* visible height (responsive below) */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* main image fills slide */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1) contrast(1);
}

/* overlay card for text on image */
.slide-content {
  position: absolute;
  z-index: 2;
  left: 6%;
  bottom: 8%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42));
  color: var(--white);
  font-family: "Barlow", Roboto Slab, serif;
  padding: 22px;
  border-radius: 8px;
  max-width: 525px;
  box-sizing: border-box;
}
.slide-content h2 {
  margin: 0 0 6px;
  font-size: 1.5rem !important;
}
.slide-content p {
  margin: 6px 0;
  line-height: 1.2;
  font-size: 1rem !important;
}
.slide-cta {
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--main-Font-Color);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
}

.thumbs-overlay {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center; /* center the thumbs-track horizontally */
  margin-top: 18px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: auto;
}

.thumbs-track {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  max-width: 1100px;
  width: calc(100% - 40px);
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: center;
  box-shadow: none;
  background: transparent;
  margin-left: auto;
  margin-right: auto;
}

.thumb {
  scroll-snap-align: center;
  flex: 0 0 auto;
  min-width: 72px;
  width: 92px;
  height: 128px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease-in-out;
}

.thumb.active {
  width: 220px;
  height: 160px;
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-6px);
}

/* Controls below slider */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.slider-btn {
  background: var(--main-Font-Color);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.slider-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

@media (max-width: 1100px) {
  .thumb {
    width: 82px;
    height: 112px;
  }

  .thumb.active {
    width: 180px;
    height: 140px;
  }

  .thumbs-track {
    gap: 10px;
  }

  .thumbs-overlay {
    right: -100px;
  }
  .slide {
    height: 56vh;
  }
}

@media (max-width: 768px) {
  .slide {
    height: 90vh;
  }
  .slide-content p {
    font-size: 20px;
  }

  .thumbs-overlay {
    position: relative;
    right: auto;
    transform: none;
    top: auto;
    margin-top: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .thumbs-track {
    flex-direction: row;
    gap: 10px;
    padding: 8px 6px;
    background: transparent;
    box-shadow: none;
    width: calc(100% - 24px);
  }

  .thumb {
    width: 72px;
    height: 92px;
    transition: transform 0.2s;
  }
  .thumb.active {
    width: 120px;
    height: 100px;
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  }
  .slide-content {
    left: 50%;
    transform: translateX(-50%);
    bottom: 6%;
    width: 92%;
    text-align: center;
  }
  .slider-inner {
    padding: 0 8px;
  }
}


