 .job-card {
      display: flex;
      background-color: #fff;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
      max-width: 1000px;
      margin: auto;
      transition: transform 0.3s ease;
  margin-bottom: 120px;
    }

    .job-card:hover {
      transform: translateY(-5px);
    }

    .job-image {
      flex: 1 1 40%;
      max-width: 350px;
      order: 2; /* لجعل الصورة يسارًا */
    }

    .job-image img {
      width: 100%;
      object-fit: cover;
      position: relative;
  top: 20%;
    }

    .job-content {
      flex: 1 1 60%;
      padding: 25px 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: start;
    }

    .job-content h2 {
      margin: 0 0 15px;
      color: #d62828;
      font-size: 24px;
    }

    .job-content ul {
      list-style: none;
      padding: 0;
      margin: 0 0 15px;
    }


    .job-content li {
      margin: 5px 0;
      font-size: 16px;
    }

    .job-content p {
      margin: 8px 0;
      font-size: 16px;
      line-height: 1.6;
    }

    .contact-box {
      margin-top: 15px;
      background: #f1f1f1;
      padding: 15px;
      border-radius: 10px;
      font-size: 15px;
    }

    .contact-box a {
      color: #007bff;
      text-decoration: none;
    }

    .apply-btn {
      margin-top: 20px;
      align-self: flex-start;
      background-color: #007bff;
      color: #fff;
      padding: 12px 20px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .apply-btn:hover {
      background-color: #0056b3;
    }

    @media (max-width: 768px) {
      .job-card {
        flex-direction: column;
      }

      .job-image {
        max-width: 100%;
        order: 0;
      }

      .apply-btn {
        align-self: center;
      }
    }