* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
i {
  display: flex;
  justify-content: center;
  align-items: center;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.navbar-nav .nav-link.active {
  color: #ffd700 !important; /* طلایی برای آیتم فعال */
}

.navbar-nav .nav-link {
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #ccebc5 !important; /* سبز روشن روی hover */
}

main {
  flex: 1; /* پر کردن فضای وسط */
}

/* خط افقی */
.box-outline {
  position: relative;
  padding: 0;
  display: flex;
  justify-content: flex-start; /* در RTL: باکس سمت راست */
}

.box-outline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 44px; /* فاصله دقیق از باکس */
  left: 0; /* خط تا انتهای چپ بره */
  height: 2px;
  background: #1f2328;
  z-index: -2;
}

/* خود باکس */
.box {
  position: relative;
  margin-bottom: -2px;
  padding: 0.65rem 1.3rem;
  background: #1f2328;
  clip-path: polygon(
    0 14px,
    0 100%,
    calc(100% - 14px) 100%,
    100% calc(100% - 14px),
    100% 0,
    14px 0
  );
}

/* مرز داخلی */
.box::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #1f2328;
  clip-path: inherit;
  z-index: -1;
}

/* پس‌زمینه */
.box::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #fff;
  clip-path: inherit;
  z-index: -1;
}

.box h3 {
  font-weight: 700;
}

@media (max-width: 576px) {
  .box {
    padding: 0.5rem 1rem;
    clip-path: polygon(
      0 10px,
      0 100%,
      calc(100% - 10px) 100%,
      100% calc(100% - 10px),
      100% 0,
      10px 0
    );
  }

  .box h3 {
    font-size: 1.05rem;
  }
}

.about-header .about-box {
  max-width: 750px;
  padding: 2rem 1rem;
  position: relative;
}

.about-header h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #2f6151;
}

.about-header p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-header .about-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #004d25, #11823b);
  border-radius: 3px;
  margin-top: 1.5rem;
}

.about-story h2 {
  font-size: 2rem;
  font-weight: 800;
}

.mission-box {
  background: #f8f9fa;
  border: 2px solid #11823b;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

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

.mission-list li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: #333;
  display: flex;
  align-items: center;
}

.about-values h2 {
  font-size: 2rem;
  font-weight: 800;
}

.value-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.icon-box i {
  font-size: 2.2rem;
  color: #11823b;
}

.icon-box {
  font-size: 2.5rem;
  line-height: 1;
}

.about-stats {
  background: #f2f9f5;
}

.stat-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.stat-card i {
  font-size: 2.2rem;
  color: #11823b;
}

.stat-card h3 {
  font-size: 1.8rem;
  color: #2f6151;
}

.about-cta .cta-box {
  background: linear-gradient(90deg, #004d25, #11823b);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 850px;
}

.about-cta h5 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-cta .btn {
  border-radius: 10px;
  font-weight: 600;
}

/* Hover effect */
.footer-link:hover {
  color: #adb5bd !important; /* خاکستری روشن در هاور */
  transition: color 0.2s ease-in-out;
}
