/* assets/css/ije-home.css */

/* =========================================================
   IJE HOME PAGE
   ========================================================= */

.ije-home-page {
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #fffdf8 0%,
      #ffffff 44%,
      #f8fbff 100%
    );

  color: var(--ije-text);
}

/* =========================================================
   HOME HERO
   ========================================================= */

.ije-home-hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--ije-navy);
  background-image: var(--ije-hero-fallback);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ije-home-hero > .ije-home-hero-slider.splide,
.ije-home-hero > #hero-slider.splide {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
}

.ije-home-hero-slider .splide__track,
.ije-home-hero-slider .splide__list,
.ije-home-hero-slider .splide__slide {
  width: 100%;
  height: 100%;
}

.ije-home-hero-slider .splide__track {
  overflow: hidden;
}

.ije-home-hero-slider .splide__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.ije-home-hero-slider .splide__slide {
  position: relative;
  list-style: none;
  background-color: var(--ije-navy);
  background-image: var(--ije-hero-fallback);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ije-home-hero-slider picture,
.ije-home-hero-slider img {
  width: 100%;
  height: 100%;
  display: block;
}

.ije-home-hero-slider img {
  object-fit: cover;
  object-position: center center;
}

.ije-home-hero-slider:not(.is-initialized) .splide__slide:not(:first-child) {
  display: none;
}

.ije-home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    radial-gradient(
      circle at top left,
      rgba(0, 168, 232, .16),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 16%,
      rgba(254, 209, 0, .10),
      transparent 25%
    ),
    linear-gradient(
      90deg,
      rgba(7, 24, 39, .74) 0%,
      rgba(7, 24, 39, .58) 48%,
      rgba(7, 24, 39, .34) 100%
    );
}

.ije-home-hero-content.container {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 980px);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.ije-home-eyebrow,
.ije-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  border-radius: 999px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: .88rem;
}

.ije-home-eyebrow {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: .45rem .85rem;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ije-home-hero h1 {
  max-width: 920px;
  margin: 0 auto 1rem;
  color: #fff;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-align: center;
}

.ije-home-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255,255,255,.92);
  font-size: 1.12rem;
  line-height: 1.75;
  text-align: center;
}

.ije-home-hero-actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.ije-home-btn-primary,
.ije-home-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .84rem 1.18rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    color .16s ease;
}

.ije-home-btn-primary {
  background: linear-gradient(135deg, var(--ije-yellow), var(--ije-orange));
  color: var(--ije-navy) !important;
  box-shadow: 0 14px 28px rgba(255,201,40,.22);
}

.ije-home-btn-primary:hover {
  color: var(--ije-navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(255,201,40,.3);
}

.ije-home-btn-secondary {
  background: rgba(255,255,255,.11);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.26);
}

.ije-home-btn-secondary:hover {
  background: rgba(255,255,255,.18);
  color: #fff !important;
  transform: translateY(-1px);
}

.ije-home-search {
  max-width: 720px;
  margin: 1.45rem auto 0;
  background: rgba(255,255,255,.96);
  border-radius: 999px;
  padding: .35rem;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

.ije-home-search form,
.ije-home-search .dgwt-wcas-search-wrapp {
  max-width: 100% !important;
}

/* =========================================================
   SHARED SECTION STRUCTURE
   ========================================================= */

.ije-home-intro,
.ije-home-section,
.ije-home-custom-cta {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0;
}

.ije-home-intro {
  background:
    radial-gradient(
      circle at 7% 12%,
      rgba(254, 209, 0, .13),
      transparent 27%
    ),
    radial-gradient(
      circle at 95% 88%,
      rgba(0, 168, 232, .08),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #fffdf7 0%,
      #ffffff 100%
    );

  border-bottom: 1px solid rgba(7, 24, 39, .05);
}

.ije-home-section {
  background:
    radial-gradient(
      circle at 96% 10%,
      rgba(0, 168, 232, .07),
      transparent 29%
    ),
    radial-gradient(
      circle at 4% 92%,
      rgba(254, 209, 0, .08),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fbff 100%
    );
}

.ije-home-section-soft {
  background:
    radial-gradient(
      circle at 8% 16%,
      rgba(254, 209, 0, .10),
      transparent 26%
    ),
    radial-gradient(
      circle at 92% 84%,
      rgba(0, 168, 232, .075),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #ffffff 48%,
      #fffdf8 100%
    );

  border-top: 1px solid rgba(7, 24, 39, .045);
  border-bottom: 1px solid rgba(7, 24, 39, .045);
}

.ije-section-heading {
  max-width: 790px;
  margin-bottom: 2rem;
}

.ije-section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.ije-section-kicker {
  background: var(--ije-sand);
  color: var(--ije-navy);
  padding: .38rem .78rem;
  margin-bottom: .8rem;
}

.ije-home-intro h2,
.ije-section-heading h2,
.ije-home-custom-box h2,
.ije-home-help-card h3 {
  color: var(--ije-navy);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
}

.ije-home-intro h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.ije-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: .65rem;
}

.ije-home-intro p,
.ije-section-heading p,
.ije-home-help-card p,
.ije-home-custom-box p {
  color: var(--ije-muted);
  line-height: 1.72;
}

/* =========================================================
   INTRO HELP CARD
   ========================================================= */

.ije-home-help-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(255,201,40,.2),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #fbfcff
    );

  border: 1px solid rgba(7, 24, 39, .08);
  border-radius: 26px;
  padding: 1.7rem;
  box-shadow: 0 18px 42px rgba(7,24,39,.08);
}

.ije-home-card-link {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  color: var(--ije-blue-dark);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.ije-home-card-link:hover {
  color: var(--ije-navy);
}

/* =========================================================
   CUSTOM CTA
   ========================================================= */

.ije-home-custom-cta {
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(254, 209, 0, .11),
      transparent 25%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(0, 168, 232, .08),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #fffdf8 100%
    );
}

.ije-home-custom-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 2rem;
  border-radius: 28px;
  color: #fff;

  background:
    radial-gradient(
      circle at top right,
      rgba(255,201,40,.18),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--ije-navy),
      #0b2238
    );

  box-shadow: 0 24px 48px rgba(7,24,39,.16);
}

.ije-home-custom-box .ije-section-kicker {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.ije-home-custom-box h2 {
  color: #fff;
  margin-bottom: .5rem;
}

.ije-home-custom-box p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255,255,255,.82);
}

/* =========================================================
   REVIEWS
   ========================================================= */

.ije-home-reviews {
  position: relative;
  overflow: hidden;
  /*padding: 4.25rem 0;*/

  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(0, 168, 232, .065),
      transparent 27%
    ),
    radial-gradient(
      circle at 5% 92%,
      rgba(254, 209, 0, .075),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f9fbff 100%
    );
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
  .ije-home-hero {
    min-height: 640px;
  }

  .ije-home-hero-content.container {
    width: min(100% - 2rem, 980px);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ije-home-custom-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .ije-home-section,
  .ije-home-intro,
  .ije-home-custom-cta,
  .ije-home-reviews {
    padding: 3.25rem 0;
  }
}

@media (max-width: 575.98px) {
  .ije-home-hero {
    min-height: 690px;
  }

  .ije-home-hero-content.container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ije-home-hero h1 {
    font-size: 2.45rem;
  }

  .ije-home-hero p {
    font-size: 1rem;
  }

  .ije-home-hero-actions,
  .ije-home-btn-primary,
  .ije-home-btn-secondary {
    width: 100%;
  }

  .ije-home-search {
    border-radius: 22px;
    padding: .55rem;
  }

  .ije-home-custom-box {
    padding: 1.45rem;
    border-radius: 22px;
  }
}
