/* Mobile */
@media only screen and (min-width: 0em) {
  .team-section {
    background-color: #362F9A;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
  }
  .team-section .team-grid .team-member {
    background-color: #362F9A;
    padding: 20px;
    text-align: center;
    border: 2px solid #d9d9d9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .team-section .team-grid .team-member .underline {
    height: 4px;
    width: 50%;
    background-color: #F2CF05;
    margin: 0.5rem auto 1.5rem auto;
  }
  .team-section .team-grid .team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .team-section .team-grid .team-member h3 {
    color: white;
    max-width: 90%;
    margin: 10px auto;
    font-size: 1.2rem;
  }
  .team-section .team-grid .team-member p {
    color: white;
    font-size: 1rem;
  }
  .team-section .team-grid .team-member .experience {
    text-align: left;
    margin: auto;
    max-width: 90%;
  }
  .team-section .team-grid .team-member .experience p {
    color: white;
    font-weight: bold;
    font-size: 1rem;
  }
  .team-section .team-grid .team-member .experience ul {
    color: white;
    list-style-type: disc;
    padding-left: 15px;
  }
  .team-section .team-grid .team-member .experience ul li {
    color: white;
    font-size: 0.9rem;
    margin: 5px 0;
  }
  .team-section .statement-container {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .team-section .statement-container .statement-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
  }
  .team-section .statement-container .statement-buttons .statement-btn {
    background-color: transparent;
    color: #ffff;
    border: 1px solid lightgray;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 24px;
    margin: 10px 0;
    width: 100%;
    max-width: 250px;
    transition: all 0.3s ease;
  }
  .team-section .statement-container .statement-buttons .active {
    background-color: rgba(242, 207, 5, 0.1);
    border-color: #F2CF05;
  }
  .team-section .statement-container .content p {
    padding: 20px;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    color: #ffff;
  }
  .message-section {
    background-color: #F9F9F9;
    margin-top: 30px;
    padding-bottom: 30px;
  }
  .message-section .message-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 1100px;
    margin: auto;
    padding-top: 0;
  }
  .message-section .message-container .image-container {
    padding-bottom: 20px;
  }
  .message-section .message-container .image-container .profile-image {
    width: 100%;
    height: auto;
    border: 1px solid #362F9A;
    padding: 10px;
  }
  .message-section .message-container .text-container p {
    line-height: 1.6;
  }
  .message-section .message-container .text-container ul {
    margin-left: 20px;
  }
  .message-section .message-container .text-container ul li {
    margin-bottom: 10px;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  .team-section .statement-container {
    margin-left: auto;
    margin-right: auto;
  }
  .team-section .statement-container .statement-buttons {
    flex-direction: row;
    justify-content: center;
    /* This will center the buttons */
    align-items: center;
  }
  .team-section .statement-container .statement-buttons .statement-btn {
    margin: 0 10px;
    width: auto;
  }
  .message-section .message-container {
    flex-direction: row;
    align-items: center;
  }
  .message-section .message-container .image-container,
  .message-section .message-container .text-container {
    flex: 1;
  }
  .message-section .message-container .image-container {
    padding-right: 20px;
    padding-bottom: 0;
    justify-content: center;
  }
  .message-section .message-container .text-container {
    padding-left: 20px;
  }
  .message-section .message-container .text-container p {
    text-align: justify;
  }
}
@media (max-width: 768px) {
  .team-section .team-grid {
    grid-template-columns: 1fr;
  }
}
