html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family: "Tajawal", serif;
    background-color: #f9f9fb;
}
:root{
    --primary-color:#a08ade;
    --secondary-color: #0d0e2c;
    --main-color:#a08ade;
    --third-color:#a08ade;
    --bg-color:rgb(22, 15, 48);
}
::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;
}
.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)
    }
}
.brand{
    color: var(--primary-color);
    padding-inline: 10px;
    padding-block: 5px;
    border-radius: 10px;
    transition: .3s;
    cursor: pointer;
}
.main{
    color: var(--main-color);
}
.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;
}
.whatsapp::before{
    position: absolute;
    content: "1";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #E82C0C;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -7px;
    right: -2px;
    color: white;

}

nav{
    box-shadow: 0 0  10px rgba(64, 43, 138, 0.9); /* Soft light glow */
}
nav .nav-link{
    /* color: white; */
    color: black;
    font-size: 18px;
    transition: .3s;
}
nav .nav-link:hover{
    color: var(--main-color);
}
/* start hero section  */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50px;
    background-image: url('../imgs/shape-1.png');
    width: 109px;
    height: 61px;
    z-index: 11;
    animation: moveRightToLeft 5s linear infinite; 
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 150px;
    background-image: url('../imgs/shape-2.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 21px;
    z-index: 11;
    animation: rotate360 3s linear infinite; 
}

.hero span{
    color: var(--primary-color);
    font-size: 15px;
}
.hero .box h1{
    /* color: white; */
    color: black;
    font-weight: 700;
    font-size: 50px;
    
}
.hero p{
    /* color: white; */
    color: #555;
    font-size: 18px;
    
}
.hero .btn{
    color: white;
    font-size: 20px;
    /* box-shadow: 0 0  10px rgba(64, 43, 138, 0.9);  */
    transition: .3s;
    background-color: var(--main-color);
    width: 200px;
    font-size: 24px;
    border: 2px solid var(--main-color);
}
.hero .btn:hover{
    background-color: white;
    color: var(--main-color);
}
.hero .heroImg {
    position: relative;
}

.hero .heroImg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 544px;
    height: 515px;
    background-image: url('../imgs/heroBack-1.png');
    z-index: -1;
}

/* end hero section  */

/* start about section  */

.about{
    padding-block: 40px;
}
.about .box .title{
    color: white;
    background-color: var(--main-color);
    border-radius: 25px;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: 700;
}
.about .box h1{
    /* color: white; */
    color: black;
    font-size: 50px;
    font-weight: 700;
    margin-top: 15px;
}
.about p{
    /* color: white; */
    color: #555;
    font-size: 18px;
    padding-right: 11px;
    border-right: 2px solid var(--main-color);
}
.about ul li{
    margin-bottom: 10px;
    transition: .3s;
    font-size: 18px;
    /* color: white; */
    color: black;
    cursor: pointer;

}
.about ul li:hover i{
    color: var(--main-color);
    background-color: white;
}
.about ul li i{
    font-size: 20px;
    color: white;
    background-color: var(--main-color);
    padding: 8px;
    transition: .4s;

}
.about .about-img{
    position: relative;
}
.about-img img{
    border-radius: 12px;
}
.about .about-img::before{
    position: absolute;
    content: "";
    background-image: url('../imgs/about_before.png');
    width: 138px;
    height: 135px;
    left: -50px;
    top: -20px;
    animation: moveRightToLeft 5s linear infinite; 
    z-index: -1;

}
.about .about-img::after{
    position: absolute;
    content: "";
    background-image: url('../imgs/about_after.png');
    width: 234px;
    height: 235px;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;

}

/* end about section  */


/* start status section  */

.status {
    /* background-color: var(--secondary-color); */
    background-color: white;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.6);

}
.status .box {
    padding: 20px;
    border-radius: 10px;
}
.status .box img {
    width: 60px;
    height: auto;
}
.status .number {
    font-size: 36px;
    font-weight: bold;
    /* color: white; */
    color: black;
}
.status p {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

/* start registration section  */

.registration {
    padding-block: 45px;
    background-image: url('../imgs/register.png');
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.registration::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    left: 0;
    right: auto;
    background: rgba(101, 58, 230, 0.9);
    top: 0;
    bottom: 0;
    z-index: -1;
}

.registration .form-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
::placeholder{
    text-align: right;
}
.registration .title {
    color: var(--primary-color);
    background-color: white;
    padding: 5px 10px;
    border-radius: 20px;
}
.registration h2 {
    color: white;
    margin-top: 15px;
    margin-bottom: 35px;
    font-weight: 700;
}
.registration p {
    color: white;
    font-size: 18px;
}
.registration .btn {
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.registration .btn:hover {
    background-color: #4f22a9;
}
.registration .box{
    position: relative;
}
.registration .box::before{
    position: absolute;
    content: "";
    background-image: url('../imgs/shape-3.png');
    width: 125px;
    height: 122px;
    left: 80px;
    bottom: -50px;
    z-index: -1;
    animation: moveRightToLeft 5s linear infinite; 

}
.registration .box::after{
    position: absolute;
    content: "";
    background-image: url('../imgs/shape-4.png');
    width: 96px;
    height: 89px;
    left: -80px;
    top: 0px;
    transform: translateY(-50%);
    z-index: -1;
    animation: moveUpToDown 5s linear infinite; 

}
footer {
    background-color: #a08ade;
    color: #f8f9fa; 
    mix-blend-mode: multiply;
}

footer h5 {
    font-size: 24px; 
    font-weight: 700; 
    color: white; 
}

footer a {
    transition: color 0.3s ease-in-out; 
}

footer a:hover {
    color: white; 
}

footer ul {
    padding-right: 0; 
    list-style: none; 
}

footer .fa-phone,
footer .fa-envelope,
footer .fa-location-dot {
    color: white; 
}

footer .fa-facebook-f,
footer .fa-x-twitter,
footer .fa-instagram {
    font-size: 24px; 
    transition: transform 0.3s ease-in-out; 
}

footer .fa-facebook-f:hover,
footer .fa-x-twitter:hover,
footer .fa-instagram:hover {
    transform: scale(1.2); /* تكبير الأيقونات */
    color: white; /* لون عند التمرير */
}

footer .small {
    font-size: 18px; 
}

@media(max-width:767px){
    .hero .box h1,
    .about .box h1{
        font-size: 35px;
    }
    .hero .box p{
        font-size: 15px;
    }
}

/* 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(--main-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: white;
    text-decoration: none;
  }
  
  .popup-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
  }
  
  .popup-content p {
    font-size: 18px;
    color: white;
  }
  /* OK button */
.ok-btn {
    background-color: var(--primary-color);
    color: white;
    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);
  }
/* animations  */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@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)
    }
}

@keyframes moveRightToLeft {
    0% {
        transform: translateX(0); /* Start at original position */
    }
    50% {
        transform: translateX(-30px); /* Move left */
    }
    100% {
        transform: translateX(0); /* Return to original position */
    }
}
@keyframes moveUpToDown {
    0% {
        transform: translateY(0); /* Start at original position */
    }
    50% {
        transform: translateY(-30px); /* Move left */
    }
    100% {
        transform: translateY(0); /* Return to original position */
    }
}

/* Keyframes for rotation */
@keyframes rotate360 {
    0% {
        transform: rotate(0deg); /* Start at 0 degrees */
    }
    100% {
        transform: rotate(360deg); /* Complete one rotation */
    }
}