/*-- Body Reset --*/
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  display: grid;
}
body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: #3c3c3c;
  position: relative;
}

.border-primary {
  border-top: 0.2rem solid #4e9eed !important;
}

/*============= TOP BAR HEADER =============*/
.top-bar {
  background: #4e9eed;
  height: 3.8rem !important;
  padding: 0.5rem 0;
  text-align: right;
  padding-right: 5%;
  color: white;
}

.top-bar a {
  text-decoration: none;
  font-size: 2rem;
  padding-left: 1%;
  font-weight: bolder;
  width: auto;
  padding: 0.4rem;
  color: white !important;
  margin-left: 0.5rem;
  border-radius: 5px;
  height: 20px;
}

.top-bar a:hover {
  color: black !important;
}
/*============= LOGO =============*/

.logo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 12rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

/*============= CAROUSEL =============*/
#carousel {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
}

.carousel-inner {
  max-height: 40rem !important;
}
/*---Change Carousel Transition Speed --*/

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform 0.5s ease;
}

p {
  size: 10rem !important;
}

/*============= Table =============*/
  th {
    background-color: #4e9eed;
    color: white;
  }

/*===== FIXED BACKGROUND IMG =====*/
.fixed {
  background-image: url(../img/bg-img.jpg);
  position: fixed;
}

.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1000 !important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
.fixed {
  z-index: -999 !important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.fixed-background {
  overflow: hidden; /*-- Correction for iOS --*/
  padding: 10rem 0rem;
}

/*===== GALLERY =====*/

/*============= Contact Us Form =============*/
.contacth1 a {
  color: #4e9eed  ;
}

.contacth1 a:hover {
  color: rgb(1, 22, 46);
}

.contacth1 {
  background-color: rgba(63, 184, 231, 0.089);
  padding: 2rem;
  border-radius: 20px;
}

/*Reviews*/
a{
  text-decoration: none;
}
#testimonials{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width:100%;
}
.testimonial-heading{
  letter-spacing: 1px;
  margin: 30px 0px;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat";
}
.testimonial-heading h1{
  padding: 10px 20px;
  font-family: "Montserrat";
  border-radius: 1rem;
}
.testimonial-heading span{
  font-size: 1.3rem;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Montserrat";
}
.testimonial-box-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width:100%;
}
.testimonial-box{
  width:500px;
  box-shadow: 2px 2px 30px rgba(0,0,0,0.1);
  background-color: #ffffff;
  padding: 20px;
  margin: 15px;
  cursor: pointer;
}
.profile-img{
  width:50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}
.profile-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile{
  display: flex;
  align-items: center;
  font-family: "Montserrat";
}
.name-user{
  display: flex;
  flex-direction: column;
  font-family: "Montserrat";
}
.name-user strong{
  color: #3d3d3d;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.name-user span{
  color: #979797;
  font-size: 0.8rem;
  font-family: "Montserrat";
}
.reviews{
  color: #f9d71c;
}
.box-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.client-comment p{
  font-size: 0.9rem;
  color: #4b4b4b;
  font-family: "Montserrat";
}
.testimonial-box:hover{
  transform: translateY(-10px);
  transition: all ease 0.3s;
}

@media(max-width:1060px){
  .testimonial-box{
      width:45%;
      padding: 10px;
  }
}
@media(max-width:790px){
  .testimonial-box{
      width:100%;
  }
  .testimonial-heading h1{
      font-size: 1.4rem;
  }
}
@media(max-width:340px){
  .box-top{
      flex-wrap: wrap;
      margin-bottom: 10px;
  }
  .reviews{
      margin-top: 10px;
  }
}
::selection{
  color: #ffffff;
  background-color: #252525;
}


/*============= FOOTER =============*/
footer {
  background-color: #4e9eed;
  padding: 1rem 2rem 3rem;
}

footer p,
footer a,
.socket a {
  color: white;
  text-decoration: none;
}

ul.social {
  list-style-type: none;
  display: flex;
  max-width: 8rem;
  margin: 0 auto;
  padding: 0;
}

ul.social li {
  margin: 0 auto;
}

footer .svg-inline--fa {
  font-size: 2.3rem;
}

footer .svg-inline--fa:hover {
  color: #dce1e5 !important;
}

.footerimg {
  height: auto;
  width: 100%;
}

/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 600.98px) {
  .carousel-caption h1 {
    font-size: 2.8rem;
  }

  .carousel-caption h3 {
    font-size: 1.8rem;
  }
}

/* Devices under 992px (lg) */
@media (max-width: 500.98px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .carousel-caption h3 {
    font-size: 1.5rem;
  }

  .btn-lg {
    font-size: 0.95rem;
  }

  .logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 8rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .top-bar {
    background: #4e9eed;
    height: 2.8rem;
    padding: 0.5rem 0;
    text-align: right;
    padding-right: 5%;
    color: white;
    font-size: 1.1rem;
  }

  .top-bar a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding-left: 1%;
    font-weight: bolder;
  }

  .top-bar a:hover {
    color: #dce1e5;
  }

  .footerimg {
    height: auto;
  }

  .contacth1 a {
    color: #4e9eed;
    font-size: 1.1rem;
  }

  .contacth1 a:hover {
    color: gray;
  }

  .contacth1 {
    background-color: rgba(63, 184, 231, 0.089);
    padding: 2rem;
    border-radius: 20px;
    font-size: 1.1rem;
  }

  /*-- Bootstrap Mobile Gutter Fix --*/
  .row,
  .container-fluid {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  /*-- Fixed Background Image --*/
  .fixed-background {
    position: relative;
    width: 100%;
    z-index: 1000 !important;
  }
  .fixed-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999 !important;
  }
  .fixed {
    z-index: -999 !important;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #4e9eed; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 10px; /* Some padding */
  border-radius: 5px; /* Rounded corners */
  font-size: 13px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* CSS written by Brandon O'Brien */
