/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --main-color: #2196f3;
  --main-color-alt: #1787e0;
  --main-transition: 0.3s;
  --main-padding: 100px;
  --section-background: #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;
  }
}
.main-title {
  margin: 0 auto 100px;
  position: relative;
  width: fit-content;
  border: 2px solid black;
  padding: 0 50px;
}
.main-title::before,
.main-title::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--main-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.main-title::before {
  left: -25px;
}
.main-title::after {
  right: -25px;
}
.main-title:hover::before {
  animation: left-move 0.5s linear forwards;
  z-index: -1;
}
.main-title:hover::after {
  animation: right-move 0.5s linear forwards;
  z-index: -1;
}
.main-title:hover {
  border-color: white;
  color: white;
  transition-delay: 0.5s;
  z-index: 1;
}
/* End Global Rules */
/* Start Header */
.header {
  background-color: white;
  position: relative;
  -webkit-box-shadow: 0 0 10px #ddd;
  -moz-box-shadow: 0 0 10px #ddd;
  box-shadow: 0 0 10px #ddd;
}
.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 */

/* Start Landing */
.landing {
  position: relative;
  overflow: hidden;
}
.landing::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #ececec;
  transform: skewY(-5deg);
  z-index: -1;
}
.landing .container {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 88px);
}
.landing .text {
  flex: 1;
}
@media (max-width: 991px) {
  .landing .text {
    text-align: center;
  }
}
.landing .text h1 {
  letter-spacing: -1px;
}
@media (max-width: 767px) {
  .landing .text h1 {
    font-size: 28px;
  }
}
.landing .text p {
  max-width: 500px;
  line-height: 2;
  margin: 5px 0 0 0;
  color: #666;
  font-size: 20px;
}
@media (max-width: 991px) {
  .landing .text p {
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .landing .text p {
    font-size: 15px;
  }
}
.landing .image img {
  position: relative;
  width: 500px;
  animation: up-and-down 5s linear infinite;
}
@media (max-width: 991px) {
  .landing .image {
    display: none;
  }
}
.landing .go-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .landing .go-down {
    bottom: 75px;
  }
}
.landing .go-down i {
  color: var(--main-color);
  font-size: 20px;
  transition: var(--main-transition);
  animation: bouncing 1.5s linear infinite;
}
.landing .go-down i:hover {
  color: var(--main-color-alt);
}
/* End Landing */

/* Start Article */
.articles {
  padding-bottom: var(--main-padding);
  padding-top: var(--main-padding);
}
.articles .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
.articles .box {
  border-radius: 5px;
  background-color: white;
  overflow: hidden;
  box-shadow: 0 2px 15px rgb(0 0 0 / 15%);
  transition:
    transform var(--main-transition),
    bos-shadow var(--main-transition);
}
.articles .box:hover {
  box-shadow: 0 2px 15px rgb(0 0 0 / 25%);
  transform: translateY(-10px);
}
.articles .box img {
  max-width: 100%;
}
.articles .box .content {
  padding: 20px;
}
.articles .box .content h3 {
  margin: 0;
}
.articles .box .content p {
  color: #777;
}
.articles .box .info {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e6e6e7;
}
.articles .box .info a {
  color: var(--main-color);
  font-weight: bold;
}
.articles .box .info i {
  font-size: 10px;
  color: var(--main-color);
}
.articles .box:hover .info i {
  animation: moving-arrow 0.5s linear infinite;
}
/* End Article */

/* Start Gallery */
.gallery {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: var(--section-background);
  position: relative;
}
.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.gallery .box {
  padding: 15px;
  background-color: white;
}
.gallery .image {
  position: relative;
  overflow: hidden;
}
.gallery .image::before {
  content: "";
  position: absolute;
  background-color: rgba(255 255 255 / 30%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  opacity: 0;
  z-index: 2;
}
.gallery .image:hover::before {
  animation: flashing 0.7s;
}
.gallery .box img {
  max-width: 100%;
  transition: var(--main-transition);
}
.gallery .image:hover img {
  transform: rotate(5deg) scale(1.1);
}
/* End Gallery */

/* Start Features */
.features {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: white;
  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 .img-holder {
  position: relative;
  overflow: hidden;
}
.features .box .img-holder::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: -1px;
  left: 0;
}
.features .box .img-holder::after {
  content: "";
  border-color: transparent transparent white transparent;
  border-width: 0px 0px 170px 500px;
  border-style: solid;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--main-transition);
}
.features .box:hover .img-holder::after {
  border-width: 170px 500px 150px 0px;
}
.features .box .img-holder img {
  max-width: 100%;
}
.features .box h2 {
  position: relative;
  width: fit-content;
  margin: 0 auto 20px;
}
.features .box h2::before {
  content: "";
  position: absolute;
  width: calc(100% - 14px);
  height: 5px;
  bottom: -20px;
  left: 7px;
  border-radius: 10px;
}
.features .box p {
  margin: 20px;
  padding: 15px;
  color: #777;
}
.features .box a {
  border: 3px solid red;
  padding: 5px 30px;
  margin: 0 auto 30px;
  display: block;
  width: fit-content;
  font-size: 22px;
  font-weight: bold;
  border-radius: 8px;
  transition: var(--main-transition);
}
.features .quality .img-holder::before {
  background-color: rgb(244 64 54 / 60%);
}
.features .quality h2::before {
  background-color: #f44036;
}
.features .quality a {
  color: #f44036;
  border-color: #f44036;
  transition: var(--main-transition);
  background: linear-gradient(to right, #f44036 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}
.features .box:hover a {
  color: white;
  background-position: left bottom;
}
.features .time .img-holder::before {
  background-color: rgb(0 150 136 / 60%);
}
.features .time h2::before {
  background-color: #009688;
}
.features .time a {
  color: #009688;
  border-color: #009688;
  transition: var(--main-transition);
  background: linear-gradient(to right, #009688 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}
.features .passion .img-holder::before {
  background-color: rgb(3 169 244 / 60%);
}
.features .passion h2::before {
  background-color: #03a9f4;
}
.features .passion a {
  color: #03a9f4;
  border-color: #03a9f4;
  transition: var(--main-transition);
  background: linear-gradient(to right, #03a9f4 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

/* End Features */

/* Start Testimonials  */
.testimonials {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: var(--section-background);
  position: relative;
}
.testimonials .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.testimonials .box {
  position: relative;
  padding: 15px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
}
.testimonials img {
  width: 100px;
  position: absolute;
  border-radius: 50%;
  top: -50px;
  right: -10px;
  border: 10px solid var(--section-background);
}
.testimonials .title {
  color: #777;
  font-size: 15px;
}
.testimonials .rate .filled {
  color: #ffc107;
}
.testimonials p {
  font-size: 15px;
  color: #777;
}
/* End Testimonials  */

/* Start Team */
.team {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  position: relative;
}
.team .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.team .box {
  position: relative;
  border-radius: 5px;
  padding-bottom: 20px;
}
.team .box::before,
.team .box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  border-radius: 15px;
}
.team .box::before {
  background-color: #f3f3f3;
  width: calc(100% - 60px);
  z-index: -2;
}
.team .box::after {
  transition: var(--main-transition);
  background-color: #e4e4e4;
  width: 0;
  z-index: -1;
}
.team .box:hover::after {
  width: calc(100% - 60px);
}
.team .data {
  padding-top: 60px;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .team .data {
    justify-content: space-evenly;
  }
}
.team .data img {
  max-width: calc(100% - 60px);
  transition: var(--main-transition);
  border-radius: 15px;
}
.team .box:hover img {
  filter: grayscale(100%);
}
.team .data .social {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.team .data .social a:hover i {
  color: var(--main-color);
}
.team .data .social i {
  transition: var(--main-transition);
  color: #777;
}
.team .box .info {
  padding-left: 80px;
}
.team .box .info h3 {
  color: var(--main-color);
  font-size: 22px;
  margin-top: 15px;
}
.team .box:hover .info h3 {
  color: #777;
}
.team .box .info p {
  color: #777;
}
/* End Team */

/* Start Services */
.services {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: var(--section-background);
}
.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.services .box {
  background-color: white;
  position: relative;
  transition: var(--main-transition);
  counter-increment: services;
}
.services .box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: var(--main-transition);
}
.services .box:hover::before {
  width: 100%;
}
.services .box:hover {
  transform: translateY(-10px);
}
.services .box i {
  color: #d5d5d5;
  margin: 30px auto 20px;
  display: block;
}
.services .box h3 {
  color: var(--main-color);
  margin: 20px auto;
  width: fit-content;
  font-size: 23px;
}
.services .box .info {
  content: "";
  text-align: right;
  padding: 10px;
  position: relative;
  background-color: #f9f9f9;
}
.services .box .info::before {
  content: "0" counter(services);
  position: absolute;
  width: 80px;
  height: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--main-color);
  color: white;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 15px;
}
.services .box .info::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 100%;
  left: 80px;
  top: 50%;
  transform: translateY(-50%) skewX(-30deg);
  background-color: #e4e4e4;
}
.services .box a {
  color: var(--main-color);
}
/* End Services */

/* Start Skills */
.our-skills {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: white;
}
.our-skills .container {
  display: flex;
  align-items: center;
}
@media (max-width: 991px) {
  .our-skills .container img {
    display: none;
  }
}
.our-skills .skills {
  flex: 1;
}
.our-skills .skills .skill h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.our-skills .skills .skill h3 span {
  font-size: 15px;
  padding: 0px 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--main-color);
}
.our-skills .skills .skill .the-progress {
  position: relative;
  background-color: #ccc;
  height: 30px;
}
.our-skills .skills .skill .the-progress span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  background-color: var(--main-color);
}
/* End Skills */

/* Start Work Steps */
.work-steps {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: var(--section-background);
}
.work-steps .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
@media (max-width: 991px) {
  .work-steps .container {
    flex-direction: column;
  }
}
.work-steps .container .image {
  max-width: 100%;
}
.work-steps .box {
  margin-bottom: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  background-color: #f4f4f4;
  border: 2px solid white;
  position: relative;
  z-index: 1;
}
.work-steps .box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: #ededed;
  transition: var(--main-transition);
  z-index: -1;
}
.work-steps .box:hover::before {
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .work-steps .box {
    flex-direction: column;
    text-align: center;
  }
}
.work-steps .box img {
  width: 64px;
  margin-right: 20px;
}
@media (max-width: 767px) {
  .work-steps .box img {
    margin: 0 0 20px;
  }
}
.work-steps .box p {
  margin-top: 10px;
  line-height: 1.8;
  color: #777;
}
/* End Work Steps */

/* Start Events */
.events {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}
.events .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.events .container img {
  max-width: 450px;
}
@media (max-width: 991px) {
  .events img {
    display: none;
  }
}
.events .info {
  flex: 1;
}
.events .time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}
.events .unit {
  width: 75px;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  text-align: center;
  transition: var(--main-transition);
}
.events .unit:hover,
.events .unit:hover span:last-child {
  border-color: var(--main-color);
}
.events .unit span {
  display: block;
  transition: var(--main-transition);
}
.events .unit span:first-child {
  font-size: 35px;
  font-weight: bold;
  color: var(--main-color);
  padding: 15px;
}
.events .unit span:last-child {
  border-top: 1px solid #c4c4c4;
  padding: 8px 10px;
  font-size: 13px;
}
.events .title {
  text-align: center;
  margin-top: 50px;
  font-size: 30px;
}
.events .description {
  text-align: center;
  margin: 20px 0;
  line-height: 1.7;
  color: #777;
  font-size: 20px;
}
.events .subscribe {
  width: 100%;
  margin-top: 50px;
}
.events form {
  width: 600px;
  padding: 30px;
  margin: 0 auto;
  background-color: #eee;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 767px) {
  .events form {
    max-width: 100%;
    flex-direction: column;
    gap: 20px;
    border-radius: 5px;
    padding: 20px;
  }
}
.events input[type="email"] {
  padding: 30px;
  border-radius: 50px;
  border: none;
  flex: 1;
  caret-color: var(--main-color);
}
@media (max-width: 767px) {
  .events input[type="email"] {
    border-radius: 5px;
    width: 100%;
  }
}
.events input[type="email"]:focus {
  outline: none;
}
.events input[type="email"]::placeholder {
  transition: opacity var(--main-transition);
}
.events input[type="email"]:focus::placeholder {
  opacity: 0;
}
.events input[type="submit"] {
  padding: 25px 35px;
  border-radius: 50px;
  border: none;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .events input[type="submit"] {
    border-radius: 5px;
    width: 100%;
  }
}
.events input[type="submit"]:hover {
  background-color: var(--main-color-alt);
}
/* End Events */

/* Start Pricing */
.pricing {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: var(--section-background);
}
.pricing .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.pricing .box {
  position: relative;
  box-shadow:
    0 12px 20px 0 rgba(0, 0, 0, 13%),
    0 2px 4px 0 rgba(0, 0, 0, 12%);
  background-color: white;
  text-align: center;
  z-index: 1;
  transition: var(--main-transition);
  border-radius: 6px;
}
@media (min-width: 1200px) {
  .pricing .box.popular {
    top: -20px;
  }
}
.pricing .box::before,
.pricing .box::after {
  content: "";
  position: absolute;
  width: 0;
  height: 50%;
  background-color: #f6f6f6;
  z-index: -1;
  transition: var(--main-transition);
}
.pricing .box::before {
  top: 0;
  left: 0;
}
.pricing .box::after {
  bottom: 0;
  right: 0;
}
.pricing .box:hover::before,
.pricing .box:hover::after {
  width: 100%;
}

.pricing .box.popular .label {
  writing-mode: vertical-rl;
  padding: 10px 10px 35px 10px;
  background-color: var(--main-color);
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 20px;
}
.pricing .box.popular .label::before {
  content: "";
  position: absolute;
  border-width: 26.5px;
  border-color: transparent transparent white transparent;
  border-style: solid;
  bottom: 0;
  right: 0;
}
.pricing .box .title {
  font-size: 25px;
  margin: 30px 0;
  font-weight: bold;
}
.pricing .box img {
  width: 80px;
  margin-bottom: 30px;
}
.pricing .box .price {
  margin-bottom: 20px;
}
.pricing .box .price span {
  display: block;
}
.pricing .box .amount {
  font-size: 50px;
  color: var(--main-color);
  font-weight: bold;
}
.pricing .box .time {
  color: #777;
}
.pricing .box ul {
  text-align: left;
}
.pricing .box ul li {
  padding: 20px;
  border-top: 2px 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 {
  width: fit-content;
  display: block;
  margin: 30px auto 40px;
  border: 2px solid var(--main-color);
  padding: 15px 25px;
  border-radius: 6px;
  color: var(--main-color);
  font-weight: bold;
  transition: var(--main-transition);
}
.pricing .box a:hover {
  background-color: var(--main-color-alt);
  color: white;
  border-color: var(--main-color-alt);
}
/* End Pricing */

/* Start videos */
.videos {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}
.videos .holder {
  display: flex;
  justify-content: center;
  background-color: var(--section-background);
  border: 2px solid #ddd;
}
@media (max-width: 991px) {
  .videos .holder {
    flex-direction: column;
  }
}
.videos .holder .list {
  background-color: white;
  min-width: 300px;
}
.videos .holder .name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  font-weight: bold;
}
.videos .holder ul li {
  padding: 20px;
  border-top: 1px solid var(--section-background);
  transition: var(--main-transition);
  cursor: pointer;
}
.videos .holder ul li:hover {
  background-color: #fafafa;
  color: var(--main-color);
}
.videos .holder ul li span {
  display: block;
  margin-top: 10px;
  color: #777;
}
.videos .holder .preview {
  padding: 10px;
  background-color: #e2e2e2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.videos .holder .preview img {
  max-width: 100%;
}
.videos .holder .preview .info {
  background-color: white;
  padding: 20px;
  margin-top: 10px;
}
/* End videos */

/* Start Stats */
.stats {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-image: url("../image/stats.jpg");
  background-size: cover;
  min-height: 300px;
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255 255 255 / 90%);
  width: 100%;
  height: 100%;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
.stats .box {
  padding: 30px 20px;
  background-color: white;
  position: relative;
  text-align: center;
}
.stats .box::before,
.stats .box::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 0;
  background-color: var(--main-color);
  transition: 1s;
}
.stats .box::before {
  top: 0;
  left: 0;
}
.stats .box::after {
  bottom: 0;
  right: 0;
}
.stats .box:hover::before,
.stats .box:hover::after {
  height: 100%;
}
.stats .box span {
  display: block;
}
.stats .box .number {
  font-size: 35px;
  font-weight: bold;
}
.stats .box .text {
  color: var(--main-color);
  font-style: italic;
  font-weight: bold;
  font-size: 20px;
}
/* End Stats */

/* Start Discount */
.discount {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
.discount .image {
  text-align: center;
  background-image: url("../image/discount-background1.jpg");
  background-size: cover;
  color: white;
  flex-basis: 50%;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: change-background 5s linear infinite;
}
@media (max-width: 991px) {
  .discount .image {
    flex-basis: 100%;
  }
}
.discount .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(23 135 224 / 97%);
  width: 100%;
  height: 100%;
  z-index: -1;
}
.discount .content {
  padding: 20px;
}
.discount .content h2 {
  font-size: 50px;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .discount .content h2 {
    font-size: 30px;
  }
}
.discount .content p {
  font-size: 18px;
  max-width: 500px;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 15px;
}
.discount .image img {
  width: 300px;
  max-width: 100%;
}
.discount .form {
  flex-basis: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 991px) {
  .discount .form {
    flex-basis: 100%;
  }
}
.discount .form .input {
  display: block;
  padding: 15px;
  margin-bottom: 25px;
  width: 100%;
  background-color: #f9f9f9;
  border: none;
  border-bottom: 1px solid #ccc;
  caret-color: var(--main-color);
}
@media (max-width: 767px) {
  .discount .form .input {
    background-color: #f1f1f1;
  }
}
.discount .form textarea.input {
  resize: none;
  height: 200px;
}
.discount .form .input:focus {
  outline: none;
}
.discount .form [type="submit"] {
  border: none;
  width: 100%;
  background-color: var(--main-color);
  color: white;
  padding: 15px 0;
  cursor: pointer;
  transition: var(--main-transition);
}
.discount .form [type="submit"]:hover {
  background-color: var(--main-color-alt);
}
/* End Discount */

.footer {
  background-color: #191919;
  padding: 50px 0 0;
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
.footer .box{
  margin-bottom: 30px;
}
.footer .box h3 {
  font-size: 40px;
  color: white;
  letter-spacing: 2px;
}
.footer .box .social {
  display: flex;
  align-items: center;
}
.footer .box .social li {
  margin-right: 10px;
}
.footer .box .social li a {
  background-color: #313131;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #b9b9b9;
  transition: var(--main-transition);
}
.footer .box .social .facebook:hover {
  background-color: #1877f2;
  color: white;
}
.footer .box .social .twitter:hover {
  background-color: #1da1f2;
  color: white;
}
.footer .box .social .youtube:hover {
  background-color: #ff0000;
  color: white;
}
.footer .box .social li i {
  font-size: 20px;
}

.footer .box .text {
  margin-top: 15px;
  color: #b9b9b9;
  line-height: 2;
}
.footer .box .links li {
  padding: 10px 0;
  transition: var(--main-transition);
}
.footer .box .links li:not(:last-child) {
  border-bottom: 2px solid  #444;
}
.footer .box .links li a {
  color: #b9b9b9;
  transition: var(--main-transition);
}
.footer .box .links li:hover a {
  color: white;
  padding-left: 20px;
}
.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;
  align-items: center;
  margin-bottom: 25px;
}
.footer .box .line i {
  font-size: 25px;
    color: var(--main-color);
    margin-right: 15px;
}
.footer .box .line .info {
  color: #b9b9b9
}
.footer .footer-gallery img {
  width: 78px;
  border: 3px solid white;
}
.footer .copyright {
  text-align: center;
    color: white;
    border-top: 2px solid #444;
    padding: 30px 0;
    font-size: 17px;
    font-weight: bold;
}
/* Start Animation */
@keyframes up-and-down {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -50px;
  }
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  30%,
  40%,
  60%,
  70% {
    transform: translateY(-15px);
  }
}
@keyframes left-move {
  50% {
    left: 0;
    width: 15px;
    height: 15px;
  }
  100% {
    border-radius: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
@keyframes right-move {
  50% {
    right: 0;
    width: 15px;
    height: 15px;
  }
  100% {
    border-radius: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}
@keyframes moving-arrow {
  100% {
    transform: translateX(10px);
  }
}
@keyframes flashing {
  0%,
  40% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}
@keyframes change-background {
  0%,
  100% {
    background-image: url("../image/discount-background1.jpg");
  }
  50% {
    background-image: url("../image/discount-background2.jpg");
  }
}
/* End Animation */
