/* ============================================
   KASARACHI FOUNDATION - About Page Styles
   ============================================ */

/* Page Hero */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1b33 100%);
  color: var(--white);
  padding: 120px 0 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(13,110,253,0.12) 0%, transparent 60%);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero .badge {
  margin-bottom: 16px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* Our Story */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 20px;
}

.story-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--dark-light);
  line-height: 1.8;
}

.story-image {
  display: flex;
  justify-content: center;
}

.story-img-placeholder {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  color: var(--white);
  border-radius: var(--radius-xl);
}

.story-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.story-img-placeholder p {
  font-weight: 500;
  margin-bottom: 8px;
}

.story-img-placeholder small {
  opacity: 0.85;
  font-size: 0.9rem;
}

/* Mission Vision Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.mvv-card {
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mvv-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.mvv-card h3 {
  margin-bottom: 14px;
  color: var(--primary);
}

.mvv-card p {
  color: var(--dark-light);
  line-height: 1.7;
}

.values-list {
  text-align: left;
  padding: 0;
  list-style: none;
}

.values-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark-light);
  font-size: 0.95rem;
}

.values-list li:last-child {
  border-bottom: none;
}

/* Founder Spotlight */
.founder-full-card {
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.founder-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.founder-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.founder-details h3 {
  margin-bottom: 4px;
  font-size: 1.4rem;
}

.founder-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.founder-social {
  display: flex;
  gap: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.founder-message blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px 28px;
  margin: 0 0 28px;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.founder-journey h4 {
  margin-bottom: 12px;
  color: var(--primary);
}

.founder-journey p {
  margin-bottom: 12px;
  color: var(--dark-light);
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 20px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 1;
}

.timeline-content {
  padding: 24px;
}

.timeline-content .year {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.timeline-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 14px;
}

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

.team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Partners Grid */
.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.partner-logo-item {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: default;
}

.partner-logo-item:hover {
  box-shadow: var(--shadow-md);
  color: var(--primary);
  transform: translateY(-3px);
}

/* CTA Section */
.cta-section .cta-box {
  padding: 56px 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Active Nav Link */
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-image {
    order: -1;
  }

  .story-img-placeholder {
    max-width: 250px;
    aspect-ratio: 1/1;
  }

  .founder-full-card {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
    padding: 100px 0 60px;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-dot {
    left: -22px;
  }

  .founder-profile {
    flex-direction: column;
    text-align: center;
  }

  .founder-social {
    justify-content: center;
  }

  .founder-message blockquote {
    padding: 16px 20px;
  }

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

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}