        body {
            margin: 0;
            font-family: "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
            line-height: 1.6;
            background: #E2E2E2;
            direction: rtl;
            
            font-family: 'Cairo', sans-serif;
        }

        header {
          
            position: relative;
            height: 21.5rem;
            text-align: center;
            padding-top: 1rem;
            background: url('img/Group.png') no-repeat center center/cover;
        }

        header h1 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            margin: 0;
            text-align: center;
            font-size: 3rem;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
      width: 93%;

            max-width: 93%;
            margin: auto;
      /* يمين - وسط - يسار */
      margin: auto;
      /* توسيط المحتوى */
        }

        nav {
            padding: 0.2rem 1rem;
            display: flex;
            justify-content: center;
            position: relative;
        }

        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 1rem;
        }

        nav a {
            color: #C8A23F;
            text-decoration: none;
            font-weight: 500;
        }

        nav a:hover {
            color: white;
        }

        header nav a.active {
            color: rgb(255, 255, 255);
            font-weight: 600;
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.8rem;
            color: #C8A23F;
        }

        main {
            max-width: 90%;
            margin: 2rem auto;
            padding: 0 1rem;
        }
         logo {
           height: 100px;
           
        }
        
        section {
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            gap: 30px;
        }

        section img {
            max-width: 100%;
            border-radius: 8px;
            display: block;
            margin: 1rem auto;
        }

        .text {
            flex: 1;
            padding: 00px;
        }

        h1 {
            font-size: 40px;
            color: #C8A23F;
            /* 2D2F5C */
            font-weight: bold;
          }

        h2 {
            font-size: 28px;
            color: #000000;
            font-weight: normal;
        }

        p {
            font-size: 18px;
            color: #000000;
            line-height: 1.6;
        
          }

        .image {
            flex: 1;
        }

        .image img {
            width: 300px;
            height: auto;
            display: block;
            border-radius: 8px;
            border-style: solid;
            border-color: #C8A23F;
        }

        .small-image img {
            width: 25rem;
            height: 30rem;
            display: block;
            border-style: solid;
            border-color: #C8A23F;
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
            border-bottom-right-radius: 30px;
            border-bottom-left-radius: 170px;
        }

        .flat-image img {
            width: 30rem;
            height: 16rem;
            display: block;
            border-style: solid;
            border-color: #C8A23F;
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
            border-bottom-right-radius: 30px;
            border-bottom-left-radius: 30px;
        }

         .rectangl-image img {
            width: 20rem;
            height: 25rem;
            display: block;
            border-style: solid;
            border-color: #C8A23F;
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
            border-bottom-right-radius: 30px;
            border-bottom-left-radius: 30px;
        }

        .half-sqare-image img {
        width: 20rem;
        height: 20rem;
       display: block;
            border-style: solid;
            border-color: #C8A23F;
 border-top-left-radius: 30px;
      border-top-right-radius: 30px;
      border-bottom-right-radius: 30px;
      border-bottom-left-radius: 170px; 
    }
      
        .circle-image {
            width: 350px;
            height: 350px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
            margin-top: 10rem;
            border-color: #C8A23F;
            border-style: solid;
        }

        .small-circle-image {
            width: 8.5rem;
            height: 4rem;
            object-fit: cover;
            display: block;
            margin-left: 1rem;
            margin-right: 1rem;
        }
.second-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem 4rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }


        
        /* الأهداف */
        .second-goals-container {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 2rem 4rem;
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
        }
        .goals-container {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 0rem 0rem;
            max-width: 100%;
            padding: 0px;
            margin: 0 auto;
        }

        .foure-goals-container {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 3rem 3rem;
            max-width: 93%;
            margin: 0 auto;
        }

 .steps-container {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 2rem 4rem;
      max-width: 100%;
      margin-left: 2.2rem;
      margin-right: 3rem;
    }
    .arch-container {
      
    }

        .goal-item {
            display: flex;
            align-items: center;
            max-width: 100%;
        }
.line-item {
            display: flex;
            align-items: center;
                border-radius: 30px;
                padding-left: 2rem;
                 padding-right: 2rem;

      border-right: 8px solid #C8A23F;
      box-sizing: border-box;
        }
        /* الشبكات */
        .grid-container {
           
 display: grid;
 justify-self: center;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 90%;
        }

        .grid-container2 {
           
 display: grid;
 justify-self: center;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 80%;
        }

        .grid-small-item {
            border-radius: 16px;
            padding: 2px;
            box-sizing: border-box;
        }

        .grid-small-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 10px;
        }

        .grid-big-item {
            border-radius: 66px;
            padding: 2px;
            box-sizing: border-box;
            margin-right: 20px;
        }

        .grid-big-item img {
            width: 100%;
            height: 480px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 10px;
            box-shadow: 20px 14px 20px rgba(0, 0, 0, 0.486);
        }
 .grid-squr {
            border-radius: 16px;
            padding: 2px;
            box-sizing: border-box;
        }

        .grid-squr img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 25px 25px 1px 1px;
            border-color: #C8A23F;
            border-style: solid;
            margin-bottom: 10px;
        }
         .grid-squr p  {
                      padding-left: 1rem;
                      padding-right: 1rem;

         }
         .grid-squr h2  {
                    padding-left: 1rem;
                      padding-right: 1rem;
         }
.grid-long {
            border-radius: 16px;
            padding: 2px;
            box-sizing: border-box;
        }

        .grid-long img {
            width: 100%;
            height: 400px;
            object-fit: fill;
            border-radius: 25px 25px 1px 1px;
            border-color: #C8A23F;
            border-style: solid;
            margin-bottom: 10px;
        }
 .grid-virtcl {
            border-radius: 66px;
            padding: 2px;
            box-sizing: border-box;
        }

        .grid-virtcl img {
            width: 80%;
            height: 450px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 10px;
            margin-top: 20px;
            box-shadow: 20px 14px 20px rgba(0, 0, 0, 0.486);
        }
 .tow-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, auto);
            gap: 20px;
        }

        .tow-item {
            display: flex;
            align-items: center;
            border-radius: 8px;
        }
        /* الأخبار */
        .news-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .news-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
        }

        .news-media {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .news-content {
            padding: 15px;
        }

        .news-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #C8A23F;
        }

        .news-desc {
            font-size: 14px;
            color: #555;
            margin-bottom: 10px;
            display: -webkit-box;
           
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-date {
            font-size: 12px;
            color: #888;
        }

        /* تبديل اللغة */
        .lang-toggle {
           width: 0%;
            background-color:none;
            padding: 0rem;
            font-size: 1rem;
            border: none;
            border-radius: 0px;
            cursor: pointer;
            transition: 0.3s;
            font-family: inherit;
            /* يجعل الزر عنصر بلوك */
            margin: 0 auto;
            background: none;
            color: #C8A23F;
            border: none;
            cursor: pointer;
        }
         /* زر القائمة للموبايل */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: #C8A23F;
            font-size: 24px;
            cursor: pointer;
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        /* المحتوى متعدد اللغات */
        .lang-content {
            display: none;
        }

        .lang-content.ar {
            display: block;
        }

        .lang-content.en {
            display: none;
        }

        body.en .lang-content.ar {
            display: none;
        }

        body.en .lang-content.en {
            display: block;
        }

        body.en {
            direction: ltr;
        }


        

        /* الفوتر */
        footer {
            color: #C8A23F;
            padding: 20px 0;
            margin-top: 7rem;
            height: 118px;
            width: 100%;
            background: url('img/Rectangl54.png') no-repeat center center/cover;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 94%;
            margin: auto;
            margin-top: 40px;
        }

        footer nav ul {
            display: flex;
            gap: 20px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        footer nav a {
            text-decoration: none;
            color: #C8A23F;
            font-weight: 500;
        }

        footer nav a:hover {
            color: black;
        }

        .footer-logo img {
            max-height: 100px;
            height: 100px;
             border-radius:55%;
                       box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.373);

        }
        .Ffooter-logo img {
            max-height: 100px;
            height: 100px;
             border-radius:55%;
                       box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.373);

        }
 footer nav a.active {
  color: black;   /* أو أي لون تفضله */
  font-weight: 700;
}
        /* تحسينات عامة للصور */
        img {
            max-width: 100%;
            height: auto;
            object-fit: cover;
        }

        /* تحسينات للنصوص */
        .text {
            min-width: 300px;
        }

        section {
            flex-wrap: wrap;
        }
  .tow-item {
      display: flex;
      align-items: center;
      border-radius: 8px;
    }
     .line-image {
      height: 5rem;
      object-fit: cover;
      display: block;
      margin-right: -1rem;
      margin: 0.2rem;
    }
  .image {
      flex: 1;
    }

 
    .circle-image {
      width: 350px;
      height: 350px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      border-color: #C8A23F;
      border-style: solid;
    }

   .small-circle-image {
            width: 4rem;
            height: 4rem;
            object-fit: cover;
            display: block;
            margin-left: 1rem;
            margin-right: 1rem;
        }

    
    .sqare-image img {
        width: 20rem;
        height: 20rem;
        display: block;
        border-style: solid;
        border-color: #C8A23F;
        border-radius: 20px;
    }
        .news-media-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            overflow: hidden;
        }

        .news-media-placeholder {
            width: 100%;
            height: 100%;
            background: #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #C8A23F;
            font-size: 3rem;
            
        }
        a.custom-link {
  color:  #C8A23F;         /* اللون الافتراضي */
  text-decoration: none; /* لو ما تبي تحته خط */
}

a.custom-link:hover {
  color: black;       /* اللون عند التمرير */
}


.container {
  display: flex;
  gap: 20px;              /* مسافة بين القسمين */
  align-items: flex-start; /* المحاذاة العلوية */
}



.locationBox {
         width: 340px;
          height: 340px;
          border-style: solid; border-color: #C8A23F; border-radius: 20px;
        }

 form {
      max-width: 500px;
      margin: auto;
      padding: 25px 25px;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.224);
    }





    form input[type="text"],
    form select,
    form input[type="file"] {
      width: 100%;
      padding: 10px;
      margin-top: 8px;
      border-radius: 6px;
      border: 1px solid #C8A23F;
      box-sizing: border-box;
      font-size: 16px;
      background-color: none;
      /* لون خلفية جديد */
      color: #495057;
      /* لون النص */
    }

    form button {
      margin-top: 25px;
      width: 40%;
      background-color: #C8A23F;
      color: white;
      font-weight: 700;
      padding: 12px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    form button:hover {
      background-color: #a7a6a6ff;
    }

    .message {
      margin-top: 20px;
      padding: 12px;
      border-radius: 6px;
      font-weight: 600;
      font-size: small;
      text-align: center;
    }

    .error {
      background-color: #e74c3c;
      color: white;
    }

    .success {
      background-color: #27ae60;
      color: white;
    }

    .status-box {
      max-width: 500px;
      margin: 15px auto;
      padding: 15px 20px;
      border-radius: 8px;
      font-weight: 600;
      text-align: center;
      color: white;
    }





 /* أنماط قسم الأخبار*/
    .ministry-updates-section {
      padding: 3rem 0;
    }

   


    /* شبكة الأخبار الحديثة */
    .modern-news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 2rem;
      padding: 0 0rem;
    }

    .modern-news-card {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
      cursor: pointer;
    }

    .modern-news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .card-media-wrapper {
      position: relative;
      height: 220px;
      overflow: hidden;
    }

    .news-media {
      width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0; /* إضافة هذه السطر */
    }

    .modern-news-card:hover .news-media {
      transform: scale(1.05);
    }

    .media-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    }

    .news-badge {
      position: absolute;
      top: 15px;
      left: 0px;
      background: #C8A23F;
      color: white;
      padding: 5px 12px;
      border-top-right-radius: 20px;
      border-bottom-right-radius: 20px;
      font-size: 0.8rem;
      font-weight: bold;
      z-index: 2;
    }

    .card-body {
      padding: 1.5rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      
    }

    .news-content {
      margin-bottom: 1.5rem;
      flex-grow: 1;
    }

    .news-title {
      color: #C8A23F;
      font-size: 1.25rem;
      margin-bottom: 0.75rem;
      line-height: 1.4;
    }

    .news-excerpt {
      color: #666;
      font-size: 0.95rem;
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
       max-height: 70px;
    }

    .news-footer {
      display: flex;      justify-content: space-between;
      align-items: center;
      margin-top: auto;
    }

    .news-date {
      color: #7f8c8d;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .read-more-btn {
      color: #C8A23F;
      font-weight: 600;
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .read-more-btn:hover {
      color: #a78a3a;
      text-decoration: underline;
    }

    /* رسالة عدم وجود أخبار */
    .no-news-message {
      text-align: center;
      padding: 3rem;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      max-width: 600px;
      margin: 0 auto;
    }

    .message-icon {
      font-size: 3rem;
      color: #C8A23F;
      margin-bottom: 1.5rem;
    }

    .no-news-message h3 {
      color: #2c3e50;
      margin-bottom: 0.5rem;
    }

    .no-news-message p {
      color: #7f8c8d;
      margin-bottom: 0;
    }








.password-change-container {
      max-width: 500px;
      margin: 2rem auto;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .form-title {
      color: #C8A23F;
      text-align: center;
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
    }

    .row {
      display: flex;
      gap: 10px;
      /* مسافة بين الحقول */
      margin-bottom: 15px;
      /* مسافة تحت الصف */
    }/* مجموعات الإدخال */
    .form-group {
      display: flex;
      flex-direction: column;
      flex: 1;
      /* الحقول تأخذ نفس العرض */
    }

    .input-with-icon {
      position: relative;
    }

    .input-with-icon i {
      position: absolute;
      top: 50%;
      right: 15px;
      transform: translateY(-50%);
      color: #C8A23F;
    }

    .form-input {
      width: 80%;
      padding: 12px 40px 12px 15px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
      transition: all 0.3s;
      background-color: #f9f9f9;
    }

    .form-input:focus {
      border-color: #C8A23F;
      box-shadow: 0 0 0 3px rgba(200, 162, 63, 0.2);
      outline: none;
    }

    /* مقياس قوة كلمة المرور */
    .password-strength-meter {
      height: 5px;
      background-color: #f0f0f0;
      border-radius: 3px;
      margin-top: 5px;
      overflow: hidden;
    }

    .strength-bar {
      height: 100%;
      width: 0;
      background-color: #e74c3c;
      transition: width 0.3s, background-color 0.3s;
    }

    /* زر الإرسال */
    .submit-btn {
      background-color: #C8A23F;
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
      width: 100%;
      transition: background-color 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .submit-btn:hover {
      background-color: #b38e35;
    }

    /* رسائل التنبيه */
    .message {
      padding: 12px 15px;
      border-radius: 6px;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .message.error {
      background-color: #ffebee;
      color: #c62828;
      border-left: 4px solid #c62828;
    }

    .message.success {
      background-color: #e8f5e9;
      color: #2e7d32;
      border-left: 4px solid #2e7d32;
    }

    
.requests-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


.empty-requests {
  text-align: center;
  padding: 2rem;
  background: #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-requests i {
  font-size: 3rem;
  color: #C8A23F;
  margin-bottom: 1rem;
}

.empty-requests p {
  color: #666;
  font-size: 1.1rem;
}

/* أنماط الجدول */
.responsive-table {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 1rem;
}

.requests-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.requests-table thead th {
  background-color: #c8a13f;
  color: white;
  padding: 12px 15px;
  text-align: right;
  font-weight: 600;
}

.requests-table tbody tr {
  border-bottom: 1px solid #eee;
  height: 10px;
  transition: background-color 0.3s;
}

.requests-table tbody tr:last-child {
  border-bottom: none;
}

.requests-table tbody tr:hover {
  background-color: #d6d6d6ff;

}

.requests-table td {
  padding: 12px 15px;
  color: #555;
}

/* أنماط الروابط */
.file-link {
   display: inline-block;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 80px;
  text-align: center;
  color: #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  text-decoration: none;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.file-link:hover {
  color: #C8A23F;
  text-decoration: underline;
}

.file-link i {
  font-size: 0.9rem;
}

.no-file {
  color: #999;
  font-style: italic;
}

/* أنماط حالات الطلب */
.status-cell {
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 80px;
  text-align: center;
}

.status-pending .status-badge {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #C8A23F;
}

.status-approved .status-badge {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2aae49;
}

.status-rejected .status-badge {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #721C24;
}









        .register-container {
            background-color: #f0f0f0;
             margin-top: 3rem;
             margin-bottom: 3rem;

            padding: 4rem;
            border-radius: 15px;
            border: 2px solid #C8A23F;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 400px;
            justify-self: center;
        }


        label {
            display: block;
            margin-bottom: 0.3rem;
            font-weight: bold;
            color: #C8A23F;
        }

        input {
            width: 93%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 1rem;
            transition: 0.3s;
        }

        input:focus {
            border-color: #C8A23F;
            box-shadow: 0 0 5px rgba(167, 126, 62, 0.5);
            outline: none;
        }

        button {
            width: 90%;
            background-color: #C8A23F;
            color: white;
            padding: 0.8rem;
            font-size: 1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: 0.3s;
            font-family: inherit;
            display: block;
            /* يجعل الزر عنصر بلوك */
            margin: 0 auto;
            /* يوسّط الزر أفقيًا */
        }

        button:hover {
            background-color: #8f6d33;
        }

        .login-link {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.9rem;
        }

        .login-link a {
            color: #C8A23F;
            text-decoration: none;
            font-weight: bold;
        }

        .login-link a:hover {
            text-decoration: underline;
        }
        









 /* تنسيق الجوال - سيظهر فقط على الشاشات الصغيرة */
        .mobile-steps {
            display: none;
        }
        
        .mobile-step {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .step-image-part {
            flex: 0 0 100px;
            height: 100px;
            background-color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: bold;
        }
        
        .step-content {
            flex: 1;
            padding: 15px;
            text-align: center;
            justify-content: center;
             align-items: center;
            justify-content: center;
        }
        
        .step-content h3 {
            color: var(--primary-color);
            margin-bottom: 8px;
            font-size: 17px;
            font-weight: bold
        }
          .full-width-image {
            width: 100%;
            margin: 0 auto 30px;
            text-align: center;
        }


        
      
        
        .code-container {
            background: #2c3e50;
            color: white;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
            direction: ltr;
            overflow-x: auto;
        }
  
.social-icons a {
    color: #c8a23f; /* الذهبي */
    font-size: 18px; /* حجم الأيقونات */
    margin: 0 10px; /* مسافة بين الأيقونات */
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #b58b2d; /* لون ذهبي أدكن عند المرور */
}

.phone-link {
    font-size: 18px; /* حجم النص */
    color: #c8a23f;  /* ذهبي */
}

.phone-link i {
    margin-right: 8px;
}

/* تنسيق خطوات الجوال */
.mobile-step {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    overflow: hidden;
}

.step-image-part {
    flex: 0 0 100px;
    height: 100px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.step-content {
    flex: 1;
    padding: 15px;
}
        
        .code-container h3 {
            margin-bottom: 15px;
            color: #fff;
        }
        
        pre {
            white-space: pre-wrap;
            font-family: 'Courier New', monospace;
            line-height: 1.5;
        }


        /* استعلامات الوسائط - جميعها مجمعة معًا */
       
      












        
       /* رسائل التنبيه */
       /* رسائل التنبيه */
       /* رسائل التنبيه */
       /* رسائل التنبيه */
      /* رسائل التنبيه */
  .message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    border: 1px solid transparent;
  }

  .message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
  }

  .message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
  }

  .message.warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
  }

  /* علامة الحقول المطلوبة */
  label[for]:after {
    content: " *";
    color: red;
  }






.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}




  
    @media (max-width: 768px) {



      /* إظهار العنصر على الهاتف فقط */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }



           header {
  background: none;
  background-color: #2D2F5C;
  border: 2px solid #C8A23F;
  border-top-color: #2D2F5C;
  
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
box-shadow: 0 8px 6px -3px rgba(0, 0, 0, 0.31);

  width: 95%;       /* عرض أقل من الشاشة */
  height: 180px;

  margin: 0 auto;   /* يخلي العنصر يتوسّط أفقياً */
}

             header nav a.active {
                            color: #000;

        }
             main {
            max-width: 100%;
            margin: 2rem auto;
            padding: 0 1rem;
        }

            header h1 {
              margin-top: 3.5rem;
                font-size: 20px;
            }
            
            nav {
                justify-content: center;
            }

            .menu-toggle {
             
                display: block;
            }

           header nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 50px;
                width: 10rem;
                 right: 2rem;
                 left: 2rem;
                background: #E2E2E2;
                padding: 1rem;
                border-radius: 8px;
                text-align: center;
                z-index: 999;
            }

            nav ul.active {
                display: flex;
            }

            .mobile-menu-btn {
                display: block;
            }

            .goals-container {
                grid-template-columns: repeat(1, 1fr);
              width: 100%;
            }

            h1 {
                font-size: 32px;
            }

            h2 {
                font-size: 22px;
            }

            p {
                font-size: 16px;
            }
            
        section {
                    
           

                flex-direction: column;
                gap: 0px;
            margin-bottom: 2rem;
            padding: 0px;


            display: flex;
            align-items: center;
            }

            .image img, .small-image img {
                width: 90%;
                max-width: 500px;
                margin: 0 auto;
            }

            .circle-image {
                width: 250px;
                height: 250px;
                margin-top: 0rem;

            }
             .flat-image img {
            width: 90%;
                        justify-self: center;

          }
              .steps-container {
        display: none; /* إخفاء التنسيق الأصلي */
    }
    .arch-container {
        display: none; /* إخفاء التنسيق الأصلي */
    }
    
    .full-width-image {
        display: none; /* إخفاء الصورة الكبيرة */
    }
    
    .mobile-steps {
        display: block; /* إظهار تنسيق الجوال */
    }
     .mobile-step {
                flex-direction: column;
            }
            
            .step-image-part {
                width: 100%;
                flex: 0 0 60px;
                height: 100px;
            } .register-container {
           
            width: 80%;
            padding: 0rem;
           
        }
           
            
            .full-width-image {
                display: none;
            }
            
            .mobile-steps {
                display: block;
            }
            
            .goal-item {
                min-width: 100%;
                margin-bottom: 0px;
                margin-right: -25px;
            }
            .second-goals-container {
        grid-template-columns: 1fr;
        gap: 0rem;
            margin: 0 auto;
            padding: 0px;
    }
    .locationBox {
         width: 90%;
          height: 340px;
          border-style: solid; border-color: #C8A23F; border-radius: 20px;
        }
    .goal-item {
        /* إزالة flex-direction: column; */
        flex-direction: row; /* هذه القيمة هي الافتراضية */
        padding: 0px;
    }
      .line-item {
        /* إزالة flex-direction: column; */
        flex-direction: row; /* هذه القيمة هي الافتراضية */
        padding-left: 2rem;
        padding-right: 2rem;
    }
  
  .requests-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}
  .grid-virtcl img {
            width: 100%;
  }
    .second-goals-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem; /* تقليل المسافة */
    }
     form {
      width: 80%;
      border-radius: 10px;
      box-shadow: none;
    }
     form button {
      width: 90%;
    }
    .container {
       align-items: center;
            justify-content: space-between;
    flex-direction: column-reverse; /* يخلي القسم الأول تحت الثاني */
  }
          .second-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem 4rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

footer {
            
            
            padding-bottom: 40px;

            background: none;
             border: 2px solid #C8A23F;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
box-shadow: 0 8px 6px -3px rgba(0, 0, 0, 0.31);
width: 95%;       /* عرض أقل من الشاشة */
  height: 425px;

  margin: 0 auto;   /* يخلي العنصر يتوسّط أفقياً */
        }
        

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 90%;
            margin: auto;
            margin-top: 40px;
        }

        .footer-logo img {
            max-height: 110px;
            height: 110px;
        }

        .Ffooter-logo img {
            max-height: 80px;
            height: 80px;
        }
        .goals-container {
                grid-template-columns: 1fr;
            }


             .grid-container {
                       grid-template-columns: repeat(1, 1fr);
        }
        .grid-container2 {
                       grid-template-columns: repeat(1, 1fr);
        }

       footer nav ul {

                flex-direction: column;
                position: absolute;
                top: -30px;
              
                text-align: center;
         
                
                width: 10rem;
                justify-self: center;
                padding: 1rem;
                border-radius: 8px;
                text-align: center;
                z-index: 999;
            }   }

         
          
          

            .news-container {
                grid-template-columns: 1fr;
            }

            .small-image img {
                height: auto;
            }

            .circle-image {
                width: 200px;
                height: 200px;
            }
            .sqare-image img {
        width: 100%;
        height: 22rem;
        
   
      }











    