@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

body {
  overflow-x: hidden;
  font-family: 'Lato', sans-serif;
  color: #505962;
}

.offset:before {
  display: block;
  content: "";
  height: 4rem;
  margin-top: -4rem;
}

/* Navigation */

.navbar {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  background-color: rgba(0, 0, 0, 0.6)!important;
}

.navbar-brand img {
  height: 3rem;
}

.navbar-nav li {
  padding-right: 0.7rem;
} 

.navbar-dark .navbar-nav .nav-link {
  color: white;
  padding-top: 0.8rem;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #189582;
}

/* Landing Page */

.home-inner {
  background-image: url(img/5.jpg);
}

.captions {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 38%;
  z-index: 1;
  color: white;
  text-transform: uppercase;
}

.captions h1 {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-shadow: 0.1rem 0.1rem 0.8rem black;
  padding-bottom: 1rem;
}

.captions h3 {
  font-size: 2rem;
  text-shadow: 0.1rem 0.1rem 0.5rem black;
  padding-bottom: 1.6rem;
}

.btn-lg {
  border-width: medium;
  border-radius: 0;
  padding: 0.6rem 1.3rem;
  font-size: 1.1rem;
}

.service i {
  color: #51A8B1;
}

/*============= COURSE SECTION =============*/

.narrow {
  width: 75%;
  margin: 1.5rem auto;
  padding-top: 2rem;
}

.narrow h1 {
    font-size: 2.4rem;
  }

.btn-secondary {
  border-width: medium;
  border-radius: 0;
  padding: .6rem 1.2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 1rem;
  border-color: #51A8B1;
  background-color: #51A8B1;
  color: white;
}
.btn-secondary:hover,
.btn-secondary:focus {
  border-color: #189582;
  background-color: #189582;
  color: white;
}

/*============= SERVICES SECTION =============*/

.jumbotron {
  margin-bottom: 0;
  padding: 2rem 0 3.5rem;
  border-radius: 0;
  }
h3.heading {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.9rem;
}

.heading-underline {
  width: 3rem;
  height: 0.2rem;
  background-color: #51A8B1;
  margin: 0 auto 2rem;
}

.service svg.svg-inline--fa {
  color: #51A8B1;
}

.service h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
}

.service p {
  font-size: 1.1rem;
}

/*============= METHOD SECTION =============*/

.fixed {
  background-image: url(img/redhead.jpg);
  z-index: -1;
}

.dark {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 7rem 2rem;
}

.fixed-background h3 {
  margin-bottom: 2rem;
}

.fixed-background p {
  margin-top: 1.5rem;
}

/*============= TESTIMONIAL SECTION =============*/

.testimonials img {
  width: 100%;
  border-radius: 50%;
}

blockquote .svg-inline--fa {
  color: #51A8B1;
  margin: 1rem;
}

.testimonials-hr {
  border-top: 0.5rems solid #51A8B1;
}

/*============= CONTACT SECTION =============*/

footer {
  background-color: #40474e;
  color: white;
  padding: 2rem 0 2rem;
  margin-top: 1rem;
}

footer img {
  height: 3rem;
  margin: 1.5rem 0;
}

footer a {
  color: white;
}

footer .svg-inline--fa {
  font-size: 1.6rem;
  margin: 1.2rem 0.5rem 0 0;
}

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

hr.socket {
  width: 100%;
  border-top: 0.2rem solid #666b71;
  margin-top: 3rem;
}


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

@media (max-width: 767px) {
  .captions h1 {
    font-size: 2.3rem;
    letter-spacing: 0.15rem;
    padding-bottom: 0.5rem;
  }
  
  .captions h3 {
    font-size: 1.2rem;
    padding-bottom: 1.2rem;
  }
  
  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 2rem;
  } 
  .btn-md {
    padding: 1rem 1.5rem;
    font-size: 2.5rem;
  } 
  .narrow h1 {
    font-size: 1.5rem;
  }
  .testimonials img {
    max-width: 40%;
  }
  

}

@media (max-width: 575px) {
  .captions h1 {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    padding-bottom: 0.25rem;
  }
  
  .captions h3 {
    font-size: 1rem;
    padding-bottom: 1rem;
  }
    .btn-lg {
    padding: 0.2rem 0.5rem;
    font-size: 0.50rem;
  } 
    .btn-md {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  } 
  .narrow h1 {
    font-size: 0.75rem;
  }
  .testimonials img {
    max-width: 30%;
  }
}

/* --Contact Section Start--*/
.contact .svg-inline--fa {
  font-size: 3rem;
  color: #51A8B1;
  padding-bottom: 0.5rem;
 }
 ul.contact-social{
  list-style-type: none;
  display: flex;
  max-width: 16rem;
  margin: 0rem auto;
  padding: 0;
}
ul.contact-social li {
  margin: 0px auto;
  font-size: 2rem;
  color: #51A8B1;
}
/* --Contact Section End--*/

/* --Contact Form Begin--*/
section{
  max-height: 57rem;
  width: 100%;
  background-color: aliceblue;
  padding-top: 1rem;
  display: flex;
  align-items: Center;
  justify-items: center;
  flex-direction: column;
}

.container-form{
  width: 50%;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0px 0px 25px #000010;
  background-color: white;
  border-radius: 8px;
  padding-bottom: 20px;
}

.form-group{
  width: 100%;
  margin-top: 20px;
  font-size: 20px;
}

.form-group input,
.formgroup textarea{
  width: 100%;
  padding: 5px;
  font-size: 18px;
  border: 1px solid rgba(128, 128 128 0.199);
  margin-top: 5px;
}

textarea{
  width: 100%;
  resize: vertical;
}

/* --Contact Form Begin--*/

/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/