@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");
/* global rules */
:root{
    --main-color : #2196f3;
    --alt-color : #1787e0;
    --hover-color:#fafafa;
    --background-color: #ececec;
    --transition-duration: .3s;
    --margin-value : 80px;
}
html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}
body{
    position: relative;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
.container{
    position: relative;
    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 */
   .main-title{
    margin: 0 auto 80px;
    width: fit-content;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 800;
    padding: 0 15px;
    border: 2px solid #000;
    position: relative;
    z-index: 100;
   }
   .main-title::before,.main-title::after{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: var(--main-color);
   }
   .main-title::before{
   left: -30px;
   }
   .main-title::after{
   right: -30px;
   }
   .main-title:hover::before{
    animation: left-move .6s linear forwards;
    z-index: -1;
   }
   .main-title:hover::after{
    animation: right-move .6s linear forwards;
    z-index: -1;
   }
   .main-title:hover{
    animation: parent var(--transition-duration) linear .6s forwards;
   }
   @keyframes parent{
    100%{
        color: #fff;
        border: none;
    }
   }
   @keyframes left-move{
    50%{
        left: 0;
    }
    100%{
        left: 0;
        border-radius: 0;
        height: 100%;
        width: calc(50% + 1px);
        background-color: var(--main-color);
    }
   }
   @keyframes right-move{
    50%{
        right:0;
    }
    100%{
        right: 0;
        border-radius: 0;
        height: 100%;
        width: calc(50% + 1px);
        background-color: var(--main-color);
    }
   }
/* end main-title */
.spikes{
 position: relative;
}
.spikes::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(135deg, #fff 25%, transparent 25%), linear-gradient(225deg, #fff 25%, transparent 25%);
    background-size: 30px 30px;
}
/* end global rules */
/* settings */
.box-settings{
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    left: -198px;
}
.display{
    animation: display-move .6s linear forwards;
}
.heading{
    animation: head-move .6s linear;
}
@keyframes display-move{
    100%{
        left: 0;
    }
}
@keyframes head-move{
    100%{
        left: -198px;
    }
}
.box-settings .box{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    height: 100vh;
    background-color: #777;
}
.box-settings .box > div{
    padding: 10px;
    border-radius: 5px;
}
.box-settings .box .color{
    background-color: #ccc;
}
.box-settings .box .color h3{
    text-align: center;
    margin-bottom: 8px;
    color: #fff;
}
.box-settings .box .color .cont{
    display: flex;
    gap: 8px;
}
.box-settings .box .color span{
    height: 25px;
    width: 25px;
    border-radius: 50%;
    cursor: pointer;
}
.box-settings .reset{
    padding: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #f44336;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-duration);
}
.box-settings .reset:hover{
    background-color: red;
}
.box-settings .box .color .active{
    border: 2px #fff solid;
}
.box-settings .symbol{
    width: fit-content;
    height: fit-content;
    background-color: #777;
    color: #fff;
    padding: 5px 12px 5px 10px;
    cursor: pointer;
    position: relative;
    top: 150px;
}
.box-settings .symbol .rotate{
    animation: symbol-rotate 2s linear infinite;
}
@keyframes symbol-rotate{
    100%{
        transform: rotate(360deg);
    }
}
/* end settings */
/* header */
.header{
    background-color: #fff;
    box-shadow: 0 0 10px #ddd;
}
.header .bar{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.header .bar h2{
    height: 70px;
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: capitalize;
    color: var(--main-color);
}
.header .bar ul{
    display: flex;
}
.header .bar ul li{
    height: 70px;
    justify-content: center;
    align-content: center;
    padding: 0 30px;
    font-size: 1.3rem;
    transition: var(--transition-duration);
    position: relative;
    overflow: hidden;
}
@media(max-width:991px){
    .header .bar h2{
        height: 60px;
    }
    .header .bar ul li{
      height: 60px;
      font-size: 1.1rem;
      padding: 0 25px;
    }
}
@media(max-width:767px){
    .header .bar{
        flex-direction: column;
    }
    .header .bar h2{
        height: 50px;
        margin: 0 auto;
    }
    .header .bar ul li{
        height: 50px;
        font-size: 1rem;
        padding: 0 15px;
    }
}
.header .bar ul li::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 4px;
    width: 100%;
    background-color: var(--main-color);
    transition: var(--transition-duration);
}
.header .bar ul li:hover{
    color: var(--main-color);
    background-color: var(--hover-color);
}
.header .bar ul li:hover::before{
    left: 0;
}
.header input[type=checkbox]{
    display: none;
}
.header .head{
    padding: 20px 15px;
    display: flex;
    justify-content: space-evenly;
    background-color: #fff;
    border-bottom: 4px solid var(--main-color);
    position: absolute;
    left: 0;
    top: 150px;
    animation: up var(--transition-duration) forwards;
    z-index: 2;
    opacity: 0;
}
@keyframes up{
    100%{
        opacity: 1;
        top: 72px;
    }   
}
@media(max-width:991px){
    @keyframes up{
        100%{
            opacity: 1;
            top: 62px;
        }   
    }
}
@media(max-width:767px){
    @keyframes up{
        100%{
            opacity: 1;
            top: 102px;
        }   
    }
}
.header .head ul{
    display: flex;
    flex-basis: 45%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.header .head ul li{
    flex-basis: 45%;
    transition: var(--transition-duration);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    padding-left: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9e6e6;
}
@media(min-width:768px){
.header .head ul li:last-child, .header .head ul li:nth-child(9){
    border: none;
}
}
.header .head ul li::before{
    content: '';
    position: absolute;
    z-index: -1;
    left: -100%;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--hover-color);
    transition: var(--transition-duration);
}
.header .head ul li:hover::before{
    left: 0;
}
.header .head ul li a{
    text-transform: capitalize;
    color: var(--main-color);
}
.header .head ul li a i{
    padding-right: 10px;
}
@media (max-width:991px){
    .header .head ul li{
      height: 50px;
    }
}
@media (max-width:767px){
    .header .head ul li{
        flex-basis: 100%;
        padding-left: 20px;
    }
    .header .head ul li:last-child{
        border: none;
    }
}
.header input[type=checkbox]:not(:checked) ~ .head{
    display: none;
}
@media (max-width:991px){
    .header .head ul{
        flex-basis: 100%;
    }
    .header .head img{
        display: none;
    }
}
/* end header */
/* content text */
.content{
    position: relative;
    min-height: calc(100vh - 70px);
}
.content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #ececec;
    z-index: -4;
    transform: skewY(-6deg);
    transform-origin: top left;
}
@media(max-width:991px){
    .content::before{
        top: -100px;
    }
}
.content .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content .text h1{
   text-transform: capitalize;
   line-height: 2;
   letter-spacing: -2px;
   font-size: 2.5rem;
   font-weight: 700;
}
@media(max-width:991px){
    .content .text h1{
        margin-top: 80px;
    }
}
.content .text p{
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 2;
    text-transform: capitalize;
    color: #777;
}
@media (max-width:767px){
    .content .text h1{
        line-height: 1;
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .content .text p{
        font-size: 1rem;
    }
}
.content img{
    position: relative;
    height: 400px;
    animation: down 4s linear infinite;
}
@media (max-width:991px){
    .content{
        text-align: center;
        margin-top: 100px;
    }
    .content img{
        display: none;
    }
}
.content .down{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.content i{
    font-size: 2rem;
    color: var(--main-color);
    transition: var(--transition-duration);
    animation: jump 1.5s infinite;
}
.content i:hover{
    color: var(--alt-color);
}
/* end content text */
/* animation */
@keyframes down{
    0%,100%{
     top: 0;
    }
    50%{
      top: -40px;
    }
}
@keyframes jump{
    0%,10%,20%,50%,80%,100%{
     transform: translateY(0);
    }
    40%,70%{
     transform: translateY(-20px);
    }
}
/* end animation */
/* begin article */
.article{
 margin-top: var(--margin-value);
 margin-bottom: var(--margin-value);
}
.article .parent{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    grid-gap: 40px;
}
.article .parent .box{
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px 1px #ddd;
    transition: var(--transition-duration);
}
.article .parent .box:hover{
    transform: translateY(-10px);
    box-shadow: 0 2px 10px 5px #ddd;
}
.article .parent .box img{
    max-width: 100%;
}
.article .parent .box .text{
    max-width: 100%;
    padding: 15px 25px 20px 15px;
    border-bottom: 1px solid #e9e6e6;
    margin-bottom: 15px;
}
.article .parent .box .text h3{
    margin-bottom: 10px;
    font-weight: 800;
}
.article .parent .box .text p{
    line-height: 2;
    color: #777;
}
.article .link{
    margin-bottom: 15px;
    position: relative;
    max-width: 100%;
}
.article .link a{
    padding-left: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--main-color);
}
.article .link i{
  font-size: 1rem;
  color: var(--main-color);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}
.article .parent .box:hover .link i{
    animation: space 1.5s infinite;
}
@keyframes space{
    0%,50%,100%{
     right: 20px;
    }
    40%,90%{
        right: 10px;
    }
}
/* end article */
/* begin gallery */
.gallery{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
    background-color: var(--background-color);
}
.gallery .parent{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px, 1fr));
    gap: 40px;
}
.gallery .box{
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 2px 10px 5px #ddd;
}
.gallery .box .image{
    overflow: hidden;
    position: relative;
}
.gallery .box img{
    max-height: 100%;
    max-width: 100%;
    cursor: pointer;
}
.gallery .box .image::before{
    content: '';
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    height: 0;
    width: 0;
}
.gallery .box .image:hover img{
    animation: rotate var(--transition-duration) forwards;
}
@keyframes rotate{
    100%{
        transform: scale(1.1) rotate3d(1,1,1,5deg);
    }
}
.gallery .box .image:hover::before{
    animation: flesh var(--transition-duration);
}
@keyframes flesh{
    100%{
        top: 0;
        left: 0;
        z-index: 4;
        height: 200%;
        width: 200%;
        background-color: rgba(255, 255, 255, 0.2);
    }
}
/* end gallery */
/* begin feature */
.feature{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
}
.feature .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 40px;
}
.feature .box{
    overflow: hidden;
    text-align: center;
    border: 1px solid #ccc;
    padding-bottom: 40px;
}
.feature .box .image{
 position: relative;
 overflow: hidden;
}
.feature .box .image::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 9px);
    width: 100%;
    opacity: .5;
}
.feature .box .image::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-width: 0 0 150px 700px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    transition: var(--transition-duration);
}
.feature .box:hover .image::after{
    right: -50px;
    border-width: 170px 700px 150px 0;
    border-color: transparent transparent #fff transparent;
}
.feature .box img{
    max-width: 100%;
}
.feature .box .text{
    padding: 15px 30px 60px;
}
.feature .box .text h2{
    margin: 10px auto 30px;
    width: fit-content;
    font-size: 2.1rem;
    font-weight: 800;
    position: relative;
}
.feature .box .text h2::after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 10%;
  width: 80%;
  height: 5px;
}
.feature .box .text p{
    padding: 15px;
    font-size: 1.2rem;
    line-height: 2;
    color: #777;
}
.feature .box .link{
    padding: 5px 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    overflow: hidden;
}
.feature .box a{
  position: relative;
  transition: var(--transition-duration);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 3px 20px;
  border: 2px solid;
  border-radius: 5px;
  transition: var(--transition-duration);
}
.feature .box a::before{
    content: '';
    position: absolute;
    z-index: -5;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    border-radius: 3px;
    transition: var(--transition-duration);
}
.feature .box:hover a::before{
    left: 0;
}
.feature .quality .image::before{
    background-color: #f44036;
}
.feature .quality .text h2::after{
   background-color: #f44036;
}
.feature .quality a{
    color: #f44036;
    border-color: #f44036;
}
.feature .quality a::before{
    background-color: #f44036;
}
.feature .time .image::before{
    background-color: #009688;
}
.feature .time .text h2::after{
   background-color: #009688;
}
.feature .time a{
    color: #009688;
    border-color: #009688;
}
.feature .time a::before{
  background-color: #009688;
}
.feature .passion .image::before{
    background-color: #03a9f4;
}
.feature .passion .text h2::after{
   background-color: #03a9f4;
}
.feature .passion a{
    color: #03a9f4;
    border-color: #03a9f4;
}
.feature .passion a::before{
    background-color: #03a9f4;
}
.feature .box:hover .link a{
    color: #fff;
}
/* end feature */
/* begin testimonials */
.testimonials{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
    background-color: var(--background-color);
}
.testimonials .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 40px;
}
.testimonials .box{
  position: relative;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px 5px #ddd;
}
.testimonials .box img{
    height: 100px;
    border-radius: 50%;
    border: 10px solid var(--background-color);
    position: absolute;
    right: -10px;
    top: -50px;
    z-index: 5;
}
.testimonials .box h3{
    text-transform: capitalize;
}
.testimonials .box p{
    color: #777;
}
.testimonials .box p:first-of-type{
    text-transform: capitalize;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--main-color);
}
.testimonials .box p:last-of-type{
    padding-top: 10px;
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 0;
}
/* end testimonials */
/* begin team members */
.team-members{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
}
.team-members .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 50px;
}
.team-members .box{
    position: relative;
    overflow: hidden;
}
.team-members .box::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0px;
    height: 100%;
    width: calc(100% - 60px);
    background-color: #f3f3f3;
    border-radius: 10px;
    z-index: -2;
}
.team-members .box::after{
    content: '';
    position: absolute;
    height: 100%;
    width: calc(100% - 60px);
    border-radius: 10px;
    background-color: #e4e4e4;
    top: 0;
    right: -100%;
    transition: var(--transition-duration);
    z-index: -1;
}
.team-members .box:hover::after{
    right: 0;
}
.team-members .box .cover{
    display: flex;
    align-items: center;
    gap: 20px;
}
.team-members .box .image{
    margin-top: 50px;
}
.team-members .box .image img{
    width: 100%;
    border-radius: 10px;
    transition: var(--transition-duration);
}
.team-members .box:hover .image img{
    filter: grayscale(100%);
}
.team-members .box .link{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 20px;
    padding-top: 50px;
}
.team-members .box .link i{
    font-size: 1.1rem;
    color: #777;
    transition: var(--transition-duration);
}
.team-members .box .link i:hover{
    color: var(--main-color);
}
.team-members .box .text{
    position: relative;
    left: 60px;
    padding: 20px;
}
.team-members .box .text h3{
    font-size: 1.4rem;
    color: var(--main-color);
    transition: var(--transition-duration);
}
.team-members .box:hover .text h3{
    color: #777;
}
.team-members .box .text p{
    font-size: 1.1rem;
    line-height: 1.5;
}
/* end team members */
/* services */
.services{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
    background-color: var(--background-color);
    counter-reset: cmp;
}
.services .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 50px;
}
.services .box{
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 10px 5px #ddd;
    counter-increment: cmp;
    transition: var(--transition-duration);
}
.services .box::before{
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  background-color: var(--main-color);
  transition: var(--transition-duration);
}
.services .box:hover::before{
    width: 100%;
}
.services .box:hover{
    transform: translateY(-10px);
    box-shadow: 0 2px 10px 5px #ccc;
}
.services .box .speciality{
    width: fit-content;
    margin: 30px auto;
    text-align: center;
}
.services .box .speciality i{
    font-size: 4rem;
    margin-bottom: 5px;
    color: #e4e4e4;
}
.services .box .speciality h2{
    color: var(--main-color);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: capitalize;
}
.services .box .footer{
    background-color: #ececec;
    padding: 10px;
    overflow: hidden;
    position: relative;
}
.services .box .footer .number::after{
    content: '';
    position: absolute;
    z-index: 3;
    left: -50px;
    top: 0;
    height: 100px;
    width: 100px;
    background-color: var(--main-color);
    transform: skewX(-30deg);
}
.services .box .footer .number::before{
    content: counter(cmp);
    font-size: 1.7rem;
    font-weight: bold;
    position: absolute;
    color: #fff;
    left: 25px;
    top: 0;
    z-index: 4;
}
.services .box .footer div:nth-of-type(2)::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100px;
    width: 80px;
    z-index: 2;
    background-color: #d5d5d5;
    transform: skewX(-30deg);
}
.services .box .footer a{
  display: block;
  text-align: right;
  color: var(--main-color);
  text-transform: capitalize;
}
/* end services */
/* begin our skills */
.our-skills{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
}
.our-skills .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.our-skills .languages{
    flex: 1;
    width: 400px;
}
.our-skills .languages .box div{
  width: 100%;
  height: 30px;
  background-color: #e4e4e4;
  position: relative;
}
@media (max-width:991px){
    .our-skills .image{
        display: none;
    }
    .our-skills .languages .box div{
        width: 100%;
    }
}
.our-skills .languages .box{
    margin-bottom: 15px;
}
.our-skills .languages .box h3{
    margin-bottom: 10px;
}
.our-skills .languages .box span{
    transition: var(--transition-duration);
    display: block;
    height: 100%;
    background-color: var(--main-color);
}
.our-skills .languages .box span::after{
    content: attr(data-progress);
    position: absolute;
    top: -40px;
    right: 0;
    padding: 0 3px;
    border: 1px solid #d5d5d5;
    color: var(--main-color);
    border-radius: 5px;
}
/* end our skills */
/* begin how it works */
.how-it-works{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
    background-color: var(--background-color);
}
.how-it-works .container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.how-it-works .container > img{
    max-width: 100%;
}
@media (max-width:991px){
.how-it-works .container > img{
   margin: 0 auto 50px;
}
}
.how-it-works .parent{
    flex: 1;
    padding-left: 50px;
    max-width: 100%;
}
@media (max-width:991px){
    .how-it-works .parent{
        padding-left: 0;
    }
}
.how-it-works .parent .box{
    max-width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f3f3f3;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #fff;
    position: relative;
}
@media (max-width:991px){
    .how-it-works .parent .box{
        flex-direction: column;
    }
}
.how-it-works .parent .box::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 0;
    width: 0;
    background-color: #ededed;
    transition: var(--transition-duration);
    border-radius: 10px;
    border: 1px solid #fff;
    z-index: 2;
}
.how-it-works .parent .box:hover::before{
    height: 100%;
    width: 100%;
}
.how-it-works .parent .box img{
    width: 70px;
    margin-right: 30px;
    z-index: 5;
}
@media (max-width:991px){
    .how-it-works .parent .box img{
        margin: 0 auto 30px;
    }
    .how-it-works .text{
        text-align: center;
    }
}
.how-it-works .text{
    z-index: 5;
}
.how-it-works .text h3{
  font-size: 1.4rem;
  text-transform: capitalize;
}
.how-it-works .text p{
    font-size: 1.2rem;
    line-height: 2;
    color: #777;
}
/* end how it works */
/* begin latest events */
.latest-events{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
}
.latest-events .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}
.latest-events .container > img{
    width: 400px;
}
@media (max-width:667px){
    .latest-events .container > img{
        margin: 0 auto 30px;
        width: 300px;
    }
}
.latest-events .box{
    flex: 1;
    margin-left: 50px;
}
.latest-events .box img:first-of-type{
  position: absolute;
  left: -20px;
  bottom: 20px;
  max-width: 100%;
}
.latest-events .box img:last-of-type{
  position: absolute;
  right: -60px;
  top: -50px;
  max-width: 100%;
}
@media (max-width:991px){
    .latest-events .box{
        margin-left: 0;
    }
    .latest-events .box img:first-of-type, .latest-events .box img:last-of-type{
        display: none;
    }
}
.latest-events .box .date{
    display: flex;
    justify-content: center;
}
.latest-events .box .date > div{
    margin-right: 15px;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    width: 70px;
    transition: var(--transition-duration);
}
.latest-events .box .date > div > span{
    display: block;
    display: flex;
    justify-content: center;
    padding: 5px;
}
.latest-events .box .date > div > span:not(:last-of-type){
    font-size: 1.5rem;
    color: var(--main-color);
    font-weight: bold;
    margin: 0;
}
.latest-events .box .date > div > span:last-of-type{
    border-top: 1px solid #d5d5d5;
    font-size: .9rem;
    transition: var(--transition-duration);
}
.latest-events .box .date > div:hover > span:last-of-type, .latest-events .box .date > div:hover{
    border-color: var(--main-color);
}
.latest-events .box .text{
    text-align: center;
}
.latest-events .box .text h2{
    margin: 20px 0;
    text-transform: capitalize;
    font-size: 1.8rem;
    font-weight: 800;
}
.latest-events .box .text p{
    padding: 0 20px;
    font-size: 1.2rem;
    line-height: 2;
    color: #777;
}
.latest-events form{
    margin: 50px auto 0;
    width: fit-content;
    padding: 30px;
    background-color: #eee;
    border-radius: 30px;
}
.latest-events form input[type="email"]{
    height: 30px;
    width: 300px;
    font-size: 1.2rem;
    caret-color: var(--main-color);
    margin-right: 20px;
    padding:30px 15px;
    border-radius: 15px;
    border: none;
    outline: none;
}
.latest-events form a{
    height: 30px;
    width: 70px;
    background-color: var(--main-color);
    color: #fff;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 15px;
    transition: var(--transition-duration);
}
.latest-events form a:hover{
    background-color: var(--alt-color);
}
@media (max-width:667px){
    .latest-events form{
        width: 100%;
        border-radius: 0;
        padding: 15px;
    }
    .latest-events form input[type="email"]{
        width: 100%;
        margin-bottom: 15px;
        height: 50px;
        border-radius: 0;
    }
    .latest-events form a{
        display: block;
        width: 100%;
        height: 60px;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
/* end latest events */
/* begin pricing plans */

.prcing-plans{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
    background-color: var(--background-color);
    overflow: hidden;
}
.prcing-plans .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 50px;
}
.prcing-plans .container > img:first-of-type{
    position: absolute;
    top: -20px;
    right: -70px;
    z-index: 0;
}
.prcing-plans .container > img:nth-of-type(2){
    position: absolute;
    bottom: 50px;
    left: -70px;
    z-index: 0;
}
.prcing-plans .box{
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 10px 5px #ddd;
    padding: 30px 0;
    overflow: hidden;
}
@media (min-width:1200px){
.prcing-plans .box:nth-of-type(2){
    top: -20px;
}
}
.prcing-plans .box::before, .prcing-plans .box::after{
  content: '';
  position: absolute;
  height: 50%;
  width: 100%;
  background-color: #f6f6f6;
  transition: var(--transition-duration);
  z-index: 0;
}
.prcing-plans .box::before{
    top: 0;
    left: -100%;
}
.prcing-plans .box::after{
    top: 50%;
    right: -100%;
}
.prcing-plans .box:hover::before{
    left: 0;
}
.prcing-plans .box:hover::after{
    right: 0;
}
.prcing-plans .text{
    text-align: center;
    position: relative;
    z-index: 4;
}
.prcing-plans .box:nth-of-type(2) .text div:first-child{
    position: absolute !important;
    z-index: 5;
    top: 15px;
    right: -40px;
    padding: 5px 30px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: capitalize;
    transform: rotate(90deg)
}
.prcing-plans .box:nth-of-type(2) .text div:nth-child(2){
    content: '';
    position: absolute;
    z-index: 6;
    height: 0;
    width: 0;
    border-width: 25px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    right: 22px;
    top: 76px;
    transition: .01s calc(var(--transition-duration) / 2);
}
.prcing-plans .box:nth-of-type(2):hover .text div:nth-child(2){
    border-color: transparent transparent #f6f6f6 transparent;
}
.prcing-plans .text h3{
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}
.prcing-plans .text i{
    font-size: 2rem;
    color: var(--main-color);
    margin: 20px 0;
}
.prcing-plans .text .price span{
    display: block;
}
.prcing-plans .text .price span:not(:last-of-type){
   font-size: 3.5rem;
   font-weight: 800;
   color: var(--main-color);
   margin: 0;
}
.prcing-plans .text .price span:last-of-type{
    color: #777;
    position: relative;
    top: -20px;
    text-transform: capitalize;
}
.prcing-plans ul{
    position: relative;
    z-index: 4;
}
.prcing-plans ul li{
    position: relative;
    padding: 15px 40px;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
}
.prcing-plans ul li::before{
   position: absolute;
   content: '\f00c';
   top: 50%;
   transform: translateY(-50%);
   left: 15px;
   font-family: 'FontAwesome';
   font-weight: 900;
   color: var(--main-color);
   font-weight: normal;
   font-style: normal;
   margin-right: 15px;
   text-decoration:none;
}
.prcing-plans .box a{
    position: relative;
    z-index: 4;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 15px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 5px;
    transition: var(--transition-duration);
}
.prcing-plans .box a:hover{
    color: #fff;
    background-color: var(--main-color);
}
/* end pricing plans */
/* begin videos */
.videos{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
}
.videos .container{
    display: flex;
    justify-content: center;
} 
@media (max-width:991px){
    .videos .container {
        flex-direction: column;
    }
}
.videos .container .fields{
    border: 1px solid #ccc;
    min-width: 300px;
}
.videos .container .fields h3{
    text-transform: capitalize;
    font-size: 1.3rem;
    background-color: var(--background-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--main-color);
}
.videos .container .fields .box{
   padding: 15px;
   border-top: 1px solid var(--background-color);
   transition: var(--transition-duration);
   cursor: pointer;
}
.videos .container .fields .box:hover{
    background-color: #f5f5f5;
}
.videos .container .fields span:first-of-type{
  display: block;
  font-size: 1.05rem;
  text-transform: capitalize;
  transition: var(--transition-duration);
}
.videos .container .fields .box:hover span:first-of-type{
    color: var(--main-color);
}
.videos .container .fields .time{
  display: block;
  color: #777;
}
.videos .container .image{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--background-color);
    padding: 15px;
}
.videos .container .image img{
  max-width: 100%;
}
@media (max-width:991px){
    .videos .container .image img{
        margin-bottom: 30px;
      }
}
.videos .container .image textarea{
    padding: 10px;
    border-radius: 5px;
    font-size: 1.1rem;
    caret-color: var(--main-color);
    outline: none;
    border: 0;
    transition: var(--transition-duration);
}
.videos .container .image textarea:focus{
    outline: none;
    border: 1px solid var(--main-color);
}
/* end videos */
/* begin stats */
.stats{
    padding-top: var(--margin-value);
    padding-bottom: var(--margin-value);
    background: url(imgs/stats.jpg) no-repeat center/cover;
    position: relative;
}
.stats .overlay{
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   background-color: rgba(255, 255, 255, .8);
   z-index: 0;
}
.stats h2{
    font-size: 2rem;
    font-weight: 900;
    width: fit-content;
    margin: 0 auto 40px;
    position: relative;
    z-index: 4;
}
.stats .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 20px;
    z-index: 4;
}
.stats .container .box{
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: .9;
    transition: var(--transition-duration);
}
.stats .container .box:hover{
    opacity: 1;
}
.stats .container .box::after,.stats .container .box::before{
    position: absolute;
    content: '';
    height: 100%;
    width: 2px;
    background-color: var(--main-color);
    transition: .8s;
}
.stats .container .box::before{
    top: -100%;
    left: 0;
}
.stats .container .box::after{
   right: 0;
   bottom: -100%;
}
.stats .container .box:hover::before{
  top: 0;
}
.stats .container .box:hover::after{
   bottom: 0;
}
.stats .container .box span{
    display: block;
    transition: var(--transition-duration);
}
.stats .container .box i{
    font-size: 2.2rem;
    margin: 20px 0 0;
}
.stats .container .box span:first-of-type{
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    top: -5px;
}
.stats .container .box span:last-of-type{
    position: relative;
    top: -15px;
    font-size: 1.1rem;
    font-style: italic;
    text-transform: capitalize;
    color: var(--main-color);
    font-weight: 800;
}
/* end stats */
/* begin discount */
.discount{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  min-height: 100vh;
}
@media(max-width:991px){
    .discount{
        flex-direction: column;
        gap: 20px;
    }
}
.discount .image{
  background: url(imgs/discount-background1.jpg) no-repeat center/cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: change-background 10s linear infinite backwards;
}
@keyframes change-background{
   50%{
    background: url(imgs/discount-background2.jpg) no-repeat center/cover
   }
   0%,100%{
    background: url(imgs/discount-background1.jpg) no-repeat center/cover;
   }
}
.discount .image::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #1786e0ea;
}
.discount .image .text{
 position: relative;
 text-align: center;
 color: #fff;
}
.discount .image .text h2{
    font-size: 2.2rem;
    text-transform: capitalize;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 2;
}
.discount .image .text p{
    padding: 0 50px;
    font-size: 1.1rem;
    line-height: 2;
    font-weight: 600;
}
.discount .image img{
    position: relative;
    width: 300px;
}
.discount .info{
    padding: 15px 50px;
    min-width: 50%;
}
@media(max-width:991px){
    .discount .info{
        padding: 15px 0;
    }
}
.discount .info h2{
    width: 300px;
    margin: 0 auto 30px;
    font-size: 2.1rem;
    font-weight: 900;
    text-transform: capitalize;
}
.discount .info input,.discount .info textarea{
    width: 300px;
    margin: 30px auto;
    padding: 0 10px;
    font-size: 1.1rem;
    caret-color: var(--main-color);
    outline: none;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: #f9f9f9;
    display: block;
}
.discount .info input{
    height: 50px;
}
.discount .info textarea{
    resize: none;
    height: 180px;
}
.discount .info input[type="submit"]{
    border-bottom: 0;
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    transition: var(--transition-duration);
    cursor: pointer;
}
.discount .info input[type="submit"]:hover{
    background-color: var(--alt-color);
}
/* end discount */
/* begin footer */
.footer{
    background-color: #000;
    color: #fff;
    padding-top: 40px;
}
.footer .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.footer .container .social{
    padding: 20px 15px;
}
@media(max-width:767px){
    .footer .container .social{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.footer .container .social h2{
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.footer .container .social .icons{
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.footer .container .social .icons a{
    height: 50px;
    width: 50px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #777;
    opacity: .8;
    transition: var(--transition-duration);
}
.footer .container .social .icons a:hover{
    opacity: 1;
}
.footer .container .social .icons a:first-of-type:hover{
   background-color: #1877f2;
}
.footer .container .social .icons a:nth-of-type(2):hover{
    background-color: #1da1f2;
}
.footer .container .social .icons a:last-of-type:hover{
    background-color: #ff0000;
}
.footer .container .social p{
    color: #ccc;
}
.footer .container .links{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}
@media(max-width:767px){
    .footer .container .links{
        align-items: center;
    }
}
.footer .container .links li{
    color: #ccc;
    transition: var(--transition-duration);
    padding: 10px 25px;
    position: relative;
}
.footer .container .links li:not(:last-of-type){
    border-bottom: 1px solid #444;
}
.footer .container .links li::before{
    position: absolute;
    content: '\f101';
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    font-family: 'FontAwesome';
    font-weight: 900;
    color: var(--main-color);
    font-weight: normal;
    font-style: normal;
    margin-right: 15px;
    transition: var(--transition-duration);
    opacity: .9;
}
.footer .container .links li a{
    display: block;
    transition: var(--transition-duration);
    opacity: .9;
}
.footer .container .links li:hover a{
  transform: translateX(15px);
  font-weight: bold;
  opacity: 1;
}
.footer .container .links li:hover::before{
   left: 15px;
   font-weight: bold;
   opacity: 1;
}
.footer .container .info{
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.footer .container .info .box{
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer .container .info .box i{
    color: var(--main-color);
    font-size: 1.5rem;
}
.footer .container .info .box .text{
    color: #eee;
    line-height: 2;
    font-size: .9rem;
    flex: 1;
}
@media(max-width:767px){
    .footer .container .info .box{
        flex-direction: column;
        text-align: center;
    }
}
.footer .container .info .box .text span{
    display: block;
}
.footer .container .images{
    display: grid;
    grid-template-columns: repeat(auto-fill,80px);
    justify-content: center;
    align-content: center;
    gap: 10px;
}
.footer .container .images img{
    background-color: #fff;
    padding: 3px;
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
}
.footer .maker{
padding: 20px 0;
display: flex;
justify-content: center;
align-items: center;
border-top: 1px solid #444;
}
.footer .maker span{
 letter-spacing: 1px;
 font-size: 1.2rem;
 font-weight: 900;
 margin: 0 10px;
 color: var(--main-color);
}
/* end footer */

/* generate the popup */
.shaddow{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .4);
    z-index: 9999;
}
.overlayPopup{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 0 0 15px;
    box-shadow: 0 2px 10px 5px rgba(0, 0, 0, .5);
    width: 400px;
    height: 400px;
}
.overlayPopup .header{
    position: relative;
    padding: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}
.overlayPopup .header h3{
    color: var(--main-color);
}
.overlayPopup .header i{
    cursor: pointer;
    position: absolute;
    top: -15px;
    right: -15px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--main-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlayPopup img{
    height: 80%;
    margin: 0 10%;
}
/* begin arrwo up */
.arrowUp{
    position: fixed;
    bottom: 30px;
    right: 15px;
    font-size: 2rem;
    color: var(--main-color);
    transition: var(--transition-duration);
    cursor: pointer;
}
.arrowUp:hover{
    color: var(--alt-color);
}