/************ Root ************/
:root {
  --primary: #2196f3;
  --primary-alt: #1787e0;
}
/************ Font ************/
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-Regular.ttf");
}

/************ Animation ************/
@keyframes up-and-dwon {
  0%, 100% {
    top: 0;
  }

  50% {
    top: -40px;
  }
}


@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% {
    border-radius: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

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

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

@keyframes moving-arrow {
  100% {
    transform: translateX(10px);
  }
}

@keyframes flashing {
  0%, 40% {
    opacity: 1;
  }

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

/************ Global ************/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo";
  background-color: white;
  overflow-x: hidden;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

/************ Container ************/
.container {
  padding: 0 15px;
  margin: auto;
}

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

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

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

/************ Navbar ************/
.navbar {
  box-shadow: 0 0 10px #ddd;
  height: 72px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.navbar .navbar-brand {
  color: var(--primary);
  font-size: 26px;
  font-weight: bold;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .navbar .navbar-brand {
    width: 100%;
    height: 50px;
  }
}

.navbar .navbar-nav {
  display: flex;
}

@media (max-width: 767px) {
  .navbar .navbar-nav {
    margin: auto;
  }
}

.navbar .navbar-nav .nav-item .nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  position: relative;
  color: black;
  padding: 0 30px;
  font-size: 18px;
  transition: .3s;
  overflow: hidden;
}


@media (max-width: 767px) {
  .navbar .navbar-nav .nav-item .nav-link {
    padding: 10px;
    font-size: 14px;
    height: 20px;
  }
}

.navbar .navbar-nav .nav-item .nav-link:hover {
  color: var(--primary);
  background-color: #fafafa;
}

.navbar .navbar-nav .nav-item .nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  top: 0;
  left: -100%;
  transition: .3s;
}

.navbar .navbar-nav .nav-item .nav-link:hover::before {
  left: 0;
}

.navbar .navbar-nav .nav-item .dropdown {
  background-color: white;
  width: 100%;
  padding: 30px;
  border-bottom: 3px solid var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: absolute;
  z-index: -1;
  left: 0;
  top: calc(100% + 50px);
  opacity: 0;
  transition: top .3s ease-in-out, opacity .3s ease-in-out;
}

.navbar .navbar-nav .nav-item:hover .dropdown {
  opacity: 1;
  z-index: 9;
  top: calc(100% + 1px);
}

@media (max-width: 767px) {
  .navbar .navbar-nav .nav-item .dropdown {
    flex-direction: column;
    gap: 0;
    padding: 5px;
  }
}

@media (max-width: 991px) {
  .navbar .navbar-nav .nav-item .dropdown img {
    display: none;
  }
}

@media (min-width: 992px) {
  .navbar .navbar-nav .nav-item .dropdown img {
    max-width: 350px;
  }
}

@media (min-width: 1201px) {
  .navbar .navbar-nav .nav-item .dropdown img {
    max-width: 100%;
  }
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav {
  min-width: 170px;
  flex: 1;
}

@media (max-width: 767px) {
  .navbar .navbar-nav .nav-item .dropdown .dropdown-nav:first-of-type .dropdown-item:last-of-type {
    border-bottom: 1px solid #e9e6e6;
  }
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav .dropdown-item {
  position: relative;
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav .dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #fafafa;
  z-index: -1;
  transition: .3s;
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav .dropdown-item:hover::before {
  width: 100%;
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #e9e6e6;
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav .dropdown-item .dropdown-link {
  color: var(--primary);
  padding: 15px 0;
  display: block;
  font-size: 18px;
  font-weight: bold;
}

.navbar .navbar-nav .nav-item .dropdown .dropdown-nav .dropdown-item .dropdown-link i {
  margin-right: 10px;
}

/************ Landing ************/
.landing {
  position: relative;
  overflow: hidden;
}

.landing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ececec;
  z-index: -1;
  transform: skewY(-6deg);
  transform-origin: top left;
}

.landing .container {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}

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

.landing article {
  flex: 1;
}

@media (max-width: 991px) {
  .landing article {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .landing article {
    text-align: center;
  }
}

.landing article h1 {
  font-size: 40px;
  margin: 0;
  letter-spacing: -2px;
}

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

.landing article p {
  font-size: 23px;
  line-height: 1.7;
  margin: 5px 0;
  color: #666;
  max-width: 500px;
}

@media (max-width: 767px) {
  .landing article p {
    font-size: 18px;
    margin: 10px auto;
  }
}

.landing img {
  position: relative;
  width: 600px;
  animation: up-and-dwon 3s linear infinite;
}

@media (max-width: 767px) {
  .landing img {
    display: none;
  }
}

.landing a {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.landing a i {
  color: var(--primary);
  transition: color .3s ease-in-out;
  animation: bouncing 1.5s linear infinite;
}

.landing a:hover i {
  color: var(--primary-alt);
}

/************ Section ************/
section:not(.request-a-discount) {
  padding: 100px 0;
  overflow-x: hidden;
}

section:not(.our-awesome-stats) > h2 {
  text-transform: uppercase;
  margin: 0 auto 80px;
  border: 2px solid black;
  padding: 10px 20px;
  font-size: 25px;
  width: fit-content;
  position: relative;
  z-index: 1;
  transition: .3s;
}

section:not(.our-awesome-stats) > h2:hover {
  color: white;
  border: 2px solid white;
  transition-delay: .5s;
}

section:not(.our-awesome-stats) > h2::before {
  left: -30px;
}

section:not(.our-awesome-stats) > h2:hover::before {
  animation: left-move .5s linear forwards;
}

section:not(.our-awesome-stats) > h2::after {
  right: -30px;
}

section:not(.our-awesome-stats) > h2:hover::after {
  animation: right-move .5s linear forwards;
}

section:not(.our-awesome-stats) > h2::before,
section:not(.our-awesome-stats) > h2::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

section:not(.our-awesome-stats) > h2:hover::before,
section:not(.our-awesome-stats) > h2:hover::after {
  z-index: -1;
}

/************ Spikes ************/
.spikes {
  position: relative;
}

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

/************ Dots ************/
.dots {
  background-image: url('../img/dots.png');
  width: 204px;
  height: 186px;
  background-repeat: no-repeat;
  position: absolute;
}

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

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

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

.articles .article {
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

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

.articles .article .header h3 {
  margin: 0;
}

.articles .article .header p {
  margin: 10px 0 0 0;
  line-height: 1.5;
  color: #777;
}

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

.articles .article .footer {
  border-top: 1px solid #e6e6e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.articles .article .footer a {
  font-weight: bold;
}

.articles .article:hover .footer i {
  animation: moving-arrow .6s linear infinite;
}

.articles .article .footer a,
.articles .article .footer i {
  color: var(--primary);
}

.articles .article .header,
.articles .article .footer {
  padding: 20px;
}

/************ Galleries ************/
.galleries {
  background-color: #ececec;
}

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

.galleries .gallery {
  padding: 15px;
  background-color: white;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%), 0px 12px 4px 0px rgb(0 0 0 / 12%);
}

.galleries .gallery > div {
  position: relative;
  overflow: hidden;
}

.galleries .gallery > div::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;
}

.galleries .gallery > div:hover::before {
  animation: flashing .7s;
}

.galleries .gallery img {
  max-width: 100%;
  transition: .3s;
}

.galleries .gallery > div:hover img {
  transform: rotate(5deg) scale(1.1);
}

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

.features .feature {
  text-align: center;
  border: 1px solid #ccc;
}

.features .feature .header {
  position: relative;
  overflow: hidden;
}

.features .feature .header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.features .feature-red .header::before {
  background-color: rgba(244, 64, 54, .6);
}

.features .feature-green .header::before {
  background-color: rgb(0 159 136 / 60%);
}

.features .feature-blue .header::before {
  background-color: rgb(3 169 244 / 60%);
}

.features .feature .header::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 170px 500px;
  border-color: transparent transparent white transparent;
  transition: border-width .3s ease-in-out;
}

.features .feature:hover .header::after {
  border-width: 170px 500px 170px 0;
}

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

.features .feature .body h2 {
  position: relative;
  font-size: 40px;
  margin: auto;
  width: fit-content;
}

.features .feature .body h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 15px;
  width: calc(100% - 30px);
  height: 5px;
}

.features .feature-red .body h2::after {
  background-color: #f44036;
}

.features .feature-green .body h2::after {
  background-color: #009688;
}

.features .feature-blue .body h2::after {
  background-color: #03a9f4;
}

.features .feature .body p {
  line-height: 2;
  font-size: 20px;
  margin: 30px 0;
  padding: 25px;
  color: #777;
}

.features .feature .body a {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
  font-weight: bold;
  font-size: 22px;
  padding: 10px 20px;
  border: 3px solid transparent;
  border-radius: 6px;
  transition: .3s;
}

.features .feature-red .body a {
  color: #f44036;
  border-color: #f44036;
  background: linear-gradient(to right, #f44036 50%, white 50%);
}

.features .feature-green .body a {
  color: #009688;
  border-color: #009688;
  background: linear-gradient(to right, #009688 50%, white 50%);
}

.features .feature-blue .body a {
  color: #03a9f4;
  border-color: #03a9f4;
  background: linear-gradient(to right, #03a9f4 50%, white 50%);
}

.features .feature-red .body a,
.features .feature-green .body a,
.features .feature-blue .body a {
  background-size: 200% 100%;
  background-position: right bottom;
}

.features .feature:hover .body a {
  background-position: left bottom;
  color: white;
}

/************ Testimonials ************/
.testimonials {
  background-color: #ececec;
}

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

.testimonials .testimonial {
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 4px rgb(0 0 / 7% 0 / 7%);
  border-radius: 6px;
  position: relative;
}

.testimonials .testimonial img {
  position: absolute;
  right: -10px;
  top: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 10px solid #ececec;
}

.testimonials .testimonial h3 {
  margin: 0 0;
  color: var(--primary);
}

.testimonials .testimonial span {
  color: #777;
  margin: 10px 0;
  display: block;
}

.testimonials .testimonial .rating .fill {
  color: #ffc107;
}

.testimonials .testimonial p {
  line-height: 1.5;
  color: #777;
  margin: 10px 0 0;
}

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

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

.team-members .team-member::before {
  width: calc(100% - 60px);
  z-index: -2;
  background-color: #f3f3f3;
}

.team-members .team-member::after {
  z-index: -1;
  background-color: #e4e4e4;
  width: 0;
  transition: width .3s ease-in-out;
}

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

.team-members .team-member::before,
.team-members .team-member::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 10px;
}

.team-members .team-member img {
  width: calc(100% - 60px);
  transition: .3s;
  margin-top: 60px;
  border-radius: 10px;
}

.team-members .team-member:hover img {
  filter: grayscale(100%);
}

.team-members .team-member .social {
  width: 60px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}

.team-members .team-member .social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.team-members .team-member .social a {
  width: 60px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-members .team-member .social a i {
  color: #777;
  transition: .3s;
}

.team-members .team-member .social a:hover i {
  color: var(--primary);
}

.team-members .team-member .info {
  padding-left: 80px;
}

.team-members .team-member .info h3 {
  margin-bottom: 0;
  color: var(--primary);
  font-size: 22px;
  transition: .3s;
}

.team-members .team-member:hover .info h3 {
  color: #777;
}

.team-members .team-member .info p {
  margin: 10px 0 25px;
}

/************ Services ************/
.services {
  background-color: #ececec;
}

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

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

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

.services .service::before {
  content: '';
  position: absolute;
  left: 50%;
  height: 3px;
  width: 0;
  transform: translateX(-50%);
  background-color: var(--primary);
  transition: .3s;
}

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

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

.services .service h3 {
  text-align: center;
  margin: 20px 0 40px;
  font-size: 25px;
  color: var(--primary);
}

.services .service a {
  background-color: #f9f9f9;
  display: block;
  text-align: right;
  padding: 15px;
  color: var(--primary);
}

.services .service a::before {
  content: '0' counter(services);
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  color: white;
  height: 48.39px;
  width: 80px;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 15px;
}

.services .service a::after {
  content: '';
  position: absolute;
  background-color: #d5d5d5;
  bottom: 0;
  left: 80px;
  width: 50px;
  height: 48.39px;
  transform: skew(-30deg);
}

/************ Our Skills ************/
.our-skills .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .our-skills .row {
    flex-direction: column;
  }

  .our-skills img {
    width: 100%;
  }
}

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

@media (max-width: 991px) {
  .our-skills .our-skill {
    width: 100%;
  }
}

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

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

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

.our-skills .our-skill .skill .progress span {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--primary);
}

/************ How It Works ************/
.how-it-works {
  background-color: #ececec;
}

.how-it-works .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

@media (max-width: 1199px) {
  .how-it-works .row {
    flex-direction: column;
  }
}

.how-it-works .row > img {
  max-width: 100%;
}

.how-it-works .works .work {
  display: flex;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  border: 2px solid white;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .how-it-works .works .work {
    flex-direction: column;
  }
}

.how-it-works .works .work::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: #ededed;
  z-index: -1;
  transition: .3s;
}

.how-it-works .works .work:hover::before {
  width: 100%;
  height: 100%;
}

.how-it-works .works .work:not(:last-of-type) {
  margin-bottom: 20px;
}

.how-it-works .works .work img {
  width: 64px;
  height: 64px;
  margin-right: 30px;
}

@media (max-width: 767px) {
  .how-it-works .works .work img {
    margin: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .how-it-works .works .work div {
    text-align: center;
  }
}

.how-it-works .works .work div h3 {
  margin: 0;
  font-size: 22px;
}

.how-it-works .works .work div p {
  color: #777;
  line-height: 1.7;
  margin: 10px 0 0;
  font-size: 18px;
}

/************ Latest Events ************/
.latest-events .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.latest-events .row img {
  max-width: 450px;
}

@media (max-width: 991px) {
  .latest-events .row img {
    margin: auto;
    width: 100%;
  }
}

.latest-events .events {
  flex: 1;
}

.latest-events .events .header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  gap: 10px;
}

.latest-events .events .header div {
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  text-align: center;
  transition: .3s;
}

.latest-events .events .header div:hover {
  border-color: var(--primary);
}

.latest-events .events .header div span {
  display: block;
}

.latest-events .events .header div span:first-child {
  font-size: 35px;
  font-weight: bold;
  padding: 15px;
  color: var(--primary);
}

@media (max-width: 350px) {
  .latest-events .events .header div span:first-child {
    font-size: 25px;
    padding: 10px;
  }
}

.latest-events .events .header div span:last-child {
  padding: 8px 10px;
  font-size: 13px;
  border-top: 1px solid #d4d4d4;
  transition: .3s;
}

.latest-events .events .header div:hover span:last-child {
  border-top-color: var(--primary);
}

.latest-events .events h2 {
  text-align: center;
  margin: 40px 0 0;
  font-size: 30px;
  font-weight: bold;
}

.latest-events .events p {
  text-align: center;
  line-height: 1.7;
  font-size: 19px;
  color: #777;
}

.latest-events .subscribe {
  width: 100%;
  margin-top: 50px;
}

.latest-events .subscribe form {
  max-width: 600px;
  margin: 20px auto;
  padding: 30px 40px;
  background-color: #f6f5f5;
  border-radius: 50px;
  display: flex;
  gap: 20px;
}

@media (max-width: 450px) {
  .latest-events .subscribe form {
    flex-direction: column;
  }
}

.latest-events .subscribe form input {
  padding: 20px;
  border-radius: 50px;
  border: none;
  flex: 1;
  caret-color: var(--primary);
}

.latest-events .subscribe form input:focus {
  outline: none;
}

.latest-events .subscribe form input::placeholder {
  transition: opacity .3s ease-in-out;
}

.latest-events .subscribe form input:focus::placeholder {
  opacity: 0;
}

.latest-events .subscribe form button {
  border-radius: 50px;
  border: none;
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  transition: .3s;
}

.latest-events .subscribe form button:hover {
  background-color: var(--primary-alt);
}

/************ Pricing Plans ************/
.pricing-plans {
  background-color: #ececec;
}

.pricing-plans .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.pricing-plans .plan {
  background-color: white;
  position: relative;
  box-shadow: 0px 12px 20px 0px rgb(0 0 0 / 13%), 0px 12px 4px 0px rgb(0 0 0 / 12%);
  text-align: center;
  z-index: 1;
}

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

.pricing-plans .plan::before {
  left: 0;
  top: 0;
}

.pricing-plans .plan::after {
  bottom: 0;
  right: 0;
}

.pricing-plans .plan::before,
.pricing-plans .plan::after {
  content: '';
  width: 0;
  height: 50%;
  background-color: #f6f6f6;
  position: absolute;
  z-index: -1;
  transition: .3s;
}

.pricing-plans .plan:hover::before,
.pricing-plans .plan:hover::after {
  width: 100%;
}

.pricing-plans .plan label {
  width: 40px;
  position: absolute;
  writing-mode: vertical-rl;
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  padding: 10px 10px 35px 10px;
  font-size: 18px;
  top: 0;
  right: 20px;
}

.pricing-plans .plan label::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-style: solid;
  border-color: transparent transparent white transparent;
  border-width: 20px;
}

.pricing-plans .plan h3 {
  font-weight: bold;
  margin: 30px 0;
  font-size: 25px;
  letter-spacing: -1px;
}

.pricing-plans .plan img {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.pricing-plans .plan > span {
  display: block;
}

.pricing-plans .plan > span:first-of-type {
  color: var(--primary);
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 5px;
}

.pricing-plans .plan > span:last-of-type {
  color: #777;
}

.pricing-plans .plan ul {
  margin-top: 20px;
  text-align: left;
}

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

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

.pricing-plans .plan a {
  display: block;
  border: 2px solid var(--primary);
  color: var(--primary);
  margin: 30px auto 40px;
  padding: 15px 20px;
  border-radius: 6px;
  width: fit-content;
  font-weight: bold;
  transition: .3s;
}

.pricing-plans .plan a:hover {
  background-color: var(--primary-alt);
  color: white;
}

/************ Top Videos ************/
.top-videos .row {
  display: flex;
  justify-content: center;
  background-color: #ececec;
  border: 1px solid #ddd;
}

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

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

.top-videos .videos .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  font-weight: bold;
}

.top-videos .videos .header i {
  cursor: pointer;
}

.top-videos .videos .body li {
  padding: 15px;
  border-top: 1px solid #ececec;
}

.top-videos .videos .body li a {
  color: black;
}

.top-videos .videos .body li .active,
.top-videos .videos .body li a:hover {
  color: var(--primary);
}

.top-videos .videos .body li span {
  display: block;
  margin-top: 10px;
  color: #777;
}

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

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

.top-videos .preview span {
  display: block;
  background-color: white;
  color: black;
  padding: 20px;
  margin-top: 20px;
}

/************ Our Awesome Stats ************/
.our-awesome-stats {
  background-image: url('../img/stats.jpg');
  background-size: cover;
  min-height: 300px;
  position: relative;
  z-index: 1;
}

.our-awesome-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 255 255 / 70%);
  z-index: -1;
}

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

.our-awesome-stats h2 {
  font-size: 40px;
  font-weight: bold;
  width: fit-content;
  margin: 0 auto 50px;
  text-align: center;
}

.our-awesome-stats .stats {
  background-color: white;
  padding: 30px 15px;
  text-align: center;
  opacity: .8;
  transition: .3s;
  position: relative;
}

.our-awesome-stats .stats:hover {
  opacity: 1;
}

.our-awesome-stats .stats::before {
  top: 0;
  right: 0;
}

.our-awesome-stats .stats::after {
  bottom: 0;
  left: 0;
}

.our-awesome-stats .stats::before,
.our-awesome-stats .stats::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background-color: var(--primary);
  transition: 1s;
}

.our-awesome-stats .stats:hover::before,
.our-awesome-stats .stats:hover::after {
  height: 100%;
}

.our-awesome-stats .stats span:first-of-type {
  display: block;
  font-size: 50px;
  font-weight: bold;
  margin: 10px 0;
}

.our-awesome-stats .stats span:last-of-type {
  color: var(--primary);
  font-style: italic;
  font-weight: bold;
  font-size: 20px;
}

/************ Request A Discount ************/
.request-a-discount .row {
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .request-a-discount .row {
    flex-direction: column;
  }
}

.request-a-discount .image {
  flex: 1;
  background-image: url('../img/discount-background1.jpg');
  background-size: cover;
  color: white;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

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

.request-a-discount .image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(23 135 224 / 97%);
  z-index: -1;
}

.request-a-discount .image h2 {
  font-size: 40px;
  letter-spacing: -2px;
}

.request-a-discount .image p {
  margin: auto;
  line-height: 1.6;
  font-size: 18px;
  max-width: 500px;
}

.request-a-discount .image img {
  width: 300px;
  max-width: 100%;
}

.request-a-discount .form {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (max-width: 991px) {
  .request-a-discount .form {
    padding: 50px 0;
    width: 100%;
  }
}

.request-a-discount .form form {
  width: 50%;
  margin: auto;
}

.request-a-discount .form form textarea {
  height: 200px;
  resize: none;
}

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

.request-a-discount .form form button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: .3s;
}

.request-a-discount .form form button:hover {
  background-color: var(--primary-alt);
}

.request-a-discount .form form *:focus {
  outline: none;
}

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

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

footer.footer h3 {
  color: white;
  font-size: 50px;
  margin: 0 0 20px;
  font-weight: bold;
}

footer.footer .social {
  display: flex;
}

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

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

footer.footer .social li a:hover .fa-facebook-f {
  color: #1877f2;
}

footer.footer .social li a:hover .fa-twitter {
  color: #1da1f2;
}

footer.footer .social li a:hover .fa-youtube {
  color: #ff0000;
}

footer.footer .col p {
  line-height: 2;
  color: #b9b9b9;
}

footer.footer .links li {
  padding: 15px 0;
}

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

footer.footer .links li a {
  display: block;
  color: #b9b9b9;
  transition: .3s;
}

footer.footer .links li:hover a {
  color: white;
  padding-left: 10px;
}

footer.footer .links li a::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f101';
  font-weight: 900;
  margin-right: 10px;
  color: var(--primary);
}

footer.footer .line li {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

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

footer.footer .line li span {
  line-height: 1.7;
  flex: 1;
  color: #b9b9b9;
}

footer.footer img {
  width: 78px;
  height: 78px;
  border: 3px solid white;
  margin: 2px;
}

footer.footer .container > p {
  padding: 25px 0;
  text-align: center;
  color: white;
  margin: 50px 0 0;
  border-top: 1px solid #444;
}

footer.footer .container > p i {
  color: red;
}

footer.footer .container > p a {
  color: var(--primary);
}