
/* =========================
   GLOBAL
========================= */
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

/* =========================
   LAYOUT
========================= */
.about-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  background: #f6f8fb;
}

/* =========================
   SIDEBAR (FINAL UNIFIED)
========================= */
.about-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  height: fit-content;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.about-sidebar-title {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #9ca3af;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-menu li {
  margin-bottom: 0.6rem;
}

.about-menu a {
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  display: block;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.about-menu a:hover {
  color: #034C2B;
  background: #f3f4f6;
}

.about-menu li.active a {
  border-left: 3px solid #034C2B;
  color: #034C2B;
  font-weight: 600;
  background: #f0fdf4;
}

/* =========================
   CONTENT AREA
========================= */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* =========================
   CONTENT CARDS
========================= */
.content-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.content-card:hover {
  transform: translateY(-3px);
}

/* =========================
   TYPOGRAPHY
========================= */
.about-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.about-content h4 {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #111827;
}

.about-content p,
.about-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
}

/* =========================
   INFO BOX
========================= */
.info-card {
  background: #eef6ff;
  border-left: 4px solid #0d6efd;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 12px 0;
}

/* =========================
   TAGS
========================= */
.tag-row span {
  display: inline-block;
  background: #e9ecef;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
}

/* =========================
   GRID SYSTEM
========================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

/* =========================
   MINI / FEATURE CARDS
========================= */
.mini-card,
.feature-card {
  background: #f9fafc;
  padding: 16px;
  border-radius: 10px;
}

/* =========================
   STRATEGY CARD
========================= */
.strategy-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.strategy-card:hover {
  transform: translateY(-2px);
}

.strategy-card h6 {
  font-size: 0.85rem;
  font-weight: 800;
}

.strategy-card p {
  font-size: 0.75rem;
  color: #6b7280;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.animate-fade-in-left {
  animation: fadeLeft 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

/* =========================
   FIGURE PLACEHOLDER
========================= */
.figure-placeholder {
  margin-top: 20px;
  padding: 40px;
  text-align: center;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  color: #9ca3af;
  font-weight: 600;
  background: #fafafa;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 1rem;
  }
}