/* پایه */
body {
font-family: 'Vazir', 'Segoe UI', 'Roboto', 'Tahoma', sans-serif;
  background-color: #F9FBFF;
  color: #373A50;
  line-height: 1.9;
  scroll-behavior: smooth;
  transition: all 0.3s ease-in-out;
}

h1, h2 {
  font-weight: bold;
  margin-bottom: 1rem;
}

ul {
  list-style: square;
  padding-right: 1.5rem;
}

a {
  color: #2A86FE;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D4AF37;
}

/* هدر */
.header {
  background: linear-gradient(90deg, #2A86FE, #1F3C88);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  animation: fadeInDown 1s ease-out;
}

.header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.header p {
  font-size: 1.2rem;
}

/* بخش‌ها */
.section {
  padding: 4rem 1rem;
  animation: fadeInUp 1s ease-out;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  color: #2A86FE;
  border-bottom: 2px solid #D4AF37;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* تصویر تیم */
.team-photo {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.team-photo:hover {
  transform: scale(1.03);
}

/* فوتر */
.footer {
  background-color: #373A50;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

/* دکمه زبان در آینده */
.language-switch {
  padding: 1rem;
  text-align: center;
}
.language-switch button {
  background-color: #2A86FE;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  margin: 0 0.4rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.language-switch button:hover {
  background-color: #1F3C88;
}

/* انیمیشن‌ها */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  .section {
    padding: 2rem 1rem;
  }
  .team-photo {
    width: 100%;
  }
}

