/* =========================================
   ABOUT US PAGE ONLY (about-us.css)
   Desktop: keep Webflow defaults
   We only adjust <= 991px (tablet) & <= 767px (mobile)
   ========================================= */

/* -----------------------------------------
   0) SMALL COMMON TWEAKS (all sizes)
   ----------------------------------------- */

/* Scope everything to this page via body-2 */
.body-2 .solution_card {
  box-sizing: border-box;
}

/* Keep the 4 advantage icons visually same-sized */
.body-2 .solutions-icon img {
  display: block;
  margin: 0 auto 1.25rem;
}

/* -----------------------------------------
   1) TABLET & BELOW  (≤ 991px)
   ----------------------------------------- */
@media screen and (max-width: 991px) {

  /* Avoid any fixed heights causing overlap */
  .body-2,
  .body-2 .page-wrap,
  .body-2 .section-6,
  .body-2 .section99,
  .body-2 .feature-section {
    height: auto !important;
    min-height: auto !important;
  }

  /* ---------- HERO: "Building the Future of Data Exchange" ---------- */

  .body-2 .section-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* stack hero into 1 column: text + image */
  .body-2 .layout192_component {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 2.5rem;
    align-items: center;
  }

  .body-2 .layout192_content {
    order: 1;
    max-width: 40rem;
    margin: 0 auto;
  }

  .body-2 .layout192_image-wrapper {
    order: 2;
    justify-self: center;
    max-width: 360px;
    width: 100%;
  }

  .body-2 .image-26 {
    width: 100%;
    height: auto;
    max-width: 360px;
    object-fit: contain;
    display: block;
  }

  .body-2 .building-data-para {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  /* CTA buttons under hero */
  .body-2 .section-6 .double-button-component {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* ---------- "THE EDIX ADVANTAGE" ---------- */

  .body-2 .section99 {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .body-2 .layout239_component {
    max-width: 56rem;
    margin: 0 auto;
  }

  .body-2 .edix-advantage {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .body-2 .edix-advantage-para {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* 2-column grid on tablets */
  .body-2 .layout242_list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    width: 100%;
  }

  .body-2 .solution_card {
    width: 100%;
    padding: 1.5rem 1.5rem;
    border-radius: 18px;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Icons inside cards – same size on tablet */
  .body-2 .solutions-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
  }

  /* CTA buttons after advantage section */
  .body-2 .section99 .double-button-component {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* ---------- "TECHNOLOGY BEHIND EDIX" SECTION ---------- */

  .body-2 .feature-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  /* Stack the two columns */
  .body-2 .feature-inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .body-2 .feature-left-area {
    order: 1;
    max-width: 40rem;
    margin: 0 auto;
  }

  .body-2 .feature-right-area.two {
    order: 2;
    align-self: center;
    width: 100%;
    max-width: 360px;
    min-height: 420px; /* ensure nice phone size */
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .body-2 .feature-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .body-2 .paragraph-3 {
    font-size: 1rem;
    line-height: 1.6;
  }

  .body-2 .feature-list-box {
    gap: 0.75rem;
  }

  /* Center bottom button */
  .body-2 .feature-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
}

/* -----------------------------------------
   2) MOBILE  (≤ 767px)
   ----------------------------------------- */
@media screen and (max-width: 767px) {

  /* HERO – fully centered on phones */
  .body-2 .section-6 {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
    text-align: center;
  }

  .body-2 .layout192_content {
    padding: 0 1rem;
  }

  .body-2 .building-data-para {
    font-size: 1.4rem;
  }

  .body-2 .text-size-medium.text-color-white {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .body-2 .layout192_image-wrapper {
    max-width: 320px;
  }

  /* Advantage section: 1 column grid, centered cards */
  .body-2 .section99 {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .body-2 .layout242_list {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;          /* equal left/right gap */
    box-sizing: border-box;
  }

  .body-2 .solution_card {
    display: flex;
    flex-direction: column;
    align-items: center;   /* center icon + text horizontally */
    text-align: center;    /* center headings & paragraphs */
    padding: 1.25rem 1.25rem;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
   

  }

  .body-2 .solutions-icon {
    margin-bottom: 0.75rem; /* small gap under icon */
     margin-left: -50px;
  }
.body-2 .vision-heading,
  .body-2 .product-heading,
  .body-2 .business-strategy-heading,
  .body-2 .investment-heading {
    display: block;
    text-align: center;
    white-space: normal;       /* allow wrapping */
    max-width: 12rem;          /* forces break to next line */
    /* margin: 0.35rem auto 0.5rem; */
    margin-left: -20px;
    line-height: 1.3;
  }
  .body-2 .info_block {
    width: 100%;
    text-align: center;
  }


  .body-2 .solutions-icon img {
    width: 80px;
    height: 80px;
  }

  /* Technology section */
  .body-2 .feature-section {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .body-2 .feature-left-area {
    padding: 0 1rem;
    text-align: left;
  }

  .body-2 .feature-title {
    font-size: 2rem;
  }

  .body-2 .paragraph-3 {
    font-size: 0.95rem;
  }

  .body-2 .feature-right-area.two {
    max-width: 300px;
    min-height: 360px;
  }
}

/* -----------------------------------------
   3) VERY SMALL PHONES  (≤ 479px)
   ----------------------------------------- */
@media screen and (max-width: 479px) {

  .body-2 .section-6,
  .body-2 .section99,
  .body-2 .feature-section {
    height: auto !important;
    min-height: auto !important;
  }

  .body-2 .solution_card {
    border-radius: 16px;
  }

  .body-2 .solutions-icon img {
    width: 72px;
    height: 72px;
  }
}
