/* Start Global Rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root{
    --main-color:#2196f3;
    --main-color-sec:#bd1d1d;
    --main-color-alt:#1787e0;
    --main-transition: 0.3s;
    --section-background:#ececec;
}
html{
    scroll-behavior: smooth;
    perspective: 700px;
}
body{
    font-family: "Cairo", sans-serif;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
span{
    color: var(--main-color-sec);
}
.container{
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
/* Small */
@media (min-width:768px){
    .container{
        width: 750px;
    }
}
/* Medium */
@media (min-width:992px){
    .container{
        width: 970px;
    }
}
/* Large */
@media (min-width:1200px){
    .container{
        width: 1170px;
    }
}
.main-title{
    margin:0px auto 80px;
    border: 2px solid #000;
    padding: 10px 20px;
    font-size: 28px;
    width: fit-content;
    position: relative;
    transition: var(--main-transition);
    z-index: 102;
}
.main-title::after,
.main-title::before{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--main-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.main-title::after{
    right: -30px;
}
.main-title::before{
    left: -30px;
}
.main-title:hover::before{
    z-index: -1;
    animation: left-move .5s linear forwards;
}
.main-title:hover::after{
    z-index: -1;
    animation: right-move .5s linear forwards;
}
.main-title:hover{
    color: #fff;
    border: 2px solid #fff;
    transition-delay: .5s;
}
.dots{
    background-image: url(../pic/dots.png);
    background-repeat: no-repeat;
    position: absolute;
    height: 186px;
    width: 204px;
}
.dots-up{
    top: 200px;
    right: 0;
}
.dots-down{
    bottom: 200px;
    left: 0;
}
/* End Global Rules */

/* Start Header */
.header{
    background-color: white;
    position: relative;
    -webkit-box-shadow: 0 0 10px #ddd;
    -moz-box-shadow: 0 0 10px #ddd;
    box-shadow: 0 0 10px #ddd; 
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}
.header .logo{
    font-size: 22px;
    font-weight: 700;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
}
@media(max-width:767px){
    .header .logo{
        width: 100%;
        height: 40px;
    }
}
.header .main-nav {
    display: flex;
}
@media(max-width:767px){
    .header .main-nav{
        margin: auto;
    }
}
.header .main-nav > li:hover .Megamenu{
    opacity: 1;
    z-index: 100;
    top: calc(100% + 1px);
}
.header .main-nav > li > a{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 72px;
    padding: 0px 30px;
    color: #000;
    position: relative;
    overflow: hidden;
    transition: var(--main-transition);
    font-weight: 600;
    font-size: 18px;
}
@media(max-width:767px){
    .header .main-nav > li > a{
        margin: auto;
        padding: 10px;
        font-size: 14px;
        height: 40px;
    }
}
.header .main-nav > li > a::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: -100%;
    transition: var(--main-transition);
    background-color: var(--main-color);
}
.header .main-nav > li > a:hover{
    background-color: #fafafa;
    color: var(--main-color);
}
.header .main-nav > li > a:hover::before{
    left: 0;
}

.header .Megamenu{
    position: absolute;
    left: 0;
    width: -1%;
    background-color: #fff;
    display: flex;
    gap: 50px;
    padding: 30px;
    top: calc(100% + 40px);
    border-bottom: 3px solid var(--main-color);
    transition: top var(--main-transition), opacity var(--main-transition);
    opacity: 0;
}
@media(max-width: 767px){
    .header .Megamenu{
        flex-direction: column;
        gap: 0;
        padding: 5px;
        width: 100%;
    }
}
.header .Megamenu .img img{
    max-width: 100%;
}
@media (max-width: 991px){
    .header .Megamenu .img{
        display: none;
    }
}
.header .Megamenu .links{
    min-width: 240px;
    flex: 1;
}
.header .Megamenu .links li{
    position: relative;
}
.header .Megamenu .links li:not(:last-child){
    border-bottom: 2px solid #e9e6e6;
}
@media(max-width:767px){
    .header .Megamenu .links li:first-of-type li:last-child{
        border-bottom: 2px solid #e9e6e6;
    }
}
.header .Megamenu .links li::before{
    content:"";
    position: absolute;
    background-color: #e6e6e6;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: var(--main-transition);
    z-index: -1;
    border-top: 2px solid var(--main-color);
}
.header .Megamenu .links li:hover::before{
    width: 100%;
}
.header .Megamenu .links li a{
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
    display: block;
    padding: 15px;
}
.header .Megamenu .links li a i{
    margin-right: 10px;
}
/* End Header */

/* Start Main */
.landing{
    position: relative;
}
.landing::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -40;
    left: 0;
    background-color: #ececec;
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: top left;

}
.landing .container{
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding-bottom: 120px;
}
.landing .text{
    flex: 1;
}
@media (max-width : 991px){
    .landing .text{
        text-align: center;
    }
}
.landing .text h1{
    letter-spacing: -1px;
    font-size: 37px;
}
@media (max-width : 767px){
    .landing .text h1{
        font-size: 25px;
    }
}
.landing .text p{
    line-height: 1.7;
    font-size: 20px;
    max-width: 500px;
}
@media (max-width : 991px){
    .landing .text p{
        margin: auto;
    }
}
@media (max-width : 767px){
    .landing .text p{
        font-size: 16px;
    }
}
.landing .img img{
    position: relative;
    width: 400px;
    height: 400px;
    animation: up-and-down 5s linear infinite;
}
@media (max-width : 991px){
    .landing .img{
        display: none;
    }
}
.landing .go-down{
    color: var(--main-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--main-transition);
    margin-top: -40px;
}
.landing .go-down:hover{
    color: var(--main-color-alt);
}
.landing .go-down i{
    animation: bouncing 1.5s infinite;
}
/* End Main */

/* Start Article */
.article{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.article .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}
.article .container .box{
    box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform var(--main-transition), box-shadow var(--main-transition);
}
.article .container .box:hover{
    transform: translateY(-10px);
    box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
}
.article .container .box img{
    max-width: 100%;
}
.article .container .box .content{
    padding: 20px;

}
.article .container .box .content h3{
    margin: 0;
}
.article .container .box .content p{
    margin: 10px 0 0 0;
    line-height: 1.7;
    color: #777;
}
.article .container .box .info{
    padding: 20px;
    border: 1px solid #e6e6e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article .container .box .info a{
    color: var(--main-color);
    font-weight: bold;
}
.article .container .box .info i{
    color: var(--main-color);
}
.article .container .box:hover .info i{
    animation: moving-arrow 0.6s linear infinite;
}

/* End Article */

/* Start Gallery */
.gallery{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-color: var(--section-background);
}
.gallery .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.gallery .box{
    padding: 15px;
    background-color: #fff;
    box-shadow: 0px 12px 20px rgb(0 0 0 / 13%), 0px 2px 4px 0px rgb(0 0 0 / 12%);
}
.gallery .box .image{
    position: relative;
    overflow: hidden;
}
.gallery .box .image::before{
    position: absolute;
    content:"";
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50% , -50%);
    background-color: rgb(255 255 255 / 20%);
    opacity: 0;
    z-index: 1;
}
.gallery .box .image:hover::before{
    animation: flashing 0.7s;
}

.gallery .box .image img{
    max-width: 100%;
    transition: var(--main-transition);
}
.gallery .box .image:hover img{
    transform: rotate(5deg) scale(1.1);
}
/* End Gallery */

/* Start Features */
.features{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-color: #fff;
}
.features .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.features .box{
    text-align: center;
    border: 1px solid #ccc;
}
.features .img-holder{
    position: relative;
    overflow: hidden;
}
.features .img-holder::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.features .img-holder::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0px 0px 170px 500px;
    border-color: transparent transparent #ffffff transparent;
    transition: var(--main-transition);
}
@media(max-width:767px){
    .features .img-holder::before{
        height: 99%;
    }
}
.features .img-holder img{
    max-width: 100%;
}
.features .box:hover .img-holder::after{
    border-width: 170px 500px 240px 0px;
}
@media(max-width:767px){
    .features .box:hover .img-holder::after{
       width: 20px;
    }
}
.features .box h2{
    position: relative;
    font-size: 40px;
    margin: auto;
    width: fit-content;
}
.features .box h2::after{
content: "";
position: absolute;
bottom: -20px;
left: 15px;
height: 5px;
width: calc(100% - 30px) ;
}
.features .box p{
    line-height: 2;
    font-size: 20px;
    margin: 30px 0px;
    padding: 25px;
    color: #777;
}
.features .box a{
    display: block;
    width: fit-content;
    font-size: 23px;
    padding: 10px 30px;
    margin: 0 auto 20px;
    font-weight: bold;
    border:2px solid transparent;
    border-radius: 5px;
    transition: var(--main-transition);
}
/* ////////////////////////////////////////////////////////////////////////////// */
.features .quality .img-holder::before{
    background-color: #bd1d1d77;
}
.features .quality h2::after{
    background-color: #bd1d1d;
}
.features .quality a{
    color: #bd1d1d;
    border-color: #bd1d1d; 
    background: linear-gradient( to right , #bd1d1d 50%,#fff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
}
.features .box:hover a{
    background-position: left bottom;
    color: #fff;
}
/* ////////////////////////////////////////////////////////////////////////////// */
.features .time .img-holder::before{
    background-color: #00968777;
}
.features .time h2::after{
    background-color: #009688;
}
.features .time a{
    color: #009688;
    border-color: #009688; 
    background: linear-gradient( to right , #009688 50%,#fff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
}
.features .box:hover a{
    background-position: left bottom;
    color: #fff;
}
/* ////////////////////////////////////////////////////////////////////////////// */
.features .passion .img-holder::before{
    background-color: #03a8f477;
}
.features .passion h2::after{
    background-color: #03a9f4;
}
.features .passion a{
    color: #03a9f4;
    border-color: #03a9f4; 
    background: linear-gradient( to right , #03a9f4 50%,#fff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
}
.features .box:hover a{
    background-position: left bottom;
    color: #fff;
}
/* ///////////////////////////////////////////////////////////////// */
/* End Features */

/* Start Testimonials */
.testimonials{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-color: var(--section-background);
}
.testimonials .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.testimonials .box{
    background-color: #fff;
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
    position: relative;
    transform-style: preserve-3d;
}
.testimonials .box .imga{
    position: absolute;
    right: -10px;
    top: -50px;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    background-color: var(--section-background);
    border: 5px solid var(--section-background);
    overflow: hidden;
}
.testimonials .box .imga img{
    max-width: 100%;
    transition: 2s;
    border-radius: 50%;
    border: 5px solid #fff;
}
.testimonials .box:hover img{
    transform: rotateY(360deg);
}
.testimonials .box h3{
    margin: 0 0 10px;
    color: var(--main-color);
}
.testimonials .box .title{
    color: #777;
    display: block;
}
.testimonials .container .rate .filled{
    margin: 10px  0;
    color: #ffc107
}

.testimonials .container .box p{
    line-height: 1.7;
    color: #777;
}
/* End Testimonials */

/* Start Team  */
.team{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.team .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.team .container .box{
    position: relative;
}
.team .box::after,
.team .box::before{
    position: absolute;
    content: "";
    background-color: #f3f3f3;
    right: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    transition: var(--main-transition);
}
.team .box::before{
    width: calc(100% - 60px);
    z-index: -1;
}
.team .box::after{
    width: 0;
    z-index: -1;
    background-color: #e4e4e4;
}
.team .box:hover::after{
    width: calc(100% - 60px);
}
.team .data{
    display: flex;
    align-items: center;
    padding-top: 60px;
}
.team .data img{
    max-width: 100%;
    transition: var(--main-transition);
    width: calc(100% - 60px);
    border-radius: 10px;
}
.team .box:hover img{
    filter: grayscale(100%);
}
.team .social{
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.team .social a{
    width: 60px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.team .social a:hover i{
    color: var(--main-color);
}
.team .social i{
    color: #777;
    transition: var(--main-transition);
}
.team .info{
    padding-left: 80px;
}
.team .info h3{
    padding: 10px 0;
    color: var(--main-color);
    font-size: 22px;
    transition: var(--main-transition);
}
.team .info p{
    padding-bottom: 20px;
}
.team .box:hover h3{
    color: #777;
}
/* End Team  */

/* Start services */
.services{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-color: var(--section-background);
}
.services .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.services .box{
    background-color: #fff;
    box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%),0 2px 4px 0 rgb(0 0 0 / 12%);
    position: relative;
    transition: var(--main-transition);
    counter-increment: services;

}
.services .box::before{
    content: "";
    position: absolute;
    top:-3px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background-color: var(--main-color);
    width: 0;
    transition: var(--main-transition);
}
.services .box:hover::before{
    width: 100%;
}
.services .box:hover{
    transform: translateY(-10px);
}
.services .box i{
    margin: 30px auto 20px;
    display: block;
    text-align: center;
    color: #d5d5d5;
}
.services .box h3{
    padding: 20px 0px 40px;
    color: var(--main-color);
    font-size: 25px;
    text-align: center;
}
.services .info{
    position: relative;
    text-align: right;
    background-color: #f9f9f9;
    padding: 15px;
}
.services .info::after{
    content: "";
    position: absolute;
    background-color: #d5d5d5;
    top: 0;
    left: 80px;
    width: 50px;
    height: calc(100% + 0.4px);
    transform: skewX(-30deg);
}
.services .info::before{
    content: "0" counter(services);
    position: absolute;
    background-color: var(--main-color);
    color: #fff;
    left: 0;
    top: 0;
    height: 100%;
    width: 80px;
    padding-right: 15px;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.services .info a{
    color: var(--main-color);
}

/* Start services */

/* Start Skills */
.our-skills{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.our-skills .container{
    display: flex;
    align-items: center;
}
.our-skills .imgg{
    width: 80%;
    
}
.our-skills .imgg img{
    
    width: 100%;
    
}
@media(max-width:991px){
    .our-skills .imgg{
        display: none;
    }
}
.our-skills .skills{
    display: 1;
    width: 100%;
    margin-left:20px ;
}
.our-skills .skill h3{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.our-skills .skills .skill h3 span{
    font-size: 12px;
    border: 1px solid #ccc;
    padding: 3px 5px;
    color: var(--main-color);
    border-radius: 4px;
}
.our-skills .the-progress{
    height: 30px;
    background-color: #eee;
    position: relative;
    margin: 20px 0px;
}
.our-skills .skill .the-progress span{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--main-color);
    animation: width 0.5s linear;
}
/* End Skills */

/* Start Work steps */
.work-steps{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-color: var(--section-background);
}
.work-steps .container{
    display: flex;
    align-items: center;
}
@media(max-width:991px){
    .work-steps .container{
        flex-direction: column;   
    }
}
.work-steps .container .imggg{
    width: 60%;
    margin-left: -70px;
    
}

.work-steps .container .imggg img{
    width: 100%; 
}
@media(max-width:991px){
    .work-steps .container .imggg{
        margin: 0 0 50px;
    }
}
.work-steps .info .box{
    background-color: #f6f5f5;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    border: 2px solid white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
@media(max-width:991px){
    .work-steps .info .box{
        flex-direction: column;
    }
}
.work-steps .info .box::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #acacac1f;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    transition: var(--main-transition);
}
.work-steps .info .box:hover::before{
    width: 100%;
    height: 100%;
}
.work-steps .info .box img{
    width: 65px;
    margin-right: 30px;
}
@media(max-width:991px){
    .work-steps .info .box img{
        margin-right: -10px;
        margin-bottom: 30px;
    }
}
.work-steps .info .box .text h3{
    font-size: 22px;
    padding: 0 0 10px;
}
.work-steps .info .box .text p{
    line-height: 1.7;
    font-size: 18px;
    color: #555;
}
@media(max-width:991px){
    .work-steps .info .box .text{
        text-align: center;
        margin-top: -20px;
    }
}
/* Start Work steps */

/* Start Events */
.events{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.events .container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.events .container img{
    max-width: 450px;
    z-index: 1;
}
@media(max-width:991px){
    .events .container img{
        display: none;
    }
}
.events .info{
    flex: 1;
}

.events .time{
    display: flex;
    gap: 10px;
    justify-content: center;
    text-align: center;
    margin: 10px auto;
}
.events .time .unit{
    border:  2px solid #d4d4d4;
    width: 72px;
    border-radius: 6px;
    text-align: center;
    transition: var(--main-transition);
}
.events .time .unit span{
    display: block;
    color: #000;
    transition: var(--main-transition);
}
.events .time .unit span:first-child{
    font-size: 35px;
    font-weight: bold;
    color: var(--main-color);
    padding: 15px;
}
.events .time .unit span:last-child{
    padding: 8px 6px;
    border-top: 2px solid #d4d4d4;
}
.events .time .unit:hover span:last-child,
.events .time .unit:hover{
    border-color: var(--main-color);
}
.events .title{
    text-align: center;
    margin: 40px 0 0;
    font-size: 30px;
}
.events .description{
    line-height: 1.7;
    color: #777;
    font-size: 19px;
    text-align: center;
    margin: 20px 0 0 0;
}
.events .subscribe{
    width: 100%;
    margin-top: 10px;
    text-align: center;
}
.events .subscribe form{
    width: 600px;
    margin: 20px auto;
    padding: 20px 30px;
    background-color: #f6f5f5;
    border-radius: 50px;
    display: flex;
    gap: 20px;

}
@media(max-width:767px){
    .events .subscribe form{
        max-width: 100%;
        flex-direction: column;
        border-radius: 5px;
        padding: 20px;
    }
}
.events .subscribe form input[type = "email"]{
    flex: 1;
    padding: 20px;
    border-radius: 50px;
    border: none;
    caret-color: var(--main-color);
}
@media(max-width:767px){
    .events .subscribe form input[type = "email"]{
        border-radius: 5px;
    }
}
.events .subscribe form input[type = "email"]:focus{
    outline: none;
}
.events .subscribe form input[type = "email"]::placeholder{
    transition:  opacity var(--main-transition);
}
.events .subscribe form input[type = "email"]:focus::placeholder{
    opacity: 0;
}
.events .subscribe form input[type = "submit"]{
    background-color: var(--main-color);
    color: #fff;
    border-radius: 50px;
    padding: 20px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: var(--main-transition);
}
@media(max-width:767px){
    .events .subscribe form input[type = "submit"]{
        border-radius: 5px;
    }
}
.events .subscribe form input[type = "submit"]:hover{
    background-color: var(--main-color-alt);
}
/* End Events */
/* Start Pricing */
.pricing{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-color: var(--section-background);
}
.pricing .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.pricing .box{
    background-color: #fff;
    border-radius: 6px;
    position: relative;
    text-align: center;
    z-index: 1;
    transition: var(--main-transition);
    box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%),0 2px 4px 0 rgb(0 0 0 / 12%);
}
.pricing .box::before,
.pricing .box::after{
    content: "";
    position: absolute;
    width: 0;
    height: 50%;
    z-index: -1;
    transition: var(--main-transition);
    background-color: #f6f6f6;
}
.pricing .box::before{
    top: 0;
    left: 0;
}
.pricing .box::after{
    right: 0;
    bottom: 0;
}
.pricing .box:hover::before,
.pricing .box:hover::after{
    width: 100%;
}
@media(min-width:1200px){
    .pricing .popular{
        top: -20px;
    }
}
.pricing .popular .label{
    position: absolute;
    writing-mode: vertical-lr;
    background-color: var(--main-color);
    padding: 10px 10px 40px 10px;
    color: #fff;
    font-weight: bold;
    right: 20px;
    width: 40px;
}
.pricing .popular .label::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-color: transparent transparent #fff;
    border-width: 20px;
}
.pricing .box .title{
    font-weight: bold;
    margin: 30px 0;
    font-size: 25px;
    letter-spacing: -1px;
}
.pricing .box  img{
    width: 80px;
    margin-bottom: 30px;
}
.pricing .price{
    margin-bottom: 20px;
}
.pricing .price .amount{
    display: block;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--main-color);
}
.pricing .price .time{
    color: #777;
}
.pricing .box ul{
    text-align: left;
}
.pricing .box ul li{
    padding: 20px;
    border-top: 1px solid #eee;
}
.pricing .box ul li::before{
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    margin-right: 10px;
    font-weight:900;
    color: var(--main-color);
}
.pricing .box a{
    display: block;
    width: fit-content;
    margin: 20px auto 40px;
    border: 3px solid var(--main-color);
    padding: 10px 20px;
    color: var(--main-color);
    font-weight: bold;
    border-radius: 6px;
    transition: var(--main-transition);
}
.pricing .box a:hover{
    background-color: var(--main-color-alt);
    border-color: var(--main-color-alt);
    color: #fff;
}
/* End Pricing */

/* Start Videos */
.videos{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.videos .holder{
    display: flex;
    justify-content: center;
    background-color: var(--section-background);
    border: 3px solid #ddd;
}
@media(max-width:991px){
    .videos .holder{
        flex-direction: column;
    }
}
.videos .list{
    min-width: 300px;
    background-color: #fff;
}
.videos .name{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f4f4f4;
    font-weight: bold;
}
.videos ul{
    
}
.videos ul li{
    padding: 20px;
    border-top: 1px solid var(--section-background);
    cursor: pointer;
    transition: var(--main-transition);
}
.videos ul li:hover{
    background-color: #fafafa;
    color: var(--main-color);
}
.videos ul li span{
    display: block;
    margin-top: 10px;
    color: #777;
}
.videos .preview{
    background-color: #e2e2e2;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.videos .preview iframe{
    max-width: 100%;
}
.videos .info{
    padding: 20px;
    background-color: #fff;
    margin-top: 10px;
}
/* End Videos */

/* Start Stats */
.stats{
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    background-image: url(../pic/stats.jpg);
    background-size: cover;
    min-height: 300px;
}
.stats::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255 / 95%);
}
.stats h2{
    font-size: 40px;
    font-weight: bold;
    width: fit-content;
    margin: 0 auto 50px;
    position: relative;
}
.stats .container{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.stats .box{
    background-color: #fff;
    padding: 30px 15px;
    text-align: center;
    position: relative;
    opacity: .8;
    transition: var(--main-transition);
}
.stats .box::after,
.stats .box::before{
    content:"";
    position: absolute;
    width: 4px;
    height: 0;
    transition: 1s;
    background-color: var(--main-color);
}
.stats .box::before {
    top: 0;
    right: 0;
  }
  .stats .box::after {
    left: 0;
    bottom: 0;
  }
.stats .box:hover::after,
.stats .box:hover::before{
    height: 100%;
}
.stats .box:hover{
    opacity: 1;
}
.stats .number{
    display: block;
    font-size: 50px;
    font-weight: bold;
    margin: 10px 0;
    color: #000;
}
.stats .text{
    color: var(--main-color-alt);
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
}
/* End Stats */

/* Start Discount */
.discount {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
  }
  .discount .image {
    background-image: url(../imgs/discount-background1.jpg);
    background-size: cover;
    color: white;
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: change-background 10s linear infinite;
  }
  .discount .image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(23 135 224 / 97%);
    z-index: -1;
  }
  @media (max-width: 991px) {
    .discount .image {
      flex-basis: 100%;
    }
  }
  .discount .form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 50%;
    padding-bottom: 50px;
  }
  @media (max-width: 991px) {
    .discount .form {
      flex-basis: 100%;
    }
  }
  .discount .form .input {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: #f9f9f9;
    caret-color: var(--main-color);
  }
  .discount .form textarea.input {
    resize: none;
    height: 200px;
  }
  .discount .form .input:focus {
    outline: none;
  }
  .discount .form [type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: var(--main-transition);
  }
  .discount .form [type="submit"]:hover {
    background-color: var(--main-color-alt);
  }
  .discount .content {
    text-align: center;
    padding: 0 20px;
  }
  .discount .content h2 {
    font-size: 40px;
    letter-spacing: -2px;
    padding: 30px 0;
  }
  .discount .content p {
    line-height: 1.6;
    font-size: 18px;
    max-width: 500px;
  }
  .discount .content img {
    width: 300px;
    max-width: 100%;
  }
  /* End Discount */

/* Start Footer */
.footer {
    background-color: #191919;
    padding: 70px 0 0;
  }
  @media (max-width: 767px) {
    .footer {
      text-align: center;
    }
  }
  .footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
  }
  .footer .box h3 {
    color: white;
    font-size: 40px;
    margin: 0 0 20px;
  }
  .footer .box .social {
    display: flex;
  }
  @media (max-width: 767px) {
    .footer .box .social {
      justify-content: center;
    }
  }
  .footer .box .social li {
    margin-right: 10px;
  }
  .footer .box .social li a {
    background-color: #313131;
    color: #b9b9b9;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 20px;
    transition: var(--main-transition);
  }
  .footer .box .social .facebook:hover {
    background-color: #1877f2;
  }
  .footer .box .social .twitter:hover {
    background-color: #1da1f2;
  }
  .footer .box .social .youtube:hover {
    background-color: #ff0000;
  }
  .footer .box .text {
    line-height: 2;
    color: #b9b9b9;
  }
  .footer .box .links li {
    padding: 15px 0;
    transition: var(--main-transition);
  }
  .footer .box .links li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
  .footer .box .links li:hover {
    padding-left: 10px;
  }
  .footer .box .links li:hover a {
    color: white;
  }
  .footer .box .links li a {
    color: #b9b9b9;
    transition: var(--main-transition);
  }
  .footer .box .links li a::before {
    font-family: "Font Awesome 5 Free";
    content: "\F101";
    font-weight: 900;
    margin-right: 10px;
    color: var(--main-color);
  }
  .footer .box .line {
    display: flex;
    align-items: center;
    color: #b9b9b9;
    margin-bottom: 30px;
  }
  @media (max-width: 767px) {
    .footer .box .line {
      flex-direction: column;
    }
  }
  .footer .box .line i {
    font-size: 25px;
    color: var(--main-color);
    margin-right: 10px;
  }
  @media (max-width: 767px) {
    .footer .box .line i {
      margin-right: 0;
      margin-bottom: 15px;
    }
  }
  .footer .box .line .info {
    line-height: 1.7;
    flex: 1;
  }
  .footer .box .line .info span {
    display: block;
    color: #999;
  }
  .footer .footer-gallery img {
    width: 78px;
    border: 3px solid white;
    margin: 2px;
  }
  .footer .copyright {
    padding: 25px 0;
    text-align: center;
    color: white;
    margin: 50px 0 0;
    border-top: 1px solid #444;
  }
  .footer .copyright a{
    color: #bd1d1d;
    font-weight: bold;

  }
/* End Footer */

/* Start Animation */
@keyframes up-and-down{
    0%,100%{
        top: 0;
    }
    50%{
        top: -40px;
    }
}

@keyframes bouncing{
    0%,10%,20%,50%,80%,100%{
        transform: translateY(0);
    }
    40%,60%{
        transform: translateY(-10px);
    }
}

@keyframes left-move{
    50%{
        left: 0;
        width: 12;
        height: 12;
    }
    100%{
        border-radius: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}
@keyframes right-move{
    50%{
        right: 0;
        width: 12;
        height: 12;
    }
    100%{
        border-radius: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
}

@keyframes moving-arrow{
    100%{
        transform: translateX(10px);
    }
}

@keyframes flashing{
    0%,40%{
        opacity: 1;
        
    }
    100%{
        opacity: 0;
        width: 200%;
        height: 200%;
    }
}
@keyframes width{
    0%,50%{
        width: 0px;
    }
    100%{
        width: 100%;
    }
}
@keyframes change-background {
    0%,
    100% {
      background-image: url("../pic/discount-background1.jpg");
    }
    50% {
      background-image: url("../pic/discount-background2.jpg");
    }
  }
/* Start Animation */