html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
@font-face{
    font-family: "ExpoArabic";
    src: url('../fonts/ExpoArabic-Book.ttf') format('opentype');
}
body {
    font-family: 'ExpoArabic', sans-serif;
}
:root{
    --primary-color:#2fab99;
    --secondary-color: #16445b;
    --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;
}

nav{
    box-shadow: 0 0  10px rgba(22, 68, 91, 0.3);
    background-color: var(--primary-color);
}
nav .nav-link{
    color: white;
    font-size: 18px;
    transition: .3s;
}
nav .nav-link:hover{
    color: var(--secondary-color);
}
nav .navbar-toggler{
    color: white;
    font-size: 30px;
}
/* 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 .row{
    border-radius: 25px;
    padding: 20px;
    background-color: #16445b27;
}
.hero span{
    color: var(--secondary-color);
    font-size: 15px;
}
.hero .box h1{
    color: black;
    font-weight: 700;
    font-size: 50px;
    
}
.hero p{
    color: #555;
    font-size: 24px;
    
}
.hero .btn{
    color: white;
    font-size: 20px;
    transition: .3s;
    background-color: var(--secondary-color);
    min-width: 200px;
    border: 2px solid var(--secondary-color);
    border-radius: 35px;
}
.hero .btn:hover{
    background-color: transparent;
    color: var(--secondary-color);
}
.hero .heroImg {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.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 partners section  */
.partners img {
    max-width: 100%;
    aspect-ratio: 5/2;
    object-fit: contain;
}


/* start about section  */

.about{
    padding-block: 40px;
    background-color: #f8f9fa;
}
.about .box .title{
    color: white;
    background-color: var(--primary-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(--primary-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(--primary-color);
    background-color: white;
}
.about ul li i{
    font-size: 20px;
    color: white;
    background-color: var(--primary-color);
    padding: 8px;
    transition: .4s;

}
.about .about-img{
    position: relative;
}
.about-img img{
    border-radius: 12px;
    webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 50%);
}
.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 hall section  */
.hall{
    padding-block: 40px;
}
.hall .box{
    padding: 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #2fab99 0%, #16445b 100%);
    color: white;
}

/* start choose us  */
.why-choose {
    color: #333;
    background-color: #f8f9fa;

}
.why-choose h2 {
    font-weight: 700;
    color: #222;
    margin: auto;
    margin-bottom: 40px;
}

.why-choose .box{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    height: 100%;
    padding: 25px;
    border-radius: 5px;
    transition: all .3s ease;
    background-color: #f9f9f9;
    text-align: center;

}

.why-choose .box:hover{
    transform: translateY(-10px);
}
.why-choose .box .icon-box{
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
    margin: auto;
    padding: 15px;
}
.why-choose .box .icon-box img{
    width: 80px;
}
.why-choose .box h4{
    text-align: center;
    color: black;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}


/* 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;
}

footer {
    background-color: var(--secondary-color);
    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 .small {
    font-size: 18px; 
}

@media(max-width:767px){
    .hero .box h1,
    .about .box h1{
        font-size: 35px;
    }
    .hero .box p{
        font-size: 15px;
    }
}


@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 */
    }
}