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

.sec11-con {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sec11-text-con {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sec11-text-con h2 {
  color: var(--teritary-col);
  padding: 5px;
}

.sec11-text-con p {
  padding: 5px;
  line-height: 1.6;
  font-size: small;
}

.sec11-img-con {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.sec11-img-con img {
  padding: 35px;
  height: 350px;
  width: 90%;
  max-width: 350px;
  max-height: 350px;
  padding-left: 0;
  padding-right: 10px;
}

@media (max-width: 1200px) {
  #section-11 {
    padding: 28px;
  }
  .sec11-con {
    gap: 16px;
    align-items: stretch;
  }

  .sec11-img-con {
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    min-width: 0;
  }

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

  .sec11-text-con {
    align-items: flex-start;
    text-align: left;
  }
  .sec11-text-con h2 {
    font-size: 1.6rem;
  }
  .sec11-text-con p {
    font-size: 0.95rem;
  }
}

/* <= 900px: stack columns vertically so images fit the viewport */
@media (max-width: 900px) {
  #section-11,
  .sec11-con {
    flex-direction: column;
    padding: 18px;
    gap: 12px;
  }
  .sec11-img-con {
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
    align-items: center;
  }

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

  .sec11-text-con {
    align-items: center;
    text-align: center;
  }
  .sec11-text-con h2 {
    font-size: 1.35rem;
  }
  .sec11-text-con p {
    font-size: 0.98rem;
    line-height: 1.5;
  }
}

/* <= 520px: phone portrait — full width images; reduce paddings */
@media (max-width: 520px) {
  #section-11,
  .sec11-con {
    padding: 12px 10px;
    gap: 10px;
  }
  .sec11-img-con {
    gap: 8px;
    padding: 6px 0;
  }

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

  .sec11-text-con p {
    font-size: small;
    padding: 4px 0;
    text-align: justify;
  }
}

/* <= 375px: very small phones — tighten text and paddings, ensure no horizontal scroll */
@media (max-width: 375px) {
  #section-11,
  .sec11-con {
    padding: 10px 8px;
    gap: 8px;
  }
  .sec11-img-con {
    padding: 4px 0;
    gap: 6px;
  }

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

  .sec11-text-con h2 {
    font-size: 1rem;
  }
  .sec11-text-con p {
    font-size: 0.88rem;
    line-height: 1.4;
  }
}
