* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
}

body {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}
.container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}
@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
}
.main {
  display: flex;
  flex-direction: column;
}
/*HOME*/

.header {
  box-shadow: 0 0 1px 0 #bbb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
}
.navMenu {
  display: flex;
  align-items: center;
}
.logo {
  margin-right: 100px;
}
.logo img {
  height: auto;
  width: 160px;
}
.navList {
  margin-left: auto;
}
.navList ul {
  display: flex;
}
.navList ul li {
  margin-left: 32px;
}
.navList ul li a {
  font-size: 16px;
  font-weight: 800;
  color: #3f3c56;
}
.navList ul li a:hover {
  color: #db4140;
}
.mobileMenu {
  display: none;
  flex-direction: column;
  margin-left: auto;
  position: relative;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor' width='24' height='24'%3E%3Cpath fill-rule='evenodd' d='M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.mobileMenu.active {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor' width='24' height='24'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
}
@media screen and (max-width: 480px) {
  .header {
    height: 50px;
  }
  .mobileMenu {
    display: flex;
  }
  .navList {
    position: fixed;
    left: 0;
    top: 50px;
    right: 0;
    bottom: 0;
    background-color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .navList.active {
    display: flex;
  }
  .navList ul {
    flex-direction: column;
  }
  .navList ul li {
    text-align: center;
    margin: 4px 0;
  }
}

.sliderContent {
  display: flex;
  margin-top: 100px;
}
.swiper {
  width: 100%;
  height: 600px;
  padding: 50px 0;
  text-align: center;
}
.swiper img {
  max-height: 100%;
  width: auto;
}
.swiper-button-next,
.swiper-button-prev {
  color: #db4140 !important;
}

@media screen and (max-width: 480px) {
  .sliderContent {
    margin-top: 60px;
  }
  .swiper {
    height: auto;
  }
  .swiper-button-next,
  .swiper-button-prev {
    --swiper-navigation-size: 20px;
  }
}

/*SERVICES*/

#services h1 {
  margin-top: 75px;
  font-size: 40px;
}
.servicesImg {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 50px 0px;
}
.servicesItem {
  border: solid 2px #3f3c56;
  width: calc(calc(100% / 6) - 16px);
  padding: 16px;
  margin-right: 8px;
}
.servicesItem .img {
  display: flex;
  justify-content: center;
}
.img img-frst {
  display: block;
}
.img-second {
  display: none;
}
.servicesItem:hover .img-frst {
  display: none;
}
.servicesItem:hover .img-second {
  display: block;
}
.servicesItem hr {
  width: 20px;
  height: 3px;
  background: #000;
  margin-top: 32px;
  margin-bottom: 8px;
  border: none;
}
.servicesItem h2 {
  font-size: 18px;
}
.servicesItem:hover {
  background-color: #db4140;
  border: solid 2px #fff;
}
.servicesItem:hover h2 {
  color: #fff;
}
.servicesItem:hover hr {
  background-color: #fff;
}

@media screen and (max-width: 480px) {
  #services h1 {
    margin-top: 24px;
  }
  .servicesImg {
    margin: 24px 0px;
  }
  .servicesItem {
    width: calc(50% - 16px);
    margin-bottom: 16px;
  }
}

/*ABOUT*/

#about {
  background-color: #db4140;
}

.about-wrap {
  display: flex;
  padding: 15px 0;
}

.aboutText {
  padding-right: 40px;
  width: 50%;
}
.aboutText h1 {
  font-size: 40px;
  margin: 50px 0px;
  color: #fff;
}
.aboutText p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
.aboutText p + p {
  margin-top: 50px;
}
.aboutImg {
  width: 50%;
  padding: 0 32px;
}

.aboutImg img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
  width: 100%;
}

@media screen and (max-width: 480px) {
  .about-wrap {
    flex-direction: column-reverse;
  }
  .aboutText {
    padding-right: 0;
    width: 100%;
    text-align: center;
  }
  .aboutImg {
    width: 100%;
    padding: 0;
  }
  .aboutImg img {
    border-radius: 50%;
    overflow: hidden;
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
  .aboutText h1 {
    margin: 24px 0;
  }
  .aboutText p + p {
    margin-top: 24px;
  }
}

/*PROJECTS*/
#projects {
  background-color: #db4140;
}
.projectsMain {
  height: 600px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}
.projectsMain h1 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 50px;
}
.projectsSlider {
  height: 400px;
  background-color: #ed4852;
}
/*CLIENTS*/

.clientsMain {
  display: flex;
  flex-wrap: wrap;
  margin-top: 100px;
}
.clientsItem {
  width: calc(25% - 30px);
  margin: 15px;
  background-color: #f8f8fa;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.clientsItem-first {
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.clientsItem img {
  max-width: 100%;
  height: auto;
}
.clientsItem-first h1 {
  color: #3f3c56;
  font-size: 40px;
  margin: auto;
}
.clientsItem-first hr {
  margin-top: 75px;
  margin-right: 100px;
  height: 3px;
  background: #db4140;
  border: none;
}
.clientsItem-first h2 {
  margin: 25px 0px;
}
.clientsItem-first h2 a {
  color: #db4140;
  font-size: 25px;
}
@media screen and (max-width: 480px) {
  .clientsMain {
    margin-top: 24px;
  }
  .clientsItem-first {
    text-align: center;
    width: 100%;
  }
  .clientsItem-first hr {
    margin: 16px auto;
    width: 30%;
  }
  .clientsItem-first h2 {
    margin: 16px 0;
  }
  .clientsItem {
    width: calc(50% - 16px);
    margin: 8px;
    padding: 16px;
  }
  .clientsItem img {
    max-width: 80%;
  }
}
/* CONTACT */
#contact {
  margin-top: 32px;
}
.contactMain {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contactText {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.contactText h1 {
  font-size: 40px;
  margin-top: 50px;
}
.contactabout {
  margin: 32px 0;
}
.contactItems {
  display: flex;
  margin-top: 16px;
}
.contactItems h3 {
  font-size: 1.125rem;
  line-height: 1.4;
}
.contactItems p {
  color: #db4140;
  margin-left: 8px;
}
.contactItems a {
  color: #db4140;
}

#contactBox {
  display: flex;
  flex-direction: column;
  width: 50%;
  background-color: #ed4852;
  padding: 32px;
  box-shadow: 0 14px 25px rgb(0 0 0 / 16%);
  margin-bottom: -130px;
}
#contactBox h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 32px;
}
#contactBox p {
  margin: 8px 0;
  color: #fff;
}
#contactBox select {
  background-color: #ed4852;
  color: #fff;
  padding: 20px;
  border: 1px solid #fff;
  font-size: 20px;
  /* appearance: none; */
  border-radius: none;
}
#contactBox select option {
  color: #fff;
  font-size: 20px;
}
#contactBox input {
  margin-top: 32px;
  height: 55px;
  background-color: #ed4852;
  padding: 0 20px;
  border: 1px solid #eaecf0;
  color: #fff;
  outline: none;
}
#contactBox ::placeholder {
  color: #fff;
  font-size: 20px;
}

#contactbox button {
  background-color: #fff;
  height: 55px;
  width: 200px;
  margin-top: 32px;
  border: 1px solid #fff;
  outline: none;
  color: #000000;
}
#contactbox a {
  font-weight: 800;
  font-size: 16px;
  padding: 20px 72px;
}

@media screen and (max-width: 480px) {
  .contactText {
    width: 100%;
    margin-bottom: 24px;
  }
  #contactBox {
    width: 100%;
    margin-bottom: 24px;
  }
}

/* FOOTER */

.footer {
  background-color: #db4140;
  padding-bottom: 24px;
}
.footerNav {
  display: flex;
}
.footerNav ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 75px;
}
.footerNav ul li {
  margin: 0 32px 0px 0px;
  font-size: 16px;
}
.footerNav ul li a {
  color: #fff;
  font-weight: 800;
}
.footerLogo {
  margin-top: 50px;
  display: flex;
  align-items: center;
}
.footerAbout {
  width: 50%;
}
.footerAbout img {
  height: auto;
  width: 160px;
}
.footerSocial {
  color: #fff;
  padding-left: 30px;
}
.footerSocial a {
  margin: 0px 8px;
}
#contactBox .contactMessage {
  height: 100px;
}

@media screen and (max-width: 480px) {
  .footerNav ul {
    margin-top: 16px;
  }
  .footerNav ul li {
    margin: 8px 8px 0px 0px;
  }
  .footerLogo {
    margin-top: 12px;
  }
  .footerNav ul {
    display: flex;
    flex-direction: column;
  }
}
