/* Global */

@media (max-width : 767px) {
    .container{
        margin: 0 20px ;
    }
}

@media(min-width: 768px) and (max-width:991px) {
    .container{
        margin: 0 40px ;
    }
}

@media(min-width: 992px) and (max-width:1199px){
    .container{
        margin: 0 60px ;
    }
}



/* Hero */

@media (max-width:1199px) {
    
    .hero {
        padding-top: 0px;
    }

    .hero .logo-box{
        width: 50%;
    }

    .hero .sections-link {
        width: 50%;
        justify-content: center;
        padding: 20px 0 0 0 ;
    }
    
    .sections-link ul li {
        margin-left: 15px;
    }

    .hero .main-text {
        width: 100%;
        padding: 40px 10px 20px 10px;
        justify-content: center;
        display: flex;
        height: 30%;
    }
    
    .hero .main-text h2 {
        font-size: 25px;
        text-align: center;
    }

    .hero .main-text h2 .hight-light {
        background-position: 0px 23px;
     }

    .hero .man-img {
        width: 50%;
        height: 70%;
    }
    
    .hero .half-amwal{
        width: 230px;
    }

    .hero .fifty-dollar{
    height: 57%;
    width: 100%;
    right: -20%;
    transform: translateX(0%); 
    /* animation: Ulys 1s linear  ; */
    display: flex;
    justify-content: center;
    }

    @keyframes Ulys {
        0% {transform: translateX(100%);}
        100% {transform: translateX(0%);}
    }
    
    .hero .fifty-dollar .img-for-ulys{
        bottom: -10px;
        right: 65%;
        /* animation: UlysBigger 4s linear , Shake .7s 1.3s linear  ; */
        transform: translateX(50%);
        height: 100%;
    }


    .hero .fifty-dollar .img-for-ulys-background{
        bottom: -100px;
        right: unset;
        height: 100%;
        width: unset;
    }
    
    
@keyframes UlysBigger {
    0% {
        height: 60%;
    }
    50% {
        height: 60%;

    }
    100% {
        height: 100%;
    }
}

@keyframes Shake {
    0% { transform: translate(52%, 0px) ; }
    10% { transform: translate(52%, 0px) ; }
    20% { transform: translate(50%, 0px); }
    30% { transform: translate(52%, 0px) ; }
    40% { transform: translate(50%, 0px) ; }
    50% { transform: translate(52%, 0px) ; }
    60% { transform: translate(50%, 0px) ; }
    70% { transform: translate(52%, 0px); }
    80% { transform: translate(50%, 0px); }
    90% { transform: translate(52%, 0px) ; }
    100% { transform: translate(50%, 0px) ; }
  }

  .hero .man-img .five-rial{
    right: -10%;
    bottom: 380px;
    /* animation: RotateCoins 20s linear infinite reverse , FiveRight 4s linear; */
}

.hero .man-img .center-five-rial{ display: none;}

    @keyframes FiveRight {
        0% {right: -40%;}
        80% {right: -40%;}
        100% {right: -10%;}
    }


    .hero .man-img .ten-rial{
        left:-120%;
        bottom: 125px;
        width: 100px;
        transform: rotate(130deg);
        /* animation: RotateCoins 50s linear infinite, CoinToUp 3s linear; */
    }
    
    @keyframes CoinToUp {
        0% {bottom: -100px;}
        60% {bottom: -100px;}
        100% {bottom: 125px;}
    }
}

@media (max-width : 767px) {
    .hero .logo {
        width: 90px;
        padding: 0 ;
        position:absolute;
        top: 20px;
        right: 20px;
        z-index:20;
    }
    

    .hero .main-text {
        padding-top: 90px;
     }
     
    .hero .main-text h2{
          line-height: 1.2;
          margin-top: 25px;
    }

    .hero .sections-link{
        padding: 10px 0px 0 0;
        margin: 0;
        display: block;
    }

    .hero .sections-link ul {
        background-color: rgb(88, 22, 150);
        margin: 0;
    }


    .hero .sections-link ul li{
        background-color: rgb(150, 22, 22);
        margin: 0;
    }

}


@media(min-width: 500px) and (max-width:767px) {

    .hero .man-img .five-rial{
        right: 10%;
        bottom: 380px;
        /* animation: RotateCoins 20s linear infinite reverse , FiveRight 4s linear; */
    }
    
    .hero .man-img .center-five-rial{ display: none;}
    
    @keyframes FiveRight {
        0% {right: -40%;}
        80% {right: -40%;}
        100% {right: 10%;}
    }
    
    
    .hero .man-img .ten-rial{
        left:-75%;
    }

}

@media(min-width: 768px) and (max-width:991px) {
    .hero {
        padding-top: 30px;
    }

    .hero .logo {
        width: 200px;
        padding: 0 40px;
    }

    .hero .sections-link {
        margin-top: 0px;
        padding-right:  40px;
    }
    
    .sections-link ul li {
        margin-left: 30px;
    }

    .hero .main-text {
        height: 40%;
    }
    
    .hero .main-text h2 {
        font-size: 30px;
        line-height: 1.2;
        margin-top: 3%;
    }

    .hero .main-text h2 .hight-light {background-position: 0px 30px;}

    .hero .man-img {
        width: 50%;
        height: 70%;
    }
    
    .hero .half-amwal{
        width: 140px;
        bottom:10px;
    }

    .hero .fifty-dollar{
    right: -15%;
    }

    .hero .fifty-dollar .img-for-ulys{
        right: 60%;
    }

    .hero .man-img .five-rial{
        right: 20%;
        bottom: 380px;
        /* animation: RotateCoins 20s linear infinite reverse , FiveRight 4s linear; */
    }
    
    .hero .man-img .center-five-rial{ display: none;}
    
    @keyframes FiveRight {
        0% {right: -40%;}
        80% {right: -40%;}
        100% {right: 20%;}
    }
    
    .hero .man-img .ten-rial{left:-55%;}

}

@media(min-width: 992px) and (max-width:1199px){

    .hero {padding-top: 40px;}

    .hero .logo {
        width: 350px;
        margin: 0;
        padding-left: 60px;
    }

    .hero .sections-link {margin-top: 0px;}
    
    .sections-link ul li {margin-left: 25px;}

    .hero .main-text {height: 45%;}
    
    .hero .main-text h2 {
        font-size: 30px;
        line-height: 1.2;
        margin-top: 20px;
    }

    .hero .main-text h2 .hight-light {background-position: 0px 25px;}

    .hero .man-img {
        width: 50%;
        height: 65%;
    }
    
    .hero .half-amwal{
        width: 140px;
        bottom:10px;
    }

    .hero .fifty-dollar{right: -15%;}

    .hero .fifty-dollar .img-for-ulys{right: 60%;}

    .hero .man-img .five-rial{
         right: 15%;
         /* animation: RotateCoins 20s linear infinite reverse , FiveRight 4s linear; */
    }

    .hero .man-img .center-five-rial{
        display: none;
    }

    @keyframes FiveRight {
        0% {right: -20%;}
        80% {right: -20%;}
        100% {right: 15%;}
    }

    .hero .man-img .ten-rial{
        left:-350px;
        bottom: 300px;
        /* animation: RotateCoins 50s linear infinite, CoinToUp 3s linear; */
    }
    
    @keyframes CoinToUp {
        0% {bottom: -100px;}
        60% {bottom: -100px;}
        100% {bottom: 300px;}
    }
}


/* About */

@media (max-width : 991px) {
    .about{padding: 60px 0;}

    .about .about-text , .about .about-image {width: 100%;}

    .about .about-image {display: none;}

    .about .about-text .heading .first-img{width: 100%;} 
    
    .about .about-text .heading .first-img img{
        width: 180px;
        margin: 0;
    } 

    .about .about-text .heading .first-heading{
        width: 100%;
        padding:0 ;
    } 

    .about .about-text .heading .first-heading p{
        color: #7C7874;
        font-size: 9px;
    }

    .about .about-text article {
        padding-top: 25px;
        font-size: 20px;
        line-height: 1.3;
    }

    .about .about-text article p{
        margin-bottom: 20px;
        width: 100%;
     }
    
}


@media(min-width: 768px) and (max-width:991px) {

    .about .about-text .heading .first-img{
        width: 200px;
    } 
    
    .about .about-text .heading .first-heading{
        width: 65%;
        padding: 10px 30px;
        text-transform: uppercase;
    } 

}

/* @media(min-width: 992px) and (max-width:1199px){} */


/* Vision and Mission */

@media (max-width : 991px) { /* Mobile and Tablet Rules */

    .vision-mission {padding: 50px 0;}
    
    .second:last-child {margin-top: 50px;}

    .second .second-img{width: 100%;}

    .second .second-img img{
        width: 140px;
        margin-top: 30px;
    }

    .second .second-text{width: 100%;}

    .second:last-child .second-img img{ margin-left: 0;}

    .second:last-child .second-text{ padding-left: 0px;}

    .second .second-text p {
        font-size: 16px;
        width: 100%;
    }

    .second:last-child .second-text p {
        width: 100%;
        line-height: 1.4;
    }

    .second .second-text img{margin-top: 30px;}
        
}


@media (max-width : 767px) {

    .service {padding: 40px 0;}

    .service h2 {margin-bottom: 0px;}

    .service .service-text {
        height: 120px;
        width: 100%;
    }

    .service .service-slider {
        height: 420px;
        width: 100%;
    }

    .service-text-border {
        width: 100%;
        height: 120px;
    }

    .service .service-text p {
        width: 300px;
        font-size: 20px;
        margin-left: 25px;
        line-height: 1.3;
    }

    .service .service-slider .arrows-container{
        right: 35%;
        top: unset;
        transform: translateX(50%);
        bottom: 0;
        width: unset;
    }

    .service-slider .the-service{
        width:85%;
        height: 340px;
    }

    .service-slider .the-service .service-background .payroll{
        width: 103px;
        top:34%;
    }


    .service-slider .the-service .service-background .exchange-logos{
   
        height: 198px;

    }

}


@media(min-width: 490px) and (max-width:767px) {

    .service-slider .the-service{
        width:62%;
        height: 340px;
    }

    .service .service-slider .arrows-container{
        right: 40%;
        transform: translateX(50%);
    }

}

@media(min-width: 768px) and (max-width:991px) {

    .service {padding: 40px 0 60px 0;}

    .service h2 {margin-bottom: 0px;}

    .service .service-text {
        height: 120px;
        width: 100%;
    }

    .service .service-slider {width: 100%;}

    .service-text-border {
        width: 100%;
        height: 120px;
    }


    .service .service-text p {
        width: 630px;
        font-size: 20px;
        margin-left: 25px;
        line-height: 1.3;
    }

}


/* Footer */

@media (max-width : 991px) {

    footer{padding: 45px 0 130px 0;}
    
    .footer-logo, .social-media{
        display: flex;
        justify-content: center;
    }
    
    .first , .footer-contact{width: 100%;}

    .footer-contact{margin-top: 15px;}

    .the-contact {height: 52px;}

    .scroll-up-btn {right: 15px;}
 
    .the-contact p {padding: 7px 0 0 10px;}

    .the-contact .contact-img img {margin-top: 5px;}

    .social-media .center-icons{padding-left:0px ;}

    .contact-heading{margin: 25px 0 5px 0;}
}


@media(max-width: 458px){
    
    .the-contact:first-child {height: 70px;}

    .the-contact p {padding: 7px 0 0 10px;}

    .the-contact .contact-img{width: 8%;}

    .the-contact p {width: 92%;}
     
}

/* More */

@media (max-width : 767px) { /* Mobile and Tablet Rules */

    .visible-xs{
        display: block !important;
    }
    .hidden-xs{
        display: none !important; 
    } 
    
}


@media(min-width: 768px) and (max-width:991px) { /* Small Screen Rules */

    .visible-sm{
        display: block !important;
    }
    .hidden-sm{
        display: none !important;
    }
    
    p{
        font-size: 15px !important;
    }

}

@media(min-width: 992px) and (max-width:1199px){ /* Medium Screen Rules */

	.visible-md{
		display: block !important;
	}

	.hidden-md{
		display: none !important;
	}

}

@media(min-width: 1200px){ /* Large Screen Rules */

	.visible-lg{
		display: block !important;
	}

	.hidden-lg{
		display: none !important;
	}
}