@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");

body {
  /* direction: rtl; */
  font-family: "Almarai", serif;
}
/* Navbar Styles */
nav {
  z-index: 520;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #19182580 !important;
}

/* زرار التوجّل */
.navbar-toggler {
  border: none !important;
  padding: 6px 10px !important;
  margin-left: auto; /* يروح أقصى اليمين */
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: none;
  background-color: #000;
  width: 30px;
  height: 3px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  background-color: #000;
  height: 3px;
  width: 100%;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

/* زرار التحميل */
.download {
  width: 134px;
  height: 48px;
  border-radius: 8px;
  background-color: #5cdeec;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  border: none;
  transition: background 0.3s ease-in-out;
}

.download:hover {
  background-color: #5cdeec;
}

.navbar-brand {
  display: flex;
  align-items: center;
  width: 125px; /* حجم العرض اللي انت عايزه */
}

.navbar-brand img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

/* ---------- Mobile Navbar Menu (Neutral Charcoal Theme) ---------- */
@media (max-width: 768px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 90vh; /* full screen */
    background: #191825; /* dark charcoal */
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
    transition: all 0.4s ease-in-out;
    z-index: 999;
    display: none;
    flex-direction: column !important;
    text-align: right;
    overflow: hidden !important; /* لا سكرول داخلي */
  }

  .navbar-toggler {
    z-index: 1000;
    border: none !important;
  }

  /* للحالة العادية (الإنجليزي) */
  html[dir="ltr"] .navbar-toggler {
    margin-left: auto; /* يخليه في اليمين */
    margin-right: 0;
  }

  /* للحالة العربي */
  html[dir="rtl"] .navbar-toggler {
    margin-right: auto; /* يخليه في الشمال */
    margin-left: 0;
  }
  .navbar-collapse.show {
    display: flex;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
  }

  .navbar-nav .nav-link,
  .navbar-nav .nav-item a {
    font-size: 20px;
    font-weight: 700;
    color: #fff !important; /* make all links white, including Eng */
    transition: all 0.3s ease-in-out;
    display: block;
    width: 100%;
  }

  .navbar-nav .nav-link:hover {
    color: #5cdeec !important; /* orange hover */
    padding-right: 10px;
  }

  /* Toggler default = black */
  .navbar-toggler {
    z-index: 1000;
    border: none !important;
  }

  .navbar-toggler-icon,
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    background-color: #000 !important;
    transition: background-color 0.3s ease;
  }

  /* When menu open → toggler turns white */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    background-color: #fff !important;
  }

  /* Mobile Download button inside menu */
  .download {
    width: 100%;
    margin-top: 30px;
    background-color: #5cdeec;
    font-size: 18px;
    color: #fff;
  }

  .download:hover {
    background-color: #5cdeec;
  }
}
body.menu-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

header {
  width: 100%;
  height: 90vh;
  background-color: rgba(8, 211, 187, 0.08);
  position: relative;
  display: flex;
  align-items: center;

  .row{
    height: 90vh;
  }
  h2 {
    font-weight: 700;
    font-size: 64px;
    color: rgba(0, 0, 0, 1);
    span {
      color: rgba(92, 222, 236, 1);
    }
  }

  p {
    font-weight: 400;
    font-size: 24px;
    color: rgba(92, 92, 92, 1);
    line-height: 204%;
  }
  .col-md-5 {
    display: flex;
  }
  .item-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

  }

  .item-img img {
    max-height: 600px;
    object-fit: contain; 
  }

  @media (max-width: 992px) {
    .row {
      height: auto !important;
    }
    h2 {
      font-size: 50px;
    }
    p {
      font-size: 20px;
      text-align: justify;
      text-align-last: center;
    }
  }

  @media (max-width: 768px) {
    height: auto;
    padding: 60px 20px;
    text-align: center;

    .row {
      flex-direction: column-reverse;
    }

    h2 {
      font-size: 36px;
    }

    p {
      font-size: 18px;
      margin: 20px 0;
    }

    button {
      padding: 12px 28px;
      font-size: 16px;
    }

    .item-img {
      margin-bottom: 20px;
      img {
        max-width: 80%;
        max-height: 300px;
        margin: 0 auto;
        display: block;
      }
    }
  }

  @media (max-width: 480px) {
    h2 {
      font-size: 28px;
    }
    p {
      font-size: 16px;
    }
    button {
      padding: 10px 24px;
      font-size: 14px;
    }
  }
}

.app {
  h4 {
    font-weight: 800;
    font-size: 40px;
    color: #0f172a;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: #0f172a;
    text-align: justify;
  }

  @media (max-width: 768px) {
    h4 {
      font-size: 28px;
    }
    .row {
      flex-direction: column-reverse !important;
    }
    p {
      font-size: 16px;
      text-align: right;
    }
  }

  @media (max-width: 480px) {
    h4 {
      font-size: 22px;
    }

    p {
      font-size: 14px;
    }
  }
}

.features {
  .row {
    width: 85%;
  }
  h3 {
    font-weight: 800;
    font-size: 56px;
    color: #0f172a;
  }
  .item-img {
    width: 164px;
    height: 164px;
    margin: auto;
  }
  .item {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    h4 {
      font-weight: 700;
      font-size: 24px;
      color: #050038;
    }
    p {
      font-weight: 400;
      font-size: 18px;
      color: #666c89;
      text-align: center;
      text-align-last: center;
      /*text-align-last: center; */
      direction: rtl;
    }
  }
}
@media (max-width: 768px) {
  .features {
    .item-img {
      width: 100px;
      height: 100px;
    }
    br {
      display: none;
    }
    h3 {
      font-size: 35px !important;
    }
  }
}

.join {
  overflow: hidden;

  h3 {
    font-weight: 700;
    font-size: 46px;
    color: rgba(37, 37, 37, 1);
    span {
      color: rgba(92, 222, 236, 1);
    }
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: #2b2b2b;
  }
  button {
    padding: 16px 60px;
    background-color: transparent;
    border: 2px solid #2e2f35;
    border-radius: 8px;
    color: #2e2f35;
    font-size: 18px;
    transition: all 0.3s ease;
  }
}

@media (max-width: 768px) {
  .join h3 {
    font-size: 30px !important;
  }

  .join p {
    font-size: 14px;
    text-align: justify;
    text-align-last: center;
  }
  .join {
    button {
      padding: 10px 24px;
      font-size: 14px;
    }
  }
  .join .row {
    /* flex-direction: column-reverse !important; */
    gap: 2rem;
  }
}
.contact-section {
  background: #e6fafa;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.contact-section .container {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-title {
  font-family: 'Almarai', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 30px;
  color: #000;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* جميع الحقول بنفس العرض والارتفاع */
.form-row input,
.form-row select,
textarea {
  flex: 1;
  min-width: 150px;
  height: 50px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Almarai', sans-serif;
}
select{
  color: #ccccccbf;
;
}
::placeholder ,select option {
  color: #ccccccbf;
}
/* الأقسام */
.department {
  padding-left: 15px !important ;
  cursor: pointer;
  
}
.department::-webkit-calendar-picker-indicator {
  margin-left: 10px !important;      /* Safari/Chrome */
}
/* الرسالة */
textarea {
  resize: none;
  height: 120px;
}

/* زر الإرسال */
.btn-submit {
  background: #42dff2;
  border: none;
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #27b5ca;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

select option{
  color:red !important;
}
footer {
  background-color: rgba(2, 0, 2, 1);
}

.footer h4 {
  font-weight: 400;
  font-size: 16px;
  color: #fefefe;
}

.footer p {
  font-weight: 400;
  font-size: 14px;
  color: #fefefe;
}

.footer .icons span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(217, 217, 217, 0.3);
}

.footer .buttons button {
  border: solid 1px rgba(255, 255, 255, 0.8);
}

.footer a {
  text-decoration: none;
}
@media (max-width: 768px) {
  .connect {
    width: 100%;
    text-align: center !important;
  }
  .icons {
    margin: auto !important;
    margin-top: 20px !important;
  }
  .one h4 {
    margin-left: 0%;
  }
  #how ol {
    padding: 0 !important;
  }
}
.social-icons {
  .icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    text-decoration: none;

    &:hover {
      transform: scale(1.2);
    }
  }

  .whatsapp i {
    color: #25d366;
  }

  .facebook i {
    color: #1877f2;
  }

  .instagram i {
    background: radial-gradient(
      circle at 30% 107%,
      #fdf497 0%,
      #fdf497 5%,
      #fd5949 45%,
      #d6249f 60%,
      #285aeb 90%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .linkedin i {
    color: #0077b5;
  }
}
.footer h6 {
  font-weight: 500;
  color: white;
  font-size: 16px;
  a {
    text-decoration: none;
    color: #4584c5;
    font-weight: 700;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .footer h6 {
    font-size: 12px;
  }
}

.privacy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  line-height: 1.9;
}

.privacy-container h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #124261;
  border-bottom: 2px solid #ff8f00;
  padding-bottom: 10px;
}

.privacy-section {
  margin-bottom: 30px;
}

.privacy-section h2 {
  font-size: 22px;
  color: #b20404;
  margin-bottom: 15px;
}

.privacy-section ul {
  list-style: disc;
  padding-right: 20px;
}

.privacy-section li {
  margin-bottom: 10px;
  color: #333;
}

@media (max-width: 600px) {
  .privacy-container {
    padding: 20px;
    margin: 20px;
  }

  h1 {
    font-size: 24px;
  }

  .privacy-section h2 {
    font-size: 20px;
  }
}
.text-last-start {
  text-align-last: start !important;
  -moz-text-align-last: start !important; /* Firefox support */
}



/* ===== Animations for Header Section ===== */
/* ========== Animations ========== */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatImage {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Apply to Elements */
header h2 {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards 0.3s;
}

header p {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards 0.6s;
}

header .item-img img {
  opacity: 0;
  animation: fadeSlideRight 1s ease forwards 0.9s, 
             floatImage 4s ease-in-out infinite 2s;
}
/* ========== Animations for .app section ========== */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatImage {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Apply to elements inside .app */
.app h4 {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards 0.3s;
}

.app p {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards 0.6s;
}

.app .item-img img {
  opacity: 0;
  animation: fadeSlideLeft 1s ease forwards 0.9s,
             floatImage 4s ease-in-out infinite 2s;
}
