/* Rev Slider background fallback.
   Rev Slider draws slide backgrounds onto a <canvas> sized from the layout. When
   assets are served locally the draw can happen before layout, leaving the canvas
   0x0 and the hero background blank. Setting the same background image on the module
   itself guarantees the hero always shows it - it sits behind the canvas, so when the
   canvas draws correctly it covers this identical image and nothing changes visually. */
sr7-module[data-id="39"] {
  /* Homepage hero (2026 design): blue gradient only — the photo has been removed.
     Sampled from the design: TL #193d65, TR #237b9d, BL #1d597e, BR #2db0cd. */
  background-image: linear-gradient(135deg, #193d65 0%, #21698d 50%, #2db0cd 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Homepage hero (2026 design): stat boxes sit ABOVE the CTA buttons.
   Rev Slider absolutely positions each layer, and the card group was rendered
   below the buttons. Shift the card group up and drop the CTAs underneath it.
   Desktop only — tablet/mobile use different slider breakpoints. */
@media (min-width: 1025px) {
  /* card tiles */
  sr7-module[data-id="39"] #SR7_39_1-25-26,
  sr7-module[data-id="39"] #SR7_39_1-25-27,
  sr7-module[data-id="39"] #SR7_39_1-25-28 { top: 382.5px !important; }
  /* stat numbers */
  sr7-module[data-id="39"] #SR7_39_1-25-20,
  sr7-module[data-id="39"] #SR7_39_1-25-21,
  sr7-module[data-id="39"] #SR7_39_1-25-22 { top: 429px !important; }
  /* stat labels */
  sr7-module[data-id="39"] #SR7_39_1-25-23,
  sr7-module[data-id="39"] #SR7_39_1-25-24,
  sr7-module[data-id="39"] #SR7_39_1-25-25 { top: 497px !important; }
  /* gold dashes */
  sr7-module[data-id="39"] #SR7_39_1-25-29,
  sr7-module[data-id="39"] #SR7_39_1-25-30,
  sr7-module[data-id="39"] #SR7_39_1-25-31 { top: 539px !important; }
  /* CTAs below the cards (design gap = 49px under the 198px tiles) */
  sr7-module[data-id="39"] #SR7_39_1-25-6,
  sr7-module[data-id="39"] #SR7_39_1-25-7 { top: 629.5px !important; }
}
/* Short desktop viewports: Rev Slider scales the layers, so the CTAs need a
   smaller offset to keep the same 49px gap and stay inside the hero. */
@media (min-width: 1025px) and (max-height: 880px) {
  sr7-module[data-id="39"] #SR7_39_1-25-6,
  sr7-module[data-id="39"] #SR7_39_1-25-7 { top: 607.5px !important; }
}
sr7-module[data-id="16"] {
  background-image: url("/wp-content/uploads/2024/02/Candidate_Slider_Image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
sr7-module[data-id="22"] {
  background-image: url("/wp-content/uploads/2024/04/About-Us_Cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
sr7-module[data-id="24"] {
  background-image: url("/wp-content/uploads/2024/04/Insights_Hero-1-scaled.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
sr7-module[data-id="40"] {
  background-image: url("/wp-content/uploads/revslider/Contactus/cont-scaled-1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Homepage hero CTA buttons: keep the label vertically centred at every width.
   Below 1025px the Qodef default falls back to inline-block + a tall line-height,
   which drops the label ~4px below the button's centre. */
sr7-module[data-id="39"] a.qodef-btn.slide_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
sr7-module[data-id="39"] a.qodef-btn.slide_btn .qodef-btn-text { line-height: 1 !important; }

/* Homepage hero CTA buttons: match the design's smaller label + taller box. */
@media (min-width: 1025px) {
  sr7-module[data-id="39"] a.qodef-btn.slide_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 58px !important;
    padding: 0 44px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }
  sr7-module[data-id="39"] a.qodef-btn.slide_btn .qodef-btn-text {
    font-size: 13.3px !important;
    line-height: 1 !important;
  }
  sr7-module[data-id="39"] a.qodef-btn.slide_btn .qodef-btn-text-icon { display: none !important; }
}

/* Homepage hero CTA buttons (Rev Slider text layers #SR7_39_1-25-6 / -25-7).
   The slider offsets the two buttons by fixed px from the module centre, which
   makes them collide at intermediate widths (measured: ~900px horizontally,
   ~480px vertically). Pin them explicitly instead so they can never overlap. */
sr7-module[data-id="39"] #SR7_39_1-25-6,
sr7-module[data-id="39"] #SR7_39_1-25-7 { transform: none !important; }

/* Wide screens: a single centred row with a fixed gap between the two buttons. */
@media (min-width: 779px) {
  sr7-module[data-id="39"] #SR7_39_1-25-6 { left: calc(50% - 250px) !important; }
  sr7-module[data-id="39"] #SR7_39_1-25-7 { left: calc(50% + 12px) !important; }
}

/* Narrow screens: a centred stacked column. */
@media (max-width: 778px) {
  sr7-module[data-id="39"] #SR7_39_1-25-6 { left: 50% !important; margin-left: -119px !important; top: 220px !important; }
  sr7-module[data-id="39"] #SR7_39_1-25-7 { left: 50% !important; margin-left: -117px !important; top: 282px !important; }
}
