/**
 * About Page Styles
 * 
 * @package NerdyByte
 */

/* ── ABOUT HERO SECTION ────────────────────– */
.about-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, #fff 0%, var(--light-bg) 100%);
  position: relative;
  overflow: hidden;
}

/* ── GRID LAYOUTS FOR ABOUT PAGE ────────────– */
.mvv-grid, .why-us-grid, .stats-grid, .process-timeline, .team-grid, .impact-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.mvv-grid { 
  grid-template-columns: repeat(3, 1fr); 
}

.why-us-grid { 
  grid-template-columns: repeat(4, 1fr); 
}

.stats-grid { 
  grid-template-columns: repeat(5, 1fr); 
}

.process-timeline { 
  grid-template-columns: repeat(5, 1fr); 
}

.team-grid { 
  grid-template-columns: repeat(3, 1fr); 
}

.impact-grid { 
  grid-template-columns: repeat(4, 1fr); 
}

/* ── CUSTOM CARD COMPONENT ──────────────────– */
.custom-card {
  background: var(--light-card);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(123, 47, 255, 0.08);
  border-color: rgba(123, 47, 255, 0.2);
}

.bg-dark .custom-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
}

.bg-dark .custom-card:hover {
  border-color: var(--primary);
  box-shadow: var(--glow);
}

/* ── CARD ICON ──────────────────────────────– */
.card-icon {
  width: 50px; 
  height: 50px;
  border-radius: 10px;
  background: rgba(123, 47, 255, 0.08);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 20px; 
  color: var(--primary);
  margin-bottom: 20px;
}

.bg-dark .card-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--secondary);
}

/* ── CARD TITLE ────────────────────────────– */
.card-title {
  font-size: 18px; 
  font-weight: 700; 
  color: var(--dark); 
  margin-bottom: 12px;
}

.bg-dark .card-title { 
  color: #fff; 
}

/* ── CARD DESCRIPTION ──────────────────────– */
.card-desc { 
  font-size: 14px; 
  color: var(--text-dim); 
  line-height: 1.6; 
}

.bg-dark .card-desc { 
  color: rgba(255,255,255,0.7); 
}

/* ── STATISTICS BOX ────────────────────────– */
.stat-box { 
  text-align: center; 
  padding: 25px; 
}

.stat-number {
  font-size: 42px; 
  font-weight: 800; 
  color: var(--primary); 
  margin-bottom: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label { 
  font-size: 13px; 
  font-weight: 700; 
  color: var(--dark); 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
}

.bg-dark .stat-label {
  color: #fff;
}

/* ── PROCESS STEP ──────────────────────────– */
.process-step { 
  position: relative; 
  text-align: center; 
}

.step-num {
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  background: var(--primary); 
  color: #fff;
  font-weight: 800; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin: 0 auto 20px; 
  position: relative; 
  z-index: 2;
  box-shadow: var(--glow);
  font-size: 18px;
}

/* ── TEAM MEMBER CARD ──────────────────────– */
.team-img-wrapper {
  width: 100%; 
  height: 280px; 
  border-radius: 8px;
  background: #e2e8f0; 
  overflow: hidden; 
  margin-bottom: 18px;
  position: relative;
}

.team-img-wrapper img { 
  width: 100%; 
  height: 100%; 
  object-fit: fill; 
}

.team-role { 
  font-size: 12px; 
  font-weight: 700; 
  color: var(--primary); 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  margin-bottom: 5px; 
}

/* ── ABOUT GRID LAYOUT ──────────────────────– */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-left .section-tag,
.about-left .section-title {
  text-align: left;
}

.about-text {
  color: var(--text-dim);
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 18px;
}

/* ── ABOUT PAGE SPECIFIC TEXT ──────────────– */
.about-left .section-title span {
  color: var(--primary);
}

/* ── RESPONSIVE TABLET (1024px) ────────────– */
@media(max-width: 1024px) {
  .why-us-grid, .impact-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }

  .stats-grid, .process-timeline { 
    grid-template-columns: repeat(3, 1fr); 
  }

  .mvv-grid, .team-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── RESPONSIVE MOBILE (768px) ─────────────– */
@media(max-width: 768px) {
  .mvv-grid, 
  .why-us-grid, 
  .stats-grid, 
  .process-timeline, 
  .team-grid, 
  .impact-grid { 
    grid-template-columns: 1fr; 
  }

  .about-grid { 
    grid-template-columns: 1fr !important; 
  }

  .about-hero {
    padding: 60px 0 40px;
  }

  .team-img-wrapper {
    height: 220px;
  }

  .stat-number {
    font-size: 32px;
  }

  .section-title {
    font-size: clamp(24px, 4vw, 36px);
  }

  .about-text {
    font-size: 15px;
    margin-bottom: 15px;
  }
}

/* ── EXTRA SMALL DEVICES (480px) ───────────– */
@media(max-width: 480px) {
  .custom-card {
    padding: 20px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 15px;
  }

  .card-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .card-desc {
    font-size: 13px;
  }

  .stat-box {
    padding: 20px;
  }

  .stat-number {
    font-size: 28px;
    margin-bottom: 3px;
  }

  .stat-label {
    font-size: 11px;
  }

  .team-role {
    font-size: 11px;
    margin-bottom: 4px;
  }
}
