@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0 5rem;
  background-color: rgba(7, 136, 136, 0.1);
  color: rgb(15, 15, 15);
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  padding: 0;
}
.wrapper {
  overflow: hidden;
}
header a {
  text-decoration: none;
}

header {
  background-color: #ffff;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  font-weight: bold;
  overflow: hidden;
}
.top-banner {
  background-color: #128ea7;
  color: white;
  text-align: center;
  width: 100%;
  padding: 0.625rem;
}
.top-banner > p {
  font-weight: 400;
  text-align: center;
  margin: 0;
}
nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 5rem;
}
#brand {
  font-weight: bold;
  font-size: 2rem;
  display: flex;
  align-items: center;
}

#brand a {
  color: #128ea7;
}
ul {
  list-style: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

ul a {
  color: black;
  text-decoration: none;
}

ul li:hover {
  transform: scale(1.1);
  transition: 0.3s;
}
.mobile-menu {
  padding-top: 1rem;
  display: none;
  top: 3.125rem;
  left: 0;
  width: 100%;
}

.open .mobile-menu {
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-menu li {
  margin-bottom: 0.625rem;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 2.188rem;
  height: 0.188rem;
  background-color: rgb(15, 15, 15);
  margin: 0.375rem 0;
  transition: 0.4s;
}
.input-btn > a {
  margin-top: 0.5rem;
}
.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}
/*buttons*/
button {
  background-color: #128ea7;
  font-size: 0.875rem;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: white;
  margin-top: 0.5rem;
}
button:hover {
  background-color: #fba719;
}

/*main*/
main {
  width: 100%;
  background: url(/Assets/Background.jpg) no-repeat center;
  background-size: cover;
  height: 28.125rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 5.4rem;
  overflow: hidden;
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 28.125rem;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 100%;
}
.hero > h1 {
  padding: 0 5rem;
}
.input-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.input-btn > #email {
  margin-right: 0.5rem;
}

/*Brands*/
.Brands {
  background-color: rgba(7, 136, 136, 0.1);
  padding: 2.5rem 1.25rem 2.5rem 1rem;
}

.brands {
  height: 4rem;
  width: 4rem;
}
/*socials*/

.socials {
  background-color: #128ea7;
  padding: 2.5rem;
  color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mission {
  padding: 0 1.25rem;
}

/*Services*/

.Services {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0;
  margin: 5rem 0;
  overflow: hidden;
}
.Services > h2 {
  padding-bottom: 1rem;
}
.service > img {
  width: 100%;
  height: auto;
 
}

.service {
  width: 100%;
  height: 27rem;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding-right: 0 1rem;
  margin-top: 2rem;
}
.info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1rem;
  width: 16rem;
  height: 11.125rem;
  position: relative;
}
/*.info > a {
  position: absolute;
  top: 13rem;
}*/

.filler {
  background-color: white;
  margin: 5rem 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/*grid*/
.grid {
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background-color: white;
  grid-gap: 1rem;
}
.grid > img {
  width: 12.5rem;
  height: 12.5rem;
  float: left;
  margin: 00.313rem;
  background-size: contain;
}
/*slider*/
.auto-slider {
  position: relative;
  box-sizing: content-box;
  display: inline-block;
  padding: 0.625rem 0.625rem 1.25rem;
  background: white;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}
div#slider {
  overflow: hidden;
}
div#slider figure img {
  height: 32rem; /* change it according to your needs */
  object-fit: contain; /* should be resized to fit its container */
  padding: 2rem;
  width: 11.11%;
  float: left;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}
div#slider figure {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 900%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 45s sliding ease infinite;
}
/* Slider indicator */
.indicator {
  width: 100%;
  max-width: 45rem;
  height: 00.375rem;
  background: #e41b17;
  position: absolute;
  bottom: 0;
  animation: indicating 5s ease infinite;
}
/* Slider indicator */
.indicator {
  width: 100%;
  max-width: 45rem;
  height: 00.375rem;
  background: #fba719;
  position: absolute;
  bottom: 0;
  animation: indicating 5s ease infinite;
}
@keyframes sliding {
  0% {
    left: 0%;
  }
  11.11% {
    left: -100%;
  }
  22.22% {
    left: -200%;
  }
  33.33% {
    left: -300%;
  }
  44.44% {
    left: -400%;
  }
  55.55% {
    left: -500%;
  }
  66.66% {
    left: -600%;
  }
  77.77% {
    left: -700%;
  }
  88.88% {
    left: -800%;
  }
  100% {
    left: 0%;
  }
}

@keyframes indicating {
  from {
    left: -100%;
  }
  to {
    left: 0;
  }
}

/*About*/
.About {
  background-color: white;
  margin: 5rem 0;
  padding: 2.5rem 1.25rem;
  overflow: hidden;
}
.About > h2 {
  text-align: center;
  padding-bottom: 1.25rem;
}
.aboutUs {
  display: flex;
  flex-direction: row;
}
.aboutUs > img {
  width: 32rem;
  height: 32rem;
  float: left;
}
.aboutUs > p {
  text-align: justify;
}

/*Footer*/
footer {
  background-color: #128ea7;
  padding: 2.5rem 1.25rem;
  color: white;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-top: 5rem;
  display: flex;
  flex-direction: row;
  justify-items: flex-start;
  align-items: center;
  overflow: hidden;
}
footer > p {
  margin: 1.25rem 0;
}

/* Add some padding and a grey background color to containers */
.container {
  background-color: rgba(255, 255, 255, 0.76);
  padding: 1.25rem;
  width: 50%;
  height: auto;
  color: black;
}

/* Style the input elements and the submit button */
input[type="text"],
input[type="submit"] {
  width: 50%;
  padding: 0.75rem;
  margin: 00.5rem 0;
  display: inline-block;
  border: 1px solid #e0dede;
  box-sizing: border-box;
  border-radius: 8px;
  color: black;
}

/* Add margins to the checkbox */
input[type="checkbox"] {
  margin-top: 1rem;
}

/* Style the submit button */
input[type="submit"] {
  background-color: #128ea7;
  color: white;
  border: none;
  border-radius: 8px;
}

input[type="submit"]:hover {
  background-color: #fba719;
}

.firstfooter {
  font-size: 0.875rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15rem;
  margin-bottom: 2rem;
}
.bottomnav {
  width: 100%;
}
.bottomnav > ul li > a {
  color: black;
  margin-right: 1rem;
  font-weight: 600;
}
.address {
  font-size: 0.875rem;
}
#p-address {
  margin-bottom: 3rem;
}
#p-footer {
  margin-top: 3rem;
}
#numbers {
  background: white;
  width: 100%;
  text-align: center;
  padding: 2.5rem;
}
#proof {
  width: 100%;
  height: auto;
  background-color: white;
  padding: 2rem;
}
.socialproof {
  width: 13rem;
  height: 13rem;
  border: 5px solid #128ea7;
  border-radius: 50%;
  padding: 4.2rem;
  animation: border 5s infinite linear;
  text-align: center;
}
.socialproof > h2 {
  color: #fba719;
}
.socialproof > p {
  font-weight: bolder;
}
.adicons {
  display: flex;
  flex-direction: row;
  margin-right: 0.5rem;
  padding: 0.5rem;
}
.adicons > i {
  margin-right: 0.5rem;
}

.sociallinks {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}

.sociallinks > ul > li > i {
  padding-right: 2rem;
}

footer > .container {
  margin-top: 3rem;
}
/*media queries*/

@media only screen and (min-width: 320px) and (max-width: 475px) {
  body {
    margin: 0 1rem;
  }
  header > nav {
    display: none;
  }
  .brands {
    height: 3rem;
    width: 3rem;
  }
  .brand-icon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .socialproof {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
  }
  .service{
    height: 33rem;
  }
  .info > a {
    position: absolute;
    top: 11rem;
  }
  .bottomnav {
    margin-bottom: 1rem;
  }
  .bottomnav > ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.5rem;
  }
  #proof{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/*Extra small devices(phones, 600px and down) */
@media only screen and (max-width: 600px) {
  #hamburger-icon {
    display: block;
  }
  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .Services {
    margin: 0.2rem 0;
  }
  .Services > h2 {
    padding-bottom: 0.5rem;
  }
  .socials {
    margin: 2.5rem 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .filler > a {
    margin-top: 1rem;
  }
  .auto-slider {
    display: none;
  }

  .filler {
    padding: 2.5rem;
    margin: 2.5rem 0;
  }
  .About {
    margin: 2.5rem 0;
  }
  .About > h2 {
    padding-bottom: 0;
  }
  .aboutUs > img {
    width: 15rem;
    height: 15rem;
    float: left;
  }
  .image > img {
    width: 25rem;
    height: 25rem;
  }
  .aboutUs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contact {
    margin-bottom: 2.5rem;
  }
  .contact-sec {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer {
    display: flex;
    flex-direction: column-reverse;
  }
  .lottie > img {
    width: 18rem;
    height: 18rem;
    margin-top: 0;
  }
  footer > .container {
    margin-top: 0rem;
  }
  .container {
    width: 100%;
  }

  .container1,
  .container2,
  .container3 {
    width: 100%;
  }
  .container1 > p {
    margin-bottom: 0.5rem;
  }

  .firstfooter {
    display: flex;
    flex-direction: column;
    height: rem;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
  }
  .firstfooter > .sociallinks {
    height: 2rem;
  }
  .sociallinks > ul > i {
    display: flex;
    flex-direction: row;
  }

  #p-address {
    margin-bottom: 1.5rem;
  }
  #p-footer {
    margin-top: 1.5rem;
  }
  #proof {
    width: 100%;
    height: auto;
    margin: 0 0 5rem 0;
    background-color: white;
  }
  .socialproof {
    width: 13rem;
    height: 13rem;
    border: 5px solid #128ea7;
    border-radius: 50%;
    padding: 4.2rem;
    animation: border 5s infinite linear;
    text-align: center;
  }
}

/*Small devices(portrait tablets and large phones, 600px and up )*/
@media only screen and (min-width: 600px) {
  body {
    margin: 0 1.25rem;
  }
  nav {
    width: 100%;
    display: none;
  }

  #hamburger-icon {
    display: block;
  }
  .Services {
    margin: 2.5rem 0;
  }
  #mainservices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    padding: 2.5rem 1.25rem;
  }
  .info > a {
    position: absolute;
    top: 13rem;
  }

  .filler {
    padding: 2.5rem;
    margin: 2.5rem 0;
  }
  .About {
    margin: 2.5rem 0;
  }
  .aboutUs > img {
    width: 15rem;
    height: 15rem;
    float: left;
  }
  .image > img {
    width: 15rem;
    height: 15rem;
  }
  .contact {
    margin-bottom: 2.5rem;
  }
  footer {
    padding: 1rem;
    display: flex;
    flex-direction: column-reverse;
  }
  .container {
    width: 90%;
  }

  #proof {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin: 0 0 5rem 0;
    background-color: white;
    padding: 2rem;
    align-content: center;
    justify-content: center;
  }
  .socialproof {
    width: 10rem;
    height: 10rem;
    border: 5px solid #128ea7;
    border-radius: 50%;
    padding: 2rem;
    margin-left: 2rem;
    text-align: center;
  }
}

/*Medium devices(Landscape tablets,760px and up) */
@media only screen and (min-width: 726px) {
  body {
    margin: 0 5rem;
  }
  #mainservices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
  }
  .brand-icon{
    display: grid;
    grid-template-columns: repeat(6,1fr);
  }
  .info > a {
    position: absolute;
    top: 13rem;
  }
}

/*Large devices(laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #hamburger-icon {
    display: none;
  }

  .brand-icon {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-right: 2rem;
  }
  .Services {
    margin: 5rem 0;
  }
  .info > a {
    position: absolute;
    top: 9rem;
  }
  #mainservices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    padding: 5rem 2.5rem;
  }
  .filler {
    padding: 5rem;
    margin: 5rem 0;
  }
  .About {
    margin: 5rem 0;
  }
  .aboutUs > img {
    width: 20rem;
    height: 20rem;
    float: left;
  }
  .image > img {
    width: 20rem;
    height: 20rem;
  }

  .contact {
    margin-bottom: 5rem;
  }
  footer {
    padding: 2.5rem 1.25rem;
  }
  .container {
    padding: 1.25rem;
    width: 70%;
    height: auto;
  }
  #proof {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    margin: 0 0 5rem 0;
    background-color: white;
    padding: 6rem 0;
  }
  .socialproof {
    width: 13rem;
    height: 13rem;
    border: 5px solid #128ea7;
    border-radius: 50%;
    padding: 4rem;
    animation: border 10s infinite linear;
    text-align: center;
  }
  @keyframes border {
    0% {
      transform: rotate(0deg) translateY(100px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateY(100px) rotate(-360deg);
    }
  }
}

/*Extra large devices (large laptops and dektops, 12000px  and up) */
@media only screen and (min-width: 1200px) {
  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero > form {
    background-color: rgba(255, 255, 255, 0);
  }
  .brand-icon {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-right: 2rem;
  }
  .Services {
    margin: 5rem 0;
  }
  .info > a {
    position: absolute;
    top: 13rem;
  }
  #mainservices {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
    padding: 0;
  }

  .filler {
    padding: 5rem;
    margin: 5rem 0;
  }
  .About {
    margin: 5rem 0;
  }
  .aboutUs > img {
    width: 30rem;
    height: 30rem;
    float: left;
  }
  .image > img {
    width: 30rem;
    height: 30rem;
  }

  .contact {
    margin-bottom: 5rem;
  }
  footer {
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: row;
    width: 100%;
  }
  .container {
    padding: 1.25rem;
    width: 70%;
    height: auto;
  }

  #proof {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    margin: 0 0 5rem 0;
    background-color: white;
    padding: 6rem 0;
  }
  .socialproof {
    width: 13rem;
    height: 13rem;
    border: 5px solid #128ea7;
    border-radius: 50%;
    padding: 4rem;
    animation: border 10s infinite linear;
    text-align: center;
  }
  @keyframes border {
    0% {
      transform: rotate(0deg) translateY(50px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateY(50px) rotate(-360deg);
    }
  }
  .mobile-menu {
    display: none;
  }
  @media only screen and (min-width: 1440px){
    .info > a {
      position: absolute;
      top: 11rem;
    }
  }
  @media only screen and (min-width: 1600px){
    .service{
      height: 29rem;
    }
    
    .info > a {
      position: absolute;
      top: 11rem;
    }
  }
  @media only screen and (min-width: 1800px){
    .service{
      height: 31rem;
    }
    
    .info > a {
      position: absolute;
      top: 11rem;
    }
    
  }
  @media only screen and (min-width: 1920px){
    .service{
      height: 33rem;
    }
    
    .info > a {
      position: absolute;
      top: 11rem;
    }
  }
  @media only screen and (min-width: 2000px){
    .service{
      height: 33rem;
    }
    
    .info > a {
      position: absolute;
      top: 11rem;
    }
  }
}