/* Start Global Rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:root {
    --main-color: #2196f3;
    --main-color-alt: #1787E0;
    --main-transition: 0.3s;
    --main-padding-top: 75px;
    --main-padding-bottom: 75px;
    --section-background-color: #ECECEC;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Open Sans", sans-serif;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.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: 0 auto 75px;
    border: 2px solid black;
    padding: 10px 20px;
    font-size: 30px;
    font-weight: 900;
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
    text-transform: uppercase;
}
.main-title::before,
.main-title::after{
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.main-title::before{
    left: -30px;
}
.main-title::after{
    right: -30px;
}
.main-title:hover::before{
    z-index: -1;
    animation: left-move 0.5s linear forwards;
}
.main-title:hover::after{
    z-index: -1;
    animation: right-move 0.5s linear forwards;
}
.main-title:hover{
    color: white;
    border: 2px solid white;
    transition-delay: 0.3s;
}
.spikes-up{
    position: relative;
}
.spikes-up:after{
    content:"";
    position: absolute;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 1;
    background-image: linear-gradient(135deg, white 25%, transparent 25%),
        linear-gradient(225deg, white 25%, transparent 25%);
    background-size: 30px 30px;
}
.spikes-down{
    position: relative;
}
.spikes-down:after{
    content:"";
    position: absolute;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 1;
    background-image: linear-gradient(135deg, #ECECEC 25%, transparent 25%),
        linear-gradient(225deg, #ECECEC 25%, transparent 25%);
    background-size: 30px 30px;
}
.spikes-down-sec{
    position: relative;
}
.spikes-down-sec:after{
    content:"";
    position: absolute;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 1;
    background-image: linear-gradient(135deg, #f7f7f7 25%, transparent 25%),
        linear-gradient(225deg, #f7f7f7 25%, transparent 25%);
    background-size: 30px 30px;
}
.dots{
    background-image: url("../img/dots.png");
    height: 186px;
    width: 204px;
    background-repeat: no-repeat;
    position: absolute;
}
@media (max-width: 767px){
    .dots {
        display: none;
    }
}
.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;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}
.header .logo {
    color: var(--main-color);
    font-size: 36px;
    font-weight: bold;
    display: flex;
    height: 72px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .header .logo{
        width: 100%;
        height: 50px;
    }
}
.header .main-nav {
    display: flex;
}

@media (max-width: 767px) {
    .header .main-nav {
        margin: auto;
    }
}

.header .main-nav > li:hover .mega-menu{
    opacity: 1;
    z-index: 1;
    top: calc(100% + 1px);
}
.header .main-nav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 72px;
    position: relative;
    color: black;
    padding: 0 30px;
    font-weight: 600;
    overflow: hidden;
    transition: var(--main-transition);
}
@media (max-width: 767px) {
    .header .main-nav > li > a {
        padding: 10px;
        font-size: 14px;
        height: 40px;
    }
}

.header .main-nav > li > a::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
    top: 0;
    left: -100%;
    transition: var(--main-transition);
}
.header .main-nav > li > a:hover{
    color: var(--main-color);
    background-color: #fafafa;
}
.header .main-nav > li > a:hover::before{
    left: 0;
}
.header .mega-menu{
    position: absolute;
    width: 100%;
    left: 0;
    padding: 30px;
    background-color: white;
    border-bottom: 3px solid var(--main-color);
    z-index: -1;
    display: flex;
    gap: 40px;
    top: calc(100% + 50px);
    transition: top var(--main-transition), opacity var(--main-transition);
    opacity: 0;
}
@media (max-width: 767px){
    .header .mega-menu{
        flex-direction: column;
        gap: 0;
        padding: 5px;
    }
}
.header .mega-menu .image img{
    max-width: 100%;
    /* width: 450px; */
    width: 391px;
}
@media (max-width: 992px){
    .header .mega-menu .image{
        display: none;
    }
}
.header .mega-menu .links{
    min-width: 250px;
    flex: 1;
}
.header .mega-menu .links li{
    position: relative;
}
.header .mega-menu .links li:not(:last-child){
    border-bottom: 1px solid #e9e6e6;
}
@media (max-width: 767px){
    .header .mega-menu .links:first-of-type li:last-child {
        border-bottom: 1px solid #e9e6e6;
    }
}
.header .mega-menu .links li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #fafafa;
    z-index: -1;
    transition: var(--main-transition);
}
.header .mega-menu .links li:hover::before{
    width: 100%;
}
.header .mega-menu .links li a{
    color: var(--main-color);
    padding: 15px;
    display: block;
    font-size: 18px;
    font-weight: bold;
}
.header .mega-menu .links li a i{
    margin-right: 10px;
}
/* End Header */
/* ------------------- */
/* Start Landing */
.landing{
    position: relative;
}
.landing::before{
    position: absolute;
    content: "";
    left: 0;
    top: -40px;
    width: 100%;
    height: 100%;
    background-color: #f2f0fe;
    z-index: -1;
    transform: skewY(-4deg);
    transform-origin: top left;
}

@media (max-width: 576px) { 
    .landing::before{
        transform: skewY(-7deg);
    }
}

.landing .container{
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding-bottom: 120px;
    padding-top: 60px;
}
@media (max-width: 576px) { 
    .landing .container{
        padding-top: 0px;
    }
}
@media (max-width: 992px){
    .landing .container{
        justify-content: center;
        flex-direction: column;
        padding-bottom: 80px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.landing .text{
    flex: 1;
}

@media (max-width: 992px){
    .landing .text{
        text-align: center;
        margin-bottom: 20px;
        flex: 0;
    }
}

.landing .text h1{
    font-size: 40px;
    margin: 0;
    letter-spacing: -3px;
}

@media (max-width: 767px){
    .landing .text h1{
        font-size: 34px;
    }
}

.landing .text p{
    font-size: 24px;
    line-height: 1.7;
    margin: 5px 0 0;
    color: #555555;
    max-width: 500px;
}

@media (max-width: 767px){
    .landing .text p{
        font-size: 18px;
    }
}
@media (max-width: 992px){
    .landing .text p{
        margin: 10px auto;
    }
}

.landing .image img{
    position: relative;
    width: 575px;
    max-width: 100%;
    animation: up-and-down 2s linear infinite;
}

.landing .go-down{
    color: var(--main-color);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--main-transition);
}
.landing .go-down:hover{
    color: var(--main-color-alt);

}
.landing .go-down i{
    animation: bouncing 1.5s infinite;
}
/* End Landing */
/* ------------------- */
/* Start articles */
.articles{
    /* padding-top: var(--main-padding-top); */
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.articles .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 40px;
}
.articles .box{
    box-shadow: 5px 5px 15px rgb(0 0 0 / 25%);
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--main-transition), box-shadow var(--main-transition);
}
.articles .box:hover{
    transform: translateY(-10px);
    box-shadow: 5px 5px 15px rgb(0 0 0 / 50%);
}
.articles .box img{
    max-width: 100%;
}
.articles .box .content{
    padding: 15px;
}
.articles .box .content h3{
    margin: 0;
}
.articles .box .content p {
    margin: 10px 0 0;
    line-height: 1.5;
    color: #777;
}
.articles .box .info{
    padding: 15px;
    border-top: 1px solid #E6E6E7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.articles .box .info a{
    color: var(--main-color);
    font-weight: bold;
}
.articles .box .info i{
    color: var(--main-color);
}
.articles .box:hover .info i{
    animation: moving-arrow 0.9s linear infinite;
}
/* End articles */
/* ------------------- */
/* Start Gallery */
.gallery{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative ;
    background-color: var(--section-background-color);
}
.gallery .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.gallery .box{
    padding: 15px;
    background-color: white;
    box-shadow: 5px 5px 15px rgb(0 0 0 / 25%);
}
.gallery .box .image{
    position: relative;
    overflow: hidden;
}
.gallery .box .image::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255 255 255 / 25%);
    width: 0;
    height: 0;
    opacity: 0;
    z-index: 2;
}
.gallery .box .image:hover::before{
    animation: flashing 0.7s;
}
.gallery .box 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: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: white;
}
.features .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.features .box{
    text-align: center;
    border: 1px solid #CCC;
    box-shadow: 5px 5px 15px rgb(0 0 0 / 35%);
}
.features .box .img-holder{
    position: relative;
    overflow: hidden;
}
.features .box .img-holder::before{
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 100%;
}
.features .box .img-holder::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0px 0px 150px 500px;
    border-color: transparent transparent white transparent;
    transition: var(--main-transition);
}
.features .box .img-holder img{
    width: 100%;
}
.features .box:hover .img-holder::after{
    border-width: 150px 500px 150px 0;
    /* left: 0; */
}
.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 0;
    padding: 25px;
    font-weight: 600;
    color: #777;
}
.features .box a{
    display: block;
    border: 3px solid   transparent;
    width: fit-content;
    margin: 0 auto 30px;
    font-weight: bold;
    font-size: 22px;
    padding: 10px 30px;
    border-radius: 5px;
    transition: var(--main-transition);
}
.features .quality .img-holder::before{
    background-color: rgb(0 150 136 / 50%);
}
.features .quality h2::after{
    background-color: #009688;
}
.features .quality a{
    color: #009688;
    border-color: #009688;
    background: linear-gradient(to right, #009688 50%, white 50%);
    background-size: 200% 97%;
    background-position: right bottom;
}
.features .design .img-holder::before{
    background-color: rgb(244 64 54 / 50%);
}
.features .design h2::after{
    background-color: #f44036;
}
.features .design a{
    color: #f44036;
    border-color: #f44036;
    background: linear-gradient(to right, #f44036 50%, white 50%);
    background-size: 200% 97%;
    background-position: right bottom;
}
.features .speed .img-holder::before{
    background-color: rgb(3 169 244 / 50%);
}
.features .speed h2::after{
    background-color: #03a9f4;
}
.features .speed a{
    color: #03a9f4;
    border-color: #03a9f4;
    background: linear-gradient(to right, #03a9f4 50%, white 50%);
    background-size: 200% 97%;
    background-position: right bottom;
}
.features .box:hover a{
    background-position: left bottom;
    color: white;
}
/* Start Features */
/* ------------------- */
/* Start Testimonials */
.testimonials{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: var(--section-background-color);
}
.testimonials .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* gap: 60px 40px; <- (first ex:60px column & Second ex:40px row) */
    column-gap: 40px;
    row-gap: 60px;
}
.testimonials .box{
    padding: 20px;
    background-color: white;
    box-shadow: 0px 5px 5px rgb(0 0 0 / 10%);
    border-radius: 5px;
    position: relative;
}
.testimonials .box img{
    position: absolute;
    right: -10px;
    top: -50px;
    width: 125px;
    border-radius: 50%;
    border: 10px solid var(--section-background-color);

}
.testimonials .box h3{
    margin: 0 0 10px;
    color: var(--main-color);
}
.testimonials .box .title{
    color: #666;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.testimonials .box .rate .filled{
    color: #ffc107;
}
.testimonials .box p{
    line-height: 1.5;
    color: #777;
    margin-top: 10px;
    margin-bottom: 0;
}
/* End Testimonials */
/* ------------------- */
/* Start Team */
.team{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.team .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.team .box{
    position: relative;
}
.team .box::before,
.team .box::after{
    content: "";
    background-color: #f3f3f3;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    transition: var(--main-transition);
}
.team .box::before{
    width: calc(100% - 60px);
    z-index: -2;
}
@media (max-width: 576px) { 
    .team .box::before {
        width: 100%;
    }
}
.team .box::after{
    z-index: -1;
    background-color: #e4e4e4;
    width: 0;
}
.team .box:hover::after{
    width: calc(100% - 60px);
}
.team .box .data{
    display: flex;
    align-items: center;
    padding-top: 60px;
}
.team .box .data img{
    width: calc(100% - 60px);
    border-radius: 10px;
    transition: var(--main-transition);
}
.team .box:hover img{
    filter: grayscale(100%);
}
.team .box .data .social{
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.team .box .data .social a:not(:first-of-type){
    width: 60px;
    height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team .box .data .social a:nth-of-type(1){
    color: #4267B2;
    transition: var(--main-transition);
}
.team .box .data .social a:nth-of-type(2){
    color: #00acee;
    transition: var(--main-transition);
}
.team .box .data .social a:nth-of-type(3){
    color: #0E76a8;
    transition: var(--main-transition);
}
.team .box .data .social a:nth-of-type(4){
    color: #f46f30;
    transition: var(--main-transition);
}
.team .box .data .social a:hover:nth-of-type(1){
    color: #4267B2;
    transition: var(--main-transition);
}
.team .box .data .social a:hover:nth-of-type(2){
    color: #00acee;
    transition: var(--main-transition);
}
.team .box .data .social a:hover:nth-of-type(3){
    color: #0E76a8;
    transition: var(--main-transition);
}
.team .box .data .social a:hover:nth-of-type(4){
    color: #f46f30;
    transition: var(--main-transition);
}
.team .box:hover .data .social a{
    color: #777;
}
.team .box .info{
    padding-left: 80px;
}
@media (max-width: 576px) { 
    .team .box .info {
        padding-left: 20px;
    }
}
.team .box .info h3{
    margin-bottom: 0;
    color: var(--main-color);
    font-size: 22px;
    transition: var(--main-transition);
}
.team .box .info p{ 
    margin-top: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}
.team .box:hover .info h3{
    color: #777;
}
/* End Team */
/* ------------------- */
/* Start Services */
.services{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: var(--section-background-color);
}
.services .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.services .box{
    background-color: white;
    box-shadow: 0 12px 20px 0 rgb(0 0 0 / 30%), 0 2px 4px 0 rgb(0 0 0 / 25%);
    counter-increment: services;
    transition: var(--main-transition);
    position: relative;
}
.services .box::before{
    content: "";
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    top: -3px;
    background-color: var(--main-color);
    position: absolute;
    width: 0;
    transition: var(--main-transition);
}
.services .box:hover{
    transform: translateY(-10px);
}
.services .box:hover::before{
    width: 100%;
}
.services .box > i{
    margin: 30px auto 20px;
    display: block;
    text-align: center;
    color: #c0c0c0;
}
.services .box > h3{
    text-align: center;
    margin: 20px 0 40px;
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
}
.services .box .info{
    padding: 15px;
    position: relative;
    background-color: #eee;
    text-align: right;
}
.services .box .info::before{
    content: "0" counter(services);
    position: absolute;
    background-color: var(--main-color);
    color: white;
    left: 0;
    top: 0;
    height: 100%;
    width: 80px;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 15px;
}
.services .box .info::after{
    content: "";
    position: absolute;
    background-color: #c0c0c0;
    top: 0;
    left: 80px;
    width: 50px;
    height: calc(100% + 0.4px);
    transform: skewX(-30deg);
}
.services .box .info a{
    color: var(--main-color);
    font-weight: bold;
}
/* End Services */
/* ------------------- */
/* Start Skills */
.our-skills{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.our-skills .container{
    display: flex;
    align-items: center;
    gap: 40px;
}

.our-skills img{
    width: 500px;
    align-items: center;
}
@media (max-width: 992px){
    .our-skills img {
        display: none; 
    }
    .main-title {
        margin: 0 auto 50px;
    }
}
.our-skills .skills{
    flex: 1;
}
.our-skills .skill h3{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.our-skills .skill h3 span{
    font-size: 12px;
    border: 1px solid #ccc;
    padding: 3px 5px;
    border-radius: 5px;
    color: var(--main-color);
}
.our-skills .skill .the-progress{
    position: relative;
    height: 30px;
    width: 100%;
    background-color: #eee;
    box-shadow: 3px 4px 10px #555;
}
.our-skills .skill .the-progress span{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--main-color);
    transition: width 0.3s linear;
}
/* End Skills */
/* ------------------- */
/* Start Work Steps */
.work-steps{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: #f7f7f7;
}
.work-steps .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
@media (max-width: 992px){
    .work-steps .container{
        flex-direction: column;
        gap: 50px;
    }
}
.work-steps .image{
    width: 525px;
}
@media (max-width: 992px){
    .work-steps .image{
        max-width: 100%;
    }
}
.work-steps .info .box{
    background-color: #f0f0f0;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    border: 2px solid white;
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 30%);
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}
@media (max-width: 768px){
    .work-steps .info .box{
        flex-direction: column;
        text-align: center;
    } 
}
@media (max-width: 1199px){
    .work-steps .info .box{
        padding: 15px;
    } 
}
.work-steps .info .box::before{
    content: "";
    left: 50%;
    top: 50%;
    position: absolute;
    width: 0;
    height: 0;
    transform: translate( -50%, -50%);
    background-color: #DEDEDE;
    z-index: -1;
    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: 768px){
    .work-steps .info .box img{
        margin-right: 0;
        margin-bottom: 30px;
    } 
}
.work-steps .info .box h3{
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}
.work-steps .info .box p{
    color: #777;
    line-height: 1.7;
    margin: 10px 0 0;
    font-size: 18px;
    font-weight: 600;
}
/* End Work Steps */
/* ------------------- */
/* Start Events */
.events{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}
.events .container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.events img{
    max-width: 450px;
}
@media (max-width: 992px){
    .events img {
        width: 100%;
    }
}
.events .info{
    flex: 1;
}
.events .info .time{
    display: flex;
    align-items: center;
    margin: 20px auto;
    gap: 10px;
    justify-content: center;
}
.events .info .time .unit{
        border: 1px solid #d4d4d4;
        border-radius: 5px;
        text-align: center;
        width: 75px;
        transition: var(--main-transition);
}
.events .info .time .unit span{
    display: block;
    transition: var(--main-transition);
}
.events .info .time .unit span:first-child{
    font-size: 35px;
    padding: 15px;
    color: var(--main-color);
    font-weight: 600;
}
.events .info .time span:last-child{
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    border-top: 1px solid #d4d4d4;
    color: #777;
}
.events .info .time .unit:hover,
.events .info .time .unit:hover span:last-child{
    border-color: var(--main-color);
    border-top: 1px solid var(--main-color);
    color: var(--main-color);
}
.events .title{
    text-align: center;
    margin: 40px 0 0;
    font-size: 30px;
}
.events .description{
    text-align: center;
    line-height: 1.7;
    font-size: 17px;
    color: #777;
}
.events .subscribe{
    width: 100%;
    margin-top: 50px;
}
@media (max-width: 567px){
    .events .subscribe{
        margin-top: 10px;
    }
}
.events .subscribe form{
    width: 600px;
    margin: 20px auto;
    padding: 30px 40px;
    background-color: #f6f5f5;
    border-radius: 50px;
    display: flex;
    gap: 20px;
}
@media (max-width: 767px){
    .events .subscribe form {
        max-width: 100%;
        padding: 5px
    }
}
.events .subscribe form input[type="email"]{
    padding: 20px;
    border-radius: 50px;
    border: none;
    flex: 1;
    caret-color: var(--main-color);
}
@media (max-width: 767px){
    .events .subscribe form input[type="email"]{
        width:200px
    }
}
.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 i{
    position: absolute;
    z-index: 1;
    color: white;
    transform: translate(401px, 22px);
}
@media (max-width: 767px){
    .events .subscribe form i{
        transform: translate(485px, 21px);
    }
}
@media (max-width: 650px){
    .events .subscribe form i{
        display: none;
    }
}
.events .subscribe form input[type="submit"]{
    border-radius: 50px;
    border: none;
    background-color: #FF0101;
    color: white;
    font-weight: bold;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    transition: var(--main-transition);
}
.events .subscribe form input[type="submit"]::before{
    font-family: "Font Awesome 5 Free";
    content: "\f0f3";
    margin-right: 10px;
    font-weight: 900;
}
.events .subscribe form input[type="submit"]:hover{
    background-color: #f10000;
}
.events .subscribe form input[value]{
    padding-left: 40px;
    padding-right: 18px;
}
@media (max-width: 650px){
    .events .subscribe form input[value] {
        padding-left: 20px !important;
    }
}
@media (max-width: 767px){
    .events .subscribe form input[value]{
        width: 115px;
	    padding-left: 30px;
    }
}
/* End Events */
/* ------------------- */
/* Start Pricing */
.pricing{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: var(--section-background-color);
}
.pricing .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.pricing .box{
    position: relative;
    background: white;
    text-align: center;
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 30%);
    transition: var(--main-transition);
    z-index: 1;
}
.pricing .box::before,
.pricing .box::after{
    content: "";
    width: 0;
    height: 50%;
    background-color: #f6f6f6;
    position: absolute;
    z-index: -1;
    transition: var(--main-transition);
}
.pricing .box::before{
    left: 0;
    top: 0;
}
.pricing .box::after{
    right: 0;
    bottom: 0;
}
.pricing .box:hover::before,
.pricing .box:hover::after{
    width: 100%;
}
@media (min-width: 1200px) {
    .pricing .box.popular{
        top: -20px;
    }
}
.pricing .box.popular .label{
    position: absolute;
    writing-mode: vertical-rl;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    padding: 10px 10px 35px 10px;
    font-size: 18px;
    right: 20px;
    width: 40px;
}
.pricing .box.popular .label::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-color: transparent transparent white;
    border-width: 20px;
}
.pricing .box .title{
    font-weight: bold;
    margin: 30px 0;
    font-size: 25px;
    letter-spacing: -1px;
}
.pricing .box img{
    width: 100px;
    margin-bottom: 30px;
}
.pricing .box .price{
    margin-bottom: 20px;
}
.pricing .box .amount{
    display: block;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--main-color);
}
.pricing .box .time{
    color: #777;
    font-weight: 600;
}
.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;
    font-weight: bold;
    border: 3px solid var(--main-color);
    color: var(--main-color);
    margin: 30px auto 40px;
    padding: 15px 20px;
    border-radius: 5px;
    transition: var(--main-transition);
}
.pricing .box a:hover{
    background-color: var(--main-color-alt);
    border-color: var(--main-color-alt);
    color: white;
}
/* End Pricing */
/* ------------------- */
/* Start Video */
.video{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}
.video .holder{
    display: flex;
    justify-content: center;
    background-color: var(--section-background-color);
    border: 1px solid #DDD;
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 30%);
}
@media (max-width: 992px) {
    .video .holder{
        flex-direction: column;
        
    }
}
.video .holder .list{
    min-width: 300px;
    background-color: white;
}
.video .holder .list .name{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #F4F4F4;
    font-weight: bold;
}
.video .holder .list ul li{
    padding: 20px;
    border-top: 1px solid var(--section-background-color);
    cursor: pointer;
    transition: var(--main-transition);
}
.video .holder .list ul li:hover{
    background-color: #fafafa;
    color: var(--main-color);
}
.video .holder .list ul li span{
    display: block;
    margin-top: 10px;
    color: #777;
}
.video .holder .preview {
    background-color: #E2e2e2;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width: 992px) {
    .video .holder .preview{
        order:-1;
    }
}
.video .holder .preview img{
    max-width: 100%;
}
.video .holder .preview .info{
    padding: 25px;
    background-color: white;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}
/* End Video */
/* ------------------- */
/* Start Stats */
.stats{
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: var(--section-background-color);
    position: relative;
    background-image: url("../img/stats-img.jpg");
    background-size: cover;
    min-height: 300px;
}
.stats::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 60%);
}
.stats h2{
    font-size: 40px;
    font-weight: 900;
    width: fit-content;
    margin: 0 auto 50px;
    color: black;
    position: relative;
}
.stats .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.stats .box{
    background-color: white;
    padding: 30px 15px;
    text-align: center;
    position: relative;
    opacity: 0.7;
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 30%);
    transition: var(--main-transition);
}
.stats .box:hover{
    opacity: 1;
}
.stats .box::before,
.stats .box::after{
    content: "";
    position: absolute;
    width: 2px;
    background-color: var(--main-color);
    transition: 0.8s;
    height: 0;
}
.stats .box:hover::before,
.stats .box:hover::after{
    height: 100%;
}
.stats .box::before{
    top: 0;
    right: 0;
}
.stats .box::after{
    bottom: 0;
    left: 0;
}
.stats .box i{
    color: rgb(100, 100, 100);
}
.stats .box .number{
    display: block;
    font-size: 42px;
    font-weight: bold;
    margin: 10px 0;
}
.stats .box .text{
    color: var(--main-color);
    font-style: italic;
    font-size: 20px;
    font-weight: 600;
}
/* Start Stats */
/* ------------------- */
/* Start Discount */
.discount{
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    transition: var(--main-transition);
}
.discount .image{
    background-image: url("../img/discount-background1.jpg");
    background-size: cover;
    color: white;
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.discount .image::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(23 135 224 / 98%);
    z-index: -1;
}
@media (max-width: 992px){
    .discount .image{
        flex-basis: 100%;
        transition: var(--main-transition);
    }
}
.discount .form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 50%;
    padding-bottom: 50px;
}
@media (max-width: 992px){
    .discount .form{
        flex-basis: 100%;
        transition: var(--main-transition);
    }
}
.discount .form .input{
    display: block;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #CCC;
    background-color: #f9f9f9;
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 10%);
    caret-color: var(--main-color);
}
.discount .form textarea.input{
    resize: none;
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 10%);
    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;
    box-shadow: 0 5px 5px 0 rgb(0 0 0 / 25%);
    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: 42px;
    letter-spacing: -2px;
}
.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;
}
.footer .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 43px;
}
@media (max-width: 600px){
    .footer .container{
        gap: 25px;   
    }
}
@media (max-width: 1200px){
    .footer .container{   
        grid-template-columns: repeat(auto-fill, minmax(287px, 1fr)); 
    }
}
.footer .box h3{
    color:var(--main-color);
    font-size: 50px;
    margin: 0 0 20px;
    text-align: center;
}
.footer .box .social{
    display: flex;
}
@media (max-width: 1200px){
    .footer .box .social {
        justify-content: center;
    }
}
.footer .box .social li{
    margin-right: 10px;
}
@media (max-width: 665px){
    .footer .box .social li:first-child{
        margin-left: 10px;
    }
}
.footer .box .social li a{
    background-color: #313131;
    color: #b9b9b9;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    font-size: 20px;
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 75%);
    transition: var(--main-transition);
}
@media (max-width: 665px){
    .footer .box .social li a{
        width: 60px;
        height: 60px;
    }
}
@media (min-width: 1200px){
    .footer .box .social li a{
        width: 42px;
        height: 42px;
    }
}
.footer .box .social li a:hover{
    border-radius: 50%;
}
.footer .box .social .facebook:hover{
    background-color: #1877f2;
    box-shadow: 0 5px 10px 0 #1877f2;
}
.footer .box .social .twitter:hover{
    background-color: #1da1f2;
    box-shadow: 0 5px 10px 0 #1da1f2;
}
.footer .box .social .instagram:hover{
    background-color: #fd1d1d;
    box-shadow: 0 5px 10px 0 #fd1d1d;
}
.footer .box .social .linked-in:hover{
    background-color: #0077b5;
    box-shadow: 0 5px 10px 0 #0077b5;
}
.footer .box .social .github:hover{
    background-color: #000000;
    box-shadow: 0 5px 10px 0 #000000;
}
.footer .box .text{
    line-height: 1.8;
    color: #b9b9b9;
    font-size: 11px;
    margin-top: 20px;
    font-weight: 600;
}
@media (max-width: 663px){
    .footer .box .text{
        text-align: center;
        font-size: 13px;
    }
}
.footer .box .links li{
    padding: 15px 0px;
    transition: var(--main-transition);
}
@media (max-width: 663px){
    .footer .box .links {
        text-align: center;
    }
}
.footer .box .links li:not(:last-child){
    border-bottom: 1px solid #444;
}

.footer .box .links li:hover{
    padding-left: 10px;
}

.footer .box .links a{
    color: #777;
    font-weight: 600;
    transition: var(--main-transition-);
}
.footer .box .links li:hover a{
    color: var(--main-color-alt);
}
.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: 661px){
    .footer .box .line{
        display: block;
        text-align: center;
        font-size: 18px;
        margin-bottom: 0;
    }
}
.footer .box .line i{
    font-size: 25px;
    color: var(--main-color);
    margin-right: 10px;
}
@media (max-width: 661px){
    .footer .box .line i{
        margin-bottom: 25px;
    }
}
.footer .box .line .info{
    line-height: 1.7;
    flex: 1;
}
@media (max-width: 661px){
    .footer .box .line:not(:last-child) .info{
        margin-bottom: 25px;
    }
}
.footer .box .line .info span{
    display: block;
}

.footer .footer-gallery img{
    width: 120px;
    border: 3px solid white;
    margin: 2px;
}
@media (max-width: 666px){
    .footer .footer-gallery img {
        width: 147px ;
    }
}
@media (max-width: 668px){
    .footer .footer-gallery img {
        width: 137px ;
    }
}
@media (max-width: 770px){
    .footer .footer-gallery img {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 5px;
        height: 200px;
    }
}
@media (max-width: 991px){
    .footer .footer-gallery img {
        width: 106px;
    }
}
@media (max-width: 1200px){
    .footer .footer-gallery{
        text-align: center;
    }
    .footer .footer-gallery img {
        /* width: 142px; */
        width: 153px;
        display: initial;
        height: 80px;
    }
}
.footer .copyright{
    padding: 25px 0;
    text-align: center;
    color: white;
    margin: 50px 0 0;
    border-top: 1px solid #444;
    font-weight: 600;
    font-size: 18px;
}
.footer .copyright span{
    color: var(--main-color);
    font-weight: 900;
}
    /* End Footer */
    /* ----------------------- */
/* section Loading Start */
.loading-overlay{
    background: rgba(2,2,2,0.9);
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
.loader {
    font-size: 10px;
    margin: 275px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 50%);
    background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 50%);
    background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 50%);
    background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 50%);
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 50%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.loader:before {
    width: 50%;
    height: 50%;
    background: #ffffff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}
.loader:after {
    background: #222;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
/* section Loading End */
/* ----------------------- */
/* Back to top button Start */
.scroll-top{
    position: fixed;
    float: right;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: none;
}
.scroll-top .arrow{
    border: 3px solid black;
    padding: 3px;
    box-shadow: 5px 5px 15px 0px black;
    background-color: black;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.9;
}
.scroll-top .arrow:hover{
    border: 3px solid var(--main-color);
    background-color: var(--main-color);
    box-shadow: 5px 5px 15px 0px white;
    opacity: 1;
}
.scroll-top .arrow .fa,.fas{
    color:  var(--main-color);
}
.scroll-top .arrow .fa,.fas:hover{
    color:  white;
}
/* Back to top button End */
/* ------------------- */
/* Start Animation */
@keyframes up-and-down {
    0%, 100%{
        top: 0;
    }
    50%{
        top:-20px;
    }
}
@keyframes bouncing {
    0%, 10%, 20%, 50%, 80%, 100%{
        transform: translateY(0);
    }
    40%, 60%{
        transform: translateY(-20px);
    }
}
@keyframes left-move {
    50%{
        left: 0;
        width: 12px;
        height: 12px;
    }
    100%{
        left: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}
@keyframes right-move {
    50%{
        right: 0;
        width: 12px;
        height: 12px;
    }
    100%{
        right: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}
@keyframes moving-arrow{
    90%{
        transform: translateX(10px);
    }
    50%{
        transform: translateX(-10px);
    }
}
@keyframes flashing {
    0%, 40%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        width: 200%;
        height: 200%;
    }
}
/* End Animation */