/* start global rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Cairo", sans-serif;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
:root {
  --main-color: #003049;
  --main-color2: #0c9fcc;
  --hover-color: #284b63;
  --secondary-color: #e0afa0;
  --section-color: #ececec;
  --p-color: #777;
  --main-transition: 0.4s;
  --section-padding: 100px;
}
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
/* small screens */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* meduim screens */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* large screens */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* start compunents */
/* start main title  */
.main-title {
  border: 2px solid;
  margin: 0 auto 80px;
  padding: 10px 20px;
  width: fit-content;
  font-size: 30px;
  position: relative;
  z-index: 1;
  transition: var(--main-transition);
}
.main-title::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.main-title::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.main-title:hover::before {
  z-index: -1;
  animation: left 0.5s linear forwards;
}
.main-title:hover::after {
  z-index: -1;
  animation: right 0.5s linear forwards;
}
.main-title:hover {
  color: rgb(255, 255, 255);
  border: 2px solid rgb(255, 255, 255);
  transition-delay: 0.5s;
}
/* end main title */
.spikes {
  position: relative;
}
.spikes::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30px;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 25%, transparent 25%),
    linear-gradient(225deg, rgb(255, 255, 255) 25%, transparent 25%);
  background-size: 45px 45px;
}
/* end components */
/* end global  rules */
/* start header */
header {
  background-color: #fff;
  -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;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
@media (max-width: 767px) {
  header .container {
    flex-direction: column;
  }
}
header .logo {
  display: flex;
  color: var(--main-color2);
  font-size: 27px;
  font-weight: bold;
  height: 73px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  header .logo {
    margin: auto;
  }
}
header .main-nav {
  display: flex;
}
@media (max-width: 767px) {
  header .main-nav {
    margin: auto;
  }
}
header .main-nav > li {
  transition: var(--main-transition);
}
header .main-nav > li > a {
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  padding: 0 30px;
  font-size: 18px;
  overflow: hidden;
  position: relative;
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  header .main-nav > li > a {
    padding: 10px;
    height: 40px;
    font-size: 16px;
  }
}
header .main-nav > li > a::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 100%;
  background-color: var(--main-color2);
  top: 0;
  left: -100%;
  transition: var(--main-transition);
}
header .main-nav > li > a:hover::before {
  left: 0;
}
header .main-nav > li > a:hover {
  color: var(--main-color2);
  background-color: rgba(204, 204, 204, 0.171);
}

/* end header */
/* start landing */
.landing {
  position: relative;
}
.landing::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: -40px;
  background-color: #ececec;
  z-index: -1;

  transform: skewY(-6deg);
  transform-origin: top left;
}
.landing .container {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 73px);
  padding-bottom: 120px;
}
.landing .text {
  flex: 1;
}
@media (max-width: 991px) {
  .landing .text {
    text-align: center;
  }
}
.landing .text h1 {
  font-size: 40px;
  letter-spacing: -1px;
}
@media (max-width: 767px) {
  .landing .text h1 {
    font-size: 30px;
  }
}
.landing .text p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 500px;
}
@media (max-width: 991px) {
  .landing .text p {
    margin: auto;
  }
}
@media (max-width: 767px) {
  .landing .text p {
    font-size: 15px;
  }
}
.landing .image img {
  width: 420px;
  position: relative;
  animation: up-and-down 5s linear infinite;
}
@media (max-width: 991px) {
  .landing .image {
    display: none;
  }
}
.landing a i {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  color: var(--main-color2);
  transition: var(--main-transition);
  animation: lance 1.5s infinite;
}
.landing a i:hover {
  color: var(--hover-color);
}
/* start articles */
.articles {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.articles .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
.articles .box {
  border-radius: 7px;
  box-shadow: 0 2px 15px rgb(0 0 0 / 30%);
  transition: var(--main-transition);
}
.articles .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 2px 15px rgb(0 0 0 / 50%);
}
.articles .box .content {
  padding: 15px;
}
.articles .box img {
  max-width: 100%;
  border-radius: 7px 7px 0 0;
}
.articles .box .content h3 {
  margin: 0;
}
.articles .box .content p {
  line-height: 1.6;
  color: var(--p-color);
}
.articles .box .info {
  padding: 15px;
  border-top: 1px solid #e7e7e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.articles .box .info a {
  display: block;
  color: var(--hover-color);
  font-weight: bold;
}
.articles .box .info i {
  color: var(--main-color2);
  font-weight: bold;
  font-size: 20px;
}
.articles .box:hover i {
  animation: arrow-move 0.6s linear infinite;
}
/* end articles */
/* start gallery */
.gallery {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
}
.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-items: center;
  gap: 30px;
}
.gallery .box {
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.432);
}
.gallery .box .image {
  position: relative;
  overflow: hidden;
}
.gallery .box .image::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.295);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.gallery .box .image:hover::before {
  animation: flash 0.9s;
}
.gallery .box img {
  width: 300px;
  height: 200px;
  max-width: 100%;
  transition: var(--main-transition);
}
.gallery .box .image:hover img {
  transform: rotate(5deg) scale(1.2);
}
/* end gallery */
/* start features */
.features {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.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-holder {
  position: relative;
  overflow: hidden;
}
.features .box .image-holder::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 100%;
}
.features .quality .image-holder::before {
  background-color: rgba(205, 92, 92, 0.39);
}
.features .time .image-holder::before {
  background-color: rgba(19, 146, 108, 0.541);
}
.features .passion .image-holder::before {
  background-color: rgba(19, 70, 146, 0.541);
}
.features .box .image-holder::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0px 0px 164px 451px;
  border-color: transparent transparent white transparent;
  transition: calc(var(--main-transition) - 0.1s);
}
.features .box:hover .image-holder::after {
  border-width: 0px 451px 164px 0px;
  border-color: transparent transparent white transparent;
  left: 0;
}
.features .box .image-holder img {
  max-width: 100%;
}
.features .box h3 {
  width: fit-content;
  font-size: 40px;
  margin: auto;
  position: relative;
}
.features .box h3::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 15px;
  height: 4px;
  width: calc(100% - 30px);
}
.features .quality h3::after {
  background-color: rgb(205, 92, 92);
}
.features .time h3::after {
  background-color: rgb(19, 146, 108);
}
.features .passion h3::after {
  background-color: rgb(19, 70, 146);
}
.features .box p {
  margin: 50px;
  line-height: 2;
  color: var(--p-color);
}
.features .box a {
  display: block;
  position: relative;
  padding: 10px 30px;
  width: fit-content;
  margin: 0 auto 30px;
  border-radius: 7px;
  font-size: 20px;
  font-weight: bold;
  transition: var(--main-transition);
}
.features .quality a {
  border: 2px solid indianred;
  color: indianred;
  background: linear-gradient(to right, rgb(205, 92, 92) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}
.features .time a {
  border: 2px solid rgb(19, 146, 108);
  color: rgb(19, 146, 108);
  background: linear-gradient(to right, rgb(19, 146, 108) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}
.features .passion a {
  border: 2px solid rgb(19, 70, 146);
  color: rgb(19, 70, 146);
  background: linear-gradient(to right, rgb(19, 70, 146) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}
.features .box:hover a {
  background-position: left bottom;
  color: #fff;
}
/* end features */
/* start testemonials */
.testemonials {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
}
.testemonials .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.testemonials .box {
  background-color: white;
  border-radius: 7px;
  box-shadow: 0 2px 4px #00000040;
  position: relative;
  padding: 20px;
}
.testemonials .box img {
  width: 100px;
  border-radius: 50%;
  position: absolute;
  right: -10px;
  top: -50px;
  border: 10px solid var(--section-color);
}
.testemonials .box h3 {
  margin: 0;
}
.testemonials .box .title {
  margin: 10px 0;
  display: block;
}
.testemonials .box .stars i {
  font-size: 20px;
}
.testemonials .box .bi-star-fill {
  color: #ffe009;
}
.testemonials .box p {
  margin: 10px 0;
  line-height: 1.5;
  color: var(--p-color);
}
/* end testemonials */
/* start team */
.team {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.team .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.team .box {
  position: relative;
}
.team .box::before,
.team .box::after {
  content: "";
  height: 100%;
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  border-radius: 10px;
  transition: var(--main-transition);
}
.team .box::before {
  width: calc(100% - 60px);
  background-color: #f2f2f2;
}
@media (max-width: 767px) {
  .team .box::before {
    width: 100%;
  }
}
.team .box::after {
  width: 0;
  background-color: #47454521;
}
.team .box:hover::after {
  width: calc(100% - 60px);
}
@media (max-width: 767px) {
  .team .box:hover::after {
    width: 100%;
  }
}
.team .box:hover .data img {
  filter: grayscale(100%);
}
.team .box:hover h3 {
  color: var(--p-color);
}
.team .data {
  display: flex;
  padding-top: 60px;
}
@media (max-width: 767px) {
  .team .data {
    padding-left: 20px;
    padding-top: 40px;
  }
}
.team .data img {
  width: calc(100% - 60px);
  border-radius: 10px;
  transition: var(--main-transition);
}
.team .data .social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
}
.team .data .social a {
  padding: 16px;
  color: var(--p-color);
}
.team .data .social a i {
  font-size: 20px;
  transition: var(--main-transition);
}
.team .data .social a:hover i {
  color: var(--main-color2);
}
.team .info {
  padding-left: 80px;
}
@media (max-width: 767px) {
  .team .info {
    padding-left: 0;
    text-align: center;
  }
}
.team .info h3 {
  margin: 15px 0;
  font-weight: bold;
  font-size: 20px;
  color: var(--main-color2);
}
.team .info p {
  font-size: 15px;
  margin: 15px 0;
}
/* end team */
/* start services */
.services {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
}
.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.services .box {
  background-color: white;
  position: relative;
  counter-increment: services;
  transition: var(--main-transition);
}
.services .box::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 0;
  background-color: var(--main-color2);
  transition: var(--main-transition);
}
.services .box:hover::before {
  width: 100%;
}
.services .box:hover {
  transform: translateY(-10px);
}
.services .box i {
  font-size: 70px;
  margin: 36px auto 18px;
  text-align: center;
  display: block;
  color: #777;
}
.services .box h3 {
  text-align: center;
  color: var(--main-color2);
  font-weight: bold;
  font-size: 25px;
}
.services .box .link {
  padding: 15px;
  text-align: right;
  background-color: #f2f2f2;
  position: relative;
}
.services .box .link::before {
  content: "0" counter(services);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 80px;
  padding-right: 15px;
  background-color: var(--main-color2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
}
.services .box .link::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 50px;
  background-color: #d2d2d2;
  top: 0;
  left: 73px;
  transform: skewX(-30deg);
}
.services .box .link a {
  display: block;
  color: var(--hover-color);
}
/* end services */
/* start our-skills */
.our-skills {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.our-skills .container {
  display: flex;
  align-items: center;
  gap: 110px;
}
.our-skills img {
  width: 450px;
}
@media (max-width: 992px) {
  .our-skills img {
    display: none;
  }
}
.our-skills .skills {
  flex: 1;
}
.our-skills .skill h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: 45px;
  opacity: 0;
  transition: calc(var(--main-transition) + 1s);
}
.our-skills .skill h3 span {
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 5px;
  font-size: 12px;
  color: var(--main-color2);
}
.our-skills .skill .progress {
  height: 30px;
  background-color: #ccc;
  position: relative;
}
.our-skills .skill .progress span {
  position: absolute;
  background-color: var(--main-color2);
  top: 0;
  left: 0;
  height: 100%;
  transition: calc(var(--main-transition) + 1s);
}

/* end our-skills */
/* start how it works */
.how-works {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
  position: relative;
}
.how-works .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .how-works .container {
    flex-direction: column;
  }
}
.how-works .image {
  width: 363px;
  margin-right: 100px;
}
@media (max-width: 991px) {
  .how-works .image {
    margin: 0 0 40px;
    width: 400px;
  }
}
.how-works .info .box {
  display: flex;
  align-items: center;
  background-color: #fbfafa;
  padding: 30px;
  border: 1px solid white;
  margin-bottom: 10px;
  border-radius: 7px;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .how-works .info .box {
    flex-direction: column;
  }
}
.how-works .info .box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #d5d5d560;
  width: 0;
  height: 0;
  border-radius: 7px;
  z-index: -1;
  transition: calc(var(--main-transition) + 0.5s);
}
.how-works .info .box:hover::before {
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .how-works .info .box .text {
    text-align: center;
  }
}
.how-works .info .box img {
  margin-right: 40px;
}
@media (max-width: 767px) {
  .how-works .info .box img {
    margin: 0 0 20px;
  }
}
.how-works .info .box h3 {
  margin: 0;
  font-size: 22px;
}
.how-works .info .box p {
  margin: 10px 0 0;
  line-height: 1.6;
  color: var(--p-color);
}
/* end how it works */
/* start events */
.events {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}
.events .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.events img {
  max-width: 315px;
}
@media (max-width: 991px) {
  .events img {
    display: none;
  }
}
.events .info {
  flex: 1;
}
.events .info .time {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
@media (max-width: 767px) {
  .events .info .time {
    max-width: 100%;
  }
}
.events .time .unit {
  border: 1px solid #d5d5d5;
  border-radius: 7px;
  width: 76px;
  transition: var(--main-transition);
}
.events .time .unit:hover {
  border: 1px solid var(--main-color2);
}
.events .time span {
  display: block;
  text-align: center;
}
.events .time span:first-child {
  font-size: 40px;
  color: var(--main-color2);
  padding: 13px 10px;
}
.events .time span:last-child {
  padding: 10px 8px;
  border-top: 1px solid #d5d5d5;
  transition: var(--main-transition);
}
.events .time .unit:hover span:last-child {
  border-top: 1px solid var(--main-color2);
}
.events .info .description {
  margin: 30px 0;
}
.events .info .description .title {
  text-align: center;
  font-size: 30px;
  margin: 50px 0 0;
}
.events .info .description .paragraph {
  text-align: center;
  font-size: 19px;
  color: var(--p-color);
  line-height: 1.6;
}
.events .subscribe {
  width: 100%;
  margin-top: 100px;
}
.events .subscribe form {
  width: 600px;
  background: linear-gradient(45deg, #74ebd5, #acb6e5);
  padding: 30px;
  margin: auto;
  border-radius: 50px;
  display: flex;
  gap: 20px;
  box-shadow: 0 2px 15px #00000042;
}
@media (max-width: 767px) {
  .events .subscribe form {
    max-width: 100%;
    flex-direction: column;
    border-radius: 5px;
    padding: 20px;
    gap: 30px;
  }
}
.events .subscribe form input[type="email"] {
  flex: 1;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  caret-color: var(--main-color2);
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .events .subscribe form input[type="email"] {
    border-radius: 5px;
  }
}
.events .subscribe form input[type="email"]:focus {
  outline: none;
}
.events .subscribe form input[type="email"]::placeholder {
  transition: var(--main-transition);
}
.events .subscribe form input[type="email"]:focus::placeholder {
  opacity: 0;
}
.events .subscribe form input[type="submit"] {
  border: none;
  padding: 20px 25px;
  border-radius: 50px;
  background-color: var(--main-color);
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .events .subscribe form input[type="submit"] {
    border-radius: 5px;
  }
}
.events .subscribe form input[type="submit"]:hover {
  background-color: var(--hover-color);
}
/* end events */
/* start pricing */
.pricing {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
  position: relative;
}
.pricing .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.pricing .box {
  text-align: center;
  background-color: white;
  box-shadow: 0 2px 15px #0000004a;
  border-radius: 5px;
  position: relative;
  transition: var(--main-transition);
  z-index: 1;
}
.pricing .box::before,
.pricing .box::after {
  content: "";
  position: absolute;
  height: 50%;
  width: 0;
  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.box:hover::before,
.pricing .box.box:hover::after {
  width: 100%;
}
.pricing .box .title {
  margin: 40px 0;
  font-size: 25px;
}
@media (min-width: 1200px) {
  .pricing .box.popular {
    top: -15px;
  }
}
.pricing .box.popular .most-popular {
  position: absolute;
  top: 0;
  right: 20px;
  writing-mode: tb-rl;
  background-color: var(--main-color2);
  padding: 20px 10px 35px;
  color: white;
  font-size: 18px;
  font-weight: bold;
}
.pricing .box.popular .most-popular::before {
  content: "";
  position: absolute;
  border-width: 20px;
  border-color: transparent transparent white;
  bottom: 0;
  border-style: solid;
  right: 0;
  transition: var(--main-transition);
}
.pricing .box:hover .most-popular::before {
  border-color: transparent transparent #f6f6f6;
}
.pricing .box img {
  width: 100px;
}
.pricing .box .amout {
  margin: 40px 0;
}
.pricing .box .price {
  display: block;
  font-size: 60px;
  font-weight: bold;
  color: var(--main-color);
}
.pricing .box .time {
  display: block;
  color: var(--p-color);
}
.pricing .box ul {
  margin: 10px 0;
}
.pricing .box ul li {
  padding: 20px;
  border-top: 1px solid #d5d5d5;
  text-align: left;
}
.pricing .box .choose {
  margin: 40px auto 50px;
  display: block;
  width: fit-content;
  padding: 15px 20px;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  border-radius: 5px;
  font-weight: bold;
  transition: var(--main-transition);
}
.pricing .box .choose:hover {
  background-color: var(--hover-color);
  border: 2px solid var(--hover-color);
  color: #fff;
}
/* end pricing */
/* start videos */
.videos {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.videos .holder {
  display: flex;
  justify-content: center;
  background-color: var(--section-color);
  border: 1px solid #d5d5d5;
}
@media (max-width: 991px) {
  .videos .holder {
    flex-direction: column;
  }
}
.videos .links {
  min-width: 300px;
  background-color: white;
}
.videos .links .heading {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  background-color: #f4f4f4;
  color: var(--main-color);
  font-size: 17px;
  font-weight: bold;
}
.videos .links .heading i {
  cursor: pointer;
  transition: var(--main-transition);
}
.videos .links .heading i:hover {
  color: var(--main-color2);
}
.videos .links ul li {
  padding: 20px;
  border-top: 1px solid #d5d5d5;
  cursor: pointer;
  transition: var(--main-transition);
}
.videos .links ul li:hover {
  color: var(--main-color2);
  background-color: #d5d5d536;
}
.videos .links ul li:hover span {
  color: var(--main-color2);
}
.videos .links ul li span {
  display: block;
  margin-top: 10px;
  color: var(--p-color);
}
.videos .preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.videos .preview img {
  width: 900px;
  max-width: 100%;
  padding: 10px;
}
.videos .preview .info {
  padding: 20px;
  background-color: white;
  margin: 10px;
}
/* end videos */
/* start stats */
.stats {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background: url(img/stats.jpg);
  background-size: cover;
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(63, 61, 61, 0.72);
}
.stats .title {
  text-align: center;
  position: relative;
  font-size: 40px;
  width: fit-content;
  margin: 0 auto 50px;
  color: white;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
.stats .box {
  position: relative;
  text-align: center;
  background-color: white;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgb(0 0 0 / 18%);
}
.stats .box::before,
.stats .box::after {
  content: "";
  position: absolute;
  background-color: var(--main-color2);
  height: 0;
  width: 3px;
  transition: var(--main-transition);
}
.stats .box::before {
  top: 0;
  right: 0;
}
.stats .box::after {
  bottom: 0;
  left: 0;
}
.stats .box:hover::before,
.stats .box:hover::after {
  height: 100%;
}
.stats .box i {
  font-size: 50px;
}
.stats .box .number {
  display: block;
  font-size: 40px;
  margin: 10px 0;
}
.stats .box .special {
  display: block;
  color: var(--hover-color);
  font-style: italic;
  font-weight: bold;
}
/* end stats */
/* start discount */
.discount {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
@media (max-width: 991px) {
  .discount {
    flex-direction: column;
  }
}
.discount .image {
  flex-basis: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  animation: change-background 25s infinite linear;
}
@media (max-width: 991px) {
  .discount .image,
  .discount .form {
    flex-basis: 100%;
  }
}
.discount .image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(107 210 228 / 40%);
  z-index: -1;
}
.discount .content {
  text-align: center;
  padding: 0 40px;
}
.discount .content h2 {
  color: white;
  font-size: 40px;
}
.discount .content p {
  color: white;
  line-height: 1.7;
  max-width: 500px;
}
.discount .image .content img {
  width: 200px;
  margin: 60px 0 20px;
}
@media (max-width: 991px) {
  .discount .image .content img {
    margin: 60px 0;
  }
}
.discount .form {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}
.discount .content .title {
  color: #000;
}
.discount .form form .input {
  display: block;
  margin-bottom: 25px;
  padding: 10px;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #ccc;
  background-color: #f9f9f9;
  caret-color: var(--main-color2);
}
.discount .form form textarea.input {
  resize: none;
  height: 200px;
  caret-color: var(--main-color2);
}
.discount .form form .input {
  outline: none;
}
.discount .form input[type="submit"] {
  border: none;
  background-color: var(--main-color);
  color: white;
  border-radius: 7px;
  width: 100%;
  padding: 20px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--main-transition);
}
.discount .form input[type="submit"]:hover {
  background-color: var(--hover-color);
}
/* end discount */
/* start footer */
footer {
  background-color: #191919;
  padding: 70px 0 0;
}
@media (max-width: 767px) {
  footer {
    text-align: center;
  }
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
footer .box h3 {
  color: white;
  font-size: 40px;
  margin: 0 0 20px;
}
footer .box .social {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  footer .box .social {
    justify-content: center;
  }
}
footer .box .social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #313131;
  margin-right: 15px;
  color: #ccc;
  padding: 10px;
  transition: var(--main-transition);
}
footer .box .social a:hover{
  color: #fff;
}
@media (max-width: 767px) {
  footer .box .social a {
    margin: 0 10px;
  }
}
footer .box .social a i {
  font-size: 25px;
}
footer .box .social .fb:hover {
  background-color: rgb(20, 68, 172);
}
footer .box .social .twitter:hover {
  background-color: rgb(90, 184, 228);
}
footer .box .social .youtube:hover {
  background-color: crimson;
}
footer .box p {
  color: #ccc;
  line-height: 2;
}
footer .box .links li {
  padding: 15px;
  width: fit-content;
  margin: 0 auto;
  transition: var(--main-transition);
}
footer .box .links li:not(#links > li:nth-child(5)) {
  border-bottom: 1px solid #ccc;
}
footer .box .links li:hover {
  padding-left: 25px;
}
footer .box .links li a {
  color: #ccc;
  display: block;
  transition: var(--main-transition);
}
footer .box .links li a:hover {
  color: white;
}
footer .box .links li a i {
  margin-right: 10px;
  color: var(--main-color2);
}
footer .box .line {
  display: flex;
  align-items: center;
  padding: 0 20px 20px;
}
@media (max-width: 767px) {
  footer .box .line {
    flex-direction: column;
  }
}
footer .box .line i {
  margin-right: 15px;
  font-size: 25px;
  color: var(--main-color2);
}
@media (max-width: 767px) {
  footer .box .line i {
    margin: 0 0 20px;
  }
}
footer .box .line .info {
  color: #ccc;
  line-height: 1.7;
  font-size: 18px;
}
footer .box .line span {
  display: block;
}
footer .gallery-footer {
  text-align: center;
}
footer .gallery-footer img {
  width: 78px;
  height: 73px;
  border: 3px solid white;
}
footer .copyright {
  color: white;
  margin: 40px 0 0;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #ccc;
  font-size: 18px;
}
/* end footer */
/* start animation */
@keyframes up-and-down {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -40px;
  }
}
@keyframes lance {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-20px);
  }
}
@keyframes left {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    left: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
  }
}
@keyframes right {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    right: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
  }
}
@keyframes arrow-move {
  50% {
    transform: translateX(5px);
  }
}
@keyframes flash {
  0%,
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}
@keyframes change-background {
  0%,
  100% {
    background: url(img/discount\ background\ 1.jpg);
  }
  50% {
    background: url(img/discount\ background2.png);
  }
}
/* end animation */
/* end landing */
/* start mega menu */

header .mega-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 50px);
  width: 100%;
  background-color: rgb(255, 255, 255);
  padding: 30px;
  display: flex;
  gap: 40px;
  border-bottom: 4px solid var(--hover-color);
  transition: var(--main-transition);
  z-index: -1;
  opacity: 0;
}
@media (max-width: 767px) {
  header .mega-menu {
    flex-direction: column;
    gap: 0;
  }
}
.active_menu {
  z-index: 100;
  opacity: 1;
  top: 100%;
}
header .mega-menu .image img {
  width: 340px;
  max-width: 100%;
}
@media (max-width: 991px) {
  header .mega-menu .image {
    display: none;
  }
}
header .mega-menu .mega-list {
  flex: 1;
  min-width: 250px;
}
@media (max-width: 767px) {
  header .mega-menu .mega-list {
    width: 100%;
  }
}
header .mega-menu .mega-list li:not(:last-child) {
  border-bottom: 1px solid #ecedec;
}
@media (max-width: 767px) {
  #other-links > div > ul:nth-child(2) > li:nth-child(5) {
    border-bottom: 1px solid #ecedec;
  }
}
header .mega-menu .mega-list li {
  position: relative;
}
header .mega-menu .mega-list li::before {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  background-color: #ecedec67;
  z-index: -1;
  transition: var(--main-transition);
}
header .mega-menu .mega-list li:hover::before {
  width: 100%;
}
header .mega-menu .mega-list li a {
  display: block;
  color: var(--main-color2);
  padding: 17px;
  font-weight: bold;
}
header .mega-menu .mega-list li a i {
  margin-right: 10px;
}
/* end mega menu */
