/* TAC About */
/* ===== PAGE HERO (About) ===== */
.about-hero {
  padding-top: 120px;
}
.about-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1920&q=70');
}

/* ===== OUR STORY ===== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-images {
  position: relative;
  height: 480px;
}
.story-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.16);
}
.story-img-main img { width: 100%; height: 100%; object-fit: cover; }
.story-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%; height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  border: 4px solid #fff;
}
.story-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute;
  top: -16px; left: -16px;
  background: var(--red);
  color: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(221,25,26,.4);
}
.story-badge-num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.story-badge-txt { font-size: .7rem; opacity: .9; margin-top: 2px; line-height: 1.3; }

.story-content .section-header { margin-bottom: 24px; }
.story-content p { color: #555; font-size: .95rem; line-height: 1.8; margin-bottom: 14px; }
.story-values {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.value-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(221,25,26,.07);
  border: 1px solid rgba(221,25,26,.2);
  color: var(--red);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
}
.value-pill i { font-size: .75rem; }

/* ===== MISSION / VISION ===== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mv-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 40px 32px;
  transition: all .3s;
}
.mv-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.mv-card-dark {
  background: var(--black);
  border-color: var(--black);
}
.mv-card-dark h3 { color: #fff; }
.mv-card-dark p { color: #888; }
.mv-card-dark .mv-icon { background: rgba(221,25,26,.2); }
.mv-icon {
  width: 56px; height: 56px;
  background: rgba(221,25,26,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--red);
  margin-bottom: 22px;
}
.mv-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.mv-card p { font-size: .9rem; color: #666; line-height: 1.75; margin: 0; }

/* ===== ABOUT STATS ===== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  overflow: hidden;
}
.about-stat {
  text-align: center;
  padding: 44px 28px;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s;
}
.about-stat:hover { background: rgba(221,25,26,.08); }
.about-stat-icon {
  width: 48px; height: 48px;
  background: rgba(221,25,26,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--red);
  margin: 0 auto 16px;
}
.about-stat .number { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.about-stat .label { color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.about-stat p { color: #555; font-size: .82rem; margin: 0; line-height: 1.5; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 0 8px 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(221,25,26,.15));
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -48px;
  top: 5px;
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(221,25,26,.25);
  z-index: 1;
}
.timeline-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.2;
  min-width: 48px;
  flex-shrink: 0;
}
.timeline-content { flex: 1; }
.timeline-content h4 { font-size: .95rem; margin-bottom: 6px; color: var(--black); }
.timeline-content p { font-size: .85rem; color: #666; margin: 0; line-height: 1.65; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.team-photo {
  height: 180px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
  letter-spacing: 1px;
}
.team-info { padding: 22px; }
.team-info h4 { font-size: 1rem; margin-bottom: 4px; }
.team-role {
  display: inline-block;
  color: var(--red);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.team-info p { font-size: .83rem; color: #666; line-height: 1.65; margin-bottom: 16px; }
.team-social { display: flex; gap: 8px; }
.team-social a {
  width: 30px; height: 30px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #888; font-size: .78rem;
  transition: all .3s;
}
.team-social a:hover { background: var(--red); color: #fff; }

/* ===== CERTIFICATIONS ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all .3s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.08); border-color: rgba(221,25,26,.2); }
.cert-icon {
  width: 56px; height: 56px;
  background: rgba(221,25,26,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--red);
  margin: 0 auto 18px;
}
.cert-card h4 { font-size: .95rem; margin-bottom: 10px; }
.cert-card p { font-size: .85rem; color: #666; margin: 0; line-height: 1.65; }

/* ===== PARTNERS ===== */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.partner-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 18px 20px;
  transition: all .3s;
}
.partner-item:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(221,25,26,.1); }
.partner-item i { color: var(--red); font-size: 1rem; flex-shrink: 0; }
.partner-item span { font-size: .82rem; font-weight: 600; color: #444; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-strip { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-images { height: 280px; margin-bottom: 40px; }
  .story-img-main { width: 100%; height: 280px; position: relative; }
  .story-img-secondary { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-year { display: none; }
  .timeline-item:nth-child(even) .timeline-content { order: 2; text-align: left; }
  .timeline-item:nth-child(even) .timeline-year { display: none; }
  .timeline-dot { justify-self: start; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .partners-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ===== HEADER FIX: always dark on inner pages ===== */
body:not(.home-page) #site-header {
  background: rgba(13,13,13,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
