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

.sec4-con {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    align-items: stretch;
}

.sec4-con > .sec4-text-con,
.sec4-con > .sec4-img-con {
    flex: 1 1 0;
    min-width: 0; 
    box-sizing: border-box;
}

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

.sec4-text-con h2 {
    color: #642E11 !important;
    padding: 15px;
    font-size: x-large;
    width: 100%;
    text-align: center;
}

.sec4-text-con p {
    padding: 15px;
    font-size: 16px;
    text-align: justify;
    line-height: 1.6;
}

.sec4-img-con {
    padding: 20px;
    min-height: 450px;
}
.sec4-img-con img {
    width: 100%;
    height: 100%;       
    max-height: 700px;    
    object-fit: cover;   
    border-radius: 5%;.sec5-img-con { 
    height: 350px; 
    min-height: 350px; 
  }
}

.sec4-con, .sec4-con > * {
  box-sizing: border-box;
  min-width: 0;
}

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

  .sec4-con > .sec4-text-con,
  .sec4-con > .sec4-img-con {
    flex: 1 1 50%;
    min-width: 0; 
    box-sizing: border-box;
    padding: 8px;
  }

  .sec4-text-con h2 { font-size: 1.8rem; padding: 12px 8px; color: #642E11 !important; margin-top: 10px;}
  .sec4-text-con p { font-size: 0.95rem; padding: 8px 8px; line-height: 1.55; }

  .sec4-img-con { padding: 8px;min-height: 600px; }
  .sec4-img-con img { width: 100%; height: 100%; display: block; object-fit: cover;margin-bottom:0; }
}

@media (max-width: 900px) {
  #section-4, .sec4-con {
    flex-direction: column;
    padding: 18px;
    gap: 12px;
  }

  .sec4-text-con {
    max-width: 100%;
    padding: 8px 4px;
    height: 100%;
  }
  .sec4-img-con {
    height: auto !important;
    min-height: unset !important;
    padding: 0 !important;
  }

  .sec4-img-con img {
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: cover;
    margin: 0 !important;
  }
  .sec4-text-con h2 { font-size: 1.5rem; padding: 8px 4px; text-align: center; margin-top: 10px; }
  .sec4-text-con p { font-size: 0.95rem; padding: 6px 4px; line-height: 1.5; text-align: justify; 
  }
}

@media (max-width: 520px) {
  #section-4, .sec4-con { padding: 14px 10px; gap: 10px; }
  .sec4-text-con h2 {
    padding: 6px 2px;
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    text-align: center;
    color: #642E11 !important;
  }

  .sec4-text-con p {
    font-size: 1rem;
    padding: 6px 2px;
    line-height: 1.45;
    text-align:justify;
    word-break: break-word;
  }
   .sec4-img-con {
    height: auto ;
    min-height: unset ;
    padding: 0;
  }

  .sec4-img-con img {
    height: auto;
    margin-bottom: 0;
  }
}

@media (max-width: 375px) {
  #section-4, .sec4-con { padding: 10px 8px; gap: 8px; }
  .sec4-text-con h2 { font-size: 1.5rem; padding: 4px 2px; color: #642E11 !important;margin-top: -15px;}
  .sec4-text-con p { font-size: 0.95rem; padding: 4px 2px; line-height: 1.4; margin-top: 10px; }
  .sec4-img-con img {
    height: 100%;
    margin-bottom: 0;
  }
  .sec4-img-con {
    height: auto ;
    min-height: unset;
  }
}

