#section-10 {
    display: flex;
    flex-direction: row;
    padding: 28px;
}

.sec10-con {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sec10-text-con {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec10-text-con h2 {
    color: #642E11 !important;
    padding: 5px;
}

.sec10-text-con p {
    padding: 5px;
    line-height: 1.6;
    font-size: small;
    text-align: center;     /* center both lines */
    width: 100%;
}


.sec10-img-con {
    display: flex;
    flex-direction: row;
    padding: 15px;
    gap: 16px;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

.sec10-img-con img {
    padding: 0;
    height: 400px;
    width: 400px;
    box-sizing: border-box;
    filter: blur(5px);
    /* keep or remove as desired */
    border-radius: 6px;
}

@media (max-width: 1200px) {
  #section-10 { padding: 28px; }
  .sec10-con { gap: 14px; }

  .sec10-text-con h2 { font-size: 1.6rem; padding: 6px; }
  .sec10-text-con p { font-size: 0.95rem; padding: 6px; }

  .sec10-img-con {
    gap: 12px;
    justify-content: center;
    padding: 8px;
  }

  .sec10-img-con img {
    max-width: 400px;
    height: auto;
    max-height: 400px;
    box-sizing: border-box;
    padding: 6px;
  }

  /* safety */
  .sec10-img-con, .sec10-img-con img {  box-sizing: border-box; }
}

/* <= 900px: tablets / large phones — stack content vertically, images full width but capped */
@media (max-width: 900px) {
  #section-10, .sec10-con { padding: 20px; gap: 12px; }
  .sec10-con { align-items: stretch; }

  .sec10-img-con {
    gap: 10px;
    padding: 6px 0;
    align-items: center;
  }

  .sec10-img-con img {
    max-width: 400px; /* cap on larger phones */
    max-height: 400px;
    padding: 6px 0;
  }

  .sec10-text-con h2 { font-size: 1.4rem; }
  .sec10-text-con p { font-size: 0.96rem; line-height: 1.5; }
}

/* <= 520px: phones — full width images, reduce paddings and blur, avoid overflow */
@media (max-width: 520px) {
  #section-10, .sec10-con { padding: 14px 10px; gap: 10px; }
  .sec10-text-con h2 { padding: 4px 0; text-align: center; }
  .sec10-text-con p { font-size: small; padding: 4px 0; text-align: justify; }

  .sec10-img-con {
    gap: 8px;
    padding: 4px 0;
  }

  .sec10-img-con img {
    width: 150px;
    height: 150px;
    filter: blur(1.5px);
  }

  /* ensure section doesn't force page horizontal scroll */
  #section-10, .sec10-img-con { overflow-x: hidden; box-sizing: border-box; }
}

/* <= 375px: very small phones — tighter spacing and smaller fonts */
@media (max-width: 375px) {
  #section-10, .sec10-con { padding: 10px 8px; gap: 8px; }
  .sec10-text-con h2 { font-size: 1rem; }
  .sec10-text-con p { font-size: 0.88rem; }

  .sec10-img-con img {
    padding: 3px 0;
    border-radius: 4px;
    filter: blur(1px);
  }
}