/* ── Reset Swiper defaults that conflict ── */
.ifmil-hero .swiper-button-next,
.ifmil-hero .swiper-button-prev,
.ifmil-hero .swiper-button-next::after,
.ifmil-hero .swiper-button-prev::after {
  display: none !important;
}
.ifmil-hero .swiper-pagination-bullet {
  all: unset;
}

/* ── Section container ── */
.ifmil-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: 103px;
    z-index: 0;
}

/* ── Swiper root ── */@media (max-width: 992px) {
    .ifmil-hero {
        margin-top: 103px;
    }
}
.ifmil-hero__swiper {
  width: 100%;
  height: 680px;
  position: relative;
}

/* ── Individual slide ── */
.ifmil-hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ── Background image ── */
.ifmil-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Dark overlay gradient (left-heavy for text readability) ── */
.ifmil-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 20, 50, 0.82) 0%,
    rgba(0, 20, 50, 0.55) 45%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

/* ── Content area ── */
.ifmil-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 1520px;
  padding: 80px 350px 100px;
  color: #fff;
}

/* ── Title ── */
.ifmil-hero__title {
  font-family: "Open Sans", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
}

/* ── Description ── */
.ifmil-hero__desc {
  font-family: "Open Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
}
.ifmil-hero .swiper-slide {
    margin-right: 0;
}
/* ── CTA Button ── */
.ifmil-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #006AB4;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  width: fit-content;
}
.ifmil-hero__btn:hover {
  background: #005a9a;
  transform: translateX(4px);
  color: #fff;
  text-decoration: none;
}
.ifmil-hero__btn svg {
  transition: transform 0.25s ease;
}
.ifmil-hero__btn:hover svg {
  transform: translateX(4px);
}

/* ── Navigation arrows (boxed, on edges) ── */
.ifmil-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  color: #006AB4;
  transition: background 0.25s ease, color 0.25s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.ifmil-hero__nav:hover {
  background: #006AB4;
  color: #fff;
}
.ifmil-hero__nav--prev {
  left: 0;

}
.ifmil-hero__nav--next {
  right: 0;
 
}

/* ── Pagination dots ── */
.ifmil-hero__pagination {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ifmil-hero__pagination .swiper-pagination-bullet {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  margin: 0;
}
.ifmil-hero__pagination .swiper-pagination-bullet-active {
  width: 28px;
  height: 10px;
  border-radius: 20px;
  background: #fff;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .ifmil-hero__swiper {
        height: 520px;
    }

    .ifmil-hero__content {
        padding: 60px 50px 80px;
        max-width: 100%;
    }

    .ifmil-hero__title {
        font-size: 2.2rem;
    }

    .ifmil-hero__desc {
        font-size: 1rem;
    }

    .ifmil-hero__nav {
        width: 44px;
        height: 44px;
    }

    .ifmil-hero {
        margin-top: 110px;
    }

    .ifmil-hero .swiper-slide {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .ifmil-hero {
        margin-left: calc(-50vw + 50%);
        margin-top: 65px;
    }
  .ifmil-hero__swiper {
    height: 75vh;
  }
  .ifmil-hero__content {
    padding: 24px 20px 70px;
    justify-content: flex-end;
    max-width: 100%;
  }
  .ifmil-hero__title {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .ifmil-hero__desc {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .ifmil-hero__btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .ifmil-hero__overlay {
    background: linear-gradient(
      0deg,
      rgba(0, 20, 50, 0.88) 0%,
      rgba(0, 20, 50, 0.45) 55%,
      rgba(0, 0, 0, 0.05) 100%
    );
  }
    .ifmil-hero .swiper-slide {
        margin-right: 0;
    }
  /* Hide arrows on mobile, use swipe */
  .ifmil-hero__nav {
    display: none;
  }
  .ifmil-hero__pagination {
    bottom: 20px;
    gap: 6px;
  }
  .ifmil-hero__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .ifmil-hero__pagination .swiper-pagination-bullet-active {
    width: 22px;
    height: 8px;
  }
}
