@font-face {
  font-family: Sahel;
  src: url(fonts/webfonts/sahel-font-v1.0.0-alpha14/Sahel.woff);
}
body {
  margin: 0;
  font-family: Sahel;
  background-color: #0f172a;
  color: #e4e6eb;
}

/* Hero */
.hero {
  text-align: center;
  padding: 50px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #c0c0c0;
}

/* کارت معرفی */
.about-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1f2937, #111827);
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1000px;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.about-text {
  flex: 1 1 400px;
  padding: 0 20px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1e90ff;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-image {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 390px;
  border-radius: 12px;
  border: 2px solid #1f2a38;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.back-button a {
  display: inline-block;
  padding: 12px 25px;
  background: #1e90ff;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.back-button a:hover {
  background: #1565c0;
  transform: translateY(-3px);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .about-image img {
    width: 200px;
  }

  .about-text {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-image img {
    width: 150px;
  }
}
