/* Start Global Rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
}
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Small */
@media (min-width: 768px) {
    .container {
        width: 770px;
    }
}

/*Medium */
@media (min-width: 992px) {
    .container {
        width:970px;
    }
}

/* Large */

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* End Global Rules */
/* Start variables */
:root {
    --main-color:#2196f3;
    --main-color-2:#1787e0;
    --section-background:#ececec;
    --main-transition: 0.3s ;
    --padding-top:180px;
    --padding-bottom:100px ;
    }
/* End variables */



/* Start Components  */
    .main-title {
        position: absolute;
        left: 50%;
        transform: translateX( -50%);
        text-transform:uppercase;
        padding: 10px 15px;
        border: 2px solid black;
        display: inline;
        z-index: 1;
    }

    @media (max-width: 767px) {
        .main-title{
            padding: 10px;
        }
    }
    .main-title:hover {
        color: white;
        border:2px dotted black;
        transition-delay: 0.5s ;
    }
    .main-title::before,
    .main-title::after{
        content:"";
        position: absolute;
        width: 12px;
        height: 12px;
        top: 50%;
        transform: translateY( -50%);
        background-color: var(--main-color);
        border-radius: 50%;
    }
    .main-title::before {
        left: -30px;
    }
    .main-title::after {
        right: -30px;
    }
    .main-title:hover::after{
        z-index: -1;
        animation: right-move 0.5s linear forwards;
    }
    .main-title:hover::before{
        z-index: -1;
        animation: left-move 0.5s linear forwards;
    }

    @keyframes left-move {
        50% {
            left: 0;
            width: 12px;
            height: 12px;
        }
        80%, 100% {
            left:0;
            width: 50%;
            height: 100%;
            border-radius: 0;
        }
        100% {
            background-color:#4023ea;
        }
    }
    @keyframes right-move {
        50% {
            right: 0;
            width: 12px;
            height: 12px;
        }
        100% {
            right:0;
            width: 50%;
            height: 100%;
            border-radius: 0;
        }
    }


.spikes {
    position: relative;
    background: #2c3e50;
}
  
    .spikes::after {
    content: '';
    position: absolute;
    right: 0;
    left: -0%;
    top: 100%;
    z-index: 10;
    display: block;
    height: 50px;
    background-size: 20px 100%;
    background-image: linear-gradient(135deg, #ffffff 25%, transparent 25%), linear-gradient(225deg, #ffffff 25%, transparent 25%);
    background-position: 0 0;
  }
  
    .dots {
        height: 132px;
        width: 140px;
        position: absolute;
        z-index: -11;
        background-image: url(../images/dots.png);
        background-repeat: no-repeat;
    }
    .dot-up {
        right: 0;
        top: 200px;
    }
    .dot-down {
        left: 0;
        bottom: 200px;
    }
    @media (max-width: 767px) {
        .dots {
            display: none;
        }
    }
/* End Components  */

/*back top */ 
.back-top{
    position: fixed;
    right: 20px;
    bottom: 30px;
    background-color: #1786e0d2;
    z-index: 50;
    border-radius: 3px;
}
.back-top a i {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: white;
}


/* End back top */ 


/* Start header */ 
header {
    box-shadow: 0 0 10px #ddd;
    background-color: white;
}
header .container {
    display: flex;
    justify-content: space-between;
}

header .container  .logo {
    height: 72px;
    color: var(--main-color);
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
header .container .main-nav {
    display: flex;
}
header .container .main-nav > li:hover .mega-menu {
    left:50%;
    transform: translate( -50%);
    opacity: 1;
    z-index: 3;
}
header .container .main-nav > li > a {
    color: black;
    padding: 0 30px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    position: relative;
    transition:var(--main-transition);
    overflow: hidden;
}

header .container > .main-nav > li > a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--main-color);
    top: 0;
    left:-200%;
    transition:var(--main-transition);
}
header .container > .main-nav > li > a:hover::after {
    left:0;
}
header .container > .main-nav > li > a:hover {
    background-color: #fafafa;
    color: var(--main-color);
}

@media (max-width: 767px) {
    header .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    header .container  .logo {
        height: 50px;
        padding-bottom: 2px;
    }

    header .container > .main-nav > li > a {
        height: 40px;
        font-size: 16px;
        padding: 0 7px;
    }
}

/* start mega menu*/
header .mega-menu  {
    position:absolute;
    width: 90%;
    z-index:-1;
    top:74px;
    left: -100%;
    transition:0.5s;
    opacity: 0;
    background-color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    border-radius:2em;
    border-bottom: 3px solid var(--main-color);
    -webkit-box-shadow: 18px 26px 15px 4px #ddd;
    -moz-box-shadow: 18px 26px 15px 4px #ddd;
    box-shadow: 18px 26px 15px 4px #ddd;
} 
@media (max-width: 767px) {
    header .mega-menu {
        top:92px;
        padding: 20px;
    }
}
header  .mega-menu .img-box img {
    max-width: 100%;
}


@keyframes move-img {
    0%, 100%  {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-50px);
    }
}



header  .mega-menu ul {
    min-width:220px;
}

header  .mega-menu ul li a {
    padding: 15px;
    display: block;
    color: var(--main-color);
    font-size: 18px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 12;
    display: flex;
    align-items: center;
}
header  .mega-menu ul li a::before{
    content: "";
    position: absolute;
    width: 100%;
    background-color: #ececec;
    height: 100%;
    left: -100%;
    transition: var(--main-transition);
    z-index: -1;
}
header  .mega-menu ul li a:hover::before{
    left: 0;
}
header  .mega-menu ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

header  .mega-menu ul li a i {
    padding-right:15px;
    color: var(--main-color-2);
    font-size: 19px;
}


@media (max-width: 991px){
    header .mega-menu {
        flex-direction: column;
    }
    header .mega-menu .img-box {
        display: none;
    }

    header .mega-menu ul li:last-child{
        border-bottom: 1px solid #ddd;
    }

    header  .mega-menu ul li a {
        padding:10px 0 ;
        font-size: 16px;
    }
}


/* End mega menu*/
/* End header */ 

/* Start landing section */
.landing {
    position: relative;
}
.landing::before {
    content: "";
    position: absolute;
    width: 100%;
    height:100% ;
    left: 0;
    top: 0;
    background-color:#ececec ;
    z-index: -1;
    transform-origin: top left;
    transform: skewy(-6deg);
}
.landing .container {
    display: flex;
    height: calc(100vh - 72px);
    align-items: center;
}

.landing .container .text {
    flex: 1;
    padding-bottom: 90px;
}
.landing .container .text h1 {
    font-size: 38px;
}

.landing .container .text p {
    line-height: 1.8;
    color: #777;
    font-size:20px;
    max-width: 400px;
}

.landing .container .img-box img {
    max-width: 500px;
    animation: move-img 5s linear infinite;
}

.landing .go-down {
    position: absolute;
    left: 50%;
    transform: translateX( -50%);
    bottom: 20px;
}

@keyframes up-and-down {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
        40%, 65% {
        transform: translateY(-20px);
    }
}


.landing .go-down i {
    color: var(--main-color);
    font-size: 24px;
    animation:up-and-down 2s ease infinite;
}

@media (max-width: 991px) {
    .landing .container {
        height: calc(100vh - 90px);
    }
    .landing .container .img-box {
        display: none;
    }
    .landing .container .text {
        text-align: center;
    }
    .landing .container .text p {
        margin: 0 auto;
    }
}


@media (max-width: 767px ) {
    .landing .container .text h1 {
        font-size: 26px;
    }
    .landing .container .text p {
        font-size: 18px;
    }
}
/* End landing section */ 
/* start articles */
.articles {
    padding-top:100px;
    padding-bottom: 100px;
}
.articles .container {
    margin-top:200px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap:40px;
}
.articles .box {
    background-color: white;
    box-shadow: 0 5px 20px rgb(0 0 0 / 20%); 
    transition: var(--main-transition);  
    border-radius:10px; 
    overflow: hidden;
}
.articles .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgb(0 0 0 / 50%); 

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

.articles .box .text {
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
}
.articles .box .text h3 {
    text-transform: capitalize;
    padding-bottom: 15px;
}
.articles .box .text p {
    color: #777;
    line-height: 1.4;
    font-size: 16px;
    padding-bottom: 15px;
}

.articles .box .footer-box {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    align-items: center;
}
.articles .box .footer-box a {
    color: var(--main-color);
    text-transform: capitalize;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 0;
}
.articles .box .footer-box i {
    color: var(--main-color);
}

.articles .box:hover .footer-box i {
    animation: read-more 0.7s ease  infinite;
}

@keyframes read-more {
    50% {
        transform: translateX(7px);
    }
    100% {
        transform: translateX(0);
    }
}

/* End articles */

/* Start Gallery */

.gallery  {
    padding-top:50px;
    background-color:var(--section-background) ;
}
.gallery  .container{
    padding-top: var(--padding-top);
    padding-bottom:var(--padding-bottom);
}

.gallery .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery .box {
    padding: 15px;
    background-color: white;
    position: relative;
    overflow: hidden;
}
.gallery .box::after {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    background-color: rgb(255 255 255 / 20%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.gallery .box:hover::after {
    animation: flash 0.9s ;
}

@keyframes flash {
    20% {
        opacity: 1;
    }
    100% {
        width: 150%;
        height: 150%;
    }
}
.gallery .box:hover .img-box img {
    transform: rotate(7deg) scale(1.2);
}
.gallery .box .img-box {
    overflow: hidden;
}
.gallery .box .img-box img {
    max-width: 100%;
    transition: var(--main-transition);
}
/* End Gallery */ 

/* Start Features */
.features {
    padding-top:50px;

}
.features  .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    display: grid;
    gap:30px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.features .box  {
    text-align: center;
    border: 1px solid #ddd;
    padding-bottom: 40px;
}
.features .box .img-box {
    position: relative;
    overflow: hidden;
}

.features .box .img-box img {
    max-width: 100%;
}
.features .box .img-box::before {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 0px 0px 110px 650px;
    border-color: transparent transparent white transparent;
    bottom:0;
    right: -10px;
    transition: var(--main-transition);
    z-index: 2;
}

.features .box:hover .img-box::before {
    border-width: 0px 650px 110px 0;
    border-color: transparent transparent white transparent;
}
.features .box .img-box::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1;
}

.features .box h3 {
    font-size: 35px;
    font-weight: bolder;
    display: inline;
    position: relative;
    text-transform: capitalize;
}
.features .box h3::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 4px;
}
.features .box p {
    padding:40px 20px;
    line-height: 1.8;
    font-size: 18px;
    color: #777;
}

.features .box a {
    padding:0px 25px;
    border-width: 3px;
    border-style: solid;
    border-radius: 7px;
    font-weight: bold;
    font-size: 22px;
    position: relative;
}

.features .box:hover a {
    color: white;
}
.features .box a::after{
    content: "";
    position: absolute;
    width:0;
    height: calc(100% + 2px);
    bottom: -1px;
    left:-1px;
    z-index: -1;
    transition: var(--main-transition);
}
.features .box:hover a::after {
    width: calc(100% + 2px);
}

.features .quality .img-box::after {
    background-color:#f43f3670 ;
}
.features .quality h3::after{
    background-color:#f44036 ;
}
.features .quality a {
    border-color: #f44036;
    color: #f44036;
}
.features .quality:hover a::after {
    background-color:#f44036 ;
}


.features .time .img-box::after {
    background-color:#00968670 ;
}
.features .time h3::after{
    background-color:#009688 ;
}
.features .time a {
    border-color: #009688;
    color:#009688;
}
.features .time:hover a::after {
    background-color:#009688 ;
}

.features .passion .img-box::after {
    background-color:#03a8f479 ;
}
.features .passion h3::after{
    background-color:#03a9f4 ;
}
.features .passion a {
    border-color: #03a9f4;
    color:#03a9f4;
}
.features .passion:hover a::after {
    background-color:#03a9f4 ;
}

/* End Features /*
/* Start Testimonials */
.testimonials {
    padding-top: 50px;
    background-color: var(--section-background);
}
.testimonials .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.testimonials .box {
    position: relative;
    background-color: white;
    padding: 20px;
    height: auto;
}
.testimonials .box img{
    width: 100px;
    border-radius: 50%;
    border: 10px solid var(--section-background);
    position: absolute;
    right: -10px;
    top:-60px;
}
.testimonials .box h3 {
    margin-bottom: 10px;
    color: var(--main-color-2);
}
.testimonials .box span {
    color: #444;
}
.testimonials .box .icons {
    margin: 10px 0;
}

.testimonials .box .icons i.fill {
    color:gold;
}
.testimonials .box p {
    line-height: 1.4;
    color: #777;
}

/* End Testimonials /*

/* Start Team */
    .team {
        padding-top:50px;
    }
    .team .container {
        padding-top: var(--padding-top);
        padding-bottom: var(--padding-bottom);
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap:80px  40px;
    } 

    .team .box {
        position: relative;
    }
    .team .box::after{
        content: "";
        position: absolute;
        width:calc(100% - 60px);
        height: calc(100% + 50px);
        bottom:  0;
        right:0;
        background-color:#ececec;
        border-radius: 12px;
        z-index: -2;
    }

    .team .box::before{
        content:"";
        position: absolute;
        right: 0;
        bottom: 0;
        width:0;
        height: calc(100% + 50px);
        border-radius: 12px;
        background-color:#6d6d6d17;
        transition:var(--main-transition);
        z-index: -1;
    }
    .team .box:hover::before{
        width:calc(100% - 60px);
    }
    .team .box:hover img{
        filter: grayscale(100%)
    }
    .team .box:hover .text{
        filter: grayscale(100%)
    }
    .team .box .img-social-box {
        display: flex;
        align-items: center;
    }
    
    .team .box .img-social-box img {
        width:calc(100% - 60px);
        border-radius:12px;
        transition: var(--main-transition);
    }
    .team .box .img-social-box .social li a {
        margin-top: 10px;
        display: block;
        text-align: center;
        font-size: 18px;
        color: #777;

    }
    .team .box .img-social-box .social li a i{
        width: 60px;
        padding: 5px 0;
    }
    .team .box .img-social-box .social li a:hover i{
        color: var(--main-color);
    }
    .team .box .text {
        padding-left: 90px;
        padding-bottom: 20px;
        transition: var(--main-transition);
    }
    .team .box .text h3 {
        color: var(--main-color);
        text-transform: capitalize;
        font-size: 24px;
        margin: 20px 0;
    }
    .team .box .text p {
        text-transform: capitalize;
    }
/* End Team */
/* Start Services */
.services {
    padding-top:50px;
    background-color: var(--section-background);
    counter-reset: services;
}
.services .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.services .container .box {
    background-color: white;
    position: relative;
    padding-top: 10px;
    transition: var(--main-transition);
    box-shadow: rgb(177, 177, 177) 0px 1px 14px 0px;
}
.services .container .box::before{
    content:"";
    position: absolute;
    width:0;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX( -50%);
    background-color: var(--main-color);
    transition: 0.5s;
}

.services .container .box:hover::before{
    width: 100%;
}
.services .container .box:hover{
    transform: translateY(-10px);
}
.services .box i {
    font-size: 60px;
    color: #d5d5d5;
    margin:20px 0 ;
    text-align: center;
    display: block;
}

.services .box h3 {
    font-size: 24px;
    text-transform: capitalize;
    color: var(--main-color);
    padding-bottom: 40px;
    text-align: center;
}

.services .box .info {
    position: relative;
    text-align: end;
    padding: 15px;
}
.services .box .info::before{
    counter-increment: services;
    content: "0" counter(services);
    position: absolute;
    font-size: 24px;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    left: 0;
    top: 0;
    height: 100%;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 18px;
}
.services .box .info::after{
    content: "";
    position: absolute;
    top: 0;
    left: 80px;
    width: 50px;
    height: 100%;
    background-color: #d5d5d5;
    transform: skewX(325deg);
}
.services .box .info  a {
    color: var(--main-color);
}
/* End Services */
/* Start Our skills */
.our-skills {
    padding-top:100px;
}
.our-skills  .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.our-skills  .img-box {
    flex-basis: 45%;
}

.our-skills  .img-box  img {
    max-width: 100%;
}
.our-skills  .info-box {
    flex-basis: 50%;
}
@media (max-width: 767px ) {
    .our-skills  .img-box  {
        display: none;
    }
    .our-skills  .info-box  {
        flex-basis: 100%;
    }
}
.our-skills  .info-box h3 {
    font-size:20px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.our-skills  .info-box h3 span{
    font-size: 15px;
    padding:5px;
    color: var(--main-color);
    border: 1px solid #ddd;
    border-radius: 0 10px;
}
.our-skills  .info-box .the-progres {
    width: 100%;
    height: 25px;
    margin: 10px 0;
    background-color: #ececec;
}
.our-skills  .info-box .the-progres span {
    background-color: var(--main-color);
    height: 100%;
    display: block;
}


/* End Our skills */

/* Start How it works */
.how-works {
    padding-top: 50px;
    background-color: var(--section-background);
}

.how-works .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    display: flex;
    justify-content: space-between;
}
.how-works .img-box {
    flex-basis:48%;
}
.how-works .img-box img {
    max-width: 100%;
}

.how-works .info {
    flex-basis:48%;
}

.how-works .info .box {

    display: flex;
    gap: 30px;
    padding: 15px;
    margin-bottom: 30px;
    position: relative;
    align-items: center;
    background-color: whitesmoke;
    border: 2px solid white;
    border-radius: 5px;
    z-index: 1;
}
.how-works .info .box::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color:#d9d9d9b9;
    transition:var(--main-transition);
    z-index: -1;
}
.how-works .info .box:hover::before{
    width: 100%;
    height: 100%;
}
.how-works .info .box  img{
    width: 70px;

}

.how-works .info .text h3{
    margin-top: 10px;
    font-size: 22px;
}
.how-works .info .text p {
    padding: 15px 0;
    color:#777;
    line-height: 1.4;
    font-size: 18px;
}

@media (max-width: 991px) {
    .how-works .container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

@media (max-width: 767px) {
    .how-works .info .box {
        flex-direction: column;
        text-align: center;
    }
}
/* End How it works */
/* Start Events */
.events {
    padding-top: 50px;
    position: relative;
}
.events .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.events .container img {
    max-width: 450px;
}
@media (max-width: 991px) {
    .events .container img {
        display: none;
    }
}
.events .container .info {
    flex: 1;
    text-align: center;
}
.events .info .time {
    display: flex;
    gap: 10px;
    margin: 50px auto;
    justify-content: center;
}
.events .info .time .box {
    border: 1px solid #d4d5d5;
    text-align: center;
    border-radius: 4px;
    width: 70px;
    transition: var(--main-transition);
}
.events .info .time .box:hover{
    border-color: var(--main-color);
}

.events .info .time .box span {
    display: block;
}
.events .info .time .box span:first-child {
    color: var(--main-color);
    font-size: 35px;
    font-weight: bold;
    padding: 20px 0;
}
.events .info .time .box span:last-child {
    font-size: 12px;
    padding: 5px 0 ;
    border-top: 1px solid #d6d5d5;
    transition: var(--main-transition);
}
.events .info .time .box:hover.box span:last-child {
    border-color: var(--main-color);
}
.events .info h3 {
    font-size: 30px;
}
.events .info p {
    padding: 20px 10px;
    line-height: 1.5;
    color: #777;
    font-size: 18px;
}
.events .container .subscribe {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top:100px;
}
.events .container .subscribe form {
    padding: 30px;
    background-color: #d6d5d5;
    border-radius: 50px;
    width: 600px;
    display: flex;
    gap: 10px;
}
.events .subscribe form input[type="email"] {
    border-radius: 50px;
    padding: 15px;
    flex: 1;
    caret-color: var(--main-color);
    border: none;
    color: #444;
}
.events .subscribe form input[type="email"]:focus {
    outline: none;
}

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

@media (max-width: 767px) {
    .events .container .subscribe {
        width: 100%;
        margin-top: 50px;
    }
    .events .container .subscribe form {
        flex-direction: column;
        max-width: 100%;
        border-radius: 0;
    }
    .events .subscribe form input[type="email"],
    .events .subscribe form input[type="submit"] {
        border-radius: 0;
    }
}
/* End Events */
/* Start Pricing */
    .pricing {
        position: relative;
        padding-top: 50px;
        background-color: var(--section-background);
    }
    .pricing .dots {
        z-index: 1;
    }
    .pricing .container {
        padding-top:var(--padding-top);
        padding-bottom: var(--padding-bottom);
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr) );
        gap: 30px;
    }

    .pricing .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white;
        padding: 20px 0;
        box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
        position: relative;
        z-index: 1;
    }

    .pricing .box::before {
        content: "";
        position: absolute;
        width: 0;
        height: 50%;
        background-color: #f8f8f8;
        top: 0;
        right: 0;
        z-index: -1;
        transition: var(--main-transition);
    }
    .pricing .box::after{
        content: "";
        position: absolute;
        width: 0;
        height: 50%;
        background-color: #f8f8f8;
        bottom: 0;
        left: 0;
        z-index: -1;
        transition: var(--main-transition);
    }
    .pricing .box:hover::before,
    .pricing .box:hover::after{
        width: 100%;
    }
    .pricing .popular {
        transform: translateY(-20px);
        position: relative;
    }

    @media (max-width: 1200px) {
    .pricing .box.popular {
        transform: translateY(0);
    }
    }
    .pricing .popular .label {
        position: absolute;
        right: 30px;
        background-color: var(--main-color);
        top:0;
        writing-mode:vertical-lr;
    }

    .pricing .popular .label span {
        padding: 15px 10px 30px 10px;
        font-size: 18px;
        color: white;
        display: block;
        text-transform: capitalize;
        font-weight: bold;
        position: relative;
    }
    .pricing .popular .label span::after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 0px;
        border-width: 20px;
        border-style: solid;
        border-color: transparent transparent  white transparent;
        transition: var(--main-transition);
    }
    .pricing .box.popular:hover.box.popular .label span::after {
        border-color: transparent transparent  #f8f8f8 transparent;
    }
    .pricing .box  .title {
        text-transform: capitalize;
        font-size: 24px;
    }
    .pricing .box img {
        width: 80px;
        margin: 20px 0;
    }
    .pricing .box  .price {
        color: var(--main-color);
        font-size: 50px;
        font-weight: bold;
    }
    .pricing .box  .duration {
        color: #777;
        font-size: 18px;
        padding-bottom: 10px;
    }
    .pricing .box ul {
        width: 100%;
        margin-top: 30px;
    }
    .pricing .box ul li {
        padding: 15px 10px;
        border-top: 1px solid #d6d5d5;
    }
    .pricing .box ul li::before{
        font-family: "Font Awesome 6 Free";
        content: "\f14a";
        font-weight: 200;
        color: var(--main-color);
        margin-right:15px;
    }

    .pricing .box a {
        padding: 12px 20px;
        border:2px solid var(--main-color-2);
        color: var(--main-color);
        border-radius: 5px;
        font-size: 18px;
        font-weight: bold;
        margin-top: 20px;
        transition: var(--main-transition);
    }
    .pricing .box a:hover{
        color: white;
        background-color: var(--main-color);
        border-color: var(--main-color);
    }
/* End Pricing */

/* Start videos */
.top-videos {
    padding-top:100px;
}
.top-videos .container {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}
.top-videos .container .holder{
    background-color: var(--section-background);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ddd;
}
.top-videos .sidebar {
    width: 300px;
    background-color: white;
}
@media (max-width: 991px ) {
    .top-videos .sidebar {
        width: 100%;
    }
}

.top-videos .sidebar .title {
    display: flex;
    justify-content: space-between;
    padding: 17px 25px;
    background-color: #f8f8f8;
}
.top-videos .sidebar .title  h4 {
    text-transform: capitalize;
    font-size:18px;
}
.top-videos .sidebar ul li {
    padding:15px;
    border-top: 1px solid #ddd;
    transition: var(--main-transition);
}
.top-videos .sidebar ul li:hover {
    background-color: #f9f9f9f9;
    color: var(--main-color);
}
.top-videos .sidebar ul li  span{
    display: block;
    color: #777;
    padding-top: 10px;
}
.top-videos .preview {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} 
.top-videos .preview img {
    max-width: 100%;
}
.top-videos .preview span {
    display: block;
    padding: 20px;
    background-color: white;
    margin-top: 30px;
}
/* End videos */
/* Start stats*/
.stats {
    padding-top: 100px;
    padding-bottom:100px;
    background-image: url(../images/stats.jpg);
    background-size: cover;
    position: relative;
}
.stats::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #ecececea;
    
}
.stats  .title {
    display: block;
    text-align: center;
    position: relative;
}

.stats .container {
    padding-top: 50px;
    position: relative;
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.stats .container .box {
    padding: 25px 0;
    background-color: white;
    text-align: center;
    position: relative;
}
.stats .container .box::before,
.stats .container .box::after {
    content: "";
    background-color: var(--main-color-2);
    width: 3px;
    height:0;
    position: absolute;
    transition: 0.5s;
}
.stats .container .box::before {
    top: 0;
    right: 0;
}
.stats .container .box::after {
    left: 0;
    bottom:0;
}
.stats .container .box:hover::after,
.stats .container .box:hover::before{
    height: 100%;
}
.stats .container .box i {
    font-size: 35px;
}
.stats .container .box span {
    display: block;
}
.stats .container .box span.number {
    padding: 10px 0;
    font-size: 50px;
    font-weight: bold;
}
.stats .container .box span.text {
    color: var(--main-color);
    font-weight:bold;
    font-size: 22px;
}

/* End stats*/
/* Start Discount */
.discount {
    display: flex;
    flex-wrap: wrap;
}

.discount .image {
    flex-basis: 50%;
    background-image: url(../images/discount-background1.jpg);
    background-size: cover;
    position: relative;
    z-index: 1;
    animation: change-background 10s linear infinite;
}
@keyframes  change-background  {
    0%, 100% {
        background-image:  url(../images/discount-background1.jpg);
    }
    50% {
        background-image:  url(../images/discount-background2.jpg);
    }
}
.discount .image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgb(23 135 224 / 97%);
    z-index: -1;
}
.discount .content-box {
    text-align: center;
    padding: 50px 0;
    color: white;
}
.discount .content-box h1 {
    font-size: 35px;
}
.discount .content-box p {
    line-height: 1.5;
    font-size: 18px;
    padding: 20px 50px;
}
.discount .content-box img {
    width: 300px;
    
}
.discount .form {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991px ){
    .discount .form,
    .discount .image {
        flex-basis: 100%;
    }
    .discount .content-box p {
        padding: 20px 5px;
    }
    .discount .content-box h1 {
        font-size: 30px;
    }
}
.discount .form .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 310px;
}
    .discount .form .content input {
        padding: 15px;
        border: none;
        border-bottom:2px solid #ddd;
        caret-color: var(--main-color);
        margin-top: 25px;
        width: 100%;
        background-color: #f7f7f7;
    }

    .discount .form .content input:focus,
    .discount .form .content textarea:focus{
        outline: none;
    }
    .discount .form .content textarea {
        max-width: 100%;
        min-width: 100%;
        min-height: 150px;
        height: 200px;
        border: none;
        border-bottom: 2px solid #ddd;
        background-color: #f7f7f7;
        margin-top: 25px;
        padding: 15px;
        caret-color: var(--main-color);
    }
    .discount .form .content input[type="submit"]{
        background-color: var(--main-color);
        color: white;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 50px;
        transition: var(--main-transition);
    }
    .discount .form .content input[type="submit"]:hover{
        background-color: var(--main-color-2);
    }
/* End Discount */
/*start footer */ 
footer {
    padding-top: 50px;
    background-color: #191919;
}

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

footer .container .box h1 {
    color: white;
    font-size: 35px;
    margin-top: 0;
}
footer .container .box .social {
    display: flex;
}
footer .box .social a i{
    padding: 15px;
    margin-right: 10px;
    color: white;
    font-size: 24px;
    background-color: #333;
    transition: var(--main-transition);
}
footer .box .social a i.github:hover{
    background-color: #222;
}
footer .box .social a i.instagram:hover{
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}
footer .box .social a i.twitter:hover{
    background-color: #1da1f2;
}
footer .box p {
    color:#b9b9b9;
    line-height: 1.6;
    padding-top: 30px;
}

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


footer ul.links li a {
    padding: 12px 0px ;
    display: block;
    color:#b9b9b9;
    margin-bottom: 5px;
    transition: var(--main-transition);
    position: relative;
}
footer ul.links li a::before {
    font-family:"Font Awesome 6 Free";
    content: " \f101";
    font-weight: 900;
    color: var(--main-color);
    padding-right: 10px;
}
footer ul.links li a:hover {
    color: white;
    transform: translateX(10px);
}
footer ul.contact li {
    display: flex;
    color: #b9b9b9;
    line-height: 1.4;
}
footer ul.contact li:not(:last-child) {
    margin-bottom: 30px;
}
footer ul.contact li i {
    color: var(--main-color);
    font-size: 24px;
    padding-right: 15px;
    margin: auto 0;
}

footer .img-box img {
    width: 70px;
    border: 3px solid white;
}
footer .copyright {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    border-top: 1px solid #444;
}
footer .copyright p {
    color:#b9b9b9;
    font-size: 14px;
}
footer .copyright p span {
    color: var(--main-color);
}

@media (max-width: 570px) {
    footer .container .box {
        text-align: center;
    }
    footer .container .box .social{
        justify-content: center;
    }
    footer ul.contact li {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }
    footer .img-box {
        text-align: center;
        margin-top: 20px;
    }

}

/*End footer */ 