/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazir', 'Tahoma', sans-serif;
  background-color: #f9f7f4;
  color: #2d2a24;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b5e3b;
}

.logo__icon {
  font-size: 2rem;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: #2d2a24;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #6a8d6a;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background-color: #6a8d6a;
  color: #fff;
}

.btn--primary:hover {
  background-color: #507050;
}

.btn--large {
  padding: 14px 40px;
  font-size: 1.1rem;
}

.btn--secondary {
  background-color: #d4c9b8;
  color: #2d2a24;
}

.btn--secondary:hover {
  background-color: #c0b4a2;
}

/* Hero */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #f0eee9 0%, #e6e0d6 100%);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__content {
  flex: 1 1 300px;
}

.hero__title {
  font-size: 2.5rem;
  color: #2d4a2d;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #3d3a34;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #3b5e3b;
}

.stat__label {
  font-size: 0.9rem;
  color: #5a554a;
}

.hero__image {
  flex: 1 1 300px;
  text-align: center;
}

.hero__image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Section titles */
.section-title {
  font-size: 2rem;
  color: #2d4a2d;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #6a8d6a;
  margin: 12px auto 0;
}

/* About */
.about {
  padding: 60px 0;
  background-color: #ffffff;
}

.about__text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  text-align: center;
  color: #3d3a34;
}

/* Features */
.features {
  padding: 60px 0;
  background-color: #f9f7f4;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s;
}

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

.feature-card__icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: 1.2rem;
  color: #2d4a2d;
  margin-bottom: 8px;
}

.feature-card__desc {
  color: #5a554a;
  font-size: 0.95rem;
}

/* Courses */
.courses {
  padding: 60px 0;
  background-color: #ffffff;
}

.courses__list {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
  font-size: 1.1rem;
  line-height: 2.2;
}

.courses__list li {
  padding: 8px 16px;
  border-bottom: 1px dashed #e0dad2;
}

.courses__list li::before {
  content: '✦ ';
  color: #6a8d6a;
  font-weight: bold;
}

/* Contact */
.contact {
  padding: 60px 0;
  background: linear-gradient(135deg, #e6e0d6, #d8d0c4);
  text-align: center;
}

.contact__text {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #3d3a34;
}

/* Footer */
.footer {
  background-color: #2d2a24;
  color: #cbc3b6;
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}