.services_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 30px auto 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap; /* Prevent wrapping so image stays on right */
}

.services_text {
    flex: 1 1 400px;
    font-size: 18px;
    max-width: 450px;
    text-align: left;
    line-height: 1.3;

    margin-left: 100px;
}

.services_text h2 {
    margin-top: 0px;
    margin-bottom: 5px;
    max-width: 450px;
}

.services_list {
    list-style-position: inside;
    margin-top: 0;
    padding-left: 0;
}

.photo-box {
    flex: 1 1 650px;
    max-width: 650px;
    margin-top: 15px;
    text-align: right;
}

.photo-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 1299px) {
    .services_content {
      flex-direction: column;  /* Stack children vertically */
      align-items: center;     /* Center them horizontally */
      max-width: 100%;          /* Optional: reduce container width a bit */
      margin: 10px auto;       /* Keep centered with margin */
    }
  
    .services_text, .photo-box {
      flex: none;              /* Remove flex-grow/shrink */
      max-width: 100%;         /* Full width */
      text-align: center;  
      margin: auto;    /* Optional: center text and image */
    }
  
    .services_list {
      text-align: left;        /* Keep list text left-aligned for readability */
    }
  
    .photo-box img {
      max-width: 100%;         /* Make image scale nicely */
      height: auto;
    }
  }
  