/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Tahoma, sans-serif;
  background: #f4f5f7;
  direction: rtl;
  color: #333;
}



/* ================= HEADER ================= */
.header {
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  width: 250px; /* اندازه لوگو در لپ‌تاپ */
  height: auto;
  object-fit: contain;
}

/* Nav */
.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    justify-content:space-between ; 
  }
  .nav {
    margin-top: 10px;
    justify-content: center; /* منو هم وسط */
    gap: 20px;
  }
  .logo img {
    width: 200px; /* لوگو کوچکتر در موبایل */
  }
  .nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}
}

/* ================= HERO ================= */
.hero {
  background: #34495e;
  color: white;
  text-align: center;
  padding: 50px 15px;
}

/* =====================
   محتوای راهنما
===================== */
.module-selection-guide {
  background-color: #ffffff;
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.module-selection-guide h2 {
  color: #1e40af;
  font-size: 28px;
  text-align: center;
  margin-bottom: 35px;
}

.module-selection-guide p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 18px;
  text-align: justify;
}

/* هایلایت پاراگراف‌های مهم */
.module-selection-guide p:nth-child(odd) {
  background-color: #f0f7ff;
  padding: 15px;
  border-right: 5px solid #2563eb;
  border-radius: 8px;
}



/* ===== Footer ===== */
.footer {
  background: #111827;
  color: #fff;
  padding: 30px 20px 15px;
  font-family: 'Vazirmatn', sans-serif;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #4bc6ff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}


/* ===== Footer Logo ===== */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* پیش‌فرض برای لپ‌تاپ */
  gap: 1px;
}

.footer-logo img {
  width: 250px; /* اندازه لوگو در لپ‌تاپ */
  height: auto;
  object-fit: contain;
  display: inline-block;
}

/* ===== Footer Info ===== */
.footer-info p {
  margin: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== Footer Social ===== */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social i {
  font-size: 22px;
  transition: transform 0.3s, color 0.3s;
}

.footer-social i:hover {
  color: #ff6b6b;
  transform: scale(1.3);
}

/* ===== Footer Responsive ===== */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center; /* همه آیتم‌ها در مرکز */
    gap: 15px;
  }

  .footer-logo {
    justify-content: center; /* لوگو در وسط */
    gap: 0; /* متن که حذف شده نیازی به فاصله نیست */
  }

  .footer-logo img {
    width: 200px; /* لوگو کوچکتر در موبایل */
  }

  .footer-info {
    text-align: center; /* متن‌ها هم وسط چین شوند */
  }

  .footer-info p {
    font-size: 13px;
  }

  .footer-social {
    justify-content: center; /* آیکون‌ها هم وسط چین */
    margin-top: 10px;
  }
}



.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {

  .footer-social {
    margin-top: 10px;
  }
}

