/* ===== ABOUT PAGE IMPROVEMENTS ===== */
/* Modern, engaging about page with animations and better visual hierarchy */

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, var(--navy, #0A2342) 0%, var(--slate, #2C3E50) 100%);
  color: white;
  padding: var(--s-8, 80px) 0;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(79, 195, 247, 0.15);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-4, 24px);
  color: var(--sky, #4FC3F7);
}

.about-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--s-4, 24px);
  font-weight: 900;
  line-height: 1.1;
}

.hero-lead {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--s-7, 48px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-5, 32px);
  max-width: 700px;
  margin: 0 auto;
}

.hero-stat {
  text-align: center;
  padding: var(--s-4, 24px);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2, 12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--emerald, #2ECC71);
  margin-bottom: var(--s-1, 8px);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Mission Section */
.mission-section {
  background: white;
  padding: var(--s-8, 80px) 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-6, 40px);
}

.mission-card {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.05) 0%, rgba(46, 204, 113, 0.05) 100%);
  padding: var(--s-6, 40px);
  border-radius: var(--radius-3, 16px);
  border: 2px solid rgba(79, 195, 247, 0.15);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.mission-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky, #4FC3F7);
  box-shadow: 0 12px 32px rgba(79, 195, 247, 0.2);
}

.mission-icon {
  font-size: 3rem;
  margin-bottom: var(--s-4, 24px);
}

.mission-card h2 {
  color: var(--navy, #0A2342);
  font-size: 1.8rem;
  margin-bottom: var(--s-3, 16px);
  font-weight: 700;
}

.mission-card p {
  color: var(--slate, #2C3E50);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--s-7, 60px);
}

.section-header h2 {
  color: var(--navy, #0A2342);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--s-3, 16px);
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--slate, #2C3E50);
  line-height: 1.6;
  margin: 0;
}

/* Differentiators Section */
.differentiators-section {
  background: var(--gray-50, #F5F6FA);
  padding: var(--s-8, 80px) 0;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5, 32px);
}

.differentiator-card {
  background: white;
  padding: var(--s-6, 40px);
  border-radius: var(--radius-2, 12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.differentiator-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.differentiator-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.diff-icon {
  font-size: 2.5rem;
  margin-bottom: var(--s-3, 16px);
}

.differentiator-card h3 {
  color: var(--navy, #0A2342);
  font-size: 1.4rem;
  margin-bottom: var(--s-3, 16px);
  font-weight: 700;
}

.differentiator-card p {
  color: var(--slate, #2C3E50);
  line-height: 1.6;
  margin: 0;
}

/* Approach Section */
.approach-section {
  background: white;
  padding: var(--s-8, 80px) 0;
}

.approach-steps {
  max-width: 900px;
  margin: 0 auto;
}

.approach-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-5, 32px);
  margin-bottom: var(--s-7, 48px);
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease;
}

.approach-step.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.approach-step:last-child {
  margin-bottom: 0;
}

.approach-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 80px;
  bottom: -48px;
  width: 2px;
  background: linear-gradient(180deg, var(--sky, #4FC3F7) 0%, var(--emerald, #2ECC71) 100%);
  opacity: 0.3;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky, #4FC3F7) 0%, var(--emerald, #2ECC71) 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(79, 195, 247, 0.3);
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--navy, #0A2342);
  font-size: 1.6rem;
  margin-bottom: var(--s-3, 16px);
  font-weight: 700;
}

.step-content > p {
  color: var(--slate, #2C3E50);
  line-height: 1.7;
  margin-bottom: var(--s-4, 24px);
  font-size: 1.05rem;
}

.step-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-2, 12px);
}

.step-deliverables li {
  padding-left: 28px;
  position: relative;
  color: var(--slate, #2C3E50);
  line-height: 1.5;
}

.step-deliverables li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald, #2ECC71);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .mission-card,
  .differentiator-card,
  .approach-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero {
    padding: var(--s-7, 60px) 0;
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--s-3, 16px);
  }

  .approach-step {
    grid-template-columns: 60px 1fr;
    gap: var(--s-4, 24px);
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .approach-step:not(:last-child)::before {
    left: 30px;
    top: 60px;
  }

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

/* Team Section */
.team-section {
  background: linear-gradient(180deg, var(--gray-50, #F5F6FA) 0%, white 100%);
}

.team-section h2 {
  text-align: center;
  margin-bottom: var(--s-7, 48px);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.team-grid {
  display: grid;
  gap: var(--s-6, 40px);
  margin-top: var(--s-6, 40px);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member {
  background: white;
  border-radius: var(--radius-3, 16px);
  padding: var(--s-6, 40px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--sky, #4FC3F7);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--s-4, 24px);
  object-fit: cover;
  border: 4px solid var(--emerald, #2ECC71);
  background: linear-gradient(135deg, var(--sky, #4FC3F7) 0%, var(--emerald, #2ECC71) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  font-weight: 700;
}

.team-member h3 {
  margin-bottom: var(--s-2, 12px);
  color: var(--navy, #0A2342);
  font-size: 1.5rem;
}

.member-title {
  color: var(--sky, #4FC3F7);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--s-3, 16px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-bio {
  color: var(--slate, #2C3E50);
  line-height: 1.6;
  margin-bottom: var(--s-4, 24px);
  font-size: 0.95rem;
}

.member-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2, 8px);
  justify-content: center;
  margin-bottom: var(--s-4, 24px);
}

.credential {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate, #2C3E50);
  border: 1px solid rgba(79, 195, 247, 0.3);
  transition: all 0.2s ease;
}

.credential:hover {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(46, 204, 113, 0.2) 100%);
  border-color: var(--emerald, #2ECC71);
  transform: translateY(-2px);
}

.member-social {
  display: flex;
  gap: var(--s-3, 16px);
  justify-content: center;
}

.member-social a {
  color: var(--sky, #4FC3F7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.member-social a:hover {
  color: var(--emerald, #2ECC71);
  text-decoration: underline;
}

/* Timeline Section */
.timeline-section {
  background: white;
  position: relative;
  overflow: hidden;
}

.timeline-section h2 {
  text-align: center;
  margin-bottom: var(--s-7, 48px);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--s-5, 32px) 0;
}

/* Timeline vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sky, #4FC3F7) 0%, var(--emerald, #2ECC71) 100%);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: var(--s-6, 40px);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alternate left/right on desktop */
@media (min-width: 769px) {
  .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 40px);
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 40px);
    text-align: left;
  }
}

@media (max-width: 768px) {
  .timeline-item {
    padding-left: 70px;
  }
}

.timeline-date {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy, #0A2342) 0%, var(--slate, #2C3E50) 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--s-3, 16px);
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.3);
}

/* Timeline dot */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid var(--emerald, #2ECC71);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .timeline-item::before {
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
  }
}

@media (max-width: 768px) {
  .timeline-item::before {
    left: 20px;
    top: 30px;
  }
}

.timeline-item.is-visible::before {
  background: var(--emerald, #2ECC71);
  box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.3);
}

.timeline-content {
  background: white;
  padding: var(--s-5, 32px);
  border-radius: var(--radius-2, 12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.timeline-content h3 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-2, 12px);
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--slate, #2C3E50);
  line-height: 1.6;
  margin: 0;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--navy, #0A2342) 0%, var(--slate, #2C3E50) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats-section h2 {
  color: white;
  text-align: center;
  margin-bottom: var(--s-7, 48px);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

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

.stat-item {
  text-align: center;
  padding: var(--s-5, 32px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2, 12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--emerald, #2ECC71);
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--emerald, #2ECC71);
  margin-bottom: var(--s-2, 12px);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--s-2, 12px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Certifications Section */
.certifications-section {
  background: var(--gray-50, #F5F6FA);
}

.certifications-section h2 {
  text-align: center;
  margin-bottom: var(--s-7, 48px);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.certifications-grid {
  display: grid;
  gap: var(--s-6, 40px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.certification-item {
  background: white;
  padding: var(--s-6, 40px);
  border-radius: var(--radius-2, 12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.certification-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--emerald, #2ECC71);
}

.certification-item img {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--s-4, 24px);
  object-fit: contain;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  border-radius: 50%;
  padding: 20px;
  border: 2px solid rgba(79, 195, 247, 0.3);
}

.certification-item h3 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-2, 12px);
  font-size: 1.3rem;
}

.certification-item p {
  color: var(--slate, #2C3E50);
  line-height: 1.6;
  margin-bottom: var(--s-3, 16px);
  font-size: 0.95rem;
}

.cert-date {
  display: inline-block;
  background: linear-gradient(135deg, var(--emerald, #2ECC71) 0%, #27AE60 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-number.is-counting {
  animation: countUp 0.6s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .timeline-item,
  .reveal-on-scroll,
  .team-member,
  .certification-item,
  .stat-item {
    transition: none;
    animation: none;
  }

  .timeline-item,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Print Styles */
@media print {
  .team-member,
  .timeline-content,
  .certification-item {
    box-shadow: none;
    border: 1px solid #333;
    break-inside: avoid;
  }

  .stats-section {
    background: white;
    color: black;
  }

  .stat-number {
    color: #333;
  }
}
