.section-9{
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    width: 100%;
    font-family: "Roboto", sans-serif;
    overflow: hidden;
    transition: all 0.5s ease;
}

.teacher-training-section {
    text-align: center;
    transition: all 0.5s ease;
  }
  
  .small-image-3 {
    width: 162px;
    height: 154px;
    object-fit: contain;
    transition: all 0.5s ease;
    
  }
  
  /* Heading Styles */
  .teacher-heading {
    font-size: 3rem;
    font-weight: bold;
    color: #003E65;
    text-align: center;
    margin-top: -60px;
    font-family: "monserrat", sans-serif;
    transition: all 0.5s ease;
  }
  
  /* Content Styles */
  .teacher-content {
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
    margin-top: -20px;
    font-family: "Monserrat", sans-serif;
    transition: all 0.5s ease;
  }
  
  /* Large Image Styles */
  .large-image-3-container {
    margin-top: 50px; 
    transition: all 0.5s ease;
  }
  
  .large-image-3 {
    position: relative;
    max-width: 679px; 
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    transition: all 0.5s ease;
}

.button-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .trainer-button {
    padding: 10px 40px;
    font-size: 1rem;
    color: white;
    background-color: #FF6F00;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .trainer-button:hover {
    background-color: #fe9443;
  }

/* 320px */
@media screen and (min-width: 320px) {
    .teacher-heading {
        font-size: 2.3rem;
    }

    .teacher-content {
        font-size: 1.2rem;
    }

    .large-image-3 {
        width: 300px;
    }
}
  
/* 375px */
@media screen and (min-width: 375px) {
    .teacher-heading {
        font-size: 2.7rem;
    }

    .teacher-content {
        font-size: 1.2rem;
    }

    .large-image-3 {
        width: 350px;
    }
}
/* 425px */
@media screen and (min-width: 425px) {
    .large-image-3 {
        width: 400px;
    }
}
/* 768px */
@media screen and (min-width: 768px) {
    .teacher-heading {
        font-size: 3rem;
    }

    .teacher-content {
        font-size: 1.5rem;
    }

    .large-image-3 {
        width: 661px;
    }
}