/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */


/* =====================================================
   DIVI ROW
===================================================== */

.em-banner-row {
  width: 92% !important;
  max-width: 1500px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.em-banner-row .et_pb_column,
.em-banner-row .et_pb_code,
.em-banner-row .et_pb_code_inner {
  width: 100%;
}


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

.em-hero {
  --em-white: #ffffff;
  --em-navy: #063f68;
  --em-blue: #0c5a88;
  --em-text-light: rgba(255,255,255,.82);
  --em-card-bg: rgba(255,255,255,.96);

  position: relative;
  isolation: isolate;

  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(400px, .92fr);

  align-items: center;

  gap: clamp(50px, 7vw, 115px);

  min-height: 650px;

  padding: 65px 0;

  color: #ffffff;

  font-family: inherit;

  overflow: hidden;
}


/* subtle background detail */

.em-hero::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: 1%;
  top: 50%;

  transform: translateY(-50%);

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;

  z-index: -1;

  pointer-events: none;
}


.em-hero::after {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  right: 8%;
  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  background: rgba(255,255,255,.035);

  z-index: -1;

  pointer-events: none;
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.em-hero__content {
  width: 100%;
  max-width: 760px;

  position: relative;
  z-index: 2;
}


/* EYEBROW */

.em-hero__eyebrow {
  display: flex;
  align-items: center;

  width: fit-content;

  gap: 10px;

  margin-bottom: 21px;

  color: rgba(255,255,255,.82);

  font-family: inherit;

  font-size: 13px;
  line-height: 1.3;

  font-weight: 600;

  letter-spacing: .07em;

  text-transform: uppercase;
}


.em-hero__eyebrow-dot {
  width: 8px;
  height: 8px;

  flex: 0 0 8px;

  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 0 0 5px rgba(255,255,255,.12);
}


/* =====================================================
   H1
===================================================== */

.em-hero h1 {
  margin: 0 0 25px !important;
  padding: 0 !important;

  max-width: 760px;

  color: #ffffff !important;

  font-family: inherit !important;

  font-size: 60px !important;
  line-height: 1.06 !important;

  font-weight: 500 !important;

  letter-spacing: -.045em !important;
}


/* DESCRIPTION */

.em-hero__intro {
  max-width: 720px;

  margin: 0;

  padding: 0;

  color: var(--em-text-light);

  font-family: inherit;

  font-size: 16px;
  line-height: 1.75;

  font-weight: 400;
}


/* =====================================================
   BUTTONS
===================================================== */

.em-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}


.em-btn {
  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  padding: 0 21px;

  border-radius: 7px;

  font-family: inherit;

  font-size: 14px;
  line-height: 1;

  font-weight: 600;

  text-decoration: none !important;

  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}


.em-btn svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform .25s ease;
}


.em-btn:hover {
  transform: translateY(-3px);
}


.em-btn:hover svg {
  transform: translateX(2px);
}


/* WHITE BUTTON */

.em-btn--primary {
  background: #ffffff;

  color: var(--em-navy) !important;

  border: 1px solid #ffffff;

  box-shadow: 0 10px 30px rgba(5,42,68,.12);
}


.em-btn--primary:hover {
  background: #f4f9fb;

  color: var(--em-navy) !important;
}


/* OUTLINE BUTTON */

.em-btn--secondary {
  background: rgba(255,255,255,.04);

  color: #ffffff !important;

  border: 1px solid rgba(255,255,255,.35);
}


.em-btn--secondary:hover {
  background: rgba(255,255,255,.10);

  color: #ffffff !important;

  border-color: rgba(255,255,255,.65);
}


/* =====================================================
   RIGHT SIDE
===================================================== */

.em-hero__visual {
  position: relative;
  z-index: 2;

  width: 100%;
}


.em-stats {
  width: 100%;
  max-width: 520px;

  margin-left: auto;
}


/* =====================================================
   TOP TRUST CARD
===================================================== */

.em-trust-card {
  display: flex;
  align-items: center;

  gap: 18px;

  width: 100%;

  min-height: 94px;

  margin-bottom: 14px;

  padding: 17px 20px;

  background: var(--em-card-bg);

  border: 1px solid rgba(255,255,255,.7);
  border-radius: 11px;

  box-shadow:
    0 20px 50px rgba(4,42,68,.13);

  font-family: inherit;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* ICON GROUP */

.em-trust-card__icons {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}


.em-trust-icon {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-left: -8px;

  border: 2px solid #ffffff;
  border-radius: 50%;

  background: #eaf5fa;
}


.em-trust-icon:first-child {
  margin-left: 0;
}


.em-trust-icon:nth-child(2) {
  background: #e1f0f6;
}


.em-trust-icon:nth-child(3) {
  background: #f1f7fa;
}


.em-trust-icon svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke: #6293ac;

  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TRUST TEXT */

.em-trust-card__content {
  min-width: 0;
}


.em-trust-card__label {
  display: block;

  margin-bottom: 3px;

  color: #6a90a4;

  font-family: inherit;

  font-size: 10px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: .08em;

  text-transform: uppercase;
}


.em-trust-card__content strong {
  display: block;

  margin: 0 0 4px;

  color: var(--em-navy);

  font-family: inherit;

  font-size: 15px;
  line-height: 1.3;

  font-weight: 600;
}


.em-trust-card__content small {
  display: block;

  color: #6b8190;

  font-family: inherit;

  font-size: 11px;
  line-height: 1.4;
}


/* =====================================================
   STATS GRID
===================================================== */

.em-stats__grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;
}


/* STAT CARD */

.em-stat-card {
  min-height: 190px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 27px 25px;

  background: var(--em-card-bg);

  border: 1px solid rgba(255,255,255,.7);
  border-radius: 11px;

  box-shadow:
    0 20px 50px rgba(4,42,68,.11);

  font-family: inherit;

  transition:
    transform .28s ease,
    box-shadow .28s ease;
}


.em-stat-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 26px 60px rgba(4,42,68,.17);
}


/* BIG NUMBER */

.em-stat-card__number {
  margin-bottom: 12px;

  color: var(--em-navy);

  font-family: inherit;

  font-size: 46px;
  line-height: 1;

  font-weight: 400;

  letter-spacing: -.045em;
}


/* TITLE */

.em-stat-card__title {
  margin-bottom: 8px;

  color: #365f76;

  font-family: inherit;

  font-size: 15px;
  line-height: 1.3;

  font-weight: 600;
}


/* TEXT */

.em-stat-card p {
  margin: 0;
  padding: 0;

  color: #728b9a;

  font-family: inherit;

  font-size: 12px;
  line-height: 1.55;

  font-weight: 400;
}


/* =====================================================
   IPAD LANDSCAPE / SMALL LAPTOP
   1024px - 1200px
===================================================== */

@media (max-width: 1200px) {

  .em-banner-row {
    width: 90% !important;
  }

  .em-hero {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(360px, .8fr);

    gap: 45px;

    min-height: 600px;

    padding: 55px 0;
  }

  .em-hero h1 {
    font-size: 50px !important;
  }

  .em-hero__intro {
    font-size: 15px;
    line-height: 1.7;
  }

  .em-stat-card {
    padding: 23px 20px;
  }

}


/* =====================================================
   IPAD / TABLET
   769px - 1024px
===================================================== */

@media (max-width: 1024px) {

  .em-banner-row {
    width: 88% !important;
  }

  .em-hero {
    grid-template-columns: 1fr;

    gap: 42px;

    min-height: auto;

    padding: 55px 0;
  }

  .em-hero::before {
    width: 430px;
    height: 430px;

    right: -12%;
    top: 68%;
  }

  .em-hero::after {
    width: 260px;
    height: 260px;

    right: 2%;
    top: 68%;
  }

  .em-hero__content {
    max-width: 800px;
  }

  .em-hero h1 {
    max-width: 780px;

    font-size: 48px !important;
    line-height: 1.08 !important;
  }

  .em-hero__intro {
    max-width: 760px;

    font-size: 16px;
  }

  .em-stats {
    max-width: 700px;

    margin-left: 0;
  }

  .em-trust-card {
    min-height: 90px;
  }

  .em-stat-card {
    min-height: 165px;
  }

}


/* =====================================================
   TABLET PORTRAIT / LARGE MOBILE
===================================================== */

@media (max-width: 767px) {

  .em-banner-row {
    width: 88% !important;
  }

  .em-hero {
    gap: 35px;

    padding: 45px 0;
  }

  .em-hero::before,
  .em-hero::after {
    display: none;
  }

  .em-hero__eyebrow {
    margin-bottom: 17px;

    font-size: 11px;
  }

  .em-hero h1 {
    margin-bottom: 20px !important;

    font-size: 40px !important;
    line-height: 1.09 !important;

    letter-spacing: -.035em !important;
  }

  .em-hero__intro {
    font-size: 15px;
    line-height: 1.65;
  }

  .em-hero__actions {
    margin-top: 25px;
  }

  .em-stats {
    max-width: 100%;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  .em-banner-row {
    width: 90% !important;
  }

  .em-hero {
    padding: 38px 0;

    gap: 32px;
  }

  .em-hero__eyebrow {
    gap: 8px;

    font-size: 10px;

    letter-spacing: .05em;
  }

  .em-hero__eyebrow-dot {
    width: 7px;
    height: 7px;

    flex-basis: 7px;
  }

  .em-hero h1 {
    font-size: 35px !important;
    line-height: 1.1 !important;
  }

  .em-hero__intro {
    font-size: 14px;
    line-height: 1.65;
  }


  /* BUTTONS */

  .em-hero__actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;
  }

  .em-btn {
    width: 100%;

    min-height: 52px;

    justify-content: space-between;

    padding-left: 18px;
    padding-right: 18px;
  }


  /* TRUST */

  .em-trust-card {
    gap: 12px;

    min-height: auto;

    padding: 14px;
  }

  .em-trust-icon {
    width: 34px;
    height: 34px;

    margin-left: -8px;
  }

  .em-trust-icon svg {
    width: 14px;
    height: 14px;
  }

  .em-trust-card__content strong {
    font-size: 13px;
  }

  .em-trust-card__content small {
    font-size: 10px;
  }


  /* STAT CARDS */

  .em-stats__grid {
    gap: 9px;
  }

  .em-stat-card {
    min-height: 150px;

    padding: 18px 16px;
  }

  .em-stat-card__number {
    margin-bottom: 9px;

    font-size: 36px;
  }

  .em-stat-card__title {
    margin-bottom: 5px;

    font-size: 12px;
  }

  .em-stat-card p {
    font-size: 10px;
    line-height: 1.45;
  }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

  .em-banner-row {
    width: 88% !important;
  }

  .em-hero h1 {
    font-size: 32px !important;
  }

  .em-stats__grid {
    grid-template-columns: 1fr;
  }

  .em-stat-card {
    min-height: auto;

    padding: 20px;
  }

  .em-stat-card__number {
    font-size: 38px;
  }

}


/* =====================================================
   REMOVE DIVI DEFAULT LINK EFFECTS
===================================================== */

.em-hero a,
.em-hero a:hover {
  text-decoration: none !important;
}


/* =====================================================
   KEEP THE THEME FONT
===================================================== */

.em-hero,
.em-hero h1,
.em-hero p,
.em-hero span,
.em-hero strong,
.em-hero small,
.em-hero a,
.em-hero div {
  font-family: inherit;
}

@media (max-width: 991px) {
  .inverse {
      display: flex;
      flex-direction: column-reverse;
  }
}

@media (min-width: 1024px) {
  .center-text-image {
      display: flex;
      align-items: center;
  }
}
* =====================================================
   DIVI IMAGE ZOOM — ONLY FOR .img-zoom
   ===================================================== */

.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    display: block;
    width: 100%;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(.2,.65,.3,1);
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* =========================================
   RIGHT SIDE
========================================= */

.em-hero__visual {
  position: relative;
  z-index: 2;

  width: 100%;

  display: flex;
  justify-content: flex-end;
  align-items: center;
}


/* =========================================
   HIGHLIGHT CARDS
========================================= */

.em-highlight-cards {
  width: 100%;
  max-width: 570px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}


/* CARD */

.em-highlight-card {
  min-height: 230px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 35px 30px;

  font-family: inherit;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.em-highlight-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 22px 45px rgba(0,0,0,.12);
}


/* =========================================
   LIGHT CARD
========================================= */

.em-highlight-card--light {
  background: #f8f2ee;
}


.em-highlight-card--light .em-highlight-card__number,
.em-highlight-card--light .em-highlight-card__label {
  color: #45a6af;
}


/* =========================================
   BLUE CARD
========================================= */

.em-highlight-card--blue {
  background: #45a6af;
}


.em-highlight-card--blue .em-highlight-card__number,
.em-highlight-card--blue .em-highlight-card__label {
  color: #ffffff;
}


/* =========================================
   NUMBERS
========================================= */

.em-highlight-card__number {
  margin-bottom: 14px;

  font-family: inherit;

  font-size: 70px;
  line-height: .95;

  font-weight: 400;

  letter-spacing: -.04em;
}


/* =========================================
   LABEL
========================================= */

.em-highlight-card__label {
  font-family: inherit;

  font-size: 21px;
  line-height: 1.3;

  font-weight: 400;
}


/* =========================================
   IPAD LANDSCAPE
========================================= */

@media (max-width: 1200px) {

  .em-highlight-cards {
    max-width: 500px;

    gap: 14px;
  }

  .em-highlight-card {
    min-height: 200px;

    padding: 28px 24px;
  }

  .em-highlight-card__number {
    font-size: 58px;
  }

  .em-highlight-card__label {
    font-size: 18px;
  }

}


/* =========================================
   IPAD PORTRAIT
========================================= */

@media (max-width: 1024px) {

  .em-hero__visual {
    justify-content: flex-start;
  }

  .em-highlight-cards {
    max-width: 650px;
  }

  .em-highlight-card {
    min-height: 190px;
  }

  .em-highlight-card__number {
    font-size: 56px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .em-highlight-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    max-width: 100%;
  }

  .em-highlight-card {
    min-height: 155px;

    padding: 20px 16px;
  }

  .em-highlight-card__number {
    margin-bottom: 10px;

    font-size: 42px;
  }

  .em-highlight-card__label {
    font-size: 15px;
    line-height: 1.25;
  }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

  .em-highlight-cards {
    grid-template-columns: 1fr;
  }

  .em-highlight-card {
    min-height: 135px;

    padding: 22px;
  }

  .em-highlight-card__number {
    font-size: 45px;
  }

}