body {
  font-family: "Vazirmatn", sans-serif;
  background: #f7f9fc;
  color: #222;
  direction: rtl;
  text-align: right;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
}

#mainDesc {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.columns {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  min-width: 300px;
  background: #f1f8ff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.column h2 {
  color: #2c3e50;
  text-align: center;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.pillar {
  margin: 10px 0;
  padding: 10px 12px;
  background: #ecf6ff;
  border-right: 3px solid #3498db;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.pillar:hover {
  background: #dceeff;
  cursor: pointer;
}

.description-box {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.4s ease-in-out;
  background: #fff;
  border: 1px solid #d0d8e0;
  border-radius: 10px;
  padding: 0 10px;
  margin-top: 8px;
  line-height: 1.6;
  color: #444;
}

.description-box.active {
  max-height: 400px;
  opacity: 1;
  transform: scaleY(1);
  padding: 10px 12px;
}

.level-2 { border-right-color: #16a085; margin-right: 10px; }
.level-3 { border-right-color: #8e44ad; margin-right: 20px; }
.level-4 { border-right-color: #c0392b; margin-right: 30px; }

.title {
  font-weight: bold;
  position: relative;
}

.title::after {
  content: "▾";
  position: absolute;
  left: 10px;
  color: #777;
  transition: transform 0.3s ease;
}

.title.open::after {
  transform: rotate(180deg);
}
