/* About page custom styles. Layered on top of Elementor/Hello theme. */

.about-page-hero {
  position: relative;
  background-image: url('/wp-content/uploads/2025/12/Untitled-design.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  padding: 200px 24px 200px;
  text-align: center;
  overflow: hidden;
}

.about-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.about-page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.about-page-hero h1 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.about-page-hero p {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.about-team {
  background: #ffffff;
  padding: 80px 24px 100px;
}

.about-team__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.about-team__title {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 8px;
}

.about-team__subtitle {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #6b7280;
  text-align: center;
  margin: 0 0 48px;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 28px 24px 32px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: rgba(255, 94, 58, 0.35);
}

.team-card__photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3.team-card__name {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #0f172a !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
  position: relative;
  padding-bottom: 12px;
  text-align: center;
}

.team-card__name::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #FF5e3a;
  border-radius: 2px;
}

.team-card__role {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FF5e3a;
  margin: 0 0 14px;
}

.team-card__bio {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
  text-align: left;
}

@media (max-width: 880px) {
  .about-page-hero {
    padding: 140px 20px 120px;
    background-attachment: scroll;
  }
  .about-page-hero h1 {
    font-size: 40px;
  }
  .about-page-hero p {
    font-size: 16px;
  }
  .about-team {
    padding: 60px 20px 80px;
  }
  .about-team__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .team-card__photo {
    width: 140px;
    height: 140px;
  }
  .team-card__name {
    font-size: 28px;
  }
}
