/* Start Global Rules */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #2196f3;
  --main-color-alt: #1787e0;
  --paragraph-color: #6a6666;
  --main-transition: 0.3s;
  --main-padding-top: 100px;
  --main-padding-bottom: 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;
}

.main-title {
  text-transform: uppercase;
  margin: 0 auto 80px;
  border: 2px solid black;
  padding: 0 20px;
  font-size: 30px;
  width: fit-content;
  position: relative;
  z-index: 1;
  transition: var(--main-transition);
}

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

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

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

  100% {
    left: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}

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

  100% {
    right: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
  }
}

.main-title:hover {
  color: white;
  border: 2px solid white;
  transition-delay: 0.5s;
}

.spikes {
  position: relative;
}

.spikes::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 30px;
  z-index: 1;
  background-image: linear-gradient(135deg, white 25%, transparent 25%),
    linear-gradient(225deg, white 25%, transparent 25%);
  background-size: 30px 30px;
}

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

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

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

.scroll-up {
  position: fixed;
  bottom: -100px;
  right: -100px;
  z-index: 1550;
  color: white;
  background-color: var(--main-color);
  font-size: 20px;
  padding: 1px 13px;
  border-radius: 10px;
  border: 2px solid var(--main-color);
  transition: 0.5s;
  animation: up-down 2s infinite alternate;
}
@keyframes up-down {
  to {
    transform: translateY(10px);
  }
}
.scroll-up:hover {
  background: white;
  color: var(--main-color);
}
.scroll-up.show {
  bottom: 30px;
  right: 30px;
}

/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* header start */
header {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 0 10px #ddd;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
.logo-footer{
  width: 150px;
}
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);
    pointer-events: all;
}

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);
  pointer-events: none;
}

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

/* header end */
/* hero-sec start */
.hero-sec {
  position: relative;
}

.hero-sec .container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  height: 80vh;
}

.hero-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-background);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero-sec .title {
  flex: 1;

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

.hero-sec h1 {
  font-size: 2.5rem;

  @media (max-width: 767px) {
    font-size: 28px;
  }
}

.hero-sec p {
  font-size: 1.5rem;
  color: var(--paragraph-color);
  line-height: 1.4;

  @media (max-width: 991px) {
    margin: 10px auto;
    max-width: 80%;
  }

  @media (max-width: 767px) {
    font-size: 18px;
  }
}

.hero-sec img {
  position: relative;
  max-width: 600px;
  animation: float 5s infinite linear;

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

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-sec img:hover {
  animation-play-state: paused;
}

.hero-sec i {
  color: var(--main-color);
  font-weight: 900;
  position: absolute;
  left: 49%;
  cursor: pointer;
  animation: bouncing 1.5s infinite;
}

@keyframes bouncing {

  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40%,
  60% {
    transform: translateY(-15px);
  }
}

/* hero-sec end */
/* articles start */
.articles {
  margin: 12rem 0 7rem;
}

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

.articles .cards .card {
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  transition: var(--main-transition);
}

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

.articles .cards .card img {
  max-width: 100%;
}

.articles .cards .card-title {
  padding: 20px;
}

.articles .cards .card-title p {
  color: var(--paragraph-color);
  margin: 10px 0 0;
  line-height: 1.5;
}

.articles .cards .card-info {
  padding: 20px;
  border-top: 1px solid #e6e6e7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.articles .cards .card-info a {
  color: var(--main-color);
  font-weight: 600;
}

.articles .cards .card-info i {
  color: var(--main-color);
}

.articles .card:hover .card-info i {
  animation: moving-arrow 0.6s linear infinite alternate;
}

@keyframes moving-arrow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(10px);
  }
}

/* articles end */
/* gallery end */
.gallery {
  background: var(--section-background);
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
}

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

.gallery .cards .card {
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%),
    0px 2px 4px 0px rgb(0 0 0 / 12%);
}

.gallery .cards .card .image {
  position: relative;
  overflow: hidden;
}

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

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

.gallery .card img {
  max-width: 100%;
  transition: var(--main-transition);
}

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

@keyframes flashing {

  0%,
  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}

/* gallery end */
/* features end */
.features {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
}

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

.features .card {
  border: 1px solid #cccccc;
  text-align: center;
  padding-bottom: 2rem;
}

.features .card .image-box {
  position: relative;
  overflow: hidden;
}

.features .card .image-box::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0px 0px 170px 500px;
  border-color: transparent transparent white transparent;
  transition: var(--main-transition);
  z-index: 2;
}

.features .card:hover .image-box::before {
  border-width: 170px 500px 170px 0;
}

.features .card .image-box::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.features .card.quality .image-box::after {
  background: #f43f3688;
}

.features .card.time .image-box::after {
  background: #00968788;
}

.features .card.passion .image-box::after {
  background: #03a8f488;
}

.features .card img {
  max-width: 100%;
}

.features .card h2 {
  font-size: 2.2rem;
  position: relative;
  width: fit-content;
  margin: 0 auto 3rem;
}

.features .card p {
  font-size: 1.3rem;
  color: var(--paragraph-color);
  line-height: 2;
  margin-bottom: 3rem;
}

.features .card h2::after {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 5px;
}

.features .card.quality h2::after {
  background-color: #f44036;
}

.features .card.time h2::after {
  background-color: #009688;
}

.features .card.passion h2::after {
  background-color: #03a9f4;
}

.features .card a {
  font-size: 1.5rem;
  font-weight: 600;
  border: 3px solid;
  padding: 0 1.9rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  position: relative;
  transition: var(--main-transition);
}

.features .card.quality a {
  color: #f44036;
  border-color: #f44036;
}

.features .card.time a {
  color: #009688;
  border-color: #009688;
}

.features .card.passion a {
  color: #03a9f4;
  border-color: #03a9f4;
}

.features .card a::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  transition: var(--main-transition);
  z-index: -1;
}

.features .card.quality a::before {
  background: #f44036;
}

.features .card.time a::before {
  background: #009688;
}

.features .card.passion a::before {
  background: #03a9f4;
}

.features .card:hover a::before {
  width: 100%;
}

.features .card:hover a {
  color: #fff;
}

/* features end */
/* testimonials start */
.testimonials {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  background: var(--section-background);
}

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

.testimonials .cards .card {
  background: #fff;
  padding: 1rem;
  position: relative;
}

.testimonials .cards .card img {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--section-background);
  padding: 10px;
}

.testimonials .cards .card .title {
  color: var(--paragraph-color);
}

.testimonials .card .rating i {
  color: #ffc107;
}

.testimonials .card p {
  line-height: 1.5;
  color: var(--paragraph-color);
  max-width: 90%;
}

/* testimonials end */
/* team-members end */
.team-members {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
}

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

.team-members .card {
  position: relative;
}

.team-members .card::before {
  content: "";
  background-color: #f3f3f3;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 10px;
  transition: var(--main-transition);
  width: calc(100% - 60px);
  z-index: -2;
}

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

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

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

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

.team-members .card .social a {
  color: var(--paragraph-color);
  transition: var(--main-transition);
}

.team-members .card .social a:hover {
  color: var(--main-color-alt);
}

.team-members .cards img {
  width: 80%;
  opacity: 0.9;
  transition: var(--main-transition);
  border-radius: 5px;
}

.team-members .card .info {
  padding: 20px 0 20px 80px;
}

.team-members .card .info h3 {
  color: var(--main-color);
  font-size: 1.3rem;
}

.team-members .card .info p {
  color: var(--paragraph-color)
}

.team-members .card:hover img {
  opacity: 1;
  filter: saturate(1.5);
}

/* team-members end */
/* services start */
.services {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  background-color: var(--section-background);
  position: relative;
}

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

.services .card {
  background-color: white;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  counter-increment: services;
  transition: var(--main-transition);
  position: relative;
}

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

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

.services .card:hover::before {
  width: 100%;
}

.services .card i {
  margin: 30px auto 20px;
  display: block;
  text-align: center;
  color: #d5d5d5;
}

.services .card h3 {
  text-align: center;
  margin: 20px 0 40px;
  font-size: 1.5rem;
  color: var(--main-color);
}

.services .card .info {
  padding: 1rem;
  position: relative;
  background-color: #f9f9f9;
  text-align: right;
}

.services .card .info::before {
  content: "0" counter(services);
  position: absolute;
  background-color: var(--main-color);
  color: white;
  left: 0;
  top: 0;
  height: 100%;
  width: 80px;
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 1rem;
}

.services .card .info::after {
  content: "";
  position: absolute;
  background-color: #d5d5d5;
  top: 0;
  left: 80px;
  width: 50px;
  height: 100%;
  transform: skewX(-30deg);
}

.services .card .info a {
  color: var(--main-color);
}

/* services end */
/* our-skills Start*/
.our-skills {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
}

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


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


}

.our-skills .skills {
  flex: 1;
}

.our-skills .skill h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0;
}

.our-skills .skill h3 span {
  font-size: 14px;
  border: 1px solid #ccc;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--main-color);
}

.our-skills .skill .the-progress {
  height: 30px;
  background: #eee;
  position: relative;
}

.our-skills .skill .the-progress span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--main-color);
  transition: 0.5s linear;
}

/* our-skills End*/
/* work-steps start */
.work-steps {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  background-color: var(--section-background);
}

.work-steps .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.work-steps .image {
  max-width: 100%;
  margin-right: 100px;
}

@media (max-width: 991px) {
  .work-steps .image {
    margin: 0 0 50px;
  }
}

.work-steps .cards .card {
  background-color: #f6f5f5;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 2px solid white;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .work-steps .cards .card {
    flex-direction: column;
    text-align: center;
  }
}

.work-steps .cards .card::before {
  content: "";
  left: 50%;
  top: 50%;
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  background-color: #ededed;
  z-index: -1;
  transition: var(--main-transition);
}

.work-steps .cards .card:hover::before {
  width: 100%;
  height: 100%;
}

.work-steps .cards .card img {
  width: 64px;
}

.work-steps .cards .card h3 {
  font-size: 1.4rem;
}

.work-steps .cards .card p {
  color: var(--paragraph-color);
  line-height: 1.7;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* work-steps end */
/* pricing start */
.pricing {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  /* background-color: var(--section-background); */
  background: url("../imgs/map.jpg") no-repeat center / cover;
}
.pricing::before{
    content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.911);
}
.pricing .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.pricing .card {
  position: relative;
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
  transition: var(--main-transition);
  background: white;
  text-align: center;
  z-index: 1;
}

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

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

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

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

@media (min-width: 1200px) {
  .pricing .card.popular {
    top: -20px;
  }
}

.pricing .card.popular .label {
  position: absolute;
  writing-mode: vertical-rl;
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  padding: 25px 2px 40px 30px;
  font-size: 1.1rem;
  top: 0;
  right: 20px;
  width: 40px;
}

.pricing .card.popular .label::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-color: transparent transparent white;
  border-width: 20px;
}

.pricing .card .title {
  font-weight: 600;
  margin: 2rem 0;
  font-size: 1.5rem;
}

.pricing .card img {
  width: 80px;
  margin-bottom: 2rem;
}

.pricing .card .price {
  margin-bottom: 20px;
}

.pricing .card .amount {
  display: block;
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--main-color);
}

.pricing .card .time {
  color: var(--paragraph-color);
}

.pricing .card ul {
  text-align: left;
}

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

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

.pricing .card a {
  display: block;
  width: fit-content;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  margin: 30px auto 40px;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--main-transition);
}

.pricing .card a:hover {
  background-color: var(--main-color-alt);
  border-color: var(--main-color-alt);
  color: white;
}

/* pricing end */
/* videos end */
.videos {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
}

.videos .wrapper {
  display: flex;
  justify-content: center;
  background-color: var(--section-background);
  border: 1px solid #ddd;
}

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

.videos .wrapper .list {
  min-width: 300px;
  background-color: white;
}

.videos .wrapper .list .name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  font-weight: 600;
  color: var(--main-color);
}

.videos .wrapper .list ul li {
  padding: 15px;
  border-top: 1px solid var(--section-background);
  cursor: pointer;
  transition: var(--main-transition);
}

.videos .wrapper .list ul li:hover {
  background-color: #fafafa;
  color: var(--main-color);
}

.videos .wrapper .list ul li span {
  display: block;
  color: var(--paragraph-color);
}

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

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

.videos .wrapper .preview .info {
  padding: 20px;
  background-color: #fff;
}

/* videos end */
/* stats end */
.stats {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  background-image: url("../imgs/stats.jpg");
  background-size: cover;
}

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

.stats h2 {
  font-weight: 600;
  font-size: 2.5rem;
  width: fit-content;
  margin: 0 auto 50px;
  position: relative;
}

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

.stats .card {
  background-color: #fff;
  padding: 30px 15px;
  text-align: center;
  position: relative;
  opacity: 0.8;
  transition: var(--main-transition);
}

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

.stats .card::before {
  top: 0;
  right: 0;
}

.stats .card::after {
  left: 0;
  bottom: 0;
}

.stats .card:hover {
  opacity: 1;
}

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

.stats .card .number {
  display: block;
  font-size: 3rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
}

.stats .card .text {
  color: var(--main-color);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 600;
}

/* stats end */
/* discount end */
.discount {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.discount .image {
  background-image: url(../imgs/discount-background1.jpg);
  background-size: cover;
  color: #fff;
  flex-basis: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: change-background 5s linear infinite;
}

@keyframes change-background {

  0%,
  100% {
    background-image: url("../imgs/discount-background1.jpg");
  }

  50% {
    background-image: url("../imgs/discount-background2.jpg");
  }
}

.discount .image::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 134, 224, 0.945);
  z-index: -1;
}

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

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

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

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

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

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

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

.discount .form .input {
  display: block;
  width: 100%;
  margin-bottom: 25px;
  padding: 15px;
  border: none;
  outline: none;
  border-bottom: 1px solid #ccc;
  background-color: #f9f9f9;
  caret-color: var(--main-color);
}

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

.discount .form .input:focus {
  border-color: var(--main-color);
}

.discount .form [type="submit"] {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: var(--main-transition);
}

.discount .form [type="submit"]:hover {
  background-color: var(--main-color-alt);
}

/* discount end */
/* footer end */
footer {
  background-color: #191919;
  padding-top: 70px;
}

@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: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
}

footer .box .social {
  display: flex;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  footer .box .social {
    justify-content: center;
  }
}

footer .box .social li {
  margin-right: 10px;
}

footer .box .social li a {
  background-color: #313131;
  color: #b9b9b9;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 20px;
  transition: var(--main-transition);
}

footer .box .social .facebook:hover {
  background-color: #1877f2;
}

footer .box .social .twitter:hover {
  background-color: #1da1f2;
}

footer .box .social .youtube:hover {
  background-color: #ff0000;
}

footer .box .text {
  line-height: 2;
  color: #b9b9b9;
}

footer .box .links li {
  padding: 15px 0;
  transition: var(--main-transition);
}

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

footer .box .links li:hover {
  padding-left: 10px;
}

footer .box .links li:hover a {
  color: #fff;
}

footer .box .links li a {
  color: #b9b9b9;
  transition: var(--main-transition);
}

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;
  color: #b9b9b9;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  footer .box .line {
    flex-direction: column;
  }
}

footer .box .line i {
  font-size: 25px;
  color: var(--main-color);
  margin-right: 10px;
}

@media (max-width: 767px) {
  footer .box .line i {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

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

footer .box .line .info span {
  display: block;
}

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

footer .copyright {
  font-size: 1.2rem;
  padding: 25px 0;
  text-align: center;
  color: #fff;
  margin: 50px 0 0;
  border-top: 1px solid #444;
}

/* footer end */