/* AIMachineLearning.css */
.aiml-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    font-family:Vazirmatn, 'Segoe UI', 'Roboto', 'IranSans', Tahoma, sans-serif;
    direction: rtl;
  }
  
  /* ===== هدر ===== */
  .aiml-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .aiml-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  
  .aiml-title {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 16px;
  }
  
  .aiml-subtitle {
    font-size: 1.2rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .aiml-subtitle strong {
    color: #8b5cf6;
  }
  
  /* ===== آمار اعتماد ===== */
  .trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 30px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 28px;
    color: white;
  }
  
  .trust-stat {
    text-align: center;
  }
  
  .trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #c084fc;
  }
  
  .trust-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 8px;
  }
  
  /* ===== بخش‌های عمومی ===== */
  .section-container {
    margin: 60px 0;
    padding: 20px 0;
  }
  
  .alternate-bg {
    background: #f1f5f9;
    border-radius: 32px;
    padding: 40px;
    margin: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    color: black !important;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    
  }
  
  .title-icon {
    font-size: 1.8rem;
   
  }
  
  .white-title {
    color: white !important;
  }
  
  /* ===== کارت‌های چالش ===== */
  .challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .challenge-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2ff;
  }
  
  .challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(139, 92, 246, 0.15);
    border-color: #c084fc;
  }
  
  .challenge-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  
  .challenge-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
  }
  
  .challenge-solution {
    font-size: 0.9rem;
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .challenge-impact {
    font-size: 0.85rem;
    color: #475569;
    padding-top: 12px;
    border-top: 1px solid #eef2ff;
  }
  
  .impact-badge {
    font-weight: 600;
    color: #0f172a;
  }
  
  /* ===== کارت‌های موارد استفاده ===== */
  .usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }
  
  .usecase-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .usecase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  .usecase-header {
    margin-bottom: 16px;
  }
  
  .usecase-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
  }
  
  .usecase-industry {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
  }
  
  .usecase-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
  }
  
  .app-tag {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #475569;
  }
  
  .usecase-result {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8b5cf6;
    padding-top: 12px;
    border-top: 1px solid #eef2ff;
  }
  
  /* ===== فرآیند اعتماد ===== */
  .trust-process {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .process-step {
    display: flex;
    gap: 20px;
    position: relative;
    margin-bottom: 30px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .process-content {
    flex: 1;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .process-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #0f172a;
  }
  
  .process-desc {
    font-size: 0.9rem;
    color: #475569;
    margin: 0 0 10px 0;
    line-height: 1.5;
  }
  
  .process-duration {
    font-size: 0.7rem;
    color: #8b5cf6;
    background: #f3e8ff;
    padding: 3px 10px;
    border-radius: 20px;
  }
  
  .process-connector {
    position: absolute;
    right: 24px;
    top: 55px;
    font-size: 1rem;
    color: #cbd5e1;
  }
  
  /* آخرین آیتم خط ندارد */
  .process-step:last-child .process-connector {
    display: none;
  }
  
  /* ===== باورپذیری (Trust Builders) ===== */
  .trust-builders {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 32px;
    padding: 50px 40px;
    margin: 60px 0;
  }
  
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
  }
  
  .trust-item {
    text-align: center;
    color: white;
    padding: 20px;
  }
  
  .trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  
  .trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .trust-item p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
  }
  
  /* ===== CTA ===== */
  .aiml-cta {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    color: white;
  }
  
  .cta-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  
  .cta-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-button {
    background: white;
    color: #6d28d9;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;



   
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  
  /* ===== ریسپانسیو ===== */
  @media (max-width: 768px) {
    .aiml-container {
      padding: 40px 16px;
    }
    
    .aiml-title {
      font-size: 1.8rem;
    }
    
    .aiml-subtitle {
      font-size: 1rem;
    }
    
    .trust-stats {
      gap: 25px;
      padding: 20px;
    }
    
    .trust-number {
      font-size: 1.8rem;
    }
    
    .section-title {
      font-size: 1.4rem;
    }
    
    .challenges-grid {
      grid-template-columns: 1fr;
    }
    
    .usecases-grid {
      grid-template-columns: 1fr;
    }
    
    .process-step {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .process-number {
      margin-bottom: 10px;
    }
    
    .process-connector {
      display: none;
    }
    
    .trust-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .aiml-cta {
      padding: 35px 20px;
    }
    
    .cta-content h3 {
      font-size: 1.3rem;
    }
  }
  
  @media (max-width: 480px) {
    .trust-stats {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    
    .alternate-bg {
      padding: 25px;
    }
  }