@import url('https://fonts.googleapis.com/css2?family=Goldman&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');



 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;

}

.top {
  position: fixed;
  right: 10px;
  bottom: 45px;
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
  transition: 0.5s;
}

.top a{
  color: #0044aa;
  font-size: 1.5rem;


}
.top.active{
  visibility: visible;
  opacity: 1;
}


.wrapper{
  width: 100%;
  height: auto;
  position: absolute;
  background-color: #f4f4f4ff;

}

header{
  width: 100%;
  height: 50px;
  background-image: url(img/bg1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

header  span {
  width: 10px;
  height: 20px;
  margin-left: 25px;

}

header  span i{
  width: 100%;
  height: 100%;
  color: white;
  font-size: 1.2rem;
}
header  span i:hover{

  color: lightblue;
}





nav{
  width: 100%;
  height: 120px;
  background-color: white;
  display: flex;
  justify-content: space-between;
}

nav .logo{
  width: 420px;
  height: 70px;

}

nav .logo img{
  width: 100%;
  height: 100%;
  margin-top: 22.5px;
  margin-left: 50px;
}

nav ul{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 80px;
  list-style: none;

}

nav ul li{
  font-size: 1.4rem;
  text-transform: uppercase;
}
nav ul li a{
  margin-right: 30px;
  text-decoration: none;
  color: #003380;
  font-family: 'Goldman';


}
nav ul li a:hover{
    color: #0044aa;
}


main{
  width: 100%;
  height: 400px;
  background-image: url(img/atbg1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main h2{
  position: relative;
  color: white;
  font-size: 2.2rem;
  background-color: rgba(0, 0, 0, 40%);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  line-height: 3rem;
  
}


section{
  margin-left: 5%;
  width: 90%;
  height: auto;
  background-color: #f4f4f4ff;
  margin-bottom: 50px;

}


section h2{
  text-align: center;
  font-size: 1.8rem;
  margin-top: 5rem;
  margin-bottom: 10px;
  color: #002255;

}

section h2::before{
  width: 20%;
  height: 2px;
 content: "";
 position: absolute;
 top: 670px;
 left: 10px;
 border-bottom: 2px solid #002255;
}

section h2::after{
  width: 20%;
  height: 2px;
 content: "";
 position: absolute;
 top: 670px;
 right: 10px;
 border-bottom: 2px solid #002255;
}

section .main-holder{
width: 100%;
height: auto;
display: flex;
margin-top: 3rem;
margin-bottom: 3rem;
opacity: 0;
transform: translateY(100px);
transition: 1s all ease-in-out;
}

section .main-holder.active{
opacity: 1;
transform: translateY(0px);
}

section .main-holder article{
margin: 4rem;

}

article{
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  align-items: center ;
}
article h3{
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #002255;
  margin-bottom: 2rem;
  letter-spacing: 0.09rem;
}

article i{
  font-size: 3rem;
  color: #0044aa;
  margin-bottom: 2rem;

}

article p{
  font-size: 1.3rem;
  color: #002255;
  margin-bottom: 1.2rem;
  line-height: 1.7rem;
  text-align: justify;

}

article a{
  font-size: 1.3rem;
  color: #002255;
  font-weight: bold;
  text-decoration: none;

}


.speed-contact{
  width: 100%;
  height: 150px;
  background-image: url(img/bg1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;

}

.speed-contact p{
  font-size: 1.7rem;
  color: white;
  font-family: 'Goldman';
}
.speed-contact a{
  font-size: 1.7rem;
  color: powderblue;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Goldman';
  margin-left: 10px;
}

.speed-contact a:hover{

  color: white;

}
.speed-contact i{
  font-size: 2.5rem;
  color: powderblue;
  margin-right: 2rem;
  margin-left: 2rem;
  animation: ani 2s infinite;

}
@keyframes ani {
  0% {
    transform: rotate(-40deg);
  }
  25% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-40deg);
  }
  75% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-40deg);
  }


}

.gallery{
  width: 100%;
  height: auto;
  background-color: #f4f4f4ff;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.gallery h3{
  padding-top: 6rem;
  font-size: 1.8rem;
  color: #002255;

}

.gallery h3::before{
  width: 20%;
  height: 2px;
 content: "";
 position: absolute;
 top: 120px;
 left: 10px;
 border-bottom: 2px solid #002255;
}

.gallery  h3::after{
  width: 20%;
  height: 2px;
 content: "";
 position: absolute;
 top: 120px;
 right: 10px;
 border-bottom: 2px solid #002255;
}

.img-container{
  width: 100%;
  height: auto;
  background-color: #f4f4f4ff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(100px);
  transition: 1s all ease-in-out;
}

.img-container.active{
opacity: 1;
transform: translateY(0px);
}

.img-container .zoom{
  width: 400px;
  height: 300px;
  margin: 20px;
  overflow: hidden;

}



.img-container .zoom img{
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: .6s ease;

}
.img-container .zoom:hover img{
  transform: scale(1.3);
}


.speed-media{
  width: 100%;
  height: 150px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;

}
.speed-media i{
  font-size: 2.5rem;
  color: #0044aa;
  margin-right: 3rem;
  animation: puls 2s infinite;

}
@keyframes puls {
  0% {
    transform: scale(1);
  }
  25% {
    transform:scale(1.2) ;
  }
  50% {
    transform:scale(1) ;
  }
  75% {
    transform: scale(1.2);
  }
  100% {
    transform:scale(1) ;
  }


}

.speed-media p{
  font-size: 1.7rem;
  color: #002255;
  font-family: 'Goldman';

}
.speed-media a{
  font-size: 1.7rem;
  color: #0044aa;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Goldman';
  margin-left: 10px;
  margin-right: 10px;
}

.speed-media a:hover{
  color: #002255;
}

.testemonials{
  width: 100%;
  height: auto;
  background-color: #f4f4f4ff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.testemonials .test p{
font-size: 1.1rem;
margin-left: 60px;
margin-right: 60px;
color: #002255;

}

.testemonials .test h4{
color: #002255;

}

footer{
  width: 100%;
  height: auto;
  background-image: url(img/bg1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

}

#contact h3{
  padding-top: 6rem;
  font-size: 1.8rem;
  color: white;
  text-align: center;

}

#contact h3::before{
  width: 20%;
  height: 1px;
 content: "";
 position: absolute;
 top: 122px;
 left: 10px;
 border-bottom: 1px solid white;
}

#contact  h3::after{
  width: 20%;
  height: 1px;
 content: "";
 position: absolute;
 top: 122px;
 right: 10px;
 border-bottom: 1px solid white;
}

#contact  h6{
font-size: 0.7rem;
padding-bottom: 2rem;
color: white;
text-align: center;
}


.contactBox {
  width:80%;
  margin-left: 10%;
  margin-top: 100px;
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.contactBox .logo1{
  width: 150px;
  height: 90px;
  margin-bottom:80px;

}
.contactBox .logo1 img{
  width: 100%;
  height: 100%;

}

.infoBox{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;

}
.infoBox h4{
  font-size: 1.8rem;
  text-transform: uppercase;
  color: white;
  font-weight: 200;
  margin-bottom: 10px;
}
.infoBox p{
  font-size: 1.2rem;
  color: white;
  font-weight: 200;

}
.telBox {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 100px;

}
.telBox span a{
font-size: 1.6rem;
color: white;
text-decoration: none;
}

.telBox span a:hover{
color: lightblue;
}

.telBox .tel{
  margin-bottom: 10px;
}

.socalIcon{
  margin-bottom: 100px;
}

.socalIcon span a{
  font-size: 1.5rem;
  color: white;
  margin-left: 30px;
}

.socalIcon span a:hover{
  color: lightblue;
}

@media all and (max-width: 1100px){
  nav{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    height: 140px;
  }
  nav .logo{
    width: 310px;
    height: 50px;

  }
  nav .logo img{
    width: 100%;
    height: 100%;
    margin-top:5px;
      margin-left: 0px;
  }
  nav ul li{
    font-size: 1rem;
    margin-top: 30px;
    margin-left: 0.5rem;
  }
  nav ul{
    margin-right: 0px;


  }
  nav ul li a{


  }
  main h2{
    font-size: 1.8rem;
    padding-right: 5%;
    padding-left: 5%;
    text-align: center;

  }
  section h2{

    font-size: 1.5rem;
    margin-top: 60px;
    margin-bottom: 10px;

  }
  section .main-holder{
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom:2rem;
  }
  section .main-holder article{
  margin: 2rem;

  }
  .speed-contact p{
    font-size: 1.5rem;

  }
  .speed-contact a{
    font-size: 1.4rem;
    margin-left: 10px;
  }


  .speed-contact i{
    font-size: 2rem;
    margin-right: 1rem;
    margin-left: 1rem;

  }
  .gallery h3{
    padding-top: 6rem;
    font-size: 1.5rem;
  }
  .speed-media p{
    font-size: 1.6rem;
    margin-left: 20px;

  }
  .speed-media a{
    font-size: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
  }
  .speed-media i{
    font-size: 2rem;
    margin-left: 10px;
    margin-right: 10px;


  }
  .testemonials{
    height: auto;
    flex-direction: column;
    margin-bottom: 30px;
  }
  .testemonials .test p{
  font-size: 1rem;
  margin: 30px;

  }

  .contactBox {
    width:80%;
    flex-direction: column;
    margin-top: 80px;
  }
  .contactBox .logo1{
    width: 120px;
    height: 80px;
    margin-bottom: 40px;
  }
  .infoBox{
    margin-bottom: 40px;
  }
  .infoBox h4{
    font-size: 1.5rem;
  }
  .infoBox p{
    font-size: 1rem;
  }
  .telBox {
  margin-bottom: 30px;

  }
  .telBox span a{
  font-size: 1.4rem;

  }
  #contact h3{
    padding-top: 5rem;
    font-size: 1.4rem;
  }
  .socalIcon{
    margin-bottom: 40px;
  }
  .socalIcon span a{
    font-size: 1.5rem;


  }
}
