  .team-hero {
      position: relative;
      padding: 140px 0 80px;
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
      color: var(--white-color);
      margin-top: 0px;
      text-align: center;
      overflow: hidden;
  }

  .team-hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: -1;
      /* animation: zoomInOut 20s infinite alternate; */
  }

  @keyframes zoomInOut {
      0% {
          transform: scale(1);
      }

      100% {
          transform: scale(1.1);
      }
  }

  .team-hero-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 1rem;
  }

  .team-hero-title {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      animation: fadeInUp 1s ease-out;
  }

  .team-hero-subtitle {
      font-size: 1.3rem;
      margin-bottom: 2rem;
      opacity: 0.9;
      line-height: 1.6;
      animation: fadeInUp 1s ease-out 0.3s both;
  }

  /* فیلتر تیم */
  .team-filter-section {
      background: var(--white-color);
      padding: 2rem 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 3rem;
  }
  .cta-actions {
    gap: 1.5rem;
  }

  .filter-container {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
  }

  .filter-btn {
      padding: 0.75rem 1.5rem;
      background: transparent;
      border: 2px solid var(--primary-color);
      color: var(--primary-color);
      border-radius: 2rem;
      cursor: pointer;
      transition:background 0.3s ease, color 0.3s ease;
      font-weight: 600;
  }

  .filter-btn:hover,
  .filter-btn.active {
      background: var(--primary-color);
      color: var(--white-color);
  }

  /* trainers section  */
  .trainers-section {
      padding: 5rem 0;
      background: var(--background-light);
  }

  .trainers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
  }

  .trainer-card {
      background: var(--white-color);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--shadow-light);
      transition:  transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      position: relative;
      border: 1px solid var(--gray-light-color);
  }

  .trainer-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-large);
  }

  .trainer-image {
      height: 300px;
      overflow: hidden;
      position: relative;
  }

  .trainer-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;

  }

  .trainer-card:hover .trainer-image img {
      transform: scale(1.05);
  }

  .trainer-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 71, 87, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .trainer-card:hover .trainer-overlay {
      opacity: 1;
  }

  .trainer-social {
      display: flex;
      gap: 1rem;
  }

  .social-link {
      width: 50px;
      height: 50px;
      background: var(--white-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-color);
      text-decoration: none;
      transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  }

  .social-link:hover {
      transform: scale(1.1);
      background: var(--text-dark);
      color: var(--white-color);
  }

  .trainer-info {
      padding: 2rem;
  }

  .trainer-name {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-dark);
  }

  .trainer-position {
      color: var(--primary-color);
      font-weight: 600;
      margin-bottom: 1rem;
      display: block;
  }

  .trainer-experience {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 1.5rem;
      padding: 1rem 0;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
  }

  .experience-item {
      text-align: center;
  }

  .experience-number {
      display: block;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary-color);
      line-height: 1;
  }

  .experience-label {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 0.25rem;
  }

  .trainer-skills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
      margin-bottom: 1.5rem;
  }

  .skill-tag {
      background: var(--background-light);
      color: var(--text-muted);
      padding: 0.5rem 1rem;
      border-radius: 2rem;
      font-size: 0.8rem;
      font-weight: 600;
  }

  .trainer-bio {
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 1.5rem;
      text-align: justify;
  }

  /* بخش کارکنان */
  .staff-section {
      padding: 5rem 0;
      background: var(--white-color);
  }

  .staff-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
  }

  .staff-card {
      background: var(--background-light);
      border-radius: 1rem;
      padding: 2rem;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--gray-light-color);
  }

  .staff-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-light);
  }

  .staff-avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto 1.5rem;
      border: 4px solid var(--primary-color);
  }

  .staff-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .staff-name {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-dark);
  }

  .staff-role {
      color: var(--primary-color);
      font-weight: 600;
      margin-bottom: 1rem;
      display: block;
  }

  .staff-contact {
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid #eee;
  }

  .contact-info-staff {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
  }

  .contact-item-staff {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--text-muted);
      font-size: 0.9rem;
  }

  .contact-item-staff i {
      color: var(--primary-color);
      width: 16px;
  }

  /* بخش افتخارات تیم */
  .achievements-section {
      padding: 5rem 0;
      background: var(--background-light);
  }

  .achievements-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
  }

  .achievement-item {
      background: var(--white-color);
      border-radius: 1rem;
      padding: 2rem;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .achievement-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-light);
  }

  .achievement-icon {
      width: 70px;
      height: 70px;
      background: var(--primary-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
  }

  .achievement-icon i {
      color: var(--white-color);
      font-size: 1.8rem;
  }

  .achievement-number {
      display: block;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary-color);
      line-height: 1;
      margin-bottom: 0.5rem;
  }

  .achievement-text {
      color: var(--text-muted);
      font-size: 0.9rem;
  }

  /* بخش استخدام */
  .career-section {
      padding: 5rem 0;
      background: var(--white-color);
  }

  .career-content {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
  }

  .career-features {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin: 3rem 0;
  }

  .career-feature {
      text-align: center;
      padding: 2rem;
  }

  .feature-icon {
      width: 80px;
      height: 80px;
      background: var(--primary-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
  }

  .feature-icon i {
      color: var(--white-color);
      font-size: 2rem;
  }

  .feature-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text-dark);
  }

  .feature-description {
      color: var(--text-muted);
      line-height: 1.6;
  }

  /* CTA */
  .team-cta {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      color: var(--white-color);
      padding: 5rem 0;
      text-align: center;
  }

  .cta-title {
      font-size: 2.5rem;
      margin-bottom: 1rem;
  }

  .cta-description {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      opacity: 0.9;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
  }
/* ===== Contact Section Styles ===== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info Styles */
.contact-info {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Contact Form Styles */
.contact-form {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Contact Page Specific Styles */
.contact-page {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100dvh;
}

.contact-page h1 {
    text-align: center;
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form States */
.contact-form input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
}

.contact-form input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #28a745;
}

/* Loading State */
.contact-form button.loading {
    position: relative;
    color: transparent;
}

.contact-form button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--white-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #c3e6cb;
}

/* Error Message */
.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-page h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .contact-page {
        padding: 80px 0 60px;
    }
     .career-features {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 2rem;
      margin: 3rem 0;
  }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-page h1 {
        font-size: 2rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-section {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
    
    .contact-info,
    .contact-form {
        background: var(--dark-bg);
        color: var(--white-color);
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        background: #374151;
        border-color: #4b5563;
        color: var(--white-color);
    }
    
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        background: #4b5563;
        border-color: var(--primary-color);
    }
}

/* Print Styles */
@media print {
    .contact-section {
        background: none !important;
    }
    
    .contact-info,
    .contact-form {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
}
  /* انیمیشن‌ها */
  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* ریسپانسیو */
  @media (max-width: 768px) {
      .team-hero-title {
          font-size: 2.5rem;
      }

      .trainers-grid {
          grid-template-columns: 1fr;
      }

      .staff-grid {
          grid-template-columns: repeat(1, 1fr);
      }

      .achievements-grid {
          grid-template-columns: repeat(2, 1fr);
      }

      .cta-title {
          font-size: 2rem;
      }
  }

  @media (max-width: 480px) {
      .staff-grid {
          grid-template-columns: 1fr;
      }

      .achievements-grid {
          grid-template-columns: 1fr;
      }

      .filter-container {
          flex-direction: column;
          align-items: center;
      }

      .filter-btn {
          width: 100%;
          max-width: 200px;
      }

      .trainer-experience {
          flex-direction: column;
          gap: 1rem;
      }
  }