/* ═══════════════════════════════════════════════════
   RAPTAX MEDIA — ABOUT PAGE STYLES
═══════════════════════════════════════════════════ */

/* ─── PAGE HERO ──────────────────────────────────── */
.about-hero {
  background:  var(--black);
  padding:     140px 0 100px;
  position:    relative;
  overflow:    hidden;
  min-height:  100vh;
  display:     flex;
  align-items: center;
}

.about-hero-bg {
  position:       absolute;
  inset:          0;
  pointer-events: none;
}

.about-hero-grid {
  position:         absolute;
  inset:            0;
  background-image:
    linear-gradient(rgba(200,255,89,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,89,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.about-hero-glow {
  position:      absolute;
  top:           -200px;
  right:         -100px;
  width:         700px;
  height:        700px;
  background:    radial-gradient(circle, rgba(200,255,89,0.09) 0%, transparent 65%);
  border-radius: 50%;
  animation:     abtGlowPulse 7s ease-in-out infinite;
}

@keyframes abtGlowPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.12); opacity: 0.6; }
}

/* Two-column split */
.about-hero-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
  position:              relative;
  z-index:               1;
}

/* ── LEFT ── */
.about-hero-left { display: flex; flex-direction: column; }

/* Animation base — shared */
.abt-anim {
  opacity:    0;
  transform:  translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.abt-anim.visible       { opacity: 1; transform: translateY(0); }
.abt-anim-label         { transition-delay: 0s;    }
.abt-anim-desc          { transition-delay: 0.55s; }
.abt-anim-actions       { transition-delay: 0.7s;  }
.abt-anim-visual        { transition-delay: 0.2s;  }

/* Title line-by-line reveal */
.about-hero-title {
  font-family: var(--font-head);
  font-size:   clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color:       var(--white);
  margin:      16px 0 28px;
}

.abt-line {
  display:    block;
  transform:  translateY(110%);
  opacity:    0;
  transition: transform 0.85s cubic-bezier(0.16,1,0.3,1), opacity 0.1s ease;
}
.abt-line.visible { transform: translateY(0); opacity: 1; }
.abt-l1 { transition-delay: 0.1s;  }
.abt-l2 { transition-delay: 0.28s; }
.abt-l3 { transition-delay: 0.46s; }

.about-hero-title em { font-style: normal; color: var(--lime); }

.about-hero-desc {
  font-size:     1.05rem;
  line-height:   1.85;
  color:         var(--gray);
  margin-bottom: 36px;
}

.about-hero-actions {
  display:   flex;
  gap:       16px;
  flex-wrap: wrap;
}

.about-hero-actions .btn i { width: 16px; height: 16px; }

/* ── RIGHT: image ── */
.about-hero-visual {
  opacity:    0;
  transform:  translateX(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
  transition-delay: 0.3s;
}
.about-hero-visual.visible { opacity: 1; transform: translateX(0); }

.about-hero-img-wrap {
  position:      relative;
  border-radius: var(--radius-lg);
  overflow:      hidden;
  border:        1px solid var(--border);
  aspect-ratio:  4 / 5;
}

.about-hero-img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-hero-img-wrap:hover .about-hero-img {
  transform: scale(1.04);
}

/* Floating badge — bottom left */
.about-hero-badge {
  position:   absolute;
  bottom:     20px;
  left:       20px;
  background: var(--surface);
  border:     1px solid var(--border);
  border-radius:   var(--radius-md);
  padding:         14px 18px;
  display:         flex;
  align-items:     center;
  gap:             12px;
}

.ahb-icon {
  width:           36px;
  height:          36px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
  flex-shrink:     0;
}
.ahb-icon i { width: 16px; height: 16px; }

.about-hero-badge strong {
  display:     block;
  font-size:   0.88rem;
  font-weight: 700;
  color:       var(--white);
}

.about-hero-badge span {
  display:   block;
  font-size: 0.76rem;
  color:     var(--gray);
}

/* Floating tag — top right */
.about-hero-tag {
  position:   absolute;
  top:        20px;
  right:      20px;
  background: var(--surface);
  border:     1px solid var(--border);
  border-radius:   99px;
  padding:         8px 16px;
  font-size:       0.78rem;
  font-weight:     600;
  color:           var(--white);
  display:         flex;
  align-items:     center;
  gap:             8px;
}

.aht-dot {
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    var(--lime);
  flex-shrink:   0;
  animation:     dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ─── STORY SECTION ──────────────────────────────── */
.story-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.story-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
}

.story-img {
  position:      relative;
  border-radius: var(--radius-lg);
  overflow:      hidden;
  border:        1px solid var(--border);
  aspect-ratio:  4/3;
}

.story-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-img:hover img {
  transform: scale(1.04);
}

.story-img-badge {
  position:   absolute;
  bottom:     20px;
  left:       20px;
  background: var(--surface);
  border:     1px solid var(--border);
  border-radius:   var(--radius-md);
  padding:         14px 18px;
  display:         flex;
  align-items:     center;
  gap:             12px;
}

.story-img-badge i {
  width:       20px;
  height:      20px;
  color:       var(--lime);
  flex-shrink: 0;
}

.story-img-badge strong {
  display:     block;
  font-size:   0.88rem;
  font-weight: 700;
  color:       var(--white);
}

.story-img-badge span {
  display:   block;
  font-size: 0.78rem;
  color:     var(--gray);
}

.story-text {
  font-size:     0.95rem;
  line-height:   1.85;
  color:         var(--gray);
  margin-bottom: 16px;
}

.story-text:last-of-type { margin-bottom: 0; }

.story-content .btn i {
  width:  16px;
  height: 16px;
}

/* ─── MISSION SECTION ────────────────────────────── */
.mission-section {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.mission-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

.mission-card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  padding:       36px 32px;
  position:      relative;
  overflow:      hidden;
  transition:    var(--transition);
}

.mission-card::before {
  content:    '';
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  height:     2px;
  background: var(--border);
  transition: var(--transition);
}

.mission-card:hover {
  border-color: rgba(200,255,89,0.2);
  transform:    translateY(-4px);
  box-shadow:   0 16px 48px rgba(0,0,0,0.3);
}

.mission-card:hover::before {
  background: var(--lime);
}

.mission-icon {
  width:           52px;
  height:          52px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
  margin-bottom:   20px;
  transition:      var(--transition);
}

.mission-card:hover .mission-icon {
  background: var(--lime);
  color:      var(--black);
}

.mission-icon i {
  width:  22px;
  height: 22px;
}

.mission-card h3 {
  font-family:   var(--font-head);
  font-size:     1.4rem;
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 12px;
}

.mission-card p {
  font-size:   0.92rem;
  line-height: 1.75;
  color:       var(--gray);
}

/* ─── VALUES SECTION ─────────────────────────────── */
.values-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.values-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   24px;
}

.value-card {
  background:    var(--black);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  padding:       32px 28px;
  transition:    var(--transition);
  position:      relative;
  overflow:      hidden;
}

.value-card:hover {
  border-color: rgba(200,255,89,0.25);
  transform:    translateY(-4px);
  box-shadow:   0 16px 48px rgba(0,0,0,0.4);
}

.value-icon {
  width:           44px;
  height:          44px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
  margin-bottom:   16px;
  transition:      var(--transition);
}

.value-card:hover .value-icon {
  background: var(--lime);
  color:      var(--black);
}

.value-icon i {
  width:  20px;
  height: 20px;
}

.value-num {
  font-family:   var(--font-head);
  font-size:     3rem;
  font-weight:   800;
  color:         rgba(200,255,89,0.1);
  line-height:   1;
  margin-bottom: 12px;
  transition:    var(--transition);
}

.value-card:hover .value-num {
  color: rgba(200,255,89,0.2);
}

.value-card h4 {
  font-family:   var(--font-head);
  font-size:     1.1rem;
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 10px;
}

.value-card p {
  font-size:   0.88rem;
  line-height: 1.7;
  color:       var(--gray);
}

/* ─── TEAM PREVIEW ───────────────────────────────── */
.team-preview-section {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.team-preview-inner {
  display:               grid;
  grid-template-columns: 1fr 1.6fr;
  gap:                   80px;
  align-items:           center;
}

.team-preview-inner .btn i {
  width:  16px;
  height: 16px;
}

.team-preview-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   20px;
}

.team-preview-card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:      hidden;
  transition:    var(--transition);
  text-align:    center;
}

.team-preview-card:hover {
  border-color: rgba(200,255,89,0.25);
  transform:    translateY(-4px);
  box-shadow:   0 16px 40px rgba(0,0,0,0.3);
}

.team-preview-img {
  aspect-ratio: 1/1;
  overflow:     hidden;
  background:   var(--surface2);
}

.team-preview-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-preview-card:hover .team-preview-img img {
  transform: scale(1.06);
}

.team-preview-card h4 {
  font-family: var(--font-head);
  font-size:   1rem;
  font-weight: 700;
  color:       var(--white);
  margin-top:  16px;
  padding:     0 16px;
}

.team-preview-card span {
  display:   block;
  font-size: 0.8rem;
  color:     var(--lime);
  font-weight: 500;
  padding:   4px 16px 16px;
}

/* ─── CTA BANNER ─────────────────────────────────── */
.cta-banner {
  background: var(--lime);
  padding:    80px 0;
}

.cta-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             48px;
  flex-wrap:       wrap;
}

.cta-title {
  font-family:   var(--font-head);
  font-size:     clamp(2rem, 4vw, 3rem);
  font-weight:   800;
  color:         var(--black);
  line-height:   1.1;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 1rem;
  color:     rgba(19,19,19,0.7);
}

.cta-btns {
  display:   flex;
  gap:       16px;
  flex-wrap: wrap;
}

.cta-btns .btn i {
  width:  16px;
  height: 16px;
}

.cta-banner .btn-primary {
  background:   var(--black);
  color:        var(--lime);
  border-color: var(--black);
}

.cta-banner .btn-primary:hover {
  background:   transparent;
  color:        var(--black);
}

.cta-banner .btn-outline {
  border-color: rgba(19,19,19,0.3);
  color:        var(--black);
}

.cta-banner .btn-outline:hover {
  border-color: var(--black);
  background:   rgba(19,19,19,0.1);
  color:        var(--black);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap:                   48px;
  }

  .about-hero-img-wrap { aspect-ratio: 16 / 9; }

  .story-inner {
    grid-template-columns: 1fr;
    gap:                   48px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-preview-inner {
    grid-template-columns: 1fr;
    gap:                   48px;
  }
}

@media (max-width: 768px) {

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align:     center;
  }

  .cta-btns {
    justify-content: center;
  }
}

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