
/* استایل کلی برای کل فوتر */
.footer-hero {
  position: relative;
  width: 100%;
  /* اگر بخواهید کل footer-hero یک بک‌گراند داشته باشد، اینجا تنظیم کنید */
}

/* بخش اول فوتر (محتوای اصلی) */
.footer-contain {
  background-color: #303030; /* سبز اصلی */
  color: #ffffff; /* متن سفید */
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.footer-contain h2 {
  font-family: 'entezar';
  margin-bottom: 15px; /* فاصله زیر عنوان */
  font-size: 2.3em; /* اندازه عنوان */
}

.footer-contain p {
  font-family: 'yekanm';
  color: #d1d1d1;
  margin: 10px 0;
  letter-spacing: 0.5px;
  font-size: 1em;
}

/* بخش دوم فوتر (لینک طراح) */
.designer {
  background-color: #e2e2e2; /* یک رنگ روشن برای تمایز، مثلاً خاکستری روشن */
  border-top: 2px solid  #7a7a7a;
  color: #343a40; /* رنگ متن تیره */
  padding: 20px 0;
  text-align: center;
  padding: 5px;
}

.designer-link {
  margin: 10px 0;
  font-size: 1em; /* کمی کوچک‌تر از متن اصلی */
}

.designer-link h3 {
  direction: ltr;
}
.designer-link a {
  font-family: 'babylon';
  color: #b4081d; /* قرمز تیره برای لینک */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  direction: rtl;
}

.designer-link a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin: 0 auto;
  background: #ff0000; /* خط قرمز زیر لینک */
  transition: width 0.3s ease;
  bottom: 0;
}

.designer-link a:hover {
  color: #ffffff; /* رنگ متن سفید در هاور */
  text-shadow: 0 0 5px rgba(0,0,0,0.2); /* سایه برای هاور */
}

.designer-link a:hover::after {
  width: 100%;
}

/* استایل‌های Responsive (همانند قبل) */
@media (max-width: 768px) {
  .footer-contain {
    padding: 20px 0;
  }
  .footer-contain h2 {
    font-size: 1.5em;
  }
  .designer {
    padding: 15px 0;
  }
  .designer-link {
    font-size: 0.9em;
  }
}
