/* ==========================================================================
   About Page — Isolated Styles (prefix: ab-*)
   ========================================================================== */

/* ─── Hero ─── */
.ab-hero {
  padding: 6rem 0 4rem;
  margin-top: -72px;
  padding-top: calc(72px + 4rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.admin-bar .ab-hero {
  margin-top: calc(-72px - 32px);
  padding-top: calc(72px + 32px + 4rem);
}

@media (max-width: 782px) {
  .admin-bar .ab-hero {
    margin-top: calc(-72px - 46px);
    padding-top: calc(72px + 46px + 4rem);
  }
}

.ab-hero__content {
  max-width: 720px;
}

.ab-hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  color: var(--sl-primary);
}

.ab-hero__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ab-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(77, 157, 232, 0.2);
  border: 1px solid rgba(77, 157, 232, 0.3);
  color: var(--sl-secondary-light);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .ab-hero {
    padding: 8rem 0 5rem;
    padding-top: calc(72px + 6rem);
  }
}


/* ─── Section Header ─── */
.ab-section-header {
  text-align: left;
  max-width: 720px;
  margin-bottom: var(--sl-space-2xl);
}

.ab-section-header h2 {
  font-size: var(--sl-text-5xl);
  font-weight: 700;
  color: var(--sl-text);
  margin-bottom: var(--sl-space-md);
}

.ab-section-header p {
  font-size: var(--sl-text-lg);
  color: var(--sl-text-secondary);
  line-height: 1.7;
}


/* ─── Our Story (two-column with image) ─── */
.ab-story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sl-space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .ab-story-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.ab-story {
  max-width: 100%;
}

.ab-story-image {
  min-height: 300px;
  border-radius: var(--sl-radius-md);
}

.ab-story p {
  color: var(--sl-text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}


/* ─── Team Grid (left-aligned with header) ─── */
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sl-space-xl);
  max-width: 900px;
}

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

@media (max-width: 767px) {
  .ab-team-grid {
    gap: 1rem;
  }
}

.ab-team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--sl-bg-white);
  border: 1px solid rgba(77, 157, 232, 0.1);
  border-radius: var(--sl-radius-md);
  box-shadow: var(--sl-shadow-sm);
  transition: box-shadow var(--sl-transition-base), transform var(--sl-transition-base);
}

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

.ab-team-card h3 {
  font-size: 1.1rem;
  color: var(--sl-text);
  margin-bottom: 0.25rem;
}

.ab-team-card__role {
  color: var(--sl-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Team Photo */
.ab-team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
}

.ab-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ─── Mission / Values Cards (3 columns) ─── */
.ab-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sl-space-xl);
}

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

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

.ab-value-card {
  background: var(--sl-bg-white);
  border: 1px solid rgba(77, 157, 232, 0.1);
  border-left: 3px solid var(--sl-secondary);
  border-radius: var(--sl-radius-md);
  padding: var(--sl-space-xl);
  box-shadow: var(--sl-shadow-sm);
  transition: box-shadow var(--sl-transition-base), transform var(--sl-transition-base);
}

.ab-value-card:hover {
  box-shadow: var(--sl-shadow-md);
  transform: translateY(-2px);
}

.ab-value-card h3 {
  font-size: var(--sl-text-xl);
  color: var(--sl-text);
  margin-bottom: var(--sl-space-sm);
}

.ab-value-card p {
  font-size: var(--sl-text-sm);
  color: var(--sl-text-secondary);
  line-height: 1.7;
}

.ab-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--sl-radius-md);
  background: rgba(77, 157, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sl-space-md);
  color: var(--sl-secondary);
}

.ab-icon-box svg {
  width: 24px;
  height: 24px;
}


/* ─── Pre-CTA Section ─── */
.ab-pre-cta {
  background: var(--sl-gradient-subtle);
}

.ab-pre-cta-content {
  text-align: right;
}

.ab-pre-cta-content h2 {
  font-size: var(--sl-text-5xl);
  font-weight: 700;
  color: var(--sl-text);
  margin-bottom: var(--sl-space-md);
}

.ab-pre-cta-content p {
  font-size: var(--sl-text-lg);
  color: var(--sl-text-secondary);
  margin: 0;
}
