/* ==================== ABOUT SECTION ==================== */

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
:root {
  --primary: #434343;
  --secondary: #2c3e50;
  --dark: #212121;
  --light: #F3F3F3;
}

* {
  margin: 0;
  padding: 0;
}
.card {
  width: 210px;
  height: 300px;
  perspective: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 320px;
    height: 420px;
  }
}
.card__inner {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
}

.card__inner.is-flipped {
  transform: rotateY(180deg);
}
.card__face--front::after {
  content: "CLICK";
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  color: white;
  opacity: 0.7;
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2);
}

.card__face--front {
  background-image: linear-gradient(to bottom right, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__face--front h2 {
  color: #FFF;
  font-size: 20px;
}

.card__face--back {
  background-color: var(--light);
  transform: rotateY(180deg);
}

.card__content {
  width: 100%;
  height: 100%;
}

.card__header {
  position: relative;
  padding: 30px 30px 40px;
}

.card__header:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom left, var(--primary) 10%, var(--secondary) 115%);
  z-index: -1;
  border-radius: 0px 0px 50% 0px;
}

.pp {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background-color: #FFFFFF00;
  border: 2px solid #FFFFFF00;
  object-fit: cover;
}

.card__header h2 {
  color: #FFF;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.card__body {
  padding: 25px;
}

.card__body h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card__body p {
  color: var(--dark);
  font-size: 14px;
  line-height: 1.4;
}