/* OUTER SECTION WRAPPER – gives breathing room + max width */
.cards-section {
   /* controls overall width of the 3 cards */
  margin: 0 auto;
  padding: 10px 0px 0; /* space around the module */
}

/* DESKTOP / LARGE SCREENS */
.cards {
  display: flex;
  flex-wrap: nowrap;             /* all 3 in one row */
  justify-content: space-between;
  gap: 40px;                     /* space between cards */
}

.cards__card {
  display: flex;
  flex-direction: column;        /* icon/text stack inside each card */
  align-items: flex-start;
  align-self: flex-start;
  margin-bottom: 1.4rem;
  flex: 1 1 0;                   /* each card grows to share the row */
  min-width: 0;                  /* prevents weird overflow */
}

.card__image {
  height: auto;
  margin: 0 0 0.7rem 0;
  max-width: 100%;
  padding: 0.7rem;
  padding-left:0;
}

.card__text {
  padding: 0 0 0.7rem;
  width: 100%;
  line-height: 1.3;
}

/* TABLET – 2-column layout with nicer spacing */
@media (max-width: 1024px) {
  .cards-section {
    padding: 32px 24px 0;
  }

  .cards {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
  }

  .cards__card {
    flex: 1 1 calc(50% - 24px);  /* two cards per row, good gap */
  }
}

/* MOBILE – single column, full-width cards */
@media (max-width: 640px) {
  .cards-section {
    padding: 32px 20px 0;
  }

  .cards {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .cards__card {
    flex: 1 1 100%;
  }

  .card__image {
    margin: 0 0 0.7rem 0;
  }
}
/* Desktop-only tweaks for the deployment cards */
@media (min-width: 1025px) {

  /* constrain & center the whole row inside the section */
  .cards {
    max-width: 1350px;          /* you can bump this to 1240–1280 if you like */
    margin: 0 auto;             /* center within the section */
    justify-content: space-between;
    gap: 40px;                  /* spacing between cards */
  }

  /* make each card wider and let flex distribute space evenly */
  .cards__card {
    flex: 1 1 0;                /* cards grow/shrink evenly */
    min-width: 320px;           /* ensures nice wide text blocks */
    max-width: 380px;           /* safety cap so they don’t get too wide */
  }

  /* make sure the text can use the full card width */
  .card__text {
    max-width: 100%;
  }
}
  .card__text h3{
    font-weight:normal;
  }
}