/* ✅ ULTRA HERO SLIDER PRO MAX 5 — V15 FINAL FIX */

/* ===== BACKGROUND ANIMATION ===== */
.ultra-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #0077ff, #00b7ff);
  background-size: 200% 200%;
  animation: ultraBG 8s ease-in-out infinite;
}

@keyframes ultraBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== HERO BOX ===== */
.uh-container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  height: 540px !important;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* ===== WHITE BORDER ANIMATION ===== */
.uh-container::before,
.uh-container::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffffff22, #ffffff, #ffffff22);
  background-size: 200% 100%;
  animation: borderFlow 4s linear infinite;
  z-index: 30;
}
.uh-container::before { top: 0; }
.uh-container::after { bottom: 0; }

@keyframes borderFlow {
  0%   { background-position: 0 0; }
  100% { background-position: -200% 0; }
}

/* ===== SLIDE ===== */
.uh-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uh-slide.is-active {
  opacity: 1;
  z-index: 20;
}

/* ===== PERFECT HERO PNG FIT (FINAL FIX) ===== */
.banner-box {
  width: 100%;
  height: 100%;
  position: relative;
}

/* ✅ THE REAL FIX: NO GAPS, NO CROP ON FACES */
.banner-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;          /* ✅ Fills box completely */
  object-position: top right !important; /* ✅ Shows women correctly */
  display: block;
}

/* ===== DRIFT MOTION ===== */
.uh-slide.is-active img {
  transform: scale(1.03);
  animation: driftMove 12s ease-in-out infinite;
}

@keyframes driftMove {
  0%   { transform: translateX(0) scale(1.03); }
  50%  { transform: translateX(-25px) scale(1.06); }
  100% { transform: translateX(0) scale(1.03); }
}

/* ===== BUTTON ===== */
.ov-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #002244;
  color: #fff;
  padding: 12px 24px;
  border-radius: 28px;
  font-weight: 700;
  text-decoration: none;
  z-index: 25;
  transition: all .3s;
}
.ov-btn:hover { background: #0044aa; }

/* ===== ARROWS ===== */
.uh-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 25;
  cursor: pointer;
  transition: .3s;
  border: none;
}
.uh-prev { left: 20px; }
.uh-next { right: 20px; }
.uh-arrow:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

/* ===== DOTS ===== */
.uh-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 25;
}
.uh-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff66;
  border: none;
}
.uh-dots button.is-active { background: #fff; }

/* ===== MOBILE ===== */
@media (max-width:768px){
  .uh-container {
    width: 96vw;
    height: auto !important;
    aspect-ratio: 1300/540;
    border-radius: 12px;
  }
  .uh-arrow {
    width: 34px;
    height: 34px;
  }
}

/* ✅ Show full image with NO zoom out — perfect fit */
.banner-box img,
.uh-img {
  width: 100% !important;
  height: 100% !important;

  object-fit: contain !important;      /* ✅ show full image */
  object-position: center center !important;

  background-color: #00000000 !important; /* transparent */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* ✅ Add smooth padding background behind image */
.banner-box {
  background: #00b7ff;        /* ✅ your hero background color */
  width: 100%;
  height: 100%;
}


/* Force hero box to exact size */
.uh-container {
  width: 100%;
  max-width: 1300px;
  height: 540px !important;
  position: relative;
  overflow: hidden !important;
  border-radius: 18px;
}

/* Force image to cover full box ALWAYS */
.banner-box img,
.uh-img {
  width: 100% !important;
  height: 100% !important;

  /* ✅ Main Fix */
  object-fit: cover !important;         /* fills whole box */
  object-position: center right !important; /* keep women visible */

  display: block;
  max-width: none !important;
  max-height: none !important;
  position: absolute;
  top: 0;
  left: 0;
}

}