.our-team {
  background-color: #f5f5f5;
}

.team-headline {
  padding-top: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.team-headline p {
  margin-top: 32px;
}

.team-cards {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 44px;
  padding-bottom: 72px;
}

.card {
  flex: 0 1 360px;
  box-shadow: 3px 3px 6px rgb(119, 119, 119, 0.51);
}

.card p {
  margin-top: 16px;
  margin-bottom: 120px;
}

.team-member {
  padding: 16px;
}

.card {
  cursor: pointer;
  position: relative;
  flex: 0 1 360px;
  height: 640px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 3px 3px 6px rgba(119, 119, 119, 0.51);
}

.card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #fff;
}

.card-front img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.card-front h3 {
  padding: 16px;
  text-align: center;
}

.card-back {
  background-color: #f5f5f5;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-back .team-member {
  padding: 20px;
  height: auto;
  text-align: center;
}

.cta-member{
  text-align: center;
  margin-top: 6px !important;
}

.cta-member span{
  font-size: 1.5rem;
  color: var(--color-accent);
}


/* ===========================
   Responsives Design (Breakpoints)
   Range: 320px – 1920px
=========================== */
/* Extra Large Devices (1200px – 1599px) */
@media (min-width: 1600px) and (max-width: 1800px) {
}

/* Extra Large Devices (1200px – 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
}

/* Extra Large Devices (1200px – 1599px) */
@media (min-width: 1025px) and (max-width: 1430px) {
}

/* Large Devices (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Medium Devices (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
}

/* Small Devices (576px – 767px) */
@media (max-width: 767px) {
  .card {
    height: 560px;
  }

  .card-front h3 {
    padding: 6px;
  }
}

/* Extra Small Smartphones (320px – 575px) */
@media (max-width: 575px) {
}
