html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; background-color: #f3f3f3; overflow-x: hidden !important; }
a { color: white; text-decoration: none; font-size: 16px; }
@media only screen and (max-width: 900px) {
    body {
        overflow-x: hidden !important;
    }
}

@keyframes fade-in {
    from {opacity: 0; transform: translateY(25px);}
    to {opacity: 1;}
}

.fade-in-element { animation: fade-in 2s; }

/* ---------------------------------------------- 
                  Hero Section
   ---------------------------------------------- */

header { min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; background-size: cover; background-position: center; position: relative; margin-bottom: 0; }

.topbar { position: fixed; top: 0; right: 0; left: 0; width: 100%; z-index: 12; padding: 7px 0; background-color: #000000; color: rgb(255, 255, 255); display: flex; flex-direction: row; justify-content: space-around; align-items: center; }
.topbar a { font-size: 22px; font-weight: 600; font-family: Arial, Helvetica, sans-serif; }

nav { padding: 0px 0px; margin-top: 36px; position: fixed; background-color: #ffffff; z-index: 12; width: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: center; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); 
  border-top: 1px solid rgb(116, 116, 116); }
.logo-wrapper h2 { font-size: 40px; color: rgb(240, 240, 240); padding-left: 25px; }
.logo { height: 95px; width: auto; z-index: 1; margin-bottom: 0px; }
.nav-items { display: flex; flex-direction: row; justify-content: space-around; align-items: center; }
.nav-item { margin: 0 15px; font-size: 19px; font-weight: 600; color: rgb(0, 0, 0); }
.nav-btn { background-color: #3580D8; font-size: 17px; padding: 9px 15px; border-radius: 5px; transition: all, .3s; color: white; }
.nav-btn:hover { background-color: #1c5da7; }
.phone { font-family: Arial, Helvetica, sans-serif; margin-right: 30px; font-size: 20px; }

.nav-arrow { margin: 0; padding: 0; font-size: 12px; margin-left: 2px; }  

.dropdown { position: relative; display: inline-block; }
  
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin: 0px 0;
}
  
.nav-item { display: flex; flex-direction: row; justify-content: center; align-items: center; }

.dropdown-content-text { color: rgb(67, 206, 90); padding: 10px 16px; text-decoration: none; display: flex; flex-direction: row; justify-content: start; align-items: center; font-size: 15px; font-weight: 600; }

.dropdown-content a:hover {background-color:#8BAC17; color: white; }

.dropdown:hover .dropdown-content { display: flex; flex-direction: column; justify-content: center; align-items: stretch; }

.dropdown:hover .dropbtn {background-color: #3e8e41; }

a[href^=tel] { color: black; }

.hero-wrapper { margin: 0 auto; margin-top: 0px; width: 45%; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: #000000a8; border-radius: 5px; padding: 20px 7px; position: absolute; bottom: 40%; left: 0%; right: 0%; z-index: 10; min-height: 0px; }
.hero-wrapper-text { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero-wrapper h1 { font-size: 50px; margin: 10px 0; color: white; text-align: center; font-weight: 600; }
.hero-wrapper p { font-size: 19px; margin: 10px 0; color: white; text-align: center; }
.hero-btn { width: 65%; text-align: center; background-color: #cfee44; color: #3580D8; font-size: 20px; padding: 15px 5px; letter-spacing: .5px; font-weight: 700; margin: 25px 0; border-radius: 3px; transition: all, .3s; }
.hero-btn:hover { background-color: #1d5ba1; color: #cfee44; }

@media only screen and (max-width: 850px) {

    header { min-height: 200px; display: flex; flex-direction: column; align-items: center; padding-bottom: 0px; }

    nav { display: none; }
    .mobile-logo-wrapper { margin-right: -40px; }
    .logo { margin-bottom: 30px; }
    .nav-items { display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .nav-item { margin: 10px 0; font-size: 22px; }
    .phone-number { margin-top: 30px; }
    .phone { margin-right: 0; margin-top: 30px; font-size: 18px; }

    .hero-wrapper { margin-top: 0px; width: 100%; padding-left: 0px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px 3px; bottom: 0%; left: 0%; right: 0%; min-height: 100px; }
    .hero-wrapper h1 { font-size: 30px; margin: 10px 0; margin-top: 0; color: white; text-align: center;  }
    .hero-btn { width: 70%; font-size: 15px; }
}

/* Slideshow container */
.responsive { max-width: 175%; height: auto; }

.slideshow-container { width: 100%; min-height: 500px; position: relative; margin: 0; } .mySlides { display: none; } .mySlides img { width: 100%; }
  
.prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; margin-top: -22px; padding: 0 25px; color: rgb(255, 255, 255), 255); font-weight: bold; font-size: 25px; transition: 0.6s ease; border-radius: 0 3px 3px 0; z-index: 100; }
  
.next { right: 0; border-radius: 3px 0 0 3px; } .prev:hover, .next:hover {  z-index: 100; }
  
.numbertext { color: #f2f2f2; font-size: 18px; padding: 8px 12px; position: absolute; top: 10%; }
  
.fade { -webkit-animation-name: fade; -webkit-animation-duration: 1.5s; animation-name: fade; animation-duration: 1.5s; }
  
@-webkit-keyframes fade { from {opacity: .4} to {opacity: 1} } @keyframes fade { from {opacity: .4} to {opacity: 1} }

@media only screen and (max-width: 850px) { .slideshow-container { min-height: 350px; overflow-x: hidden !important; } .mySlides img { width: auto; height: 350px; } .text { padding: 8px 0px; position: absolute; bottom: 60%; width: 93%; left: 0; right: 0; } }

/* ---------------------------------------------- 
                 Intro Section
   ---------------------------------------------- */
#intro { padding: 50px 0; }
#intro h2 { font-size: 35px; color: #3580D8; font-weight: 600; margin-bottom: 35px; text-align: center; }
#intro p { font-size: 18px; line-height: 25px; color: #2c2c2c; font-weight: 400; text-align: center; width: 80%; margin: 10px auto; }

@media only screen and (max-width: 850px) {
    #intro p { width: 95%; }
}

/* ---------------------------------------------- 
                 Features Section
   ---------------------------------------------- */
#features { display: flex; flex-direction: row; justify-content: center; align-items: center; }   
.feature { padding: 20px 0; width: 25%; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: pointer; transition: all, .3s; }
.feature:hover { transform: scale(1.02); }
.feature h2 { width: 97%; font-size: 28px; line-height: 40px; color: #ffffff; font-weight: 600; text-align: center; }
.feature-one { background-image: url("img/home_our_company.jpg"); background-position: center; background-size: cover; }
.feature-two { background-image: url("img/home_renovations.jpg"); background-position: center; background-size: cover; }
.feature-three { background-image: url("img/home_equipment.jpg"); background-position: center; background-size: cover; }
.feature-four { background-image: url("img/home_contact.jpg"); background-position: center; background-size: cover; }

@media only screen and (max-width: 850px) {
    #features { display: flex; flex-direction: column; justify-content: center; align-items: center; }  
    .feature { padding: 20px 0; width: 100%; min-height: 300px; } 
    .feature h2 { width: 95%; font-size: 40px; line-height: 40px; font-weight: 600; text-align: center; }
}

/* ---------------------------------------------- 
                 Service Section
   ---------------------------------------------- */
#service { padding: 35px 0 35px 0; display: flex; flex-direction: row; justify-content: space-around; align-items: center; }

.first-service-text-wrapper { display: flex; flex-direction: column; width: 50%; }
.first-service-text-wrapper h2 { font-size: 28px; color: #3580D8; font-weight: 600; line-height: 40px; margin-bottom: 10px; padding-left: 30px; width: 90%; }
.first-service-text-wrapper p { font-size: 15px; line-height: 24px; margin: 10px 0; padding-left: 30px; width: 90%; }

#service img { width: 43%; height: auto; border-radius: 4px; box-shadow: 0 3px 10px rgb(161, 161, 161); }

@media only screen and (max-width: 850px) {
    #service { padding: 0px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .first-service-text-wrapper { display: flex; flex-direction: column; width: 95%; padding: 50px 0; }
    #service img { width: 90%; height: auto; }
}


/* ---------------------------------------------- 
                Parralax Section
   ---------------------------------------------- */
#parralax { background-image: url("img/contact-background.jpg"); background-attachment: fixed; background-position: top; background-size: cover; min-height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: center; }   
#parralax h2 { font-size: 42px; font-weight: 600; color: #ffffff; }
#parralax p { font-size: 20px; font-weight: 500; line-height: 27px; margin: 20px 0; text-align: center; width: 80%; color: white; }
#parralax a { font-size: 23px; background-color: #cfee44; color: #3580D8; font-weight: 600; padding: 18px 5px; width: 17%; border-radius: 3px; text-align: center; }

@media only screen and (max-width: 850px) {
    #parralax { background-image: url("img/contact-background.jpg"); background-attachment: scroll; background-position: center; background-size: cover; min-height: 550px; display: flex; flex-direction: column; justify-content: center; align-items: center; }   
    #parralax h2 { font-size: 50px; font-weight: 600; }
    #parralax p { font-size: 18px; font-weight: 500; line-height: 27px; margin: 20px 0; text-align: center; width: 95%; color: white; }
    #parralax a { font-size: 23px; font-weight: 500; padding: 18px 5px; width: 90%; border-radius: 3px; text-align: center; }
}






/* ---------------------------------------------- 
                   Footer
   ---------------------------------------------- */

footer { background-color: #161616; padding: 25px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; }
.footer-link img { width: 200px; height: auto; margin-top: 10px; }

.copyright { color: rgb(167, 167, 167); }

@media only screen and (max-width: 850px) {
    footer { padding: 35px 0; }
    .footer-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .footer-column { width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 25px 0; }
    .footer-column h3 { font-size: 28px; margin-bottom: 20px; font-weight: 500; }
    .footer-column-p { font-size: 19px; margin-bottom: 5px; font-weight: 300; }
    .footer-text { font-size: 21px; text-align: center; line-height: 24px; }
}

/* ---------------------------------------------- 
                Service Page
   ---------------------------------------------- */
#service-page-wrapper { padding: 50px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
#service-page-wrapper h2 { font-size: 37px; font-weight: 700; color: #3580D8; text-align: center; margin-bottom: 20px; }

.service-page-top-wrapper { display: flex; flex-direction: row; justify-content: center; align-items: flex-start; flex-wrap: wrap; width: 100%; }
.service-page-wrapper { display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin: 25px 15px; width: 26%; min-height: 340px; }
.service-page-wrapper img { width: auto; height: 200px; border-radius: 3px; box-shadow: 0 3px 10px rgb(184, 184, 184); }
.service-page-wrapper h3 { font-size: 26px; color: #3580D8; margin: 20px 0 15px 0; text-align: center; font-weight: 700; }
.service-page-wrapper p { font-size: 15px; line-height: 23px; text-align: center; }
.service-page-wrapper a { width: 65%; text-align: center; background-color: #cfee44; color: #3580D8; font-size: 20px; padding: 15px 5px; letter-spacing: .5px; font-weight: 700; margin: 5px 0; border-radius: 3px; transition: all, .3s; }
.service-page-wrapper a:hover { background-color: #1d5ba1; color: #cfee44; }

@media only screen and (max-width: 850px) {
    .service-page-wrapper img  { width: auto; height: 220px; }
    .service-page-wrapper { display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin: 25px 0; width: 95%; }
}


.services-page-header { background-image: url("img/home-hero.jpg"); min-height: 0px; }

#services-page-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 170px 0 50px 0; }
.services-page-text-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 90%; }
.services-page-text-wrapper h2 { font-size: 39px; color: #3580D8; font-weight: 600; text-align: center; margin-bottom: 20px; }
.services-page-text-wrapper p { font-size: 19px; line-height: 28px; font-weight: 400; text-align: center; margin: 5px 0; }

.services-img-wrapper { display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; }
.services-img-wrapper img { width: 300px; height: auto; margin: 15px; }

@media only screen and (max-width: 850px) {
    .services-page-text-wrapper { width: 95%; }
    .about-page-img { width: 80%; }
}

/* ---------------------------------------------- 
                 About Page
   ---------------------------------------------- */
.about-header { background-image: url("img/home-hero.jpg"); min-height: 500px; }
#about-page-wrapper { padding: 50px 0; display: flex; flex-direction: row; justify-content: space-around; align-items: flex-start; }
.about-page-text-wrapper { width: 45%; display: flex; flex-direction: column; }
#about-page-wrapper h2 { font-size: 30px; font-weight: 700; color: #3580D8; text-align: left; margin-bottom: 20px; }
#about-page-wrapper p { font-size: 17px; line-height: 25px; text-align: left; margin: 10px 0; }

.about-page-img { width: 42%; border-radius: 4px; border: 4px solid rgb(105, 105, 105); transition: all, .3s; }
.about-page-img:hover { transform: scale(1.02); border: 4px solid black; }

#about-page-content { display: flex; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 30px; }
#about-page-content p { font-size: 17px; line-height: 25px; margin: 10px 0; width: 85%; text-align: center; }

@media only screen and (max-width: 850px) {
    .about-header { background-image: url("img/home-hero.jpg"); min-height: 300px; }
    #about-page-wrapper { padding: 50px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .about-page-text-wrapper { width: 95%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    #about-page-wrapper h2 { text-align: center; }
    #about-page-wrapper p { text-align: center; }
    .about-page-img { width: 95%; margin-top: 15px; }
    #about-page-wrapper p { width: 95%; }
}


#contact-page-wrapper { display: flex; flex-direction: row; justify-content: space-around; align-content: center; padding: 170px 0 60px 0; }
#contact-page-wrapper h4 { font-size: 30px; width: 80%; text-align: center; margin: 35px auto; color: white; line-height: 45px; }

.contact-left { width: 40%; } 
.contact-left h2 { color: black; font-weight: 600; font-size: 35px; margin-bottom: 10px; }
.contact-form, #contact-form { width: 100%; display: flex; flex-direction: column; justify-content: center; align-content: center; flex-wrap: wrap; margin: 0px auto; }
.contact-wrapper { width: 100%; margin: 10px 0; display: flex; flex-direction: column; }
.label, .input { width: 100%; }
.label { margin: 15px 0 5px 0; font-size: 16px; font-weight: 600; color: rgb(0, 0, 0); }
.input { padding: 8px 5px; font-size: 17px; border-radius: 4px; border: none; }
.submit-btn { padding: 12px 5px; width: 40%; margin-top: 25px; color: #3580D8; background-color: #cfee44; font-weight: 600; border-radius: 4px; font-size: 17px; border: 1px solid #f8f8f8; }

.contact-right { width: 40%; }
.contact-right img { width: 90%; border-radius: 4px; box-shadow: 0 3px 10px rgb(192, 192, 192); }
.contact-right p { font-size: 24px; font-weight: 700; margin-top: 35px; }

@media only screen and (max-width: 850px) {
    #contact-page-wrapper { background-image: url("img/nav-background.jpg"); background-position: center; background-size: cover; background-attachment: scroll; display: flex; flex-direction: column; justify-content: center; align-content: center; padding: 160px 0 60px 0; }
    .contact-left { width: 95%; }
    .contact-left h2 { text-align: center; }
    .contact-right { width: 100%; margin-top: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .contact-right p { text-align: center; }
    #contact-page-wrapper h4 { font-size: 30px; width: 95%; }
    .contact-wrapper { width: 90%; margin: 15px 0; }
    .submit-btn { padding: 12px 5px; width: 60%; margin-top: 35px; }
}
