/* ═══════════════════════════════════════════════════════════
   DCC – About Us Page Styles
   File: public/css/about.css
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO BANNER ────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2540 60%, #0f3d2e 100%);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(29,185,84,.15) 0%, transparent 70%);
}
.about-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 35px 35px; pointer-events: none;
}
.about-hero .section-label { position: relative; z-index: 1; }
.about-hero__title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700; color: #fff; line-height: 1.15;
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.about-hero__title em { color: var(--green); font-style: italic; }
.about-hero__sub {
  color: rgba(255,255,255,.65); font-size: 1.05rem;
  max-width: 540px; margin: 0 auto 1.5rem;
  line-height: 1.7; position: relative; z-index: 1;
}
.about-hero__breadcrumb {
  font-size: .82rem; color: rgba(255,255,255,.4);
  position: relative; z-index: 1;
}
.about-hero__breadcrumb a { color: var(--green); font-weight: 600; }
.about-hero__breadcrumb a:hover { text-decoration: underline; }
.about-hero__breadcrumb .current { color: rgba(255,255,255,.7); }

/* ─── OUR STORY ──────────────────────────────────────────── */
.about-story { padding: 3.5rem 0; background: var(--white); }
.about-story__grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: center;
}
.story-img-box {
  background: linear-gradient(145deg, rgba(29,185,84,.22), rgba(29,185,84,.05));
  border: 1px solid rgba(29,185,84,.2);
  border-radius: 24px; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.12); transition: var(--transition);
}
.story-img-box::after {
  content: '🐾'; position: absolute; font-size: 10rem;
  opacity: .05; bottom: -20px; right: -20px;
}
.story-img-box:hover { transform: scale(1.02); }
.story-emoji { font-size: 7rem; z-index: 2; filter: drop-shadow(0 8px 24px rgba(29,185,84,.3)); }
.story-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--green); color: #fff;
  padding: .35rem .9rem; border-radius: 20px;
  font-size: .72rem; font-weight: 800; z-index: 3;
}
.about-story__content .section-title { text-align: left; }
.about-story__content p {
  font-size: .95rem; color: var(--gray); line-height: 1.75; margin-bottom: 1rem;
}

/* ─── MISSION VISION VALUES ──────────────────────────────── */
.about-mvv { padding: 3.5rem 0 4rem; background: var(--off-white); }
.about-mvv .section-label { margin-bottom: 1rem; }
.about-mvv .section-title { margin-bottom: 2.5rem; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; align-items: stretch; }
.mvv-card {
  background: var(--white); border-radius: 22px; padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 6px 28px rgba(0,0,0,.07); border: 1px solid var(--gray-light);
  transition: var(--transition); text-align: center;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.mvv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), #17a348);
  border-radius: 22px 22px 0 0;
}
.mvv-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(29,185,84,.15); border-color: var(--green); }
.mvv-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(29,185,84,.14), rgba(29,185,84,.06));
  border: 2px solid rgba(29,185,84,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .9rem; transition: var(--transition);
}
.mvv-card:hover .mvv-icon-wrap {
  background: linear-gradient(135deg, var(--green), #17a348);
  border-color: var(--green);
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 24px rgba(29,185,84,.4);
}
.mvv-icon { font-size: 1.75rem; display: block; }
.mvv-card:hover .mvv-icon { filter: brightness(0) invert(1); }
.mvv-card h3 { font-family: 'Lora', serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: .55rem; text-align: center; }
.mvv-card p { font-size: .88rem; color: var(--gray); line-height: 1.7; flex: 1; text-align: left; width: 100%; }
.mvv-tag {
  display: inline-block; margin-top: .85rem;
  background: linear-gradient(135deg, rgba(29,185,84,.1), rgba(29,185,84,.06));
  border: 1px solid rgba(29,185,84,.25); border-radius: 30px;
  padding: .28rem .9rem; font-size: .72rem; font-weight: 700;
  color: var(--green); letter-spacing: .03em;
}
.values-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: .45rem; margin-top: .2rem; flex: 1; }
.values-list li { font-size: .82rem; color: var(--gray); line-height: 1.55; display: flex; align-items: center; gap: .5rem; }
.val-icon { font-size: .8rem; flex-shrink: 0; }
.values-list li strong { color: var(--navy); white-space: nowrap; }

/* ─── TIMELINE (SNAKE ROAD) ──────────────────────────────── */
.about-timeline { padding: 4rem 0 5rem; background: var(--white); }
.snake-tl { max-width: 1100px; margin: 3rem auto 0; }

/* ── Label rows ── */
.stl-labels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .6rem 2rem; margin-right: 90px; text-align: center;
}
.stl-labels--top .stl-lbl { position: relative; padding-bottom: 24px; }
.stl-labels--top .stl-lbl::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 22px; background: rgba(29,185,84,.45); border-radius: 2px;
}
.stl-labels--bot .stl-lbl { position: relative; padding-top: 24px; }
.stl-labels--bot .stl-lbl::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 22px; background: rgba(29,185,84,.45); border-radius: 2px;
}
.stl-year {
  display: block; font-family: 'Lora', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--green); margin-bottom: .25rem;
}
.stl-lbl h4 {
  font-family: 'Lora', serif; font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: .3rem;
}
.stl-lbl p { font-size: .86rem; color: var(--gray); line-height: 1.6; }

/* ── Road ── */
.stl-road { position: relative; margin: 0; }
.stl-tracks {
  margin-right: 90px;
  display: flex; flex-direction: column; gap: 40px;
}

/* Each track row */
.stl-track {
  display: grid; grid-template-columns: repeat(3, 1fr);
  position: relative; height: 64px;
}
/* The road strip between nodes */
.stl-track::before {
  content: ''; position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 32px; right: 32px;
  height: 16px; border-radius: 8px; z-index: 0;
}
.stl-track:not(.stl-track--bot)::before {
  background: linear-gradient(90deg, #1db954 0%, #17a348 50%, #14b8a6 100%);
}
.stl-track--bot::before {
  background: linear-gradient(270deg, #dc2626 0%, #d97706 40%, #7c3aed 100%);
}

/* Icon nodes */
.stl-node {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.35rem;
  border: 3px solid #fff;
  position: relative; z-index: 2; margin: auto;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stl-node:hover { transform: scale(1.14) translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.22); }

/* Per-node colors matching the road gradient */
.stl-n1 { background: linear-gradient(135deg, #1db954, #17a348); }
.stl-n2 { background: linear-gradient(135deg, #17a348, #0d9488); }
.stl-n3 { background: linear-gradient(135deg, #14b8a6, #0891b2); }
.stl-n4 { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.stl-n5 { background: linear-gradient(135deg, #d97706, #b45309); }
.stl-n6 { background: linear-gradient(135deg, #7c3aed, #5b21b6); }

/* Right U-turn
   center-to-center = gap(40) + track-height(64) = 104px
   element height   = 104 + border(16) = 120px */
.stl-uturn {
  position: absolute; right: 0;
  top: 50%; transform: translateY(-50%);
  width: 90px; height: 120px;
  border: 16px solid #0891b2;
  border-left: none;
  border-radius: 0 70px 70px 0;
  box-sizing: border-box;
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.about-stats {
  padding: 1.8rem 0;
  background: linear-gradient(135deg, var(--navy), #0a2540 50%, #0f3d2e);
  position: relative; overflow: hidden;
}
.about-stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(29,185,84,.12) 0%, transparent 60%);
}
.about-stats__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem;
  position: relative; z-index: 1;
}
.about-stat { text-align: center; padding: .5rem; }
.about-stat__num {
  font-family: 'Lora', serif; font-size: 2rem; font-weight: 700;
  color: var(--green); line-height: 1; margin-bottom: .3rem;
}
.about-stat__label { font-size: .72rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ─── TEAM SECTION ───────────────────────────────────────── */
.about-team { padding: 4rem 0 5rem; background: var(--off-white); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.team-card {
  background: var(--white); border-radius: 24px; padding: 2.5rem 1.8rem 2.2rem;
  text-align: center; box-shadow: 0 6px 28px rgba(0,0,0,.07);
  border: 1px solid var(--gray-light);
  border-top: 4px solid transparent;
  transition: var(--transition);
  display: flex; flex-direction: column; align-items: center;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(29,185,84,.13);
  border-color: var(--green);
  border-top-color: var(--green);
}
.team-avatar { font-size: 3.8rem; margin-bottom: .8rem; display: block; transition: var(--transition); }
.team-card:hover .team-avatar { transform: scale(1.1); }
.team-card h4 {
  font-family: 'Lora', serif; font-weight: 700; font-size: 1.1rem;
  color: var(--navy); margin-bottom: .3rem;
}
.team-role {
  display: block; font-size: .78rem; font-weight: 700;
  color: var(--green); margin-bottom: .9rem;
  line-height: 1.45;
}
.team-desc {
  font-size: .84rem; color: var(--gray); line-height: 1.7;
  text-align: left; width: 100%;
}

/* ─── CERTIFICATIONS ─────────────────────────────────────── */
.about-certs { padding: 3.5rem 0; background: var(--white); }
.about-certs .section-header { margin-bottom: 2.5rem; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; }
.cert-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--off-white); border-radius: 16px; padding: 1.3rem 1.5rem;
  border: 1px solid var(--gray-light); transition: var(--transition);
}
.cert-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--green); }
.cert-icon { font-size: 2rem; flex-shrink: 0; }
.cert-text strong { display: block; font-family: 'Lora', serif; font-size: .88rem; color: var(--navy); }
.cert-text span { font-size: .72rem; color: var(--gray); }

/* ─── STORY ICON STAGE ───────────────────────────────────── */
.story-img-box {
  background: linear-gradient(145deg, rgba(29,185,84,.18), rgba(29,185,84,.04));
  border: 1px solid rgba(29,185,84,.2);
  border-radius: 24px; min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.12); transition: var(--transition);
  gap: .6rem; padding: 2rem 1.5rem 2.5rem;
}
.story-icon-stage {
  position: relative;
  width: 210px; height: 210px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; flex-shrink: 0;
}
.story-pulse-ring {
  position: absolute; width: 138px; height: 138px; border-radius: 50%;
  border: 2px solid rgba(29,185,84,.35);
  animation: story-ring-pulse 2.8s ease-in-out infinite;
}
.story-outer-ring {
  position: absolute; width: 192px; height: 192px; border-radius: 50%;
  border: 1.5px solid rgba(29,185,84,.15);
  animation: story-ring-pulse 2.8s ease-in-out .9s infinite;
}
@keyframes story-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: .45; }
}
.story-center-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #17a348);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(29,185,84,.12), 0 14px 40px rgba(29,185,84,.45);
  z-index: 3; position: relative; transition: var(--transition);
}
.story-center-icon i { font-size: 2.5rem; color: #fff; }
.story-img-box:hover .story-center-icon {
  transform: scale(1.09);
  box-shadow: 0 0 0 14px rgba(29,185,84,.14), 0 18px 50px rgba(29,185,84,.55);
}
.story-orbit-icon {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.95); border: 2px solid rgba(29,185,84,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.13); transition: var(--transition);
}
.story-orbit-icon:hover { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.15); }
.soi--top    { top: 8px;    left: 50%;  transform: translateX(-50%); }
.soi--bottom { bottom: 8px; left: 50%;  transform: translateX(-50%); }
.soi--left   { left: 8px;   top: 50%;   transform: translateY(-50%); }
.soi--right  { right: 8px;  top: 50%;   transform: translateY(-50%); }
.story-brand-text {
  font-family: 'Lora', serif; font-style: italic;
  font-size: .88rem; font-weight: 600; color: var(--green);
  text-align: center; letter-spacing: .03em;
  position: relative; z-index: 2; margin: 0;
}

/* ─── TEAM AVATAR CIRCLES ─────────────────────────────────── */
.team-avatar-circle {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: .04em;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
  transition: var(--transition);
}
.team-card:hover .team-avatar-circle { transform: scale(1.1); box-shadow: 0 10px 30px rgba(29,185,84,.3); }
.tac--green      { background: linear-gradient(135deg, #1db954, #17a348); }
.tac--navy       { background: linear-gradient(135deg, #0d1f3c, #1a3a6b); }
.tac--dark-green { background: linear-gradient(135deg, #17a348, #0f5c2e); }
.tac--forest     { background: linear-gradient(135deg, #0f3d2e, #1a6b4a); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-story__visual { display: none; }
  .about-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
  .about-hero { padding: 3rem 1.5rem 2.5rem; }
  .about-story, .about-mvv, .about-timeline, .about-team, .about-certs { padding: 3rem 0; }
  /* Snake timeline → stacked vertical list */
  .snake-tl { display: flex; flex-direction: column; gap: 0; }
  .stl-labels { grid-template-columns: 1fr; margin-right: 0; gap: .6rem; }
  .stl-labels--top { order: 1; }
  .stl-road { display: none; }
  .stl-labels--bot { order: 2; display: flex; flex-direction: column-reverse; gap: .6rem; }
  .stl-labels--top .stl-lbl, .stl-labels--bot .stl-lbl {
    padding: 0 0 0 1rem; text-align: left; border-left: 3px solid var(--green);
  }
  .stl-labels--top .stl-lbl::after, .stl-labels--bot .stl-lbl::before { display: none; }
}
@media (max-width: 480px) {
  .about-stats__grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 2rem auto 0; }
  .about-hero__title { font-size: 1.8rem; }
}

/* ─── A'ALDA PARTNERSHIP SECTION ─────────────────────────── */
.about-mvv--aalda { background: #f8fdf9; }
.about-mvv--aalda .section-sub { max-width: 700px; margin: 0 auto; }
.about-mvv--aalda .section-header { margin-bottom: 2.5rem; }
.mvv-grid--auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; }
