/*----------------------------------------
About page styles
----------------------------------------*/

.page-header {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: var(--light-color);
  padding: 150px 0 60px;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Story */
.story-section {
  background: var(--light-color);
}

.story-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.story-text {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.story-stats {
  margin-top: 1.5rem;
}

.story-stats .stat-item h3 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark-color);
  display: inline-block;
  font-family: var(--heading-font);
}

.story-stats .stat-item span {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-color);
}

.story-stats .stat-item p {
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Values */
.values-section {
  background: var(--dark-color);
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 26px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Team */
.team-section {
  background: var(--light-color);
}

.team-card {
  background: var(--light-color);
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  height: 280px;
  overflow: hidden;
  background: var(--light-gray);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-position {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-description {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Timeline */
.timeline-section.bg-light {
  background: var(--light-gray) !important;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background: var(--light-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -47px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -47px;
}

.timeline-year {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 0 40px;
  }
  .page-title {
    font-size: 2.3rem;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 54px;
    padding-right: 10px;
  }
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -34px;
    right: auto;
  }
}
