/* 
========================================================================================

                                    CODE BỞI TRẦN GIA BẢO

========================================================================================
*/

:root {
  --about-surface: #ffffff;
  --about-surface-soft: #fff6ef;
  --about-border: rgba(75, 44, 32, 0.1);
  --about-shadow: 0 16px 40px rgba(75, 44, 32, 0.09);
}

.about-page {
  background:
    radial-gradient(circle at 10% 0, rgba(212, 163, 115, 0.2), transparent 32%),
    var(--bg);
}

body.dark .about-page {
  background:
    radial-gradient(circle at 12% 0, rgba(212, 163, 115, 0.16), transparent 34%),
    radial-gradient(circle at 88% 0, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #141414 0%, #171313 44%, #1b1411 100%);
}

.about-modern-hero {
  min-height: 72vh;
  padding: 110px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(18, 10, 7, 0.62), rgba(18, 10, 7, 0.62)),
    url("../images/about/about.jpg");
  background-size: cover;
  background-position: center;
}

body.dark .about-modern-hero {
  background:
    linear-gradient(rgba(10, 7, 6, 0.78), rgba(10, 7, 6, 0.78)),
    url("../images/about/about.jpg");
  background-size: cover;
  background-position: center;
}

.about-modern-hero__inner {
  max-width: 860px;
  color: #fff;
  animation: about-fade-up 0.8s ease both;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.about-modern-hero h1 {
  margin: 18px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
}

.about-modern-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
  line-height: 1.8;
}

.about-hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-hero-actions .btn {
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.about-hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.about-hero-actions .btn-secondary:hover {
  background: #fff;
  color: #1f1f1f;
}

.about-overview {
  max-width: 1240px;
  margin: -52px auto 0;
  padding: 0 22px 40px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.about-overview__intro,
.about-overview__stats {
  background: var(--about-surface);
  border-radius: 22px;
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
}

.about-overview__intro {
  padding: 34px 34px 30px;
}

.about-overview__intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.about-overview__intro p {
  color: rgba(45, 36, 36, 0.84);
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-overview__stats {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.about-stat-card {
  border-radius: 16px;
  border: 1px solid rgba(75, 44, 32, 0.1);
  background: var(--about-surface-soft);
  padding: 18px;
}

.about-stat-card h3 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 6px;
  font-weight: 800;
}

.about-stat-card p {
  color: rgba(45, 36, 36, 0.82);
  font-size: 0.94rem;
  line-height: 1.6;
}

.about-highlights,
.about-values,
.about-timeline-section {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.about-highlights {
  padding-top: 14px;
  padding-bottom: 30px;
}

.about-section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.about-section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 8px;
}

.about-section-heading p {
  color: rgba(45, 36, 36, 0.78);
  line-height: 1.7;
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-highlight-card {
  background: var(--about-surface);
  border-radius: 18px;
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
  padding: 24px 22px;
  transition: transform 0.25s ease;
}

.about-highlight-card:hover {
  transform: translateY(-6px);
}

.about-highlight-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--primary);
  background: rgba(212, 163, 115, 0.22);
  margin-bottom: 14px;
}

.about-highlight-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.about-highlight-card p {
  color: rgba(45, 36, 36, 0.8);
  line-height: 1.7;
  font-size: 0.94rem;
}

.about-values {
  padding-top: 8px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
}

.about-values__content,
.about-values__panel {
  background: var(--about-surface);
  border-radius: 20px;
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
  padding: 30px;
}

.about-values__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.about-values__content p {
  color: rgba(45, 36, 36, 0.8);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-values-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-values-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(45, 36, 36, 0.82);
  line-height: 1.7;
}

.about-values-list li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  left: 0;
  top: 10px;
}

.about-values__panel {
  background: linear-gradient(
    160deg,
    rgba(75, 44, 32, 0.96) 0%,
    rgba(44, 25, 17, 0.96) 100%
  );
  border-color: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.about-values__panel h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.about-values__panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-values__panel li {
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.about-values__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.about-link-pill {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

.about-link-pill:hover {
  transform: translateY(-2px);
}

.about-timeline-section {
  padding-top: 6px;
  padding-bottom: 42px;
}

.about-timeline {
  position: relative;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(212, 163, 115, 0.45);
}

.about-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding-left: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s ease;
}

.about-timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.about-timeline-item::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.22);
}

.about-timeline-year {
  color: var(--accent-dark);
  font-size: 1.12rem;
  font-weight: 800;
  padding-top: 2px;
}

.about-timeline-content {
  background: var(--about-surface);
  border-radius: 16px;
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
  padding: 20px 20px 18px;
}

.about-timeline-content h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.about-timeline-content p {
  color: rgba(45, 36, 36, 0.8);
  line-height: 1.7;
}

.about-cta {
  padding: 0 22px 68px;
}

.about-cta-box {
  max-width: 1240px;
  margin: auto;
  padding: 44px 42px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 85% 0,
      rgba(255, 255, 255, 0.14),
      transparent 30%
    ),
    linear-gradient(150deg, #3f2418 0%, #4b2c20 50%, #2a1811 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(19, 10, 7, 0.36);
}

.about-cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.about-cta-box p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
}

.about-cta-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 460px;
  gap: 12px;
  align-items: stretch;
}

.about-cta-actions .btn {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-weight: 700;
}

.about-cta-actions .btn-primary {
  box-shadow: 0 10px 20px rgba(212, 163, 115, 0.24);
}

.about-cta-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.about-cta-actions .btn-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: #1f1f1f;
}

body.dark .about-overview__intro,
body.dark .about-overview__stats,
body.dark .about-highlight-card,
body.dark .about-values__content,
body.dark .about-timeline-content {
  background: linear-gradient(
    160deg,
    rgba(36, 30, 28, 0.96) 0%,
    rgba(28, 24, 23, 0.96) 100%
  );
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

body.dark .about-overview__intro p,
body.dark .about-stat-card p,
body.dark .about-highlight-card p,
body.dark .about-values__content p,
body.dark .about-values-list li,
body.dark .about-timeline-content p,
body.dark .about-section-heading p {
  color: rgba(255, 255, 255, 0.8);
}

body.dark .about-stat-card {
  background: linear-gradient(
    150deg,
    rgba(57, 45, 40, 0.9) 0%,
    rgba(46, 36, 33, 0.9) 100%
  );
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .about-overview__intro h2,
body.dark .about-section-heading h2,
body.dark .about-highlight-card h3,
body.dark .about-values__content h2,
body.dark .about-timeline-content h3,
body.dark .about-stat-card h3,
body.dark .about-timeline-year {
  color: #f7e5d3;
}

body.dark .about-highlight-card i {
  color: #ffd3ab;
  background: rgba(212, 163, 115, 0.22);
}

body.dark .about-values-list li::before,
body.dark .about-values__panel li::before,
body.dark .about-timeline-item::before {
  background: #e8b687;
}

body.dark .about-values__panel {
  background: linear-gradient(
    160deg,
    rgba(69, 42, 29, 0.98) 0%,
    rgba(37, 24, 18, 0.98) 100%
  );
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

body.dark .about-link-pill {
  background: #e1ac78;
  color: #2d1a12;
}

body.dark .about-link-pill:hover {
  background: #f0bf8f;
}

body.dark .about-timeline::before {
  background: rgba(232, 182, 135, 0.42);
}

body.dark .about-cta-box {
  background:
    radial-gradient(circle at 85% 0, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(145deg, #2f1c14 0%, #3c2418 48%, #24140f 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

body.dark .about-cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

body.dark .about-cta-actions .btn-secondary:hover {
  background: #f4ece5;
  border-color: #f4ece5;
  color: #21120d;
}

@media (max-width: 992px) {
  .about-overview,
  .about-values {
    grid-template-columns: 1fr;
  }

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

  .about-values__panel {
    order: -1;
  }
}

@media (max-width: 768px) {
  .about-modern-hero {
    min-height: auto;
    padding: 90px 16px 62px;
  }

  .about-modern-hero p {
    font-size: 0.95rem;
  }

  .about-hero-actions .btn,
  .about-cta-actions .btn {
    width: 100%;
  }

  .about-cta-actions {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .about-overview,
  .about-highlights,
  .about-values,
  .about-timeline-section,
  .about-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-overview {
    margin-top: -32px;
    gap: 16px;
  }

  .about-overview__intro,
  .about-values__content,
  .about-values__panel,
  .about-cta-box {
    padding: 24px 18px;
  }

  .about-highlight-grid {
    grid-template-columns: 1fr;
  }

  .about-timeline::before {
    left: 16px;
  }

  .about-timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }

  .about-timeline-item::before {
    left: 10px;
    top: 8px;
  }

  .about-timeline-year {
    font-size: 1rem;
  }

  .about-cta {
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .about-badge {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .about-modern-hero {
    padding-top: 82px;
  }

  .about-overview__intro p,
  .about-section-heading p,
  .about-highlight-card p,
  .about-values__content p,
  .about-timeline-content p,
  .about-cta-box p {
    font-size: 0.92rem;
  }
}

@keyframes about-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
