/* ═══════════════════════════════════════════════════════════════════════════
   About Page — Styles
   Hero ambient · Envision/Explore/Execute · Timeline · Team cards · Partners
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── LAYOUT PRIMITIVES ──────────────────────────────────────────────────── */

.section {
  padding: 72px 52px;
  background: var(--white);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--white);
}

/* Headings inside dark sections must override style.css element rule */
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--pale {
  background: var(--blue-pale);
}

.section--eee {
  background: var(--white);
  padding-bottom: 56px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section__intro {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-mid);
  margin-bottom: 40px;
}

.section--dark .section__intro {
  color: rgba(255, 255, 255, 0.6);
}

/* ── HERO AMBIENT ANIMATION ─────────────────────────────────────────────── */

.hero__ambient {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: visible;
}

/* Subtle grid overlay */
.hero__ambient::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

/* ─ Rings ─ */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(0, 200, 255, 0.35);
  animation: ringPulse 3.5s ease-in-out infinite;
}

.hero__ring--1 { width: 110px;  height: 110px;  animation-delay: 0s;   border-color: rgba(0, 200, 255, 0.55); }
.hero__ring--2 { width: 230px;  height: 230px;  animation-delay: 0.7s; }
.hero__ring--3 { width: 370px;  height: 370px;  animation-delay: 1.4s; border-color: rgba(0, 200, 255, 0.15); }

/* ─ Semi-circles ─ */
.hero__semi {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 255, 0.5);
  pointer-events: none;
}

.hero__semi--1 {
  width: 200px; height: 200px;
  top: 5%; right: -30px;
  clip-path: inset(0 0 0 50%);
  animation: rotateSemi 12s linear infinite;
  border-color: rgba(0, 200, 255, 0.45);
}

.hero__semi--2 {
  width: 140px; height: 140px;
  bottom: 10%; left: 0;
  clip-path: inset(50% 0 0 0);
  animation: rotateSemi 9s linear infinite reverse;
  border-color: rgba(0, 135, 168, 0.55);
}

.hero__semi--3 {
  width: 90px; height: 90px;
  top: 55%; right: 12%;
  clip-path: inset(0 50% 0 0);
  animation: rotateSemi 14s linear infinite;
  border-color: rgba(0, 200, 255, 0.35);
}

/* ─ Dots ─ */
.hero__dot {
  position: absolute;
  background: var(--cyan);
  border-radius: 50%;
  animation: floatDot 4s ease-in-out infinite;
}

.hero__dot--1 { width: 9px;  height: 9px;  top: 22%; left: 28%; animation-delay: 0s; }
.hero__dot--2 { width: 5px;  height: 5px;  top: 66%; left: 18%; animation-delay: 0.9s; opacity: 0.65; }
.hero__dot--3 { width: 11px; height: 11px; top: 38%; right: 20%; animation-delay: 1.5s; background: rgba(0, 200, 255, 0.45); }
.hero__dot--4 { width: 4px;  height: 4px;  top: 82%; right: 32%; animation-delay: 2.2s; opacity: 0.45; }
.hero__dot--5 { width: 7px;  height: 7px;  top: 12%; right: 42%; animation-delay: 0.5s; opacity: 0.8; }

/* ─ Scanline ─ */
.hero__scanline {
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(0, 200, 255, 0.65), transparent);
  top: 0;
  animation: scan 5s ease-in-out infinite;
}

@keyframes rotateSemi {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── ENVISION / EXPLORE / EXECUTE ───────────────────────────────────────── */

.eee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.eee-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-md), box-shadow var(--transition-md), transform var(--transition-md);
}

.eee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 10px 10px 0 0;
}

/* Subtle corner glow on hover */
.eee-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--transition-md);
  opacity: 0;
}

.eee-card:hover::after { opacity: 1; }

.eee-card:hover {
  border-color: rgba(0, 200, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 171, 0.07);
  transform: translateY(-3px);
}

.eee-card__icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.12), rgba(0, 0, 171, 0.08));
  border: 1px solid rgba(0, 200, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-mid);
}

.eee-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.eee-card p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* Connector arrows between cards */
@media (min-width: 769px) {
  .eee-grid {
    position: relative;
  }

  .eee-card:not(:last-child)::after {
    /* override glow — arrow is drawn via SVG in HTML, skip CSS arrows */
  }
}

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

/* ── JOURNEY — COMPACT HORIZONTAL TIMELINE ──────────────────────────────── */

.journey-h {
  margin-top: 40px;
  position: relative;
}

/* The spine is drawn on the items row */
.journey-h__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Horizontal connecting line */
.journey-h__items::before {
  content: '';
  position: absolute;
  top: 14px; /* aligns with dot center */
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 200, 255, 0.25));
  z-index: 0;
}

.journey-h__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

/* Glowing dot */
.journey-h__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue-mid));
  border: 3px solid var(--blue-pale);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.25), 0 0 14px rgba(0, 200, 255, 0.35);
  flex-shrink: 0;
  margin-bottom: 16px;
  transition: box-shadow var(--transition-md);
  z-index: 2;
}

.journey-h__item:hover .journey-h__dot {
  box-shadow: 0 0 0 5px rgba(0, 200, 255, 0.3), 0 0 22px rgba(0, 200, 255, 0.55);
}

/* Card */
.journey-h__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  width: 100%;
  transition: border-color var(--transition-md), box-shadow var(--transition-md), transform var(--transition-md);
  text-align: center;
}

.journey-h__card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 8px 8px 0 0;
  margin: -18px -20px 14px;
}

.journey-h__item:hover .journey-h__card {
  border-color: rgba(0, 200, 255, 0.4);
  box-shadow: 0 6px 24px rgba(0, 0, 171, 0.08);
  transform: translateY(-3px);
}

.journey-h__year {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.journey-h__card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.journey-h__card p {
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.65;
  margin: 0;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .journey-h__items {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .journey-h__items::before {
    top: 14px;
    left: 14px;
    bottom: 14px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .journey-h__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 24px 0;
  }

  .journey-h__dot {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 2px;
  }

  .journey-h__card {
    text-align: left;
  }

  .journey-h__card::before {
    margin: -18px -20px 12px;
  }
}

/* ── EXECUTIVE TEAM CARDS ────────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  position: relative;
  text-align: left;
  transition:
    transform var(--transition-md),
    border-color var(--transition-md),
    box-shadow var(--transition-md);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 255, 0.38);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 200, 255, 0.07);
}

/* Top gradient bar */
.team-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-mid) 50%, var(--blue) 100%);
  flex-shrink: 0;
}

/* Corner glow */
.team-card::after {
  content: '';
  position: absolute;
  top: 4px; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(0, 200, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.team-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--dark-bg);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 200, 255, 0.3);
}

.team-card__body {
  padding: 24px 28px 28px;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

.team__role {
  display: block;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
}

.team-card p:not(.team__role) {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.btn-link {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
  letter-spacing: 0.3px;
}

.btn-link::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition);
}

.btn-link:hover {
  color: var(--white);
  gap: 8px;
}

/* ── PARTNERS — COMPACT SCROLLER ────────────────────────────────────────── */

.partners-scroller {
  position: relative;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 0;
  overflow: hidden;
  background: var(--blue-pale);
}

/* Left/right fade masks */
.partners-scroller__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners-scroller__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--blue-pale), transparent);
}

.partners-scroller__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--blue-pale), transparent);
}

.partners-scroller__track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: partners-scroll 40s linear infinite;
  will-change: transform;
}

.partners-scroller__track:hover {
  animation-play-state: paused;
}

.partners-scroller__track img {
  flex-shrink: 0;
  width: 90px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s ease;
}

.partners-scroller__track img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes partners-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .section { padding: 60px 36px; }
  .eee-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 44px 20px; }
  .eee-grid { grid-template-columns: 1fr; gap: 14px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card__body { padding: 20px; }
  .partners-scroller__fade { width: 40px; }
}
