/* Start Global Rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:root{
    --main-color:#2196f3;
    --color-alt:#1787e0;
    --main-transition:.3s;
    --padding-section:100px;
    --color-alt2:#ececec;
}
html {
    scroll-behavior: smooth;
  }
 body{
    font-family: "Cairo", sans-serif;
  }
a {
    text-decoration: none;
  }
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
/* Small */
@media (min-width: 768px) {
    .container {
      width: 750px;
    }
  }
/* Medium */
@media (min-width: 992px) {
    .container {
      width: 970px;
    }
  }
/* Large */
@media (min-width: 1200px) {
    .container {
      width: 1170px;
    }
}
.title{
  margin: 0 auto 80px;
  border: 2px solid black;
  width: fit-content;
  padding: 10px 20px;
  font-size: 30px;
  position: relative;
  transition: var(--main-transition);
  z-index: 1;
  text-transform: uppercase;
}
.title::before,
.title::after {
  content: "";
  width: 15px;
  height: 15px;
  background-color: var(--main-color);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.title::before {
  left: -30px;
}
.title::after {
  right: -30px;
}
.title:hover::before{
  z-index: -1;
  animation: left-move .5s linear forwards;
}
.title:hover::after{
  z-index: -1;
  animation: right-move .5s linear forwards;
}
.title:hover{
  color: white;
  border: 2px solid white;
  transition-delay: .5s;
}
.spikes{
  position: relative;
}
.spikes::after{
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 30px;
  z-index: 1;
  background-image: linear-gradient(135deg, white 25%, transparent 25%),
                    linear-gradient(225deg, white 25%, transparent 25%);
  background-size: 30px 30px;
}
.dots{
  background-image: url(../images/dots.png);
  width:204px;
  height:186px;
  background-repeat: no-repeat;
  position: absolute;
}
.dots-up{
  top: 200px;
  right: 0;
}
.dots-down{
  bottom: 200px;
  left: 0;
}
/* st header */
.header {
  background-color: white;
  --webkit-box-shadow:0 0 10px #ddd;
  --moz-box-shadow:0 0 10px  #ddd;
  box-shadow: 0 0 10px #ddd;
  position: relative;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
.header .logo {
  color: var(--main-color);
  font-size: 26px;
  font-weight: bold;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .header .logo {
    width: 100%;
    height: 50px;
  }
}
.header .main-nav {
  display: flex;
}
@media (max-width: 767px) {
  .header .main-nav {
    margin: auto;
  }
}
.header .main-nav > li:hover .mega-menu {
  opacity: 1;
  z-index: 100;
  top: calc(100% + 1px);
}
.header .main-nav > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  position: relative;
  color: black;
  padding: 0 30px;
  overflow: hidden;
  font-size: 18px;
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .header .main-nav > li > a {
    padding: 10px;
    font-size: 14px;
    height: 40px;
  }
}
.header .main-nav > li > a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--main-color);
  top: 0;
  left: -100%;
  transition: var(--main-transition);
}
.header .main-nav > li > a:hover {
  color: var(--main-color);
  background-color: #fafafa;
}
.header .main-nav > li > a:hover::before {
  left: 0;
}
.header .mega-menu {
  position: absolute;
  width: 100%;
  left: 0;
  padding: 30px;
  background-color: white;
  border-bottom: 3px solid var(--main-color);
  z-index: -1;
  display: flex;
  gap: 40px;
  top: calc(100% + 50px);
  opacity: 0;
  transition: top var(--main-transition), opacity var(--main-transition);
}
@media (max-width: 767px) {
  .header .mega-menu {
    flex-direction: column;
    gap: 0;
    padding: 5px;
  }
}
.header .mega-menu .image img {
  max-width: 100%;
}
@media (max-width: 991px) {
  .header .mega-menu .image {
    display: none;
  }
}
.header .mega-menu .links {
  min-width: 250px;
  flex: 1;
}
.header .mega-menu .links li {
  position: relative;
}
.header .mega-menu .links li:not(:last-child) {
  border-bottom: 1px solid #e9e6e6;
}
@media (max-width: 767px) {
  .header .mega-menu .links:first-of-type li:last-child {
    border-bottom: 1px solid #e9e6e6;
  }
}
.header .mega-menu .links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #fafafa;
  z-index: -1;
  transition: var(--main-transition);
}
.header .mega-menu .links li:hover::before {
  width: 100%;
}
.header .mega-menu .links li a {
  color: var(--main-color);
  padding: 15px;
  display: block;
  font-size: 18px;
  font-weight: bold;
}
.header .mega-menu .links li a i {
  margin-right: 10px;
}
/* end header */
/* st landing */
.landing{
  position: relative;
}
.landing::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: -40px;
  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;
}
.landing .text{
  flex: 1;
}
@media(max-width:991px){
  .landing .text{
     text-align: center;
  }
}
.landing .text h1{
  font-size: 40px;
  margin: 0;
  letter-spacing:-2px;
}
@media (max-width: 767px) {
  .landing .text h1 {
    font-size: 28px;
  }
}
.landing .text p{
  font-size: 23px;
  line-height: 1.7;
  margin: 5px 0 0;
  max-width: 500px;
  color: #666;
}
@media (max-width: 767px) {
  .landing .text p {
    margin: 10px auto;
  }
}
@media (max-width: 767px) {
  .landing .text p {
    font-size: 18px ;
  }
}
.landing .image img{
  position: relative;
  width: 600px;
  animation: up-and-down 5s linear infinite;
}
@media(max-width:991px){
  .landing .image{
    display: none;
  }
}
.landing .go-down{
  color: var(--main-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  transition: var(--main-transition);
}
.landing .go-down:hover{
  color: var(--color-alt);
}
.landing .go-down i{
  animation: bouncing 1.5s infinite;
}
/* end landing */
/* st articals */
.articles{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
}
.articles .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
} 
.articles .container .box{
  box-shadow: 0 2px 15px rgba(0 0 0 / 10%);
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--main-transition), box-shadow var(--main-transition);
}
.articles .container .box img{
  max-width: 100%;
  /* width: 100%;    if image not have same height and width;; */
}
.articles .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
}
.articles .container .box .text{
  padding: 20px;
}
.articles .container .box .text h3{
  margin: 0;
}
.articles .container .box .text p{
  color: #777;
  line-height: 1.5;
  margin: 10px 0 0;
}
.articles .container .box .social{
  border-top: 1px solid #e6e6e7;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.articles .container .box .social a{
  color: var(--main-color);
  font-weight: bold;
}
.articles .container .box .social i{
  color: var(--main-color);
  transition: var(--main-transition);
  margin-left: 120px;
}
.articles .container .box:hover .social i{
  animation: move-arrow .6s linear infinite;
}
/* end articals */
/* st Gallery */
.gallery{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
  background-color: var(--color-alt2);
}
.gallery .container{
  display: grid;
  grid-template-columns: repeat(auto-fill ,minmax(300px,1fr));
  gap: 40px;
}
.gallery .box{
  padding: 15px;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%), 0px 2px 4px 0px rgb(0 0 0 / 12%);
  background-color: white;
}
.gallery .box .image{
  position: relative;
  overflow: hidden;
}
.gallery .box .image::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: rgb(255 255 255 / 20%);
  transform: translate(-50%, -50%);
  width: 0px;
  height: 0px;
  opacity: 0;
  z-index: 2;
}
.gallery .box .image:hover:before{
  animation: flashing .7s;
}
.gallery .box .image img{
  max-width: 100%;
  transition: var(--main-transition);
}
.gallery .box .image:hover img{
  transform: rotate(5deg) scale(1.1);
}
/* end Gallery */
/* st features */
.features{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
}
.features .container{
  display: grid;
  grid-template-columns: repeat(auto-fill ,minmax(300px, 1fr));
  gap: 40px;
}
.features .box{
  text-align: center;
  border: 1px solid #ccc;
}
.features .box .image{
  position: relative;
  overflow: hidden;
}
.features .box .image::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
@media(max-width:767px)
{
  .features .box .image::before{
    top: -1px;
  }
}
.features .quality .image::before{
  background-color: rgb(244 64 54 / 60%);
}
.features .time .image::before{
  background-color: rgb(0 150 136 / 60%);
}
.features .passion .image::before{
  background-color: rgb(3 169 244 / 60%);
}
.features .box .image::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 170px 500px;
  border-color: transparent transparent white transparent;
  transition: var(--main-transition);
}
.features .box:hover .image::after{
  border-width: 170px 500px 170px 0;
}
.features .box .image img{
  max-width: 100%;
}
.features .box .text h2{
  position: relative;
    margin: auto;
    font-size: 40px;
    width: fit-content;
}
.features .box .text h2::after{
  content: '';
  position: absolute;
  left: 15px;
  height: 5px;
  bottom: -10px;
  width: calc(100% - 30px);
}
.features .quality .text h2::after{
  background-color: #f44036;
}
.features .time .text h2::after{
  background-color: #009688;
}
.features .passion .text h2::after{
  background-color: #03a9f4;
}
.features .box .text p{
  line-height: 2;
    font-size: 20px;
    color: #777;
    margin: 30px 0;
    padding: 25px;
}
.features .box a{
  margin: 0 auto 30px;
  padding: 10px 30px;
  text-transform: uppercase;
  border: 3px solid transparent;
  display: block;
  width: fit-content;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
  transition: var(--main-transition);
}
.features .quality a{
  color: #f44036;
  border-color: #f44036;
  background: linear-gradient(to right, #f44036 50%, white 50%);
  background-position: right bottom;
  background-size: 200% 100%;
}
.features .time a{
  color:#009688;
  border-color:#009688;
  background: linear-gradient(to right, #009688 50%, white 50%);
  background-position: right bottom;
  background-size: 200% 100%;
}
.features .passion a{
  color: #03a9f4;
  border-color:#03a9f4;
  background: linear-gradient(to right, #03a9f4 50%, white 50%);
  background-position: right bottom;
  background-size: 200% 100%;
}
.features .box:hover a{
  background-position: left bottom;
  color: white;
}
/* end features */
/* st Testimonials */
.tesimonials{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
  background-color: var(--color-alt2);
}
.tesimonials .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-row-gap: 50px;
  grid-column-gap:40px ;
}
.tesimonials .container .box{
  padding: 20px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
  background-color: white;
  border-radius: 6px;
  position: relative;
}
.tesimonials .container .box img{
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  right: -10px;
  /* top: -50px; */
  top: -20px;
  border: 10px solid var(--color-alt2);
}
.tesimonials .box h3{
  margin: 0 0 10px;
}
.tesimonials .box span{
  margin-bottom: 10px;
  color: #777;
  display: block;
}
.tesimonials .box .rate .filled{
  color: #ffc107;
}
.tesimonials .box p{
  color: #777;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 0;
}
/* end Testimonials */
/* start Team Members */
.team{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
}
.team .container{
  display: grid;
  grid-template-columns:repeat(auto-fill, minmax(300px,1fr));
  grid-gap: 30px;
}
.team .box{
  position: relative;
}

.team .box::before,
.team .box::after
{
  content: " ";
  position: absolute;
  right: 0;
  top: 0;
  background-color: #f3f3f3;
  height: 100%;
  border-radius: 10px;
  transition: var(--main-transition);
}
.team .box::before{
  z-index: -2;
  width: calc(100% - 60px);
}
.team .box::after{
  z-index: -1;
  width: 0;
  background-color: #e4e4e4;
}
.team .box:hover::after{
  width: calc(100% - 60px);
}
.team .box .data{
  display: flex;
  align-items: center;
  padding-top: 60px;
}
.team .box .data img{
  width: calc(100% - 60px);
  transition: var(--main-transition);
  border-radius: 10px;
}
.team .box:hover .data img
{
  filter: grayscale(100%);
}
.team .box .data .social{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  gap: 20px;
}
.team .box .data .social a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 30px;
}
.team .box .data .social a:hover i{
  color: var(--main-color);
}
.team .box .data .social i{
  color: #777;
  transition: var(--main-transition);
}
.team .box .info{
  padding-left: 80px;
}
.team .box .info h3{
  color: var(--main-color);
  margin-bottom: 0;
  transition: var(--main-transition);
  font-size: 22px;
}
.team .box:hover .info h3{
  color: #777;
}
.team .box .info p{
  margin-top: 10px;
  margin-bottom: 25px;
}
/* end Team Members */
/* start Services */
.services{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
  background-color: var(--color-alt2);
}
.services .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  grid-gap: 40px;
}
.services .box{
  background-color:white;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  position: relative;
  transition: var(--main-transition);
  counter-increment: services;
}
.services .box::before{
  content: '';
  position: absolute;
  top: -3px;
  height: 3px;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  background-color: var(--main-color);
  transition: var(--main-transition);
}
.services .box:hover::before{
  width: 100%;
}
.services .box:hover{
  transform: translateY(-10px);
}
.services .box > i{
  margin: 30px auto 20px;
  color: #d5d5d5;
  display: block;
  text-align: center;
}
.services .box > h3{
  font-weight: bold;
  color: var(--main-color);
  text-align: center;
  font-size: 25px;
  margin: 20px 0 40px;
}
.services .box .info{
  padding: 15px;
  text-align: right;
  background-color: #f9f9f9;
  position: relative;
}
.services .box .info::before{
  content: '0' counter(services);
  position: absolute;
  background-color: var(--main-color);
  color: white;
  font-size: 30px;
  font-weight: bold;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  top: 0;
  left: 0;
  padding-right: 15px;
}
.services .box .info::after{
  content: '';
  position: absolute;
  background-color: #d5d5d5;
  top: 0;
  left: 80px;
  height: calc(100% + .4px);
  width: 50px;
  transform: skewX(-30deg);
}
.services .box .info a{
  color: var(--main-color);
}
/* end Services */
/* start skills */
.skills{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
}
.skills .container{
  display: flex;
  align-items: center;
}
@media(max-width:991px)
{
  .skills .container img{
    display: none;
  }
}
.skills .skillss{
  flex: 1;
}
.skills .skill h3{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skills .skill h3 span{
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--main-color);
  padding: 3px 5px;
}
.skills .skill .progress{
  height: 30px;
  background-color: #EEE;
  position: relative;
}
.skills .skill .progress span{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--main-color);
}
/* end skills */
/* start Works  */
.work-steps {
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
  background-color: var(--color-alt2);
}
.work-steps .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .work-steps .container {
    flex-direction: column;
  }
}
.work-steps .image {
  max-width: 100%;
  margin-right: 100px;
}
@media (max-width: 991px) {
  .work-steps .image {
    margin: 0 0 50px;
  }
}
.work-steps .info .box {
  background-color: #f6f5f5;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  border: 2px solid white;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .work-steps .info .box {
    flex-direction: column;
    text-align: center;
  }
}
.work-steps .info .box::before {
  content: "";
  left: 50%;
  top: 50%;
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  background-color: #ededed;
  z-index: -1;
  transition: var(--main-transition);
}
.work-steps .info .box:hover::before {
  width: 100%;
  height: 100%;
}
.work-steps .info .box img {
  width: 64px;
  margin-right: 30px;
}
@media (max-width: 767px) {
  .work-steps .info .box img {
    margin: 0 0 30px;
  }
}
.work-steps .info .box h3 {
  margin: 0;
  font-size: 22px;
}
.work-steps .info .box p {
  color: #777;
  line-height: 1.7;
  margin: 10px 0 0;
  font-size: 18px;
}
/* end Works  */
/* start Latest Events */
.events{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
}
.events .container{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.events .container img{
  max-width: 450px;
}
@media(max-width:991px){
  .events .container img{
    display: none;
  }
}
.events .info{
  flex: 1;
}
.events .info .time{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
}
.events .info .time .unit{
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  width: 75px;
  transition: var(--main-transition);
  text-align: center;
}
.events .info .time .unit:hover
{
  border-color: var(--main-color);
}
.events .info .time .unit span{
  display: block;
  transition: var(--main-transition);
}
.events .info .time .unit span:first-child{
  font-weight: bold;
  color: var(--main-color);
  font-size: 35px;
  padding: 15px;
}
.events .info .time .unit span:last-child{
  border-top: 1px solid #d4d4d4;
  font-size: 13px;
  padding: 8px 10px;
}
.events .info .time .unit:hover span:last-child{
  border-color: var(--main-color);
}
.events .head{
  text-align: center;
  font-size: 30px;
  margin: 40px 0 0;
}
.events p{
  line-height: 1.7;
  color: #777;
  text-align: center;
  font-size: 19px;
}
.events .subscribe{
  width: 100%;
  margin-top: 50px;
}
.events .subscribe form{
  width: 600px;
  margin: 20px auto;
  padding: 30px 40px;
  text-align: center;
  display: flex;
  background-color: #f6f5f5;
  border-radius: 50px;
  gap: 20px;
}
@media(max-width:767px){
  .events .subscribe form{ 
    flex-direction: column;
    max-width: 100%;
    border-radius: 0;
    padding: 20px;
  }
}
.events .subscribe form input[type="email"]{
  border-radius: 50px;
  padding: 20px;
  border: none;
  flex: 1;
  caret-color: var(--main-color);
}
@media(max-width:767px){
  .events .subscribe form input[type="email"]{
    border-radius: 0;
  }
}
.events .subscribe form input[type="email"]:focus{
  outline: none;
}
.events .subscribe form input[type="email"]::placeholder{
  transition: opacity var(--main-color);
}
.events .subscribe form input[type="email"]:focus::placeholder{
  opacity: 0;
}
.events .subscribe form input[type="submit"]{
  border: none;
  border-radius: 50px;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  transition: var(--main-transition);
}
@media(max-width:767px){
  .events .subscribe form input[type="submit"]{
    border-radius: 0;
  }
}
.events .subscribe form input[type="submit"]:hover{
  background-color: var(--color-alt);
}
/* end Latest Events */
/* /start pricing */
.pricing{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
  background-color: var(--color-alt2);
}
.pricing .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.pricing .box{
  background-color: white;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  position: relative;
  text-align: center;
  transition: var(--main-transition);
  z-index: 1;
}
.pricing .box::after,
.pricing .box::before{
  content: "";
  position: absolute;
  background-color: #f6f6f6;
  width: 0;
  height: 50%;
  transition: var(--main-transition);
  z-index: -1;
}
.pricing .box::after{
  right:0;
  bottom:0;
}
.pricing .box::before{
  left: 0;
  top: 0;
}
.pricing .box:hover::after,
.pricing .box:hover::before{
  width: 100%;
}
@media(min-width:1200px)
{
  .pricing .box.high{
    top:-20px
  }
}
.pricing .box .label{
  position: absolute;
  writing-mode: vertical-rl;
  background-color: var(--main-color);
  color: white;
  font-size: 18px;
  padding: 10px 10px 35px;
  right: 20px;
  font-weight: bold;
  width: 40px;
}
.pricing .box .label::before{
  content: "";
  position: absolute;
  border-style: solid;
  border-color: transparent transparent white transparent;
  right: 0;
  bottom: 0;
  border-width: 20px;
}
.pricing .box .head{
  margin: 30px 0;
  letter-spacing: -1px;
  font-size: 25px;
  font-weight: bold;
}
.pricing .box img{
  width: 80px;
  margin-bottom: 30px;
}
.pricing .box .price{
  margin-bottom: 20px;
}
.pricing .box .price span:first-child{
  display: block;
  font-size: 60px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 5px;
}
.pricing .box .price span:last-child{
  color: #777;
}
.pricing .box ul{
  text-align: left;
}
.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 ul li{
  padding: 20px;
  border-top: 1px solid #eee;
}
.pricing .box a{
  color: var(--main-color);
  display: block;
  width: fit-content;
  padding: 20px;
  margin: 30px auto 40px;
  border: 2px solid var(--color-alt);
  border-radius: 5px;
  transition: var(--main-transition);
}
.pricing .box a:hover{
  border-color: white;
  background-color: var(--main-color);
  color: white;
}
/* /end pricing */
/* start Top Videos */
.video{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
}
.video .holder{
  display: flex;
  justify-content: center;
  background-color: var(--color-alt2);
  border: 1px solid #ddd;
}
@media(max-width:991px){
  .video .holder{ 
    flex-direction: column;
  }
}
.video .holder .list{
  min-width: 300px;
  background-color: white;
}
.video .holder .list .name{
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-weight: bold;
  background-color: #f4f4f4;
}
.video .holder .list ul li{
  padding: 20px;
  border-top: 1px solid var(--color-alt2);
  cursor: pointer;
  transition: var(--main-transition);
}
.video .holder .list ul li:hover{
    background-color:#fafafa ;
    color: var(--main-color);
  }
.video .holder .list ul li span{
  display: block;
  margin-top: 10px;
  color: #777;
}
.video .holder .preview{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  background-color: #e2e2e2;
}
.video .holder .preview img{
  max-width: 100%;
}
.video .holder .preview .text{
  padding: 20px;
  background-color: white;
  margin-top: 10px;
}
/* end Top Videos */

/* /* <!-- start stats --> */
.statis{
  padding-top:var(--padding-section) ;
  padding-bottom: var(--padding-section);
  position: relative;
  background-image: url("../images/design-features.jpg");
  background-size: cover;
  min-height: 300px;
}
.statis::before{
  content: '';
  position: absolute;
  background-color: rgb(255 255 255 / 95%);;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.statis h2{
  position: relative;
  font-size: 40px;
  margin: 0 auto 50px;
  width: fit-content;
}
.statis .container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.statis .info{
  position: relative;
  background-color: white;
  text-align: center;
  padding: 30px 15px;
  opacity: .8;
  transition: var(--main-transition);
}
.statis .info:hover{
  opacity: 1;
}
.statis .info::before,
.statis .info::after{
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background-color: var(--main-color);
  transition: 1s;
}
.statis .info::before{
  left: 0;
  top: 0;
}
.statis .info::after{
  bottom: 0;
  right: 0;
}
.statis .info:hover::before,
.statis .info:hover::after{
  height: 100%;
}
.statis .info .number{
  display: block;
  font-size: 50px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}
.statis .info .text{
  font-style: italic;
  font-size: 20px;
  font-weight: bold;
  color: var(--main-color);
}
/* <!-- end stats --> */ 
/* start discount */
.discount{
  display: flex;
  min-height: 100vh;
  flex-wrap:wrap ;
}
.discount .image{
  background-image: url(../images/discount-background1.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-basis: 50%;
  position: relative;
  z-index: 1;
  animation: change-background 10s linear infinite;
}
@media(max-width:991px){
  .discount .image{
    flex-basis: 100%;
  }
}
.discount .image::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(23 135 224 / 97%);
  z-index: -1;
}
.discount .content{
  text-align: center;
  padding: 0 20px;
}
.discount .content h2{
  font-size: 40px;
  font-weight: bold;
  letter-spacing: -2px;
}
.discount .content p{
  line-height: 1.6;
  font-size: 18px;
  max-width: 500px;
}
.discount .content img{
  max-width: 100%;
  width: 300px;
}
.discount .form{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 50%;
}
@media(max-width:991px){
  .discount .form{
    flex-basis: 100%;
  }
}
.discount .form .input{
  display: block;
  width: 100%;
  margin-bottom: 25px;
  padding: 15px;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: #f9f9f9;
  caret-color: var(--main-color);
}
.discount .form textarea.input{
  resize: none;
  height:200px;
}
.discount .form .input:focus{
  outline: none;
}
.discount .form input[type="submit"]{
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: var(--main-transition);
  cursor: pointer;
}
.discount .form input[type="submit"]:hover{
  background-color: var(--color-alt);
}
/* end discount */
/* start footer */
.footer {
  background-color: #191919;
  padding: 70px 0 0;
}
@media (max-width: 767px) {
  .footer {
    text-align: center;
    margin-top: 20px;
  }
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
.footer .box h3{
  font-weight: bold;
  color: white;
  font-size: 50px;
  margin: 0 0 20px;
}
.footer .box .social{
  display: flex;
}
@media (max-width: 767px) {
  .footer .box .social{
    justify-content: center;
  }
}
.footer .box .social li{
  margin-right: 10px;
}
.footer .box .social li a{
  background-color: #313131;
  color: #b9b9b9;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 20px;
  transition: var(--main-transition);
}
.footer .box .social .facebock:hover{
  background-color: #1877f2;
}
.footer .box .social .twitter:hover{
  background-color: #1da1f2;
}
.footer .box .social .youtube:hover{
  background-color: #ff0000;
}
.footer .box p{
  line-height: 2;
  color: #b9b9b9;
}
.footer .box .links li{
  padding: 15px 0;
  transition: var(--main-transition);
}
.footer .box .links li:not(:last-child){
  border-bottom: 1px solid #444;
}
.footer .box .links li:hover{
  padding-left: 10px;
}
.footer .box .links li a{
  color:#b9b9b9;
  transition: var(--main-transition);
}
.footer .box .links li:hover a{
  color: white;
}
.footer .box .links li a::before{
  font-family: "Font Awesome 5 Free";
  content: "\F101";
  font-weight: 900;
  margin-right: 10px;
  color: var(--main-color);
}
.footer .box .line{
  display: flex;
  margin-bottom: 30px;
  color: #b9b9b9;
  align-items: center;
}
@media (max-width: 767px) {
  .footer .box .line{
    flex-direction: column;
  }
}
.footer .box .line i{
  font-size: 25px;
  color: var(--main-color);
  margin-right: 10px;
}
@media (max-width: 767px) {
  .footer .box .line i{
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.footer .box .line .heading{
  line-height: 1.7;
    flex: 1;
}
.footer .box .line .heading span{
  display: block;
}
.footer .foot-gallary img{
  width: 78px;
  border: 2px solid white;
  margin: 2px;
}
@media (max-width: 767px) {
  .footer .foot-gallary img{
    width: 98px;
  }
}
.footer .copyRight{
  text-align: center;
  padding: 25px 0;
  margin: 50px 0 0;
  color: white;
  border-top: 1px solid #444;
}
/* end footer */
/* st animation */
@keyframes up-and-down {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -50px;
  }
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-15px);
  }
}
@keyframes left-move{
  50%{
    left: 0;
    width: 15px;
    height: 15px;
  }
  100%{
    left: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}
@keyframes right-move{
  50%{
    right: 0;
    width: 15px;
    height: 15px;
  }
  100%{
    right: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}
@keyframes move-arrow{
  100%{
    transform: translateX(10px);
  }
}
@keyframes flashing{
  0% ,40%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}
@keyframes change-background{
  0%, 100%{
    background-image: url(../images/discount-background1.jpg);
  }
  50%{
    background-image: url(../images/design-features.jpg);
  }
}

/* end animation */