/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
:root {
  --main-color: #a80018;
  --main-color-alt: #1787e0;
  --main-transition: 0.3s;
  --main-padding-top: 25px;
  --main-padding-bottom: 25px;
  --section-background: #ececec;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Cairo", sans-serif; 
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
.main-title {
  text-transform: uppercase;
  margin: 0 auto 80px;
  border: 2px solid var(--main-color);
  border-radius:10px;
  padding: 10px 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:#b9b9b9;
  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;
}
.main-title:hover {
  color: white;
  border: 2px solid white;
  transition-delay: 0.5s;
}
.main-title .IMG:hover {
  color: white;
  border: 2px solid white;
  transition-delay: 0.5s;
}

.dots {
  background-image: url("../img/slider/dots.png");
  height: 186px;
  width: 204px;
  background-repeat: no-repeat;
  position: absolute;
}
.dots-up {
  top: 40px;
  right: 0;
}
@media (max-width: 991px) {
  .Slider .dots-up {
    display: none;
  }
}
.dots-Lup {
  top: 40px;
  left: 0;
}
.dots-down {
  bottom: 100px;
  left: 0;
}
.dots-Rdown {
  bottom: 100px;
  right: 0;
}
/* End Global Rules */
/* Start Header */
.header {
	display:block;
  background-color: white;
  position: relative;
  -webkit-box-shadow: 0 0 10px #ddd;
  -moz-box-shadow: 0 0 10px #ddd;
  box-shadow: 0 0 10px #ddd;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
.header .logo {
  height: 72px;
  display: flex;
  justify-content: left;
  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 > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  position: relative;
  color: black;
  padding: 0 10px;
  overflow: hidden;
  font-size: 18px;
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .header .main-nav > li > a {
    padding: 7px;
    font-size: 10px;
    height: 40px;
  }
}
.header .main-nav > li > a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--main-color);
  bottom: 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;
}
/* End Header */
/* Start Slider */
.Slider {
  position: relative;
}
.Slider::before {
  content: "";
  position: absolute;
  left: 0;
  top: -40px;
  width: 100%;
  height: 100%;
  background-color: #ececec;
  z-index: -1;
  transform: skewY(-6deg);
  transform-origin: top left;
}
.Slider .container {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}
.Slider .text {
  flex: 1;
}
@media (max-width: 991px) {
  .Slider .text {
    text-align: center;
  }
}
.Slider .text h1 {
  font-size: 40px;
  padding-top: 30px;
  margin-top: 30px;
  letter-spacing: -2px;
  text-align: center;
}
@media (max-width: 767px) {
  .Slider .text h1 {
    font-size: 28px;
  }
}
.Slider .text h2 {
   margin-top: 90px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 767px) {
  .Slider .text h2 {
    font-size: 28px;
  }
}
.Slider .text h3 {
  font-size: 40px;
  font-family: 'Righteous';
  color: #a80018;
  line-height: 1;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
}
@media (max-width: 767px) {
  .Slider .text h3 {
    font-size: 28px;
  }
}
.Slider .text p {
  font-family: "Roboto";
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
}
@media (max-width: 991px) {
  .Slider .text p {
    margin: 10px auto;
  }
}
@media (max-width: 767px) {
  .Slider .text p {
    font-size: 18px;
  }
}
.Slider .image img {
  position: relative;
  width: 600px;
  animation: up-and-down 5s linear infinite;
}
@media (max-width: 991px) {
  .Slider .image {
    display: none;
  }
}
.Slider .hand-down {
  color: var(--main-color);
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--main-transition);
}
.Slider .hand-down:hover {
  color: var(--main-color-alt);
}
.Slider .hand-down i {
  animation: bouncing 1.5s infinite;
}
/* End Slider */

/* Start about */
.about {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
}
.about .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.about .box {
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 4px rgb(168 0 24 / 20%);
  border: solid var(--main-color);
  border-radius:20px;
  position: relative;
}
.about .box img {
  position: absolute;
  top: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--main-color);
}
.about .box h3 {
  margin: 0 0 10px;
  text-align:center;
}
.about .box .title {
  color: #777;
  margin-bottom: 10px;
  display: block;
}
.about .box .rate .filled {
  color: #ffc107;
}
.about .box p {
  line-height: 1.5;
  color: #777;
  margin-top: 10px;
  margin-bottom: 0;
}
.about .box p >i {
   color: var(--main-color);
}
/* End about */

/* Start Services */
.Services {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  background-color: var(--section-background);
}
.Services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.Services .box {
  text-align: center;
  border: 1px solid #ccc;
}
.Services .box .img-holder {
  position: relative;
  overflow: hidden;
}
.Services .box:hover {
 background-color: rgb(1 51 51 / 60%);
 
}
.Services .box .img-holder::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 100%;
}
.Services .box .img-holder::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0px 0px 100px 250px;
  border-color: transparent transparent white transparent;
  transition: var(--main-transition);
}
.Services .box .img-holder img {
  max-width: 100%;
}
.Services .box:hover .img-holder::after {
  border-width: 170px 500px 170px 0;
}
.Services .box h2 {
  position: relative;
  font-size: 30px;
  margin-top: 10px;
  margin-left: 25px;
  width: fit-content;
  color:black;
}
.Services .box h2::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 15px;
  height: 5px;
  width: calc(100% - 30px);
}
.Services .box p {
  line-height: 2;
  font-size: 20px;
  margin: 30px 0;
  padding: 25px;
  color: black;
}
.Services p:hover {
  color: white;
}
.Services h2:hover {
  color: white;
}
.Services .supplying .img-holder::before {
  background-color: rgb(168 0 24 / 60%);
}
.Services .supplying .img-holder:hover::before {
  background-color: rgb(168 0 24 / 0%);
}
.Services .supplying h2::after {
  background-color: #A80018;
}

.Services .install .img-holder::before {
  background-color: rgb(112 184 6 / 60%);
}
.Services .install .img-holder:hover::before {
  background-color: rgb(112 184 6 / 0%);
}
.Services .install h2::after {
  background-color: #70B806;
}

.Services .Maintenance .img-holder::before {
  background-color: rgb(3 169 244 / 60%);
}
.Services .Maintenance .img-holder:hover::before {
  background-color: rgb(3 169 244 / 0%);
}
.Services .Maintenance h2::after {
  background-color: #03a9f4;
}

.Services .Consultation .img-holder::before {
  background-color: rgb(1 51 51 / 60%);
}
.Services .Consultation .img-holder:hover::before {
  background-color: rgb(1 51 51 / 0%);
}
.Services .Consultation h2::after {
  background-color: #013333;
}

/* End Services */

/* Start Dept */
.Dept {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  
}
.Dept .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.Dept .box {
  position: relative;
}
.Dept .box::before,
.Dept .box::after {
  content: "";
  background-color: #f3f3f3;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 10px;
  transition: var(--main-transition);
}
.Dept .box::before {
  width: calc(100% - 60px);
  z-index: -2;
}
.Dept .box::after {
  z-index: -1;
background-color: rgb(1 51 51 / 60%);
  width: 0;
}
.Dept .box:hover::after {
  width: calc(100% - 60px);
  filter: var(--main-color);
}
.Dept .box .data {
  display: flex;
  align-items: center;
  padding-top: 60px;
}
.Dept .box .data img {
  width: calc(100% - 60px);
  transition: var(--main-transition);
  border-radius: 10px;
}
.Dept .box:hover img {
  filter: var(--main-color);
}
.Dept .box .info {
  padding-left: 80px;
}
.Dept .box .info h3 {
  margin-bottom: 0;
  color: var(--main-color);
  font-size: 22px;
  transition: var(--main-transition);
}
.Dept .box .info p {
  margin-top: 10px;
  margin-bottom: 25px;
}

/* End Dept */

/* Start Systems */
.Systems {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
background-color: var(--section-background);
}
.Systems .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
.Systems .box {
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--main-transition), box-shadow var(--main-transition);
}
.Systems .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
}
.Systems .box img {
  width: 100%;
  max-width: 100%;
}
.Systems .box .content {
  padding: 20px;
}
.Systems .box .content h3 {
  margin: 0;
}
.Systems .box .content p {
  margin: 10px 0 0;
  line-height: 1.5;
  color: #777;
}
.Systems .box .info {
  padding: 20px;
  border-top: 1px solid #e6e6e7;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.Systems .box .info a {
  color: var(--main-color);
  font-weight: bold;
}
.Systems .box .info i {
  color: var(--main-color);
}
.Systems .box:hover .info i {
  animation: moving-arrow 0.6s linear infinite;
}
/* End Systems */



/* Start clients */
.clients {
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  
  
}
.clients .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 40px;
}
.clients .box {
  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;
}
.clients .box::before {
  content: "";
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  top: -3px;
  background-color: var(--main-color);
  position: absolute;
  width: 0;
  transition: var(--main-transition);
}
.clients .box:hover {
  transform: translateY(-10px);
}
.clients .box:hover::before {
  width: 100%;
}
.clients .box > img {
  margin: 30px auto 20px;
  display: block;
  align-items:center;
  color: #d5d5d5;
}
.clients .box > h3 {
  text-align: center;
  margin: 20px 0 40px;
  font-size: 15px;
  color: var(--main-color);
}
.clients .box .info {
  padding: 15px;
  position: relative;
  background-color: #f9f9f9;
  text-align: right;
}
.clients .box .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: 30px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 15px;
}
.clients .box .info::after {
  content: "";
  position: absolute;
  background-color: #013333;
  top: 0;
  left: 80px;
  width: 50px;
  height: calc(100% + 0.4px);
  transform: skewX(-30deg);
}
.clients .box .info a {
  color: var(--main-color);
}
/* End Clients */


/* Start Request */
.Request {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--section-background);
}
.Request .image {
  background-image: url(../imgs/discount-background1.jpg);
  background-size: cover;
  color: white;
  flex-basis: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: change-background 10s linear infinite;
}
.Request .image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(23 135 224 / 97%);
  z-index: -1;
}
@media (max-width: 991px) {
  .Request .image {
    flex-basis: 100%;
  }
}
.Request .form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 50%;
  padding-bottom: 50px;
}
@media (max-width: 991px) {
  .Request .form {
    flex-basis: 100%;
  }
}
.Request .form .input {
  display: block;
  width: 100%;
  margin-bottom: 25px;
  padding: 15px;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: #f9f9f9;
  caret-color: var(--main-color);
}
.Request .form textarea.input {
  resize: none;
  height: 200px;
}
.Request .form .input:focus {
  outline: none;
}
.Request .form [type="submit"] {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: var(--main-transition);
}
.Request .form [type="submit"]:hover {
  background-color: var(--main-color-alt);
}
.Request .content {
  text-align: center;
  padding: 0 20px;
}
.Request .content h2 {
  font-size: 40px;
  letter-spacing: -2px;
}
.Request .content p {
  line-height: 1.6;
  font-size: 18px;
  max-width: 500px;
}
.Request .content img {
  width: 300px;
  max-width: 100%;
}
/* End Request */
/* Start Footer */
.footer {
  background-color: #013333;
  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: 25px;
  margin: 0 0 20px;
}

.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: white;
}
.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; 
}
.footer .box .line a:hover {
  color: white;
}
.footer .box .line a {
  color: #b9b9b9;
  transition: var(--main-transition);
}
@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 white;
  margin: 2px;
}
.footer .copyright {
  padding: 25px 0;
  text-align: center;
  color: white;
  margin: 50px 0 0;
  border-top: 1px solid #444;
}
/* End Footer */
/* Start Animation */
@keyframes up-and-down {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -50px;
  }
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  60% {
    transform: translateY(-15px);
  }
}
@keyframes left-move {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }
  100% {
    left: 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%;
  }
}
@keyframes moving-arrow {
  100% {
    transform: translateX(10px);
  }
}
@keyframes flashing {
  0%,
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}

/* End Animation */
