/* Base Styles */
body {
  background-color: #ffffff;
  color: #333;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

p {
  font-size: 15px;
}

a {
  color: #e60000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* About Page Layout */

.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.intro-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.intro-image {
  flex: 1 1 50%;
  position: relative;
  z-index: 2;
}

.intro-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.intro-text {
  flex: 1 1 50%;
  background: #fff2f3;
  padding: 120px 60px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  margin-left: -80px; /* creates overlap */
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.small-heading {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  color: #e60000;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.intro-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #222;
}

.intro-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .intro-flex {
    flex-direction: column;
  }

  .intro-text {
    margin-left: 0;
    margin-top: -50px;
    text-align: center;
  }
}

.values-section,
.mission-section,
.what-we-do,
.about-section,
.team-section,
.cta-section {
  margin-bottom: 4rem;
  text-align: center;
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.what-card {
  background: #fff5f5;
  padding: 2rem;
  text-align: center;
  border: 1px solid #f0dcdc;
}

.cta-section {
  background: #fff5f5;
  padding: 3rem;
  border: 1px solid #f0dcdc;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: #e60000;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #b80000;
}

.about-section {
  display: grid;
  gap: 2rem;
}

.about-block {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  border-left: 5px solid #e60000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.team-section {
  background: linear-gradient(180deg, #fff 0%, #fff2f3 100%);
  text-align: center;
}

.team-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: #e60000;
  letter-spacing: 1px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
}

.team-member {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  transform: translateY(0);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.team-member:nth-child(1) {
  animation-delay: 0.2s;
}
.team-member:nth-child(2) {
  animation-delay: 0.4s;
}
.team-member:nth-child(3) {
  animation-delay: 0.6s;
}

.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.4s;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.team-member .position {
  font-weight: bold;
  color: #0a1f44;
  margin-bottom: 0.8rem;
}

.team-member .bio {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .team-member {
    padding: 1.5rem;
  }
}
