.services-page {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(17, 17, 17, 0.2) 50%, 
        rgba(0, 0, 0, 0.2) 100%),
        url('/static/image/about.png') center/cover no-repeat;    color: white;
    padding: 60px 40px; /* ← زوّد padding من 20 إلى 40 */
    line-height: 1.8;
}

.services-page header {
    margin-bottom: 40px;
    text-align: right;
    margin-right: 40px; /* ← كانت 20 زودناها 20 بكسل */
}

.services-page header h1 {
    font-size: 2.6rem;
    position: relative;
    display: inline-block;
}

.services-page header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #dcce0f;
    margin: 10px auto 0;
    border-radius: 2px;
}

.services-page header p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-top: 10px;
}

.intro {
    max-width: 1000px;
    margin-bottom: 40px;
    text-align: right;
    margin-right: 40px; /* ← زودناها */
    color: #e0e0e0;
    font-size: 1.1rem;
}

.services {
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto 40px;
}

.service {
background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(17, 17, 17, 0.5) 50%, 
        rgba(0, 0, 0, 0.5) 100%);   
    padding-right: 50px; /* ← أضفنا مساحة داخلية من اليمين */
    border-radius: 15px;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: 0.3s ease-in-out;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.service h3 {
    color: #dcce0f;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.service ul {
    list-style: disc;
    padding-right: 40px; /* ← زودنا المسافة داخل القائمة */
}

.service li {
    color: #dcdcdc;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.cta {
    text-align: right;
    margin-right: 40px; /* ← زودناها */
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #dcce0f;
}

.cta a {
    background-color: #dcce0f;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta a:hover {
    background-color: #b7ab07;
}


    .consultation {
 background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(17, 17, 17, 0.2) 50%, 
        rgba(0, 0, 0, 0.2) 100%),
        url('/static/image/about.png') center/cover no-repeat;    
        color: white;       
        padding: 60px 20px;
        text-align: right;
        direction: rtl;
    }

    .consultation-form {
        max-width: 700px;
        margin: auto;
        background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(17, 17, 17, 0.5) 50%, 
        rgba(0, 0, 0, 0.5) 100%);          padding: 40px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .form-header h2 {
        font-size: 2rem;
        color: #dcce0f;
        margin-bottom: 10px;
    }

    .form-header p {
        font-size: 1.1rem;
        color: #cccccc;
        margin-bottom: 30px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #f0f0f0;
        font-weight: bold;
    }

    .form-control {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: none;
        background-color: #2a2a2a;
        color: white;
        font-size: 1rem;
    }

    .form-control::placeholder {
        color: #aaa;
    }

    .submit-btn {
        background-color: #dcce0f;
        color: #000;
        padding: 12px 25px;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: bold;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .submit-btn:hover {
        background-color: #b7ab07;
    }

    .success-message {
        display: none;
        margin-top: 30px;
        text-align: center;
        color: #00ff8c;
        background-color: #1d3124;
        padding: 25px;
        border-radius: 10px;
    }

    .success-message h3 {
        margin-bottom: 10px;
    }

  .contact-section {
    max-width: 800px;
    margin: 100px auto 50px;
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    direction: rtl;
    text-align: right;
  }

  .contact-section h2 {
    font-size: 28px;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .contact-section h4 {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 40px auto;
    gap: 15px 20px;
    align-items: center;
    font-size: 17px;
    color: #333;
    margin-bottom: 20px;
  }

  .contact-info i {
    font-size: 22px;
    color: #003366;
  }

  .contact-info a {
    color: #0066cc;
    text-decoration: none;
  }

  .contact-info a:hover {
    text-decoration: underline;
  }

  @media (max-width: 600px) {
    .contact-section {
      padding: 25px;
    }

    .contact-info {
      grid-template-columns: 100%;
    }

    .contact-info i {
      margin-bottom: -10px;
    }
  }

  @media (max-width: 500px) {

  .services-page {
    padding: 40px 20px;
    line-height: 1.6;
  }

  .services-page header {
    margin-right: 20px;
    text-align: center;
  }

  .services-page header h1 {
    font-size: 1.5rem;
  }

  .services-page header p {
    font-size: 1rem;
  }

  .intro {
    font-size: 1rem;
    margin-right: 20px;
    text-align: center;
  }

  .services {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .service {
    padding-right: 20px;
    max-width: 100%;
  }

  .service h3 {
    font-size: 1rem;
  }

  .service li {
    font-size: .8rem;
  }

  .service ul {
    padding-right: 20px;
  }

  .cta {
    margin-right: 20px;
    text-align: center;
  }

  .cta h2 {
    font-size: 1.2rem;
  }

  .cta a {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .consultation {
    padding: 40px 15px;
    text-align: center;
  }

  .consultation-form {
    padding: 30px 20px;
  }

  .form-header h2 {
    font-size: 1.2rem;
  }

  .form-header p {
    font-size: 1rem;
  }

  .form-control {
    font-size: 0.95rem;
    padding: 8px;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 10px 20px;
    flex-direction: column;
  }

  .success-message {
    font-size: 0.95rem;
  }

  .contact-section {
    margin: 60px 15px 30px;
    padding: 25px;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-section h4 {
    font-size: 1rem;
  }

  .contact-info {
    grid-template-columns: 100%;
    font-size: 0.95rem;
  }

  .contact-info i {
    font-size: 20px;
    margin-bottom: -5px;
  }
}
