/*fonts */
@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Zain';
    src: url('/fonts/Zain/Zain-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
}



/*@media (prefers-color-scheme: dark) {*/
/*  .menu-toggle span {*/
/*    background: black !important;*/
    /*color: #fff !important;*/
/*  }*/
/*}*/
:root {
    --teal: #2ac1b9;
    --navy: #043d64;
    --purple: #6e5dd8;
    --light-bg: #f7fafc;
    --white: #fff;
    --text: #222;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* font-family: sans-serif; */
  }

  /* حجم الشريط */
::-webkit-scrollbar {
  width: 10px;       /* العرض */
}

/* الخلفية */
::-webkit-scrollbar-track {
  background: #f1f1f1;   /* لون الخلفية */
  border-radius: 10px;
}

/* الجزء اللي بيتحرك */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0b4268, #0966da);
  border-radius: 20px;
  border: 2px solid #f1f1f1;
}


/* عند الهوفر */
::-webkit-scrollbar-thumb:hover {
  background: var(--teal);
}


/* ================== looder ======================================   */
/* تغطية الشاشة كلها */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ===== محتوى اللودر ===== */
.loader-content {
  position: relative;
  text-align: center;
}

/* ===== اللوجو ===== */
.loader-logo {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  z-index: 10;
  animation: logoPulse 1.2s infinite alternate;
}

@keyframes logoPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* ===== الدائرة الدوارة ===== */
.spinner {
  width: 140px;
  height: 140px;
  border: 6px solid #20c8d2;        /* الأخضر الأساسي */
  border-top: 6px solid #0f4677;    /* أزرق غامق */
  border-left: 6px solid #20c8d2;   /* أزرق فاتح */
  /* border-right: 6px solid #25d366; */
  border-bottom: 6px solid #0f4677;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: -25px;
  left: -19px;
  z-index: 1;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



  
  #scrollIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--teal);
    z-index: 2000;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--white);
  }
  
  /* === Enhanced Header === */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  /* background: linear-gradient(135deg, #043d64 60%, #2ac1b9); */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 1000;
  padding: 12px 5%;
  transition: background 0.4s ease, padding 0.3s;
}

.header.scrolled {
  background: rgba(4, 61, 100, 0.95); /* navy */
  backdrop-filter: blur(10px);
  padding: 8px 5%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-nav{
  display: flex;
  gap: 20px;
}
.spliter{
  width: 2px;
    height: 2rem;
    margin: auto;
    background-color: var(--teal);
}
.language-mob{
  display: none;
}
.language ul{
  display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
}
.language a{
  text-decoration: none;
  color: white;
}
.language a:active{
  color: #043d64;
}
.language a::after{
  text-decoration: underline;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo {
  height: 65px;
  /* width: 100px; */
  border-radius: 8px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #6e5dd8;
  left: 0;
  bottom: -4px;
  transition: width 0.3s;
}

.nav a:hover {
  color: #2ac1b9;
}

.nav a:hover::after {
  width: 100%;
}

/* === Mobile Menu === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.dropdown-nav {
  position: relative;
  display: inline-block;
}

/* الدروب داون */
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: max-content;
  margin-top: 2px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 10;
}

/* أهم نقطة: الهوفر على الـ container كله */
.dropdown-nav:hover .nav-drop {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drop a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  transition: .2s;
}

.nav-drop a:hover {
  color: #0b7cff;
}
/* إخفاء الـ checkbox */
.menu-checkbox {
  display: none;
}

/* ===== موبايل ===== */
@media (max-width: 992px) {

  


  /* أنيميشن زر الهامبرجر */
  .menu-checkbox:checked + .menu-toggle span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .menu-checkbox:checked + .menu-toggle span:nth-child(2) {
      opacity: 0;
  }

  .menu-checkbox:checked + .menu-toggle span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  
}



/*single language =======================================*/

.single-lang {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50%;
    border: 2px solid rgba(24, 138, 133, 0.75); /* اللون المثالي */
    background: linear-gradient(135deg, rgba(4, 61, 100, 0.85), rgba(24, 138, 133, 0.75));
    color: white;
    transition: all 0.25s ease-in-out;
}

.single-lang:hover {
    background-color: #00bcd4;
    color: #fff;
    transform: scale(1.07);
}


/* =========== fixed whats =============================== */

/* ===============================
   1) ضبط المكان حسب لغة الصفحة
   =============================== */
   html[dir="ltr"] .fixed-whats {
    right: 40px;
    left: auto;
  }
  
  html[dir="rtl"] .fixed-whats {
    left: 40px;
    right: auto;
  }
  
  /* ===============================
     2) الشكل الأساسي
     =============================== */
  .fixed-whats {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Poppins", sans-serif;
  }
  
  /* زر الواتساب */
  .fixed-whats a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #2bc063;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: visible;
  }
  
  .fixed-whats a:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  }
  
  /* ===============================
     3) البوردر المتحرك
     =============================== */
  .fixed-whats a::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(#25d366, #128c7e, #075e54, #25d366);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
  }
  
  .fixed-whats a:hover::before {
    opacity: 1;
    animation: spinBorder 2s linear infinite;
  }
  
  @keyframes spinBorder {
    to { transform: rotate(360deg); }
  }
  
  /* ===============================
     4) الفقاعة (Chat Bubble)
     =============================== */
  .fixed-whats .chat {
    background: #25d366;
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    white-space: nowrap;
    min-width: 110px;
    text-align: center;
    transition: all .35s ease;
  }
  
  /* اتجاه الحركة حسب اللغة */
  html[dir="rtl"] .chat {
    transform: translateX(-20px);
  }
  
  .fixed-whats a:hover + .chat {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* ===============================
     5) أنيميشن الكتابة
     =============================== */
  .fixed-whats .chat span {
    display: inline-block;
    border-right: 2px solid rgba(255,255,255,0.8);
    overflow: hidden;
    width: 0;
  }
  
  .fixed-whats a:hover + .chat span {
    animation: typingLoop 3s steps(12) infinite;
  }
  
  @keyframes typingLoop {
    0% { width: 0; }
    40% { width: 100%; }
    60% { width: 100%; }
    100% { width: 0; }
  }
  



  
  /* === HERO SECTION === */
/* .hero {
  position: relative;
  height: auto;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
} */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  padding-top: 100px;
}


/* === TYPEWRITER EFFECT FOR TITLE === */
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid #20c8d2;
  white-space: nowrap;
  letter-spacing: 2px;
  animation: typing 1.8s steps(30, end) 0.3s 1 normal both, blink 0.7s step-end infinite;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
}

.typewriter span {
  color: #0f4677;
  font-weight: 600;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; 
  border: none;}
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* === SLIDE-IN ANIMATION FOR SUBTITLE === */
.slide-in {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease forwards;
  animation-delay: 2s; /* بعد ما يخلص العنوان */
  color: #20c8d2;
  font-size: 2rem;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === FADE-IN DELAY FOR PARAGRAPH === */
.fade-in-delay {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInText 1.2s ease forwards;
  animation-delay: 2.5s;
  color: #f0f0f0;
}

@keyframes fadeInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === LATE FADE-IN FOR THE DEMO BOX === */
.fade-in-late {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInLate 1.2s ease forwards;
  animation-delay: 3s;
}

/* .hero-image img{
  scale: 0;
  
} */
.fade-in-late-img {
  opacity: 0;
  transform: translateX(300px) scale(0.7); /* تبدأ من اليمين وصغيرة */
  animation: fadeInFromRight 1.6s cubic-bezier(0.45, 0, 0.25, 1) forwards;
  animation-delay: 3s;
  
}


@keyframes fadeInLate {
  to {
    opacity: 1;
    transform: translateY(0);
    
  }
}
@keyframes fadeInFromRight {
  0% {
    opacity: 0;
    transform: translateX(300px) scale(0.7);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(4, 61, 100, 0.85), rgba(42, 193, 185, 0.75));  */
  background: linear-gradient(135deg, rgba(4, 61, 100, 0.85), rgba(24, 138, 133, 0.75)); 
  z-index: 1;
  background-size: 400% 400%;
  animation: movingGradient 12s ease-in-out infinite;
}


@keyframes movingGradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
}

.hero-text {
  flex: 1 1 480px;
  animation: fadeInUp 1.2s ease forwards;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #ffffff;
}

.hero h2 {
  font-size: 2rem;
  color: #20c8d2;
  margin-bottom: 20px;
}

.hero span {
  color: #424495; /* أكثر وضوحًا ومميز */
  color: #0f4677;
  font-weight: 600;
}


.hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 35px;
  color: #f0f0f0;
}

.hero-btn {
  background: linear-gradient(90deg, #074167, #3cccd4);
  text-decoration: none;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(42, 193, 185, 0.5);
}

.hero-btn i{
  display: inline-block;
  animation: arrowMove 1.2s infinite ease-in-out;
}

@keyframes arrowMove {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0);
  }
}


.hero-btn:hover {
  background: linear-gradient(90deg, #3cccd4, #074167);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(54, 99, 170, 0.7);
}

.hero-register-demo {
  margin-top: 25px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 25px;
  max-width: 400px;
  backdrop-filter: blur(6px);
  animation: fadeInUp 1s ease both;
}

.hero-register-demo p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #20c8d2; /* لون جذاب زي الصورة */
  margin-bottom: 10px;
}

.hero-register-demo ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
}

.hero-register-demo li {
  margin-bottom: 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f0f0f0;
}

.hero-register-demo li::before {
  content: "✔";
  color: #41d2d7;
  font-weight: bold;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Image */
.hero-image {
  flex: 1 1 400px;
  text-align: center;
  animation: fadeInRight 1.2s ease forwards;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: none; /* شيلنا الظل */
  transition: transform 0.1s linear; /* نخفف السرعة على التحريك التلقائي */
  position: relative;
  transition: ease .5s;
  
}



.hero-image img:hover {
  transform: scale(1.05);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}







  
  /* Sections */
  .section {
    padding: 100px 10%;
  }
  
  .section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--navy);
  }
  
  .section p {
    text-align: center;
    /* max-width: 800px; */
    /* margin: 0 auto 40px; */
  }
  #why p{
    margin: 0 auto 40px;
  }
  
  .alt-bg {
    background: var(--light-bg);
  }
  




  
  /* Cards */
  .cards, .modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  #why .card{
    text-align: center;
    padding: 0;
  }
  #why .content{
    padding: 10px;
  }
  #why .image{
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  #why img{
    width: 70%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    /* border-top-left-radius: 10px; */
    margin-bottom: 10px;
  }
  
  .card, .module {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 25px;
    transition: transform 0.3s ease;
  }
  
  .card:hover, .module:hover {
    transform: translateY(-5px);
  }
  
  .card h3, .module h3 {
    color: var(--teal);
    margin-bottom: 10px;
  }

  .portals{
    padding: 50px;
  }
  .portals .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .portals .card {
    /* background: #d4e6f4; */
    background: #d9e7e8;
    border-radius: 20px;
    padding: 20px;
    /* width: 320px; */
    width: 250px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .portals .card:hover {
    transform: translateY(-5px);
  }
  
  .mobile-frame {
    position: relative;
    width: 180px;
    height: 360px;
    margin: 0 auto 20px;
  }
  
  .mobile-frame .frame {
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
    position: relative;
  }
  
  .mobile-frame .screen {
    position: absolute;
    top: 2%;
    left: 5%;
    width: 89%;
    height: 90%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
  }
  
  .portals .content h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 8px;
  }
  
  .portals .content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
  }


  /* ===== MODULES SHOWCASE ===== */
.modules-showcase {
  padding: 100px 6%;
  background: #f9fbfc;
  border-top: 1px dashed #c1c6d0;
}
.modules-showcase .section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--dc-navy);
}
.modules-showcase .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 60px;
}
.module-block {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 60px;
  background: #d9e7e8;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.module-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(1, 73, 70, 0.35);
}
#auth-mod{
  width: 49%;

}

.module-block.visible {
  opacity: 1;
  transform: translateY(0);
}
.module-block.reverse {
  flex-direction: row-reverse;
}
.module-text {
  flex: 1 1 45%;
}
.module-block h3 {
  color: #1C6E73;
  font-size: 1.8rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  background-color: #b7d0d2;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}
.module-text p {
  color: #2E2E2E;
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: left;
}
.module-text ul {
  list-style: none;
  padding-left: 0;
}
.module-text ul li {
  padding-left: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #217F8B;
  position: relative;
}
.module-text .li-details{
  /* color: #878787; */
  color: #161616;
  padding-left: 20px;
  text-wrap: wrap;
}
.module-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--dc-teal);
  font-weight: 700;
}
.module-image {
  flex: 1 1 49%;
  text-align: center;
}
.module-image img {
  width: 100%;
  max-width: 500px;
  height: 400px;
  border-radius: 5px;
  /* box-shadow: 0 10px 35px rgba(0,0,0,0.1); */
  transition: transform 0.4s ease;
}
/* .module-image img:hover {
  transform: scale(1.05);
} */

/* .module-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5px;
  margin-top: 20px;
}


.module-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.sub-module-gallery{
  display: flex;
  gap: 5px;
}

.sub-module-gallery img{
  width: 50%;
} */

/* container */
.module-gallery {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 350px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: #fff;
}



/* فقط داخل السكشن المحدد */
.my-swiper {
  width: 100%;
  max-width: 500px;
  max-height: 330px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 0 0 rgba(0,0,0,0.15);
  background-color: #d9e7e8;
  position: relative;
}



.my-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* أزرار */
.my-swiper .swiper-button-next,
.my-swiper .swiper-button-prev {
  color: #074167;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  padding: 8px;
  width: 36px;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
}

.my-swiper .swiper-button-next:hover,
.my-swiper .swiper-button-prev:hover {
  background: rgba(255,255,255,0.9);
}


/* .module-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(42, 193, 185, 0.35);
} */



  
  
  /* ===== CONTACT SECTION ===== */
  .contact {
    background: linear-gradient(135deg, #f9f9ff, #d9e7e8);
    padding: 80px 20px;
    text-align: center;
  }
  
  .contact .section-title {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 10px;
  }
  
  .contact .section-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
  }
  
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .contact-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(90, 90, 150, 0.1);
    padding: 30px 20px;
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(90, 90, 170, 0.2);
  }
  
  .contact-card i {
    font-size: 2rem;
    color: #1a5881; /* لون مستوحى من اللوجو */
    margin-bottom: 15px;
  }
  
  .contact-card h3 {
    color: #222;
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  
  .contact-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  .contact-link {
    color: #5091be;
    text-decoration: none;
    font-weight: 500;
  }
  
  .contact-link:hover {
    text-decoration: underline;
  }
  
  .contact-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .btn-primary,
  .btn-outline {
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background: rgb(36 97 139);
    color: #fff;
    border: none;
  }
  
  .btn-primary:hover {
    background: #fff;
    color: #4c95c5;
    
  }
  
  .btn-outline {
    background: transparent;
    border: 2px solid rgb(68 137 184);
    color: #4c95c5;
  }
  
  .btn-outline:hover {
    background: #0f466b;
    color: #fff;
  }
  

  /* =========== faq =============== */
  .faq-item {
    background: #fff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
  }

  .faq-item:hover{
    background-color: #f0f0f0;
  }
  
  .faq-item h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0077b6;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .faq-item h3::after {
    content: "＋";
    font-size: 1.4rem;
    color: #555;
    transition:  0.3s ease;
  }
  
  .faq-item.active h3::after {
    /* content: "−"; */
    color: white;
    rotate: 45deg;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.3s ease;
    padding-top: 0;
  }
  .faq-answer p{
    text-align: left;
    margin: 2px;
  }
  
  .faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 12px;
  }

  .faq-item.active{
    background-color: #005f87;
  }
  .faq-item.active h3{
    color:rgb(231, 231, 231);
  }
  .faq-item.active p{
    color:rgb(255, 255, 255);
    font-size: 14px;
  }

/* ===== DEMO SECTION ===== */
.demo {
  background: linear-gradient(120deg, rgba(11,60,93,0.95), rgba(34,169,163,0.95));
  color: #fff;
  padding: 120px 8%;
}
.demo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.demo-text {
  flex: 1 1 45%;
}
.demo-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #fff;
  text-align: left;
}
.demo-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6f9f8;
  margin-bottom: 28px;
  text-align: left;
}
.demo-text .btn-primary {
  background: var(--purple);
  color: var(--dc-navy);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.demo-text .btn-primary:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-3px);
}
.demo-image {
  flex: 1 1 45%;
  text-align: center;
}
.demo-image img {
  width: 100%;
  max-width: 460px;
  transition: all 0.4s ease;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.demo-image img:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 15px 45px rgba(42, 193, 185, 0.35);
  filter: brightness(1.05);
}


  
  
  /* === Footer === */
.footer {
  background: linear-gradient(135deg, #043d64, #2ac1b9, #6e5dd8);
  color: #fff;
  padding: 60px 10% 20px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
  position: relative;
}

.footer h4::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #fff;
  display: block;
  margin-top: 5px;
}

.footer p {
  line-height: 1.8;
  color: #eaeaea;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin: 10px 0;
  color: #e0e0e0;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ffe26f;
}

.social-icons {
    display: flex;
    gap: 15px;
    
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 18px;
}

/* ألوان المنصات */
.social-icons a.facebook {
    background-color: #1877f2; /* Facebook blue */
}

.social-icons a.linkedin {
    background-color: #0a66c2; /* LinkedIn blue */
}

.social-icons a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); /* Instagram gradient */
}

.social-icons a.twitter {
    background-color: #1da1f2; /* Twitter/X blue */
}

/* Hover effect */
.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-col i{
  margin-right: 2px;
  margin-left: 2px;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

  

  /* Responsive */

@media (max-width: 992px) {
  .nav a{
    font-size: 1rem;
  }
  .logo-area .brand-name{
    font-size: 1.1rem;
  }
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }
  .hero-image img{
    max-width: 80%;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }
}

@media(max-width: 900px){
  .module-block, .module-block.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 200px;
    height: calc(100vh - 70px);
    background: #043d64;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 40px;
    overflow-y: scroll;
    transition: right 0.3s ease;
  }
  .dropdown-nav {
    width: 100%;
    text-align: center;
  }

  /* اجعل القوائم الفرعية جزء من القائمة على الموبايل */
  .nav-drop {
    position: relative;
    top: 0;
    left: 0;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: none; /* نخليها مخفية افتراضياً */
    margin-top: 0;
    padding-left: 15px;
    box-shadow: none;
    background: none;
  }

  /* عند الضغط يظهر dropdown */
  .dropdown-nav.active .nav-drop {
    display: block;
    background-color: #053352;
    border-radius: 0;
  }

  .nav-drop a {
    padding: 10px 0;
    color: #f7f7f7;
    font-size: .7rem;
  }

  .nav.active {
    right: 0;
  }
  .language{
    display: none;
  }
  .language-mob{
    display: block;
  }

  .language-mob ul{
    display: flex;
      gap: 10px;
      list-style: none;
      align-items: center;
  }
  .language-mob a{
    text-decoration: none;
    color: white;
  }

  .menu-toggle {
    display: flex;
  }
  .hero-image{
    flex: 1 1 200px;
  }
  #why img{
    height: 250px;
  }
  .module-image img{
    height: 250px;
  }
  .logo-area h1{
    font-size: 1rem;
  }
  /* .logo-nav .spliter{
    display: none;
  } */
  .hero-register-demo, .module-image ,.module-gallery{
    margin: auto;
  }

  .footer-container{
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .footer h4::after{
    width: 100%;
    margin: 10px 0 10px 0; 
  }
  .footer-bottom img{
    width: 60px;
  }
  .social-icons{
      justify-content: center;
  }
}



@media (max-width: 350px) {
  .nav a{
    font-size: .9rem;
  }
  .nav-drop a{
    font-size: .6rem;
  }

  .hero-btn{
    padding: 6px 15px;
    font-size: .6rem;
  }
  .hero p{
    font-size: 1rem;
  }
  .hero h1{
    font-size: 1.4rem;
    text-wrap: wrap;
  }
  .hero h2{
    font-size: 1.2rem;
  }
  .hero-register-demo{
    padding: 5px 10px;
  }
  .hero-register-demo li{
    text-align: left;
    font-size: .8rem;
  }
  .logo{
    width: 60px;
    height: 50px;
  }
  .logo-area .brand-name{
    font-size: .7rem;
  }
  .logo-nav .spliter{
    display: none;
  }
  .modules-showcase .section-title{
    font-size: 1.6rem;
  }
  .module-block, .module-block.reverse{
    padding: 10px;
    gap: 30px;
  }
  .module-block h3{
    font-size: 1.2rem;
  }
  .module-text p{
    font-size: .8rem;
  }
  .module-text ul li{
    font-size: .9rem;
  }
  .section h2{
    font-size: 1.4rem;
  }
  .portals .content h3{
    font-size: 1.1rem;
  }
  .portals .content p{
    font-size: .85rem;
  }
  .mobile-frame{
    width: 150px;
    height: 300px;
  }
  
  .single-lang {
    
    width: 25px;
    height: 25px;
    font-size: 10px;
    
}

  
  .language-mob ul{
    display: flex;
      gap: 10px;
      list-style: none;
      align-items: center;
  }
  .language-mob a{
    text-decoration: none;
    color: white;
  }

  .menu-toggle {
    display: flex;
  }
  .hero-image{
    flex: 1 1 200px;
  }
  #why img{
    height: 250px;
  }
  .module-image img{
    height: 150px;
    width: 150px;
  }

  .module-gallery {
    display: flex;
    flex-direction: column;
  }
  .module-gallery img{
    object-fit: cover;
    height: 100px;
  }
  #auth-mod{
    width: 90%;
}
  .sub-module-gallery{
    flex-direction: column;
  }
  .sub-module-gallery img{
    width: 100%;
  }
  .fixed-whats a{
    width: 40px;
    height: 40px;
    font-size: 20px;
    border: 2px solid #2bc063;
  }


  .contact-cards{
    padding: 10px 5px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
  }
  .contact .section-title{
    font-size: 1.5rem;
  }
  .contact .section-subtitle{
    font-size: .8rem;
  }
  .contact-card h3{
    font-size: 1rem;
  }
  .contact-card p{
    font-size: .8rem;
  }
  .contact-link{
    font-size: .7rem;
  }
  .faq-item{
    padding: 10px 15px;
  }
  .faq-item h3{
    font-size: .9rem;
    text-align: left;
  }
  .faq-item .h3-ar{
    text-align: right;
  }
  .faq-item.active p{
    font-size: .6rem;
  }

  .demo{
    text-align: center;
  }
  .demo-text p{
    /* content: 'Request Demo'; */
    font-size: .9rem;
  }
  .demo-text .btn-primary{
    padding: 8px 16px;
  }
  .footer{
    text-align: center;
    padding: 15px 3% 5px;
  }
  .footer p{
    font-size: .9rem;
  }
  .footer h4::after{
    margin-left: auto;
    margin-right: auto;
  }
  .footer a{
    font-size: 1rem;
  }

  .footer-container{
    /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) */
    display: flex;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .social-icons a{
      width: 30px;
      height: 30px;
  }
  
  
}




@media (max-width: 200px) {
  .nav a{
    font-size: 10px;
  }
  .nav-drop a{
    font-size: .5rem;
  }
  .logo{
    width: 50px;
    height: 40px;
  }

  .menu-toggle span{
    width: 15px;
    height: 2px;
  }
  .menu-toggle{
    gap: 2px;
  }
  .hero-btn{
    padding: 3px 10px;
    font-size: .4rem;
  }
  .hero p{
    font-size: .8rem;
  }
  .hero h1{
    font-size: 1.1rem;
    text-wrap: wrap;
  }
  .hero h2{
    font-size: 1rem;
  }
  .hero-register-demo{
    padding: 3px 7px;
  }
  .hero-register-demo li{
    text-align: left;
    font-size: .6rem;
  }
  
  .modules-showcase .section-title{
    font-size: 1.2rem;
  }
  .module-block, .module-block.reverse{
    padding: 7px;
    gap: 20px;
  }
  .module-block h3{
    font-size: .6rem;
  }
  .module-text p{
    font-size: .4rem;
    
  }
  .module-text ul .li-details{
    padding-left: 8px;
  }
  
    .module-text ul li{
    font-size: .5rem;
    padding-left: 10px;
  }
  .section h2{
    font-size: .9rem;
  }
  .card h3, .module h3{
    font-size: .9rem;
  }
  #why p{
    margin: 0 auto 20px;
    font-size: .8rem;
  }
  .portals{
    padding: 20px;
  }
  .portals .content h3{
    font-size: .7rem;
  }
  .portals .content p{
    font-size: .55rem;
  }
  .mobile-frame{
    width: 75px;
    height: 150px;
  }

  
  .language-mob ul{
    display: flex;
      gap: 5px;
  }

  .hero-image{
    flex: 1 1 100px;
  }
  #why img{
    height: 150px;
  }
  .module-image img{
    height: 80px;
    width: 80px;
  }

  .module-gallery img{
    object-fit: cover;
    height: 80px;
  }
  #auth-mod{
    width: 100%;
}
  .fixed-whats a{
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .contact{
    padding: 20px 10px;
  }
  .contact-cards{
    padding: 7px 4px;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr))
  }
  .contact-card{
    padding: 5px;
  }
  .contact-card i{
    font-size: 1.2rem;
  }
  .contact .section-title{
    font-size: 1rem;
  }
  .contact .section-subtitle{
    font-size: .6rem;
  }
  .contact-card h3{
    font-size: .8rem;
  }
  .contact-card p{
    font-size: .6rem;
  }
  .contact-link{
    font-size: .5rem;
  }
  .contact-actions .btn-primary,   .contact-actions .btn-outline{
    padding: 6px 10px;
    font-size: .7rem;
  }

  .demo{
    text-align: center;
  }
  .demo-text p{
    /* content: 'Request Demo'; */
    font-size: .7rem;
  }
  .demo-text .btn-primary{
    padding: 5px 10px;
    font-size: .4rem;
  }
  .footer{
    padding: 10px 2% 3px;
  }
  .footer h3{
    font-size: 1rem;
  }
  .footer h4{
    font-size: .8rem;
  }
  .footer a{
    font-size: .6rem;
  }
  .footer p{
    font-size: .6rem;
  }
  .footer h4::after{
    margin-left: auto;
    margin-right: auto;
  }
  

  .footer-container{
    /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) */
    display: flex;
    flex-direction: column;
  }

  .footer-bottom img{
    width: 75px;
  }
  .nav{
    width: 100px;
  }
  .fixed-whats{
    display: none;
  }
  .social-icons a{
      width: 20px;
      height: 20px;
  }
}


@media (prefers-color-scheme: dark) {
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background-color: #fff ;
  }
}
.menu-toggle span {
    background: #fff !important;
    forced-color-adjust: none !important;
}

