.rd_pathways {
  background-color: #5c8791;
  padding-top: 100px;
  padding-bottom: 100px;
  color: var(--white);
}
.rd_slider_wrapper {
  width: calc(100% + 14px);
  margin-left: -0.4861vw;
  margin-right: -0.4861vw;
  margin-top: 2.7778vw;
}
.rd_slider {
  display: flex;
  align-items: center;
}
.rd_column {
  padding: 0.4861vw;
  height: auto;
}
.rd-item {
  background-color: var(--white);
  color: var(--black);
  padding: 2.7778vw 1.5278vw;
  border-radius: 0.6944vw;
  display: flex;
  flex-direction: column;
  align-items: start;
  height: 100%;
}
.rd-item .tag {
  color: var(--red);
  margin-bottom: 1.3889vw;
  text-transform: uppercase;
}
.rd-item h2.title {
  color: var(--black);
  margin-bottom: 0.2083vw;
  text-transform: uppercase;
}
.rd-item > span {
  color: #5c8791;
}
.rd-item .title-dec {
  margin-bottom: 3.4722vw;
}
.rd-item .heading {
  margin-bottom: 1.5972vw;
  font-family: "Nexa Bold", sans-serif;
}
.rd-item ul {
  margin: 1.0417vw 0;
  padding-inline-start: 1.3889vw;
}
.rd-item ul,
.rd-item ul li {
  list-style: disc;
}
.rd-item .dec {
  margin-bottom: 2.7778vw;
}
.rd-item .btn_wrapper {
  margin-top: auto;
}
.rd_pathways .section-title h2 {
  color: var(--white);
}
.rd_pathways:has(+ .contact_form_section) {
  margin-bottom: 0px;
}
.rd_pathways + .contact_form_section {
  margin-top: 0px;
}
.rd_pathways .btn {
  min-width: 12.3611vw;
}

.rd_slider_wrapper .slick-track {
  display: flex;
  align-items: stretch;
}

@-webkit-keyframes leftContentText {
  from {
    left: -110%;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@media (min-width: 992px) {
  /* Default state - all items hidden */
  .rd_pathways .rd_column .tag,
  .rd_pathways .rd_column .title,
  .rd_pathways .rd_column .title-dec,
  .rd_pathways .rd_column .heading,
  .rd_pathways .rd_column .dec,
  .rd_pathways .rd_column .btn_wrapper {
    right: -110%;
    opacity: 0;
    position: relative;
  }
  .rd_pathways.in-view .rd_column .tag,
  .rd_pathways.in-view .rd_column .title,
  .rd_pathways.in-view .rd_column .title-dec,
  .rd_pathways.in-view .rd_column .heading,
  .rd_pathways.in-view .rd_column .dec,
  .rd_pathways.in-view .rd_column .btn_wrapper {
    -webkit-animation: leftContentText 0.8s forwards;
    animation: leftContentText 0.8s forwards;
  }

  /* ── ITEM 1 ── starts immediately */
  .rd_pathways.in-view .rd_column:nth-child(1) .tag {
    animation-delay: 0.2s;
  }
  .rd_pathways.in-view .rd_column:nth-child(1) .title {
    animation-delay: 0.4s;
  }
  .rd_pathways.in-view .rd_column:nth-child(1) .title-dec {
    animation-delay: 0.6s;
  }
  .rd_pathways.in-view .rd_column:nth-child(1) .heading {
    animation-delay: 0.8s;
  }
  .rd_pathways.in-view .rd_column:nth-child(1) .dec {
    animation-delay: 1s;
  }
  .rd_pathways.in-view .rd_column:nth-child(1) .btn_wrapper {
    animation-delay: 1.2s;
  }

  /* ── ITEM 2 ── starts after item 1 finishes (~2s) */
  .rd_pathways.in-view .rd_column:nth-child(2) .tag {
    animation-delay: 1.7s;
  }
  .rd_pathways.in-view .rd_column:nth-child(2) .title {
    animation-delay: 1.8s;
  }
  .rd_pathways.in-view .rd_column:nth-child(2) .title-dec {
    animation-delay: 1.9s;
  }
  .rd_pathways.in-view .rd_column:nth-child(2) .heading {
    animation-delay: 2s;
  }
  .rd_pathways.in-view .rd_column:nth-child(2) .dec {
    animation-delay: 2.1s;
  }
  .rd_pathways.in-view .rd_column:nth-child(2) .btn_wrapper {
    animation-delay: 2.2s;
  }

  /* ── ITEM 3 ── starts after item 2 finishes (~4s) */
  .rd_pathways.in-view .rd_column:nth-child(3) .tag {
    animation-delay: 3s;
  }
  .rd_pathways.in-view .rd_column:nth-child(3) .title {
    animation-delay: 3.2s;
  }
  .rd_pathways.in-view .rd_column:nth-child(3) .title-dec {
    animation-delay: 3.4s;
  }
  .rd_pathways.in-view .rd_column:nth-child(3) .heading {
    animation-delay: 3.6s;
  }
  .rd_pathways.in-view .rd_column:nth-child(3) .dec {
    animation-delay: 3.8s;
  }
  .rd_pathways.in-view .rd_column:nth-child(3) .btn_wrapper {
    animation-delay: 4s;
  }
}

@media (max-width: 1199px) {
  .rd_slider_wrapper {
    width: calc(100% + 14px);
    margin-left: -7px;
    margin-right: -7px;
    margin-top: 40px;
  }
  .rd_column {
    padding: 7px;
  }
  .rd-item {
    background-color: var(--white);
    color: var(--black);
    padding: 40px 20px;
    border-radius: 10px;
  }
  .rd-item .tag {
    margin-bottom: 20px;
  }
  .rd-item h2.title {
    margin-bottom: 3px;
  }
  .rd-item .title-dec {
    margin-bottom: 50px;
  }
  .rd-item .heading {
    margin-bottom: 23px;
  }
  .rd-item ul {
    margin: 15px 0;
    padding-inline-start: 20px;
  }
  .rd-item .dec {
    margin-bottom: 40px;
  }
  .rd_pathways .btn {
    min-width: 178px;
  }
}

@media (max-width: 767px) {
  .rd-item {
    height: auto;
  }
  .rd_slider_wrapper .slick-track {
    align-items: start;
  }
}
