  /* Footer Styles */
  
/* تنظیمات کلی برای اطمینان از چسبیدن فوتر */
html {
  height: 100%;
}

body {
  margin: 0; /* حذف margin پیش‌فرض */
  min-height: 100%; /* حداقل ارتفاع برابر با کل صفحه */
  display: flex;
  flex-direction: column;
  padding-bottom: 0px !important; /* حذف padding-bottom در دسکتاپ */
}

/* اطمینان از اینکه محتوای اصلی فضای کافی را اشغال می‌کند */
main {
  flex: 1 0 auto; /* محتوای اصلی فضای باقی‌مانده را پر می‌کند */
}


  .footer-section {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%) !important;
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif !important;
    position: relative;
    overflow: hidden;
	  flex-shrink: 0; /* جلوگیری از کوچک شدن فوتر */
  margin-bottom: 0; /* حذف هرگونه حاشیه پایین */
  }

  .footer-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 10px !important;
  }

  .footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #0d6efd !important;
    bottom: 0;
    right: 0;
    transition: width 0.3s ease !important;
  }

  .footer-title:hover::after {
    width: 100px !important;
  }

  .footer-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: #d1d5db !important;
    margin-bottom: 0 !important;
  }

  .footer-links li {
    margin-bottom: 10px !important;
  }

  .footer-links a {
    font-size: 0.95rem !important;
    color: #d1d5db !important;
    text-decoration: none !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
  }

  .footer-links a:hover {
    color: #0d6efd !important;
    transform: translateX(-5px) !important;
  }

  .social-icons a {
    font-size: 1.5rem !important;
    color: #ffffff !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
  }

  .social-icons a:hover {
    color: #0d6efd !important;
    transform: scale(1.2) !important;
  }

  .footer-divider {
    border-color: rgba(255, 255, 255, 0.2) !important;
    margin: 2rem 0 !important;
  }
  
  .bi2 { 
    color: #ffffff;
}

  .footer-copyright {
    font-size: 0.85rem !important;
    color: #9ca3af !important;
  }
/* Mobile Navigation Styles */
.mobile-nav {
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e5e7eb;
  padding: 12px 0;
  height: 70px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.nav-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 8px;
}

.nav-item {
  flex: 1;
  text-align: center;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link i {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd;
  transform: scale(1.1);
}

/* Footer Image Styling */
.footer-section .d-flex.flex-column.gap-2 img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

/* Plus Button Styling */
.nav-item-plus {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-link-plus {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  color: #ffffff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(124, 58, 237, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle Pulse Effect */
.nav-link-plus::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
  }
  70% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.nav-link-plus:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #3b0764 100%) !important;
  transform: translateY(-14px);
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.5), 0 3px 6px rgba(0, 0, 0, 0.2);
}

.nav-link-plus i {
  font-size: 1.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.nav-link-plus:hover i {
     background: linear-gradient(135deg, #6d28d9 0%, #3b0764 100%) !important;
    color: #ffffff !important;
  transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }

  .nav-list {
    padding: 0 5px;
  }

  .nav-link-plus {
    width: 48px;
    height: 48px;
    transform: translateY(-10px);
  }

  .nav-link-plus i {
    font-size: 1.7rem;
  }

  .nav-link-plus:hover {
    transform: translateY(-12px);
  }

  .nav-link-plus::before {
    width: 60px;
    height: 60px;
  }

  .container1 {
    margin-bottom: 80px;
  }
}

@media (max-width: 400px) {
  body {
    padding-bottom: 90px;
  }

  .mobile-nav {
    height: 70px;
  }

  .nav-link {
    font-size: 0.65rem;
  }

  .nav-link i {
    font-size: 1.1rem;
  }

  .nav-link-plus {
    width: 42px;
    height: 42px;
    transform: translateY(-8px);
  }

  .nav-link-plus i {
    font-size: 1.6rem;
  }

  .nav-link-plus:hover {
    transform: translateY(-10px);
  }

  .nav-link-plus::before {
    width: 50px;
    height: 50px;
  }

  .container1 {
    margin-bottom: 80px;
  }
}

/* Ensure consistent container margin across larger screens */
@media (max-width: 992px) {
  .container1 {
    margin-bottom: 80px;
  }
}