
        /* أنماط مخصصة معدلة */
        body {
            font-family: 'Cairo', sans-serif;
            background-color: #f8f9fa;
        }

        /* تحسينات الفيديو */
        .hero-video {
            height: 70vh;
            min-height: 400px;
            overflow: hidden;
        }

        .hero-video video {
            object-fit: cover;
            width: 100%;
        }



        /* قسم المحتوى */
        .content-section {
            padding: 5rem 0;
        }


        .accordion-button::after {
  margin-left: 0 !important;
  margin-right: auto !important;
  order: 1;   /* keep it after the text */
}

        /* حركة طفو خفيفة للصورة */
        .animated-float {
            animation: float 4s ease-in-out infinite;
        }

        @keyframes  float {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }

            100% {
                transform: translateY(0px);
            }
        }




        /* وسائط الاستجابة */
        @media (max-width: 992px) {
            .hero-video {
                height: 50vh;
            }

            .featured-service img {
                height: 300px;
            }
        }

        @media (max-width: 768px) {
            .hero-video {
                height: 40vh;
                min-height: 300px;
            }

            .content-section,
            .cards-with-bg {
                padding: 3rem 0;
            }

            .featured-service img {
                height: 250px;
                margin-bottom: 1.5rem;
            }


        }

        @media (max-width: 576px) {
            .hero-video {
                height: 30vh;
                min-height: 250px;
            }

        }

        .cards-with-bg {
            position: relative;
            padding: 6rem 0;
            z-index: 1;
        }

        /* الاسئلة الشائعة */
        .accordion-button::after {
            content: '+';
            font-size: 1.5rem;
            transform: none !important;
            background-image: none !important;
            transition: transform 0.3s ease;
        }

        /* عند الفتح يتحول إلى "-" */
        .accordion-button:not(.collapsed)::after {
            content: '-';
        }

        .accordion-body {
            overflow: visible;
            max-height: none;
            padding: 1rem;
            background-color: #d7d8d8;



        }



        
    /* تنسيق القائمة الفرعية داخل قائمة */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        right: 100%;
        left: auto;
        margin-top: 0;
        margin-right: 0.1rem;
    }

    .dropdown-menu {
        min-width: 250px;
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: right !important;

    }

    .dropdown-item {
        padding: 8px 15px;
        transition: all 0.3s;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #F9C74F !important;
    }

    .active-link {
        font-weight: bold !important;
    }

    .active-link {

        padding-bottom: 4px;
        color: #F9C74F !important;
    }

    #navbar {
        background-color: transparent;
        /* شفاف في البداية */
        transition: background-color 0.3s ease;
        /* تأثير سلس عند التغيير */
        box-shadow: none !important;
        /* إزالة الظل في البداية */
    }

    #navbar.scrolled {
        background-color: #f8f9fa !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }



    nav#navbar a.nav-link,
    nav#navbar .form-check-label {
        color: white !important;

    }

    nav#navbar a.nav-link:hover,
    nav#navbar .form-check-label:hover {
        color: #F9C74F !important;
    }

    /* للأيقونة في الشاشات الصغيرة */
    .navbar-toggler {
        margin-left: auto;
        /* لدفعها لأقصى اليمين */
        padding: 0.25rem 0.5rem;
        /* حجم مناسب */
        border: none;
        background-color: #f8f9fa;
        /* إزالة الحدود إذا كانت موجودة */
    }

    .dropdown-toggle::after {
        content: "▼";
        /* Use this fallback if needed */
        font-size: 0.75em;
        margin-left: 0.5em;
        color: inherit;
    }


    /* للتأكد من بقائها في مكانها */
    @media (max-width: 992px) {
        .navbar-collapse {
            padding-top: 10px;
            /* مسافة من الأعلى إذا احتجت */
        }

        .navbar-toggler {
            order: -1;
            /* إذا كنت تستخدم flexbox */
            margin-right: 0;
        }
    }


    
        .footer {
    background: linear-gradient(to top, #0054a6, #0054a6);
  opacity: 0.8;
    color: #ffffff;
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
    direction: ltr;
    text-align: start;

  }
  .newsletter {
    margin: 20px;

  }

  .newsletter h3 {
    font-size: 15px;
    margin-left: 50px;
    padding-top:15px;
    color:#fff;
  }

  .newsletter p {
    font-size: 15px;
    margin-bottom: 10px;
    margin-left: 230px;
  }

  .subscribe {
    display: flex;
    justify-content:start ;
    margin-top: 1px;
  }

  .subscribe input {
    padding: 12px;
    border: none;
    border-radius: 10px;
    width: 20%;
    outline: none;
    background-color: #ffffff;
    direction: rtl;

  }


  .subscribe button {
    background-color:  #FFC107;
    color: white;
    border: none;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    width:10%;
  }

  .subscribe button:hover {
    background-color: #2173C2;
  }

  .footer-links {
    display: flex;
    justify-content: space;
    align-items:flex-start;
    margin: 50px;
  }

  .footer-links div {
    flex: 1;
    text-align: end;
    margin: 0 10px;
  }

  .footer-links h4 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #fff;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links ul li {
    margin-bottom: 15px;
    line-height:1;
    font-size: 15px;
    color: #d3d3d3;
  }

  .footer-links li:hover {
    color: #ffc20ee6;
    cursor: pointer;
  }

  .logo {
    display: flex;


  }

  .logo  {
    margin-left: 150px;
    justify-content: center;


  }


  .social-media a {
    color: #fff;
    font-size: 25px;
    margin: 5px;
    border-radius: 20%;
    border: 1px solid #ffffff;
    justify-content: center;
    align-items: center;
    padding:5px;


  }

  .social-media i {
    width: 20px 20px 20px 20px;
    height: 20px 20px 20px 20px;
    text-align: center;

  }

  .social-media a:hover {
    color: #ffc20ee6;
  }
  .social-media a img {
    border-radius: 1%;
    transition: 0.3s ease-in-out;
}

.social-media a:hover img {
    background-color: #ffc20ee6;; /* لون خلفية عند المرور */
    padding: 5px; /* إضافة مساحة حتى يظهر اللون */
    border-radius: 1%;
}


  /* Media Queries لتعديل التصميم على الشاشات الصغيرة */
  @media (max-width: 768px) {
    .footer-links {
      flex-direction: column ; /* جعل الأعمدة عمودية على الشاشات الصغيرة */
      align-items: center;
    }
      .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .newsletter {
    margin: 20px;

  }

  .newsletter h3 {
    font-size: 15px;
    margin-left: 5px;
    padding-top:5px;
    color:#fff;
  }

  .newsletter p {
    font-size: 15px;
    margin-bottom: 10px;
    margin-left: 60px;
  }

  .subscribe {
    display: flex;
    justify-content:start ;
    margin-top: 100px;
  }

  .subscribe input {
    padding: 12px;
    border: none;
    border-radius: 10px;
    width: 50%;
    outline: none;
    background-color: #ffffff;
    direction: rtl;

  }


  .subscribe button {
    background-color: #2173C2;
    color: white;
    border: none;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    width:20%;
  }
    .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links ul li {
    margin-bottom: 15px;
    line-height:1;
    font-size: 15px;
    color: #d3d3d3;
  }

 .footer-links div {
    flex: 1;
    text-align: center;
    margin: 0;
  }


    .subscribe {
      align-items: center; /* محاذاة العناصر إلى المنتصف */
    }

    .logo img {
      width: 350px; /* تقليل حجم الشعار على الشاشات الصغيرة */
       align-items: center;

    }
  }

