:root {
  --font: "Janna LT", "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-en: "Poppins";
  --primary-color: #05377E;
  --darker-primary-color: #042552;
  --secondary-color: #222222;
  --whatsApp-color: #29a71a;
  --offWhite-color: #e0f6ff;
  --text-color: #212121;
  --transition: 0.3s all ease;
  --shadow: 0 0px 10px rgba(0, 0, 0, 0.35);
  --image-filter: invert(16%) sepia(87%) saturate(5181%) hue-rotate(206deg) brightness(88%) contrast(93%);


}

@font-face {
  font-family: "Janna LT";
  src: url("../fonts/Janna-LT-Regular.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}



/* !EN */
body[dir="ltr"] {
  *:not(i) {
    font-family: var(--font-en), sans-serif;
  }

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.25;
  }



  #lang_changer .langs {
    font-size: 1.125rem;
  }

  /*
  .heroIntro {
    font-size: Clamp(2rem, calc(3vw + 1rem), 4rem);
  } */

  input,
  textarea {
    direction: ltr;
  }

  ::placeholder {
    transform-origin: left;
  }

  .headerIntro {
    text-wrap: balance;
  }

  .whatsApp {
    padding-block: 0.5rem !important;
  }

  @media (max-width: 480px) {
    #lang_changer {
      left: -30px;
    }
  }
}

/* !INTRO */
.intro {
  font-size: 3rem;
  font-weight: bold;
  color: var(--secondary-color);
  width: fit-content;
  margin: auto;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 3rem;
  padding-inline: 1rem;
}

nav {
  position: absolute;
  z-index: 999;
  display: flex;
  flex-direction: column;
  left: 0;
  width: 100%;
  right: 0;
  direction: ltr;
  top: 1rem;
  margin: auto;
  justify-content: space-between;
  background-color: transparent;
  /* box-shadow: var(--shadow); */
  color: white;
  max-height: fit-content;
}

nav .container {
  display: flex;
  align-items: center;
  /* padding-block: 1rem; */
  border-radius: 1.5rem;
  gap: 1rem;
  position: relative;
  justify-content: space-between;
}

#navigation_dropdown {
  position: absolute;
  left: 0;
  display: none;
  width: 90%;
  max-width: 720px;
  transform: translateY(70px);
  top: 10px;
  max-height: 100vh;

  transition: all 700ms linear(0,
      0.012 0.9%,
      0.05 2%,
      0.411 9.2%,
      0.517 11.8%,
      0.611 14.6%,
      0.694 17.7%,
      0.765 21.1%,
      0.824 24.8%,
      0.872 28.9%,
      0.91 33.4%,
      0.939 38.4%,
      0.977 50.9%,
      0.994 68.4%,
      1);
  transform-origin: bottom;
  overflow: hidden;
  interpolate-size: allow-keywords;
  margin: auto;
  right: 0;
  height: 0;

  z-index: -1;

  .main_Links {
    gap: 1.5rem !important;
  }
}

#navigation_dropdown.show_dropdown {
  height: auto;
}

#navigation_dropdown .container {
  background-color: var(--primary-color);
  box-shadow: 0 10px 10px -8px rgba(0, 0, 0, 0.5);
  color: black;
  width: 100%;
  padding-bottom: 2rem !important;
  padding-top: 3rem !important;

  justify-content: center;

  .main_Links {
    flex-direction: column;
    width: 100%;
    overflow-y: auto;
    flex-wrap: nowrap;
    max-height: 550px;
    overscroll-behavior: contain;
  }

  .main_Links::-webkit-scrollbar-thumb {
    background-color: white;
  }

  .main_Links::-webkit-scrollbar-track {
    background-color: var(--darker-primary-color);
  }

  li:hover {
    a {
      color: var(--secondary-color);
    }
  }

  a {
    color: white;
  }
}

nav .logo {
  width: fit-content;
  height: 100%;
  padding-block: 4px;
  object-fit: contain;
}

nav ul,
.main_Links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 0.9rem;
  max-height: fit-content;
}

nav li,
.contact {
  font-size: 0.9rem;
  font-weight: bold;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase !important;
  align-items: center;
  color: white;

  a {
    color: white;
    display: flex;
    text-transform: uppercase !important;

    align-items: center;
    gap: 0.25rem;
  }

  svg {
    width: 14px;
  }
}


nav .contact {
  color: var(--primary-color);
  background-color: white;

  /* min-width: 215px; */
  &:hover {
    background: var(--primary-color);
    color: white;
  }
}

nav li:hover {
  color: var(--primary-color);

  a {
    color: var(--primary-color);

  }
}


#navigation_dropdown li:hover {
  color: var(--secondary-color);

  a {
    color: var(--secondary-color);
  }
}

#menu {
  font-size: 1.5rem;
  display: none;
}


figure:has(a.active) {
  border: 0 !important;

  a.active {
    border-radius: 0;
  }
}

aside figure.active {
  background-color: var(--primary-color);
  color: white;

  a,
  button {
    color: white !important;
  }
}

nav button {
  padding-inline: 1.5rem !important;
}

.contact {
  background: var(--primary-color);
  padding: 0.75rem 2rem;
  width: 99%;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: fit-content;
  font-size: 0.9rem;
  border-radius: 0.9rem;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.075);
  text-transform: uppercase;



  &:hover {
    background-color: var(--secondary-color);

  }
}


.contact.active {
  background-color: var(--secondary-color) !important;
  color: white;
}

li#lang {
  position: relative;
}

#lang_changer,
.navDropDown {
  position: absolute;
  z-index: 100;
  left: 0;
  top: 50px;
  transition: var(--transition);
  border-radius: 8px;
  width: 200px;
  text-wrap: balance;
  background-color: white;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: black;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  will-change: opacity, transform;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  overflow: hidden;
}

#active_lang img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


.navDropDown.show_dropdown {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  margin-top: 0px !important;
  transform: translateY(0);
}

.navDropDown>a {
  border: 0;
}


.aboutUsOption {
  padding: 0 !important;
  border-bottom: 0;

  a {
    border: 0;
  }
}

li:has(.menuDropDown).active {
  a {
    color: black !important;
  }
}

li:has(.menuDropDown).active a.active {
  color: white !important;
}


li:has(.menuDropDown).active a:hover {
  color: white !important;
}

li:has(> figure.menuDropDownHolder) {
  gap: 0 !important;
}

figure.menuDropDownHolder:not(:has(> a)) {
  padding-left: 1rem;

  &:hover {
    color: white;
  }

}

.navDropDownHolder.active a.active {
  background: linear-gradient(90deg, var(--primary-color)), var(--darker-primary-color);
  /* color: white; */
}


.navDropDownHolder {
  position: relative;
  padding-block: 1rem;
  text-transform: uppercase;
}


li.navDropDownHolder.active a:not(.active),
li.active>a {
  color: black !important;
}

li.navDropDownHolder.active a.active {
  background: linear-gradient(90deg, var(--primary-color)), var(--darker-primary-color);
  color: white;
}

.navDropDown a.active,
.sideMenuDropDown a.active {
  background: linear-gradient(90deg, var(--primary-color)), var(--darker-primary-color);
  color: white !important;
}


.hide_lang_changer {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

#lang_changer .langs,
.navDropDown a,
.navDropDown figure {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.75rem;
  transition: var(--transition);
  width: 100%;
  border-radius: inherit;
  color: black;

  &:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  &:hover {
    background: linear-gradient(90deg,
        var(--primary-color),
        var(--darker-primary-color));
    color: white !important;
  }
}

.langs img {
  width: 30px;
  object-fit: contain;
  height: auto;
}


.navDropDown {
  min-width: 190px;
  right: 0;
  font-weight: 500;
}

.navDropDown figure svg {
  rotate: -90deg;
}

li:has(.menuDropDown) {
  flex-direction: column;
  gap: 0;

  &:hover {
    a {
      color: white !important;
    }
  }
}


#aboutUsDropDown {
  transform: translateX(-50%);
}

#aboutUsDropDown,
#holylandDropdown,
.dropInsideDrop,
#whyAtlasDropdown {
  overflow: visible !important;
  min-height: 100vh;
  margin-top: 20px;
  background-color: transparent !important;
  box-shadow: none;
  border: none;

  figure,
  a {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.025);
    border-radius: 0;
  }

  figure:last-child,
  figure:last-child a {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;

  }

  figure:first-child,
  figure:first-child a {
    border-top-right-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
  }
}


#holylandDropdown,
#whyAtlasDropdown {
  top: 0 !important;
  right: 100% !important;
  transform: translateX(100%);
}

.dropInsideDrop {
  transform: translateX(100%) !important;
  top: 0;
}

.sideMenuDropDown {
  flex-direction: column;
  display: flex;
  transition: all 500ms linear(0,
      0.012 0.9%,
      0.05 2%,
      0.411 9.2%,
      0.517 11.8%,
      0.611 14.6%,
      0.694 17.7%,
      0.765 21.1%,
      0.824 24.8%,
      0.872 28.9%,
      0.91 33.4%,
      0.939 38.4%,
      0.977 50.9%,
      0.994 68.4%,
      1);
  transform-origin: bottom;
  width: 100%;
  overflow: hidden;
  interpolate-size: allow-keywords;
  height: 0;
  display: flex;
  flex-direction: column;

  a,
  .sideDropInsideDrop {
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    scale: 0.9;
    transform-origin: top;
    color: var(--primary-color);
    justify-content: center;
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);

    &:last-child {
      border: none;
    }

    &:first-child {
      border: none;
      border-top: 1px solid rgba(0, 0, 0, 0.125);
      border-bottom: 1px solid rgba(0, 0, 0, 0.125);


    }

    &:hover {
      background-color: var(--primary-color);
      color: white;
    }
  }
}

.sideDropInsideDrop figure>a {
  border: 0 !important;
  font-size: 1.1rem;
  padding-left: 0 !important;

  &:hover {
    background: initial !important;
  }
}

.sideMenuDropDown div {
  text-transform: uppercase;
}

.sideMenuDropDown.show_dropdown {
  height: auto;
  margin-block: 0.5rem;

}


#allCountries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100% !important;
  min-width: max-content;
  left: -200%;
}

#aboutUsDropDown li {
  position: relative;
  isolation: isolate;
}

#aboutUsDropDown {
  display: flex;
  flex-direction: column;
}

/* .arrowDownUp {
  rotate: 180deg;
} */


#asideOverlay {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  inset: 0;
  margin: auto;
  overscroll-behavior: contain;
  z-index: 10000;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: 0.5s all ease;
}

#asideOverlay.show_overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  #sideLinks {
    transform: translateX(0);

  }
}

aside#sideLinks {
  background-color: white;
  height: 100%;
  width: 100%;
  overscroll-behavior: contain;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 350px;
  overscroll-behavior: contain;
  transition: 0.5s all ease;
  transform: translateX(-100%);

  ul {
    height: 100%;

    li {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      align-items: start;
      flex-direction: column;
      color: var(--primary-color);
      transition: var(--transition);
      border-bottom: 1px solid rgba(0, 0, 0, 0.125);

      &:last-child {
        border-bottom: 0;
      }

      figure {
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: var(--transition);
        width: 100%;

        &:hover {
          background-color: var(--primary-color);

          button,
          a {
            color: white;

          }
        }
      }

      a {
        color: var(--primary-color);
        padding: 1rem;

        &:hover {
          color: white;
        }
      }

      a,
      figure {
        text-transform: uppercase;
      }


    }

  }

  li:not(:has(figure)).active {
    background-color: var(--primary-color);
    color: white;

    a,
    button {
      color: white !important;
    }

  }


  li:has(figure).active figure {
    background-color: var(--primary-color);
    color: white;

    a,
    button {
      color: white;
    }

  }

  button {
    background-color: transparent;
    color: black;
    font-size: 1.25rem;
    padding: 1rem;
    color: var(--primary-color);
  }
}

#sideLinks li:not(:has(figure)) {
  a {
    width: 100%;
  }

  &:hover {
    background-color: var(--primary-color);

    a {
      color: white;
    }
  }
}

#aboutUsSideLinks figure {
  padding-left: 1rem;
}

#aboutUsSideLinks,
#sideJordan,
#sideToursAndService {
  gap: 0 !important;
}

li:has(.sideMenuDropDown).active a.active {
  background-color: var(--primary-color);
  color: white !important;
}

#aboutUsSideLinks figure:hover {
  color: white;
}

.sideDropInsideDrop:hover {
  background-color: white !important;
  color: var(--primary-color) !important;
}

.sideDropInsideDrop {
  padding: 0 !important;
}

.sideDropInsideDrop figure {
  cursor: auto;
  padding-left: 1rem;
}

.sideDropInsideDrop figure:hover {
  color: white;
}

#closeSidebar {
  background-color: rgb(231, 229, 229) !important;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
}

/* !HERO SECTION */

.mySwiper {
  flex-grow: 1;
}

.swiper-wrapper {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
}

.swiper-slide {
  height: auto;

  img {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  }
}

header {
  flex-grow: 1;
  display: flex;
  padding: 0;
  position: relative;
  justify-content: center;
  align-items: center;
}

header::after {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 80%, #f5f5f5);
  z-index: -1;
  left: 0;
  bottom: 0;
  content: "";
  position: absolute;
}

.heroSwiper {
  height: 100%;
  flex-grow: 1;

  .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1) !important;
  }

  .swiper-pagination {
    bottom: 1rem !important;
    scale: 1.25;
  }

  .swiper-pagination-bullet {
    opacity: 1 !important;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);

  }

}

header,
header .heroSwiper,
header .swiper-slide,
header .swiper-slide img {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ✅ Flattened out */
.heroSwiper .swiper-slide {
  height: 100% !important;
  width: 100% !important;
}

.heroSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-position: 8%;
  object-fit: cover;
}

.tours {
  padding-block: 0;

  .swiper-slide img {
    min-height: 350px;
  }
}


.swiper:not(.heroSwiper) {
  padding-bottom: 4rem;
  padding-top: 3rem;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  scale: 1.25;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

.heroOverlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  isolation: isolate;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% bottom;
  }
}




.whatsApp {
  position: fixed;
  bottom: 5.5rem;
  right: 3rem;
  color: white;
  font-size: 1.1rem;
  background-color: var(--whatsApp-color);
  padding-block: 0.25rem !important;
  padding-left: 1rem;
  padding-right: 2rem;
  z-index: 100;
  text-align: end;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  scale: 0;
  opacity: 0;
  animation: whatsApp 0.7s ease forwards;
  will-change: transform, opacity;

  &:hover {
    background-color: white;
    color: var(--whatsApp-color);
  }
}

.WhatsAppIcon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  right: 0;
  box-shadow: 6px 0px 10px -4px rgba(0, 0, 0, 0.3);
  top: 0;
  transform: translate(25px, -5px);
  background-color: inherit;
}

/* ! WHO WE SECTION */

section.whoWe .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  direction: ltr;
  column-gap: 4rem;
  row-gap: 2rem;

  article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 350px;
    text-wrap: balance;
    overflow: hidden;
    min-width: 300px;

    &:hover {
      img {
        scale: 1.25;
        filter: brightness(1.2);
      }
    }

    img {
      width: 100%;
      height: 100%;
      max-height: 450px;
      transition: 0.5s all ease;
      /* border-radius: 2rem; */
      aspect-ratio: 1;
      object-fit: cover;
    }

    h2 {
      font-size: 2rem;
      text-transform: uppercase;
      /* text-wrap: initial; */
    }
  }
}

.specialIntro {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
}

.whoWeImg {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
}

/* ! TOUR SECTION */
section.tours .intro {
  margin-bottom: 0px;
}

section.tours .container article,
section.tourCategories #allTours article,
.mightLikeProducts article {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  flex-direction: column;
  direction: ltr;
  gap: 0.5rem;
  position: relative;
  font-size: 1.5rem;
  max-height: 400px;
  border: 2px solid white;
  /* border-radius: 1.25rem; */
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    filter: brightness(1.1);
    object-fit: cover;
    transition: 0.5s all ease;
  }

  .tourDesc {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: start;
    justify-content: end;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    inset: 0;
    margin: auto;
    text-align: start;
    color: white;
    font-size: 0.9rem;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
  }

  .contact {
    width: 100%;
  }
}

section.tours .container article:hover,
section.tourCategories #allTours article:hover,
.mightLikeProducts article:hover {
  img {
    scale: 1.25;
    filter: brightness(1.25);
  }
}

.contact {
  min-width: 150px;
}




/* !Destinations */
section.destinations .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  column-gap: 2rem;
  row-gap: 1.5rem;
  justify-items: center;
}

.destinations .container a {
  /* border-radius: 2rem; */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 500px;
  max-height: 500px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s all ease;
  }

  &:hover {
    img {
      scale: 1.25;
      filter: brightness(1.1);
    }

    .destinationOverlay {
      scale: 1;
      clip-path: ellipse(100% 0% at 50% 0) !important;
    }
  }
}

.destinationOverlay {
  position: absolute;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent, rgba(0, 0, 0, 0.8));
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  border-radius: inherit;
  align-items: end;
  clip-path: ellipse(100% 120% at 50% 0);
  padding: 2rem 1rem;
  font-size: 1.5rem;
  bottom: 0;
  scale: 1.05;
  left: 0;
  transform-origin: bottom;
  overflow: hidden;
  transition: 0.35s all ease;
  margin: auto;
  color: white;

  h2 {
    text-transform: uppercase;
  }
}

/* ! MEMBERS */
section.members .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, max(100px, calc((100% / 9) - 1rem)));
  gap: 1rem;
  justify-content: center;

  article {
    /* border-radius: 1rem; */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.075);

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 1;
    }
  }
}

/* !FOOTER */
footer {
  background-color: var(--primary-color);
  direction: ltr;
  /* padding-block: 100px; */
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.copyright {
  text-align: center;
  color: white;
  font-weight: 300;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5rem;
  color: white;

  h3 {
    padding-bottom: 0.25rem;
    width: fit-content;
    text-transform: uppercase !important;

    border-radius: 2px;
    border-bottom: 4px solid white;
  }
}

footer .container article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto;
  height: 100%;
  max-width: 400px;

  img {
    width: 100%;
    height: 100%;
    /* max-width: 250px; */
    object-fit: contain;
  }
}

.contactIcon {
  min-width: 35px;
  min-height: 35px;
  color: var(--primary-color);
  background-color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: inherit;
}

footer .container article:has(img) {
  justify-content: center;
  align-items: center;
  text-align: center;

  button {
    width: 100%;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--primary-color);

    &:hover {
      color: white;
    }
  }
}

footer li:not(.socials) .contactIcon {
  font-size: 0.8rem;
  min-height: 24px;
  min-width: 24px;
}

footer .contactIcon {
  color: var(--primary-color);
  transition: inherit;
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-transform: none !important;
  width: 295px;

  p {
    font-weight: 300;
  }

  span {
    font-weight: bold;
  }
}

footer ul li {
  cursor: pointer;
  line-height: 1.5;
  font-weight: 400;
  max-width: fit-content;
  transition: var(--transition);
  font-size: 1rem;

  a {
    display: flex;
    align-items: center;
    font-weight: bold;
    max-width: fit-content;
    gap: 8px;
    color: white;
  }
}

.bullet {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
}

footer ul li:not(.socials):hover {
  a {
    color: var(--secondary-color);
  }

  .contactIcon {
    background-color: var(--secondary-color);
    color: white;
  }
}

.socials {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;

  .contactIcon:hover {
    background-color: var(--secondary-color);
    color: white;
  }
}

/* ! INNER PAGES HERO*/

main:not(.innerPage) header
{
  .swiper-slide{
    display: flex;
    flex-direction: column;
  }

  .container{
    align-items: center;
    display: flex;
    flex-grow: 1;
    height: 100%;
  }
}

.headerIntro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white;
  text-wrap: balance;

  h1{
    font-size: Clamp(3.5rem, calc(7vw + 1rem), 10rem);
    text-transform: uppercase;
    line-height: 1;

  }

  p {
    font-size: 1.5rem;
    max-width: 65%;
    text-wrap: balance;
  }
}

header *::selection,
footer *::selection {
  color: var(--primary-color);
  background-color: white;
}

/* INNER PAGES */
main.innerPage {
  nav .container {
    padding-block: 2rem;
  }

  background-color: #f9f8f3;

  header {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    position: relative;
  }


  header,
  header .container {
    min-height: calc(50vh + 150px);
    min-height: calc(50dvh + 150px);
  }

  header .container {
    display: flex;
    justify-content: left;
    align-items: center;
    /* padding-bottom: 100px; */
  }

  header::after {
    background: linear-gradient(to right, var(--primary-color) 40%, transparent);
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    content: "";
  }

  .heroOverlay img {
    object-position: right 70%;
  }


  .headerIntro {
    width: fit-content;
    max-width: 830px;
    direction: ltr;
  }

  .headerIntro p {
    font-weight: 300;
  }

  .headerIntro h2 {
    font-size: 3rem;
    text-transform: uppercase;

    span {
      font-weight: bold;
    }
  }

  nav {
    background-color: var(--primary-color);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.125);
    top: 0;
    margin-top: 0;
    /* position: sticky; */

    .contact:hover {
      background-color: var(--secondary-color);
      color: white;
    }

    li:hover {
      a {
        color: black;
      }

      color: black;
    }

    li.active {
      color: black;
    }
  }

  #navigation_dropdown {
    width: 100%;
    max-width: 100%;
    top: 0px;

    .container {
      border-top-right-radius: 0;
      border-top-left-radius: 0;

    }
  }
}



/* !TOUR CATEGORIES */

section.tourCategories .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.box {
  font-size: 1rem;
  text-align: center;
  line-height: 1;
  padding: 1.25rem;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: bold;
  border-right: 1px solid rgba(0, 0, 0, 0.125);
  color: var(--primary-color);
}


#categoryFilters {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 1rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;


  .filter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.125);

    select {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    select,
    input {
      width: 100%;
      padding-inline: 1rem;
      text-transform: none;
      background-color: transparent;
    }

    select {
      font-size: 1rem;
      font-weight: bold;
      color: var(--primary-color);
      text-transform: uppercase;
      cursor: pointer;
    }
  }

  #searchFilterBtn {
    cursor: pointer;
    pointer-events: auto !important;
  }

  .inputHolder {
    position: relative;
    isolation: isolate;
    grid-column: span 2;
    display: flex;
    justify-content: center;

    label {
      position: absolute;
      right: 1rem;
      pointer-events: none;
      top: 0;
      bottom: 0;
      margin: auto;
      height: fit-content;
      font-size: 1.5rem;
    }

    svg {
      width: 20px;
    }

    ::placeholder,
    option {
      text-transform: uppercase;
      font-weight: 400;
      font-size: 0.9rem;
    }

    ::placeholder {
      color: rgba(0, 0, 0, 0.35);
    }
  }

}

#tourPagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 2rem;
  row-gap: 1rem;
  width: 100%;

  .box {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    user-select: none;
  }

  .paginationNumbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .paginationNumbers .box {
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    &:hover {
      background-color: var(--primary-color);
      color: white;
    }

  }
}

.box.active {
  background-color: var(--primary-color);
  color: white;
}


#allTours,
.mightLikeProducts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 1.5rem;
  width: 100%;
  justify-content: center;

  article {
    width: auto !important;
  }
}

/* ! TOUR PAGE STYLES */
section.tourDetails .container {
  display: flex;
  max-width: 1140px;
  flex-direction: column;
  gap: 2rem;
}

.tourBanner {
  width: 100%;
  height: 450px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70%;
  }
}

.tourInfo {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  >h2,
  >p {
    border-left: 5px solid var(--primary-color);
    padding: 0 1rem;
  }

  >h2 {
    font-size: 2.25rem;
    text-wrap: balance;
  }

  >p {
    line-height: 2 !important;
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  li {
    display: flex;
    gap: 1rem;
    align-items: center;

    img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      filter: var(--image-filter);
    }

    p,
    span {
      font-size: 1.25rem;
      font-weight: 500;
    }

    span {
      color: var(--primary-color);
    }
  }
}

.infoIcon {
  background-color: #236ADA;
  color: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;

  i {
    scale: 0.9;
  }
}


.instructionSteps {
  display: flex;
  flex-direction: column;
}


.step:first-child {
  padding-top: 0 !important;
}

.step:last-child::after {
  display: none !important;
}

.step {
  display: flex;
  gap: 0.5rem;
  padding-block: 0.5rem;
  position: relative;

  h3 {
    color: var(--primary-color);
  }

  .distance {
    display: flex;
    gap: 0.25rem;
    align-items: center;

    img {
      filter: var(--image-filter);
      width: 20px;
      height: 20px;
    }

    span {
      color: var(--primary-color);
    }
  }

  .distance.acc,
  .passBy {
    margin-top: 1rem;
    align-items: baseline;
  }
}

/*
.step::after{
  content: '';
  width: 10px;
  height: 100%;
  display: block;
  position: absolute;
  left: 13px;
  z-index: -1;
  top: 0;
  border-left: 2px dashed black;
} */
.dash {
  width: 12px;
  height: 2px;
  border-radius: 0.5rem;
  background-color: var(--darker-primary-color);
}


section.answer_question {
  padding-top: 0;
  padding-bottom: 10px;
}

section.answer_question .container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 768px;
}

.questions {
  grid-column: span 2;
  display: flex;

  flex-direction: column;
  gap: 1.5rem;
}

.question_tag {
  background-color: var(--offwhite_color);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  font-size: 1rem;
  overflow: hidden;
  interpolate-size: allow-keywords;
  transition: var(--transition);
  height: 90px;

  h3 {
    position: relative;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 1.5rem;
    padding-bottom: 0;
    min-height: fit-content;
  }

  ul {
    padding: 1.5rem;
    font-size: 1rem;
    opacity: 0;
    scale: 0.99;
    transition: inherit;

    li {
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-top: 0.25rem;
    }
  }
}

.circle {
  background-color: var(--secondary-color);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.question_tag h3::after {
  content: '';
  background-color: transparent;
  width: calc(100% + 1.5rem);
  height: 100%;
  inset: 0;
  margin-inline: auto;
  transition: var(--transition);
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.question_opener {
  position: absolute;
  z-index: 10;
  top: 1rem;
  right: 1rem;
  scale: 1.2;
  cursor: pointer;
  transition: inherit;
}

.question_tag.opened {
  height: auto !important;

  .question_opener {
    rotate: 45deg;
    color: white;
  }

  ul {
    opacity: 0.75;
    scale: 1;
  }

  h3 {
    -webkit-line-clamp: initial;
    line-clamp: initial;
    padding-bottom: 1.5rem !important;
    color: white !important;
  }

}

.question_tag.opened h3::after {
  background-color: var(--darker-primary-color);
}

section.booking .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}



/* ! TOUR PAGE THUMBNAILS*/

section.tourPreview {
  padding-bottom: 0;
}

section.tourPreview .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;


  .swiper {
    padding: 0 !important;
  }

  .swiper-wrapper {
    max-height: fit-content;
    max-width: fit-content;

  }

  /* Fix main swiper slide size */
  .myMainSwiper {
    width: 100%;
    height: 100%;
  }

  /* Make slides not stretch */
  .myMainSwiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    cursor: pointer;

    img {
      transition: 0.5s all ease;
    }

    &:hover {
      img {
        scale: 1.25;
        filter: brightness(1.25);
      }
    }
  }

  .myMainSwiper .swiper-slide:active {
    cursor: grabbing;
  }

  .myMainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 550px;
  }


  /* Fix thumbnails swiper */
  .myThumbsSwiper {
    width: 100%;
  }

  .myThumbsSwiper .swiper-slide {
    width: 100%;
    height: 100%;
  }

  .myThumbsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


}



.mainTourImage {
  grid-column: span 3;
  position: relative;
  isolation: isolate;
}


.mainTourImage::after {
  content: '';
  width: 100%;
  height: 100%;
  inset: 0;
  margin: auto;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.75));
}

#duration,
#fullScreen {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: bold;
  background-color: var(--primary-color);
  padding: 1rem;
  border-radius: 1rem;

  img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
}

#fullScreen {
  left: initial;
  right: 1rem;
  padding: 0.5rem;
}

.previewNavigation {
  position: absolute;
  z-index: 10;
  bottom: 1rem;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: fit-content;
  max-width: 600px;
  padding-inline: 1rem;
  font-size: 2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;

  button {
    color: white;
    background-color: transparent;
    border: 0;
    font-size: 2rem;
  }
}

#zoomBtn {
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;

  &:hover {
    scale: 1.1;
    color: var(--darker-primary-color);
  }
}

/* #zoomBtn:active{
  cursor: grabbing;
} */

.thumbnails {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 1rem;
  column-gap: 0.5rem;


  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: 0.5s all ease;
    cursor: pointer;
  }
}

.thumbnailImage {
  overflow: hidden;
  flex: 1;
  height: 100%;

  &:hover {
    img {
      scale: 1.25;
      opacity: 0.75;
    }
  }
}

.myMainSwiper .swiper-slide img {
  transition: transform 0.3s ease;
  transform-origin: center center;
}


section.highlight .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  h2 {
    text-transform: uppercase;
    font-size: 2rem;
  }

  ul {
    list-style-type: disc;
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  li {
    display: list-item;
  }

  p {
    text-wrap: balance;
    line-height: 2;
    font-size: 1rem;
  }

}

section.mightLike {
  padding-top: 0;
}

section.mightLike .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  h2 {
    font-size: 2rem;
    text-transform: uppercase;
  }
}


section.Itinerary {
  background-color: rgba(5, 55, 126, 0.1);
}

.Itinerary .container {
  display: flex;
  position: relative;
  isolation: isolate;
  align-items: center;
  max-width: 900px;
  justify-content: space-between;

  article.step {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    h4 {
      font-size: 1.25rem;
      color: var(--primary-color);
    }

    p {
      font-weight: bold;
    }
  }

  .stepIcon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
    text-align: center;
    border-radius: 50%;
  }
}

.Itinerary .container::after {
  content: '';
  width: 92%;
  height: 100%;
  z-index: -1;
  border-bottom: 5px dashed black;
  /* fallback */
  border-bottom: 5px solid transparent;
  border-image: repeating-linear-gradient(to right,
      black 0,
      black 20px,
      transparent 20px,
      transparent 40px) 30 stretch;
  position: absolute;
  inset: 0;
  margin: auto;
  transform: translateY(-50%) translateX(-4px);
}


#imagePopup {
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  padding-inline: 5rem;
  inset: 0;
  transition: 0.5s all ease;
  opacity: 0;
  pointer-events: none;
  visibility: none;
  overflow: hidden;
  flex-direction: column;
  padding-block: 1rem;

  .swiper {
    scale: 0.9;
    transition: 0.5s all ease;
  }
}


.popupNext,
.popupPrev {
  position: absolute;
  padding: 0 1rem;
  background: var(--primary-color);
  top: 50%;
  z-index: 100;
  transform: translateY(-50%);
  color: white;
  font-size: 4rem;

  &:hover {
    background-color: var(--darker-primary-color);
  }
}

.popupPrev {
  left: 0;

  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;

}

.popupNext {
  right: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;

}

.popupMainSwiper {
  max-width: 1024px;
  width: 100%;
}


img,
.swiper-slide,
.zoomAble {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

#closeBtn {
  position: absolute;
  color: white;
  display: flex;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 0.25rem;
  font-size: 2rem;
  background: transparent;
  padding: 0.5rem;
  top: 0;
  right: 0;
  transition: var(--transition);

  &:hover {
    color: var(--darker-primary-color);
  }
}

@media (hover: hover) {
  #closeBtn {

    transform: translate(50%, -100%);
  }
}

@media (orientation: portrait) {
  #zoomedImage {
    max-height: 500px;
  }

  #imagePopup {
    padding-inline: 0;
  }
}

#imagePopup:hover {
  #closeBtn {
    transform: translate(0, 0);
  }
}


#imagePopup.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#imagePopup.active .swiper {
  scale: 1;
}




.myPopupThumbsWrapper {
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.myPopupThumbsHolder {
  width: 100%;
}

.myPopupThumbs {
  /* 8 thumbnails + 7 gaps */
  overflow: hidden;
  /* prevent extra slides from being visible */
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.myPopupThumbs.swiper {
  padding-top: 0.5rem !important;
  padding-bottom: 0 !important;
  max-width: 1024px;

  .swiper-wrapper {
    justify-content: center;
  }
}

.popup-thumb {
  width: calc(16 * 60px + 7 * 5px);
  border: 3px solid transparent;
  max-width: 64px;
  overflow: hidden;
  max-height: 64px;

  &:hover {
    img {
      scale: 1.25;
      filter: brightness(1.25);
    }
  }
}

#openAll {
  color: white;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  height: fit-content;
  border-radius: 0.5rem;
  padding: 0.25rem;
  transition: var(--transition);
  background-color: var(--primary-color);
}

.popupThumbsHolder {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.popupMainSwiper {
  padding-top: 1rem !important;
  padding-bottom: 0 !important;
}

.myPopupThumbs .swiper-slide {
  width: 60px !important;
  height: 60px;
  cursor: pointer;
  opacity: 0.6;
  overflow: hidden;
  transition: 0.2s ease;

  &:hover {
    img {
      scale: 1.25;
      filter: brightness(1.25);
    }
  }
}

.popup-thumb img {
  width: 100%;
  height: 100%;
  cursor: pointer;
  filter: brightness(0.9);
  transition: 0.5s all ease;
  object-fit: cover;
}

.popup-thumb.active-thumb {
  opacity: 1;
  border-color: var(--primary-color);

  img {
    scale: 1.25;
    filter: brightness(1.25);
  }
}

.popupThumbNav {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 5px;
  z-index: 10;
}

.popupThumbNav:hover {
  background: white;
}

.map {
  box-shadow: 0px 0px 2px var(--primary-color);
  width: 100%;
  border: 1px solid var(--darker-primary-color);
  display: flex;
  border-radius: 1rem;
  overflow: hidden;
  justify-content: center;
  align-items: center;

  iframe {
    min-height: 550px;
    width: 100%;
    height: 100%;
  }
}


section#becomePartnerForm .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

input,
textarea {
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  resize: vertical;
}

textarea {
  height: 300px;
  min-height: 50px;
}


section.whyAtlas .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 3rem;

  article {
    display: flex;
    flex: 1 1 calc(50% - 3rem);
    height: auto;
    flex-direction: column;
    min-width: 350px;
    gap: 1rem;

    h2 {
      color: var(--primary-color);
    }
  }
}



section.statis .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 1rem;
  row-gap: 1rem;
  max-width: 1000px;

  article {
    padding: 3rem 1rem;
    justify-content: center;
    background-color: white;
    border-radius: 0.5rem;
    position: relative;
    isolation: isolate;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.125);
    text-align: center;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    color: var(--primary-color);

    h2 {
      font-size: 2.25rem;
    }

    &:hover {
      .statisDetails {
        clip-path: ellipse(100% 120% at 50% 0%);
        transform: scale(1);

      }
    }
  }

  .statisDetails {
    position: absolute;
    z-index: 10;
    inset: 0;
    margin: auto;
    background-color: var(--primary-color);
    width: 100%;
    height: 100%;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    padding: 1rem;
    transition: 0.4s all ease;
    clip-path: ellipse(100% 0% at 50% 0);
    transform: scale(1.05);

  }
}


.whyIntro {
  padding-bottom: 0;
}

section.testimonials .swiper {
  padding-top: 0 !important;
}


section.testimonials.heroTestimonials {
  max-width: 100%;

  .swiper-wrapper{
    padding-inline: 0rem !important;
  }

    p {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 8 !important;
      line-clamp: 8 !important;
      text-overflow: ellipsis;
      overflow: hidden;
      min-height: fit-content;
    }
  }

section.testimonials article {
  display: flex;
  flex-direction: column;
  /* max-width: 400px; */
  padding: 2rem;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  gap: 1.5rem;

  img {
    max-width: 80px;
    max-height: 80px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: none;
  }

  p {
    font-size: 0.9rem;
    opacity: 0.75;
    -webkit-line-clamp: initial !important;
    line-clamp: initial !important;

  }

  h4 {
    font-size: 1.25rem;
    margin-top: auto;
  }

  .comma {
    width: 35px;
    height: 35px;
  }

  .reviewImg {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
  }
}



.whyAtlas .intro {
  font-size: 2rem;
  margin-top: 1.5rem;
  color: var(--primary-color);
}

.quote {
  border-left: 6px solid rgba(0, 0, 0, 0.25);
  padding-left: 1rem;
}

section.complaint .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style-type: disc;
    list-style-position: inside;

    li {
      display: list-item;
    }
  }

  article {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    p span {
      color: var(--primary-color);
      font-weight: bold;
    }

    h2 {
      color: var(--primary-color);
    }

    a {
      color: var(--primary-color);

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

section.complaint .container article::-webkit-scrollbar {
  height: 8px;
}

.complaint.sus .container {
  flex-direction: row;
  flex-wrap: wrap;
}


#allReviews .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

#reviewsPagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

#reviewsPagination .paginationNumbers {
  display: flex;
  gap: 0.5rem;
}

#reviewsPagination .box {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 6px;
  cursor: pointer;
  background: white;
  transition: var(--transition);

  &:hover {
    background-color: var(--primary-color);
    color: white;
  }
}

#reviewsPagination .box.active {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.paginateBtn {
  background: #ddd;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-weight: 600;
}

.paginateBtn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #eee;
}

tr.section-row th {
  background-color: #d9d9d9;
  text-align: left;
  font-weight: bold;
}

tr td:first-child {
  text-align: left;
}

@media (max-width: 768px) {
  article:has(table) {
    overflow-y: auto;
  }

  table {
    min-width: 550px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  th {
    text-align: left;
  }

  tr {
    margin-bottom: 15px;
  }

  td {
    text-align: left;
    border: none;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-left: 50%;
    min-height: 64px;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-left: 10px;
    font-weight: bold;
    text-align: left;
  }


  .table-drag-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: auto;
    /* disable slow iOS smooth scroll */
    scroll-behavior: auto;
    /* no smooth scrolling */
  }

  .table-drag-scroll:active {
    cursor: grabbing;
  }

  .table-drag-scroll table {
    width: max-content;
    border-collapse: collapse;
  }
}



section#contactUs .container {
  display: flex;
  flex-wrap: wrap-reverse;
  column-gap: 10rem;
  row-gap: 3rem;
  justify-content: space-between;
  align-items: stretch;

  textarea {
    height: 200px;
  }

  form,
  .contactBanner {
    flex: 1 1 300px;
  }
}

#contactUs .container form {
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

.dash {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
}


.contactIntro {
  h2 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
  }
}

.contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contactBannerImage {
  position: relative;
  isolation: isolate;
  height: 100%;
  overflow: hidden;

  img {
    transition: 0.5s all ease;
  }

  &:hover {
    img {
      scale: 1.25;
      filter: brightness(1.25);
    }
  }

}

.contactBanner {
  position: relative;
  isolation: isolate;
  height: 450px;
  margin: auto;

}

.contactFloatingInfo {
  position: absolute;
  width: 75%;
  height: 80%;
  transform: translate(50%, -50%);
  background-color: var(--primary-color);
  z-index: 10;
  top: 50%;
  left: -50%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 2rem;
  color: white;

}

section.blogs .container,
section.selectedBlog .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;

  p span {
    font-weight: bold;
    color: var(--primary-color);
  }

  article {
    border: 1px solid rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: 0.5s all ease;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border-radius: 0.25rem;


    .blogBanner {
      height: 300px;
      width: 100%;
      overflow: hidden;
      transition: inherit;

      img {
        width: 100%;
        height: 100%;
        transition: inherit;
        object-fit: cover;
      }
    }

    .blogDesc {
      display: flex;
      padding-top: 1rem;
      padding-bottom: 1rem;
      padding-inline: 1rem;
      transition: inherit;
      flex-direction: column;
      gap: 1rem;

      p,
      a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: fit-content;

        text-overflow: ellipsis;

      }

      a {
        font-weight: bold;
        font-size: 1.25rem;
        line-height: 1.1;
        color: black;
        transition: inherit;
        -webkit-line-clamp: 3;
        line-clamp: 3;

      }

      p {
        font-size: 0.9rem;
        -webkit-line-clamp: 8;
        line-clamp: 8;
      }
    }

    .readMore {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-inline: 1rem;
      transition: inherit;
      text-transform: uppercase;
      font-weight: bold;
      color: var(--primary-color);
      margin-bottom: 1rem;
    }
  }
}

section.blogs .container {
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.mainBlog {
  grid-column: span 2;
  max-width: 900px;
  text-wrap: balance;
  border: 0 !important;

  .blogBanner {
    height: 400px !important;
  }

  .blogDesc,
  .readMore {
    padding-inline: 0 !important;
    margin-inline: 0 !important;
  }
}

.mainBlogInfo {
  border: 0 !important;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;

  ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style-type: disc !important;

    li {
      display: list-item !important;
    }
  }

  h2 {
    color: var(--primary-color);
  }
}

.selectedBlog .container {
  display: flex !important;
  flex-direction: column;
}

.general {
  position: absolute;
  z-index: 10;
  background-color: var(--primary-color);
  font-weight: bold;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  top: 1rem;
  left: 1rem;
  color: white;
}


.blogs .container article:hover {
  img {
    scale: 1.25;
    filter: brightness(1.25);
  }

  i {
    transform: translateX(6px);
  }

  a {
    color: var(--primary-color) !important;
  }
}

/* ?MEDIA QUERIES */


/* ! WIDTH */

@media (max-width: 1280px) and (min-width: 1024px) {
  nav .container {
    width: 95%;
  }

  nav li {
    a {
      font-size: 0.8rem;
    }

    font-size: 0.8rem;
  }
}




@media (min-width: 1024px) {
  #side_menu {
    display: none;
  }
}

@media(max-width: 1280px) {

  #aboutUsDropDown,
  #allCountries {
    scale: 0.88;
    transform-origin: top left;
  }

  section.blogs .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  *[data-aos-delay] {
    transition-delay: 0s !important;
  }

  #navigation_dropdown {
    display: flex;
  }

  nav>.container .main_Links {
    display: none;
  }


  .answer_question {
    .intro {
      position: static !important;
      text-align: center !important;

      .special_intro {
        margin: auto !important;
      }

      .btn {
        margin: auto;
      }
    }

    .container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  nav ul {
    gap: 0.5rem;
  }

  #menu,
  #side_menu {
    display: block;
  }

  #allTours,
  .mightLikeProducts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  }

  #duration {
    scale: 0.85;
    transform-origin: left top;
  }

  nav ul {
    flex-direction: row-reverse;
  }

  .tourBanner {
    height: 300px;
  }

  .contactBanner {
    height: 300px !important;
  }

  .contactFloatingInfo {
    width: 100%;
    height: 100%;
    transform: none;
    inset: 0 !important;
  }

  .popupNext,
  .popupPrev {
    font-size: 3rem !important;
  }

  .blogs .container {
    .blogBanner {
      height: 200px !important;
    }

    .blogDesc a {
      font-size: 1.125rem !important;
    }

    .blogDesc p {
      line-clamp: 4 !important;
      -webkit-line-clamp: 4 !important;

    }

    .general {
      scale: 0.9;
      transform-origin: top left;
    }

    .readMore {
      font-size: 0.9rem;
    }
  }

   .headerIntro p{
    max-width: 100%;
  }

}

@media (max-width: 768px) {
  nav .container {
    width: 95%;
  }



  .whoWe .container article {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  header,
  header .heroSwiper,
  header .swiper-slide,
  header .swiper-slide img {
    min-height: 75dvh;
  }

  section.destinations .container {
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)) !important;
  }

  .heroSwiper .swiper-pagination {
    scale: 1.125;
  }

  .destinationOverlay {
    font-size: 1.25rem;
  }

  header::after {
    background: linear-gradient(to right, var(--primary-color) 30%, transparent) !important;
    opacity: 0.95;
  }
  .heroTestimonials .swiper-wrapper{
    scale: 0.95
  }

  .tourPreview .container {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 1fr);
    column-gap: 0 !important;
    row-gap: 0.5rem !important;
  }

  .thumbnails {
    flex-direction: row;
  }

  .mainTourImage {
    grid-row: span 2;
    grid-column: span 1 !important;
  }

  iframe {
    min-height: 450px !important;
  }

  section.highlight .container {
    p {
      font-size: 0.85rem !important;
      line-height: 1.5;
    }

    h2 {
      font-size: 1.75rem;
    }
  }

  .mightLike h2 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 640px) {
  .blogs .container {
    grid-template-columns: 1fr !important;

    .blogBanner {
      height: 300px !important;
    }
  }

  nav .container {
    gap: 0;
  }

  .headerIntro {
    h2 {
      font-size: 2.5rem !important;
    }

    p {
      font-size: 1.5rem;
    }

    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #tourPagination {
    flex-direction: column;
    justify-content: center;
  }

  .box,
  .filter select,
  .filter input {
    font-size: 0.9rem !important;
  }

  .box {
    padding: 1rem 0.5rem !important;
    white-space: normal !important;
    max-height: 56px;
  }

  ::placeholder {
    font-size: 0.8rem !important;
  }

  .inputHolder label {
    font-size: 1.25rem !important;
  }

  .inputHolder svg {
    width: 1rem !important;
  }

  .question_tag h3 {
    font-size: 1rem;
  }

  .previewNavigation {
    scale: 0.8;
    transform-origin: bottom;
  }
 .headerIntro {
    h2 {
      font-size: 2rem !important;
    }

    p {
      font-size: 1.25rem;
    }

    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  iframe {
    min-height: 350px !important;
  }

  .intro {
    font-size: 2rem;
  }

  #navigation_dropdown {
    transform: translateY(60px);
  }

  .contact a {
    font-size: 0.75rem;
  }

  .heroIntro h1 {
    width: 100%;
  }

  nav .contact {
    display: none;
  }



  .heroIntro {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .heroOverlay img {
    object-position: 70% !important;
  }

  .whatsApp {
    bottom: 2rem;
  }

  footer .container {
    display: flex;
    flex-direction: column;
  }

  main.innerHeader .heroIntro h2 {
    font-size: 1.5rem;
  }

  main.innerPage header {
    min-height: 320px !important;

  }

  .whoWe .container article {
    min-width: 250px !important;
  }

  .CategoryName {
    font-size: 1.25rem;
  }

  .swiper .contact {
    font-size: 0.65rem;
  }

  header,
  header .heroSwiper,
  header .swiper-slide,
  header .swiper-slide img {
    min-height: 60dvh;
  }

  section.destinations .container {
    grid-template-columns: 1fr !important;
  }

  .question_tag {
    font-size: 1rem;

    p {
      font-size: 0.9rem;
    }
  }

  .question_opener {
    right: 0.5rem;
    top: 0.5rem;
  }

  #duration,
  .previewNavigation {
    scale: 0.6;
  }

  #fullScreen {
    scale: 0.8;
    transform-origin: top right;
  }


  .Itinerary .container {
    flex-direction: column;
    gap: 5rem;

    h4,
    p {
      text-shadow: 1px 1px white;
    }

    &:after {
      rotate: 90deg;
      opacity: 0.75;
    }
  }

  @media (orientation: portrait) {
    #zoomedImage {
      max-height: 300px;
    }
  }

  #closeBtn {
    font-size: 1.5rem !important;
  }

  #allReviews .container {
    grid-template-columns: 1fr !important;
  }

  .popupNext,
  .popupPrev {
    font-size: 2rem !important;
    padding: 0.5rem;
  }


  .blogs .container {

    .blogBanner {
      height: 200px !important;
    }
  }
}

@media (max-width: 400px) {



  .popupNext,
  .popupPrev {
    font-size: 1.5rem !important;
  }
}
