/*===== TESTIMONIAL SECTION STYLES =====*/
section.testimonials {
  background-image: linear-gradient(to top, hsla(0, 0%, 0%, 0.4), hsla(0, 0%, 0%, 0.4)), url("../images/testimonial-bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

section.testimonials .container {
  position: relative;
}

section.testimonials .container .left h2.section-heading {
  text-transform: unset;
  color: white;
  font-size: 2rem;
  width: 600px;
}

section.testimonials .container .left a {
  display: inline-block;
  margin-top: 4rem;
  padding: 1rem 2rem;
  border: thin solid white;
  text-decoration: none;
  color: white;
  position: relative;
  z-index: 1;
  transition: all 200ms ease-in;
  margin-bottom: 150px;
}

section.testimonials .container .left a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brown-primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease-in;
}

section.testimonials .container .left a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

section.testimonials .container .testimonial-slider {
  position: absolute;
  bottom: -55%;
  right: 0;
  width: 453px;
  background: white;
  padding: 3rem 2rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

section.testimonials .container .testimonial-slider .testimoial-header {
  text-transform: uppercase;
  font-family: var(--heading-font);
  color: var(--brown-primary);
  font-size: 30px;
  font-weight: 700;
  width: fit-content;
  padding-bottom: 0.5rem;
  border-bottom: thin solid var(--text-color);
}

section.testimonials .container .testimonial-slider .actual-carousel {
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
}

section.testimonials .container .testimonial-slider .actual-carousel .testimonial-slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

section.testimonials .container .testimonial-slider .actual-carousel .testimonial-slides .testimonial-slide .traveller-message {
  color: var(--text-color);
  line-height: 1.75;
  margin-bottom: 121px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section.testimonials .container .testimonial-slider .actual-carousel .testimonial-slides .testimonial-slide .reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
  bottom: 0;
}

section.testimonials .container .testimonial-slider .actual-carousel .testimonial-slides .testimonial-slide .reviewer .profile-pic {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
}

section.testimonials .container .testimonial-slider .actual-carousel .testimonial-slides .testimonial-slide .reviewer .rating-name .rating i {
  color: #e4a853;
}

section.testimonials .container .testimonial-slider .actual-carousel .testimonial-slides .testimonial-slide .reviewer .rating-name h3 {
  color: var(--brown-primary);
  font-family: var(--heading-font);
  font-size: 1rem;
  text-transform: capitalize;
  font-weight: 600;
}

/* Navigation Dots */
section.testimonials .container .testimonial-slider .testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 3rem;

  width: fit-content;
  margin-inline: auto;
}

.testimonial-dot {
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  border: thin solid var(--brown-primary);
  cursor: pointer;

  position: relative;
}

.testimonial-dot::after {
  content: "";
  position: absolute;

  background: white;
  inset: 2px;
  transition: background-color 0.3s ease;
  border-radius: 50%;
}

.testimonial-dot:hover::after,
.testimonial-dot.active-testimonial-dot::after {
  background-color: var(--brown-primary);
}

/*----- TESTIMONIAL RESPONSIVENESS -----*/
@media (max-width: 1250px) {
  section.testimonials .container .left h2.section-heading {
    font-size: 1.5rem;
    width: 40vw;
  }

  section.testimonials .container .testimonial-slider {
    bottom: -40%;
  }
}

@media (max-width: 800px) {
  section.testimonials .container .left h2.section-heading {
    width: 100%;
  }

  section.testimonials .container .left a {
    margin-bottom: 4rem;
  }

  section.testimonials .container .testimonial-slider {
    position: static;
    width: 100%;
  }

  section.testimonials .container .testimonial-slider .testimoial-header {
    width: 100%;
  }
}

@media (max-width: 500px) {
  section.testimonials .container .testimonial-slider .testimoial-header {
    font-size: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 400px) {
  section.testimonials .container .testimonial-slider {
    padding: 1.5rem 1rem;
  }
}

/*===== PARTNERS SECTION STYLES =====*/
section.partners {
  background: var(--vast-background);
  padding-block: 3rem;
}

.logos-carousel-container {
  width: 60%;
  overflow: hidden;
  position: relative;
}

.logos-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.logos-carousel .logo {
  flex: 0 0 33.34%;
  /*min-width: 33.33%;  Show three logos at a time */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logos-carousel .logo img {
  width: 150px;
  height: auto;
}

/*----- PARTNERS RESPONSIVENESS -----*/
@media (max-width: 800px) {
  .logos-carousel-container {
    width: 100%;
  }

  .logos-carousel .logo {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .logos-carousel .logo img {
    width: 100px;
  }
}

/*===== FOOTER STYLES =====*/
footer {
  background-color: var(--brown-primary);
  padding-top: 6rem;
}

footer .container .upper-footer .contacts {
  display: flex;
  justify-content: space-between;
  padding: 2rem 3rem;
  border: thin solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
}

footer .container .upper-footer .contacts .contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  font-size: 18px;
}

footer .container .upper-footer .contacts .contact-card h3 {
  font-family: var(--heading-font);
  font-weight: 600;
}

footer .container .upper-footer .contacts .contact-card img {
  height: 65px;
}

footer .container .upper-footer .contacts .footer-contact-links-divider {
  width: 1px;
  min-height: 100%;
  margin-right: 20px;
  margin-left: 20px;
  background-color: rgba(255, 255, 255, 0.1);
}

footer .container .upper-footer .actual-footer {
  display: flex;
  justify-content: space-between;
  border-bottom: thin solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
}

footer .container .upper-footer .actual-footer .column {
  width: 33.33%;
  display: flex;
  justify-content: center;
}

footer .container .upper-footer .actual-footer .branding-socials {
  padding-block: 2rem;
}

footer .container .upper-footer .actual-footer .branding-socials .footer-logo img {
  width: 160px;
  margin-bottom: 1rem;
}

footer .container .upper-footer .actual-footer .branding-socials .text-and-socials p {
  color: white;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

footer .container .upper-footer .actual-footer .branding-socials .text-and-socials li {
  display: inline-block;
  margin-right: 5px;
  z-index: 1;
  position: relative;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-right: 5px;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
  border-radius: 100%;
  border: 1px solid white;
}

footer .container .upper-footer .actual-footer .branding-socials .text-and-socials li a {
  color: white;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

footer .container .upper-footer .actual-footer .branding-socials .text-and-socials li:hover {
  background: white;
}

footer .container .upper-footer .actual-footer .branding-socials .text-and-socials li:hover a {
  color: var(--brown-primary);
}

footer .container .upper-footer .actual-footer .quick-links {
  padding-block: 45px;
  color: white;
}

footer .container .upper-footer .actual-footer .quick-links h3 {
  font-size: 1.25rem;
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

footer .container .upper-footer .actual-footer .quick-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

footer .container .upper-footer .actual-footer .quick-links ul li a {
  text-decoration: none;
  color: white;
  position: relative;
}

footer .container .upper-footer .actual-footer .quick-links ul li a i {
  margin-right: 0.5rem;
}

footer .container .upper-footer .actual-footer .quick-links ul li a span {
  position: relative;
}

footer .container .upper-footer .actual-footer .quick-links ul li a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;

  background-color: white;
  width: 0;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

footer .container .upper-footer .actual-footer .quick-links ul li a:hover span::after {
  width: 100%;
}

footer .container .upper-footer .actual-footer .subscribe {
  padding-block: 45px;
  color: white;
}

footer .container .upper-footer .actual-footer .subscribe h3 {
  font-size: 1.25rem;
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

footer .container .upper-footer .actual-footer .subscribe .text-and-form {
  position: relative;
}

footer .container .upper-footer .actual-footer .subscribe .text-and-form p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75em;
  max-width: 360px;
  margin-bottom: 20px;
}

footer .container .upper-footer .actual-footer .subscribe .text-and-form input {
  outline: none;
  max-width: 100%;
  margin-bottom: 0px;
  padding: 20px;
  height: auto;
  background: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  border-radius: 0px;
  display: block;
  width: 100%;

  font-size: 16px;
  font-weight: 400;
  color: #676977;
}

footer .container .upper-footer .actual-footer .subscribe .text-and-form button {
  height: 50px;
  border: none;
  background: var(--brown-primary);
  font-size: 16px;
  color: #fff;
  outline: none;
  padding: 0 25px;
  cursor: pointer;
  display: inline-block;
  position: absolute;
  bottom: 4px;
  right: 5px;
}

footer .container .lower-footer {
  padding-block: 2rem;
  color: white;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}

/*----- FOOTER RESPOSIVENESS -----*/
@media (max-width: 1250px) {
  footer .container .upper-footer .contacts {
    padding: 1.5rem;
  }
}

@media (max-width: 1023px) {
  footer .container .upper-footer .contacts {
    flex-direction: column;
    padding: 2rem 3rem;
  }

  footer .container .upper-footer .contacts .footer-contact-links-divider {
    width: 100%;
    height: 1px;
    margin-block: 2rem;
    margin-right: unset;
    margin-left: unset;
  }
}

@media (max-width: 760px) {
  footer .container .upper-footer .actual-footer {
    flex-direction: column-reverse;
  }

  footer .container .upper-footer .actual-footer .column {
    justify-content: start;
  }

  footer .container .upper-footer .actual-footer .subscribe .text-and-form p,
  footer .container .upper-footer .actual-footer .column {
    width: 360px;
  }

  footer .container .lower-footer {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  footer .container .upper-footer .contacts {
    padding: 1.5rem;
  }
}

@media (max-width: 400px) {
  footer .container .upper-footer .actual-footer .subscribe .text-and-form p,
  footer .container .upper-footer .actual-footer .column {
    width: 340px;
  }
}
