/* start var */
:root {
    --main-color: #2196f3;
    --main-color-alt: #1787e0;
    --main-transition: 0.3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
    --section-background-color: #ececec;

}
/* end var */
/* start global rules */
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: "cairo", 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 80px;
        border: 2px solid black;
        padding: 10px 20px;
        font-size: 30px;
        width: fit-content;
        position: relative;
        z-index: 1;
        transition: var(--main-transition);
    }

    .main-title::before,
    .main-title::after {
        content: " ";
        position: absolute;
        width: 14px;
        height: 14px;
        background-color: var(--main-color);
        border-radius: 50%;
    }
    .main-title::before,
    .main-title::after:hover {
        color: var(--main-color);
    }

    .main-title::before {
        top: -16px;
        left: -16px;
    }

    .main-title::after{
      bottom: -16px;
      right: -16px; 
    }

    .main-title:hover::before {
        z-index: -1;
        animation: left-move 0.6s linear forwards;
    }
    .main-title:hover::after {
        z-index: -1;
        animation: right-move 0.6s linear forwards;
    }

    .main-title:hover {
        color: white;
        border: 2px solid white;
        transition-delay: 0.1s;
    }
/* end global rules */
/* start header */
    .header a.logo:hover span:first-of-type {
        position: relative;
        color: var(--main-color-alt);
        animation: first-one linear 0.5s 0.2s;
    }
    .header a.logo:hover span:nth-child(2) {
        position: relative;
        color: var(--main-color-alt);
        animation: second-one linear 0.7s 0.4s; 
    }
    .header a.logo:hover span:nth-child(3) {
        position: relative;
        color: var(--main-color-alt);
        animation: thierd-one linear 0.8s 0.6s;
    }
    .header a.logo:hover span:nth-child(4) {
        position: relative;
        color: var(--main-color-alt);
        animation: fourth-one linear 0.9s 0.8s;
    }
    .header a.logo:hover span:last-child {
        position: relative;
        color: var(--main-color-alt);
        animation: five-one linear 1s 1s;
    }

    .header {
        background-color: white;
        -webkit-box-shadow: 1px 1px 10px 5px #ddd;;
        -moz-box-shadow: 1px 1px 10px 5px #ddd;;
        box-shadow: 1px 1px 10px 5px #ddd;;
        position: relative;
    }

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
    }

    .header .logo {
        color: var(--main-color);
        font-size: 26px;
        font-weight: bold;
        height: 73.6px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    @media (max-width: 767px) {
        .header .logo {
            width: 100%;
        }
    }

    .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: 100;
        top: calc(100% + 1px);
    }

    .header .main-nav > li > a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 73.6px;
        position: relative;
        color: black;
        padding: 0 25px;
        transition: var(--main-transition);
        overflow: hidden;
    }
    @media (max-width: 767px) {
        .header .main-nav > li > a {
            padding: 15px;
            font-size: 14px;
            height: 45px;
        }
    }

    .header .main-nav > li > a::before {
        content: "";
        position: absolute;
        background-color: var(--main-color);
        width: 100%;
        height: 4px;
        top: 0;
        left: -100%;
        transition: var(--main-transition) linear;
    }

    .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% + 40px);
         opacity: 0;
        transition: top var(--main-transition), opacity var(--main-transition) linear;
    }
    @media (max-width: 767px) {
        .header .mega-menu {
            flex-direction: column;
            gap: 0;
            padding: 5px
        }
    }

    .header .mega-menu .image img {
        max-width: 100%;
    }
    @media (max-width: 991px) {
        .header .mega-menu .image img {
            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%;
        z-index: -1;
        background-color: #ececec;
        transition: var(--main-transition);
    }

    .header .mega-menu .links li:hover::before {
        width: 100%;
    }

    .header .mega-menu .links li a {
        color: var(--main-color);
        display: block;
        padding: 15px;
        font-size: 18px;
        font-weight: bold
    }

    .header .mega-menu .links li a i {
        margin-right: 8px;
    }
/* end header */
/* start landing */
    .landing {
        position: relative;
    }

    .landing::before {
        content: "";
        position: absolute;
        top: -45px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ececec;
        z-index: -1;
        transform: skewY(-6deg);
        transform-origin: top left;
    }

    .landing .container {
        min-height: calc(100vh - 73.6px);
        display: flex;
        align-items: center;
        padding-bottom: 120px;
        position: relative;
    }

    .landing .text {
        flex: 1;
    }
    @media (max-width: 991px) {
        .landing .text {
            margin-top: 40px;
            text-align: center;
        }
    }
    .landing .text h1 {
        font-size: 40px;
        margin: 0;
        letter-spacing: -1px;
    }
    @media (max-width: 767px) {
        .landing .text h1 {
            font-size: 28px;
        }
    }
    .landing .text h1 span {
        color: var(--main-color);
    }
    .landing .text p {
        font-size: 23px;
        line-height: 1.5;
        margin: 6px 0 0;
        color: rgb(105 92 100);
        max-width: 500px;
    }
    @media (max-width: 991px) {
        .landing .text p {
            margin: 10px auto;
        }
    }

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

    .landing .image img {
        position: relative;
        width: 600px;
        animation: up-and-down 5s linear infinite;
    }
    @media (max-width: 991px) {
        .landing .image img {
            display: none;
        }
    }

    .landing .go-down {
        transform: rotate(90deg);
        position: absolute;
        bottom: 30px;
        left: 50%;
    }

    .landing .go-down svg {
        animation: bouncing 1.5s linear 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 .container .box {
        box-shadow: 7px 7px 9px 6px rgb(135 135 135 / 30%);
        background-color: white;
        border-radius: 8px;
        overflow: hidden; 
        transition: transform var(--main-transition), box-shadow var(--main-transition);  
    }
    .articles .container .box:hover {
        transform: translateY(-10px);
        box-shadow: 3px 12px 12px 3px rgb(135 135 135 / 30%);
    }

    .articles .container .box img {
        width: 100%;
        max-width: 100%;
    }

    .articles .container .box .content {
        padding: 20px;
        border-bottom: 1px solid #e6e6e7;
    }

    .articles .container .box .content h3 {
        font-size: 20px;
        margin: 5px 0;
    }

    .articles .container .box .content p {
        font-size: 16px;
        color: #777;
        line-height: 1.5;
    }

    .articles .container .box .info {
        padding: 20px;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .articles .container .box .info a {
        color: var(--main-color);
        font-size: 18px;
        font-weight: bold;
    }

    .articles .container .box .info i {
        color: var(--main-color);
        font-size: 18px;
        transition: var(--main-transition);
        transform: translateX(-5px);
    }

    .articles .container .box:hover .info i {
        /* transform: translateX(5px); */
        animation: Arrow 0.8s linear infinite;
    }
/* end articles */
/* start spikes */
    .spikes {
        position: relative;
    }
    .spikes::after {
        content: "";
        position: absolute;
        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;
    }
/* end spikes */
/* 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 .container .box{
        padding: 15px;
        background-color: white;
        box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%), 0px 2px 4px 0px rgb(0 0 0 / 12%) ;
    }

    .gallery .container .box .image{
        position: relative;
        overflow: hidden;
    }
    .gallery .container .box .image::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgb(255 255 255 / 20%);
        width: 0px;
        height: 0px;
        opacity: 0;
        z-index: 2;
    }

    .gallery .container .box .image:hover::before {
        animation: flashing 0.7s;
    }

    .gallery .container .box .image img{
        max-width: 100%;
        transition: var(--main-transition);
    }

    .gallery .container .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 .container .box {
        text-align: center;
        border: 1px solid #ccc;
    }

    .features .container .box .img-holder {
        position: relative;
        overflow: hidden;
    }
    .features .container .box .img-holder::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .features .container .box .img-holder::after {
        content: "";
        position: absolute;
        bottom: 0px;
        right: 0;
        border-style: solid;
        border-width: 0px 0px 175.5px 353px;
        border-color: transparent transparent white transparent;
        transition: var(--main-transition);
    }
    .features .container .box:hover .img-holder::after {
        border-width: 0px 353px 175.5px 0px;
    }

    .features .container .box .img-holder img {
        width: 100%;
        max-width: 100%;
    }

    .features .container .box h2 {
        position: relative;
        font-size: 40px;
        margin: auto;
        width: fit-content;            
    }

    .features .container .box h2::after {
        content: "";
        position: absolute;
        bottom: -18px;
        left: 15px;
        height: 5px;
        width: calc(100% - 30px);
    }

    .features .container .box p {
        line-height: 2;
        font-size: 20px;
        margin: 30px 0;
        padding: 25px;
        color: #777; 
    }

    .features .container .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: 6px;
        transition: var(--main-transition);
    }
    /* first one */
    .features .quality .img-holder::before {
        background-color: rgb(244 64 54 / 60%);
    }

    .features .container .quality h2::after {
        background-color: #f44046;
    }
    
    .features .container .quality a {
        color: #f44046;
        border-color: #f44046;
        background: linear-gradient(to right, #f44046 50%, white 50%);
        background-size: 200% 100%;
        background-position: right bottom;
    }
    /* second one */
    .features .passion .img-holder::before {
        background-color:rgb(0 150 136 / 60%);
    }

    .features .container .passion h2::after {
        background-color: #009688;
    }
    
    .features .container .passion a {
        color: #009688;
        border-color: #009688;
        background: linear-gradient(to right, #009688 50%, white 50%);
        background-size: 200% 100%;
        background-position: right bottom;
    }
    
    /* therd one */
    .features .time .img-holder::before {
        background-color: rgb(3 169 244 / 60%);;
    }

    .features .container .time h2::after {
        background-color: #03a9f4;
    }
    
    .features .container .time a {
        color: #03a9f4;
        border-color: #03a9f4;
        background: linear-gradient(to right, #03a9f4 50%, white 50%);
        background-size: 200% 100%;
        background-position: right bottom;
    }
    
    

    .features .container .box:hover a {
        background-position: left top;
        color: white;
    } 

    @media (max-width: 767px) {
        .features .container .box .img-holder::after {
            border-width: 0px 0px 175px 385px;
        }
        .features .container .box:hover .img-holder::after {
            border-width: 0px 395px 175.5px 0px;
        }
        .features .container .box h2 {
            margin: 10px auto;
        }
        .features .container .box {
            box-shadow: 3px 3px 6px 0px grey;
        }
    }
    
/* end 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: 40px;
    }

    .testimonials .container .box {
        position: relative;
        background-color: white;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 1px 1px 4px rgb(0 0 0 / 10%);
    }

    .testimonials .container .box img {
        position: absolute;
        width: 100px;
        right: -20px;
        top: -20%;
        border-radius: 50%;
        border: 9px solid var(--section-background-color);
    }

    .testimonials .container .box h3 {
        margin: 0 0 10px;
        color: var(--main-color);
    }

    .testimonials .container .box span.title {
        display: block;
        margin-bottom: 10px;
        color: #777;
    }

    .testimonials .container .box .rate .filled{
        color: #ffc107;
    }

    .testimonials .container .box p {
        line-height: 1.5;
        color: #333;
        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 .container .box {
        position: relative;
    }
    .team .container .box::before,
    .team .container .box::after {
        content: "";
        background-color: #f3f3f3;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        border-radius: 10px;
        transition: var(--main-transition);
    }

    .team .container .box::before {
        z-index: -2;
        width: calc(100% - 60px);
    }
    .team .container .box::after {
        background-color: #e4e4e4;
        z-index: -1;
        width: 0;
    }

    .team .container .box:hover::after {
        width: calc(100% - 60px);
    } 

    .team .container .box .data {
        display: flex;
        align-items: center;
        padding-top: 60px;
    }

    .team .container .box .data img {
        width: calc(100% - 60px);
        transition: var(--main-transition);
        border-radius: 10px
    }
    .team .container .box:hover img {
        filter: grayscale(100%);
    }

    .team .container .box .data .social {
        width: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team .container .box .data .social a{
        width: 60px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .team .container .box .data .social a i{
        color: #777;
        transition: var(--main-transition);
    }

    .team .container .box .data .social a:hover i {
        color: var(--main-color);
    }

    .team .container .box .info {
        padding-left: 80px;
    }

    .team .container .box .info h3 {
        color: var(--main-color);
        margin-bottom: 0;
        font-size: 22px;
        transition: var(--main-transition);
    }

    .team .container .box:hover .info h3 {
        color: #777;
    }

    .team .container .box .info p {
        margin-top: 10px;
        margin-bottom: 25px;
    }
/* 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 .container .box {
    background-color: white;
    box-shadow: 4px 4px 13px 1px rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
    counter-increment: services;
    transition: var(--main-transition);
    position: relative;
}

.services .container .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 .container .box:hover {
    transform: translateY(-10px);
}
.services .container .box:hover::before {
    width: 100%;
}

.services .container .box i {
    display: block;
    margin: 30px auto 20px;
    text-align: center;
    color: #d5d5d5;
}

.services .container .box h3 {
    text-align: center;
    margin: 20px 0 40px;
    font-size: 25px;
    color: var(--main-color);
}

.services .container .box .info {
    position: relative;
    padding: 15px;
    background-color: #f9f9f9;
    text-align: right;
}

.services .container .box .info::before {
    content: "0" counter(services);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main-color);
    color: white;
    height: 100%;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    padding-right: 15px;
}

.services .container .box .info::after {
    content: "";
    position: absolute;
    left: 80px;
    top: 0;
    width: 50px;
    height: calc(100% + 0.4px);
    background-color: #d5d5d5;
    transform: skewX(-30deg);
}

.services .container .box .info a {
    color: var(--main-color);
}
/* end services */
/* start our 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;
    } 
    
    @media (max-width: 991px) {
        .our-skills .container img {
            display: none;
        }
    }

    .our-skills .skills {
        flex: 1;
    }

    .our-skills .skills .skill h3 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .our-skills .skills .skill h3 span {
        font-size: 14px;
        border: 1px solid #ccc;
        padding: 3px 5px;
        border-radius: 3px;
        color: var(--main-color);
    }

    .our-skills .skills .skill .the-progress {
        height: 25px;
        background-color: #eee;
        position: relative;
    }

    .our-skills .skills .skill .the-progress span {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        background-color: var(--main-color);
    }
/* end our skills */
/* start how it works */
    .work-steps {
        padding-top: var(--main-padding-top);
        padding-bottom: var(--main-padding-bottom);
        position: relative;
        background-color: var(--section-background-color);
    }

    .work-steps .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 30px;
    } 

    @media (max-width: 991px) {
        .work-steps .container {
            flex-direction: column;
        }
    }

    .work-steps .container .image {
        max-width: 100%;
    } 

    @media (max-width: 991px) {
        .work-steps .container .image {
            margin: 0 0 50px;
        }
    }

    .work-steps .container .info .box {
        background-color: #f6f5f5;
        padding: 30px;
        margin-bottom: 20px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        column-gap: 20px;
        border: 2px solid white;
        position: relative;
        z-index: 1;
    }

    @media (max-width: 767px) {
        .work-steps .container .info .box {
            flex-direction: column;
            text-align: center;
            row-gap: 25px;
        }
    }

    .work-steps .container .info .box::before {   
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-color: #ededed;
        width: 0px;
        height: 0px;
        z-index: -1;
        transition: var(--main-transition);
    }

    .work-steps .container .info .box:hover::before {
        width: 100%;
        height: 100%;
    }

    .work-steps .container .info .box img {
        width: 60px;
    }

    .work-steps .container .info .box h3 {
        margin: 0;
        font-size: 22px;
        color: var(--main-color);
    }

    .work-steps .container .info .box p {
        color: #777;
        margin: 10px 0 0;
        line-height: 1.7;
        font-size: 17px;
    }  
/* end how it works */
/* 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;
    }

    .events .container img{
        max-width: 450px;
        animation: turn-around 5s infinite;
    }

    @media (max-width: 991px) {
        .events .container img {
            display: none;
        }
    }

    .events .container .info {
        flex: 1;
    }

    .events .container .info .time {
        display: flex;
        align-items: center;
        margin: 20px auto;
        gap: 10px;
        justify-content: center;
    }

    .events .container .info .time .unit {
        width: 75px;
        border: 1px solid #d4d4d4;
        border-radius: 6px;
        text-align: center;
        transition: var(--main-transition);
    }

    .events .container .info .time .unit span {
        display: block;
        transition: var(--main-transition);
    }

    .events .container .info .time .unit span:first-child {
        font-size: 30px;
        padding: 15px;
        color: var(--main-color);
    }

    .events .container .info .time .unit span:last-child {
        padding: 8px 10px;
        font-size: 13px;
        border-top: 1px solid #d4d4d4;
    }

    .events .container .info .time .unit:hover, 
    .events .container .info .time .unit:hover span:last-child {
        border-color: var(--main-color);
    }

    .events .container .info .title {
        text-align: center;
        font-size: 30px;
        margin: 30px 0 0;
    }

    .events .container .info .description {
        text-align: center;
        line-height: 1.7;
        color: #777;
        font-size: 18px;
    }


    .events .container .subscribe {
        width: 100%;
        margin-top: 50px;
    }

    .events .container .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 .container .subscribe form {
            max-width: 100%;
            padding: 20px;
            flex-direction: column;
            border-radius: 2px;
        }
    }

    .events .container .subscribe form input[type="email"] {
        padding: 20px;
        border-radius: 50px;
        border: none;
        caret-color: var(--main-color);
        flex: 1;
        transition: var(--main-transition);
    }

    @media (max-width: 767px) {
        .events .container .subscribe form input[type="email"] {
            border-radius: 2px;
        }
    }

    .events .container .subscribe form input[type="email"]:focus {
        outline-color: var(--main-color);
    }

    .events .container .subscribe form input[type="email"]::placeholder {
        transition: opacity var(--main-transition);
    }

    .events .container .subscribe form input[type="email"]:focus::placeholder {
        opacity: 0;
    }

    .events .container .subscribe form input[type="submit"] {
        border-radius: 50px;
        border: none;
        background-color: var(--main-color);
        color: white;
        font-weight: bold;
        padding: 20px;
        cursor: pointer;
        transition: var(--main-transition);
    }

    @media (max-width: 767px) {
        .events .container .subscribe form input[type="submit"] {
            border-radius: 2px;
        }
    }

    .events .container .subscribe form input[type="submit"]:hover {
        background-color: var(--main-color-alt);
    }
/* 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: 30px;
    }

    .pricing .container .box {
        position: relative;
        box-shadow: 4px 4px 13px 1px rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
        transition: var(--main-transition);
        background-color: white;
        text-align: center;
        z-index: 1;
    }

    .pricing .container .box::before,
    .pricing .container .box::after {
        content: "";
        position: absolute;
        height: 50%;
        width: 0;
        background-color: #f6f6f6;
        z-index: -1;
        transition: var(--main-transition);
    }

    .pricing .container .box::before {
        top: 0;
        left: 0;
    }

    .pricing .container .box::after {
        right: 0;
        bottom: 0;
    }

    .pricing .container .box:hover::before, 
    .pricing .container .box:hover::after {
        width: 100%;
    }

    @media (min-width: 1200px) {
        .pricing .container .box.popular {
            top: -20px;
        }
    }

    .pricing .container .box.popular .label {
        position: absolute;
        writing-mode: vertical-rl;
        background-color: var(--main-color);
        color: white;
        padding: 10px 10px 35px;
        font-size: 18px;
        font-weight: bold;
        right: 20px;
        width: 40px;
    }

    .pricing .container .box.popular .label::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        border-style: solid;
        border-color: transparent transparent white;
        border-width: 20px;
    }

    .pricing .container .box .title {
        font-weight: bold;
        margin: 30px 0;
        font-size: 25px;
    }

    .pricing .container .box img {
        width: 80px;
        margin-bottom: 30px;
    }

    .pricing .container .box .price {
        margin-bottom: 20px;
    }

    .pricing .container .box .price :first-child {
        display: block;
        font-size: 50px;
        font-weight: bold;
        margin-bottom: 5px;
        color: var(--main-color);
    }

    .pricing .container .box .price :last-child {
        color: #777;
    }

    .pricing .container .box ul {
        text-align: left;
    }

    .pricing .container .box ul li {
        padding: 20px;
        border-top: 1px solid #eee;
    }

    .pricing .container .box ul li::before {
        font-family: "Font Awesome 5 Free";
        content: "\f00c";
        margin-right: 10px;
        font-weight: 900;
        color: var(--main-color);
    }

    .pricing .container .box a {
        display: block;
        width: fit-content;
        border: 2px solid var(--main-color);
        color: var(--main-color);
        margin: 30px auto 40px;
        padding: 15px 20px;
        font-weight: bold;
        border-radius: 6px;
        transition: var(--main-transition);
    }

    .pricing .container .box a:hover {
        background-color: var(--main-color-alt);
        border-color: var(--main-color-alt);
        color: white;
    }
/* end pricing */
/* start video */
    .videos {
        padding-top: var(--main-padding-top);
        padding-bottom: var(--main-padding-bottom);
    }

    .videos .holder {
        display: flex;
        justify-content: center;
        background-color: var(--section-background-color);
        border: 1px solid #ddd;
    }

    .videos .holder .list {
        min-width: 300px;
        background-color: white;
    }

    .videos .holder .list .name {
        display: flex;
        justify-content: space-between;
        padding: 20px;
        color: var(--main-color);
        background-color: #f4f4f4;
        font-weight: bold;
    }

    .videos .holder .list ul li {
        padding: 20px;
        border-top: 1px solid var(--section-background-color);
        cursor: pointer;
        transition: var(--main-transition);
    }

    .videos .holder .list ul li span {
        display: block;
        margin-top: 10px;
        padding-left: 5px;
        color: #777;
    }

    @media (max-width: 991px) {
        .videos .holder {
            flex-direction: column;
        }
    }

    .videos .holder .list ul li:first-child {
        background-color: #fafafa;
        color: var(--main-color);
    }

    .videos .holder .list ul li:hover:not(:first-child) {
        background-color: #fafafa;
        color: var(--main-color);
    }

    .videos .holder .preview {
        background-color: #e2e2e2;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }   

    .videos .holder .preview video {
        max-width: 100%;
    }

    .videos .holder .preview .info {
        padding: 20px;
        background-color: white;
        margin-top: 10px;
    }

/* end video */
/* start stats */
    .stats {
        padding-top: var(--main-padding-top);
        padding-bottom: var(--main-padding-bottom);
        position: relative;
        background-image: url(../images/stats.webP);
        background-size: cover;
    }

    .stats::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(255 255 255 / 90%);
    }

    .stats h2 {
        font-size: 40px;
        margin: 0 auto 50px;
        display: block;
        position: relative;
        width: fit-content;
    }

    @media (max-width: 767px) {
        .stats h2 {
            text-align: center;
            border-bottom-style: dashed;
            border-bottom-color: var(--main-color);
        }
    }

    .stats .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .stats .container .box {
        background-color: white;
        padding: 30px 15px;
        text-align: center;
        opacity: 0.8;
        position: relative;
        transition: var(--main-transition);
    }

    .stats .container .box:hover {
        opacity: 1;
    }

    .stats .container .box::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 2px;
        height: 0;
        background-color: var(--main-color);
        transition: 0.6s;
    } 

    .stats .container .box::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 0;
        background-color: var(--main-color); 
        transition: 0.6s;           
    } 

    .stats .container .box:hover::before, 
    .stats .container .box:hover::after {
        height: 100%;
    }

    .stats .container .box span.number {
        display: block;
        margin: 10px auto;
        font-size: 45px;
        font-weight: bold;
    }

    .stats .container .box span.text {
        font-size: 18px;
        color: var(--main-color);
        font-weight: bold;
        font-style: italic;
    }
/* end stats */
/* start discount */
    .discount {
        min-height: 100vh;
        display: flex;
        flex-wrap: wrap;
    }

    .discount .image {
        background-image: url(../images/discount-background1.webP);
        background-size: cover;
        color: white;
        display: flex;
        flex-basis: 50%;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        animation: change-background 8s 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%;
    }

    @media (max-width: 991px) {
        .discount .form .content {
            padding-bottom: 20px;
        }
    }

    @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;
        caret-color: var(--main-color);
        transition: all var(--main-transition);
    }

    .discount .form .input:focus {
        outline: none;
        border: 1px solid #ccc;
    }

    .discount .form textarea.input {
        resize: none;
        height: 100px;
    }

    .discount .form [type="submit"] {
        display: block;
        width: 100%;
        padding: 15px;
        background-color: var(--main-color);
        color: white;
        border: none;
        font-size: 22px;
        font-weight: bold;
        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: -1px;
    }

    .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 {
        padding: 70px 0 0;
        background-color: #191919;
    }

    .footer .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 40px;
    }

    @media (max-width: 767px) {
        .footer .container .box:first-of-type {
            text-align: center;
        }
        .footer .container .box:first-of-type .social {
            justify-content: center;
        }
        .footer .container .box .line {
            flex-direction: column;
        }   
        .footer .container .box .line i {
            margin-bottom: 10px;
        }
    }

    .footer .container .box h3{
        color: white;
        font-size: 50px;
        margin: 0 0 20px;
    }

    .footer .container .box .social{
        display: flex;   
    }

    .footer .container .box .social li{
        margin-right: 10px;
    }

    .footer .container .box .social li a{
        background-color: #313131;
        color: #898989;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        font-size: 20px;
        transition: var(--main-transition);
    }

    .footer .container .box .social .facebook:hover {
        background-color: #1877f2;
    }

    .footer .container .box .social .youtube:hover {
        background-color: #1da1f2;
    }

    .footer .container .box .social .twitter:hover {
        background-color: #ff0000;
    }

    .footer .container .box .text {
        line-height: 1.8;
        color: #b9b9b9;
    }

    .footer .container .box .links li {
        padding: 15px 0;
        transition: var(--main-transition);
    }

    .footer .container .box .links li:not(:last-child) {
        border-bottom: 2px solid #444;
    }

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

    .footer .container .box .links li a {
        color: #b9b9b9;
        transition: var(--main-transition);
    }

    .footer .container .box .links li:hover a {
        color: white;
    }

    .footer .container .box .links li a::before {
        font-family: "Font Awesome 5 Free";
        content: "\f101";
        font-weight: 900;
        margin-right: 10px;
        color: var(--main-color);
    }

    .footer .container .box .line {
        display: flex;
        align-items: center;
        color: #b9b9b9;
        margin-bottom: 30px;
    }

    .footer .container .box .line i {
        font-size: 20px;
        color: var(--main-color);
        margin-right: 10px;
    }

    .footer .container .box .line .info {
        line-height: 1.7;
        flex: 1
    }

    .footer .container .box .line .info span {
        display: block;
    }

    .footer .footer-gallery img {
        width: 78px;
        border: 3px solid white;
        margin: 2px;
    }
    
    .copyright {
        background-color: var(--main-color);
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 15px;
        text-align: center;
        margin-bottom: -8px;
    }

/* end footer */
/* start scrollbar */
    ::-webkit-scrollbar {
        width: 11px;
    }

    ::-webkit-scrollbar-track {
        background-color: rgba(97, 152, 235, 0.582);
        border-radius: 20px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--main-color);
        border-radius: 20px;
    }
/* end scrollbar */
/* start animation */
    /* Start logo animation */
    @keyframes first-one {
        0%, 100% {
            bottom: 0;
        }
        50% {
            bottom: 6px;
        }
    }
    @keyframes second-one {
        0%, 100% {
            bottom: 0;
        }
        50% {
            bottom: 7px;
        }
    }
    @keyframes thierd-one {
        0%, 100% {
            bottom: 0;
        }
        50% {
            bottom: 8px;
        }
    }
    @keyframes fourth-one {
        0%, 100% {
            bottom: 0;
        }
        50% {
            bottom: 9px;
        }
    }
    @keyframes five-one {
        0%, 100% {
            bottom: 0;
        }
        50% {
            bottom: 10px;
        }
    }
    /* End logo animation */
    @keyframes up-and-down {
        0%, 100% {
            top: 0;
        }
        50% {
            top: -50px;
        }
    }

    @keyframes bouncing {
        0%, 10%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40%, 60% {
            transform: translateX(-15px);            
        }
    }

    @keyframes left-move {
        50% {
            left: 0;
            top: 0;
        }
        100% {
            border-radius: 0;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
        }
    }

    @keyframes right-move {
        50% {
            right: 0;
            border-bottom: 0;
        }
        100% {
            border-radius: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
        }
    }

    @keyframes Arrow {
        0%, 100% {
            transform: translateX(-5px);
        }
        50% {
            transform: translateX(5px);
            color: #2009e6;
        }
    }

    @keyframes flashing {
        0%, 40% {
            opacity: 1;
        }
        100% {
            opacity: 0;
            width: 200%;
            height: 200%;
        }
    }

    @keyframes turn-around {
        0%, 100% {
            transform: rotate(0);
        }
        50% {
            transform: rotate(-25deg);
        }
    }

    @keyframes change-background {
        0%, 100% {
            background-image: url(../images/discount-background1.webP);
        }
        50% {
            background-image: url(../images/discount-background2.webP);
        }
    }
/* end animation */