/* ===================================================
   تماس بین‌المللی - International Contact
   طراحی مدرن و خلاقانه با استانداردهای جهانی
   =================================================== */

/* Base Styles */
.international-contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
  }
  
  .international-contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 80% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 20% 70%, rgba(69, 183, 209, 0.05) 0%, transparent 50%);
    pointer-events: none;
  }
  
  /* Contact Wrapper */
  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 60px;
  }
  
  @media (max-width: 992px) {
    .contact-wrapper {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }
  
  /* Contact Info Section */
  .contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  }
  
  .contact-info-header {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .contact-info-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .contact-info-header p {
    color: #666;
    font-size: 0.95rem;
  }
  
  /* Contact Methods */
  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .contact-method-link {
    text-decoration: none;
    color: inherit;
  }
  
  .contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .contact-method:hover {
    transform: translateY(-3px);
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
  }
  
  .method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .method-content {
    flex: 1;
  }
  
  .method-content h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
  }
  
  .method-content p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
  }
  
  .method-detail {
    display: block;
    font-size: 0.95rem;
    color: #667eea;
    font-weight: 600;
  }
  
  /* Contact Social */
  .contact-social {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .contact-social h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .social-icon:hover {
    transform: translateY(-3px) scale(1.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%); }
  
  /* Contact Map */
  .contact-map {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .map-container {
    width: 100%;
    height: 100%;
  }
  
  .map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 250px;
  }
  
  .map-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .map-info i {
    color: #667eea;
    font-size: 1.2rem;
  }
  
  .map-info h5 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 5px;
  }
  
  .map-info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
  }
  
  /* Contact Form Section */
  .contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
  }
  
  .form-header {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .form-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .form-header p {
    color: #666;
    font-size: 0.95rem;
  }
  
  /* Form Styles */
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Vazir', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  }
  
  .form-group input.error,
  .form-group textarea.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
  }
  
  .form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  @media (max-width: 768px) {
    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }
  
  /* Form Footer */
  .form-footer {
    margin-top: 30px;
  }
  
  .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Vazir', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  }
  
  .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
  }
  
  .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
  }
  
  .form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
  }
  
  .form-note a {
    color: #667eea;
    text-decoration: none;
  }
  
  .form-note a:hover {
    text-decoration: underline;
  }
  
  /* Success Message */
  .form-success {
    text-align: center;
    padding: 30px;
    display: none;
  }
  
  .form-success.show {
    display: block;
  }
  
  .success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
  }
  
  .form-success h4 {
    color: #333;
    margin-bottom: 10px;
  }
  
  .form-success p {
    color: #666;
    line-height: 1.6;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .contact-info-card,
  .contact-form-card,
  .contact-map {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  
  .contact-info-card { animation-delay: 0.1s; }
  .contact-form-card { animation-delay: 0.2s; }
  .contact-map { animation-delay: 0.3s; }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .contact-wrapper {
      gap: 30px;
    }
    
    .contact-form-card {
      padding: 30px;
    }
  }
  
  @media (max-width: 992px) {
    .international-contact {
      padding: 70px 0;
    }
    
    .contact-info-section {
      order: 2;
    }
    
    .contact-form-section {
      order: 1;
    }
    
    .contact-map {
      height: 250px;
    }
  }
  
  @media (max-width: 768px) {
    .contact-info-card,
    .contact-form-card {
      padding: 25px;
    }
    
    .contact-method {
      padding: 15px;
    }
    
    .method-icon {
      width: 45px;
      height: 45px;
      font-size: 1.1rem;
    }
    
    .map-overlay {
      bottom: 10px;
      right: 10px;
      max-width: 200px;
    }
  }
  
  @media (max-width: 576px) {
    .international-contact {
      padding: 50px 0;
    }
    
    .contact-form-card {
      padding: 20px;
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 12px 14px;
    }
    
    .submit-btn {
      padding: 14px;
      font-size: 1rem;
    }
  }
  
  /* Dark Mode Support */
  @media (prefers-color-scheme: dark) {
    .international-contact {
      background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    }
    
    .contact-info-card,
    .contact-form-card {
      background: #1e1e1e;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }
    
    .contact-info-header h3,
    .form-header h3 {
      color: #fff;
    }
    
    .contact-info-header p,
    .form-header p {
      color: #aaa;
    }
    
    .contact-method {
      background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
      border-color: rgba(102, 126, 234, 0.2);
    }
    
    .method-content h4 {
      color: #fff;
    }
    
    .method-content p {
      color: #aaa;
    }
    
    .form-group label {
      color: #fff;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
      background: #252525;
      border-color: rgba(255, 255, 255, 0.1);
      color: #fff;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }
    
    .map-overlay {
      background: rgba(30, 30, 30, 0.95);
    }
    
    .map-info h5 {
      color: #fff;
    }
    
    .map-info p {
      color: #aaa;
    }
  }
  
  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    .contact-info-card,
    .contact-form-card,
    .contact-map,
    .contact-method,
    .social-icon,
    .submit-btn {
      animation: none;
      transition: none;
    }
    
    .contact-method:hover {
      transform: none;
    }
  }