.slider-gif-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 40px;
  gap: 0;
}
.slider-gif-row .gif-side {
  overflow: hidden !important; 
  position: relative !important;
}

.slider-gif-row .gif-box img.moving-airplane {
  position: absolute !important;
  /* Size of the plane */
  width: 250px !important; 
  height: auto !important;
  z-index: 99;
  
  /* FLIP THE IMAGE: scaleX(-1) flips it to face Right-to-Left */
  /* rotate(-15deg) gives it an upward take-off angle */
  transform: scaleX(-1) 
  
  pointer-events: none;
  animation: takeOff 7s linear infinite;
}
.slider-gif-row .gif-side, .slider-gif-row .slider-side {
  width: 50%;
  min-width: 320px;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-gif-row .gif-box {
  position: relative;
  width: 100%;
  height: 100%;
}
.slider-gif-row .gif-img {
  width: 100%;
  height: 100%;
  
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(180,160,190,0.10);
}

/* Overlay content above gif */
.slider-gif-row .gif-overlay-content {
  position: absolute;
  top: 10%;
  left: 7%;
  right: 7%;
  z-index: 2;
  text-align: left;
  width: 86%;
  padding: 8px 18px 18px 20px;
  border-radius: 14px;
 
}

.slider-gif-row .title {
  color: #febe0d;
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 2px;
  text-shadow: 0 2px 8px #fff4;
}
.slider-gif-row .subtitle {
  color: #721211;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 17px;
  margin-bottom: 6px;
}
.slider-gif-row .badge {
  display: inline-block;
  background: #febe0d;
  color: #721211;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 15px;
  box-shadow: 0 2px 12px #ffeeba44;
  letter-spacing: 0.07em;
  margin-top: 10px;
}

/* Slider styles */
.slider-gif-row .main-slider {
  width: 95%;
  height: 90%;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(80,80,120,0.09);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}


.slider-gif-row .main-slider .item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-gif-row .main-slider .img-fill {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slider-gif-row .main-slider .img-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
}

@keyframes takeOff {
  0% {
    /* Start at the bottom right, outside the box */
    right: -250px;
    top: 70%; 
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    /* End at the top left */
    right: 110%;
    top: 10%; 
  }
}


/* Responsive mobile layout */
@media (max-width:900px) {
  .slider-gif-row { flex-direction: column; margin-top: 24px; }
  .slider-gif-row .gif-side, .slider-gif-row .slider-side {
    width: 98vw; height: 220px; min-width: 1px;
    max-width: 98vw;
    margin: 0 auto 12px auto;
    justify-content: center;
  }
  .slider-gif-row .gif-overlay-content { 
    top: 12px; left: 6vw; right: 6vw; padding: 4px 8px 13px 10px; width: 88vw; 
  }
  .slider-gif-row .title { font-size: 1.18rem; }
  .slider-gif-row .subtitle { font-size: 1rem; margin-top: 15px;}
  .slider-gif-row .main-slider { border-radius: 12px; }
  .slider-gif-row .main-slider .img-fill img { border-radius: 0 0 12px 12px; }
  .slider-gif-row .badge { padding: 4px 9px; font-size: 0.93rem; }
  .slider-gif-row .gif-img { border-radius: 12px; }
  }
    .slider-gif-row .gif-box img.moving-airplane {
    width: 120px ;
  }
@media (max-width:540px) {
  .slider-gif-row .gif-side, .slider-gif-row .slider-side {
    height: 160px;
  }
  .slider-gif-row .gif-overlay-content { padding:2px 2.5vw 8px 6vw; font-size:0.9rem;}
  .slider-gif-row .title{font-size:1rem;}
}