.island-wrap {
  position: relative;
  overflow-y: clip;
}

.island-cards {
  position: relative;
}

.island-card {
  display: grid;
  position: relative;
}
@media (min-width: 768px) {
  .island-card {
    position: sticky;
    top: 115px;
  }
}
.island-card figure {
  position: relative;
  place-content: center;
  grid-column: 1/2;
  grid-row: 1/2;
  margin: 0;
}
.island-card figure:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(278.12deg, rgba(41, 16, 69, 0.35) 4.36%, #291045 83.04%);
}
[dir=rtl] .island-card figure:before {
  transform: scaleX(-1);
}
.island-card figure img {
  min-height: 100%;
  width: 100%;
}
.island-card .section-title h2:before {
  background: rgba(255, 255, 255, 0.2);
}

.section-title h2 {
  font-size: 24px;
}

.islandcard-text {
  color: #fff;
  grid-column: 1/2;
  grid-row: 1/2;
  position: relative;
  display: flex;
  padding-inline: 40px;
}
@media (min-width: 768px) {
  .islandcard-text {
    padding-inline-end: 80px;
  }
}
@media (min-width: 1200px) {
  .islandcard-text {
    padding-top: 100px;
  }
}
.islandcard-text p {
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) {
  .islandcard-text p {
    font-size: 18px;
  }
}
@media (min-width: 1200px) {
  .islandcard-text p {
    font-size: 24px;
  }
}

.scroll-indicator {
  inset: 0;
  color: #fff;
  height: 1px;
  position: sticky;
  top: 15vh;
  z-index: 1;
}

.card-paging {
  --height: 1;
  --total: 5;
  position: absolute;
  top: 10vw;
  inset-inline-start: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.card-paging .progress-wrap {
  display: inline-block;
  width: 1px;
  height: 100px;
  background: #fff;
  position: relative;
}
.card-paging .track {
  position: absolute;
  top: 0;
  height: calc(var(--height) / var(--total) * 100%);
  width: 1px;
  background: #8F4866;
  transition: height ease 0.3s;
}

span.scroll {
  position: absolute;
  inset-inline-end: -60px;
  top: 12vh;
  transform: rotate(90deg);
  transform-origin: 0 100%;
}
[dir=rtl] span.scroll {
  inset-inline-end: 20px;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: center;
}
@media (max-width: 767.98px) {
  span.scroll {
    inset-inline-end: -110px;
    top: 2vh;
  }
  [dir=rtl] span.scroll {
    inset-inline-end: 10px;
  }
}
span.scroll svg {
  transform: rotate(-90deg);
  margin-inline-start: 5px;
  margin-top: -3px;
}
[dir=rtl] span.scroll svg {
  margin: 0;
}

.island-card figure {
  height: 100%;
}

.island-links {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  visibility: hidden;
}
.island-links.twocol {
  display: grid;
}
@media (min-width: 768px) {
  .island-links.twocol {
    grid-template-columns: 1fr 1fr;
  }
}
.island-links.twocol .island-link {
  max-width: none;
}
.island-links.show {
  opacity: 1;
  visibility: visible;
}

.island-link {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding-inline-end: 60px !important;
  border-radius: 12px;
  padding: 8px 16px;
  transition: all ease 0.3s;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
@media (min-width: 992px) {
  .island-link {
    border-radius: 18px;
  }
}
@media (min-width: 1400px) {
  .island-link {
    border-radius: 24px;
  }
}
@media (min-width: 768px) {
  .island-link {
    padding: 9px 24px;
    max-width: 50%;
  }
}
.island-link:hover {
  border-color: #fff;
}
.island-link h5 {
  font-size: 20px;
  color: #fff;
  margin: 0;
}
.island-link p {
  color: #fff;
  font-size: 16px;
  margin: 0;
}
.island-link a {
  color: #fff;
}
.island-link:after {
  content: "";
  width: 32px;
  height: 22px;
  background-color: #fff;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("../images/arrow.svg");
  mask-image: url("../images/arrow.svg");
  -webkit-mask-size: contain;
          mask-size: contain;
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
}
[dir=rtl] .island-link:after {
  transform: translateY(-50%) scaleX(-1);
}

.island-header p {
  margin: 0;
  line-height: 1.334;
}
@media (min-width: 1200px) {
  .island-header p {
    font-size: 24px;
  }
}

.collage2 {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 424/374;
  padding: 20px;
  grid-column: 1/2;
  grid-row: 1/2;
  transition: all ease 0.5s;
}
.collage2 div {
  transition: all ease 0.5s;
}
.collage2 .image1 {
  padding-inline-end: 20%;
  transform: rotate(-6.7deg) translateZ(0);
}
[dir=rtl] .collage2 .image1 {
  transform: rotate(6.7deg) translateZ(0);
}
.collage2 .image1 img {
  aspect-ratio: 168/143;
}
.collage2 .image2 {
  transform: rotate(6.4deg) translateZ(0);
}
[dir=rtl] .collage2 .image2 {
  transform: rotate(-6.4deg) translateZ(0);
}
.collage2 .image2 img {
  aspect-ratio: 220/167;
}
.collage2 .image3 {
  padding-inline: 10%;
  transform: rotate(3.96deg) translateZ(0);
}
[dir=rtl] .collage2 .image3 {
  transform: rotate(-3.96deg) translateZ(0);
}
.collage2 .image3 img {
  aspect-ratio: 174/168;
}
.collage2 .image4 {
  padding-inline: 10%;
  padding-inline-start: 5%;
  padding-top: 10%;
  transform: rotate(3.96deg) translateZ(0);
}
[dir=rtl] .collage2 .image4 {
  transform: rotate(-3.96deg) translateZ(0);
}
.collage2 .image4 img {
  aspect-ratio: 175/157;
}
.collage2 img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0px 46.15px 41.03px -42.31px rgba(61, 52, 21, 0.3098039216);
}
@media (min-width: 992px) {
  .collage2 img {
    border-radius: 22.5px;
  }
}
@media (min-width: 1400px) {
  .collage2 img {
    border-radius: 30px;
  }
}
.collage2.collage-hover {
  opacity: 0;
  grid-column: 1/2;
  grid-row: 1/2;
}
.collage2.collage-hover div {
  transform: none !important;
}

.collage-wrap {
  display: grid;
}
.collage-wrap:hover .collage2 {
  opacity: 0;
}
.collage-wrap:hover .collage2.collage-hover {
  opacity: 1;
}

.card-tag {
  background: #8F4866;
  color: #fff;
  border-radius: 8px;
  padding: 6px 16px;
  display: inline-block;
  position: absolute;
  inset-inline-start: 16px;
  top: 16px;
}
@media (min-width: 992px) {
  .card-tag {
    border-radius: 12px;
  }
}
@media (min-width: 1400px) {
  .card-tag {
    border-radius: 16px;
  }
}

.carddetail-list {
  width: 100%;
}
.carddetail-list ul {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.carddetail-list h5 {
  color: #fff;
  font-family: var(--regular-font);
  font-size: 32px;
}
@media (max-width: 1399.98px) {
  .carddetail-list h5 {
    font-size: 24px;
  }
}
@media (max-width: 1199.98px) {
  .carddetail-list h5 {
    font-size: 20px;
  }
}
.carddetail-list span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 991.98px) {
  .carddetail-list span {
    font-size: 16px;
  }
}

.next-island {
  background: rgba(0, 0, 0, 0.8) url("../images/island-bg.webp") no-repeat;
  background-size: cover;
  text-align: center;
  padding: 20px;
}
[dir=rtl] .next-island {
  font-weight: 500;
}
.next-island a {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: #fff;
}
@media (max-width: 991.98px) {
  .next-island a {
    gap: 10px;
  }
}
.next-island a span {
  font-family: var(--secondary-font);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  margin-inline-start: 6px;
}
.next-island a:after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 38px;
  background-color: #fff;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("../images/arrow.svg");
  mask-image: url("../images/arrow.svg");
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (max-width: 991.98px) {
  .next-island a:after {
    width: 32px;
    height: 22px;
  }
}
[dir=rtl] .next-island a:after {
  transform: scaleX(-1);
}
.next-island .prev {
  flex-direction: row-reverse;
}
.next-island .prev:after {
  transform: scaleX(-1);
}
[dir=rtl] .next-island .prev:after {
  transform: none;
}

.project__nav {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .project__nav {
    gap: 60px;
  }
}
@media (min-width: 992px) {
  .project__nav {
    gap: 120px;
  }
}

.widget-figures {
  background: rgba(244, 239, 229, 0.7);
  border: 1px solid rgba(104, 98, 100, 0.0784313725);
  padding: 16px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1019607843);
  color: #8F4866;
  border-radius: 10px;
}
@media (min-width: 992px) {
  .widget-figures {
    border-radius: 15px;
  }
}
@media (min-width: 1400px) {
  .widget-figures {
    border-radius: 20px;
  }
}
@media (min-width: 768px) {
  .widget-figures {
    padding: 20px;
  }
}
@media (min-width: 1200px) {
  .widget-figures {
    padding: 30px;
  }
}
@media (min-width: 1400px) {
  .widget-figures {
    padding: 50px;
    margin-top: 46px;
  }
}
.widget-figures ul {
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.widget-figures ul:before, .widget-figures ul:after {
  content: "";
  width: 1px;
  border-inline-start: 1px dashed #8F4866;
}
@media (max-width: 767.98px) {
  .widget-figures ul:before, .widget-figures ul:after {
    border-top: 1px dashed #8F4866;
    height: 1px;
    width: 90%;
    margin-inline: auto;
    margin-block: 10px;
  }
}
.widget-figures ul:before {
  order: 2;
}
.widget-figures ul:after {
  order: 4;
}
@media (min-width: 768px) {
  .widget-figures ul {
    flex-direction: row;
  }
}
@media (min-width: 992px) {
  .widget-figures ul {
    gap: 20px;
  }
}
.widget-figures ul:has(li:nth-child(2):last-child)::after {
  display: none;
}
.widget-figures ul li, .widget-figures ul .facts-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 992px) {
  .widget-figures ul li, .widget-figures ul .facts-item {
    gap: 20px;
  }
}
.widget-figures ul li:nth-child(1), .widget-figures ul .facts-item:nth-child(1) {
  order: 1;
}
.widget-figures ul li:nth-child(2), .widget-figures ul .facts-item:nth-child(2) {
  order: 3;
}
.widget-figures ul li:nth-child(3), .widget-figures ul .facts-item:nth-child(3) {
  order: 5;
}
.widget-figures ul li:has(.facts-item) {
  flex-direction: column;
  align-items: start;
  flex: 1;
}
.widget-figures ul h4, .widget-figures ul h5 {
  margin: 0;
  color: #8F4866;
  line-height: 1;
}
@media (max-width: 1399.98px) {
  .widget-figures ul h4 {
    font-size: 40px;
  }
}
@media (max-width: 767.98px) {
  .widget-figures ul h4 {
    font-size: 28px;
  }
}
.widget-figures ul h4 span {
  font-size: 16px;
  margin-inline-start: 4px;
}
.widget-figures ul h5 {
  font-size: 32px;
  text-transform: uppercase;
}
@media (max-width: 1600px) {
  .widget-figures ul h5 {
    font-size: 30px;
  }
}
@media (max-width: 1199.98px) {
  .widget-figures ul h5 {
    font-size: 20px;
  }
}
@media (max-width: 991.98px) {
  .widget-figures ul h5 {
    font-size: 18px;
  }
}
@media (max-width: 767.98px) {
  .widget-figures ul h5 {
    width: 100%;
  }
}
.widget-figures ul .facts-item {
  align-items: center;
}
@media (min-width: 1200px) {
  .widget-figures ul .facts-item h5 {
    font-size: 24px;
  }
}
.widget-figures ul:has(li:nth-child(4):last-child) .icon {
  flex-shrink: 0;
}
.widget-figures ul:has(li:nth-child(4):last-child):before, .widget-figures ul:has(li:nth-child(4):last-child):after {
  display: none;
}
@media (min-width: 768px) {
  .widget-figures ul:has(li:nth-child(4):last-child) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    -moz-column-gap: 30px;
         column-gap: 30px;
    align-items: start;
  }
  .widget-figures ul:has(li:nth-child(4):last-child):after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    border-inline-start: 1px dashed #8F4866;
  }
}
@media (min-width: 1200px) {
  .widget-figures ul:has(li:nth-child(4):last-child) {
    -moz-column-gap: 50px;
         column-gap: 50px;
  }
}
.widget-figures ul:has(li:nth-child(4):last-child) li {
  order: 0 !important;
  padding-block: 10px;
}
@media (max-width: 767.98px) {
  .widget-figures ul:has(li:nth-child(4):last-child) li + li {
    border-top: 1px dashed #8F4866;
  }
}
.widget-figures .facts-item {
  width: 100%;
}
@media (max-width: 1199.98px) {
  .widget-figures .icon {
    width: 32px;
  }
}

.slider-logos {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
}
.slider-logos > div {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.single-logo img {
  max-height: 90px;
}

.slider-logo-group {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
@media (max-width: 575.98px) {
  .slider-logo-group {
    flex-direction: column;
    gap: 20px;
  }
}
.slider-logo-group div {
  padding: 8px;
}
.slider-logo-group div:last-child {
  position: relative;
}
@media (min-width: 576px) {
  .slider-logo-group div:last-child::before {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background: #fff;
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}
.slider-logo-group img {
  max-height: 55px;
}
