:root {
  --ff-primary: "Montserrat", sans-serif;
  --ff-headings: "Roboto", sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --clr-text-white: #f7f7f7;
  --clr-green: #fffc5c;
  --clr-green-transparent: rgba(255, 252, 92, 0.569);
  --clr-hero-background: #457079;
  --clr-hero-lghtbackground: #abcdcc;
  --clr-darkgrey: #495057;
  --clr-lightgrey: #ced4da;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-primary);
  color: var(--clr-text-white);
  overflow-x: hidden;
}

.container {
  max-width: 100rem;
  margin: 0 auto;
}

.mt-md {
  margin-top: 10rem;
}

.header {
  /* height: 100vh; */
  /* padding-bottom: 14rem; */
  min-height: 80rem;
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url(../imgs/hero-section.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  position: relative;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 140rem;
  margin: 0 auto;
  padding: 2rem 4rem 0 4rem;
  /* position: relative; */
}

.logo {
  font-size: 2.4rem;
  transition: all 0.3s;
  color: var(--clr-green);
}

.logo:hover {
  transform: scale(1.1);
}

.nav-items {
  display: flex;
  gap: 3.4rem;
  font-size: 1.6rem;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  height: 5px;
  width: 100%;
  position: absolute;
  bottom: -5px;
  left: 0;
  border-bottom: 2px solid var(--clr-text-white);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.nav-item:nth-child(5) {
  margin-left: 3rem;
}

.nav-item:nth-child(5)::after {
  content: none;
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: var(--fw-medium);
}

.hamburger-menu {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-menu {
  font-size: 3.6rem;
  color: var(--clr-green);

  position: relative;
  z-index: 9999;
}

.icon-mobile-menu[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #00000060;
  z-index: 999;
}

.sign-menu {
  display: none;
  font-size: 3rem;
  color: var(--clr-green);
}

.menu {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

.btn:link,
.btn:visited {
  padding: 1rem 3rem;
  border: 1px solid var(--clr-green);
  border-radius: 30px;
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  transition: all 0.3s;
}

.btn:hover,
.btn:active {
  background-color: var(--clr-green);
  color: var(--clr-hero-background);
}

.btn-fill:link,
.btn-fill:visited {
  background-color: var(--clr-green);
  color: var(--clr-hero-background);
}

.btn-fill:hover,
.btn-fill:active {
  background-color: transparent;
  color: var(--clr-text-white);
}

.btn-start:link,
.btn-start:visited {
  padding: 1.4rem 3rem;
  border-radius: 30px;
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  transition: all 0.3s;
  background-color: var(--clr-green);
  color: var(--clr-hero-background);
  margin-right: 2rem;
}

.btn-start:hover,
.btn-start:active {
  background-color: #b9b746;
}

.btn-larger:link,
.btn-larger:visited {
  padding: 1.4rem 3rem;
}

/* HERO SECTION */

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  margin-top: 14rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 0 2rem;
}

.heading-primary {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  font-family: var(--ff-headings);
}

.explore {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  color: #fff;
}

.hero-container p {
  font-size: 1.6rem;
}

.hero-buttons {
  margin-top: 2.4rem;
  margin-bottom: 1.4rem;
}

.hero-buttons .btn-fill:link,
.hero-buttons .btn-fill:visited {
  background-color: var(--clr-text-white);
  color: var(--clr-hero-background);
  outline: 1px solid var(--clr-text-white);
  border: none;
}

.hero-buttons .btn-fill:hover,
.hero-buttons .btn-fill:active {
  background-color: transparent;
  color: var(--clr-text-white);
}

.arr-down {
  font-size: 2rem;
  margin-left: 0.4rem;
}

.header-form {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--clr-text-white);
  border-radius: 3rem;
  overflow: hidden;
}

.header-form input {
  width: 100%;
  padding: 10px 16px;
  outline: none;
  border: none;
  font-size: 1.6rem;
  background: var(--clr-text-white);
}

.header-form .btn-search {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 3rem;
  outline: none;
  border: none;
  background-color: var(--clr-green);
  color: var(--clr-hero-background);
  font-size: 1.4rem;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.3s;
}

.header-form .btn-search:hover {
  outline: 1px solid var(--clr-hero-background);
  color: var(--clr-hero-background);
  background-color: var(--clr-text-white);
}

.travelers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.traveler-imgs {
  display: flex;
}

.traveler-imgs img {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 500px;
  border: 3px solid var(--clr-green);
  margin-left: -1.6rem;
}

.traveler-text {
  font-size: 2rem;
}

.traveler-text span {
  color: var(--clr-green);
  font-weight: 800;
}

/********************/
/* MAIN SECTION */

/* HOW IT WORKS SECTION */
.how-section {
  color: #000;
  background-color: var(--clr-text-white);
  padding: 8rem 2rem;
}

.how {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  margin-bottom: 6rem;
  gap: 4rem;
}

.how:last-child {
  margin-bottom: 0;
}

.how-header {
  text-align: center;
  margin-bottom: 10rem;
}

.grid-reverse {
  grid-template-columns: 2fr 1.5fr;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 6rem;
  font-size: 1.8rem;
  color: #868e96;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

.steps::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  width: 40%;
  border-bottom: 2px solid var(--clr-green);
}

.step {
  letter-spacing: 2px;
  transition: all 0.3s;
}

.step:hover {
  color: var(--clr-darkgrey);
}

.active {
  color: var(--clr-darkgrey);
}

.how-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  gap: 2rem;
}

.how-text p {
  color: var(--clr-hero-background);
  font-size: 1.6rem;
}

.how-text .btn {
  align-self: start;
  color: var(--clr-text-white);
  background-color: var(--clr-darkgrey);
  border: none;
}

.how-text .btn:hover {
  color: var(--clr-darkgrey);
  outline: 1px solid var(--clr-darkgrey);
  background-color: var(--clr-text-white);
}

.heading-secondary {
  font-size: 2.8rem;
  color: var(--clr-darkgrey);
}

.how-img {
  border-radius: 10px;
  overflow: hidden;
}

.how-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

.how-img img:hover {
  transform: scale(1.04);
  cursor: pointer;
}

/* DESTINATIONS SECTION */
.destinations-section {
  background: linear-gradient(to right bottom, #254552, #50797d);
  padding: 8rem 2rem 10rem 2rem;
}

.destinations-header {
  text-align: center;
}

.destinations-header .heading-h4 {
  color: var(--clr-green);
}

.destinations-header .heading-h2 {
  color: var(--clr-text-white);
}

.destination {
  background-color: var(--clr-text-white);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  border-radius: 1rem;
  color: var(--clr-darkgrey);
  overflow: hidden;
  margin-top: 4rem;
}

.destination-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.destination-text .heading-secondary {
  line-height: 1;
}

.mini-info {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 5rem;
  box-shadow: 0 0 5px hsla(0, 0%, 0%, 0.15);
  transition: all 0.3s;
}

.mini-info:hover {
  box-shadow: 0 0 15px hsla(0, 0%, 0%, 0.15);
}

.mini-info-box {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.description {
  font-size: 1.4rem;
  line-height: 1.6;
}

.mini-info-box i {
  color: var(--clr-green);
  font-size: 1.2rem;
}

.mini-info-text {
  font-size: 1.1rem;
}

.destination-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background-color: var(--clr-green);
  position: relative;
}

.destination-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular {
  position: relative;
}

.popular::after {
  content: "Popular";
  background-color: var(--clr-darkgrey);
  color: var(--clr-green);
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  position: absolute;
  top: 4%;
  right: 4%;
  padding: 0.5rem 1rem;
  border-top-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.destination-price .btn {
  background-color: var(--clr-darkgrey);
  color: var(--clr-green);
}

.destination-price .btn:hover {
  background-color: transparent;
  color: var(--clr-darkgrey);
  outline: 1px solid var(--clr-darkgrey);
}

.align-center {
  display: inline-block;
  margin: 4rem auto 0 auto;
}

.btn-show-more-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.price {
  font-size: 4rem;
  font-weight: 900;
}

.rating {
  font-size: 1.2rem;
}

.review-number {
  margin-left: 2rem;
}

.smaller {
  font-size: 2.6rem;
}

/* PRICING TABLE  */

.pricing-table-container table {
  background-color: var(--clr-text-white);
  color: var(--clr-darkgrey);
  width: 100%;
  padding: 4rem 1rem;
  border-radius: 1rem;
  margin-top: 4rem;
}

.fa-bg,
.pricing-table-container i {
  font-size: 2rem;
  color: rgb(255, 220, 0);
  position: relative;
  z-index: 2;
}

.fa-bg::after {
  content: "";
  position: absolute;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50px;
  background-color: rgba(255, 252, 92, 0.2);
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  z-index: 1;
}

.plan-item {
  padding-bottom: 1rem;
  font-size: 1.4rem;
}

.mb-sm {
  margin-bottom: 1rem;
}

.pricing-table-container td {
  text-align: center;
}

.table-tr {
  font-size: 1.4rem;
  font-weight: var(--fw-semibold);
}

.table-transp-bg {
  border: none;
  background-color: rgba(255, 252, 92, 0.3);
}

.table-tr td {
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-right: 0.5rem;
}

.plan-name {
  font-weight: var(--fw-medium);
}

.plan-price {
  color: rgb(255, 220, 0);
  font-size: 4rem;
  font-weight: var(--fw-medium);
}

.plan-description {
  font-weight: var(--fw-semibold);
}

.table-td-desc {
  text-align: start;
  padding-left: 1.6rem;
}

/* GALLERY SECTION */

.gallery-section {
  padding: 8rem 2rem;
  padding-bottom: 10rem;
  background-color: var(--clr-text-white);
}

.gallery-section .how-header {
  margin-bottom: 6rem;
}

.slider-content {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  scroll-behavior: smooth;
  overflow: auto;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-content::-webkit-scrollbar {
  display: none;
}

.card-wrapper {
  display: flex;
  width: max-content;

  gap: 3.2rem;
}

.card {
  height: 40rem;
  width: 30rem;
  border-radius: 5px;

  display: flex;
  overflow: hidden;
}

.card-1 {
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(../imgs/gallery/barcelona.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.card-2 {
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(../imgs/gallery/colosseum.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.card-3 {
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(../imgs/gallery/pyramids.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.card-4 {
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(../imgs/gallery/statue-of-liberty.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.card-5 {
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(../imgs/gallery/venice.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.card-6 {
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(../imgs/gallery/Athens.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.image-content-container {
  background: linear-gradient(
    to right bottom,
    rgba(37, 69, 82, 0.85),
    rgba(80, 121, 125, 0.85)
  );
  padding: 1.4rem 1.6rem;
  align-self: flex-end;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: all 0.3s ease-in;

  opacity: 0;
}

.card:hover .image-content-container {
  opacity: 1;
}

.image-content {
  max-width: 100%;
}

.location-heading {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.location-text {
  font-size: 1.2rem;
  font-weight: var(--fw-medium);
  line-height: 1.6;
}

.slider-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  gap: 4rem;
}

.slider-btn {
  width: 25px;
  height: 25px;
  border-radius: 50px;
  border: none;
  background: none;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 4rem;
  font-weight: var(--fw-bold);
  color: var(--clr-hero-background);

  cursor: pointer;
}

/* TESTIMONIALS */
.testimonials-section {
  background: linear-gradient(to right bottom, #254552, #50797d);
  text-align: center;
  padding: 8rem 2rem;
}

.testimonials-section .heading-h4 {
  color: var(--clr-green);
}

.testimonials-section .heading-h2 {
  color: var(--clr-text-white);
}

.testimonials {
  margin-top: 8rem;
  display: flex;
  text-align: left;
  gap: 2rem;
}

.testimonial {
  max-width: 60rem;
  background-color: var(--clr-text-white);
  color: var(--clr-darkgrey);
  padding: 6rem 2.6rem 2.6rem 2.6rem;
  position: relative;
  border-radius: 5px;
  transition: all 0.5s;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.2);
}

.testimonial:nth-child(2) {
  transform: translateY(-1rem);
}

.testimonial:hover {
  transform: translateY(-1rem);
  cursor: pointer;
}

.testimonial:hover:nth-child(2) {
  transform: translateY(-2rem);
}

.testimonial img {
  max-width: 8rem;
  height: 8rem;
  border: 3px solid var(--clr-green);
  border-radius: 50%;
  position: absolute;
  top: -4rem;
  left: 4rem;
}

.testimonial-text {
  font-size: 1.4rem;
}

.testimonial-name {
  font-size: 1.2rem;
  color: rgb(93, 99, 104);
  margin-top: 1rem;
}

/* FAQ SECTION */
.faq {
  background-color: var(--clr-text-white);
  text-align: center;
  padding: 6rem 2rem;
}

.faq-text {
  text-transform: uppercase;
}

.heading-h4 {
  color: #868e96;
  font-size: 2rem;
  text-transform: uppercase;
}

.heading-h2 {
  color: var(--clr-darkgrey);
  font-size: 3rem;
  text-transform: uppercase;
}

/* ACCORDION */
.accordion {
  margin-top: 6rem;
}

.accordion-item {
  margin: 0 auto 2rem auto;
  max-width: 60rem;
  background-color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.accordion-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 60rem;
  padding: 1rem;
  border-radius: 2px;
}

.accordion-top:hover {
  cursor: pointer;
}

.accordion-left {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-right: 1.6rem;
}

.accordion-left p {
  color: #868e96;
  font-size: 1.4rem;
}

.accordion-top i {
  color: var(--clr-green);
  font-size: 2rem;
}

.accordion-bottom {
  max-height: 0;
  overflow: hidden;
  color: var(--clr-darkgrey);
  transition: max-height 1s ease;
  cursor: pointer;
}

.accordion-bottom p {
  text-align: left;
  padding: 1rem 0 2rem 0;
  text-transform: none;
  font-size: 1.4rem;
  padding: 1rem;
}

.open .accordion-top {
  transition: 0;
  border-top: 2px solid var(--clr-green);
}

.open .accordion-bottom {
  max-height: 30rem;
}

.open .accordion-down {
  transform: rotate(180deg);
}

.accordion-down {
  transition: transform 0.3s ease-in;
}

/* CTA */
.cta {
  padding: 0 2rem 8rem 2rem;
  background-color: var(--clr-text-white);
  color: #000;
  position: relative;
}

.cta .container {
  max-width: 120rem;
}

.cta-btn {
  color: var(--clr-text-white);
  background-color: var(--clr-darkgrey);
  border: none;
  align-self: flex-end;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  padding: 2rem 3rem;
  transition: 0.3s all;
  width: 100%;
  cursor: pointer;
}

.cta-btn:hover {
  color: var(--clr-darkgrey);
  outline: 1px solid var(--clr-darkgrey);
  background-color: var(--clr-text-white);
}

.cta select,
.cta input {
  width: 100%;
  padding: 2rem 3rem;
  font-size: 1.4rem;
  font-family: inherit;
  border: none;
  color: #454444;
  background-color: var(--clr-lightgrey);
  border-radius: 10px;
}

.cta .heading-h4 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--clr-darkgrey);
}

.cta-form label {
  font-size: 1.4rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-darkgrey);
  margin-bottom: 1rem;
  display: inline-block;
}

.cta-form input::placeholder {
  color: #454444;
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem;
}

.cta-form select {
  position: relative;
}

.btn-book-now {
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
}

.validation-text {
  color: red;
  font-size: 1.2rem;
  font-weight: var(--fw-semibold);

  position: absolute;
  bottom: -2rem;
  left: 0;
}

/* toast box */
.toast-box {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  /* justify-content: center; */
  overflow: hidden;
  padding: 2rem;
}

.toast {
  width: 30rem;
  height: 8rem;
  background-color: var(--clr-text-white);
  font-weight: 500;
  margin: 15px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--clr-darkgrey);
  position: relative;
  transform: translateX(100%);
  animation: left 0.5s linear forwards;
}

.toast::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background-color: rgb(122, 253, 0);
  animation: animate 5s linear forwards;
}

.toast i {
  margin: 0 2rem;
  font-size: 3.5rem;
  color: rgb(122, 253, 0);
}

/* FOOTER */
.footer {
  padding: 8rem 2rem 2rem 2rem;
  background: linear-gradient(to right bottom, #254552, #50797d);
}

.footer-nav {
  max-width: 140rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.box .logo {
  font-size: 2.8rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.box .heading-h4 {
  color: var(--clr-green);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.socials {
  display: flex;
  gap: 2rem;
  font-size: 3rem;
}

.socials i {
  color: var(--clr-text-white);
  transition: all 0.3s;
}

.socials i:hover {
  color: var(--clr-green);
}

.footer-item {
  font-size: 1.4rem;
  color: var(--clr-text-white);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1;
}

.copyright {
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 40rem;
  margin: 4rem auto 0 auto;
  color: var(--clr-lightgrey);
}

/* ANIMATIONS */
@keyframes animate {
  100% {
    width: 0;
  }
}

@keyframes left {
  100% {
    transform: translateX(0);
  }
}
