.header-content {
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-menu .links li a {
  color: #231f20 !important;
}

.lang-btn {
  color: black !important;
}

.lang-btn svg {
  color: black !important;
}

.mobile-menu-icon i {
  color: black !important;
}

.nav-menu .links {
  margin-top: 0px !important;
}

.main-header img {
  width: 69px !important;
}

/* hero */
.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-content {
  height: 100%;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-inline-start: 10%;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-weight: 500;
  font-size: clamp(30px, 5vw, 65px);
  color: white;
  margin-bottom: 20px;
}

.hero-content p {
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0px;
  color: #ffffff;
  line-height: 165%;
  width: 90%;
}

.hero .buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero .service {
  box-shadow: 0px 0px 4px 0px #00000026;
  background-color: #8c63cd;
  color: white;
  font-weight: 600;
  font-size: 20px;
  border-radius: 47px;
  padding: 10px 35px;
  border: none;
  outline: none;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hero .contact-btn {
  box-shadow: 0px 0px 4px 0px #00000026;
  background-color: transparent;
  color: white;
  font-weight: 600;
  font-size: 20px;
  border-radius: 47px;
  padding: 10px 35px;
  border: 2px solid white;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hero .service:hover {
  background-color: #7a56b5;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero .contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}

/* success-partners */
.success-partners {
  margin-bottom: 90px;
}

.success-partners .section-header h2 {
  font-weight: 600;
  font-size: 35px;
  line-height: 43.9px;
  letter-spacing: 0%;
  color: #8c63cd;
  margin-bottom: 15px;
}

.success-partners .section-header p {
  color: #737373;
  font-weight: 300;
  font-size: 31px;
  line-height: 35px;
  letter-spacing: 0%;
  margin-bottom: 30px;
}

.cursole-container {
  margin-bottom: 30px;
}

.swiper {
  width: 100% !important;
  padding: 40px 0;
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.swiper-slide {
  width: calc(100% / 6);
  /* بيقسم المساحة على 6 صور */
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 90%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #eee;
}

.custom-pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* تنسيق النقط (Pagination) زي اللي في صورتك */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #8a4fff !important;
  /* اللون البنفسجي */
  border-radius: 5px !important;
}

/*story*/
.story {
  padding-top: 90px;
  margin-bottom: 90px;
  background-repeat: no-repeat;
}
[dir='rtl'] .story {
  background-position: top right;
}

[dir='ltr'] .story {
  background-position: top left;
}
.story .section-header {
  margin-bottom: 85px;
}

.story .section-header h2 {
  font-weight: 600;
  font-size: 35px;
  line-height: 43.9px;
  letter-spacing: 0%;
  color: #8c63cd;
  margin-bottom: 15px;
}

.story .section-header p {
  font-weight: 300;
  font-size: 31px;
  line-height: 35px;
  letter-spacing: 0%;
  color: #a2a0a0;
}

.story .section-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story .section-content .content {
  flex: 1;
}

.story .section-content .image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  position: relative;
}

.story .section-content img {
  max-width: 85%;
  height: auto;
  border-radius: 25px;
  position: relative;
  object-fit: cover;
  /* بدل absolute */
  top: 0;
  left: 0;
}

.story .section-content .image-container .white {
  position: absolute;
  top: -21px;
  left: 23px;
  width: 92%;
  height: 112%;
  background-color: white;
  border-radius: 25px;
  z-index: -1;
}

.story .section-content .image-container .purple {
  position: absolute;
  top: -43px;
  left: 23%;
  width: 78%;
  height: 92%;
  background-color: #8E64CD;
  border-radius: 25px;
  z-index: -2;
}
.blur-card{
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 30%;
    background-color: #8E64CD;
    filter: blur(312.8px);
}

.story .section-content h1 {
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0px;
  margin-bottom: 30px;
}

.story .section-content p {
  font-weight: 400;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0px;
  color: #595959;
  line-height: 180%;
}

.story .section-content a {
  background-color: #8c63cd;
  display: block;
  color: white;
  border: none;
  text-align: center;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  width: 30%;
  margin-top: 25px;
  padding: 10px 0px;
  text-decoration:none;
  cursor: pointer;
}
.story .section-content a:hover,#morebtn {
  background-color: #7a56b5;

}
/*services*/
.services {
  margin-bottom: 90px;
  background-repeat: no-repeat;
}
[dir='rtl'] .services {
  background-position: top right;
}

[dir='ltr'] .services {
  background-position: top left;
}
.section-header {
  margin-bottom: 20px;
}

.services .section-header button {
  background-color: #8e64cd;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  width: 15%;
  padding: 16px 0px;
}

.services .section-header .section-details {
  display: flex;
  justify-content: space-between;
}

.services .section-header h2 {
  font-weight: 600;
  font-size: 35px;
  line-height: 43.9px;
  letter-spacing: 0%;
  color: #8c63cd;
}

.services .section-header p {
  font-weight: 300;
  font-size: 31px;
  line-height: 35px;
  letter-spacing: 0%;
  color: #737373;
  width: 65%;
}

/* حاوية الكارت الأساسية */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.card {
  height: 485px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
}

.card.computer {
  color: white;
  max-width: 100%;
  
}


.arrow-bg{
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.card img{
  position: absolute;
  top: 66px;
  left: 66px;
  width: 100%;
  /* height: auto; */
  z-index: 1;
}


.content{
  position: relative;
  z-index: 2;
}


.card.home {
  color: white;
  max-width: 100%;
}
.card.internet {
  color: white;
}
.card .content {
  position: absolute;
  top: 15px;
}
.card .content {
  padding: 0px 10px;
}
.content h3 {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  margin-bottom: 5px;
}
.content p {
  font-size: 16px;
  font-weight: 300;
}
/* السهم بياخد اللون الأساسي للكارت */
.arrow-icon {
  position: absolute;
  top: 15px;
  inset-inline-end: 15px;
  background-color: #8e64cd;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(15px);
  border: 1px solid white;
  cursor: pointer;
}

.shape-layer {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.shape-layer svg {
  max-width: 100%;
  width: 45%;
}

.person-layer {
  position: absolute;
  bottom: 0;
  max-width: 100%;
  z-index: 2;
  left: 83px;
}

.card,
.person-layer,
.arrow-icon,
.shape-layer {
  transition: all 0.4s ease-in-out;
}

/* 1. رفع الكارت وإضافة ظل */
.card:hover {
  transform: translateY(-10px);
  /* الكارت يترفع لفوق 10 بكسل */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  /* ظل ناعم تحت الكارت */
}

/* 3. تأثير على الشكل البنفسجي (اختياري) */
.card:hover .shape-layer {
  opacity: 0.7;
  /* لونه يوضح أكتر */
  transform: scale(1.1) rotate(5deg);
  /* يلف ويكبر حاجة بسيطة */
}

/* 4. تحريك السهم */
.card:hover .arrow-icon {
  background-color: #333;
  /* ممكن تغيري لونه للأسود مثلاً عند الهوفر */
  transform: scale(1.1);
}

/*contact*/
.contact {
  margin-bottom: 50px;
  background-image: url('../assets/arrow.png');
  background-repeat: no-repeat;
}
[dir='rtl'] .contact {
  background-position: top right;
}

[dir='ltr'] .contact {
  background-position: top left;
}
.contact .section-header h2 {
  font-weight: 600;
  font-size: 35px;
  line-height: 43.9px;
  letter-spacing: 0%;
  color: #8c63cd;
}

.contact .section-header p {
  font-weight: 300;
  font-size: 31px;
  line-height: 35px;
  letter-spacing: 0%;
  color: #737373;
  width: 71%;
}

.contact .section-content {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact .section-content .contact-form {
  background-color: #ffffff;
  border-radius: 25px;
  padding: 20px;
  flex: 1;
  min-width: 278px;
}

.contact .section-content .contact-form button {
  background-color: #8e64cd;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  width: 30%;
  padding: 15px 0px;
}

.contact .section-content .img-container {
  flex: 1;
  min-width: 278px;
  display: flex;
  justify-content: center;
}

.contact .section-content .contact-form .input {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  width: 100%;
}

.contact .section-content .contact-form label {
  font-size: 20px;
  font-weight: 600;
}

.contact .section-content .contact-form .input input {
  width: 100%;
  padding: 25px;
  border: 1px solid #000000cc;
  border-radius: 15px;
  outline: none;
}

.contact .section-content .contact-form input::placeholder {
  font-weight: 300;
  font-size: 20px;
  line-height: 29.3px;
}

.contact .section-content .contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #000000cc;
  border-radius: 15px;
  outline: none;
  height: 200px;
}
.contact .section-content .contact-form textarea::placeholder {
  font-weight: 300;
  font-size: 20px;
  line-height: 29.3px;
}
.contact img {
  max-width: 100%;
  /* أهم سطر عشان الصورة متخرجش بره الحاوية */
  height: auto;
  border-radius: 25px;
}

@media (max-width: 1023px) {
  /* للتابلت */
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 عمود */
  }
}

/* --- Responsive (Mobile) --- */
@media (max-width: 992px) {
  .mobile-menu-icon {
    display: block;
  }

  .nav-menu {
    display: none;
    /* مخفية في الموبايل */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #eee;
  }

  .nav-menu.active {
    display: block;
  }

  /* تظهر عند الضغط */

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* 2. الموبايل (أقل من 768px) */
@media (max-width: 767px) {
  .first-row {
    flex-direction: column;
    /* تحويل الاتجاه لرأسي */
    justify-content: center;
    text-align: center;
  }

  .first-row .col1,
  .first-row .col2,
  .first-row .col3,
  .first-row .col4 {
    width: 100%;
    /* العمود ياخد العرض كامل */
    margin-bottom: 30px;
  }

  .first-row .col4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* يخلي الكتلة كلها في نص الصفحة */
    text-align: right;
  }

  .first-row .col4 svg {
    flex-shrink: 0;
    /* يمنع انضغاط الأيقونة */
    width: 20px;
    /* توحيد المقاس */
    height: 20px;
    display: block;
    min-width: 20px;
  }

  .social-icons {
    justify-content: center;
  }

  .second-row {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .left-content {
    justify-content: center;
  }

  .col4 div {
    display: flex;
    align-items: center;
    width: 280px;
    gap: 15px;
    margin-bottom: 12px;
  }

  .story .section-content {
    flex-direction: column;
    /* النص والصورة يصطفوا عمودي */
    gap: 20px;
    /* مسافة بين النص والصورة */
  }

  .story .section-content img {
    max-width: 100%;
    /* الصورة تاخد العرض كامل */
  }

  .story .section-content .white,
  .story .section-content .purple {
    display: none;
  }

  .services .section-header p {
    width: 100%;
  }

  .grid-container {
    grid-template-columns: 1fr;
    /* عمود واحد */
  }

  .hero .buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero button {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .hero-content {
    width: 88%;
    justify-content: center;
    align-items: center;
    margin-inline-start: 0px;
  }
  .hero {
    align-items: center;
    justify-content: center;
  }
  .services .section-header .section-details {
    flex-direction: column;
    gap: 20px;
  }
  .services .section-header button {
    width: 100%;
    margin-bottom: 20px;
  }
  .card img{
    top:unset;
    left:0;
    bottom:-37px;
    right:-68px;
  }
}
/* تعديل الاتجاهات */
.rtl .dropdown-content {
  right: 0;
}

.ltr .dropdown-content {
  left: 0;
}
