.banner {
  position: relative;
}
.banner .banner-main-text {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  z-index: 4;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner .banner-main-text.active {
  opacity: 0;
}
.banner .banner-main-text .banner-heading {
  margin-top: 25px;
  color: #ffffff;
  font-family: "Fredoka", sans-serif;
  font-size: 40px;
  font-style: normal;
  letter-spacing: 0.8px;
  font-weight: 600;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.banner .banner-main-text .banner-heading span {
  background-color: #142532;
  padding: 8px 32px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 16px;
  line-height: 1.5;
}
@media (max-width: 1199.98px) {
  .banner .banner-main-text .banner-heading {
    font-size: 36px;
  }
}
@media (max-width: 767.98px) {
  .banner .banner-main-text .banner-heading {
    font-size: 28px;
    margin-top: 36px;
    padding: 0 20px;
  }
}

.banner-items {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
}

.banner-item {
  position: relative;
  overflow: hidden;
  flex: 0 0 25%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 640px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
  cursor: pointer;
}
.banner-item.active {
  flex: 0 0 85%;
}
.banner-item.active .banner-item-scene img {
  filter: grayscale(0);
  transition: 1s all ease-out;
}
.banner-item.disabled {
  flex: 0 0 5%;
  transform-origin: right center;
}
@media (max-width: 1199.98px) {
  .banner-item {
    height: 540px;
  }
}
@media (max-width: 767.98px) {
  .banner-item {
    flex: 0 0 100%;
  }
}

.bg-yellow {
  background-color:#f9ae55;
}

.bg-green {
  background-color:#9fd54e;
}

.bg-red {
  background-color:#d35f3c;
}

.bg-blue {
  background-color:#84c6f6;
}

.banner-item-scene {
  position: relative;
  z-index: 2;
  height: 100%;
  align-content: flex-end;
}
.banner-item-scene img {
  filter: grayscale(1);
  width: auto;
  max-width: none;
  transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 1199.98px) {
  .banner-item-scene img {
    max-height: 475px;
  }
}
@media (max-width: 767.98px) {
  .banner-item-scene img {
    max-height: 363px;
  }
}

.banner-item-scene-bg {
  position: absolute;
  bottom: -100%;
  opacity: 0;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner-item-scene-bg img {
  max-width: none;
}
@media (max-width: 1199.98px) {
  .banner-item-scene-bg img {
    max-height: 475px;
  }
}
@media (max-width: 767.98px) {
  .banner-item-scene-bg img {
    max-height: 363px;
  }
}
@media (max-width: 1199.98px) {
  .banner-item-scene-bg.scene-1 img {
    max-height: 510px;
  }
}
@media (max-width: 767.98px) {
  .banner-item-scene-bg.scene-1 img {
    max-height: 427px;
  }
}
@media (max-width: 1199.98px) {
  .banner-item-scene-bg.scene-4 img {
    max-height: 345px;
  }
}
@media (max-width: 767.98px) {
  .banner-item-scene-bg.scene-4 img {
    max-height: 277px;
  }
}
.banner-item-scene-bg.active.scene-1 {
  transform: translateX(-69px);
}
@media (max-width: 1199.98px) {
  .banner-item-scene-bg.active.scene-1 {
    transform: translateX(-62px);
  }
}
@media (max-width: 767.98px) {
  .banner-item-scene-bg.active.scene-1 {
    transform: translateX(-42px);
  }
}
.banner-item-scene-bg.active.scene-4 {
  /*transform: translateX(-235px);*/
}
@media (max-width: 1199.98px) {
  .banner-item-scene-bg.active.scene-4 {
    transform: translateX(-215px);
  }
}
@media (max-width: 767.98px) {
  .banner-item-scene-bg.active.scene-4 {
    transform: translateX(-157px);
  }
}
.banner-item-scene-bg.active {
  bottom: 0;
  opacity: 1;
}

.banner-item-text {
  position: absolute;
  z-index: 3;
  top: -100%;
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Agbalumo", system-ui;
  font-size: 50px;
  color: #020202;
  line-height:52px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  left:35%;
}
.banner-item-text.scene-1 .text-line-1 {
  margin-left: -80px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-1 .text-line-1 {
    margin: 0;
  }
}
.banner-item-text.scene-1 .text-line-2 {
  margin-right: -60px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-1 .text-line-2 {
    margin: 0;
  }
}
.banner-item-text.scene-2 .text-line-1 {
  margin-right: -40px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-2 .text-line-1 {
    margin: 0;
  }
}
.banner-item-text.scene-2 .text-line-2 {
  margin-left: -90px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-2 .text-line-2 {
    margin: 0;
  }
}
.banner-item-text.scene-3 .text-line-1 {
  margin-right: -70px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-3 .text-line-1 {
    margin: 0;
  }
}
.banner-item-text.scene-3 .text-line-2 {
  margin-left: -50px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-3 .text-line-2 {
    margin: 0;
  }
}
.banner-item-text.scene-4 .text-line-1 {
  margin-right: -50px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-4 .text-line-1 {
    margin: 0;
  }
}
.banner-item-text.scene-4 .text-line-2 {
  margin-left: -80px;
}
@media (max-width: 767.98px) {
  .banner-item-text.scene-4 .text-line-2 {
    margin: 0;
  }
}
@media (max-width: 1199.98px) {
  .banner-item-text {
    font-size: 40px;
    left: 40%;
  }
}
@media (max-width: 991.98px) {
  .banner-item-text {
    font-size: 36px;
    left: 35%;
  }
}
@media (max-width: 767.98px) {
  .banner-item-text {
    font-size: 28px;
    align-items: flex-start;
    left: auto;
    transform: none;
    margin-top: 21px;
    padding-right: 0;
  }
}
.banner-item-text span {
  background-color: #fff;
  padding: 12px 25px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 10px;
  display: inline;
  line-height: 1.5;
}
@media (max-width: 1199.98px) {
  .banner-item-text span {
    padding: 8px;
  }
}
.banner-item-text .text-line-1,
.banner-item-text .text-line-2 {
  width: 100%;
  display: flex;
}
.banner-item-text .text-line-1 {
  justify-content: flex-start;
}
@media (max-width: 767.98px) {
  .banner-item-text .text-line-1 {
    justify-content: center;
  }
}
.banner-item-text .text-line-2 {
  justify-content: flex-start;
}
@media (max-width: 767.98px) {
  .banner-item-text .text-line-2 {
    justify-content: center;
  }
}
.banner-item-text .highlight {
  color: inherit;
  font-style: normal;
  color: var(--banner-highlight-color);
}
.banner-item-text.active {
  top: 20rem;
  opacity: 1;
}
@media (max-width: 767.98px) {
  .banner-item-text.active {
    top: 0;
  }
}

.bg-yellow .banner-item-text .highlight {
  color: #f2d27f;
}

.bg-green .banner-item-text .highlight {
  color: #71bb74;
}

.bg-red .banner-item-text .highlight {
  color: #e9707a;
}

.bg-blue .banner-item-text .highlight {
  color: #60c3bb;
}

.banner-play {
  position: absolute;
  z-index: 3;
  width: 45px;
  height: 150px;
  border-radius: 0 24px 24px 0;
  background: #fff;
  font-size: 20px;
  color:#020202 !important;
  letter-spacing: 0.24px;
  text-transform: capitalize;
  text-align: center;
  line-height: normal;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  text-decoration: none;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  padding: 0 0 0 8px;
  right: 0;
  top:100px;
  transform: rotate(180deg);
}
.banner-play.disabled {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .banner-play {
    writing-mode: horizontal-tb;
    width: 181px;
    height: 56px;
    padding: 0;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    border-radius: 24px 24px 0 0;
    display: none;
  }
}

.banner-item-line {
  position: absolute;
  z-index: 0;
  opacity: 0;
  transform: scale(1.3);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
@media (max-width: 767.98px) {
  .banner-item-line {
    max-width: 925px;
  }
}
.banner-item-line img {
  max-width: none;
}
.banner-item-line.active {
  opacity: 1;
  transform: scale(1);
}

.mobile-banner {
  display: none;
  overflow: hidden;
  width: 100%;
  height: 496px;
  position: relative;
}
@media (max-width: 767.98px) {
  .mobile-banner {
    display: block;
  }
}
.mobile-banner .mobile-slider {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  will-change: transform;
}
.mobile-banner .banner-item {
  flex: 0 0 100%;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.mobile-banner .mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.mobile-banner .mobile-nav .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 100px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 5;
  background-repeat: no-repeat;
}
.mobile-banner .mobile-nav .nav-arrow.prev {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='88' viewBox='0 0 24 88' fill='none'%3E%3Cpath d='M15 60L9 44L15 28' stroke='%23142532' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.mobile-banner .mobile-nav .nav-arrow.next {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='88' viewBox='0 0 24 88' fill='none'%3E%3Cpath d='M9 28L15 44L9.00001 60' stroke='%23142532' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 767.98px) {
  .desktop-banner {
    display: none;
  }
}