/*
 Theme Name:   Ion Child
 Theme URI:    https://gentex.com
 Description:  Child mobile theme for the Ion theme
 Author:       
 Author URI:   https://gentex.com
 Template:     ion
 Version:      1.0.0
*/

.header {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

.header-section-1 {
  text-align: center !important;
}

.header-section-2 {
  text-align: center !important;
  margin-top: 24px !important;
  margin-bottom: 16px !important;
}

.elementor-element.elementor-element-3c4a7bd.section-1.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  padding-left: 80px !important;
  padding-right: 80px !important;
  padding-bottom: 48px !important;
  height: 100% !important;
  padding-bottom: 100px !important;

  .section-1-a-image {
    position: relative;
    top: 50px;
    z-index: 10;

    img {
      right: 0px !important;
    }
  }

  .section-1-b {
    margin-top: 75px !important;
    margin-bottom: 30px !important;
    margin-left: 0px !important;
  }
}

.section-2 {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

.elementor-element.elementor-element-05cb6fb.section-3.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  padding-top: 32px !important;
  padding-left: 80px !important;
  padding-right: 80px !important;

  .section-3-a {
    h3 {
      max-width: 570px;
    }

    p {
      max-width: 570px;
    }
  }

  .section-3-b {
    margin-top: 16px !important;

    p {
      font-size: 16px !important;
    }
  }
}

.elementor-element.elementor-element-5426739.section-4.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  padding-left: 80px !important;
  padding-right: 80px !important;
  margin-top: 50px;

  .section-4-a,
  .section-4-b,
  .section-4-c,
  .section-4-d {
    div:first-child {
      position: relative;
      width: 70px !important;
      height: 70px !important;
      margin-bottom: -20px;
      img {
        position: relative;
        bottom: 25px;
      }
    }
    p {
      font-size: 16px !important;
    }
  }

  .section-4-c,
  .section-4-d {
    margin-top: 25px;
  }

  div.e-con-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px !important;

    div {
      min-height: 70px !important;
    }
  }
}

.section-5 {
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-bottom: 24px;
  margin-top: 40px !important;
}

.elementor-element.elementor-element-b890fa0.section-6.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

.section-6 > div:first-of-type,
.section-7 > div:first-of-type {
  gap: 16px !important;
}

.elementor-element.elementor-element-0d73826.section-7.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  padding-left: 80px !important;
  padding-right: 80px !important;
  padding-top: 16px !important;
}

.section-8-mobile-image {
  height: 280px !important;
  display: block !important;
  object-fit: cover !important;
}

.section-8-mobile-text {
  display: block !important;
  padding-left: 80px !important;
  padding-right: 80px !important;

  .section-8-mobile-inner-text {
    background-color: #ff6600;
    color: #ffffff;
    margin-top: 24px;
    border-radius: 10px;
    padding: 24px 32px;

    h2 {
      font-weight: 500;
      line-height: 1.2;
      font-size: 40px !important;
    }

    p {
      font-weight: 300;
      margin-top: 12px;
      line-height: 1.4;
      font-size: 30px !important;
    }

    .section-8-button {
      margin-top: 24px;
      margin-bottom: 0 !important;

      a {
        background-color: #003366;
        border-radius: 12px;
        padding: 12px 24px;
        display: inline-block;
      }
    }
  }
}

.section-8-desktop {
  display: none !important;
}

.elementor-element-6da4b12.section-9 {
  padding-left: 0px !important;
  padding-right: 0px !important;

  .section-9-a {
    padding-left: 80px !important;
    padding-right: 80px !important;
    padding-top: 48px;
    margin-bottom: 16px;

    .section-9-a-h3-1 {
      h3 {
        font-size: 18px;
        font-weight: 400;
        color: #003366;
        line-height: 1.3;
      }
    }

    .section-9-a-h3-2 {
      h3 {
        font-size: 26px;
        color: #292929;
        margin-top: 20px;
        line-height: 1.3;

        span {
          color: #ff6600;
        }
      }
    }

    p {
      font-family: "Open Sans";
      margin-top: 20px;
      font-size: 16px;
      line-height: 1.5;
    }

    .section-9-a-h3-3 {
      h3 {
        font-size: 22px;
        color: #003366;
        font-weight: 300;
        margin-top: 32px;
        line-height: 1.3;

        span {
          color: #ff6600;
        }
      }
    }

    h4 {
      color: #003366;
      font-size: 18px;
      font-weight: 300;
      margin-top: 12px;
      line-height: 1.3;
    }

    ul {
      color: #292929;
      font-family: "Open Sans";
      line-height: 1.6;
      padding-left: 20px;
      font-size: 15px;

      li::marker {
        font-size: 0.8em;
      }
    }
  }

  .section-9-b {
    background-color: #003366;
    color: #ffffff;
    padding-left: 80px !important;
    padding-right: 80px !important;
    padding-bottom: 64px;
    padding-top: 48px;

    .section-9-b-h3-1 {
      h3 {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 8px;
      }
    }

    ul {
      padding-left: 20px;
      line-height: 1.6;
      margin-top: 16px;

      li {
        font-size: 16px;
      }

      li::marker {
        font-size: 0.8em;
      }
    }

    .section-9-b-h3-2 {
      h3 {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 8px;
        margin-top: 50px !important;
      }
    }

    p {
      font-size: 18px;
      font-weight: 300;
      line-height: 1.4;
      margin-top: 12px;
    }

    a {
      background-color: #ff6600;
      font-size: 14px;
      border-radius: 12px;
      padding: 12px 20px;
      margin-top: 28px;
      display: inline-block;
    }
  }
}

.section-10 {
  padding-left: 80px !important;
  padding-right: 80px !important;

  .section-10-quote {
    position: absolute;
    top: 60px;
    left: 40px !important;
  }
}

.elementor-element.elementor-element-c9e4ff5.section-11.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  margin-top: 16px !important;
  padding-left: 80px !important;
  padding-right: 80px !important;
}

.section-13-desktop {
  display: none !important;
}

.section-13-mobile-text,
.section-13-mobile-image {
  display: block !important;
}

.section-13-mobile-image {
  height: 380px !important;
  object-fit: cover !important;
}

.section-13-mobile-text {
  .section-13-mobile-text-inner {
    background-color: #003366;
    color: #ffffff;
    padding-left: 80px !important;
    padding-right: 24px !important;
    padding-top: 80px;
    padding-bottom: 64px;

    h3 {
      line-height: 1.3;
      font-size: 40px !important;
      margin-bottom: 25px !important;
    }

    p {
      margin-top: 50px !important;
      line-height: 1.4;
      font-size: 30px !important;
    }

    .section-13-mobile-contact {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 60px !important;
      align-items: center;
    }

    .section-13-button {
      margin-right: 0;
    }

    .section-13-button a {
      color: #ffffff;
      background-color: #ff6600;
      border-radius: 12px;
      padding: 12px 24px;
      display: inline-block;
      white-space: nowrap;
    }

    p {
      margin-top: 0px !important;
    }

    .section-13-tel a {
      color: #ffffff;
      font-size: 30px;
    }
  }

  .section-13-b {
    padding-right: 24px !important;
  }
}

.elementor-element.elementor-element-cd06d8e.footer.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
  margin-top: 16px !important;
  padding-left: 80px !important;
  padding-right: 80px !important;

  .e-con-inner {
    gap: 0px !important;
  }
}

.footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-image,
.footer-tel {
  width: 48% !important;
}

.footer-image img {
  max-width: 100%;
  height: auto;
}

.footer-tel {
  text-align: right;
  margin-top: 38px !important;
  a {
    font-size: 30px;
  }
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal overflow */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

@media (max-width: 500px) {
  .header,
  .elementor-element.elementor-element-3c4a7bd.section-1.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded,
  .section-2,
  .elementor-element.elementor-element-05cb6fb.section-3.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded,
  .elementor-element.elementor-element-5426739.section-4.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded,
  .section-5,
  .elementor-element.elementor-element-b890fa0.section-6.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded,
  .elementor-element.elementor-element-0d73826.section-7.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded,
  .section-8-mobile-text,
  .elementor-element-6da4b12.section-9 .section-9-a,
  .elementor-element-6da4b12.section-9 .section-9-b,
  .section-10,
  .elementor-element.elementor-element-c9e4ff5.section-11.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded,
  .section-13-mobile-text .section-13-mobile-text-inner,
  .elementor-element.elementor-element-cd06d8e.footer.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .footer-tel {
    a {
      font-size: 16px !important;
    }
  }
}
