/* Start Global Rules */

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}

body{
  font-family: "Cairo", sans-serif;
}


html{
  scroll-behavior: smooth;
}

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;
  }
}

/* End Global Rules */
/* Start Variables */

:root{
  --main-color: #2196f3;
  --main-color-alt:#1787e0;
  --main-transition:0.3s;
  --main-padding:100px;
  --alt-section-background:#ECECEC;
}


/* End Variables */

/* Start Componants */

.main-heading{
  margin: 0 auto 80px ;
  /* text-align: center; */
  position: relative;
  z-index: 100;
}

.main-heading h2{
  margin: 0 auto;
  font-size: 30px;
  padding: 10px 20px;
  border: 2px solid ;
  width: fit-content;
  position: relative;
  text-transform: uppercase;
  transition: var(--main-transition);
}

.main-heading h2::before,
.main-heading h2::after
{
  content: "";
  background: var(--main-color);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--main-transition);
  z-index: -1;
}


.main-heading h2::before{
  left: -30px;
}

.main-heading h2::after{
  right: -30px;
}

.main-heading h2:hover::after
{
  animation: move-right 0.5s linear forwards;
}

.main-heading h2:hover::before{
  animation: move-left 0.5s linear forwards;
}
.main-heading h2:hover{
  color: white;
  border: 2px solid transparent;
  transition-delay: 0.5s;
}

/* End Componants */

/* Start Header */

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

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

.header .logo{
  text-decoration: none;
  font-size: 28px;
  color: var(--main-color);
  font-weight: bold;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.header .main-nav{
  display: flex;
  
}

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

.header .main-nav > li > a{
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  text-decoration: none;
  color: black;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  transition: var(--main-transition);
}

@media (max-width:767px){
  .header .main-nav > li > a{
    padding: 10px;
    height: 40px;
    font-size: 14px;
  }
}

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

.header .main-nav > li > a:hover{
  background: #fafafa;
  color: var(--main-color);
}

.header .main-nav > li > a:hover::before{
  left: 0;
}

.header .main-nav > li:last-child:hover .mega-menu{
  opacity: 1;
  z-index: 100;
  top: calc(100% + 1px);
}

.header .mega-menu{
  display: flex;
  position: absolute;
  left: 0;
  width: 100%;
  background: white;
  border-bottom: 3px solid var(--main-color);
  padding: 30px;
  gap: 40px;
  opacity: 0;
  z-index: -1;
  top: calc(100% + 50px);
  transition: var(--main-transition);
}

@media (max-width:767px){
  .header .mega-menu{
    flex-direction: column;
    gap: 0;
    padding: 10px;
  }
}

.header .mega-menu .image img{
  max-width: 100%;
}

@media (max-width:991px){
  .header .mega-menu .image{
    display: none;
  }
}

.header .mega-menu .links{
  min-width: 250px;
  flex: 1;
}

.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{
  position: relative;
  transition: var(--main-transition);
}
.header .mega-menu .links li a{
  display: block;
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
  font-size: 18px;
  padding: 15px;
}

.header .mega-menu .links li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  background: #fafafa;
  height: 100%;
  z-index: -1;
  transition: var(--main-transition);
}

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

.header .mega-menu .links li:hover{
  transform: scale(1.07);
}

.header .mega-menu .links li a i{
  margin-right: 10px;
}
/* End Header */

/* Start Landing */

.landing {
  position: relative;
}

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

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

.landing .image img{
  width: 600px;
  position: relative;
  top: 0;
  animation: up-and-down 5s linear infinite;
}

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

.landing .container .text{
  flex: 1;
}

@media (max-width:991px){
  .landing .container .text{
    text-align: center;
  }
}

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

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

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

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

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

.landing .go-down{
  position: relative;
}

.landing .go-down i{
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  color: var(--main-color);
  font-size: 28px;
  transition: var(--main-transition);
  animation: go-down 1.5s infinite;
}

.landing .go-down i:hover{
  color: var(--main-color-alt);
}



/* End Landing */

/* Start Articles */

.articles{
  padding: var(--main-padding) 0;
}

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

.articles-content .box{
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  background: white;
  -webkit-box-shadow:0 2px 15px rgb(0 0 0 / 10%);
  -moz-box-shadow:0 2px 15px rgb(0 0 0 / 10%);
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  transition: var(--main-transition);
  overflow: hidden;
}

.articles-content .box:hover{
  transform: translateY(-10px);
  box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
}

.articles-content .box .image img{
  max-width: 100%;
}
.articles-content .box .text{
  padding: 20px;
  border-bottom: 1px solid #e6e6e7 ;
}
.articles-content .box .text h3{
  margin: 10px auto;
  
}

.articles-content .box .text p{
  color: #777;
  line-height: 1.5;
}
.articles-content .info{
  position: relative;
  padding: 20px ;
}
.articles-content .info a{
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
}

.articles-content .info i{
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main-color);
  font-size: 14px;
}

.articles-content .box:hover i{
  animation:move-arrow-to-right 1s linear infinite;
}

/* End Articles */

/* Start Gallery */

.gallery{
  padding:var(--main-padding) 0 ;
  background-color:var(--alt-section-background);
}

.gallery .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.gallery .box{
  padding: 15px;
  background: white;
  box-shadow: 0 12px 20px 0px rgb(0 0 0 / 13%),
              0 2px 4px 0px rgb(0 0 0 / 12%);
}
.gallery .image{
  position: relative;
  transition: var(--main-transition);
  overflow: hidden;
}
.gallery img{
  max-width: 100%;
  transition: var(--main-transition);
}

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

.gallery .box .image:hover img{
  transform: rotate(5deg) scale(1.1);

}

.gallery .box .image::before{
  content: "";
  background: rgb(255 255 255 / 20%);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 0%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: 0.2s;
}

/* End Gallery */

/* Start Features */

.features{
  padding: var(--main-padding) 0;
  background-color: white;
}

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

.features .image{
  position: relative; 
  overflow: hidden;
}

.features .image::before{
  content: "";
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  height: 100%;
  transform: translate(-50%, -50%);
}
.features .quality .image::before{
  background: rgb(244 64 54 / 50%);
}

.features .time .image::before{
  background: rgb(0 150 136 / 50%);
}

.features .passion .image::before{
  background: rgb(3 169 244 / 50%);
}

.features .image::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-width: 0 0 150px 500px;
  border-color: transparent transparent white transparent;
  border-style: solid;
  transition: var(--main-transition);
}

.features .container > div:hover .image::after{
  border-width: 0 500px 150px 0;
}

@media (max-width:767px){
  .features .image::after{
    opacity: 0;
  }
}

.features .container > div{
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  overflow: hidden;
}
.features .image img{
  max-width: 100%;
}

.features .container .text{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features .text h2{
  font-size: 40px;
  margin-bottom: 50px;
  padding-bottom: 10px;
  z-index: 100;
  position: relative;
}

.features .text h2::after{
  content: "";
  position: absolute;
  width: calc(100% - 30px);
  height: 5px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  
}

.features .quality h2::after{
  background: #F44036;
}
.features .time h2::after{
  background: #009688;
}
.features .passion h2::after{
  background: #03A9F4;
}

.features p{
  z-index: 100;
  text-align: center;
  font-size: 20px;
  color: #777;
  padding: 20px;
  line-height: 1.8;
}
.features a{
  text-decoration: none;
  margin-bottom: 50px;
  font-size: 24px;
  padding: 10px 25px;
  font-weight: bold;
  border: 3px solid;
  border-radius: 6px;
  transition: var(--main-transition);
}

.features .quality a{
  border-color: #F44036;

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

  background: linear-gradient(to right, #009688 50%, white 50%);
  background-position: right bottom;
  background-size: 200% 100%;
  
  color: #009688;
}
.features .passion a{
  border-color: #03A9F4;

  background: linear-gradient(to right, #03A9F4 50%, white 50%);
  background-position: right bottom;
  background-size: 200% 100%;
  
  color: #03A9F4;
}

.features .container > div:hover a{
  color: white;
  background-position: left bottom;
}
/* End Features */
/* Start Testimonials */

.testimonials{
  padding: var(--main-padding) 0;
  background: var(--alt-section-background);
}

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

.testimonials .container .box{
  background-color: white;
  padding: 20px;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
  transition: var(--main-transition);
}

.testimonials .container .box:hover{
  transform: scale(1.1);
  z-index: 100;
}

.testimonials .container .box .image{
  position: absolute;
  top: -50px;
  right: -10px;
}
.testimonials .container .box .image img{
  max-width: 100%;
  width: 100px;
  border-radius: 50%;
  border: 10px solid var(--alt-section-background);
  transition: var(--main-transition);
}
.testimonials .container .box:hover .image img{
  animation: Shaking-Image 2s backwards 0.2s infinite;
  box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 50%);
  border: none;
  border-radius: 20px;
}

.testimonials .container .box h4{
  color: #777;
  font-weight: normal;
  padding:10px 0;
}
.testimonials .container .box p{
  line-height: 1.6;
  color: #777;
  padding-top:10px;
}
.testimonials .container .box i.filled{
  color: #FFC107;
}
/* End Testimonials */
/* Start Team Members */

.team-members{
  padding: var(--main-padding) 0;
}

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

.team-members .item{
  position: relative;
  transition: var(--main-transition);
}

.team-members .item::before{
  width: calc(100% - 60px);
  z-index: -2;
}

.team-members .item::before,
.team-members .item::after
{
  content: "";
  background-color: #f3f3f3;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 10px;
  transition: var(--main-transition);
}
.team-members .item::after{
  width: 0;
  z-index: -1;
  background: #e4e4e4;
}

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

.team-members .item:hover::before{
  box-shadow: 0px 6px 10px rgb(0 0 0 / 50%);
}

.team-members .item:hover .image img{
  filter: grayscale(100%);
}

.team-members .item:hover{
  transform: scale(1.1);
  
}

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

.team-members .item .image{
  max-width: calc(100% - 60px);
}

.team-members .item .image img{
  width:100%;
  border-radius: 10px;
  transition: var(--main-transition);
}

.team-members .item .icons{
  display: flex;
  flex-direction: column;
  width: 60px;
  gap: 20px;
  align-items: center;
  
}

.team-members .item .icons a{
  display: flex;
  width: 60px;
  text-decoration: none;
  height: 30px;
  align-items: center;
  justify-content: center;
}
.team-members .item .icons i{
  color: #777;
  transition: var(--main-transition);
}

.team-members .item .icons a:hover i{
  color: var(--main-color);
}

.team-members .item .text{
  padding: 20px 0 20px 80px;
}
.team-members .item .text h2{
  color: var(--main-color);
  transition: var(--main-transition);
}

.team-members .item .text p{
  margin-top: 10px;
}

.team-members .item:hover h2{
  color: #777;
}
/* End Team Members */

/* Start Services */

  .services{
    padding: var(--main-padding) 0;
    background: var(--alt-section-background);
  }

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

  .services .container .box{
    text-align: center;
    background: white;
    position: relative;
    
    -moz-box-shadow: 0 12px 20px 0px rgb(0 0 0 / 13%),
    0 2px 4px 0px rgb(0 0 0 / 12%);

    -webkit-box-shadow: 0 12px 20px 0px rgb(0 0 0 / 13%),
    0 2px 4px 0px rgb(0 0 0 / 12%);

    box-shadow: 0 12px 20px 0px rgb(0 0 0 / 13%),
    0 2px 4px 0px rgb(0 0 0 / 12%);

    transition: var(--main-transition);
  }

  .services .container .box:hover{
    transform: translateY(-10px);
  }

  .services .container .box:before{
    content: "";
    position: absolute;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    top: -3px;
    left: 50%;
    background: var(--main-color);
    transition: var(--main-transition);
  }
  .services .container .box:hover::before{
    width: 100%;
  }

  .services .container .box i{
    display: block;
    color: #D5D5D5;
    margin:30px auto 20px;
  }

  .services .container .box h2{
    color: var(--main-color);
    margin: 20px 0 40px;
  }

  .services .container .box .footer{
    display: flex;
    justify-content: space-between;
    background: #F9F9F9;
    align-items: center;
  }
  .services  .box .footer h3{
    background: var(--main-color);
    padding: 10px 40px 10px 20px;
    font-size: 28px;
    color: white;
    position: relative;
  }
  .services  .box .footer h3:after{
    content: "";
    position: absolute;
    height: 100%;
    width: 50px;
    right: -30px;
    top: 0;
    background: #D5D5D5;
    transform: skewX(-30deg);
  }
  .services  .box .footer a{
    margin-right: 20px;
    text-decoration: none;
    color: var(--main-color-alt);
  }
/* End Services */

/* Start Skills */
.skills{
  padding: var(--main-padding) 0;
}

.skills .container{
  display: flex;
  align-items: center;

}

.skills  .content{
  flex: 1;
}
@media (max-width:991px) {
  .skills  .content{
    flex-basis: 100%;
  }
  .skills img{
    display: none;
  }
}
.skills  .content .item{
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.skills  .content .item > span{
  position: absolute;
  right: 0;
  top: 0;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--main-color);
}
.skills  .content .item > h3{
  transform: translateY(-20px);
}
.skills  .content .bar{
  background-color: #eee;
  height: 30px;
}
.skills  .content .bar span{
  background-color: var(--main-color);
  height: 100%;
  display: block;
  transition: var(--main-transition);
}

/* End Skills */

/* Start Work Steps */

.work{
  padding: var(--main-padding) 0;
  background: var(--alt-section-background);
}

.work .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width:992px) {
  .work .container{
    flex-direction: column;
  }
}
.work .container > img{
  max-width: 100%;
  margin-right: 100px;
}
@media (max-width:991px) {
  .work .container > img{
    margin: 0 0 50px;
  }
}
.work .work-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.work .box{
  display: flex;
  align-items: center;
  background-color: #f6f5f5;
  padding: 30px;
  border: 2px solid white;
  border-radius:6px;
  position: relative;
  z-index: 1;
}
@media (max-width:767px) {
  .work .box{
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.work .box::before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ededed;
  z-index: -1;
  transition: var(--main-transition);
}
.work .box:hover::before{
  width: 100%;
  height: 100%;
}
.work .box img{
  width: 64px;
  max-width: 100%;
  margin-right: 30px;
}
.work .box h3{
  margin: 0;
  font-size: 22px;
}
.work .box p{
  margin: 10px 0 0;
  color: #777;
  line-height: 1.7;
  font-size: 18px;
}
/* End Works Steps */
/* Start Events */

.events{
  padding: var(--main-padding) 0;
  position: relative;
}
.events .container{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.events img{
  max-width: 450px;
}

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

}
.events .dots{
  background-image: url(../images/dots.png);
  height: 186px;
  width: 204px;
  background-repeat: no-repeat;
  position: absolute;
}

.events .up-dots{
top: 200px;
    right: 0;
}

.events .down-dots{
  bottom:200px;
  left:0;
  
}
.events .timer{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  gap: 10px;
}

.events .info .timer .unit:hover ,
.events .info .timer .unit:hover span:last-child{
  border-color: var(--main-color);
}
.events .info{
  flex: 1;
}
.events .timer .unit{
  width: 75px;
  border: 1px solid #d4d4d4;
  text-align: center;
  color: var(--main-color);
  border-radius: 6px;
  transition: var(--main-transition);
}

.events .info .timer .unit span {
  display: block;
  transition: var(--main-transition);
}
.events .info .timer .unit span:first-child {
  font-size: 35px;
  padding: 15px;
  color: var(--main-color);
  font-weight: bold;
}
.events .info .timer .unit span:last-child {
  padding: 8px 10px;
  font-size: 13px;
  border-top: 1px solid #d4d4d4;
}

.events .text{
  margin-top: 40px;
  text-align: center;
}
.events .text h2{
  font-size: 30px;
  margin-bottom: 20px;
}
.events .text p{
    font-size: 19px;
    font-weight: bold;
    color: #777;
    line-height: 1.7;
}
.events .Subscribe{
  width: 100%;
  margin-top: 50px;
}

.events .Subscribe form{
    width: 600px;
    background-color: #f6f5f5;
    padding:30px;
    margin: 20px auto;
    display: flex;
    border-radius: 50px;
    gap: 10px;
    transition: var(--main-transition);
}
.events .Subscribe input{ 
    width: 400px;
    border-style: none;
    padding: 20px;
    border-radius: 50px;
    flex: 1;
    transition: var(--main-transition);
}

.events .Subscribe form input[type="email"]:focus {
  outline: none;
}
.events .Subscribe form input[type="email"]::placeholder {
  transition: opacity var(--main-transition);
}
.events .Subscribe form input[type="email"]:focus::placeholder {
  opacity: 0;
}
.events .Subscribe button{
  padding: 20px;
  color: white;
  background-color: var(--main-color);
  border-style: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--main-transition);
}

.events .Subscribe button:hover{
  background-color: var(--main-color-alt);
}

/* End Events */

/* Start Pricing */
.pricing{
  padding: var(--main-padding) 0;
  background: var(--alt-section-background);
  position: relative;
}
.pricing .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
}
.pricing img{
  max-width: 450px;
}
.pricing .dots{
  background-image: url(../images/dots.png);
  height: 186px;
  width: 204px;
  background-repeat: no-repeat;
  position: absolute;
}

.pricing .up-dots{
top: 200px;
    right: 0;
}

.pricing .down-dots{
  bottom:200px;
  left:0;
  
}

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

@media (max-width: 1199px) {
  
}

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

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

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

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

.pricing .Advanced{
  top: -25px;
}

@media (max-width: 1199px){
  .pricing .Advanced{
    top: 0;
  }
  
}

.pricing .Advanced .label{
  position: absolute;
  writing-mode: vertical-lr;
  right: 20px;
  top: 0;
  font-size: 20px;
  background-color: var(--main-color-alt);
  color: white;
  padding: 10px 10px 40px 10px;
}
.pricing .Advanced .label::before {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -4px;
    border-style: solid;
    border-color: transparent transparent white;
    border-width: 25px;
}

.pricing .box img{
  max-width: 80px;
  margin: 15px auto
}

.pricing .box p:first-child{
  font-size: 24px;
  margin: 30px 0;
  /* letter-spacing: 1in; */
}

.pricing .box .Price{
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

.pricing .box .Price p:first-of-type{
  font-size: 60px;
  color: var(--main-color);
  margin: 15px 0 10px;
  
}

.pricing .box .Price p:last-of-type{
  color: #777;
  width: fit-content;
}

.pricing .box ul{
  width: 100%;
  margin: 10px auto;
  text-align: left;

}

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

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

.pricing .box a{
  text-decoration: none;
  color: var(--main-color-alt);
  padding: 15px 20px;
  border: 2px solid var(--main-color);
  border-radius: 5px;
  transition: var(--main-transition);
  margin: 30px auto;
}

.pricing .box a:hover{
  color: white;
  background-color: var(--main-color-alt);
}
/* End Pricing */

/* Start Video */

.video {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.video .container{
  display: flex;
  flex-direction: row;
}

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

.video .list{
 border: 1px solid #DDDDDD;
 min-width: 300px;
}


.video .list .name{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 20px;
  background-color: #F4F4F4;
  

}

.video .list li{
  border-top: 1px solid #dddddd;
  padding: 20px;
}

.video .list li:hover{
  color: var(--main-color);
  background-color: #FAFAFA;
  cursor: pointer;
  transition: var(--main-transition);
}

.video .list li .time{
  color: #777;
  margin-top: 10px;
  display: block;
}

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

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

.video .preview p{
  padding: 20px;
  background-color: white;
  margin-top: 10px;
}

/* End Video */

/* Start Stats */
.stats{
  padding: var(--main-padding) 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-image: url(../images/stats.jpg);
  background-size: cover;
  min-height: 300px;
  position: relative;
}

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

.stats h2{
  z-index: 1;
  font-size: 40px;
}

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

.stats .box{
  color: #313232;
  padding: 25px 40px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  position: relative;
  transition: var(--main-transition);
}

.stats .box:hover{
  color: black;
}

.stats .box::after,
.stats .box::before{
  content: "";
  width:2px;
  height: 0;
  position: absolute;
  background-color: var(--main-color);
  transition:1s
}

.stats .box::before{
  right: 0;
  top: 0;
}
.stats .box::after
{
  left: 0;
  bottom: 0;
}

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

.stats .box i{
  font-weight: 900;
}


.stats .box .num{
  font-size: 50px;
  font-weight: bold;
  margin-top: 10px;
}

.stats .box .title{
  color: #4CABF5;
  margin-top: 10px;
  font-style: italic;
  font-size: 20px;
  transition: var(--main-transition);
}

.stats .box:hover .title{
  color: #2196F3;
}

/* End Stats */

/* Start Discount */
.discount{
 display: flex;
 flex-wrap: wrap;
 min-height: 100vh;

}

.discount .image{
background-image: url(../images/discount-background1.jpg);
background-size: cover;
position: relative;
color: white;
display: flex;
flex-basis: 50%;
justify-content: center;
align-items: center;
z-index: 1;

animation: Change_Background 10s linear infinite;
}

@media (max-width:991px){
  .discount .image
  {
    flex-basis: 100%;
  }
}

.discount .image::before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgb(23 135 224 / 97%);
  z-index: -1;
}

.discount .image .content h2{
  line-height: 1.7;
  font-size: 40px;
  letter-spacing: -2px;
}

.discount .image .content p{
  line-height: 1.6;
  max-width: 500px;
  font-size: 18px;
  margin: 20px 0;
}

.discount .image .content img{
 width: 300px;
 max-width: 100%;
}

.discount .form{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 50%;
  padding-bottom: 50px;
}

@media (max-width:991px){
  .discount .form
  {
    flex-basis: 100%;
  }
}

.discount .content{
  text-align: center;
  padding: 0 20px;
}

.discount .form h2{
   line-height: 1.7;
  font-size: 40px;
  letter-spacing: -2px;
}

.discount .form form .input{
  display: block;
  border: none;
  border-bottom: 1px solid #CCCCCC;
  padding: 15px;
  margin: 25px 0;
  font-size: 16px;
  background-color: #F9F9F9;
  width: 100%;
}


.discount textarea{
  resize: none;
  height: 200px;
}

.discount .form button{
  width: 100%;
  padding: 15px;
  color: white;
  border: none;
  font-size: 20px;
  margin-top: 10px;
  background-color: var(--main-color);
}
/* End Discount */

/* Start Footer */

.footer{
background-color: #191919;
color: white;
padding: 70px 0 0;
}

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

@media (max-width:767px) {
  .footer .container{
    text-align: center;
  }
  .footer .container > .info .social{
    justify-content: center;
  }
  .footer .box .line{
    flex-direction: column;
  }

}

.footer .container > .info h3{
  font-size: 50px;
  margin: 0 0 20px;
}

.footer .container > .info p{
color: #B9B9B9;
line-height: 2;
}

.footer .container > .info .social{
  display: flex;
  gap: 10px;
}

.footer .container > .info .social a{
  background-color: #313131;
  color: #B9B9B9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.footer .links ul li {
  padding: 15px 0;
}

.footer .links ul li:hover a{
  color: white;
  margin-left: 10px;
}

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

.footer .links ul li a{
  color: #B9B9B9;
  text-decoration: none;
  transition: var(--main-transition);

}

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

.footer .box .line{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer .box .line i{
  font-size: 24px;
  color: var(--main-color-alt);
}

.footer .box .line .info{
  color: #b9b9b9;
  line-height: 1.7;
  flex: 1;
}

.footer .footer-gallery img{
  width: 78px;
  margin: 2px;
  border: 3px solid white;
}

.footer .copyright{
  text-align: center;
  border-top: 1px solid #444444;
  padding: 25px 0;
  margin: 50px 0 0;
}

/* End Footer */
/* Start Animations */

@keyframes up-and-down{
  0%{
    top:0;
  }
  50%{
    
    top:-50px;
  }
  100%{
    
    top:0;
  }
}

  @keyframes go-down{
  40%,60%{
    transform: translateY(15px);
  }
  0%,10%,20%,30%,50%,70%,80%,90%,100%{
    transform: translateY(0);
    
  }
}

@keyframes main-title-left-ball {
  0%{
    border-radius: 50%;
    left: -30px;
  }
  50%{
    border-radius: 0px;
    left: 0; 
  }
  100%{
    left: 0;
  }
  
}


@keyframes main-title-right-ball {
  0%{
    border-radius: 50%;
    right: -30px;
  }
  50%{
    border-radius: 0px;
    right: 0; 
  }
  100%{
    right: 0;
  }
  
}
  /* Start Main Heading Animations */

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

@keyframes move-arrow-to-right {
  0%{
    right: 15px;
  }
  50%{
    right: 10px;
  }
  100%{
    right: 15px;
  }
}
/* End Main Heading Animations */

/* Start Gallery Animations */

@keyframes flashing {
  50%{
    width: 100%;
    height: 100%;
  }
  100%{
    opacity: 0;

  }
}

/* End Gallery Animations */

/* Start Testimonials Animations */

@keyframes Zoom-Image {
  50%{
    transform: scale(1.2);
  }
  100%{
    transform: scale(1);
  }
}

@keyframes Shaking-Image {
  25%{
    transform:rotate(20deg)

  }
  50%{
    transform: rotate(0deg);
  }
  75%{
    transform: rotate(-20deg);
  }
  100%{
    
    transform: rotate(0deg);
  }
}
/* End Testimonials Animations */

/* Start Discount Animations */


@keyframes Change_Background {
  0%,100%{
    background-image: url(../images/discount-background1.jpg);
  }
  50%{
    background-image: url(../images/discount-background2.jpg);

  }
}

/* End Discount Animations */
/* End Animations */