/* About Page Styles */

/* 2. Page Hero / Intro Banner */
.about-hero {
  margin-top: -7.5rem; /* pull hero up behind the announcement bar + floating header (no dark strip) */
  padding: calc(10rem + 7.5rem) 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-bg);
  z-index: -1;
}

.about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(-8vh);
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 85vh;
    padding: calc(6.5rem + 7.5rem) 1rem 4rem;
  }

  .about-hero-inner {
    transform: translateY(-4vh);
  }
}

/* 3. Our Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

.story-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--border);
  padding-left: 2rem;
  margin-top: 3rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 7px); /* centers the 12px dot on the 2px timeline line */
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple-accent);
  border: 2px solid var(--bg);
  box-shadow: var(--shadow-glow);
}

.timeline-year {
  color: var(--purple-vivid);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

/* 4. Mission / Vision / Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--purple-soft);
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
}

.value-card .icon-tile {
  margin-bottom: 1.5rem;
}

/* 6. Team / Leadership */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.9rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 1.75rem;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* Photo area (4:5). Default placeholder = grey box with white avatar silhouette.
   To use a real photo: <div class="team-photo"><img src="..." alt="Name"></div> */
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #cccccc;
  overflow: hidden;
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* head */
.team-photo:not(:has(img))::before {
  content: '';
  position: absolute;
  top: 27%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ffffff;
}

/* shoulders */
.team-photo:not(:has(img))::after {
  content: '';
  position: absolute;
  top: 67%;
  left: 50%;
  width: 82%;
  aspect-ratio: 1.2 / 1;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: #ffffff;
}

.team-info {
  padding: 1.5rem 1rem 1.6rem;
  background: #ffffff;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: #0b0b1a;
}

.team-role {
  margin: 0;
  color: #0b0b1a;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 9. Certifications / Awards / Partnerships */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.award-card {
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.award-card:hover {
  border-color: var(--border-bright);
}

.award-icon {
  color: var(--purple-accent);
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
}

.award-title {
  font-weight: 500;
  color: var(--fg);
  font-size: 1.1rem;
}

.award-org {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}