/* ============================================================
   SPARK LOOM — About Page Styles
   Modern · Premium · Corporate · Trustworthy
   ============================================================ */




/* ── About Hero ───────────────────────────────────────────── */
.about-hero-inner {
  max-width: 100% !important;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about-hero-text {
  min-width: 0;
}

.about-hero-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-image { max-height: 300px; overflow: hidden; border-radius: 12px; }
  .about-hero-image img { object-position: center top; }
}


/* ── Who We Are ───────────────────────────────────────────── */
.ab-story { padding: 60px 0; background: #ffffff; }

.ab-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.ab-story-left h2 {
  margin: 14px 0 36px;
  line-height: 1.2;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.ab-stats-stack {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,50,100,0.06);
}

.ab-stat-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  transition: background 0.2s ease;
  background: #ffffff;
}

.ab-stat-item:last-child { border-bottom: none; }
.ab-stat-item:hover { background: #F7F9FC; }

.ab-stat-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: #1B3264;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ab-stat-icon.green { background: #3CB54A; }
.ab-stat-icon.ai    { background: #6C3FD4; }
.ab-stat-icon svg   { width: 20px; height: 20px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ab-stat-val {
  display: block;
  font-size: 1rem; font-weight: 700;
  color: #1B3264; line-height: 1.3;
}

.ab-stat-lbl {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  color: #000000; text-transform: uppercase;
  letter-spacing: 0.06em; margin-top: 2px;
}

.ab-story-right p {
  margin-bottom: 20px;
  font-size: 0.97rem; line-height: 1.85;
  color: #000000;
}
.ab-story-right p:last-of-type { margin-bottom: 0; }

.ab-platform-pill {
  display: inline-flex; align-items: center;
  background: #F0EBFF; color: navy;
  padding: 1px 10px; border-radius: 6px;
  font-weight: 700; font-size: inherit;
  border: 1px solid rgba(108,63,212,0.15);
}


/* ── Vision & Mission ─────────────────────────────────────── */
.ab-vm {
  position: relative;
  background: linear-gradient(140deg, #0d1c42 0%, #1B3264 100%);
  padding: 60px 0;
  overflow: hidden;
}

.ab-vm-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ab-vm-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; position: relative; z-index: 1;
}

.ab-vm-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 48px 44px;
  position: relative; overflow: hidden;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.ab-vm-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3CB54A, #2d9139);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.ab-vm-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.ab-vm-card:hover::before { transform: scaleX(1); }

.ab-vm-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(60,181,74,0.15);
  border: 1px solid rgba(60,181,74,0.28);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.ab-vm-icon svg {
  width: 26px; height: 26px;
  stroke: #3CB54A; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.ab-vm-label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}

.ab-vm-card h3 {
  color: #ffffff;
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 18px; line-height: 1.25;
}

.ab-vm-card p {
  color: rgba(255,255,255,0.68);
  line-height: 1.8; font-size: 0.96rem;
}


/* ── Leadership Team ──────────────────────────────────────── */
.ab-team { padding: 60px 0; background: #ffffff; }

.ab-section-header { margin-bottom: 56px; }
.ab-section-header h2 { margin: 10px 0 14px; }
.ab-section-sub {
  color: #000000; font-size: 1rem;
  max-width: 560px; line-height: 1.75;
}

.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
}

.ab-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 40px 28px 36px;
  position: relative; overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ab-team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1B3264, #3CB54A);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.38s ease;
}

.ab-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(27,50,100,0.13);
  border-color: transparent;
}
.ab-team-card:hover::before { transform: scaleX(1); }

.ab-team-card--wide {
  grid-column: 1 / -1;
  max-width: calc(25% - 18px);
  margin: 0 auto;
}

.ab-team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem; font-weight: 800;
  color: #ffffff; letter-spacing: 0.03em;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(27,50,100,0.18);
  outline: 3px solid #E2E8F0;
  outline-offset: 3px;
}
.ab-team-avatar.navy  { background: linear-gradient(135deg, #1B3264, #2a4a8a); }
.ab-team-avatar.green { background: linear-gradient(135deg, #3CB54A, #2d9139); }
.ab-team-avatar.ai    { background: linear-gradient(135deg, #6C3FD4, #8B5CF6); }
.ab-team-card:hover .ab-team-avatar { outline-color: var(--green); }

.ab-team-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-team-body h3 {
  color: #1B3264; font-size: 1.08rem;
  margin-bottom: 8px; font-weight: 700;
}

.ab-team-role {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #ffffff;
  background: #1B3264;
  padding: 4px 14px; border-radius: 50px;
  margin-bottom: 16px;
}

.ab-team-body p {
  font-size: 0.87rem; line-height: 1.75;
  color: #000000;
  text-align: center;
}


/* ── Values ───────────────────────────────────────────────── */
.ab-values { padding: 60px 0; background: var(--bg-alt); }

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 0;
}

.ab-value-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px; padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.ab-value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3CB54A, #2d9139);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.38s ease;
}

.ab-value-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(27,50,100,0.10);
  transform: translateY(-5px);
  border-color: transparent;
}
.ab-value-card:hover::before { transform: scaleX(1); }

.ab-value-top {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ab-value-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ab-value-icon.navy { background: rgba(27,50,100,0.08); }
.ab-value-icon.green { background: rgba(60,181,74,0.10); }
.ab-value-icon.ai   { background: rgba(108,63,212,0.09); }

.ab-value-icon svg {
  width: 24px; height: 24px; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ab-value-icon.navy svg  { stroke: #1B3264; }
.ab-value-icon.green svg { stroke: #3CB54A; }
.ab-value-icon.ai svg    { stroke: #6C3FD4; }


.ab-value-card h3 {
  color: #1B3264; font-size: 1.05rem;
  margin-bottom: 10px; font-weight: 700;
}

.ab-value-card p {
  font-size: 0.87rem; line-height: 1.72;
  color: #000000;
}


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ab-values-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 900px) {
  .ab-story-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Sections */
  .ab-story  { padding: 36px 0; }
  .ab-vm     { padding: 36px 0; }
  .ab-team   { padding: 36px 0; }
  .ab-values { padding: 36px 0; }

  /* Vision & Mission */
  .ab-vm-grid { grid-template-columns: 1fr; }
  .ab-vm-card { padding: 32px 28px; }

  /* Team */
  .ab-team-grid        { grid-template-columns: repeat(2, 1fr); }
  .ab-team-card        { padding: 32px 20px; }
  .ab-team-card--wide  { grid-column: auto; max-width: 100%; }
  .ab-team-avatar      { width: 64px; height: 64px; font-size: 1.05rem; }

  /* Section headers */
  .ab-section-header   { margin-bottom: 36px; }
}

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

@media (max-width: 560px) {

  /* Vision & Mission */
  .ab-vm-card { padding: 26px 20px; }

  /* Values */
  .ab-values-grid  { grid-template-columns: 1fr; }
  .ab-value-card   { padding: 28px 22px; }
  .ab-value-num    { font-size: 2rem; }

  /* Section headers */
  .ab-section-header { margin-bottom: 28px; }
  .ab-section-sub    { font-size: 0.93rem; }
}
