/* ==================================================
   فوتر بین‌المللی - International Quality Footer
   طراحی حرفه‌ای با استانداردهای جهانی
   ================================================== */

/* Reset and Base Styles */
.international-footer {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #fff;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Vazir', 'Roboto', 'Segoe UI', Arial, sans-serif;
  }
  
  .international-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
      #ff6b6b 0%, 
      #4ecdc4 25%, 
      #45b7d1 50%, 
      #96ceb4 75%, 
      #ffeaa7 100%
    );
    z-index: 1;
  }
  
  .footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Footer Main Content */
  .footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column {
    padding: 0 15px;
  }
  
  .footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #fff;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    border-radius: 2px;
  }
  
  /* About Section */
  .footer-about p {
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: justify;
  }
  
  .brand-highlight {
    color: #4ecdc4;
    font-weight: 600;
  }
  
  /* Quick Links */
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
  }
  
  .footer-links li:hover {
    transform: translateX(-5px);
  }
  
  .footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
  }
  
  .footer-links a:hover {
    color: #4ecdc4;
    padding-right: 10px;
  }
  
  .footer-links i {
    margin-left: 10px;
    font-size: 0.8rem;
    color: #4ecdc4;
  }
  
  /* Contact Info */
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    color: #b0b0b0;
  }
  
  .contact-icon {
    background: rgba(78, 205, 196, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    color: #4ecdc4;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }
  
  .contact-item:hover .contact-icon {
    background: rgba(78, 205, 196, 0.2);
    transform: scale(1.1);
  }
  
  .contact-info {
    flex: 1;
  }
  
  .contact-info h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
  }
  
  .contact-info p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  .contact-info a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-info a:hover {
    color: #4ecdc4;
  }
  
  /* Newsletter */
  .newsletter-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .newsletter-form p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #fff;
    font-family: 'Vazir', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .newsletter-input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.2);
  }
  
  .newsletter-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Vazir', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
  }
  
  .newsletter-privacy {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
  }
  
  .newsletter-privacy a {
    color: #4ecdc4;
    text-decoration: none;
  }
  
  /* Social Media */
  .social-section {
    margin-top: 25px;
  }
  
  .social-title {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
  }
  
  .social-icon:hover::before {
    transform: scale(1);
  }
  
  .social-icon i {
    position: relative;
    z-index: 1;
  }
  
  .social-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00b2ff 100%);
  }
  
  .social-icon.eitaa {
    background: linear-gradient(135deg, #00b894 0%, #00d8a7 100%);
  }
  
  .social-icon.rubika {
    background: linear-gradient(135deg, #6c5ce7 0%, #8a7cff 100%);
  }
  
  .social-icon.shad {
    background: linear-gradient(135deg, #fd79a8 0%, #ff9ac1 100%);
  }
  
  .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Footer Bottom */
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
  }
  
  .copyright {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .copyright a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
  }
  
  .footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
  }
  
  .footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: #4ecdc4;
    transition: width 0.3s ease;
  }
  
  .footer-bottom-links a:hover {
    color: #4ecdc4;
  }
  
  .footer-bottom-links a:hover::after {
    width: 100%;
  }
  
  .credits {
    color: #666;
    font-size: 0.8rem;
    margin-top: 10px;
  }
  
  .credits a {
    color: #4ecdc4;
    text-decoration: none;
  }
  
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.4);
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .footer-column {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  
  .footer-column:nth-child(1) { animation-delay: 0.1s; }
  .footer-column:nth-child(2) { animation-delay: 0.2s; }
  .footer-column:nth-child(3) { animation-delay: 0.3s; }
  .footer-column:nth-child(4) { animation-delay: 0.4s; }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .international-footer {
      padding: 50px 0 20px;
    }
    
    .footer-main {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-main {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .footer-column {
      padding: 0;
    }
    
    .newsletter-input-group {
      flex-direction: column;
    }
    
    .newsletter-btn {
      width: 100%;
    }
    
    .social-icons {
      justify-content: center;
    }
    
    .footer-bottom-links {
      flex-direction: column;
      gap: 10px;
    }
  }
  
  @media (max-width: 576px) {
    .international-footer {
      padding: 40px 0 20px;
    }
    
    .footer-title {
      font-size: 1.2rem;
    }
    
    .contact-item {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .contact-icon {
      margin-left: 0;
      margin-bottom: 10px;
    }
    
    .back-to-top {
      left: 20px;
      bottom: 20px;
      width: 45px;
      height: 45px;
      font-size: 1rem;
    }
  }
  
  /* Dark Mode Support */
  @media (prefers-color-scheme: dark) {
    .international-footer {
      background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    }
  }
  
  /* Print Styles */
  @media print {
    .international-footer {
      display: none;
    }
  }
  
  /* High Contrast Mode */
  @media (prefers-contrast: high) {
    .international-footer {
      background: #000;
      border-top: 3px solid #4ecdc4;
    }
    
    .footer-title {
      color: #fff;
    }
    
    .contact-info a,
    .footer-links a {
      color: #4ecdc4;
    }
  }
  
  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    .footer-column,
    .back-to-top,
    .social-icon,
    .contact-item,
    .footer-links li {
      animation: none;
      transition: none;
    }
  }