/* =============================================
   ABOUT PAGE
   ============================================= */

/* ===== SHARED: section underline ===== */
.section-underline {
  width: 48px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== SHARED: fade-in-up animation (hero, immediate) ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp .7s ease forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SHARED: scroll-triggered animation ===== */
.scroll-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.scroll-anim:nth-child(2) { transition-delay: .15s; }
.scroll-anim:nth-child(3) { transition-delay: .3s; }

/* ===== ABOUT HERO ===== */
.about-hero {
  background: radial-gradient(ellipse at 60% 50%, #EFBA1B 0%, #E8910A 70%);
  min-height: 420px;
  display: flex;
  align-items: center;
}

.about-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.about-hero__text {
  flex: 1;
  color: var(--white);
}

.about-hero__text h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp .7s ease forwards .1s;
}

.about-hero__tagline {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 16px;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .7s ease forwards .25s;
}

.about-hero__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  max-width: 440px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .7s ease forwards .4s;
}

.about-hero__mascot {
  flex-shrink: 0;
  opacity: 0;
  animation: fadeInUp .7s ease forwards .3s;
}

.about-hero__mascot img {
  height: 340px;
  width: auto;
  object-fit: contain;
  display: block;
  animation: mascotFloat 3s ease-in-out infinite 1s;
}

/* ===== CÂU CHUYỆN ===== */
.about-story {
  padding: 64px 0;
  background: var(--white);
}

.about-story__header {
  text-align: center;
  margin-bottom: 36px;
}

.about-story__header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.about-story__content {
  max-width: 860px;
  margin: 0 auto;
}

.about-story__content p {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 28px;
}

.about-story__content p:last-child { margin-bottom: 0; }

/* ===== SỨ MỆNH + TẦM NHÌN ===== */
.about-mission {
  background: var(--yellow-light);
  padding: 64px 0;
}

.about-mission__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mission-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.mission-card__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.mission-card__icon {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.mission-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.85;
  color: #374151;
}

/* ===== MỤC TIÊU ===== */
.about-goals {
  padding: 64px 0;
  background: var(--white);
}

.about-goals__header {
  text-align: center;
  margin-bottom: 48px;
}

.about-goals__header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.about-goals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.goal-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: default;
}

.goal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: var(--yellow);
}

.goal-card__icon {
  width: 72px;
  height: 72px;
  background: var(--yellow);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 24px;
}

.goal-card:hover .goal-card__icon {
  animation: iconWiggle .4s ease;
}

@keyframes iconWiggle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-10deg); }
  50%  { transform: rotate(10deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.goal-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}

.goal-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: #6B7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Hero */
  .about-hero { min-height: unset; }
  .about-hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 0;
    gap: 24px;
  }
  .about-hero__text { width: 100%; }
  .about-hero__text h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 20px; }
  .about-hero__tagline { font-size: 1.25rem; font-weight: 400; }
  .about-hero__desc { font-size: 1.125rem; max-width: 100%; }
  .about-hero__mascot {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
  }
  .about-hero__mascot img {
    height: 256px;
    animation: mascotFloat 3s ease-in-out infinite 1s;
  }
  /* Other sections */
  .about-mission__grid { grid-template-columns: 1fr; }
  .about-goals__grid { grid-template-columns: 1fr; gap: 16px; }
  .about-story { padding: 48px 0; }
  .about-mission { padding: 48px 0; }
  .about-goals { padding: 48px 0; }
}

@media (max-width: 560px) {
  .about-hero__mascot img { height: 256px; }
}
