#mainNav {
    min-height: 3.5rem;
    background-color: #fff;
  }
  #mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: #3f4d78;
    border: 1px solid #3f4d78;
  }
  #mainNav .navbar-toggler:focus {
    outline: none;
  }
  #mainNav .navbar-brand {
    color: #000000;
    font-weight: 700;
    /* padding: 0.9rem 0; */
    width: 73%;
  }
  #mainNav .navbar-nav .nav-item:hover {
    color: fade(#fff, 80%);
    outline: none;
    background-color: transparent;
  }
  #mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
    outline: none;
    background-color: transparent;
  }
  @media (min-width: 992px) {
    #mainNav {
      padding-top: 0;
      padding-bottom: 0;
      border-bottom: none;
      background-color: transparent;
      transition: background-color 0.3s ease-in-out;
    }
    #mainNav .navbar-brand {
      background-color: #3f4d78;
      width: 27%;
      padding: 0.5rem 0;
      font-size: 30px;
      color: #fff;
      border-radius: 50px;
      /* text-shadow: -2px 2px 0px #e0e0e0; */
    }
    #mainNav .nav-link {
      background-size: 100% 200%;
      background-image: linear-gradient(to bottom, transparent 50%, #3f4d78 50%);
      transition: background-position 0.5s;
      padding: 2rem 1.5rem;
      color: rgb(255, 255, 255);
    }
    #mainNav .nav-link:hover {
      background-position: 0 -100%;
      color: rgba(255, 255, 255, 0.75);
    }
    #mainNav .nav-link:active {
      color: #fff;
    }
    #mainNav.navbar-shrink {
      background-color: #fff;
    }
    #mainNav.navbar-shrink .navbar-brand {
      background-color: #ffff;
      color: #000000;
    }
    #mainNav.navbar-shrink .nav-link {
      color: #000000;
      padding: 2.6rem 1.5rem 1.25rem;
      /* border-bottom: 0.25rem solid transparent; */
    }
    #mainNav.navbar-shrink .nav-link:hover {
      color: #fff;
    }
    #mainNav.navbar-shrink .nav-link:active {
      background-color: #3f4d78;
      color: #467370;
    }
    #mainNav.navbar-shrink .nav-link.active {
      background-color: #3f4d78;
      color: #fff;
      outline: none;
      /* border-bottom: 0.25rem solid #3f4d78; */
    }
  }
  
  .btn {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 0.55rem 1.6rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: 0;
  }
  
  .masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000000 100%), url("../img/bg-masthead.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
  }
  .masthead h1 {
    /* font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
    color: #fff;
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.8rem;
  }
  .masthead h2 {
    color: #fff;
    max-width: 20rem;
    font-size: 1rem;
  }
  
  .masthead .welcome {
    transition: 1s !important;
  }
  
  
  @media (min-width: 768px) {
    .masthead h1 {
      font-size: 4rem;
      line-height: 4rem;
    }
  }
  @media (min-width: 992px) {
    .masthead {
      height: 100vh;
      padding: 0;
    }
    .masthead h1 {
      font-size: 4.5rem;
      line-height: 6.5rem;
      letter-spacing: 0.8rem;
    }
    .masthead h2 {
      max-width: 30rem;
      font-size: 1.25rem;
    }
  }
  
.about-section {
    padding-top: 10rem;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 75%, #000000 100%), url("../img/bg-onas.jpg");
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
  }
  .about-section p {
    margin-bottom: 5rem;
  }
  
  .about-section .about-icon {
    font-size: 5rem;
  }
  
  .about-section .cert img {
    max-width: 100%;
    max-height: 100%;
    display: block; /* remove extra space below image */
    transition: 0.5s;
  }
  
  .about-section .cert img:hover {
    opacity: .5;
  }
  
  .about-section .cert {
    background-color: #fff;
    display: inline-block;
    line-height: 0;
    transition: 0.5s;
    width: 10rem; 
    height: 10rem;
  }
  
  
  .ac-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 5rem 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 75%, #000000 100%), url("../img/bg-ac.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }
  .ac-section p {
    margin-bottom: 5rem;
  }
  
  .ac-section .card {
    text-align: left;
    border: 0;
  }

  

.card-feature {
    transition: all 0.35s ease-in-out;
  }
  
  .card-feature:hover {
    background-color: #3f4d78;
    color: #fff;
    border-radius: 0.25rem;
  }
  .ac-section .card span {
    font-size: 1rem;
    letter-spacing: 0.15rem;
  }
  .ac-section .card hr {
    text-align: left;
    border-color: #3f4d78;
    border-width: 0.25rem;
    width: 3rem;
  }
  
  .ac-section .card .card-body .ac-icon {
    font-size: 2.5rem;
  }
  
  .diagnostic-section {
    padding: 10rem 0;
  }
  .diagnostic-section .featured-text {
    padding: 2rem;
  }
  @media (min-width: 992px) {
    .diagnostic-section .featured-text {
      padding: 0 0 0 2rem;
      border-left: 0.5rem solid #3f4d78;
    }
  }
  .diagnostic-section .diagnostic-text {
    padding: 3rem;
    font-size: 90%;
  }
  @media (min-width: 992px) {
    .diagnostic-section .diagnostic-text {
      padding: 5rem;
    }
    .diagnostic-section .diagnostic-text hr {
      border-color: #3f4d78;
      border-width: 0.25rem;
      width: 30%;
    }
  }

  .cars {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 35rem;
    padding: 5rem 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 75%, #000000 100%), url("../img/bg-cars.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }
  .cars a {
    color: #000000;
    text-decoration: none;
  }
  
  .cars p {
    margin-bottom: 5rem;
  }
  
  .cars .card {
    transition: 0.6s;
  }
  
  .cars .card:hover {
    background-color: #3f4d78;
    color: #fff;
  }
  
  
  
  @media (min-width: 768px) {
    .cars h1 {
      font-size: 4rem;
      line-height: 4rem;
    }
  }
  @media (min-width: 992px) {
    .cars {
      height: 100%;
      padding: 0;
    }
    .cars h1 {
      font-size: 4.5rem;
      line-height: 6.5rem;
      letter-spacing: 0.8rem;
    }
    .cars h2 {
      max-width: 30rem;
      font-size: 1.25rem;
    }
  }


  .contact-section .card {
    border: 0;
  }
  .contact-section .card h4 {
    font-size: 1.2rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-transform: uppercase;
    letter-spacing: 0.15rem;
  }
  .contact-section .card hr {
    border-color: #3f4d78;
    border-width: 0.25rem;
    width: 3rem;
  }
  .contact-section .social {
    margin-top: 5rem;
  }
  .contact-section .social a {
    transition: 1s;
    text-align: center;
    height: 3rem;
    width: 3rem;
    background: rgb(0, 0, 0);
    border-radius: 100%;
    line-height: 3rem;
    color: rgba(255, 255, 255);
  }
  .contact-section .social a:hover {
    background-color: #3f4d78;
  }
  .contact-section .social a:active {
    color: #fff;
  }
  
  .footer {
    padding: 2rem 0;
  }