:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #475569;
  --light-color: #f8fafc;
  --text-light: #e2e8f0;
  --text-lighter: #cbd5e1;
  --border-color: rgba(255, 255, 255, 0.15);
  --transition: all 0.3s ease;
}

.main-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--light-color);
  padding: 60px 20px 20px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
}

.logo-f {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--light-color);
  text-decoration: none;
  margin-bottom: 5px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: WHITE;
}

.footer-description {
  color: var(--light-color);
  line-height: 1.6;
  margin: 10px 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--light-color);
  transform: translateX(-5px);
}

.footer-col ul li a i {
  font-size: 0.7rem;
  transition: var(--transition);
}

.footer-col ul li a:hover i {
  transform: translateX(-3px);
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: var(--transition);
  font-size: 1.1rem;
}

.socials a:hover {
  background: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text span:first-child {
  font-size: 0.8rem;
  color: var(--text-lighter);
  margin-bottom: 3px;
}

.contact-text a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--light-color);
}

/* استایل‌های جدید برای تندیس ساده */
.tandis-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tandis-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tandis-img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  transition: var(--transition);
}

.tandis-img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* رسپانسیو */
@media (max-width: 1200px) {
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .tandis-col {
    grid-column: span 2;
    justify-self: center;
  }
}

@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .tandis-col {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 15px 15px;
  }
  
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .tandis-col {
    grid-column: span 2;
    justify-self: center;
  }
  
  .tandis-img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tandis-col {
    grid-column: span 1;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-col h6::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .logo-f {
    justify-content: center;
  }
  
  .socials {
    justify-content: center;
  }
  
  .tandis-img {
    width: 90px;
    height: 90px;
  }
}