html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family: "Tajawal", sans-serif;
    direction: rtl;
    background-color: #fbfbfb;
}
a{
    text-decoration: none;
    color: black;
}
:root{
    --primary-color:#462f95;
    --secondary-color: #f57923;
    --third-color:#f9d746;
}
.whatsapp{
    position: fixed;
    right: 20px;
    bottom: 25px;
    border-radius: 50%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    z-index: 11;
    animation: 1.5s ease-out infinite animate-pulse;
    font-size: 1rem; 
    color: white;
    padding: 12px;
    border-radius: 50%; 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; 
    transition: .4s all ease-in-out;
}
.whatsapp::before{
    position: absolute;
    content: "";
    font-size: 16px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #E82C0C;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    right: 0px;
    color: white;

}

.whatsapp {
    background-color: #25D366;
    width: 60px;
    font-size: 40px;
}
.whatsapp:hover{
    color: white;
    transform: translateY(-5px);
}
@keyframes animate-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(119 ,140,204,.4)
    }

    5% {
        transform: scale(1.01)
    }

    15% {
        transform: scale(1)
    }

    70% {
        box-shadow: 0 0 0 20px rgba(119 ,140,204,0)
    }

    100% {
        box-shadow: 0 0 0 40px rgba(119 ,140,204,0)
    }
}
.secondary{
    color: var(--secondary-color);
}
.primary{
    color: var(--primary-color);
}
::selection {
    color: white;
    background: var(--primary-color);
  }
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}
.primary-btn{
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
}
.secondary-btn{
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
}
/* Styling the buttons */
.btn{
    font-weight: 600;
}
.btn-box {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Space between buttons */
    max-width: 200px;
    margin-top: 30px;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

}   

/* First button aligned to the right */
.btn-right {
    width: fit-content;
    padding: 5px 25px;
    align-self: flex-start;
    text-align: center;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

}

/* Second button aligned to the left */
.btn-left {
    width: fit-content;
    padding: 5px 25px;
    align-self: flex-end;
    text-align: center;
}

/* Third button spanning full width */
.btn-full {
    width: 250px;
    margin: auto;
    text-align: center;
}
header {
    position: relative;
    top: 20px;
    right: -50%; /* Initially off-screen to the right */
    width: 100%;
    z-index: 1000;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 
}

header .navbar-toggler{
    margin-left: 50px;
    font-size: 30px;
}
/* Header visible state */
.btn-right.scrolled{
    transform: translateY(43px);
}
.btn-box.scrolled{
    transform: translateY(-40px);
}
header.scrolled {
    right: 0; /* Move the header into view when scrolled */
}
.header-section {
    margin-top: 100px;
}
.header-box{
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 
    transform: translateY(-100px);
    margin-right: 20px;
    
}
.header-box.scrolled{
    transform: translateY(50px);
}
/* Plane Image */
.plane-img {
    position: absolute;
    top: 330px;
    left: -930px; /* Offset to the left */
    width: 280px; /* Adjust size */
    opacity: 0; /* Hidden initially */
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

/* Store Image */
.store-img {
    position: relative;
    left: -99%; /* Half outside the left side */
    bottom: 0px;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

/* When scrolled */
.scrolled .plane-img {
    top: -10px; /* Final position above the store */
    left: 50px; /* Centered above the store */
    opacity: 1; /* Fully visible */
}

.scrolled .store-img {
    left: 0; /* Move to its normal position */
    bottom: -80px;
}



/* start header section  */
.header-section {
    color: white;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    padding-bottom: 80px;
}
.header-section span{
    font-size: 18px;
    font-weight: 600;
}
.header-section h1 {
    font-size: 38px;
    font-weight: 700;
}

/* Social Media Box */
.social-media {
    position: absolute;
    top: 300px; /* Start at the top */
    right: 20px;
    transform: translateY(-100%); /* Hidden initially */
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.social-media.scrolled {
    transform: translateY(0); /* Move down */
    opacity: 1; /* Fully visible */
}

/* Social Box with Lines */
.social-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}

/* Top Line */
.social-box::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 90%; /* Adjust height as needed */
    background-color: var(--primary-color);
    left: 50%;
    top: -200px;
    transform: translateY(-100%); /* Hidden initially */
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    opacity: 0; /* Hidden by opacity */
}

.social-box.scrolled::before {
    transform: translateY(30px); /* Line slides down */
    opacity: 1;
}

/* Bottom Line */
.social-box::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 220%; /* Adjust height as needed */
    background-color: var(--primary-color);
    left: 50%;
    bottom: -220%;
}


/* Social Icon Styling */
.social-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.social-icon i:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}


/* start road map  */

/* start about section  */


.about{
    padding-block: 80px;
}
.about .logos-box{
    position: relative;
    gap:20px;
    margin-bottom: 40px;
}

.about .logos-box .img-box2{
    padding-right: 40px;
    border-right: 2px solid var(--primary-color);
}
.about .content{
    max-width: 880px;
    margin: auto;
}
.about .content p{
    font-size: 20px;
    font-weight: 500;
}


/* end about section  */

/* start vision section  */

.vision {
    position: relative;
    overflow: hidden; /* Ensures content doesn't overflow */
    padding-block: 50px;
    min-height: 90vh;
    display: flex;
    align-items: center;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 135%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
  }
  
  .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    z-index: -1; /* Ensures it stays behind content */
    
  }
  
  .overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../imgs/overlay.png') no-repeat center center; */
    background-color: var(--primary-color);
    background-size: cover;
    opacity: .4; /* Adjust transparency as needed */
    z-index: 1; /* Overlay stays above the video */
    mix-blend-mode: normal;

  }
  .overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../imgs/overlay.png') no-repeat center center; */
    background-color: var(--primary-color);
    background-size: cover;
    opacity: 1; /* Adjust transparency as needed */
    z-index: 1; /* Overlay stays above the video */
    mix-blend-mode: multiply;

  }

  
  .vision .container {
    position: relative;
    z-index: 2; /* Ensures content appears above the video and overlay */
  }
  
  .vision .logos {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .vision .title,
  .services .title{
    color: white;
    transform: rotate(270deg);
    font-size: 50px;
  }
  .vision .logos .logo {
    transform: scale(0.6); /* Initial small scale */
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
  }
  .vision .map{
    transform: translateX(-90%);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

  }
  .vision .box {
    transform: translateY(-20px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    margin-right: 30px;

  }
  .vision .box-2{
    transform: translateY(160px);
    margin-right: 30px;
  }
  .vision .box h1 {
    font-weight: 600;
    transform: scale(.5);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    width: fit-content;
  }

  .vision .box p {
    font-size: 24px;
    font-weight: 500;
    color: white;
  }
.tsl-img{
    width: 130px;
    height: 62px;
}
.vision .vision-img{
    margin-left: 99px;
}
  .vision .map.active{
    transform: translateX(0);
  }
  .vision .logos .logo.active {
    transform: scale(1); /* Full size when active */
  }
  .vision .box h1.active{
    transform: scale(1);
  }
  .vision .box.active {
    transform: translateY(140px);

  }
  .vision h3,
  .vision h4{
    font-size: 36px;
  }

  .side-title {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-100%);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.side-title.active {
    transform: translateY(0);
    opacity: 1;
}

.title-box {
    position: relative;
}

.title-box::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 200px;
    background-color: white;
    left: 56.5%;
    top: -280px;
    transform: translateY(-100%);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    opacity: 0;
}

.title-box.active::before {
    transform: translateY(0);
    opacity: 1;
}

.title-box::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 150px;
    background-color: white;
    left: 50%;
    bottom: -230px;
}

  
/* end Vision section  */


/* start services section  */

.services{
    padding-block: 100px;
    background-color: var(--primary-color);
    position: relative;
}
.services .service-box{
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    border: 1px solid var(--primary-color);

}
.services .service-box .icon-box{
    height: 80px;
    display: flex;
    align-items: center;
}
.services .service-box .number{
    font-size: 60px;
    font-weight: 700;
    margin-block: 20px;
}
.services .service-box h3{
    font-weight: 600;
}


.services .row > div:nth-child(1) .service-box {
    transform: translateY(250px);
}

.services .row > div:nth-child(2) .service-box {
    transform: translateY(200px);
}

.services .row > div:nth-child(3) .service-box {
    transform: translateY(150px);
}

.services .row > div:nth-child(4) .service-box {
    transform: translateY(50px);
}

/* Animation reset when the element is in view */
.service-box.active {
    transform: translateY(0); 
    opacity: 1; /* Make the element visible */
}
.services .row > div .service-box.active{
    transform: translate(0);
}
/* end services section  */



/* General Styles */
.roadmap-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 0px;
    height: 0px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 18px;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    }
    
    
.roadmap-line {
    position: relative;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    margin: 0 auto;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.roadmap-step {
    position: relative;
    width: 100%;
    margin-bottom: 40px;

}

.step-box {
    min-width: 240px;
    height: 50px;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.step-box span {
    margin-left: 10px;
    font-size: 30px;
    font-weight: 800;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.number-right {
    display: inline-block;
    width: 60px;
    height: 100%;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.number-left {
    display: inline-block;
    width: 60px;
    height: 100%;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.step-box-right {
    text-align: right;
    margin-left: 30px;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

.step-box-left {
    text-align: left;
    margin-right: 30px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--secondary-color);
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

.small-line {
    width: 30px;
    height: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.small-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
}

.small-line-right {
    right: -30px;
    background-color: var(--primary-color);
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

.small-circle-right {
    left: -4px;
    background-color: var(--primary-color);
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */


}

.small-line-left {
    left: -30px;
    background-color: var(--secondary-color);
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */


}

.small-circle-left {
    right: -4px;
    background-color: var(--secondary-color);
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */


}

/* On Scroll Active */
.roadmap-line.active {
    opacity: 1;
}

.small-circle-left.active, 
.small-circle-right.active, 
.small-line-left.active, 
.small-line-right.active, 
.step-box-right.active {
    transform: translateX(0);
}


.step-box-left.active {
    transform: translateX(0);
}
/* عند التفعيل، زيادة الحجم إلى 100px */
.circle.active {
width: 100px;
height: 100px;
}

@media(max-width:570px){
.step-box{
    min-width: 160px;
    font-size: 10px;
    font-weight: 600;
    height: 40px;
}
.step-box span{
    font-size: 24px;
    padding-top: 2px;
}
}


/* start safe section  */
.safe{
    padding-top: 60px;
}
.safe .box h2{
    font-weight: 600;
}
.safe .box{
    transform: translateX(100%);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

    margin-bottom: 60px;

}
.safe .diamond-box {
    position: relative;
    display: inline-block; /* Ensures proper alignment for pseudo-elements */
}

.safe .diamond-box img {
    display: block; /* Removes extra whitespace around the image */
    margin: 0 auto; /* Centers the image */
    transform: translateY(7px);
}

.safe .diamond-box::after,
.safe .diamond-box::before {
    position: absolute;
    content: "";
    border-radius: 50%;
    background-color: var(--secondary-color); /* Default for after */
    z-index: -1;
    transform: scale(0.7);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

}

.safe .diamond-box::after {
    width: 220px;
    height: 220px;
    background-color: var(--secondary-color); /* Adjust color */
    bottom: -100px;
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%) scale(0.7); /* Center with scaling */
}

.safe .diamond-box::before {
    width: 280px;
    height: 280px;
    background-color: var(--primary-color); /* Adjust color */
    bottom: -125px; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%) scale(0.7); /* Center with scaling */
}

.safe .diamond-box.active::before,
.safe .diamond-box.active::after {
    transform: translate(-50%, -50%) scale(1); /* Scales the circles */
}

.safe .box.active {
    transform: translateX(0);
}


/* end safe section  */



/* start payment section */

.payment{
    background-color: var(--primary-color);
    padding-block: 40px;
}
.payment .wallet-box{
    position: relative;
    display: inline-block;
}
.payment .wallet-box img{
    display: block;
    margin: 0 auto;
}
.payment .wallet-box::before{
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    z-index: 4;
    left: -45px;
    bottom: 0px;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

    transform: translateX(-500px);
}
.payment .wallet{
    transform: rotate(26deg);
    z-index: 11;
    position: relative;
    transform: translate(-500px, 200px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 


}
.payment .wallet-line{
    transform: rotate(26deg);
    z-index: 1;
    position: absolute;
    top: 0;
    transform: translate(-500px, 200px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 


}
.payment .money{
    position: absolute;
    right: -130px;
    top: -90px;
    transform: rotate(90deg);
    transform: translate(-600px, -100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 


    z-index: 2;
}
.right{
    transform: translateX(300px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

    font-size: 24px;
    font-weight: 500;

}
.fades{
    transform: scale(0);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 
    width: fit-content;
    font-size: 30px;
    font-weight: 600;
}
.fades.active{
    transform: scale(1);
}
.right.active{
    transform: translate(0);
}
.money.active,
.wallet.active,
.wallet-line.active,
.wallet-box.active::before{
    transform: translate(0);
}
.wallet.active, .wallet-line.active{
    transform: rotate(26deg);

}
.money.active
{
    transform: rotate(90deg);

}

/* end payment  section*/

/* Gallery Section */
/* Style for the Slick Slider container */
.gallery {
    padding-block: 80px;
  }
  
  .gallery .container {
    border-radius: 12px;
    overflow: hidden;
  }

  .swiper-slide {
    transform:scale(.8) !important;
    opacity: 0.7;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    padding: 20px;

  }
  
  .swiper-slide img {
    max-width: 100%;
    border-radius: 12px !important;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    display: inline-block;
  }
  
  .swiper-slide-active {
   transform: scale(1.1) !important;
    opacity: 1;

  }

  
  /* Custom Navigation Buttons */
  .swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 54%) !important;
    transform: translateY(-50%) !important;
    color: var(--primary-color) !important;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
  }
  
  
  .swiper-button-prev {
    left: 50px;
  }
  
  .swiper-button-next {
    right: 50px;
  }
  
  .swiper-button-prev i, .swiper-button-next i {
    font-size: 30px;
    font-weight: 800;
  }
  
 
/* start delivery section  */
/* end delivery section  */
.delivery {
    position: relative;
    padding-top: 40px;
    padding-bottom: 150px;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.delivery::before,
.delivery::after {
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}
.delivery h3{
    font-size: 34px;
}
.delivery h1{
    font-size: 60px;
    font-weight: 600;
}
.delivery::before {
    top: 50%;
    transform: translateY(-50%);
    right: -200px;
}

.delivery::after {
    top: 50%;
    transform: translateY(-50%);
    left: -200px;
}

.delivery.active::before {
    transform: translate(0, -50%);
    right: -100px;
}

.delivery.active::after {
    transform: translateY(0, -50%);
    left: -100px;
}

.delivery .map-box {
    position: relative;
    display: inline-block;
    /* transform: translateX(-360px); */
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.delivery.active .map-box {
    transform: translateX(0);
}

/* Points Styling */
.point {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    cursor: pointer;
    transform: scale(1);
    rotate: 180deg;    

}

/* Point on Hover/Active State */
.point:hover,
.point.active {
    width: 10px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 0 0 50% 50%;
    transform: translate(-50%, -50%) ;
    rotate: 180deg;    
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

/* Optional: Animation to scale points */
.point {
    animation: all 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* start world section  */
.world{
    background-color: #ededed;
}
.world .box{
    transform: translateY(-150px);
}
.world h2{
    font-size: 36px;
}
/* end world section  */

/* start contact section  */

.contact{
    padding-top: 120px;
    background-color: rgba(64, 41, 136, .99);
    padding-bottom: 10px;
}
.contact .subscription{
    position: relative;
}

.contact form input{
    width: 100%;
    border-radius: 30px;
    border: none;
    padding: 10px;
}
.contact form input:focus-visible{
    box-shadow: none;
    border: none;
}
::placeholder{
    font-weight: 500;
    color: var(--primary-color);

}
.contact .email-box{
    position: relative;
}
.contact .email-box button{
    position: absolute;
    background-color: transparent;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}
.email-box a
.subscription::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    top: 50%;
    transform: translateY(-50%);
    right: -300px;
}

.subscription.active::before {
    transform: translate(0, -50%);
    right: -180px;
}

.working-time {
    padding-block: 100px;
    position: relative;
}

.working-time .map {
    overflow: hidden;
    max-width: 600px;
    max-height: 350px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.working-time ul .day {
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
}

.friday {
    color: rgba(255, 255, 255, 0.37);
    font-weight: 500;
}

.working-time .social-icons {
    top: 20px;
    right: -20%;
    transform: translateX(-50%);
    position: absolute;
    width: 50px;
    z-index: 5;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.working-time .social-icons .icon-box {
    position: relative;
    width: fit-content;
    padding-inline: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.working-time .social-icons .icon-box::before,
.working-time .social-icons .icon-box::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 2px;
    background-color: white;
    z-index: -3;
}

.working-time .social-icons .icon-box::before {
    width: 85vw;
    left: 164px;
}

.working-time .social-icons .icon-box::after {
    width: 20vw;
    right: 5564px;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.working-time .social-icons a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.working-time .social-icons a:hover {
    color: var(--secondary-color);
}
.social-icons.active{
    right: 75%;
}
.working-time .social-icons .icon-box.active::after{
    right: 164px;
}
.left{
    position: relative;
    transform: translateX(-100%);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}
.left.active{
    transform: translate(0);
}


/* Bottom bar container */
/* Overall container */
/* الحاوية الرئيسية */
.working-time .bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    margin-top: 50px;
    padding: 0 20px;
  }
  
  /* زر حجز موعد اجتماع (الجزء الأيمن) */
  .working-time .btn.meeting-btn {
    background-color: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    right: 20%;
  }
  
  /* الأزرار الإضافية في الجهة اليسرى */
  .working-time .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    left: 25%;
    transform: translateX(-25%);
  }
  
  /* زر "من نحن" */
  .about-btn {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1rem;
  }
  
  /* زر "اتصل بنا" */
  .call-btn {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1rem;
  }
  
  /* الخط الأول: من الجهة اليمنى لزر حجز موعد اجتماع إلى نهاية الشاشة */
  .working-time .bottom-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(65% + 200px); /* يبدأ من الجهة اليمنى لزر حجز موعد اجتماع */
    width: calc(50vw + 200px); /* يمتد حتى نهاية الشاشة اليمنى */
    height: 2px;
    background-color: white;
    z-index: 1;
  }
  
  /* الخط الثاني: من الجهة اليمنى لزر من نحن إلى يسار زر حجز موعد اجتماع */
  .working-time .buttons::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -230px; /* يبدأ من الجهة اليمنى لزر من نحن */
    width: 200px; /* يمتد حتى ينتهي قبل زر حجز موعد اجتماع */
    height: 2px;
    background-color: white;
    z-index: 1;
  }
  
  /* الخط الثالث: من الجهة اليسرى لزر اتصل بنا إلى بداية الشاشة */
  .working-time .bottom-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -160px; /* يبدأ من الجهة اليسرى لزر اتصل بنا */
    width: calc(50vw - 300px); 
    height: 2px;
    background-color: white;
    z-index: 1;
  }
  

  
/* end contact section  */

@media(max-width:767px){
    .header-box{
        margin-right: 50px;
        margin-bottom: 70px;
    }
    .header-box h1{
        font-size: 30px;
    }
    header.scrolled{
        margin-right: 40px;
    }
    .scrolled .store-img{
        bottom: -120px;
    }
    .about img{
        width: 140px;
    }
    .vision{
        min-height: 33vh;
    }
    .vision .video-overlay{
        min-width: 140%;
    }
    .vision .box,
    .vision .box-2{
        margin-right: 60px;
        transform: translateY(0);
    }
    .vision .box.active,
    .vision .box-2.active{
       transform: translateY(0);
    }
    .vision .logos{
        display: none;
    }
    .vision .map{
        display: none;
    }
    .vision h1,
    .vision h3,
    .vision h4{
        font-size: 28px;
    }
    .vision .box p{
        font-size: 18px;
    }
    .services .row > div:nth-child(1) .service-box {
        transform: translateY(0);
    }
    
    .services .row > div:nth-child(2) .service-box {
        transform: translateY(0);
    }
    
    .services .row > div:nth-child(3) .service-box {
        transform: translateY(0);
    }
    
    .services .row > div:nth-child(4) .service-box {
        transform: translateY(0);
    }
    
    .payment .box{
        margin-bottom: 50px;
    }
    .payment .wallet,
    .payment .wallet-line{
        width: 380px;
    }
    .payment .money{
        width: 463px;
        right: -88px;
    }
    .payment .wallet-box::before{
        width: 250px;
        height: 250px;
        left: 0;
        bottom: 35px;
    }
    .contact .social-icons{
        right: 21%;
    }
    .working-time  .social-icons .icon-box::after{
        width: 33vw;
    }
    .vision .title,
    .services .title{
      color: white;
      transform: rotate(0deg);
      font-size: 50px;
    }
    .side-title {
        position: absolute;
        top: -0;
        right: -30px;
        transform: translateX(-100%);
        transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

        display: none;
    }
    .title-box::before {
        content: '';
        position: absolute;
        height: 3px;
        width: 200px;
        background-color: white;
        right: -85px;
        bottom: 50%;
        transform: translateX(-50%);
        transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); 

    }
    .title-box::after {
        content: '';
        position: absolute;
        height: 4px;
        width: 150px;
        background-color: white;
        left: -85px;
        bottom: 50%;
        transform: translateX(-50%);
    }
    .slick-center {
        transform: scale(1);
        opacity: 1;
    }
    .working-time .bottom-bar{
        display: none;
    }
    .safe .box{
        text-align: center;
    }

}


/* Styles for the popup */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    z-index: 9999; /* Make sure it appears above other content */
  }
  
  /* Popup content */
  .popup-content {
    background-color: var(--primary-color);
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Adjust the width as needed */
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Close button */
  .close-btn {
    font-size: 24px;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: black;
    text-decoration: none;
  }
  
  .popup-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary-color);
  }
  
  .popup-content p {
    font-size: 18px;
    color: white;
  }
  /* OK button */
.ok-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .ok-btn:hover,
  .ok-btn:focus {
    background-color: white;
    color: var(--secondary-color);
  }


   /* loader  */
#loading-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    justify-content: center;
    align-items: center;
    z-index: 100000;
  }
 #loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--secondary-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
  }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


