.section-our-team {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.contents-our-team {
    text-align: center;
   
}

.contents-our-team h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.contents-our-team p {
    font-size: 1.5rem;
    margin-top: 10px;
}

.team-members-boxes {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      width: 220px;
      text-align: center;
      transition: 0.3s ease;
      display: inline-block;
        margin: 15px;
    
}
.team-members-boxes:hover {
     transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.team-members-boxes img {
    width: 100%;
      height: 220px;
      object-fit: cover;
}
.team-members-boxes h3 {
      margin: 10px 0 5px;
      font-size: 18px;
      color: #333;
}

.team-members-boxes p {
     margin-bottom: 15px;
      font-size: 14px;
      color: #777;
}

.box-out-team {
    display: flex;
    justify-content: center;
    align-items: center;
   
    flex-direction: row;
}

/* ...existing code... */

/* Large tablets and down */
@media (max-width: 1200px) {
  .box-out-team {
    flex-wrap: wrap;
    gap: 20px;
  }
  .team-members-boxes {
    width: 200px;
    margin: 10px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .box-out-team {
    flex-wrap: wrap;
    gap: 16px;
  }
  .team-members-boxes {
    width: 180px;
    margin: 8px;
  }
  .contents-our-team h1 {
    font-size: 2.5rem;
  }
  .contents-our-team p {
    font-size: 1.1rem;
  }
}

/* Small tablets */
@media (max-width: 768px) {
  .box-out-team {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .team-members-boxes {
    width: 90%;
    max-width: 350px;
    margin: 10px auto;
  }
  .team-members-boxes img {
    height: 180px;
  }
  .contents-our-team h1 {
    font-size: 2rem;
  }
}

/* Mobile devices */
@media (max-width: 678px) {
  .contents-our-team h1 {
    font-size: 1.5rem;
  }
  .team-members-boxes {
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
  }
  .team-members-boxes img {
    height: 140px;
  }
  .contents-our-team p {
    font-size: 1rem;
  }
}