/*
  =====================================================================
  ABOUT PAGE STYLESHEET
  ---------------------------------------------------------------------
  Purpose:
  - Defines about.html-specific visual sections and responsive behavior.
  - Includes hero, story, vision/mission, values, timeline, and sectors.
  - Shared navigation/footer styles remain in styles/shared.css.
  =====================================================================
*/

/* Reusable section eyebrow used across multiple About blocks. */
.section-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: #4eb3f6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Reusable section heading with responsive scaling. */
.section-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 16px;
}

/* Emphasized keyword style inside section headings. */
.section-headline em {
  font-style: italic;
  color: #4eb3f6;
}

/* Shared section subtext style centered beneath headings. */
.section-sub {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto 40px;
}

/* ── HERO ───────────────────────────────────────────────── */
/* Top hero band introducing brand identity and key metrics. */
.about-hero {
  min-height: 520px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 8% 0;
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow in top-right for depth. */
.about-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(78, 179, 246, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Low-opacity image texture layer over hero gradient. */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("images/collage.png") center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

/* Hero eyebrow text style. */
.about-hero-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: #4eb3f6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Hero main heading. */
.about-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Hero emphasized heading fragment. */
.about-hero-title em {
  font-style: italic;
  color: #4eb3f6;
}

/* Hero supporting paragraph. */
.about-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 60px;
}

/* KPI shelf docked at the bottom edge of the hero. */
.about-hero-stats {
  display: flex;
  gap: 0;
  background: white;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  align-self: stretch;
  margin: 0 -8% -1px;
  padding: 0 8%;
}

/* Individual KPI tile in the hero shelf. */
.about-hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  border-right: 1px solid #eee;
  background: white;
  transition: background 0.3s;
}

/* Remove right divider on final KPI tile. */
.about-hero-stat:last-child {
  border-right: none;
}
/* Hover tint for KPI tiles. */
.about-hero-stat:hover {
  background: #f0f8ff;
}

/* KPI numeric value typography. */
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: #4eb3f6;
  line-height: 1;
}

/* KPI label typography. */
.stat-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ── OUR STORY ──────────────────────────────────────────── */
/* Story section with copy on left and featured image stack on right. */
.about-story {
  padding: 100px 8%;
  background: #ffffff;
}

/* Inner layout wrapper controlling max width and spacing. */
.about-story-inner {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Story text column. */
.about-story-left {
  flex: 1;
}

/* Accent divider below story heading. */
.about-story-divider {
  width: 80px;
  height: 4px;
  background: #4eb3f6;
  border-radius: 2px;
  margin: 20px 0 28px;
}

/* Story paragraphs typography and spacing. */
.about-story-left p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Two-up detail cards (HQ, industry, etc.). */
.about-story-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

/* Detail card base style. */
.about-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f7f9fc;
  border-radius: 10px;
  padding: 14px 16px;
}

/* Emoji/icon size normalization in detail card. */
.detail-icon {
  font-size: 20px;
  line-height: 1;
}

/* Content stack inside each detail card. */
.about-detail-item div {
  display: flex;
  flex-direction: column;
}

/* Detail card label text. */
.about-detail-item strong {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

/* Detail value/link styling. */
.about-detail-item span,
.about-detail-item a {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

/* Hover accent for linked detail values. */
.about-detail-item a:hover {
  color: #4eb3f6;
}

/* Fixed-width visual column for story image composition. */
.about-story-right {
  flex: 0 0 420px;
}

/* Relative parent for layered image + floating badge. */
.about-img-stack {
  position: relative;
}

/* Main image frame with rounded corners and depth shadow. */
.about-img-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* Main image fit behavior in card frame. */
.about-img-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Floating establishment badge overlapping image corner. */
.about-img-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #4eb3f6;
  color: white;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 40px rgba(78, 179, 246, 0.35);
}

/* Badge top label (e.g., Est.). */
.badge-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Badge main number. */
.badge-num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin: 2px 0;
}

/* Optional badge location/subtext. */
.badge-place {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 500;
}

/* ── VISION & MISSION ────────────────────────────────────── */
/* Two-card mission/vision section on a light background. */
.about-vm {
  padding: 80px 8%;
  background: #f7f9fc;
}

/* Two-column card grid wrapper. */
.about-vm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card shell used by both vision and mission panels. */
.about-vm-card {
  background: white;
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Top accent strip for card differentiation. */
.about-vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #4eb3f6;
}

/* Vision card accent override (currently same brand color). */
.about-vm-vision::before {
  background: #4eb3f6;
}
/* Mission card accent override (currently same brand color). */
.about-vm-mission::before {
  background: #4eb3f6;
}

/* Icon badge for mission/vision cards. */
.vm-icon {
  width: 54px;
  height: 54px;
  background: #eaf5fe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #4eb3f6;
}

/* Icon sizing normalization for SVG glyphs. */
.vm-icon svg {
  width: 26px;
  height: 26px;
}

/* Mission/vision card title typography. */
.about-vm-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}

/* Mission/vision body copy typography. */
.about-vm-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
}

/* ── CORE VALUES ─────────────────────────────────────────── */
/* Values section containing four highlight cards. */
.about-values {
  padding: 100px 8%;
  background: #ffffff;
}

/* Width-constrained container for values content. */
.about-values-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Centered heading group above values grid. */
.about-values-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Four-column values grid (desktop). */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Value card with hover lift and accent border transition. */
.value-card {
  padding: 36px 28px;
  border-radius: 14px;
  background: #f7f9fc;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover interaction for value cards. */
.value-card:hover {
  background: white;
  border-bottom-color: #4eb3f6;
  box-shadow: 0 12px 40px rgba(78, 179, 246, 0.12);
  transform: translateY(-6px);
}

/* Large decorative index number (01, 02, etc.). */
.value-num {
  font-size: 42px;
  font-weight: 700;
  color: #cfe5f7;
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

/* Slight color shift for index number on hover. */
.value-card:hover .value-num {
  color: #a1d1f1;
}

/* Value title typography. */
.value-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

/* Value body copy typography. */
.value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── TIMELINE ───────────────────────────────────────────── */
/* Dark timeline section highlighting historical milestones. */
.about-timeline {
  padding: 100px 8%;
  background: #1a1a2e;
}

/* Max-width container for timeline content. */
.about-timeline-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Centered header block above timeline track. */
.about-timeline-header {
  text-align: center;
  margin-bottom: 70px;
}

/* Section-specific color override for eyebrow on dark background. */
.about-timeline-header .section-eyebrow {
  color: #4eb3f6;
}
/* Section-specific heading color override on dark background. */
.about-timeline-header .section-headline {
  color: white;
}
/* Emphasis color in timeline heading. */
.about-timeline-header .section-headline em {
  color: #4eb3f6;
}

/* Timeline wrapper with left offset for year labels. */
.timeline-track {
  position: relative;
  padding-left: 120px;
}

/* Vertical spine for timeline progression. */
.timeline-track::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(78, 179, 246, 0.25);
}

/* Individual milestone row layout. */
.timeline-item {
  position: relative;
  margin-bottom: 56px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

/* Remove bottom margin on final timeline item. */
.timeline-item:last-child {
  margin-bottom: 0;
}

/* Year label aligned left of timeline body. */
.timeline-year {
  position: absolute;
  left: -120px;
  width: 80px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: #4eb3f6;
  padding-top: 2px;
}

/* Dot marker anchored on timeline spine. */
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4eb3f6;
  border: 3px solid #1a1a2e;
  box-shadow: 0 0 0 3px rgba(78, 179, 246, 0.3);
  flex-shrink: 0;
}

/* Timeline content card. */
.timeline-body {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #4eb3f6;
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  flex: 1;
  transition: background 0.3s;
}

/* Hover tint on timeline content card. */
.timeline-item:hover .timeline-body {
  background: rgba(78, 179, 246, 0.08);
}

/* Timeline card title style. */
.timeline-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

/* Timeline card paragraph style. */
.timeline-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ── SECTORS ─────────────────────────────────────────────── */
/* Sector coverage section with icon cards. */
.about-sectors {
  padding: 100px 8%;
  background: #f7f9fc;
}

/* Inner wrapper controlling content width. */
.about-sectors-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Centered heading block for sectors section. */
.about-sectors-header {
  text-align: center;
  margin-bottom: 60px;
}

/* 3-column sectors grid on desktop. */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Sector card base style. */
.sector-card {
  background: white;
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

/* Sector card hover elevation and accent border. */
.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(78, 179, 246, 0.14);
  border-top-color: #4eb3f6;
}

/* Sector icon container chip. */
.sector-icon {
  width: 52px;
  height: 52px;
  background: #eaf5fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #4eb3f6;
  transition: all 0.3s;
}

/* Icon sizing normalization. */
.sector-icon svg {
  width: 26px;
  height: 26px;
}
/* Icon color inversion on card hover. */
.sector-card:hover .sector-icon {
  background: #4eb3f6;
  color: white;
}

/* Sector title typography. */
.sector-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

/* Sector body text style. */
.sector-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
/* Medium breakpoint: reduce columns and tighten visual spacing. */
@media (max-width: 1024px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-story-inner {
    gap: 50px;
  }
  .about-story-right {
    flex: 0 0 340px;
  }
}

/* Tablet breakpoint: stack key layouts and adjust timeline offsets. */
@media (max-width: 768px) {
  .about-hero-stats {
    flex-wrap: wrap;
    border-radius: 16px 16px 0 0;
  }
  .about-hero-stat {
    flex: 0 0 50%;
    border-bottom: 1px solid #eee;
  }
  .about-story-inner {
    flex-direction: column;
  }
  .about-story-right {
    flex: none;
    width: 100%;
  }
  .about-img-main img {
    height: 260px;
  }
  .about-vm-inner {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-story-details {
    grid-template-columns: 1fr;
  }
  .timeline-track {
    padding-left: 70px;
  }
  .timeline-year {
    left: -70px;
    width: 55px;
    font-size: 13px;
  }
}

/* Phone breakpoint: collapse all multi-column grids to single-column. */
@media (max-width: 480px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-stat {
    flex: 0 0 100%;
  }
}
