#footer {
  position: relative; /* برای ::before */
  width: 100%;
  min-height: 300px;
  background-color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden; /* جلوگیری از بیرون زدن افکت */
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 5px; /* ضخامت کادر */
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
  
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  
  pointer-events: none;
  z-index: 0;
}


#footer {
  background: #ffffff;
  color: #000000;
  padding: 50px 20px 20px;
  direction: rtl;
  font-family: "IRANSans", sans-serif;
  text-align: center;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-item {
  line-height: 1.9;
}

.footer-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #000000;
  text-align: center;
}

.footer-item ul {
  list-style: none;
  padding: 0;
}

.footer-item ul li {
  margin-bottom: 10px;
}

.footer-item a {
  text-decoration: none;
  text-align: center;
  color: #4c4c4c;

  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.footer-item a:hover {
  color: #b026ff;
}

.footer-item .icon {
  width: 30px;
  height: 30px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.enamad {
  width: 100px;
  border-radius: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 14px;
  color: #464646;
}



.footer * {
  color: #000;
}


/* ریسپانسیو موبایل */
@media screen and (max-width: 768px) {
  .footer {
    flex-direction: column;
    height: auto;
  }

  .footer_item {
    width: 100%;
  }
}
