/* =============================================
   styles.css — About Page
   MUHAZU Global
   ============================================= */

/* ============================================= */
/* SECTION 02 — HERO (ABOUT)                     */
/* ============================================= */

@keyframes ab-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes ab-fade-up-sm {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ---- Section wrapper ---- */
.ab-hero {
  background: #0D0D0D;
  padding: 80px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Text row ---- */
.ab-hero-content {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 0 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.ab-hero-left {
  flex: 0 0 260px;
  padding-top: 0.6rem;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);

  animation: ab-fade-up-sm 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0ms;
}

.ab-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.ab-hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ab-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  margin: 0;
  max-width: 640px;

  animation: ab-fade-up 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 100ms;
}

/* ---- CTA button — synced with homepage pattern ---- */
.ab-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #CCF045;
  border-radius: 12px;
  overflow: hidden;
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(204, 240, 69, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ab-hero .ab-cta {
  animation: ab-fade-up-sm 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 250ms;
}

.ab-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(204, 240, 69, 0.45);
}

.ab-cta-icon {
  background: #ffffff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  margin: 6px;
  color: #0D0D0D;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-cta-icon svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-cta:hover .ab-cta-icon svg {
  transform: rotate(-45deg);
}

.ab-cta-text {
  position: relative;
  overflow: hidden;
  height: 44px;
  padding: 0 1.25rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0D0D0D;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.ab-cta-text > span {
  display: flex;
  align-items: center;
  height: 44px;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.ab-cta-text::after {
  content: attr(data-label);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.25rem 0 0.5rem;
  white-space: nowrap;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-cta:hover .ab-cta-text > span,
.ab-cta:hover .ab-cta-text::after {
  transform: translateY(-100%);
}

/* ---- Expanding image ---- */
.ab-hero-img-wrap {
  position: relative;
  width: 2000px;
  height: 641px;
  max-width: 95%;
  margin: 0 auto;
  margin-bottom: 60px;
  overflow: hidden;
  flex-shrink: 0;
}

.ab-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Curtain panels ---- */
.ab-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: #0D0D0D;
  z-index: 2;
  will-change: transform;
}

.ab-curtain--left  { left: 0; }
.ab-curtain--right { right: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ab-eyebrow, .ab-h1, .ab-cta-split {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .ab-hero-img-wrap {
    width: 100% !important;
    border-radius: 0 !important;
  }
  .ab-curtain {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ab-hero {
    padding: 56px 0 0;
  }

  .ab-hero-content {
    flex-direction: column;
    gap: 24px;
    padding: 0 5% 40px;
  }

  .ab-hero-left {
    flex: none;
    padding-top: 0;
  }

  .ab-h1 {
    font-size: 2rem;
  }

  .ab-hero-img-wrap {
    width: 94%;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================= */
/* SECTION 03 — MISSION / VALUE SPLIT            */
/* ============================================= */

.ab-mission {
  background: #fff;
  padding: 100px 5%;
}

.ab-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Left: 3-image composition ---- */
.ab-mission-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

/* Left sub-column: 2 stacked */
.ab-mission-imgs-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-mission-img-1,
.ab-mission-img-3 {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.ab-mission-img-1 img,
.ab-mission-img-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right sub-column: 1 tall image offset down */
.ab-mission-img-2 {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  aspect-ratio: 3 / 5;
  transition-delay: var(--ab-delay, 0ms);
}

.ab-mission-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Right text ---- */
.ab-mission-text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ab-mission-h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: #0D0D0D;
  margin: 0;
  max-width: 480px;
}

.ab-mission-para {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.5);
  max-width: 440px;
  margin: 0;
}

/* ---- Feature list ---- */
.ab-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ab-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ab-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e1b4b;
  margin-top: 2px;
}

.ab-feature--divided {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ab-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ab-feature-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0D0D0D;
  margin: 0;
}

.ab-feature-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* ---- Scroll reveal ---- */
.ab-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  transition-delay: var(--ab-delay, 0ms);
}

.ab-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  transition-delay: 150ms;
}

.ab-reveal-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
  transition-delay: var(--ab-delay, 0ms);
}

.ab-reveal-left.is-visible,
.ab-reveal-right.is-visible,
.ab-reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ab-reveal-left, .ab-reveal-right, .ab-reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================= */
/* SECTION 04 — OUR STORY + STATS                */
/* ============================================= */

.ab-story {
  background: #fff;
  padding: 100px 5%;
}

.ab-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* ---- Centered heading ---- */
.ab-story-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.ab-story-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ab-story-eyebrow-line {
  display: block;
  width: 52px;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.ab-story-eyebrow-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

.ab-story-h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0D0D0D;
  margin: 0;
}

.ab-story-para {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
  max-width: 520px;
}

/* ---- Stats row ---- */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ab-stat {
  padding: 32px 40px 0 0;
  border-top: 3px solid #CCF045;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ab-stat:last-child {
  padding-right: 0;
  border-top-color: rgba(0, 0, 0, 0.1);
}

.ab-stat + .ab-stat {
  padding-left: 40px;
}

/* ---- Stat header: dot + label ---- */
.ab-stat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ab-stat-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e1b4b;
}

.ab-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0D0D0D;
  margin: 0;
}

/* ---- Number ---- */
.ab-stat-number {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}

.ab-roll {
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 300;
  color: #0D0D0D;
  font-variant-numeric: tabular-nums;
}

.ab-stat-suffix {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #0D0D0D;
  line-height: 1;
}

.ab-stat-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* ---- S04 Mobile ---- */
@media (max-width: 768px) {
  .ab-story {
    padding: 64px 5%;
  }

  .ab-story-inner {
    gap: 48px;
  }

  .ab-stats {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ab-stat {
    padding: 24px 0 0;
  }

  .ab-stat + .ab-stat {
    padding-left: 0;
  }
}

/* ============================================= */
/* SECTION 05 — CAPABILITIES SPLIT               */
/* ============================================= */

.ab-caps {
  background: #fff;
  padding: 60px 5%;
}

.ab-caps-wrap {
  background: #EBEBF5;
  padding: 56px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.ab-caps-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ---- Left col ---- */
.ab-caps-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ab-caps-h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0D0D0D;
  margin: 0;
}

.ab-caps-img-1 {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.ab-caps-img-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Right col ---- */
.ab-caps-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ab-caps-img-2 {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ab-caps-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-caps-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ab-caps-para {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* ---- S05 Mobile ---- */
@media (max-width: 768px) {
  .ab-caps {
    padding: 32px 4%;
  }

  .ab-caps-wrap {
    padding: 40px 5%;
    border-radius: 14px;
  }

  .ab-caps-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================= */
/* SECTION 06 — SKILLS / PROGRESS BARS           */
/* ============================================= */

.ab-skills {
  background: #fff;
  padding: 100px 5%;
}

.ab-skills-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

/* ---- Left ---- */
.ab-skills-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ab-skills-h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: #0D0D0D;
  margin: 0;
}

.ab-skills-para {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* ---- Skill bars ---- */
.ab-skill-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ab-skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ab-skill-label,
.ab-skill-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e1b4b;
}

.ab-skill-track {
  height: 6px;
  background: #CCF045;
  border-radius: 999px;
  overflow: hidden;
}

.ab-skill-fill {
  height: 100%;
  background: #1e1b4b;
  border-radius: 999px;
  width: 0%;
  transition: width 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Right: image ---- */
.ab-skills-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.ab-skills-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- S06 Mobile ---- */
@media (max-width: 768px) {
  .ab-skills {
    padding: 64px 5%;
  }

  .ab-skills-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-skills-img {
    aspect-ratio: 4 / 3;
  }
}

/* ============================================= */
/* SECTION 07 — TEAM MEMBERS GRID                */
/* ============================================= */

.ab-team {
  background: #fff;
  padding: 100px 5%;
}

.ab-team-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ---- Centered header ---- */
.ab-team-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.ab-team-h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0D0D0D;
  margin: 0;
}

.ab-team-para {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
  max-width: 520px;
}

/* ---- Cards grid ---- */
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ab-team-card {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.ab-team-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ---- Card image ---- */
.ab-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ab-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.ab-team-card:hover .ab-card-img img {
  transform: scale(1.04);
}

/* ---- Lime arrow button ---- */
.ab-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #CCF045;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.ab-team-card:hover .ab-card-arrow {
  background: #0D0D0D;
}

.ab-team-card:hover .ab-card-arrow svg path {
  stroke: #CCF045;
}

/* ---- Card info ---- */
.ab-card-info {
  padding: 20px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ab-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0D0D0D;
  margin: 0;
}

.ab-card-role {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* ---- S07 Mobile ---- */
@media (max-width: 768px) {
  .ab-team {
    padding: 64px 5%;
  }

  .ab-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ab-card-img {
    aspect-ratio: 4 / 3;
  }
}

/* ---- S03 Mobile ---- */
@media (max-width: 768px) {
  .ab-mission {
    padding: 64px 5%;
  }

  .ab-mission-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-mission-imgs {
    gap: 8px;
  }

  .ab-mission-imgs-left {
    gap: 8px;
  }

  .ab-mission-img-2 {
    margin-top: 24px;
  }

  .ab-mission-h2 {
    font-size: 1.6rem;
    max-width: 100%;
  }

  .ab-mission-para {
    max-width: 100%;
  }
}

