/*===== SHOWCASE STYLES =====*/
section.showcase {
  width: 100%;
  height: 100vh;
  /*background-image: linear-gradient(to top, hsla(0, 0%, 0%, 0.3), hsla(0, 0%, 0%, 0.3)), url(../images/banner-sample.webp);
    background-size: cover;
    background-repeat: no-repeat; */
  max-height: 700px;
  position: relative;
  overflow: hidden;
}

section.showcase .showcase-carousel {
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

section.showcase .showcase-carousel-item {
  height: 100%;
  width: 100%;
  position: relative;
}

section.showcase .showcase-carousel-item img.slider-image {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

section.showcase .item-image-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 1;
}

section.showcase .showcase-carousel-item .pre-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
}

section.showcase .container {
  height: 100%;
  display: flex;
  align-items: center;
}

section.showcase .left-right-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  height: fit-content;
  transform: translateY(-50%);
  font-size: 2rem;
  z-index: 11;
}

section.showcase .left-right-controls .container {
  position: relative;
}

section.showcase .left-right-controls .container .the-controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 1rem;
}

section.showcase .left-right-controls .container .the-controls .the-control {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  border: thin solid white;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in;
}

section.showcase .left-right-controls .container .the-controls .the-control:hover {
  background-color: var(--brown-primary);
}

section.showcase .showcase-dots {
  position: absolute;
  bottom: 3rem;
  width: fit-content;
  height: fit-content;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}

section.showcase .showcase-dots .container {
  width: fit-content;
}

section.showcase .showcase-dots .showcase-dots-container {
  width: fit-content;
  margin-inline: auto;
  display: flex;
  gap: 3rem;
}

section.showcase .showcase-dots .showcase-dots-container .showcase-dot {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 100%;
  border: thin solid white;
  display: inline-block;

  pointer-events: none;
  transition: all 0.2s ease-in;
}

section.showcase .showcase-dots .showcase-dots-container .showcase-dot.active,
section.showcase .showcase-dots .showcase-dots-container .showcase-dot:hover {
  background: var(--brown-primary);
}

section.showcase .container .showcase-intro {
  width: fit-content;
  height: fit-content;
  color: white;
  display: flex;
  flex-direction: column;
}

section.showcase .container .showcase-intro h1 {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--heading-font);
  width: 700px;
  text-align: start;
  letter-spacing: 2px;
  line-height: 1.3;
  margin-bottom: 4.5rem;
  margin-top: 3rem;
}

section.showcase .container .showcase-intro h1 span {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

section.showcase .container .showcase-intro .find-tour p {
  font-size: 28px;
  letter-spacing: 6px;

  margin-bottom: 22px;
}

section.showcase .container .showcase-intro .find-tour .form-wrapper {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
}

section.showcase .container .showcase-intro .find-tour .form-wrapper form {
  background: white;
  display: flex;
}

section.showcase .container .showcase-intro .find-tour .form-wrapper form .selects {
  display: flex;
}

section.showcase .container .showcase-intro .find-tour .form-wrapper form .selects .select-wrapper {
  position: relative;
}

/* Selected option (acts like the visible part of a select box) */
.selected-option {
  padding: 1rem 4rem 1rem 2rem;
  cursor: pointer;
  background-color: #fff;
  user-select: none;
  color: var(--text-color);
  border-right: thin solid var(--text-color);
  font-size: 16px;
  width: 190px;
  text-transform: capitalize;
}

.selected-option i {
  position: absolute;
  right: 30px;
  color: var(--brown-primary);
  top: 50%;
  transform: translateY(-50%);
}

/* Options container (dropdown menu) */
.options-container {
  display: none; /* Hidden by default */
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;

  border-bottom: 2px solid var(--brown-primary);
  background-color: #fff;
  z-index: 10;
  overflow-y: auto;
  /*max-height: 150px;  Optional: Limit height for long lists */
}

/* Individual options */
.option {
  padding: 10px;
  cursor: pointer;
  user-select: none;
  color: black;
  text-transform: capitalize;
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: thin solid #f4f5f8;
}

.option:last-child {
  border-bottom: none;
}

.option:hover,
.option-active {
  background-color: var(--brown-primary);
  color: white;
}

/* Show the dropdown when active */
.select-wrapper.active .options-container {
  display: block;
}

.date-picker-container {
  display: flex;
  align-items: center;
  position: relative;
  border-right: thin solid var(--text-color);
  width: 200px;
}

#endDate {
  border-right: none;
}

.date-picker-container input {
  text-indent: 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-color);
  font-family: var(--paragraph-font);
  cursor: pointer;
  height: 100%;
}

.date-picker-container input::placeholder {
  font-size: 16px;
  color: var(--text-color);
  font-family: var(--paragraph-font);
}

.date-picker-container input:focus {
  border: none;
  outline: none;
}

.date-picker-container i.fa-calendar-alt {
  color: var(--brown-primary);
  position: absolute;
  right: 30px;
  pointer-events: none;
}

.calendar {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 300px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 10px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: var(--brown-primary);
  color: white;
  font-family: var(--paragraph-font);
}

.calendar-header h2 {
  margin: 0;
  font-size: 18px;
}

.calendar-header button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.calendar-days,
.days-wrapper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 10px;
}

.day-name {
  color: var(--brown-primary);
}

.day {
  color: var(--text-color);
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.day:hover {
  background-color: var(--brown-primary);
  color: white;
}

.current-day {
  background-color: var(--brown-primary);
  color: white;
}

section.showcase .container .showcase-intro .find-tour .form-wrapper form button[type="submit"] {
  padding-inline: 2rem;
  border: none;
  border-radius: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brown-primary);
  color: white;
  cursor: pointer;
}

section.showcase .container.tour {
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

section.showcase .container.tour .tour-heading {
  margin-bottom: 2rem;
}

section.showcase .container.tour .tour-heading h1 {
  font-family: var(--heading-font);
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 700;
}

section.showcase .container.tour .tour-heading p {
  font-size: 18px;
}

section.showcase .container.tour .tour-brief ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

section.showcase .container.tour .tour-brief ul li {
  display: flex;
  gap: 0.5rem;
  font-size: 18px;
  align-items: baseline;
}

section.showcase .container.tour .tour-brief .rating-pricing {
  display: flex;
  gap: 3rem;
  font-size: 18px;
}

section.showcase .container.tour .tour-brief .rating-pricing .rating {
  display: flex;
  gap: 0.25rem;
}

section.showcase .container.tour .tour-brief .rating-pricing .rating i {
  color: #e4a853;
  margin-right: 3px;
}

section.showcase .container.tour .tour-brief .rating-pricing .pricing {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

section.showcase .container.anchor .tour-anchor {
  position: absolute;
  bottom: 5rem;
  z-index: 10;
}

section.showcase .container.anchor a {
  text-decoration: none;
  display: inline-block;

  color: var(--brown-primary);
  font-size: 18px;
  width: fit-content;
  position: relative;
}

/*section.showcase .container.tour a::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
  
    height: 1px;
    width: 200%;
    background: white;
  }
  
  section.showcase .container.tour a::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
  
    height: 1px;
    width: 1000%;
    background: white;
  } */

section.showcase .container.anchor a .tour-link {
  background: rgba(255, 255, 255, 0.4);
  border: thin solid white;
  width: fit-content;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  padding-right: 1.5rem;
  border-radius: 50px;
}

section.showcase .container.anchor a i {
  color: white;
  font-size: 16px;
}

section.showcase .container.anchor a p.icon {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  background: var(--brown-primary);
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*----- HOME BANNER RESPONSIVENESS -----*/
@media (max-width: 1250px) {
  section.showcase .container.tour {
    width: 95%;
  }

  section.showcase .showcase-dots .showcase-dots-container {
    gap: 2rem;
  }

  section.showcase .showcase-dots {
    left: 60%;
    transform: translateX(-60%);
  }
}

@media (max-width: 800px) {
  section.showcase .container.tour .tour-heading h1 {
    font-size: 24px;
  }

  section.showcase .showcase-dots {
    display: none;
  }

  section.showcase .left-right-controls {
    top: unset;
    transform: unset;
    bottom: 16%;
    right: 5%;
  }

  section.showcase .container.anchor .tour-anchor {
    bottom: 11%;
  }
}

@media (max-width: 460px) {
  section.showcase .left-right-controls {
    right: unset;
    bottom: 15%;
  }

  section.showcase .container.anchor a .tour-link {
    padding: 0.5rem;
    padding-right: 1.5rem;
  }

  section.showcase .left-right-controls .container .the-controls .the-control {
    width: 50px;
    height: 50px;
  }
}

/*===== ABOUT SECTION STYLES =====*/
section.about {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

section.about h2 {
  width: 340px;
  line-height: 1.2;
  margin-bottom: 2rem;
}

section.about .about-content {
  display: flex;
  justify-content: space-between;
}

section.about .about-content .about-content-message {
  flex-basis: 43%;
  max-width: 520px;
}

section.about .about-content .about-content-message .paragraphs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.75;
}

section.about .about-content .about-content-message .about-content-summary {
  font-size: 20px;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

section.about .about-content .about-content-message .about-content-summary i {
  color: var(--brown-primary);
  margin-right: 1rem;
}

section.about .about-content .about-content-message .more-information {
  font-size: 18px;
  color: var(--text-color);
}

section.about .about-content .about-content-message .more-information .info-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: fit-content;
}

section.about .about-content .about-content-message .more-information .info-links a {
  text-decoration: none;
  color: var(--brown-primary);
  font-size: 20px;
}

section.about .about-content .about-content-message .more-information .info-links a img {
  width: 20px;
  margin-right: 1rem;
}

section.about .about-content .about-content-message .more-information .info-links a i {
  margin-right: 1rem;
}

section.about .about-content .about-content-image {
  position: relative;
  isolation: isolate;
  flex-basis: 57%;
  max-width: 680px;
}

section.about .about-content .about-content-image img.main-about-img {
  position: absolute;
  right: 44px;
  display: block;
  z-index: 2;
  top: 0;
}

section.about .about-content .about-content-image img.dots-pattern {
  position: absolute;
  top: -36px;
  left: 184px;
}

section.about .about-content .about-content-image img.stamp {
  position: absolute;
  right: -5%;
  z-index: 3;
  bottom: 10%;
  animation: rotateAntiClockwise 9s linear infinite;
}

/* rotate the stamp animation */
@keyframes rotateAntiClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

section.about .about-content .about-content-image::after {
  content: "";
  display: block;
  position: absolute;
  width: 409px;
  right: 0;
  top: 44px;
  height: 511px;
  background: var(--brown-primary);
}

/*---- ABOUT SECTION RESPONSIVENESS -----*/
@media (max-width: 1250px) {
  section.about .about-content .about-content-message {
    flex-basis: unset;
    max-width: unset;
    width: clamp(22.125rem, -22.5586rem + 76.875vw, 37.5rem);
  }

  section.about .about-content .about-content-image {
    width: 450px;
    flex-basis: unset;
  }

  section.about .about-content .about-content-image img.dots-pattern {
    left: -10%;
  }
}

@media (max-width: 930px) {
  section.about {
    margin-bottom: 5rem;
  }

  section.about .about-content {
    flex-direction: column;
  }

  section.about .about-content .about-content-image {
    height: 500px;
    margin-top: 2rem;
  }

  section.about .about-content .about-content-image img.dots-pattern {
    display: none;
  }

  section.about .about-content .about-content-message {
    width: 100%;
  }

  section.about .about-content .about-content-image img.stamp {
    right: -10%;
  }
}

@media (max-width: 512px) {
  section.about {
    margin-bottom: unset;
    padding-top: 3rem;
  }

  section.about .section-heading {
    font-size: 1.5rem;
    text-align: center;
  }

  section.about .about-content .about-content-image img.stamp {
    display: none;
  }

  section.about .about-content .about-content-image::after {
    display: none;
  }

  section.about .about-content .about-content-image {
    width: 100%;
    height: unset;
  }

  section.about .about-content .about-content-image img.main-about-img {
    position: static;
    width: 100%;
  }
}

/*===== CURRENT TOURS SECTION STYLES =====*/
section.current-tours {
  color: var(--text-color);
  background: var(--vast-background);
  font-size: 18px;
}

section.current-tours h2 {
  font-size: 45px;
}

section.current-tours .container {
  display: flex;
  flex-direction: column;
}

section.current-tours .container .tours-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

section.current-tours .container .tour-card {
  display: flex;
  justify-content: space-between;
}

section.current-tours .container .tour-card.invert-card {
  flex-direction: row-reverse;
}

section.current-tours .container .tour-card .tour-brief {
  flex-basis: 45%;
  max-width: 470px;
}

section.current-tours .container .tour-card .tour-brief h3 {
  margin-top: 2rem;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--brown-primary);
  text-transform: uppercase;
  font-size: 32px;
}

section.current-tours .container .tour-card .tour-brief .paragraphs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  line-height: 1.75;
}

section.current-tours .container .tour-card .tour-brief .destinations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 1rem;
}

section.current-tours .container .tour-card .tour-brief .destinations .location {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: capitalize;
}

section.current-tours .container .tour-card .tour-brief .destinations .location img {
  display: block;
}

section.current-tours .container .tour-card .tour-brief a {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  padding: 1rem 2rem;
  background: var(--brown-primary);
  color: white;
  line-height: 0;
}

section.current-tours .container .tour-card .tour-brief a img {
  display: inline-block;
  margin-left: 0.5rem;
}

/*----- carousel interaction related styles -----*/
.carousel {
  width: 100%;
  height: 550px;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 2.5rem;
}

/* Navigation Dots */
.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  border: thin solid var(--brown-primary);
  cursor: pointer;

  position: relative;
}

.dot::after {
  content: "";
  position: absolute;

  background: white;
  inset: 2px;
  transition: background-color 0.3s ease;
  border-radius: 50%;
}

.dot:hover::after,
.dot.active-dot::after {
  background-color: var(--brown-primary);
}

section.current-tours .container .tours-slider {
  flex-basis: 55%;
  max-width: 650px;
}

section.current-tours .container .tours-slider .slide {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

section.current-tours .container .tours-slider .slide a {
  color: white;
  text-decoration: none;
}

section.current-tours .container .tours-slider .slide .tour-image-card {
  width: 306px;
  height: 455px;
  position: relative;
  background-size: cover;
}

section.current-tours .container .tours-slider .slide .tour-image-card .tour-price {
  position: absolute;
  top: 5%;
  right: 7%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 0.5rem;
  background: var(--brown-primary);
}

section.current-tours .container .tours-slider .slide .tour-image-card .card-footer {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 275px;
}

section.current-tours .container .tours-slider .slide .tour-image-card .card-footer h4 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 22px;
  position: relative;
  width: fit-content;
  text-transform: capitalize;
}

section.current-tours .container .tours-slider .slide .tour-image-card .card-footer h4::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 65%;
  background: white;
  bottom: 0;
  left: 0;
  transition: width 300ms ease-in;
  transition-delay: 200ms;
}

section.current-tours .container .tours-slider .slide .tour-image-card .card-footer .control-height {
  max-height: 0;
  overflow: hidden;
  transition: all 300ms ease-in;
}

section.current-tours .container .tours-slider .slide a:hover .tour-image-card .card-footer h4::after {
  width: 275px;
}

section.current-tours .container .tours-slider .slide a:hover .tour-image-card .card-footer .control-height {
  max-height: 50px;
  transition: all 300ms ease-in;
  width: 100%;
}

section.current-tours .container .tours-slider .slide a .tour-image-card .card-footer .hidden-details {
  padding-top: 1.25rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

section.current-tours .container .tours-slider .slide a .tour-image-card .card-footer .hidden-details .detail-entry {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

/*----- CURRENT TOURS RESPONSIVENESS -----*/
@media (max-width: 1250px) {
  section.current-tours .container .tours-slider {
    flex-basis: unset;
    width: 306px;
  }

  section.current-tours .container .tour-card .tour-brief {
    flex-basis: unset;
    max-width: unset;
    width: calc(100% - 352px);
  }
}

@media (max-width: 767px) {
  section.current-tours .container .tours-slider {
    width: 650px;
    margin-inline: auto;
  }

  section.current-tours .container .tour-card,
  section.current-tours .container .tour-card.invert-card {
    flex-direction: column;
    gap: 3rem;
  }

  section.current-tours .container .tour-card .tour-brief {
    width: 100%;
  }

  section.current-tours .container .tour-card.invert-card {
    margin-top: -6rem;
  }
}

@media (max-width: 680px) {
  section.current-tours .container .tours-slider {
    width: 306px;
    margin-inline: auto;
  }

  section.current-tours .container .tour-card .tour-brief a {
    margin-inline: auto;
  }

  section.current-tours h2 {
    text-align: center;
    font-size: 2rem;
  }

  .dots {
    bottom: 30px;
  }

  section.current-tours .container .tour-card .tour-brief h3 {
    text-align: center;
    font-size: 1.5rem;
  }

  section.current-tours .container .tour-card .tour-brief .destinations {
    grid-template-columns: repeat(3, auto);
  }

  section.current-tours .container .tour-card .tour-brief .destinations .location {
    gap: 0.5rem;
  }
}

/*===== PARALLAX SECTION STYLES =====*/
section.parallax {
  background-image: url("../images/parallax-bg.webp");
  height: 470px;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--vast-background);
}

/*section.parallax::before {
    content: "";
    position: absolute;
    display: block;
    inset: 0;
    background-color: black;
    opacity: 0.6;
    mix-blend-mode: normal;
  } */

section.parallax .container {
  display: flex;
  justify-content: space-between;
}

section.parallax .container .stats-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.parallax .container .stats-entry .icon {
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

section.parallax .container .stats-entry .icon::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.5);
}

section.parallax .container .stats-entry .icon img {
  display: block;
}

section.parallax .container .stats-entry p.big-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-top: 1.5rem;
}

section.parallax .container .stats-entry p.title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-align: center;
}

/*----- PARALLAX RESPONSIVENESS ------*/
@media (max-width: 1250px) {
  section.parallax .container .next-start-arrow img {
    width: clamp(5.625rem, -8.5161rem + 29.4606vw, 14.5rem);
  }
}

@media (max-width: 767px) {
  section.parallax {
    height: unset;
  }
  section.parallax .container {
    flex-direction: column;
    gap: 2rem;
  }
  section.parallax .container .next-start-arrow img {
    display: none;
  }
}

/*===== OPPORTUNITES SECTION STYLES =====*/
section.opportunities {
  background-color: var(--vast-background);
}

section.opportunities h2 {
  font-size: 45px;
  width: 330px;
  line-height: 1.1;
  margin-bottom: 4rem;
}

section.opportunities .opportunities-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

section.opportunities .opportunities-wrapper .opportunity-card {
  width: 100%;
  position: relative;
}

section.opportunities .opportunities-wrapper .opportunity-card figure {
  width: min(53vw, 745px);
}

section.opportunities .opportunities-wrapper .opportunity-card.jobs figure {
  margin-left: auto;
}

section.opportunities .opportunities-wrapper .opportunity-card img.opportunity-img {
  width: 100%;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content {
  background: white;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 640px;
  padding-inline: 2.5rem;
  padding-block: 2.5rem;
  color: var(--text-color);
  font-size: 18px;
}

section.opportunities .opportunities-wrapper .opportunity-card.jobs .card-content {
  left: 0;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--brown-primary);
  text-transform: uppercase;
  font-size: 32px;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content .paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.75;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content .destinations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 1rem;
  color: var(--text-color);
  font-size: 18px;
  margin-top: 2rem;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content .destinations .location {
  display: flex;
  align-items: center;
  gap: 1rem;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content a {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  color: var(--brown-primary);
  line-height: 0;
  margin-top: 2rem;
  position: relative;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background: var(--brown-primary);
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease-in;
}

section.opportunities .opportunities-wrapper .opportunity-card .card-content a:hover::after {
  width: 100%;
}

/*----- OPPORTUNITIES RESPONSIVENESS ------*/
@media (max-width: 1250px) {
  section.opportunities .opportunities-wrapper .opportunity-card figure {
    width: clamp(40rem, 33.4867rem + 10.177vw, 41.4375rem);
  }
}

@media (max-width: 1023px) {
  section.opportunities .opportunities-wrapper .opportunity-card {
    display: flex;
    flex-direction: column;
  }

  section.opportunities .opportunities-wrapper .opportunity-card.jobs figure {
    margin: unset;
  }

  section.opportunities .opportunities-wrapper .opportunity-card.jobs figure img {
    display: block;
  }

  section.opportunities .opportunities-wrapper .opportunity-card .card-content {
    position: static;
    transform: unset;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  }

  section.opportunities .opportunities-wrapper .opportunity-card figure {
    width: 100%;
  }
}

@media (max-width: 500px) {
  section.opportunities h2 {
    font-size: 32px;
    text-align: center;
  }

  section.opportunities .opportunities-wrapper .opportunity-card .card-content h3 {
    font-size: 1.5rem;
  }

  section.opportunities .opportunities-wrapper .opportunity-card .card-content {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
}

@media (max-width: 450px) {
  section.opportunities .opportunities-wrapper .opportunity-card .card-content .destinations {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*===== NEWS SECTION STYLES =====*/
section.news {
  color: white;
  background: var(--brown-primary);
}

section.news h2 {
  color: white;
  font-size: 45px;
  margin-bottom: 3rem;
}

section.news .news-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

section.news .news-carousel-container .news-carousel {
  display: flex;
  overflow: hidden;
}

section.news .news-carousel-container .news-carousel .news-carousel-track {
  display: flex;

  transition: transform 0.5s ease-in-out;
  justify-content: space-between;
  width: 100%;
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 353px;
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item .carousel-item-img {
  position: relative;
  overflow: hidden;
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item .carousel-item-img img {
  width: 100%;
  transition: all 1s ease;
  padding-bottom: 132%;
  height: 100%;
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item .carousel-item-img .news-date {
  padding: 0.5rem 1rem;
  background: var(--brown-primary);
  position: absolute;
  top: 5%;
  left: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item .carousel-item-img .news-date p.month {
  text-transform: uppercase;
  font-size: 13px;
  color: white;
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item .carousel-item-img .news-date p.date {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

section.news .news-carousel-container .news-carousel .news-carousel-track a {
  text-decoration: none;
}

section.news .news-carousel-container .news-carousel .news-carousel-track a:hover .carousel-item-img img {
  transform: scale(1.1);
}

section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item h3 {
  background: white;
  color: var(--brown-primary);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  width: 80%;
  padding: 2rem 2rem;

  text-align: center;
  transition: 0.2s cubic-bezier(0.3, 0.58, 0.55, 1);
  position: relative;
  left: 50%;
  bottom: -12%;
  transform: translateX(-50%);

  margin-top: -525px;
}

section.news .news-carousel-container .news-carousel .news-carousel-track a:hover .news-carousel-item h3 {
  transform: translate(-50%, -85%);
}

section.news .news-carousel-container .carousel-controls {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

section.news .news-carousel-container .carousel-controls button {
  background: transparent;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  outline: none;
  border: thin solid white;
  cursor: pointer;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease-in-out;
}

section.news .news-carousel-container .carousel-controls button:hover {
  background: white;
  color: var(--brown-primary);
}

section.news .carousel-controls {
  margin-top: 6rem;
  width: fit-content;
  margin-inline: auto;
}

section.news .carousel-controls a {
  border: thin solid white;
  background-color: transparent;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  background-size: 17px 17px;
  padding: 17px 34px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

section.news .carousel-controls a:hover {
  padding: 17px 51px 17px 17px;
  background: white;
  color: var(--brown-primary);
}

section.news .carousel-controls a::after {
  position: absolute;
  top: 50%;
  right: 0.1em;
  -webkit-transform: translate(0, 60%);
  transform: translate(0, -60%);
  content: "»";
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 2.4rem;
}

section.news .carousel-controls a:hover::after {
  right: 0.6em;
  opacity: 1;
}

/*---- NEWS RESPONSIVENESS -----*/
@media (max-width: 1150px) {
  section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item {
    width: 310px;
  }

  section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item h3 {
    width: 90%;
    margin-top: -470px;
  }
}

@media (max-width: 1000px) {
  section.news h2 {
    text-align: center;
  }

  section.news .news-carousel-container .news-carousel .news-carousel-track {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item {
    width: 353px;
  }

  section.news .news-carousel-container .news-carousel .news-carousel-track .news-carousel-item h3 {
    width: 80%;
    margin-top: -525px;
  }
}

@media (max-width: 1000px) {
  section.news h2 {
    font-size: 32px;
  }
}
