/* آیکون شبکه‌های اجتماعی */
.social-icon {
  color: #e5e7eb;
  transition: color .2s ease, transform .2s ease;
}
.social-icon:hover {
  transform: translateY(-2px);
}
.social-icon.telegram:hover {
  color: #229ED9;
}
.social-icon.instagram:hover {
  color: #E1306C;
}
.social-icon.linkedin:hover {
  color: #0077B5;
}

/* دکمه پشتیبانی */
.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s ease;
}
.support-btn:hover {
  transform: translateY(-2px);
}
.support-btn.telegram {
  background: #229ED9;
}
.support-btn.whatsapp {
  background: #25D366;
}
.support-btn .icon {
  width: 20px;
  height: 20px;
}

/* افکت برای دکمه‌های ساده */
a.border {
  transition: all 0.2s ease-in-out;
}
a.border:hover {
  background-color: #f3f4f6;
}

/* انیمیشن بخش سوالات */
.faq-item .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item[open] .content {
  max-height: 600px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
  animation-delay: var(--delay, 0ms);
  opacity: 0;
}

// ارسال فرم با تاییدیه ظاهری (فقط نمایشی)
document.getElementById('contactForm').addEventListener('submit', function(e) {
  e.preventDefault(); // جلوگیری از ارسال واقعی فرم

  // نمایش پیام موفقیت
  const message = document.getElementById('successMessage');
  message.classList.remove('hidden');

  // پاک کردن فرم بعد از 1.5 ثانیه
  setTimeout(() => {
    this.reset();
    message.classList.add('hidden');
  }, 2500);
});
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0%;
  height: 2px;
  background-color: #3B82F6; /* آبی Tailwind */
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #3B82F6;
}

.nav-link:hover::after {
  width: 100%;
}
.social-icon-footer {
  font-size: 1.5rem;
  color: #d1d5db; /* text-gray-300 */
  transition: all 0.3s ease;
}
.social-icon-footer:hover {
  color: #3B82F6; /* رنگ آبی تم */
  transform: scale(1.2) translateY(-3px);
}
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-load {
  animation: slideFadeIn 0.8s ease forwards;
  will-change: transform, opacity;
  opacity: 0;
}

.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.custom-select {
  width: 100%;
  background-color: rgba(31, 41, 55, 0.7); /* bg-gray-800/70 */
  border: 1px solid #374151; /* border-gray-700 */
  color: #e5e7eb; /* text-gray-200 */
  border-radius: 0.75rem;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='gray' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 1.25rem;
  transition: all 0.3s ease-in-out;
}

.custom-select:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.custom-select option {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.custom-select option:hover {
  background-color: #3B82F6;
  color: white;
}

.custom-select option[disabled] {
  color: #9ca3af;
}
