/* About page styled to match index/testimonials dark card system */

.white-rectangle,
.inner-section,
.content-wrapper {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.about-section {
  padding: 56px 24px;
}

.about-container {
  background: linear-gradient(180deg, rgba(18, 25, 41, 0.78) 0%, rgba(10, 15, 27, 0.78) 100%);
  border: 1px solid rgba(254, 229, 0, 0.74);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  max-width: 1060px;
  margin: 0 auto;
  padding: 22px 18px;
}

.about-section h1,
.about-section h2 {
  color: #f9fbff;
  text-align: center;
  margin-bottom: 10px;
}

.about-section h1 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.3;
}

.about-section h2 {
  font-size: clamp(20px, 2.8vw, 30px);
}

.section-line {
  display: block;
  width: 72px;
  height: 3px;
  background: #fee500;
  margin: 0.75rem auto 2rem;
}

.about-story,
.about-philosophy,
.about-team-teaser {
  background: #0f1118;
}

.about-text p,
.team-intro,
.cta-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #dce6ff;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 1rem;
  background: transparent !important;
}

.about-text {
  background: linear-gradient(180deg, rgba(18, 25, 41, 0.78) 0%, rgba(10, 15, 27, 0.78) 100%);
  border: 1px solid rgba(254, 229, 0, 0.74);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  padding: 22px 18px;
}

.philosophy-grid,
.team-grid {
  display: grid;
  gap: 20px;
}

.philosophy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.philosophy-card,
.team-card {
  background: linear-gradient(180deg, rgba(18, 25, 41, 0.78) 0%, rgba(10, 15, 27, 0.78) 100%);
  border: 1px solid rgba(254, 229, 0, 0.74);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.philosophy-card:hover,
.team-card:hover {
  border-color: #fff07a;
  transform: translateY(-3px);
  box-shadow: var(--site-card-shadow-hover, 0 10px 22px rgba(0, 0, 0, 0.45));
}

.philosophy-card {
  padding: 24px 18px;
  text-align: left;
}

.philosophy-card h3,
.team-card h3 {
  color: #f9fbff;
  margin-bottom: 8px;
  text-align: center;
}

.philosophy-card p,
.team-card p:last-child,
.team-role {
  color: #dce6ff;
  background: transparent !important;
}

.about-schedule-cta {
  background: #111725;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: #fee500;
  color: #101522;
}

.btn-primary:hover {
  background: #fff07a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fee500;
  border: 1px solid rgba(254, 229, 0, 0.74);
}

.btn-secondary:hover {
  background: var(--site-surface-deep, #203050);
  transform: translateY(-2px);
}

.team-intro {
  margin-bottom: 1.8rem;
}

.team-card {
  padding: 18px 14px;
  text-align: left;
}

.team-role {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: center;
}

@media (max-width: 980px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 40px 16px;
  }

  .philosophy-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
