/* ================================================
   BIZFUNNEL — About Page
   ================================================ */

/* ---- Breadcrumb ---- */
.ab-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  justify-content: center;
}
.ab-breadcrumb a { color: rgba(255,255,255,.5); }
.ab-breadcrumb a:hover { color: var(--primary); }
.ab-breadcrumb span:last-child { color: rgba(255,255,255,.85); }

/* ---- Active nav ---- */
.nav-active { color: var(--primary) !important; }
.nav-active::after { width: 100% !important; }

/* small btn */
.btn--sm { padding: .45rem 1rem; font-size: .82rem; }

/* ================================================
   HERO
   ================================================ */
.ab-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0e0f35 60%, #131450 100%);
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ab-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(85,88,227,.22) 0%, transparent 60%);
  pointer-events: none;
}
.ab-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-inline: auto;
  padding-bottom: 4rem;
}
.ab-hero__inner h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.ab-hero__inner > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.ab-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.ab-hero__chips span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
  padding: .38rem .95rem;
  border-radius: 100px;
}
.ab-hero__wave { line-height: 0; }
.ab-hero__wave svg { width: 100%; height: 60px; display: block; }

/* ================================================
   OUR STORY
   ================================================ */
.ab-story {
  padding: 5rem 0;
  background: var(--white);
}
.ab-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Image side */
.ab-story__img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(85,88,227,.18);
  border: 3px solid rgba(85,88,227,.15);
}
.ab-story__img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ab-story__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: .8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(85,88,227,.45);
}
.ab-story__badge strong { font-size: 1.7rem; font-weight: 900; line-height: 1; }
.ab-story__badge span   { font-size: .72rem; opacity: .85; }

/* Text side */
.ab-story__text > p {
  font-size: .97rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: .9rem;
}
.ab-story__text > p strong { color: var(--dark); }

.ab-story__highlights {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-light);
}
.ab-sh {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--light);
  border: 1px solid var(--gray-light);
}
.ab-sh svg {
  width: 20px; height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: .1rem;
}
.ab-sh strong { display: block; font-size: .92rem; font-weight: 700; color: var(--dark); margin-bottom: .1rem; }
.ab-sh span   { font-size: .82rem; color: var(--gray); }

/* ================================================
   NUMBERS / STATS
   ================================================ */
.ab-numbers {
  padding: 5rem 0;
  background: var(--light);
}
.ab-numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  background: var(--white);
}
.ab-num {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  transition: background var(--transition);
  position: relative;
}
/* Remove right border on last col */
.ab-num:nth-child(3n) { border-right: none; }
/* Remove bottom border on last row */
.ab-num:nth-child(n+4) { border-bottom: none; }

.ab-num:hover { background: var(--light); }
.ab-num:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(85,88,227,.2);
  border-radius: 0;
  pointer-events: none;
}

.ab-num strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .6rem;
}
.ab-num strong span { font-size: 60%; font-weight: 800; }
.ab-num p { font-size: .85rem; color: var(--gray); line-height: 1.55; }

/* ================================================
   MISSION & VISION
   ================================================ */
.ab-mv {
  padding: 5rem 0;
  background: var(--white);
}
.ab-mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.ab-mv__card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.ab-mv__card--mission { background: var(--dark); }
.ab-mv__card--vision  { background: var(--primary); }

.ab-mv__icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.ab-mv__icon svg { width: 24px; height: 24px; color: var(--white); }
.ab-mv__card h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: .85rem; }
.ab-mv__card > p {
  font-size: .93rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 1.35rem;
}
.ab-mv__card ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.ab-mv__card li {
  font-size: .88rem;
  color: rgba(255,255,255,.72);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.ab-mv__card li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  flex-shrink: 0;
}

/* ================================================
   CORE VALUES
   ================================================ */
.ab-values {
  padding: 5rem 0;
  background: var(--light);
}
.ab-values__head { text-align: center; margin-bottom: 3rem; }
.ab-values__head .section-sub { margin-inline: auto; }

.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ab-val {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ab-val:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.ab-val__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: .35rem;
}
.ab-val__icon svg { width: 21px; height: 21px; }
.ab-val h3 { font-size: .98rem; font-weight: 800; color: var(--dark); }
.ab-val p  { font-size: .86rem; color: var(--gray); line-height: 1.65; }

/* ================================================
   TEAM
   ================================================ */
.ab-team {
  padding: 5rem 0;
  background: var(--white);
}
.ab-team__head { text-align: center; margin-bottom: 3rem; }
.ab-team__head .section-sub { margin-inline: auto; }

.ab-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ab-member {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ab-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.ab-member__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  flex-shrink: 0;
}
.ab-member__avatar--join {
  background: var(--gray-light) !important;
  color: var(--gray);
  font-size: 1.8rem;
  font-weight: 300;
}

.ab-member h3 { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: .2rem; }
.ab-member__role {
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.ab-member__bio {
  font-size: .84rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.ab-member__links {
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.ab-member__links a {
  width: 32px; height: 32px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gray);
  transition: var(--transition);
}
.ab-member__links a:hover { border-color: var(--primary); color: var(--primary); }

/* ================================================
   TIMELINE — Left-aligned vertical
   ================================================ */
.ab-timeline {
  padding: 5rem 0;
  background: var(--light);
}
.ab-timeline__head { text-align: center; margin-bottom: 3.5rem; }

.ab-timeline__track {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
  padding-left: 2rem;
}
/* Vertical line */
.ab-timeline__track::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(85,88,227,.1));
}

.abt-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}
.abt-item:last-child { margin-bottom: 0; }

/* Dot on the line */
.abt-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: .55rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-light);
  transition: var(--transition);
  z-index: 1;
}
.abt-item:hover::before,
.abt-item.active::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(85,88,227,.15);
}
/* Active (current) milestone */
.abt-item:last-child::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(85,88,227,.15);
}

.abt-year {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary);
  padding-top: .3rem;
  text-align: right;
}

.abt-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.abt-item:hover .abt-content {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.abt-content h4 { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: .35rem; }
.abt-content p  { font-size: .86rem; color: var(--gray); line-height: 1.6; }

/* ================================================
   CTA STRIP
   ================================================ */
.ab-cta {
  padding: 5rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.ab-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(85,88,227,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(0,198,174,.12) 0%, transparent 55%);
  pointer-events: none;
}
.ab-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.ab-cta__text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .6rem;
}
.ab-cta__text p { font-size: .97rem; color: rgba(255,255,255,.6); max-width: 500px; line-height: 1.65; }
.ab-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .ab-team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ab-story .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .ab-story__img-frame img { height: 300px; }
  .ab-mv__grid      { grid-template-columns: 1fr; }
  .ab-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-num:nth-child(3n) { border-right: 1px solid var(--gray-light); }
  .ab-num:nth-child(2n) { border-right: none; }
  .ab-num:nth-child(n+4) { border-bottom: 1px solid var(--gray-light); }
  .ab-num:nth-child(n+5) { border-bottom: none; }
  .ab-values__grid  { grid-template-columns: repeat(2, 1fr); }
  .ab-cta__inner    { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .ab-hero__inner h1 { font-size: 1.75rem; }
  .ab-numbers__grid  { grid-template-columns: 1fr 1fr; }
  .ab-values__grid   { grid-template-columns: 1fr; }
  .ab-team__grid     { grid-template-columns: 1fr; }

  .ab-timeline__track { padding-left: 1.25rem; }
  .abt-item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .abt-item::before { left: -1.7rem; }

  .ab-cta__actions { flex-direction: column; width: 100%; }
  .ab-cta__actions .btn { justify-content: center; }
}
