/* استایل صفحه اول */
/* 🟧 اساتید پیشنهادی */
.suggested-teachers-section {
  background-color: #f8f8f8;
  padding: 60px 30px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

.teacher-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.teacher-card {
  width: 160px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease;
}

.teacher-card:hover {
  transform: translateY(-4px);
}

.teacher-photo {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.teacher-info {
  padding: 12px 10px;
}

.teacher-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

.teacher-instrument,
.teacher-city {
  font-size: 12px;
  color: #666;
  margin: 2px 0;
}

.view-profile-btn {
  display: inline-block;
  margin-top: 6px;
  background-color: #FFC000;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 12px;
  color: #000;
  text-decoration: none;
}

.view-profile-btn:hover {
  background-color: #e6a800;
}

.how-to-use-section {
  background-color: #fefefe; /* 🎨 رنگ قابل تغییر */
  padding: 80px 30px;
  text-align: center;
}


.how-to-use-section .section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.curved-steps-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
  position: relative;
}

.step-box {
  width: 150px;
  text-align: center;
  padding: 0 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.step-box:hover {
  transform: translateY(-10px) scale(1.03);
  
}

.step-box img {
  width: 130px;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.step-box:hover img {
  transform: translateY(-6px);
}



.step-box h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #222;
}

.step-box p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}


/* موقعیت‌های قوسی شکل */
.curved-pos-1 { transform: translateY(20px); }
.curved-pos-2 { transform: translateY(10px); }
.curved-pos-3 { transform: translateY(0px); }
.curved-pos-4 { transform: translateY(0px); }
.curved-pos-5 { transform: translateY(10px); }
.curved-pos-6 { transform: translateY(20px); }


.latest-articles-section {
  background-color: #f7f7f7;
  padding: 60px 20px;
  text-align: center;
}

.latest-articles-section .section-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
}

.articles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.article-card {
  background-color: #fff;
  width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
}

.article-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.article-card h3 {
  font-size: 14px;
  font-weight: bold;
  margin: 12px 10px 6px;
  color: #222;
  height: 40px;
  overflow: hidden;
}

.article-card a {
  font-size: 13px;
  color: #888;
  display: block;
  text-align: right;
  margin: 10px;
  text-decoration: none;
}

.article-card a:hover {
  color: #000;
}
/* 🟧 مشاوره آنلاین */
.consultation-section {
  background-color: #fff;
  padding: 80px 40px;
}

.consultation-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px; /* کمی جمع‌وجورتر */
  padding: 0 80px;   /* فاصله کناری کمتر */
  margin: 0 auto;
  gap: 40px;
}

.consultation-image img {
  max-width: 460px;
  width: 100%;
  height: auto;
}

.consultation-content {
  flex: 1;
  min-width: 300px;
}

.consultation-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.consultation-content ul {
  list-style-type: disc;
  padding-right: 20px;
  margin-bottom: 30px;
  color: #444;
  font-size: 18px;
  line-height: 2;
  text-align: right;
}

.consultation-content ul li {
  margin-bottom: 10px;
}

.cta-button {
  background-color: #FFC000;
  color: #000;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.site-footer {
  background-color: #FFC000;
  padding: 40px 20px;
  direction: rtl;
  font-family: 'Vazirmatn', sans-serif;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.9;
  color: #333;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  font-size: 13px;
  margin-bottom: 6px;
  color: #333;
}
.footer-bottom {
  background-color: #e6ac00; /* کمی تیره‌تر از نارنجی اصلی */
  text-align: center;
  padding: 15px 10px;
  font-size: 13px;
  color: #fff;
  font-family: 'Vazirmatn', sans-serif;
  border-top: 1px solid rgba(0,0,0,0.1);
}
