/* About Us Premium Storytelling Layout Stylesheet */

.about-hero {
  padding-block: var(--space-24) var(--space-16);
  background: radial-gradient(circle at top, var(--color-bg-alt) 0%, var(--color-bg) 70%);
}

.about-hero-title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--color-heading);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.about-hero-subtitle {
  font-size: var(--fs-lg);
  max-width: 60ch;
  margin-inline: auto;
  line-height: var(--lh-relaxed);
}

/* Stats Section */
.about-stats-section {
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-bg);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.about-stat-card {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.stat-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  font-weight: var(--fw-medium);
}

/* Alternating Rows */
.story-alternating-section {
  background: var(--color-bg);
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
}

.story-row--reverse {
  direction: rtl;
}

.story-row--reverse .story-content {
  direction: ltr; /* Reset text direction */
}

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

.story-kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.story-content h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
  line-height: var(--lh-tight);
}

.story-content p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

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

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.story-content-extra {
  justify-content: center;
}

.feature-highlight-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-base);
}

.feature-highlight-card:hover {
  box-shadow: var(--shadow-md);
}

.feature-highlight-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-1);
}

.feature-highlight-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.card-icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Timeline */
.timeline-section {
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-divider);
}

.timeline-container {
  position: relative;
  padding-left: var(--space-8);
  border-left: 2px solid var(--color-border);
  margin-left: var(--space-4);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-12);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: calc(-1 * var(--space-8) - 9px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 3px solid var(--color-bg-alt);
  box-shadow: 0 0 0 3px var(--color-border);
}

.timeline-panel {
  background: var(--color-bg);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.timeline-panel h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

.timeline-panel p {
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
}

/* Mission & Vision Section */
.mission-vision-section {
  background: var(--color-bg);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.mv-card {
  padding: var(--space-10);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.mv-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--color-accent-light);
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.mv-card h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

.mv-card p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* CTA Section */
.about-cta-section {
  background: radial-gradient(circle at bottom, var(--color-bg-alt) 0%, var(--color-bg) 80%);
}

.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Why Choose Us Section */
.why-choose-us-section {
  background: var(--color-bg-alt);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.why-choose-card {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-choose-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  color: var(--color-heading);
}

.why-choose-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* Responsive */
@media (max-width: 960px) {
  .story-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
  }
  .story-row--reverse {
    direction: ltr;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .about-hero-title {
    font-size: var(--fs-4xl);
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .about-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}
