/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
} */

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
} */

.main-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 180px;
  text-align: center;
  margin-bottom: 100px;
}

.main-content {
  flex: 1;
  min-width: 280px;
  text-align: left;
  padding-left: 20px;
}

.team-heading {
  font-size: 40px;
  font-weight: 700;
  color: #101828;
  /* width: 768px;
    height: 44px; */
  top: 36px;
  font-family: "Inter", sans-serif;
  line-height: 80px;
  letter-spacing: -2%;
}

.team-highlight {
  color: #1e1e1e;
  background: linear-gradient(to top, #dfffe1 50%, transparent 50%);
}

.main-content h1 {
  font-size: 28px;
  color: #000;
  line-height: 40px;
}

.main-content p {
  color: #555;
  margin-top: 20px;
  /* font-size: 16px;
  line-height: 1.8; */
  font-family: Inter;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: justify;
}

.main-image {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.main-image img {
  width: 100%;
  max-width: 580px;
  /* border-radius: 8px; */
  border-radius: 20px;
}

.team-section {
  margin-top: 100px;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 100px;
}

.team-card {
  background: #f5f7fa;
  /* padding: 20px; */
  /* border-radius: 8px; */
  text-align: center;
  flex: 1;
  border-radius: 20px;
  max-width: 400px;
}

.team-card img {
  width: 100% !important;
  /* max-width: 400px;
  height: auto; */
  /* border-radius: 8px; */
  /* border-radius:20px */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  object-fit: contain !important;
  object-position: top center;
  height: auto !important;
}

.team-card h3 {
  /* color: #d32f2f;
    font-size: 18px;
    margin-top: 10px; */
  font-family: Inter;
  font-weight: 700;
  font-size: 24px;
  line-height: 44px;
  letter-spacing: -2%;
  color: #f05020;
  text-align: left;
  padding: 5% 4% 0% 4%;
}

.team-card h6 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
  color: #000000;
  /* margin: 5px 0; */
  text-align: left;
  padding: 1% 4% 0% 4%;
}

.team-card p {
  color: #565f76;
  /* font-size: 14px;
    margin-top: 10px;
  
    line-height: 1.5; */
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: justify;
  padding: 4%;
}

.team-subheading {
  font-family: "Inter", sans-serif;
  font-weight: 700 !important;
  font-size: 40px !important;
  /* text-transform: uppercase; */
  color: #f05020 !important;
}
/* .team-card img {
  width: 100%;
 max-width: 400px;
  height: 300px; 
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  object-position: top center;
} */

@media (max-width: 1024px) {
  .main-section {
    flex-direction: column;
    text-align: center;
  }

  .main-content {
    text-align: center;
  }

  .main-image img {
    max-width: 100%;
  }

  .team-row {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .main-content h1 {
    font-size: 24px;
  }

  .main-content p {
    font-size: 14px;
  }

  .team-card {
    max-width: 100%;
  }

  .main-section {
    flex-direction: column-reverse;
    text-align: center;
  }

  .main-content {
    padding-left: 0;
    text-align: center;
  }

  .main-image img {
    max-width: 100%;
    height: auto;
  }
  .main-section {
    flex-direction: column-reverse;
    text-align: center;
    margin-top: 130px !important;
    margin-bottom: 30px !important;
  }

  .main-content {
    padding-left: 0;
    text-align: center;
  }

  .main-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .main-content h1 {
    font-family: Inter;
    font-weight: 700;
    font-size: 30px;
    line-height: 44px;
    letter-spacing: -2%;
  }

  .main-content p {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0%;
  }
  .team-subheading {
    font-family: Inter;
    font-weight: 700;
    font-size: 24px !important;
    line-height: 24px;
    letter-spacing: 0%;
    /* text-transform: uppercase; */
  }
  .team-card h3 {
    font-family: Inter;
    font-weight: 700;
    font-size: 24px;
    line-height: 44px;
    letter-spacing: -2%;
  }

  .team-card h6 {
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -2%;
  }

  .team-card p {
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
  }

  .main-content {
    flex: 1;
    /* min-width: 280px; */
    text-align: left;
    padding: 10px;
  }

  .team-section {
    margin-top: 0px !important;
  }
  .team-row {
    margin-bottom: 50px !important;
  }
}

/* Ensure normal order for larger screens */
/* @media (min-width: 769px) {
  .main-section {
    flex-direction: row;
  }
} */
