/* Overlay a "1" directly over the icon */
.overlay-icon-text .uagb-ifb-icon-wrap {
  position: relative;
  display: inline-block;
}

.overlay-icon-text .uagb-ifb-icon-wrap::before {
  content: "1";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 36px; /* adjust size as needed */
  font-weight: 600;
  color: #B3B3B3;
  pointer-events: none;
}
/* Automatically number overlay icons in order */
body {
  counter-reset: icon-counter; /* resets count at the start of the page */
}

.overlay-icon-text .uagb-ifb-icon-wrap {
  position: relative;
  display: inline-block;
}

.overlay-icon-text .uagb-ifb-icon-wrap::before {
  counter-increment: icon-counter; /* increase number for each block */
  content: counter(icon-counter);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #B3B3B3;
  pointer-events: none;
}
/* Fix for the hand image container */
.your-section-class {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  min-height: 450px;
}
/* Fix background image cropping issue for the Apply Now section */
.uagb-block-74f2c06c {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  min-height: 450px !important;
}
/* Make image section larger and better balanced */
.uagb-block-74f2c06c {
  background-size: 130% auto !important;  /* increase from 100% to 130% width */
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 450px !important;
  transition: background-size 0.3s ease;
}

/* Make sure it doesn’t overflow or distort on mobile */
@media (max-width: 768px) {
  .uagb-block-74f2c06c {
    background-size: contain !important;
    min-height: 320px !important;
  }
}
/* --- FIXED Spectra Slider Styling (Raised Box, Mobile Responsive) --- */
 
/* Desktop: Allow overflow for elevated effect */
.wp-block-uagb-slider,
.wp-block-uagb-slider .swiper,
.wp-block-uagb-slider .swiper-wrapper {
  overflow: visible !important;
  min-height: 400px;
}
 
/* Center slide content and keep structure stable */
.wp-block-uagb-slider .swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  height: auto !important;
  overflow: visible !important;
}
 
/* Each info box (the slide inner content) */
.wp-block-uagb-slider .swiper-slide > * {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  width: 90%;
  max-width: 700px;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.12),
    0 0 10px rgba(0, 80, 180, 0.06);
  transform: translateY(0) scale(1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
 
/* Make active slide more elevated */
.wp-block-uagb-slider .swiper-slide-active > * {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(0, 80, 180, 0.08);
  z-index: 2;
}
 
/* Soft hover lift on inactive slides */
.wp-block-uagb-slider .swiper-slide > *:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.10),
    0 20px 45px rgba(0, 0, 0, 0.14),
    0 0 70px rgba(0, 80, 180, 0.06);
}
 
/* Pagination dots alignment */
.wp-block-uagb-slider .swiper-pagination {
  bottom: 10px !important;
}
 
/* Peek effect for side slides (desktop only) */
.wp-block-uagb-slider .swiper {
  padding-left: 60px;
  padding-right: 60px;
}
 
/* Prevent ghost space from inactive slides */
.wp-block-uagb-slider .uagb-slick-carousel {
  display: flex !important;
  align-items: stretch !important;
}

.white-info {
  background: #ffffff !important;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  padding: 30px;
}

/* ========== MOBILE FIXES ========== */
@media (max-width: 768px) {
  
  /* CRITICAL: Remove padding that breaks slide width calculation */
  .wp-block-uagb-slider .swiper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Force proper slide width on mobile */
  .wp-block-uagb-slider .swiper-slide {
    width: 100vw !important;
    max-width: 100% !important;
  }
  
  /* Keep overflow contained on mobile */
  .wp-block-uagb-slider,
  .wp-block-uagb-slider .swiper {
    overflow: hidden !important;
  }
  
  .wp-block-uagb-slider .swiper-wrapper {
    overflow: visible !important;
  }
  
  /* Center content within the full-width slide */
  .wp-block-uagb-slider .swiper-slide > * {
    width: 85%;
    margin: 0 auto;
    padding: 30px 20px;
  }
  
  /* Disable all transforms on mobile */
  .wp-block-uagb-slider .swiper-slide-active > *,
  .wp-block-uagb-slider .swiper-slide > *:hover {
    transform: none !important;
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.08),
      0 4px 10px rgba(0, 0, 0, 0.12) !important;
  }
  
  /* Reset min-height on mobile */
  .wp-block-uagb-slider,
  .wp-block-uagb-slider .swiper,
  .wp-block-uagb-slider .swiper-wrapper {
    min-height: 320px;
  }
  
  /* Ensure navigation buttons are visible */
  .wp-block-uagb-slider .swiper-button-prev,
  .wp-block-uagb-slider .swiper-button-next {
    top: 50% !important;
  }
}

/* Make Astra header sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff; /* Adjust to match your site background */
}
/* Force navigation link colors in Astra footer */
.footer-widget-area .wp-block-navigation a,
.footer-widget-area .wp-block-navigation a:visited {
  color: #004080 !important;  /* normal */
}

.footer-widget-area .wp-block-navigation a:hover {
  color: #004080 !important;  /* hover */
}

/* Keep button colors isolated */
.footer-widget-area .wp-block-button__link {
  background-color: #ffffff !important;
  color: #004080 !important;
}

.footer-widget-area .wp-block-button__link:hover {
  background-color: #004080 !important;
  color: #ffffff !important;
}
/* Stack icon ABOVE text in Spectra Icon List (Spectra 2.19) */
.icon-list-top .wp-block-uagb-icon-list-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* spacing between icon and text */
.icon-list-top .uagb-icon-list__source-wrap {
    margin-bottom: 8px !important;
}

/* ensures text behaves like a block */
.icon-list-top .uagb-icon-list__label {
    display: block !important;
}

@media (max-width: 768px) {
  /* Make the slider container flex column */
  .wp-block-uagb-slider .uagb-slider__container {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      overflow: hidden !important;
  }
@media (max-width: 768px) {
  .mobile-small-title .uagb-ifb-title {
    font-size: 40px !important;
  }
}
.sub-menu { background-color: #004080 !important; }
.edge-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 10px !important; /* Small breathing room */
  padding-right: 10px !important;
}
/* Swap two containers on mobile only — class-based (recommended) */
@media (max-width: 768px) {
  /* make sure parent is a flex column so order works */
  .left-cta, .thank-you {
    width: 100% !important;
    max-width: 100% !important;
  }

  .left-cta { order: 2 !important; }
  .thank-you { order: 1 !important; }

  /* ensure the parent uses flex to respect order */
  .left-cta, .thank-you { display: block; }
  .left-cta, .thank-you { box-sizing: border-box; }

  /* target the likely parent wrapper and force flex layout */
  .wp-block-uagb-container > .uagb-container-inner-blocks-wrap,
  .uagb-container-inner-blocks-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
}
