* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazir', sans-serif;
  background-color: #F9FAFB;
  color: #1F2937;
  direction: rtl;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* رنگ‌ها */
.color-f { color: #06B6D4; } /* آبی روشن */
.color-s { color: #10B981; } /* سبز متن‌باز */
.color-w { color: #8B5CF6; } /* بنفش خلاق */

/* هدر */
.header {
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

/* نوبار */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #F9FAFB;
  height: 2px;
  width: 1.5rem;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #F9FAFB;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #06B6D4;
}

/* بنر */
.hero {
  min-height: 100vh;
  background: url('fsw.jpg') no-repeat center;
  display: flex;
  align-items: center;
  padding-top: 5rem; /* فاصله از نوبار */
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.2rem;
  color: #F9FAFB;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #06B6D4, #10B981);
  color: #F9FAFB;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* درباره */
.about {
  padding: 4rem 0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ویژگی‌ها */
.features {
  padding: 4rem 0;
  background-color: #F3F4F6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 1rem;
  color: #4B5563;
}

/* فوتر */
.footer {
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  color: #F9FAFB;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-link, .social-icon {
  color: #F9FAFB;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.footer-link:hover, .social-icon:hover {
  color: #8B5CF6;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
}

/* ریسپانسیو */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-text {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 0.5rem 0;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #1E3A8A;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .hero {
    min-height: 80vh;
    padding-top: 4rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .about, .features {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-text {
    font-size: 0.9rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }
}