/* CSS Document */

/*----------Gerenal CSS----------*/
html,
body{
  width: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  color: #555;
  /*font-family: sans-serif;*/
}

ul,ol{
  padding: 0;
  margin: 0;
  list-style: none;
}

a{
  text-decoration: none;
  color: inherit;
}

a:hover{
  text-decoration: none;
  color: inherit;
}

a:focus{
  text-decoration: none;
  color: inherit;
  outline: none;
}

img{
  max-width: 100%;
  max-height: 100%;
}

/*----------Selection Color----------*/

::-moz-selection {
  color: #fff;
  background-color: #ad343e;
}

::selection {
  color: #fff;
  background-color: #ad343e;
}

/*----------ScrollBar Design----------*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ad343e;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a0333c;
}

/*----------Back to Top----------*/

.back2top {
  position: fixed;
  z-index: 99;
  width: 60px;
  height: 60px;
  background: #ad343e;
  right: 30px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.back2top > i {
  font-size: 25px;
}

.back2top:hover {
  background-color: #a0333c;
  color: #ffffff;
}

.pt-top {
  padding-top: 85px !important;
}

/*----------Header----------*/

.nav-container {
  padding: 10px;
  background-color: #474747;
  border-bottom: 3px solid #ad343e;
  display: none;
  z-index: 9999;
}

.nav-img {
  width: 65px;
  align-self: center;
}

.nav-btn {
  align-self: center;
  border: 2px solid #ad343e;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  box-sizing: border-box;
  padding: 4px 4px 2px;
  color: #ad343e;
}

.nav-btn i{
  font-size: 24px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

nav ul {
  display: flex;
  justify-content: center;
  transition: 0.5s;
  background: rgba(13, 19, 23, 0.5);
}

nav ul li {

}

nav ul li a {
  display: block;
  padding: 20px;
  font-size: 18px;
  color: #ad343e;
  text-transform: uppercase;
  transition: 0.7s all ease;
  font-weight: 600;
}

nav ul li a:hover {
  background-color: #474747;
  color: #e0e0ce;
}

/*----------Home----------*/

.banner{
  min-height: 100vh;
  background: linear-gradient(rgba(154, 34, 34, 0.3),rgba(255, 255, 2555, 0.3)),
  url(../img/33.jpg) center/cover no-repeat fixed;
  /* background: linear-gradient(rgba(154, 34, 34, 0.3),rgba(251, 0, 0, 0.25)),
  url(../img/6.jpg) center/cover no-repeat fixed; */
  /*background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;*/
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.banner h1 {
  font-size: 50px;
  color: #0d1317;
  text-transform: uppercase;
}

.banner .and {
  color: #f5f3f5;
}

.banner h3 {
  font-size: 30px;
  color: #0d1317;
  text-transform: capitalize;
}

.banner-icons{
  padding: 20px;
}

.banner-icons a{
  font-size: 25px;
  background-color: #474747;
  display: inline-block;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  color: #f5f3f5;
  text-align: center;
  transition: 0.5s all;
  margin: 0 5px;
  line-height: 1.7;
}

.banner-icons a:hover{
  transform: translateY(-5px);
}

.banner-icons a i {
  vertical-align: middle;
  transition: 0.5s all;
}

.banner-icons a:hover i{
  color: #ad343e;
  transform: rotate(360deg);
}

/*----------Services----------*/

.services {
  min-height: 80vh;
  background: url(../img/metar.jpg) center/cover no-repeat;
  display: flex;
  align-items: center;
}

.services-center {
  width: 60%;
}

.service {
  color: #f5f3f5;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 40px 30px;
}

.service-icon {
  font-size: 50px;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  color: #f5f3f5;
  border: 3px solid #f5f3f5;
  text-align: center;
  margin: 0 20px 0 0;
  padding: 7px;
}

.service-text h3{
  text-transform: uppercase;
}

.service-text p{
  font-size: 18px;
  width: 90%;
  text-align: justify;
}

/*----------Projects----------*/

.projects {
  padding: 0 0 80px 0;
  background: #f5f3f5;
}

.projects-center {
  /*display: flex;
  flex-wrap: wrap;*/
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.project-title {
  padding: 25px 0;
}

.project-title h1{
  text-transform: uppercase;
  text-align: center;
  color: #474747;
  font-size: 45px;
}

.project-title .underline {
  text-align: center;
  background: #ad343e;
  height: 5px;
  width: 100px;
  margin: 10px auto;
}

.project {
  background: linear-gradient(rgba(0, 0, 0, 0.9),rgba(0, 0, 0, 0.9));
  overflow: hidden;
  height: 350px;
  /*flex: 0 0 calc(50%);*/
}

.project img {
  display: block;
  transition: 2s background;
  cursor: pointer;
  min-height: 100%;
  min-width: 100%;
}

.project img:hover {
  opacity: 0.3;
  animation-name: rotate;
  animation-duration: 5s;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
}

@keyframes rotate{
  0%{
    transform: scale(1.0) rotate(0deg);
  }
  25%{
    transform: scale(1.5) rotate(-15deg);
  }
  50%{
    transform: scale(1.5) rotate(15deg);
  }
  100%{
    transform: scale(1.0) rotate(0deg);
  }
}

/*----------About----------*/

.abouts {
  min-height: 100vh;
  background: url(../img/about.jpg) center/cover fixed no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card {
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 60px 40px;
  max-width: 50%;
  border-radius: 30px;
  margin: 50px 0;
}

.about-card h1 {
  text-transform: uppercase;
}

.about-card .fa-car {
  font-size: 60px;
  color: #ad343e;
  margin: 20px 0;
}

.about-card p {
  line-height: 1.5;
  max-width: 90%;
  text-align: justify;
  margin: 0 auto;
}

/*----------Filler----------*/

.filler {
  min-height: 60vh;
  background: url(../img/filler.jpg) center/cover fixed no-repeat;
}

/*----------Contact US----------*/

.contacts {
  min-height: 80vh;
  background: url(../img/contact.jpg) center/cover fixed no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.contact-card {
  flex: 0 0 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 40px 0;
  text-align: center;
}

.contact-card h1 {
  color: #f5f3f5; 
}

.contact-card form {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
}

.contact-card form:focus {
  outline: none;
}

.contact-card form input,
.contact-card form textarea {
  /*margin: 10px 0;*/
  margin: 10px 0 0 0;
  padding: 8px;
  border-radius: 5px;
  border: 4px solid #fff;
  font-size: 19px;
  transition: 0.3s all;
  /*font-weight: 600;*/
}

.contact-card form input:focus,
.contact-card form textarea:focus {
  /*border-bottom: 4px solid #ad343e;*/
  border-bottom: 4px solid #004085;
  outline: none;
}

.contact-card form input::placeholder,
.contact-card form textarea::placeholder {
  color: #0d1317;
}

.contact-card form button {
  border: 2px solid #f5f3f5;
  background: #ad343e;
  color: #f5f3f5;
  padding: 8px;
  font-size: 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.5s all;
  font-weight: 600;
  margin: 10px 0 0 0;
}

.contact-card form button:hover {
  border: 2px solid #ad343e;
  background: #f5f3f5;
  color: #ad343e;
}

.contact-card form button:focus {
  outline: none;
}

/*----------Footer----------*/

footer {
  background: #0d1317;
  padding: 50px 0;
  text-align: center;
}

.footer-icons a {
  font-size: 25px;
  display: inline-block;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  color: #ad343e;
  border: 2px solid #ad343e;
  text-align: center;
  transition: 0.5s all;
  margin: 0 5px;
  padding: 3px;
}

.footer-icons a:hover {
  border: 2px solid #f5f3f5;
  color: #f5f3f5;
  background: #ad343e;
}

footer p {
  color: #f5f3f5;
  font-size: 20px;
  margin: 6px 0 0 0;
}


/*----------Responsive----------*/

@media only screen and (max-width: 1024px){

  .services-center {
    width: 90%;
  }

  .service-text p{
    width: 100%;
  }

  .projects-center {
    grid-template-columns: repeat(3, 1fr);
  }

  .project {
    /*flex: 0 0 calc(33.3333%);*/
    /*height: auto;*/
    height: 250px;
  }

}

@media only screen and (max-width: 768px){

  .nav-container {
    display: flex;
    justify-content: space-between;
  }

  nav ul {
    display: none;
  }

  nav ul li a {
    display: block;
    background-color: #0d1317;
  }

  nav ul li a:hover {
    padding-left: 30px;
  }

  .services-center {
    width: 100%;
  }

  .service {
    margin: 20px 12px;
  }

  .service-text p{
    width: 100%;
  }

  .projects-center {
    grid-template-columns: 1fr 1fr;
  }

  .project {
    /*flex: 0 0 calc(50%);*/
  }

  .about-card {
    max-width: 90%;
    padding: 50px 30px;
    margin: 0;
  }

  .about-card p {
    max-width: 100%;
  }

}

@media only screen and (max-width: 576px){

  .about-card {
    padding: 50px 20px;
  }

}

@media only screen and (max-width: 425px){

  .service {
    margin: 30px 20px;
  }

  .service-icon {
    font-size: 35px;
    width: 80px;
    height: 80px;
    margin: 0 12px 0 0;
    padding: 5px;
  }

  .service-text h3{
    font-size: 22px;
  }

  .service-text p{
    font-size: 15px;
    font-weight: 600;
    margin: 0;
  }

  .projects-center {
    grid-template-columns: 1fr;
  }

  .project {
    /*flex: 0 0 calc(100%);*/
  }

  .about-card {
    padding: 40px 10px;
  }

}