:root {
    --primary-bg: #27a39b;
    /* --navbar-bg: #1f7e77; */
    --text-white: #ffffff;
    --text-dark: #0a3442;
    --text-muted: #666;
    --text-hover: #dcdcdc;
    --gradient-start: #d95eff;
    --gradient-end: #5e8bff;
    --heading-color: #0A3442;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --bg-light: #eafaf8;
    --card-bg: linear-gradient(180deg, #dff6f3, #038378);
    --radius: 20px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Zain', sans-serif;
  }
  
  body {
    background-color: #ffffff;
    direction: rtl;
  }
  
  .hero {
    /* background-color: var(--primary-bg); */
    padding: 20px;
    color: var(--text-white);
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .logo {
    height: 50px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar .nav-links li a {
    color: #093443; /* اللون الطبيعي */
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
  }
  
  .nav-links li a {
    color: #093443 ;
  }
  
  .nav-links li a:hover {
    color: #33A5A0 ;
  }
  
  
  .nav-links li a:hover {
    color: #33A5A0;
    text-decoration: none; 
    border-bottom: none;   
  }
  
  .menu-toggle {
    display: none;
    font-size: 38px;
    background: none;
    color: var(--heading-color);
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 101;
  }
  
  .cta-button {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    color: var(--text-white);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background: white !important;
    color: var(--gradient-start);
    border: 1px solid var(--gradient-start);
  }
  
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    flex-wrap: wrap;
  }
  
  .hero-text {
    color: var(--text-white);
    max-width: 40%;
  }
  
  .hero-text h1 {
    color: var(--heading-color);
    font-size: 3.5rem;
    margin-bottom: 10px;
  }
  
  .hero-text p {
    font-size: 1.5rem;
    line-height: 1.8;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .hero-image {
    margin-top: 0;
    padding: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      position: relative;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: var(--navbar-bg);
      width: 100%;
      padding: 15px 20px;
      border-radius: 8px;
      box-shadow: 0 4px 10px var(--shadow-color);
      margin-top: 10px;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links li {
      margin: 10px 0;
    }
  
    .cta-button {
      margin-top: 10px;
      align-self: center;
      font-size: 1rem;
      width: 50%;
      text-align: center;
      padding: 12px;
      border-radius: 15px;
    }
  }

  .consultation-container {
    display: flex;
    flex-direction: row-reverse; /* ده المهم عشان الصورة تبقى يمين */
    align-items: center;
    justify-content: space-between;
    padding: 30px 10% 60px; /* قللنا المسافة من فوق */
    background-color: white;
    flex-wrap: wrap;
  }
  
  .image-section {
    position: relative;
    flex: 1 1 45%;
    display: flex;
     
    align-items: center;
    
  }
  
  .image-section img {
    width: 400px;
    height: 430px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* position: relative; */
    transform: translateX(50px);
    transform: translate(50px, 60px); /* يمين 50px، وتحت 40px */

    z-index: 2;
    object-fit: cover;
    /* margin-right: 1px; */
  }
  
  .green-box {
    width: 300px;
    height: 720px;
    background-color: #33A5A0;
    position: absolute;
    border-radius: 10px;
    top: 70%;
    left: 200px;
    transform: translateY(-50%);
   
    z-index: 1;
  }
  
  .text-section {
    flex: 1 1 45%;
    color: var(--heading-color);
    padding-left: 30px;
    text-align: right;
  }
  
  .text-section h3 {
    font-size: 40px;
    color: #093443;
    margin-bottom: 30px;
  }
  
  .text-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #33A5A0;
  }
  
  .text-section p {
    font-size: 28px;
    line-height: 1.8;
    color: #093443;
    margin-bottom: 30px;
  }
  
  
  
  @media (max-width: 768px) {
    .consultation-container {
      flex-direction: column;
      padding: 40px 20px;
      text-align: center;
    }
  
    .text-section,
    .image-section {
      flex: 1 1 100%;
      padding: 0;
    }
  
    .green-box {
      display: none;
    }
  
    .footer-text {
      font-size: 40px;
    }
  }
  
  @media (max-width: 768px) {
    .consultation-container {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
    }
  
    .text-section, .image-section {
      flex: 1 1 100%;
    }
  
    .green-box {
      display: none;
    }
  
    .footer-text {
      font-size: 40px;
    }
  }


  .services-section {
    padding: 60px 10%;
    background-color: #ffffff;
    text-align: center;
  }
  
  .services-title {
    font-size: 42px;
    transform: translateY(-120px);
    margin-bottom: 80px;
    margin-left: 130px;
    color: var(--heading-color);
  }
  
  .services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;       /* مهم عشان z-index يشتغل */
    z-index: 3; 
    margin-top: -120px; 
    margin-right: 180px;
    direction: rtl;               /* عشان تكون البداية من اليمين */
    flex-direction: row-reverse; 
  }
  
  .service-card {
    /* background: var(--card-bg); */
    border-radius: var(--radius);
    padding: 30px 20px;
    width: 200px;
    height: 270px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  
  
  
  .service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .service-card h4 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
  }
  
  .service-card p {
    font-size: 16px;
    color: #f1f1f1;
    line-height: 1.6;
  }
  
  
  .booking-form {
    background-color: #3CD2DB24; /* الخلفية السماوية الشفافة */
    border: 1px solid #33A5A0;   /* البوردر المطلوب */
    padding: 30px 40px;
    border-radius: 8px;
     width: 650px;
     height: 500px;
    margin: 80px auto 40px; /* المسافة من فوق وتحت */
    text-align: right;
    font-family: 'Zain', sans-serif;
    position: relative;
  }
  
  .booking-title {
    background-color: white;
    color: #33A5A0;
    font-weight: bold;
    font-size: 22px;
    padding: 10px 20px;
    border: 1px solid #33A5A0;
    border-radius: 6px;
    display: inline-block;
    position: absolute;
    top: -25px;
    right: 255px;
  }
  
  form {
    margin-top: 30px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .form-group-row .form-group {
    flex: 1 1 45%;
  }
  
  .booking-form label {
    display: block;
    margin-bottom: 8px;
    color: #093443;
    font-weight: 700;
    font-size: 36px !important;
  }
  
  input,
  select {
    width: 100%;
    padding: 10px;
    border: 1px solid #33A5A0;
    border-radius: 6px;
    background-color: white;
    font-family: zain;
    font-size: 15px;
    box-sizing: border-box;
  }
  
  .submit-button {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: white;
    border: 2px solid #0A3442;
    color: #093443;
    font-weight: 400;
    font-size: 24px;
    margin-right: 110px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 160px;
    height: 60px;
  }
  
  .submit-button:hover {
    background-color: #0A3442;
    color: white;
    border-color: #33A5A0;
  }
  





  .form-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .form-group label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #093443;
    font-size: 18px;
  }
  
  select {
    padding: 10px;
    border: 1px solid #33A5A0;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
  }
  
  .time-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  



  .form-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    margin-left: 150px;
    gap: 20px; /* المسافة بينهم */
    direction: rtl; /* علشان الترتيب يبقى صح بالعربي */
  }
  
  .duration-info {
    text-align: right;
  }
  
  .duration-title {
    color: #093443;
    font-weight: 700;
    margin: 0;
    font-size: 16px;
  }
  
  .duration-time {
    color: #33A5A0;
    font-weight: 700;
    margin: 0;
    font-size: 16px;
  }
  













     /* Footer */
     footer {
        width: 100%;
        background-color: #0e3e46;
        color: white;
        padding: 40px 0 0;
        box-sizing: border-box;
      }
      
      .footer-top {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
      }
      
      .footer-column {
        flex: 1 1 200px;
        min-width: 220px;
      }
      
      .footer-column h3 {
        color: #3db8a9;
        font-size: 1.2rem;
        margin-bottom: 15px;
      }
      
      .footer-column p,
      .footer-column a {
        font-size: 0.95rem;
        color: white;
        text-decoration: none;
        margin-bottom: 10px;
        display: block;
      }
      
      .footer-column a:hover {
        text-decoration: none;
        color: orange;
      }
      
      .footer-logo-text {
        font-size: 0.95rem;
      }
      
      .section h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
      }
      
      .section .icon {
        width: 80px;
        height: 80px;
      }
      
      .social-icons img {
        width: 30px;
        height: 30px;
      }
      
      .footer-bottom {
        background-color: #36b7a9;
        color: #fff;
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
      }
      
      .footer-left, .footer-right {
        display: flex;
        align-items: center;
      }
      
      .footer-left {
        justify-content: flex-start;
      }
      
      .footer-right {
        justify-content: flex-end;
      }
      
      .footer-bottom a {
        color: orange;
        font-weight: bold;
        text-decoration: none;
      }
      
      .social-icons img:hover {
        border-radius: 50%;
        background-color: #038378;
      }
      
      .footer-column i {
        margin-left: 8px;
        color: #3db8a9;
        transition: color 0.3s ease;
      }
      
      .footer-column a {
        color: white;
        text-decoration: none; /* نلغي الخط تحت النص */
        transition: color 0.3s ease;
      }
      
      .footer-column a:hover {
        color: #FFC300; /* تغيير اللون فقط عند الوقوف */
        text-decoration: none; /* نتأكد إنه مفيش خط */
      }
      
      
      
      @media (max-width: 768px) {
        .footer-top {
          flex-direction: column;
          align-items: center;
          text-align: center;
        }
      
        .footer-column {
          min-width: 100%;
        }
      
        .social-icons {
          justify-content: center;
        }
      }

      /* الموبايلات */
@media (max-width: 767px) {
  .booking-form {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .booking-title {
    font-size: 18px;
    right: 50%;
    transform: translateX(50%);
  }

  .submit-button {
    margin-right: 0;
    width: 100%;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    gap: 10px;
  }
}

/* التابلت */
@media (min-width: 768px) and (max-width: 1024px) {
  .booking-form {
    width: 80%;
    height: auto;
    padding: 30px;
  }

  .booking-title {
    font-size: 20px;
    right: 20px;
  }

  .submit-button {
    width: auto;
  }

  .form-footer {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* الشاشات الكبيرة */
@media (min-width: 1025px) {
  .booking-form {
    width: 60%;
  }

  .booking-title {
    font-size: 22px;
  }
}