@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: #0d1117;
  color: #e4e6eb;
}

/* Hero / عنوان صفحه */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0;
  color: #1e90ff;
}

.hero p {
  font-size: 1.2rem;
  color: #c0c0c0;
}

.title-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.title-with-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50px;
  transition: transform 0.5s ease;
}
.title-with-logo img:hover {
  transform: rotate(5deg) scale(1.05);
}

/* کل بخش تماس */
.contact-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #111827, #1f2937);
  text-align: center;
  min-height: 100vh;
}

/* عکس بالای کارت‌ها */
.contact-image img {
  width: 500px;
  background-color: rgb(255, 255, 255);
  border-radius: 50px;
  border: 2px solid #1f2a38;
  margin-bottom: 40px;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.contact-image img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* کارت‌ها */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
}

.contact-card {
  flex: 1 1 200px;
  max-width: 250px;
  background: linear-gradient(135deg, #1f2937, #111827);
  border-radius: 15px;
  padding: 25px 20px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #1e90ff;
}

.contact-card p,
.contact-card a {
  font-size: 1rem;
  color: #c0c0c0;
  text-decoration: none;
}

.contact-card a:hover {
  color: #1e90ff;
}

/* دکمه بازگشت */
.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) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    max-width: 90%;
    width: 75%;
    max-height: 100px;
  }

  .contact-image img {
    width: 270px !important;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .contact-image img {
    width: 100px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-card p,
  .contact-card a {
    font-size: 0.95rem;
  }

  .back-button a {
    padding: 10px 20px;
  }
}
