/* ============================================
   ABOUT US PAGE - Specific Styles
   ============================================ */

/* ============================================
   Section - About Hero
   ============================================ */
.about-hero {
  position: relative;
  width: 100%;
  height: 639px;
  background: var(--color-karimun-40-shade);
  overflow: hidden;
}

.about-hero__bg-graphic {
  position: absolute;
  top: 5.79%;
  left: 0;
  right: 59.65%;
  bottom: -5%;
  pointer-events: none;
}

.about-hero__bg-graphic img {
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

.about-hero__content {
  position: absolute;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
  z-index: 2;
}

.about-hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-hedgehog-primary);
}

.about-hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-hedgehog-primary);
}


/* ============================================
   Section - Our Story
   ============================================ */
.about-story {
  width: 100%;
  background: var(--color-white);
  padding: var(--spacing-6xl) var(--spacing-3xl);
  display: flex;
  gap: var(--spacing-6xl);
  align-items: flex-start;
}

.about-story__text {
  width: 548px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* Badge inside story text needs flex-start to avoid stretching */
.about-story__text > .badge {
  align-self: flex-start;
}

.about-story__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-oblivion-primary);
}

.about-story__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-oblivion-primary);
}

.about-story__description p {
  margin-bottom: 0;
}

.about-story__description p + p {
  margin-top: 1em;
}

.about-story__image {
  flex: 1;
  min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================
   Section - Core Principles
   ============================================ */
.about-principles {
  width: 100%;
  background: var(--color-white);
  padding: var(--spacing-6xl) var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3xl);
}

.about-principles__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 668px;
  text-align: center;
}

.about-principles__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 480px;
}

.about-principles__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  max-width: 480px;
}

/* Principle Cards Grid - reuses feature-card styles from index.css */
.about-principles__grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: 1130px;
  width: 100%;
}

.about-principles__row {
  display: flex;
  gap: var(--spacing-xl);
}


/* ============================================
   Section - Leadership Team
   ============================================ */
.about-team {
  width: 100%;
  background: var(--color-karimun-80-tint);
  padding: var(--spacing-6xl) var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.about-team__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 668px;
  text-align: center;
}

.about-team__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.about-team__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  max-width: 480px;
}

/* Team Grid */
.about-team__grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  width: 100%;
}

.about-team__row {
  display: flex;
  gap: var(--spacing-xl);
}

/* Individual Team Card */
.team-card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xs);
}

.team-card__image {
  width: 100%;
  height: 264px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #01558C 0%, #01395E 100%);
  flex-shrink: 0;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--spacing-xs);
  color: var(--color-oblivion-primary);
}

.team-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.team-card__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.team-card__role {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.team-card__bio {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

/* Team Social Links */
.team-card__socials {
  display: flex;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-xs);
}

.team-card__social-link {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.team-card__social-link:hover {
  opacity: 0.6;
}

.team-card__social-link img {
  width: 100%;
  height: 100%;
}


/* ============================================
   Section - CTA background override
   ============================================ */
/* The top 136px of .cta shows through before the tan .cta__bg starts.
   Match it to the preceding section's light-blue background (#CCE8FB). */
.cta {
  background: var(--color-karimun-80-tint);
}


/* ============================================
   Responsive - Tablet (max-width: 1280px)
   ============================================ */
@media (max-width: 1280px) {
  .about-hero {
    height: auto;
    padding: 160px var(--spacing-3xl) var(--spacing-6xl);
  }

  .about-hero__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .about-hero__title {
    font-size: 56px;
  }

  .about-story {
    flex-direction: column;
    gap: var(--spacing-3xl);
  }

  .about-story__text {
    width: 100%;
  }

  .about-story__image {
    width: 100%;
    min-height: 360px;
  }

  .about-principles__title,
  .about-team__title {
    font-size: 36px;
  }

  .about-principles__row {
    flex-wrap: wrap;
  }

  .about-team__row {
    flex-wrap: wrap;
  }

  .team-card {
    flex: 0 1 calc(50% - 12px);
    min-width: 280px;
  }
}


/* ============================================
   Responsive - Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .about-hero {
    padding-top: 100px;
  }

  .about-hero__title {
    font-size: 40px;
  }

  .about-hero__subtitle {
    font-size: 16px;
  }

  .about-story__title {
    font-size: 36px;
  }

  .about-principles__row,
  .about-team__row {
    flex-direction: column;
  }

  .team-card {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .team-card__image {
    height: 240px;
  }
}
