/* Start Global Rules */
* {
  -o-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --main-color: #2196f3;
  --main-color-alt: #1787e0;
  --transition-dur: 0.3s;
  --section-padding: 100px;
  --section-background-color: #ececec;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo";
}

.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 {
  position: relative;
  margin: 0px auto 80px;
  border: 2px solid #000;
  padding: 10px 20px;
  width: fit-content;
  transition: var(--transition-dur);
  z-index: 1000;
  text-transform: uppercase;
}

.main-title::before,
.main-title::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  background-color: var(--main-color);
}

.main-title::before {
  left: -30px;
}

.main-title::after {
  right: -30px;
}

.main-title:hover::before {
  z-index: -1;
  animation: left-move 0.5s linear forwards;
}

.main-title:hover::after {
  z-index: -1;
  animation: right-move 0.5s linear forwards;
}

.main-title:hover {
  color: #fff;
  border-color: #fff;
  transition-delay: 0.5s;
}

.dots {
  position: absolute;
  width: 204px;
  height: 186px;
  background-image: url(../imgs/dots.png);
  background-repeat: no-repeat;
}

.dot-up {
  top: 200px;
  right: 0;
}

.dot-down {
  bottom: 200px;
  left: 0;
}

/* End Global Rules */

/* Start Header */

header {
  position: relative;
  background-color: #fff;
  box-shadow: 0 0 10px #ddd;
}

header .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

header .container .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
  color: var(--main-color);
}
@media (max-width: 767px) {
  header .container .logo {
    height: 50px;
    width: 100%;
  }
}

header .nav-bar {
  display: flex;
}
@media (max-width: 767px) {
  header .nav-bar {
    margin: auto;
  }
}

header .nav-bar > li {
  position: relative;
  list-style: none;
}

header .nav-bar > li > a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 18px;
  padding: 0 30px;
  height: 72px;
  text-decoration: none;
  color: black;
  overflow: hidden;
  transition: var(--transition-dur);
}
@media (max-width: 767px) {
  header .nav-bar li > a {
    font-size: 16px;
    padding: 10px;
    height: 40px;
  }
}

header .nav-bar > li > a:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 4px;
  top: 0;
  left: -100%;
  transition: var(--transition-dur);
  background-color: var(--main-color);
}

header .nav-bar > li > a:hover::before {
  left: 0%;
}

header .nav-bar > li > a:hover {
  color: var(--main-color);
  background-color: #fafafa;
}

header .mega-menu {
  position: absolute;
  display: flex;
  width: 100%;
  left: 0;
  padding: 30px;
  background-color: #fff;
  border-bottom: 3px solid var(--main-color);
  z-index: -1;
  gap: 40px;
  opacity: 0;
  top: calc(100% + 50%);
  border-top: #fafafa;
  transition: top var(--transition-dur), visibility var(--transition-dur),
    opacity var(--transition-dur), z-index var(--transition-dur);
}
@media (max-width: 767px) {
  header .mega-menu {
    padding: 0;
    gap: 0;
    flex-direction: column;
  }
}

header .mega-menu .image img {
  max-width: 100%;
}
@media (max-width: 991px) {
  header .mega-menu .image {
    display: none;
  }
}

header .mega-menu .links {
  list-style: none;
  min-width: 250px;
  flex: 1;
}

header .mega-menu .links li:not(.links li: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;
  font-weight: bold;
  padding: 15px;
  font-size: 18px;
}
header .mega-menu .links li:before {
  content: "";
  position: absolute;
  width: 0;
  left: 0;
  top: 0;
  height: 100%;
  z-index: -1;
  transition: var(--transition-dur);
  background-color: #fafafa;
}
header .mega-menu .links li:hover::before {
  width: 100%;
}

header .mega-menu .links li a {
  text-decoration: none;
  color: var(--main-color);
}
@media (max-width: 767px) {
  header .mega-menu .links li a {
    font-size: 20px;
  }
}

header .mega-menu .links li a i {
  margin-right: 10px;
}

/* End Header */

/* Start Landing */

.landing {
  position: relative;
}

.landing::before {
  position: absolute;
  content: "";
  top: -40px;
  width: 100%;
  height: 100%;
  background-color: #ececec;
  transform: skewY(-6deg);
  transform-origin: top left;
  z-index: -1;
}

.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 {
  margin: 0;
  letter-spacing: -2px;
  font-size: 40px;
}
@media (max-width: 767px) {
  .landing .text h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
}
.landing .text p {
  margin-top: 5px;
  font-size: 23px;
  line-height: 1.7;
  color: #666;
  max-width: 500px;
}
@media (max-width: 991px) {
  .landing .text p {
    margin: 10px auto;
    font-size: 18px;
  }
}
@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 .container .image {
    display: none;
  }
}

.landing .go-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  color: var(--main-color);
}
.landing .go-down i {
  font-size: 28px;
  animation: bouncing 1.5s infinite;
}

/* End Landing */

/* Start Articles */

.articles {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.articles .container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.articles .article {
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 10%);
  transition: var(--transition-dur);
}
.articles .article:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 20%);
  transform: translateY(-10px);
}

.articles .article:hover i {
  animation: move-arrow 0.5s linear forwards infinite;
}

.articles .article img {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  max-width: 100%;
  width: 100%;
}

.articles .article .content {
  padding: 20px;
}

.articles .article .content h3 {
  margin: 0 0 10px;
}

.articles .article .content p {
  margin: 0;
  line-height: 1.5;
  color: #777;
}

.articles .article .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6e6e7;
  padding: 20px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: bold;
}

/* End Articles */

/* Start Gallery */

.gallery {
  position: relative;
  background-color: var(--section-background-color);
  padding-top: 1px;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.gallery .main-title {
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 80px;
}

.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  flex-wrap: wrap;
  gap: 40px;
}

.gallery .box {
  position: relative;
  padding: 15px;
  background-color: #fff;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%),
    0px 2px 4px 0px rgb(0 0 0 / 12%);
}

.gallery .box::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.gallery .box .image {
  position: relative;
  overflow: hidden;
}

.gallery .image::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  opacity: 0;
  z-index: 1;
  background-color: rgba(255 255 255 / 20%);
}

.gallery .image:hover::before {
  animation: flash 0.7s;
}

.gallery .box .image img {
  max-width: 100%;
  transition: var(--transition-dur);
}

.gallery .box .image:hover img {
  transform: rotate(5deg) scale(1.1);
}

/* End Gallery */

/* Start Features */

.features {
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: #fff;
}

.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 {
  position: absolute;
  content: "";
  top: -1px;
  width: 100%;
  height: 100%;
  background-color: red;
}
.features .box .img-holder::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  border-width: 0px 0px 170px 500px;
  transition: var(--transition-dur);
}

.features .box:hover .img-holder::after {
  border-width: 170px 500px 170px 0px;
}

.features .box .img-holder img {
  max-width: 100%;
}

.features .box h2 {
  position: relative;
  font-size: 40px;
  width: fit-content;
  margin: auto;
}
.features .box h2:before {
  position: absolute;
  content: "";
  left: 15px;
  width: calc(100% - 30px);
  height: 4px;
  bottom: -15px;
  background-color: red;
}

.features .box p {
  padding: 25px;
  font-size: 20px;
  line-height: 2;
  color: #666;
  margin: 30px 0 30px;
}

.features .box a {
  text-decoration: none;
  display: block;
  padding: 10px 30px;
  color: red;
  font-size: 22px;
  font-weight: bold;
  border-radius: 6px;
  border: 3px solid;
  width: fit-content;
  margin: 0 auto 30px;
  transition: var(--transition-dur);
}

.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;
  background: linear-gradient(to right, #f44036 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

.features .time .img-holder::before {
  background-color: rgb(0 150 136 / 60%);
}

.features .time h2::before {
  background-color: #009688;
}

.features .time a {
  position: relative;
  color: #009688;
  border-color: #009688;
  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;
  background: linear-gradient(to right, #03a9f4 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

.features .box:hover a {
  color: #fff;
  background-position: left bottom;
}

/* End Features */

/* Start Testimonials */

.testimonials {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-background-color);
}

.testimonials .container {
  display: grid;
  gap: 40px;
  row-gap: 50px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.testimonials .box {
  position: relative;
  padding: 20px;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
  transition: var(--transition-dur);
}
.testimonials .box:hover {
  transform: translateY(-15px);
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

.testimonials .box img {
  position: absolute;
  width: 100px;
  height: 100px;
  right: -10px;
  top: -50px;
  border-radius: 50%;
  border: 10px solid var(--section-background-color);
}

.testimonials .box h3 {
  margin: 0;
  color: var(--main-color);
}

.testimonials .box p {
  margin-top: 10px;
  margin-bottom: 10px;
}

.testimonials .box .rate .fill {
  color: #ffc107;
}

.testimonials .box p:last-child {
  line-height: 1.5;
  color: #777;
}

/* End Testimonials */

/* Start Games */
.games {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: #fff;
}

.games .container {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.games .box {
  position: relative;
  z-index: 1;
}

.games .box::before,
.games .box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background-color: #f3f3f3;
  border-radius: 10px;
  transition: var(--transition-dur);
}

.games .box::before {
  width: calc(100% - 60px);
  z-index: -2;
}

.games .box::after {
  width: 0;
  background-color: #e4e4e4;
  z-index: -1;
}

.games .box:hover::after {
  width: calc(100% - 60px);
}

.games .box .data img {
  border-radius: 10px;
  width: calc(100% - 60px);
  transition: var(--transition-dur);
}

.games .box:hover img {
  filter: grayscale(100%);
}

.games .box .data {
  display: flex;
  align-items: center;
  padding-top: 60px;
}

.games .box .data .social {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  width: 60px;
}

.games .box .data .social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 30px;
  text-decoration: none;
}

.games .box .data .social i {
  color: #777;
  transition: var(--transition-dur);
}

.games .box .data .social i:hover {
  color: var(--main-color);
}

.games .box .info {
  padding-left: 80px;
}

.games .box .info h3 {
  margin-bottom: 0;
  color: var(--main-color);
  font-size: 22px;
  transition: var(--transition-dur);
}

.games .box:hover .info h3 {
  color: #777;
}

.games .box .info p {
  margin-top: 10px;
  margin-bottom: 25px;
}

/* End Games */

/* Start Sevrices */

.services {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-background-color);
}

.services .container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.services .box {
  position: relative;
  justify-content: center;
  background-color: #fff;
  counter-increment: services-count;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  transition: var(--transition-dur);
}

.services .box:hover {
  transform: translateY(-10px);
}

.services .box:before {
  position: absolute;
  content: "";
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: var(--transition-dur);
}

.services .box:hover::before {
  width: 100%;
}

.services .box i {
  width: 100%;
  text-align: center;
  color: #d5d5d5;
  margin: 30px 0 20px;
}

.services .box h3 {
  font-size: 25px;
  text-align: center;
  color: var(--main-color);
  margin: 0 0 40px;
}

.services .box .info {
  position: relative;
  display: flex;
  padding: 15px;
  margin-left: auto;
  background-color: #f9f9f9;
}

.services .box .info::before,
.services .box .info::after {
  position: absolute;
  content: "";
  bottom: 0;
}

.services .box .info::before {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  content: "0" counter(services-count);
  color: #fff;
  left: 0;
  width: 80px;
  height: 100%;
  padding-right: 15px;
  background-color: var(--main-color);
}

.services .box .info::after {
  left: 80px;
  width: 50px;
  height: 100%;
  transform: skewX(-30deg);
  background-color: #dfdfdf;
}

.services .box .info a {
  color: var(--main-color);
  text-decoration: none;
  margin-left: auto;
}

/* End Sevrices */

/* Start Skills */

.our-skills {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.our-skills .container {
  display: flex;
  align-items: center;
}

.our-skills .skills {
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 991px) {
  .our-skills .container img {
    display: none;
  }
}

.our-skills .skills .skill h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.our-skills .skills .skill h3 > span {
  padding: 3px 5px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: var(--main-color);
}

.our-skills .skills .skill .progress {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #eee;
}

.our-skills .skills .skill .progress span {
  position: absolute;
  height: 100%;
  background-color: var(--main-color);
}

/* End Skills */

/* Start Work Steps */

.work-steps {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-background-color);
}

.work-steps .container {
  display: flex;
  align-items: center;
  gap: 100px;
}
@media (max-width: 991px) {
  .work-steps .container {
    flex-direction: column;
  }
}

.work-steps .image {
  max-width: 100%;
}

.work-steps .info {
  flex: 1;
}

.work-steps .info .box {
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px;
  border: 2px solid #fff;
  background-color: #f6f5f5;
  margin: 0 0 20px;
  gap: 30px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}
@media (max-width: 767px) {
  .work-steps .info .box {
    flex-direction: column;
    text-align: center;
  }
}

.work-steps .info .box:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--section-background-color);
  z-index: -1;
  transition: var(--transition-dur);
}

.work-steps .info .box:hover::before {
  width: 100%;
  height: 100%;
}

.work-steps .info .box img {
  width: 64px;
}

.work-steps .info .box h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.work-steps .info .box p {
  font-size: 18px;
  line-height: 1.7;
  color: #777;
  margin: 0;
}

/* End Work Steps */

/* Start Events */

.events {
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
@media (max-width: 767px) {
  .events .dots {
    display: none;
  }
}

.events .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.events .container img {
  max-width: 450px;
}
@media (max-width: 991px) {
  .events .container img {
    display: none;
  }
}

.events .info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
}

.events .info .time {
  display: flex;
  gap: 12px;
  background-color: #fff;
  z-index: 1;
}

.events .info .unit {
  width: 75px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #dfdfdf;
  background-color: #fff;
  transition: var(--transition-dur);
}

.events .info .unit:hover,
.events .info .unit:hover span:last-child {
  border-color: var(--main-color);
}

.events .info .unit span {
  display: block;
  transition: var(--transition-dur);
}

.info .unit span:first-child {
  padding: 15px;
  font-size: 32px;
  color: var(--main-color);
  font-weight: bold;
}

.info .unit span:last-child {
  font-size: 13px;
  text-align: center;
  padding: 8px 10px;
  border-top: 1px solid #dfdfdf;
}

.events .container .title {
  font-size: 30px;
  margin: 40px 0 0;
}

.events .container .description {
  font-size: 19px;
  text-align: center;
  line-height: 2;
  color: #777;
  margin: 20px 0 0;
  background-color: #fff;
}

.events .subscribe {
  margin: 50px 0 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.events .subscribe form {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  padding: 30px 40px;
  background-color: #f6f5f5;
  width: 600px;
  border-radius: 50px;
}

.events .subscribe input {
  border: none;
  outline: none;
  transition: var(--transition-dur);
}

@media (max-width: 767px) {
  .events .subscribe form {
    flex-direction: column;
    border-radius: 0;
    padding: 20px;
  }
}

.events .subscribe form input[type="email"] {
  width: 100%;
  padding: 20px;
  border-radius: 50px;
  caret-color: var(--main-color);
}

.events .subscribe form input[type="submit"] {
  color: #fff;
  padding: 20px;
  border-radius: 50px;
  cursor: pointer;
  background-color: var(--main-color);
}

.events .subscribe form input[type="email"]::placeholder {
  transition: var(--transition-dur);
}

.events .subscribe form input[type="email"]:focus::placeholder {
  opacity: 0;
}

.events .subscribe form input[type="submit"]:hover {
  background-color: var(--main-color-alt);
}

@media (max-width: 767px) {
  .events .subscribe form input[type="email"],
  .events .subscribe form input[type="submit"] {
    border-radius: 0;
  }
}

/* End Events */

/* Start Pricing */

.pricing {
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-background-color);
}

.pricing .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

.pricing .box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  z-index: 1;
  overflow: hidden;
}

.pricing .box:before,
.pricing .box:after {
  position: absolute;
  content: "";
  width: 0;
  height: 50%;
  z-index: -1;
  background-color: #fafafa;
  transition: var(--transition-dur);
}

.pricing .box:before {
  top: 0;
  right: 0;
}

.pricing .box:after {
  bottom: 0;
  left: 0;
}

.pricing .box:hover::before,
.pricing .box:hover::after {
  width: 100%;
}

.pricing .box.popular:hover .label::before {
  border-color: transparent #fafafa transparent transparent;
}

.pricing .box .title {
  text-align: center;
  font-size: 25px;
  margin: 30px 0;
}

.pricing .box img {
  width: 80px;
  max-width: 100%;
  margin: 0 auto 30px auto;
}

.pricing .price {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  margin: 0 0 20px;
}

.pricing .amount {
  display: block;
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  color: var(--main-color);
}

.pricing .box .time {
  color: #777;
  text-align: center;
  margin: 0 auto;
}

.pricing .box ul {
  width: 100%;
  list-style: none;
  margin: 0 0 30px;
}

.pricing .box ul li {
  padding: 20px;
  width: 100%;
  border-top: 1px solid #eee;
  transition: var(--transition-dur);
}

.pricing .box ul li:last-child {
  border-bottom: 1px solid #eee;
}

.pricing .box ul li i {
  color: var(--main-color);
  margin-right: 10px;
}

.pricing .box a {
  font-weight: bold;
  text-decoration: none;
  padding: 15px 20px;
  margin: 0 0 40px;
  border-radius: 6px;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  transition: var(--transition-dur);
}

.pricing .box a:hover {
  color: #fff;
  background-color: var(--main-color-alt);
  border-color: var(--main-color-alt);
}

.pricing .box.popular {
  position: relative;
}
@media (min-width: 1200px) {
  .pricing .box.popular {
    transform: translateY(-20px);
  }
}

.pricing .box.popular .label {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 10px 35px 10px;
  height: 40px;
  width: 150px;
  top: 53px;
  right: -140px;
  color: #fff;
  transform: rotate(90deg);
  background-color: var(--main-color);
}

.pricing .box.popular .label::before {
  position: absolute;
  content: "";
  border-style: solid;
  border-width: 22px;
  border-color: transparent white transparent transparent;
  right: -1px;
  top: 0;
}

/* End Pricing */

/* Start Videos */

.videos {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.videos .holder {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--section-background-color);
  margin: 0;
  grid-area: span;
}

@media (max-width: 991px) {
  .videos .holder {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(300px 1fr);
  }
}

.videos ul .name {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  padding: 20px;
  background-color: #f4f4f4;
}

.videos ul li {
  display: flex;
  flex-direction: column;
  padding: 20px;
  list-style: none;
  cursor: pointer;
  border-top: 1px solid var(--section-background-color);
  transition: var(--transition-dur);
}

.videos ul li:hover {
  color: var(--main-color);
  background-color: #fafafa;
}

.videos ul li span {
  display: block;
  margin: 10px 0 0;
  color: #777;
}

.videos .holder .preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #e2e2e2;
}
@media (max-width: 991px) {
  .videos .holder ul {
    grid-row: 2;
  }

  .videos .holder .preview {
    grid-row: 1;
  }
}

.videos .holder .preview .info {
  margin: 10px 0 0;
  padding: 20px;
  width: 100%;
  background-color: #fff;
}

.videos .image {
  position: relative;
}

.videos .image i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #fff;
}

.videos .image img {
  max-width: 100%;
}

/* End Videos */

/* Start Stats */

.stats {
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-size: cover;
  background-image: url(/imgs/stats.jpg);
}
.stats:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.95;
  background-color: #fff;
}

.stats h2 {
  position: relative;
  font-size: 40px;
  margin: 0 0 50px;
  text-align: center;
}

.stats .container {
  position: relative;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.stats .container .box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px 15px;
  opacity: 0.8;
  background-color: #fff;
  transition: var(--transition-dur);
}
.stats .container .box:hover {
  opacity: 1;
}
.stats .container .box:hover::before,
.stats .container .box:hover::after {
  height: 100%;
}

.stats .container .box:before,
.stats .container .box:after {
  position: absolute;
  content: "";
  width: 3px;
  height: 0;
  transition: 1s;
  background-color: var(--main-color);
}

.stats .container .box:before {
  left: 0;
  bottom: 0;
}

.stats .container .box:after {
  right: 0;
  top: 0;
}

.stats .box i {
  opacity: 1;
}

.stats .box .number {
  font-size: 50px;
  font-weight: bold;
  margin: 10px 0 2px;
  opacity: 1;
}

.stats .box .text {
  font-style: italic;
  font-size: 20px;
  font-weight: bold;
  color: var(--main-color);
}

/* End Stats */

/* Start Discount */

.discount {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 991px) {
  .discount {
    flex-direction: column;
  }
}

.discount .image {
  position: relative;
  display: flex;
  flex-basis: 50%;
  background-size: cover;
  background-image: url(/imgs/discount-background1.jpg);
}

.discount .image:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.98;
  background-color: var(--main-color-alt);
}

.image .content {
  position: relative;
  text-align: center;
  color: #fff;
  margin: auto;
  padding: 0 20px;
}

.image .content h2,
.form .content h2 {
  margin: 33px 0;
  font-size: 40px;
  letter-spacing: -2px;
}

.image .content p {
  max-width: 500px;
  text-align: center;
  line-height: 1.6;
  font-size: 18px;
}

.image .content img {
  max-width: 300px;
}

.discount .form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 50%;
  padding-bottom: 50px;
}
/* @media (max-width: 991px) {
  .discount .image,
  .discount .form {
    flex-basis: none;
  }
} */
.discount .form .content {
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: 0 20px;
}

.form .content form {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.form .content form input,
.form .content form textarea {
  padding: 15px;
  height: 50px;
  width: 100%;
  outline: none;
  border: none;
  background-color: #f9f9f9;
  border-bottom: 2px solid #ccc;
  caret-color: var(--main-color);
}
.content form textarea {
  resize: none;
  min-height: 200px;
}

.content form input[type="submit"] {
  font-size: 20px;
  font-weight: bold;
  border: none;
  color: #fff;
  transition: var(--transition-dur);
  background-color: var(--main-color);
}
.content form input[value="Send"]:hover {
  background-color: var(--main-color-alt);
}

/* Start Footer */
.footer {
  padding-top: 70px;
  background-color: #191919;
}

.footer .container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.footer .box {
  color: #b9b9b9;
}
@media (max-width: 767px) {
  .footer .box {
    text-align: center;
  }
}

.footer .box:first-child h3 {
  color: #fff;
  font-size: 50px;
  margin: 0 0 20px;
}

.footer .box .social {
  display: flex;
  gap: 10px;
  height: 50px;
  width: 100%;
}
@media (max-width: 767px) {
  .footer .box .social {
    justify-content: center;
  }
}

.footer .box:first-child a {
  display: flex;
  justify-content: center;
  font-size: 20px;
  align-items: center;
  text-decoration: none;
  width: 50px;
  height: 50px;
  background-color: #313131;
  transition: var(--transition-dur);
  color: #fff;
  border-radius: 10px;
}

.footer .box .social a:first-child:hover {
  color: #fff;
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}

.footer .box .social a:nth-child(2):hover {
  color: #fff;
  background-color: #1da1f2;
}

.footer .box .social a:last-child:hover {
  background-color: #ff0000;
}

.footer .box .social + p {
  line-height: 2;
}

.footer .box:nth-child(2) ul li {
  padding: 15px 0 15px 10px;
  border-bottom: 1px solid #444;
}

.footer .box:nth-child(2) ul li:last-child {
  border-bottom: none;
}

.footer .box:nth-child(2) ul li a {
  color: #b9b9b9;
  text-decoration: none;
  transition: var(--transition-dur);
}

.footer .box:nth-child(2) ul li:hover a {
  padding-left: 10px;
  color: #fff;
}

.footer .box:nth-child(2) ul li a i {
  color: var(--main-color);
  margin-right: 15px;
  margin-left: -10px;
}

.footer .box:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer .box .line {
  padding-left: 6px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer .box .line i {
  font-size: 25px;
  color: var(--main-color);
}

.footer .box .line .info {
  line-height: 1.7;
}

.footer .box .line span {
  display: block;
  padding: 5px;
}

.footer .footer-gallery img {
  width: 78px;
  border: 3px solid white;
  margin: 2px;
}

.footer .copyright {
  font-size: 20px;
  width: 100%;
  padding: 25px 0;
  margin: 50px 0 0;
  color: #fff;
  text-align: center;
  border-top: 1px solid #444;
}

.footer .copyright a {
  text-decoration: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  color: var(--main-color-alt);
}

/* End Footer */

/* End Discount */

/* Start Animation */

@keyframes up-and-down {
  0%,
  100% {
    top: 0px;
  }

  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: 12px;
    height: 12px;
  }
  100% {
    left: -1px;
    border-radius: 0;
    width: 52%;
    height: 101%;
  }
}

@keyframes right-move {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    right: -1px;
    border-radius: 0;
    width: 52%;
    height: 101%;
  }
}

@keyframes move-arrow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(10px);
  }
}

@keyframes flash {
  0%,
  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}

/* End Animation */
