
/* Fonts */
:root {
  --default-font: 'Cairo', sans-serif;
  --heading-font: 'Cairo', sans-serif;
  --nav-font: 'Cairo', sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #000000; /* Background color for the entire website, including individual sections */
  --default-color: #fafafa; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color:    #ffd700; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #1a1a1a; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.5);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1a1a1a; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #1a1a1a; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: rgba(255, 255, 255, 0.5); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #1a1a1a;
  --surface-color: #343434;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

        .bgprimary { background-color: #003366; } /* أزرق داكن من الشعار */
        .bgsecondary { background-color: #ffd700; } /* أصفر ذهبي من الشعار */
        .textprimary { color: #003366; }
        .textsecondary { color: #ffd700; }
        .bordersecondary { border-color: #ffd700; }
        /* تأثيرات إضافية */
        .section-title {
            @apply text-3xl md:text-4xl font-bold text-primary mb-4 text-center;
        }
        .section-subtitle {
            @apply text-center text-gray-500 mb-12 max-w-2xl mx-auto;
        }
        .card-hover {
            @apply transition duration-300 ease-in-out transform hover:-translate-y-2 hover:shadow-2xl;
        }

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
      height: 100%;
     font-family: 'Cairo', sans-serif; 
      font-family: var(--default-font);
      background-color: var(--background-color);
      color: var(--default-color);
}


    /* الهيدر */
header {
position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse; /* شعار يسار وقائمة يمين */
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(6px);
  transition: background-color 0.4s ease
}

  header.scrolled {
  background: #003366; /* خلفية داكنة عند التمرير */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .logo img {
  height: 40px;
  max-width: 150px;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 25px;
  padding: 0;
  margin: 0;
}

    header nav ul li a {
      text-decoration: none;
      color: white;
      font-size: 1rem;
      transition: color 0.3s;
    }

    header nav ul li a:hover {
      color: #00b4d8;
    }

    .video-banner {
      position: relative;
      height: 100vh;
      overflow: hidden;
      padding-top: 80px;
    }

    .video-banner video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: 0;
      transform: translate(-50%, -50%);
      object-fit: cover;
      filter: brightness(60%);
    }

    .video-overlay {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      color: #fff;
      text-align: center;
      padding: 0 20px;
    }

   .video-overlay-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 118, 182, 0.3),
    rgba(0, 174, 239, 0.5),
    rgba(0, 118, 182, 0.3)
  );
  background-size: 300% 300%;
  animation: blueGradientShift 10s ease infinite;
} 

/* تحريك الخلفية */
 @keyframes blueGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} 



.grid-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0H0V40' stroke='%23ffffff20' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none; /* الشبكة لا تتفاعل مع النقر */
  /* opacity: 0.4; */
  transform: rotate(30deg);  
}


/* @keyframes moveGrid {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
} */


    .video-overlay h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .video-overlay p {
      font-size: 1.3rem;
      margin-bottom: 2rem;
      max-width: 700px;
    }

    .video-overlay a.cta {
      padding: 0.8rem 1.5rem;
      background-color: #0077b6;
      color: white;
      text-decoration: none;
      font-size: 1rem;
      border-radius: 8px;
      transition: background-color 0.3s ease;
    }

    .video-overlay a.cta:hover {
      background-color: #023e8a;
    }

    .scroll-down {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      width: 30px;
      height: 50px;
      border: 2px solid #ffd700;
      border-radius: 25px;
      cursor: pointer;
    }

    .scroll-down::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 50%;
      width: 6px;
      height: 6px;
      background: #ffd700;
      border-radius: 50%;
      transform: translateX(-50%);
      animation: scroll 1.5s infinite;
    }

    @keyframes scroll {
      0% { top: 10px; opacity: 1; }
      100% { top: 30px; opacity: 0; }
    }

    @media (max-width: 768px) {
      .video-overlay h1 {
        font-size: 2rem;
      }

      .video-overlay p {
        font-size: 1rem;
      }


      header nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
      }

      .scroll-down {
        width: 24px;
        height: 40px;
      }
    }


.img-fluid

 {
    max-width: 100%;
    height: 500px;
    background-color: #27a776;
}

    /* زر القائمة للجوال */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

    @media (max-width: 768px) {
  .menu-toggle {
    display: block;
            z-index: 19;

  }

nav {
        position: fixed;
        top: 5px;
        right: -100%;
        width: 53%;
        height: 267px;
        background: rgba(0, 0, 0, 0.95);
        padding: 60px 20px;
        transition: right 0.3s ease;
        z-index: 15;
    }


  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  nav.show {
    right: 0;
  }
}


    #next-section {
      height: 100vh;
      background-color: #f3f3f3;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 2rem;
      color: #333;
    }



a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/***********************************************************************

***********************************************************************/

.gallery h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #ffd700;
  text-align: center;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/


.footer {
  background-color: #003366;
  color: #eee;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-box h4 {
  color: #FFD700;
  margin-bottom: 15px;
}

.footer-box p,
.footer-box ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ccc;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li i {
  margin-left: 6px;
  color: #FFD700;
}

.footer-box ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box ul li a:hover {
  color: #fff;
}

/* الشعار */
.footer-logo {
  max-width: 130px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

/* أيقونات التواصل */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons a {
  background-color: #FFD700;
  color: #003366;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  background-color: #ffcc00;
  color: #001933;
}

/* نموذج الاشتراك */
.footer-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-box input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.footer-box button {
  background: linear-gradient(to right, #FFD700, #e6c200);
  color: #003366;
  padding: 10px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.footer-box button:hover {
  background: #ffe066;
}

/* خريطة صغيرة */
.mini-map iframe {
  width: 100%;
  height: 120px;
  border-radius: 6px;
  margin-top: 10px;
  border: none;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* تذييل */
.footer-bottom {
  background-color: #002244;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #bbb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* زر العودة للأعلى */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #FFD700;
  color: #003366;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 18px;
  display: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}

#scrollTopBtn:hover {
  background: #ffcc00;
}




/* .footer {
  --background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: #003366;
  background-color:#ffd700;
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #003366;
  font-size: 16px;
  
  color: #003366;
  margin: 0 5px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: #003366;
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
} */

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/





#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo img {
  width: 100px;
  animation: pulse 1.5s infinite;
}

/* نبض خفيف للشعار */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
}













/* #preloader {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 999999;
}

#preloader:before,
#preloader:after {
  content: "";
  background-color: #000000;
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

#preloader:after {
  left: auto;
  right: 0;
}

#preloader .line {
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 1px;
  height: 280px;
  transition: all 0.8s ease 0s;
}

#preloader .line:before {
  content: "";
  position: absolute;
  background-color: #ffffff;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0%;
  transform: translateY(-50%);
  animation: lineincrease 1000ms ease-in-out 0s forwards;
}

#preloader .line:after {
  content: "";
  position: absolute;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateY(-100%);
  animation: linemove 1200ms linear 0s infinite;
  animation-delay: 2000ms;
}

#preloader.loaded .line {
  opacity: 0;
  height: 100% !important;
}

#preloader.loaded .line:after {
  opacity: 0;
}

#preloader.loaded:before,
#preloader.loaded:after {
  animation: preloaderfinish 300ms ease-in-out 500ms forwards;
}

@keyframes lineincrease {
  0% {
    height: 0%;
  }

  100% {
    height: 100%;
  }
}

@keyframes linemove {
  0% {
    transform: translateY(200%);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes preloaderfinish {
  0% {
    width: 5 0%;
  }

  100% {
    width: 0%;
  }
} */

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--default-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 64px;
  font-weight: 400;
}

.page-title .heading .cta-btn {
  color: var(--default-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  margin-top: 20px;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title .heading .cta-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color:#003366;
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 10px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 400;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
  font-family: var(--default-font);
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 30vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h2 {
  margin: 0 0 10px 0;
  font-size: 38px;
  font-weight: 700;
}

.hero h2 .underlight {
  position: relative;
  z-index: 1;
  padding: 0 5px;
  display: inline-block;
}

.hero h2 .underlight:before {
  content: "";
  position: absolute;
  height: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent-color);
  z-index: -1;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
# Gallery Details Section
--------------------------------------------------------------*/
.gallery-details .portfolio-details-slider img {
  width: 100%;
}

.gallery-details .swiper-wrapper {
  height: auto;
}

.gallery-details .swiper-button-prev,
.gallery-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.gallery-details .swiper-button-prev:after,
.gallery-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.gallery-details .swiper-button-prev:hover:after,
.gallery-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .gallery-details .swiper-button-prev,
  .gallery-details .swiper-button-next {
    display: none;
  }
}

.gallery-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.gallery-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.gallery-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.gallery-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.gallery-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.gallery-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.gallery-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.gallery-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.gallery-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.gallery-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.gallery-details .portfolio-description p {
  padding: 0;
}

.gallery-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.gallery-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.gallery-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.gallery-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-left,
.gallery-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.gallery-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 15px;
}

.services .service-item .icon i {
  color: var(--default-color);
  background-color: var(--accent-color);
  font-size: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  font-family: var(--default-font);
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover p {
  color: var(--default-color);
}

.services .service-item:hover i {
  color: var(--accent-color);
  background-color: var(--default-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  border-bottom: 1px dashed color-mix(in srgb, var(--default-color), transparent 60%);
  width: 100%;
  height: 100%;
  padding: 0 0 15px 0;
}

.pricing .pricing-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  margin: 0;
  font-size: 18px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  margin-bottom: 30px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: var(--default-font);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--default-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  border: 0;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact .php-email-form button[type=submit]:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

/*--------------------------------------------------------------
# clients-slider
--------------------------------------------------------------*/
.clients-slider {
  background: linear-gradient(135deg, #003366, #001a33);
  padding: 60px 20px;
  text-align: center;
  color: #ffd700;
  font-family: 'Cairo', sans-serif;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin: 60px auto;
  max-width: 1300px;
  overflow: hidden;
  position: relative;
}

.clients-slider h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #ffd700;
}

.clients-carousel .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  margin: 10px;
}

.clients-carousel .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.clients-carousel .card img {
  max-height: 80px;
  max-width: 180px;
  margin: auto;
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.clients-carousel .card:hover img {
  filter: grayscale(0%) brightness(1.1);
  opacity: 1;
  transform: scale(1.05);
}

.slider-nav {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.slider-nav button {
  background-color: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 0 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-nav button:hover {
  background-color: #ffd700;
  color: #003366;
}

.slider-nav i {
  pointer-events: none;
}


.clients-carousel-wrapper {
  position: relative;
  direction: rtl;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid #ffd700;
  color: #ffd700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: #ffd700;
  color: #003366;
}

.prev-client {
  right: 10px;
}

.next-client {
  left: 10px;
}

.slider-arrow i {
  pointer-events: none;
}







.how-we-work-section {
   position: relative;
  padding: 80px 0;
  width: 100vw;
  min-height: 650px;
   background: url('../../section-bg.png') center center/cover no-repeat; 
   background-color: #003366; 
  direction: rtl;
  position: relative;
  z-index: 1;
  overflow: hidden;
animation: move-bg-horizontal 60s linear infinite;
}

@keyframes move-bg-both {
  0% { background-position: 0 0; }
  100% { background-position: 500px 80px; }
}

.how-container {
    position: relative;

  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 5vw;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 2;
  position: relative;
}

.blue-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.50); /* أزرق شفاف */
  z-index: 2;
  pointer-events: none; /* يسمح بالنقر على العناصر فوق الـ overlay */
}

.how-text-box {
  flex: 2 1 520px;
  /* background: rgba(255,255,255,0.94); */
  border-radius: 16px;
  padding: 38px 28px 26px 28px;
  /* box-shadow: 0 0 0 transparent; */
}

.how-text-box h2 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 900;
  letter-spacing: -1px;
}
.how-text-box h2 span {
  background: #ffd700;
  color: #003366;
  padding: 4px 14px;
  border-radius: 7px;
  margin-left: 12px;
  font-weight: 900;
}
.main-desc {
  color: #ffffff;
  font-size: 1.13rem;
  margin-bottom: 32px;
  line-height: 2.1;
  font-weight: 500;
}
.steps-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.step-card {
  background: rgba(255,255,255,0.95);
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 22px 17px 16px 17px;
  width: 180px;
  min-width: 150px;
  box-shadow: 0 4px 24px rgba(0,51,102,0.10);
  text-align: center;
  transition: box-shadow 0.35s, transform 0.35s;
  position: relative;
  margin-bottom: 10px;
}
.step-card:hover {
  box-shadow: 0 8px 28px rgba(0,51,102,0.15);
  transform: translateY(-7px) scale(1.03);
}
.step-icon {
  font-size: 2.1rem;
  color: #ffd700;
  margin-bottom: 12px;
}
.step-card h4 {
  font-size: 1.1rem;
  color: #003366;
  margin: 0 0 6px 0;
  font-weight: bold;
}
.step-card p {
  color: #555;
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0;
}

.how-image-box {
  flex: 1 1 420px;
  text-align: center;
  align-self: center;
}
.how-image-box img {
  width: 100%;
  max-width: 420px;
  /* border-radius: 13px;
  border: 4px solid #003366;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.11);
  background: #fff; */
}
@media (max-width: 1150px) {
  .how-container { flex-direction: column; gap: 28px; }
  .how-image-box { max-width: 98vw; }
  .steps-row { justify-content: center; }
}
@media (max-width: 700px) {
  .how-container { padding: 18px 2vw; }
  .how-text-box { padding: 20px 10px 14px 10px; }
  .steps-row { gap: 10px; }
  .step-card { width: 95vw; max-width: 280px; margin: auto; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(60px);}
  to   { opacity: 1; transform: translateY(0);}
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.animate-on-scroll.scrolled {
  animation: fadeUp 1.2s cubic-bezier(.4,0,.2,1) both;
  opacity: 1;
  transform: none;
}


/****************************************************القوائم المالية********************************************************/

.financial-section {
  background: #f7f9fb;
  padding: 80px 0 60px 0;
  text-align: center;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 45px;
  color: #003366;
  font-weight: bold;
}
.section-title span {
  background: #003366;
  color: #ffd700;
  padding: 4px 14px;
  border-radius: 6px;
  margin-left: 8px;
}

.financial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.financial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,51,102,0.08);
  display: flex;
  align-items: center;
  min-width: 280px;
  max-width: 350px;
  padding: 25px 18px;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5px solid #e3e9f3;
}
.financial-card:hover {
  box-shadow: 0 12px 36px rgba(0,51,102,0.15);
  transform: translateY(-8px) scale(1.025);
}
.pdf-icon {
  font-size: 2.6rem;
  color: #ffd700;
  flex-shrink: 0;
}
.financial-info h4 {
  margin: 0 0 7px 0;
  color: #003366;
  font-size: 1.15rem;
  font-weight: bold;
}
.financial-info p {
  margin: 0 0 12px 0;
  font-size: 0.97rem;
  color: #666;
}
.financial-actions {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  color: #003366;
  background: #ffd700;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.btn.show {
  background: #003366;
  color: #ffd700;
}
.btn.show:hover,
.btn.download:hover {
  background: #222;
  color: #ffd700;
}
.btn.download {
  background: #ffd700;
  color: #003366;
}
@media (max-width: 900px) {
  .financial-list { flex-direction: column; gap: 24px;}
  .financial-card { max-width: 98vw; }
}

 /*******************************************شهادات الإنجاز**********************************************/


.certificates-section {
  position: relative;
  /* تدرج لوني أزرق */
     background: 
    /* linear-gradient(120deg, #003366 0%, #336699 100%),  */
    url('../../IMG/patterns.png');
  background-repeat: repeat;
  background-size: cover, 400px 400px; /* أو حجم أصغر/أكبر حسب وضوح الباترن */
  padding: 80px 0 60px 0;
  text-align: center;
  z-index: 1;
   overflow: hidden;
}



.blue-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.90);  /* أزرق شفاف */
  z-index: 2;
  pointer-events: none;
}
.certificates-section > *:not(.blue-overlay) {
  position: relative;
  z-index: 3;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 45px;
  color: #ffffff;
  font-weight: bold;
}
.section-title span {
  background: #ffd700;
  color: #003366;
  padding: 4px 14px;
  border-radius: 6px;
  margin-left: 8px;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;

 
  border-radius: 20px;
  padding: 30px 12px;
  max-width: 1200px;
  margin: 0 auto;
  /* تأثير ظل خفيف */
  box-shadow: 0 8px 24px rgba(0,51,102,0.11);
}
.certificate-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,51,102,0.09);
  padding: 16px;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  overflow: hidden;
  border: 1.5px solid #e3e9f3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certificate-card:hover {
  box-shadow: 0 14px 40px rgba(0,51,102,0.17);
  transform: scale(1.05);
}
.certificate-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s;
}
.certificate-card:hover img {
  transform: scale(1.08);
}
@media (max-width: 700px) {
  .certificates-grid { grid-template-columns: 1fr 1fr; gap: 14px;}
  .certificate-card img { height: 120px; }
}

/* Lightbox Styles */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(10, 62, 110, 0.94);
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.lightbox-overlay.active {
  display: flex;
  animation: fadeInLightbox 0.4s;
}
@keyframes fadeInLightbox {
  from { opacity: 0;}
  to { opacity: 1;}
}
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 13px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.30);
  background: #fff;
  padding: 6px;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  left: 30px;
  font-size: 2.7rem;
  color: #ffd700;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s;
  text-shadow: 0 3px 10px #222;
}
.lightbox-close:hover {
  color: #fff;
}


