body {
  font-family: "Noto Sans Arabic", sans-serif;
  color: #000000;
  background: white;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
:root {
  --main-color: #503499;
  --second-color: #402a78;
}
/* navbar */
.btn-login {
  border: 1px solid #503499;
  border-radius: 30px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--main-color);
  padding: 10px 15px;
  background-color: transparent;
  text-decoration: none; 
}
.btn-sign {
  border: 1px solid #402a78;
  background: var(--second-color);
  border-radius: 30px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0%;
  color: white;
  padding: 10px 15px;
  text-decoration: none; 
}
.navbar-nav li a {
  font-weight: 500;
  font-style: Medium;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-left: 20px;
}
/* hero section */
.hero-section {
  background: linear-gradient(177.12deg, rgb(80 60 132) 71.63%, rgb(116 93 173) 97.61%);
}
.img-hero {
  right: 5%;
  top: 10%;
}
.img-hero2 {
  left: 5%;
  top: 60%;
}
.img-frame {
  left: 0;
  bottom: 0;
}

.hero-section h1 {
  font-weight: 700;
  font-style: Bold;
  font-size: 55px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 40px;
  margin-top: 130px;
}
.hero-section h2 {
  font-weight: 500;
  font-style: Medium;
  font-size: 21px;
  line-height: 33px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
  width: 70%;
}
.img-main {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
}
.img-main2 {
  position: absolute;
  bottom: -50%;
  left: 18%;
}
.btn-home {
  padding: 20px 36px;
  border-radius: 85px;
  border: 1px solid transparent;
  background: #ffffff;
  font-weight: 700;
  font-style: Bold;
/*   font-size: 17px;
 */  line-height: 33px;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  text-decoration: none; 
}
.btn-home2 {
  padding: 20px 36px;
  border-radius: 85px;
  border: 1px solid transparent;
  background: #40287e;
  font-weight: 700;
  font-style: Bold;
/*   font-size: 17px;
 */  line-height: 33px;
  letter-spacing: 0%;
  text-align: right;
  color: white;
  text-decoration: none; 
}
.mt-3.mb-5.mb-md-0 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* مسافة بين الأزرار */
}

/* الأزرار */
.btn-home,
.btn-home2 {
  display: inline-flex;  /* يخلي البلوك ياخد مكانه مضبوط */
  align-items: center;
  justify-content: center;
  white-space: nowrap;   /* يمنع تكسير النص */
  text-align: center;
  flex: 1 1 auto;        /* يخليهم يتمددوا حسب المساحة */
  box-sizing: border-box;
}

/* موبايل */
@media (max-width: 576px) {
  .mt-3.mb-5.mb-md-0 {
    flex-direction: column;
  }
  
  .btn-home,
  .btn-home2 {
    width: 100%;   /* كل زر ياخد صف كامل */
  }
}

.info-sec h2 {
  font-weight: 700;
  font-style: Bold;
  font-size: 37px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--main-color);
  margin-bottom: 20px;
}
.info-sec p {
  font-weight: 400;
  font-size: 23px;
  line-height: 33px;
  letter-spacing: 0%;
  color: #00000075;
}
.img-markting {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.markting-info h3 {
  font-weight: 600;
  font-size: 27px;
  line-height: 33px;
  letter-spacing: 0%;
  color: var(--main-color);
}
.markting-info h4 {
  font-weight: 400;
  font-size: 23px;
  line-height: 33px;
  letter-spacing: 0%;
  text-align: right;
  color: #412d92ab;
}
.margin {
  margin-top: 480px;
  margin-bottom: 100px;
}

.slide-card {
  border-radius: 20px;
  border: 2px solid #0c3c8b;
  background-color: transparent;
  color: var(--main-color);
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}
.active-bg {
  background-color: var(--main-color);
  color: white;
}
.font-h2 {
  font-weight: 700;
  font-style: Bold;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--main-color);
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
  border-radius: 50%;
  background-color: var(--main-color);
  width: 3rem;
  height: 3rem;
}
.code h2 {
  font-weight: 700;
  font-style: Bold;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--main-color);
}
.code p {
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  width: 68%;
}
.code h3 {
  font-weight: 600;
  font-size: 23px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
}
.code-sec {
  background: #f6f5fa;
  border-radius: 20px;
}
.design {
  background: #f6f5fa;
  color: var(--main-color);
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  border-radius: 30px;
  border: 1px solid transparent;
}
.system h3 {
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 167%;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  width: 80%;
}
.system p {
  font-weight: 400;
  font-size: 20px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  width: 90%;
}
.system .design-system {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  background: #5078ff29;
}
.all-design {
  border-radius: 10px;
  background-color: #edecfd;
}
.system h1 {
  font-weight: 700;
  font-style: Medium;
  font-size: 38px;
  line-height: 66px;
  letter-spacing: 0%;
  text-align: center;
  color: var(--main-color);
  width: 60%;
  margin: 150px auto;
}
.info-system h4 {
  font-weight: 600;
  font-size: 25px;
  line-height: 167%;
  letter-spacing: 0%;
  text-align: right;
  color: #0f172a;
}
.system .info-system h2 {
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0%;
  text-align: right;
  color: #0000008f;
}
.system_2 {
  background-color: #fbfbfb;
  margin-top: 150px;
}
.system_2 .design-system {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background: #5078ff29;
}
.system-img .img1 {
  margin-right: 130px;
  padding-top: 100px;
}
.system-img .img2 {
  margin-right: 250px;
  position: absolute;
  top: 80%;
}
.system_2 h3 {
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 167%;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  width: 90%;
}
.system_2 p {
  font-weight: 400;
  font-size: 20px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  width: 90%;
}
.all-design h2 {
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
}
.img-payment {
  top: 25%;
  z-index: -1;
}
.img-payment2 {
  top: -7%;
}
.img-payment3 {
  top: 50%;
  right: 30%;
}
.img-payment4 {
  bottom: 20%;
  right: 30%;
}
.img-payment5 {
  bottom: 30%;
  left: 10%;
}
.system_3 {
  background-color: #f9f9f9;
}

.img-earth {
  right: 10%;
  top: 20%;
}

.card {
  background-color: #f6f6f6;
  border-radius: 20px;
  border: 1px solid transparent;
  height: 100%;
}
.card-name {
  background-color: #311b6b;
  border-radius: 20px;
}
.new-card-name{
    background-color: #6443B9;
  border-radius: 20px;

}
.card-bg {
  background-color: white;
  border-radius: 5px;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0%;
}
.img-card {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #d9d9d973;
}
.card h3 {
  font-weight: 800;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
}
.card h2 {
  font-family: "Cantata" One;
  font-weight: 400;
  font-size: 40px;
  line-height: 30px;
  letter-spacing: 0%;
}
.card label {
  font-weight: 500;
  font-style: Medium;
  font-size: 10px;
  line-height: 30px;
  letter-spacing: 0%;
}
.btn-form {
  width: 100%;
  border: 1px solid #00000038;
  background-color: black;
  font-weight: 500;
  font-style: Medium;
  font-size: 10px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
  color: white;
  border-radius: 5px;
  padding: 5px;
}

.card h5 {
  font-weight: 500;
  font-style: Medium;
  font-size: 10px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
  color: white;
}

.margin3 {
  margin-top: 180px;
}
.margin3 h1 {
  font-weight: 700;
  font-style: Bold;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: var(--main-color);
}
.app {
  margin-top: 180px;
}
.app h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: -1.26px;
  text-transform: uppercase;
  color: #402a78;
}
.app h2 {
  font-weight: 600;
  font-size: 30px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: center;
  width: 80%;
}
.img-item {
  top: 70%;
}
.shop {
  background: linear-gradient(90deg, #503499 0%, #885ff3 100%);
  border-radius: 20px;
  border: 1px solid transparent;
  margin-top: 100px;
}
.shop h1 {
  font-weight: 700;
  font-style: Bold;
  font-size: 33px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: right;
  color: white;
}
.shop h2 {
  font-weight: 600;
  font-size: 19px;
  line-height: 180%;
  letter-spacing: 0%;
  text-align: right;
  color: white;
  width: 50%;
}
.btn-shop {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 21px;
   
  line-height: 33px;
  letter-spacing: 0%;
  text-align: right;
  color: var(--main-color);
  background-color: white;
    text-decoration: none; 

}
.now {
  background: #000000c7;
  border-radius: 20px;
}
.now h1 {
  font-weight: 900;
  font-style: Black;
  font-size: 19px;
  line-height: 100%;
  letter-spacing: 0%;
  color: white;
}
.now h2 {
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  color: white;
}
.now h3 {
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: white;
}
.btn-now {
  border: 2px solid #fb8c00;
  background: #575757;
  border-radius: 50px;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: white;
  padding: 10px 20px;
      text-decoration: none; 

}
.display{
  display: flex;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(180deg, #885ff3 0%, #685890 100%);
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  transform: none !important;
}
.bg-search {
  background: linear-gradient(
    3.15deg,
    rgba(255, 255, 255, 0.98) -82.1%,
    rgba(255, 255, 255, 0.8036) 19.38%,
    rgba(243, 245, 249, 0.98) 93.79%
  );
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.search-sec {
  border-radius: 20px;
  background-color: #f3f5f9;
}
.btn-search {
  background-color: var(--second-color);
  border-radius: 50px;
  font-weight: 800;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #ffffff;
  padding: 10px 20px;
  border: 1px solid transparent;
}
.btn-search2 {
  background-color: #0c3c8b;
  border-radius: 50px;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #ffffff;
  padding: 10px 30px;
  border: 1px solid transparent;
}
.info-search h2{
font-weight: 800;
font-size: 19px;
line-height: 100%;
letter-spacing: 0%;
color: #0C3C8B;
}
.info-search p{
font-weight: 500;
font-style: Medium;
font-size: 13px;
line-height: 100%;
letter-spacing: 0%;
text-align: right;
color: #000000B8;
}
.img-man{
  left: 28%;
}

.new-card-name h5{
font-weight: 700;
font-style: Bold;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-align: center;
color: white;
}
.new-card-name h6{
font-weight: 500;
font-style: Medium;
font-size: 15px;
line-height: 25px;
letter-spacing: 0%;
text-align: center;
color: white;

}
.move .new-text{
font-weight: 800;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-align: center;
color: black;
}
.sucess h3{
font-weight: 500;
font-style: Medium;
font-size: 20px;
line-height: 110.00000000000001%;
letter-spacing: 0%;
text-align: center;
color: var(--main-color);
}
.sucess h4{
font-weight: 700;
font-style: Bold;
font-size: 25px;
line-height: 110.00000000000001%;
letter-spacing: 0%;
text-align: center;
color: #000000;
}
















.testimonials-title {
font-weight: 700;
font-style: Bold;
font-size: 40px;
line-height: 47.25px;
letter-spacing: 0%;
text-transform: uppercase;
color: white;
}

.testimonials-subtitle {
font-weight: 400;
font-size: 16px;
line-height: 24px;
letter-spacing: 0%;
text-align: center;
color: white;
  margin: 0 auto;
}

/* Testimonials Carousel Container */
.testimonials-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-carousel {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Testimonial Card Styles */
.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  position: absolute;
  overflow: hidden;
  width: 770px;
  height: 357px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform-style: preserve-3d;
}

/* Card Positions */
.testimonial-card[data-index="0"] {
  transform: translateX(-200px) scale(0.8) rotateY(15deg);
  z-index: 1;
  opacity: 0.7;
}

.testimonial-card[data-index="1"] {
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 3;
  opacity: 1;
}

.testimonial-card[data-index="2"] {
  transform: translateX(200px) scale(0.8) rotateY(-15deg);
  z-index: 1;
  opacity: 0.7;
}

/* Center card hover effect */
.testimonial-card[data-index="1"]:hover {
  transform: translateX(0) scale(1.05) rotateY(0deg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}
.sucess{
  margin: 200px 0px;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.testimonial-card[data-index="1"]:hover::before {
  left: 100%;
}

.testimonial-image {
  margin-bottom: 25px;
  position: relative;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.testimonial-card[data-index="1"]:hover .testimonial-image img {
  transform: scale(1.05);
}

.testimonial-name {
font-weight: 700;
font-size: 31.25px;
line-height: 47.25px;
letter-spacing: 0%;
text-transform: uppercase;
color: #232233;
}

.testimonial-position {
font-family: Josefin Sans;
font-weight: 600;
font-size: 20px;
leading-trim: NONE;
line-height: 30px;
letter-spacing: 0%;
text-align: center;
text-transform: uppercase;
color: #232233;
}

.testimonial-content {
  position: relative;
}

.testimonial-content p {
font-family: Tajawal;
font-weight: 400;
font-style: Regular;
font-size: 16px;
leading-trim: NONE;
line-height: 24px;
letter-spacing: 0%;
text-align: center;
color: #6C6C72;
}

/* Navigation Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.dot.active {
  background: #ffffff;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.dot.active::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.title {
  color: var(--main-color);
font-weight: 600;
font-size: 50px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

.slider-section {
  position: relative;
}
.slider-section{
  margin: 150px 0px;
}
.video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.carousel-btn {
  position: absolute;
  bottom: -70px;
  width: 3rem;
  height: 3rem;
  background: transparent;
border: 1px solid #0000004F;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 24px;
  cursor: pointer;
}

.prev-btn {
  left: 60px;
}

.next-btn {
  left: 0;
}

.card-slide {
  min-width: 350px;
  transition: transform 0.4s ease;
}
.man-card{
  position: relative;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 10px;
background-color: white;
padding: 5px 15px;
left: 30%;
top: 20%;
font-weight: 700;
font-style: Bold;
font-size: 12px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #0C3C8B;
}
.man-card2{
  position: relative;
  border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 10px;
background-color: white;
padding: 5px 15px;
right: 0%;
bottom: 40%;
font-weight: 700;
font-style: Bold;
font-size: 12px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #2D8B0C;
}
.man-card3 {
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 10px;
    background-color: white;
    padding: 5px 15px;
    left: 20%;
    bottom: 20%;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #8C1A92;
}

.man-card3::after , .man-card2::after , .man-card::after {
    content: "";
    position: absolute;
    bottom: -8px; 
    right: 15px; 
    width: 0;
    height: 0;
    border-left: 8px solid transparent; 
    border-right: 8px solid transparent;
    border-top: 8px solid white; 
}

/* Contact Box */
.contact-card {
  background: #fff;
  top: 200%;
  left: 0;
  right: 0;
  padding: 80px;
  position: absolute;
}
.margin-box{
  margin-bottom: 200px;
}
.margin-right{
  margin-right: 300px;
}
.contact-card .icon-box {
  width: 4rem;
  height: 4rem;
  background: #5956E9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
 
}
.contact-card p{
font-weight: 600;
font-size: 25px;
leading-trim: NONE;
line-height: 37.5px;
letter-spacing: 0%;
text-transform: lowercase;
color: #232233; 
}
.contact-card .line {
  width: 5px;
  height: 117px;
  background: #6C6C72;
  margin: 0px 50px;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, rgba(48, 46, 169, 0.1) 0%, rgba(233, 250, 255, 0) 100%);
  min-height: 40vh;       /* أفضل من height الثابت */
  color: var(--main-color) !important;
  padding: 40px 20px;
}

.footer h6 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--main-color);
}

.footer p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
  color: var(--main-color);
}

.footer li a {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  text-align: right;
  color: var(--main-color) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer li a:hover {
  color: #6f42c1 !important;
}

.footer img {
  width: 50px;
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; /* بدل البوردر */
}

.social-icons a {
  color: #6f42c1;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #40287e;
}

/* Newsletter */
.footer .newsletter {
  border: 1px solid #6f42c1;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  max-width: 400px;
  margin: auto;
}

.footer .newsletter input {
  border: none;
  flex: 1;
  padding: 10px 15px;
  outline: none;
}

.footer .newsletter button {
  background: #5956E9;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 0 25px 25px 0;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer .newsletter button:hover {
  background: #5a34a0;
}

/* Responsive */
@media (max-width: 576px) {
  .footer h6 { font-size: 18px; }
  .footer li a { font-size: 16px; }
  .footer { padding: 30px 15px; }
  .social-icons { gap: 10px; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .testimonials-title {
    font-size: 2rem;
  }

  .testimonials-carousel {
    height: 400px;
  }

  .testimonial-card {
    width: 300px;
    height: 380px;
    padding: 25px;
  }

  .testimonial-card[data-index="0"] {
    transform: translateX(-150px) scale(0.75) rotateY(20deg);
  }

  .testimonial-card[data-index="2"] {
    transform: translateX(150px) scale(0.75) rotateY(-20deg);
  }

  .testimonial-card[data-index="3"] {
    transform: translateX(300px) scale(0.5) rotateY(-40deg);
  }

  .testimonial-card[data-index="4"] {
    transform: translateX(-300px) scale(0.5) rotateY(40deg);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .testimonials-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }

  .testimonial-card {
    width: 280px;
    height: 350px;
    padding: 20px;
  }

  .testimonials-carousel {
    height: 380px;
  }

  .testimonial-card[data-index="0"] {
    transform: translateX(-100px) scale(0.7) rotateY(25deg);
  }

  .testimonial-card[data-index="2"] {
    transform: translateX(100px) scale(0.7) rotateY(-25deg);
  }

  .testimonial-card[data-index="3"],
  .testimonial-card[data-index="4"] {
    display: none;
  }

  .testimonial-image img {
    width: 70px;
    height: 70px;
  }

  .testimonial-name {
    font-size: 1.2rem;
  }

  .testimonial-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 40px 0;
  }

  .testimonials-carousel {
    height: 320px;
  }

  .testimonial-card {
    width: 250px;
    height: 300px;
    padding: 15px;
  }

  .testimonial-card[data-index="0"],
  .testimonial-card[data-index="2"] {
    display: none;
  }

  .testimonial-card[data-index="1"] {
    transform: translateX(0) scale(1) rotateY(0deg);
  }

  .testimonial-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

@media (max-width: 798px) {
  .img-code img {
    width: 100%;
  }
  .system-img .img1 {
    margin-right: 0px;
    padding-top: 50px;
  }
  .img-main {
    width: 100%;
  }
  .img-main2 {
    width: 50%;
    left: 0;
  }
  .img-frame {
    top: 0;
  }
  .img-hero {
    top: 0;
    right: 0;
  }
  .img-hero2 {
    top: 100%;
  }
  .img1 {
    width: 100%;
  }
  .img-earth {
    width: 30%;
  }
  .img-earth2 {
    width: 20%;
  }
  .img-item2 {
    width: 50%;
    margin-top: 200px !important;
  }
  .img-item {
    margin-top: 200px !important;
  }
  .display{
  display: block;
}
.img-mobile , .img-payment2 , .img-payment {
  width: 100%;
  
}
.contact-card {
position: relative;
width: 100%;
}
.contact-box{
  display: none;
}
.img-man{
  left: 5%;
}
.man-card{
  left: 5%;
}
.footer{
  height: max-content;
}
}


.mobile-p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* مسافة بين الأزرار */
  justify-content: center;
}

.mobile-p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  flex: 1 1 auto;   /* يسمح للأزرار يتمددوا بشكل متساوي */
  text-align: center;
  box-sizing: border-box;
}

/* Media Query for mobile screens */
@media (max-width: 767.98px) {

    /* * Step 1: Target the parent container.
     * This selector targets the column div that directly contains the '.img-mobile'.
     * This makes the selector specific and avoids affecting other columns.
    */
    .col-md-6:has(> .img-mobile) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
         min-height: 250px; /* Ensures the container has enough space */
        margin-bottom: 2rem; /* Adds space below the image section */
    }

    /*
     * Step 2: Reset the position of ALL images inside that container.
     * The `!important` is used to override the `position-absolute` class from Bootstrap.
    */
    .col-md-6:has(> .img-mobile) > img {
        position: static !important; /* This is the key to fixing the overlap */
        width: auto;
        max-width: 75px; /* A consistent size for the small icons */
        height: auto;
        margin: 0; /* Reset any default margin */
    }

    /* * Step 3: Make the main image larger and place it first.
    */
    .col-md-6:has(> .img-mobile) > .img-mobile {
        max-width: 180px; /* Make it the biggest image */
        order: -1; /* This flexbox property ensures it appears first */
    }
}

