/* ================= ABOUT PAGE SPECIFIC STYLES ================= */

/* --- ABOUT INTRO --- */
.about-hero {
  padding: calc(var(--header-height) + 60px) 5% 40px;
  background: radial-gradient(circle at 10% 20%, rgba(167, 139, 250, 0.05) 0%, transparent 40%);
}

.about-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.about-intro-text h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.about-intro-text h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro-text p {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

/* --- CORE PILLARS --- */
.pillars-section {
  padding: 80px 5% 60px;
}

.pillars-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 141, 239, 0.15);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(91, 141, 239, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background-color: var(--primary);
  color: white;
}

.pillar-icon i,
.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* --- MILESTONE TIMELINE --- */
.timeline-section {
  padding: 80px 5%;
  background-color: rgba(91, 141, 239, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline-container {
  max-width: 900px;
  margin: 40px auto 0;
  position: relative;
}

/* Vertical center line */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Bullet markers */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid var(--card-bg);
  position: absolute;
  top: 6px;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  text-align: left;
}

.timeline-content h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- TEAM SECTION --- */
.team-section {
  padding: 100px 5% 40px;
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 141, 239, 0.15);
  transform: translateY(-5px);
}

.team-avatar-wrapper {
  padding-top: 40px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.1), rgba(167, 139, 250, 0.1));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  transform: scale(1.05);
}

.team-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card p.role {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p.bio {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 0 20px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.team-socials {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  background-color: rgba(248, 250, 252, 0.5);
}

.team-socials a {
  color: var(--text-muted);
}

.team-socials a:hover {
  color: var(--primary);
}

.team-socials i,
.team-socials svg {
  width: 16px;
  height: 16px;
}

/* --- RESPONSIVE ABOUT STYLES --- */
@media (max-width: 992px) {
  .about-intro-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .about-image-wrapper {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Timeline Responsive */
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
  }
}

@media (max-width: 576px) {
  .about-intro-text h1 {
    font-size: 34px;
  }

  .about-image-wrapper img {
    height: 280px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}
