@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap');

* {
    font-family: 'Montserrat';
    line-height: 1.5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    /* text-transform: capitalize; */
    transition: 0.2s linear;
}

:root {
    --primary-color: #6f42c1;
    --white: #fff;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --gray: #808080;
    --light-gray: #eee;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 7.5rem;
}

section {
    padding-left: 4rem;
    padding-right: 4rem;
    /* margin-top: 5em; */
}

/* .section h3 {
    padding: 1rem;
} */

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 3rem;
    text-align: center;
    padding-bottom: 2rem;
}

span.center-underline {
    border-top: 1px solid #6f42c1;
    padding-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    width: 5rem;
    display: block;
}

span.underline {
    border-top: 1px solid #6f42c1;
    padding-bottom: 3rem;
    width: 5rem;
    display: block;
}

h4 {
    font-size: 1.5rem;
    font-weight: unset;
}

.landing {
    display: flex;
    align-items: center;
}

.landing img {
    object-fit: cover;
    width: 100%;
    height: 40rem;
    /* border-radius: 45px; */
}

.middle-left {
    color: white;
    position: absolute;
    padding: 5rem;
    padding-top: 20rem;
    z-index: 99;
}

.middle-left h2,
.middle-left h1 {
    font-size: 4.5rem;
    font-family: 'Dancing Script', cursive;
    background: rgba(0, 0, 0, 0.5);
    /* border-radius: 50%; */
    padding: 3rem;
    border-left: 1rem solid red;
    /* font-weight: unset; */
}

.content {
    padding: 3rem;
    font-size: 1.5rem;
}

.heading {
    font-size: 3.5rem;
    letter-spacing: 0.2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
}

.heading::after {
    content: '';
    position: absolute;
    border-bottom: 0.2rem solid var(--primary-color);
    width: 10rem;
    bottom: 1rem;
    left: 50%;
    display: inline-block;
    margin-left: -5rem;
}

.section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    padding-left: 10rem;
    padding-right: 10rem;
    border-top: 0.2rem solid var(--light-gray);
}

/* home **********************************************************************************/
/*.home {
  height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
    url('images/hero.jpg') no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
   display: flex; 
  align-items: center;
  justify-content: center;
}*/

section.home,
section.about,
section.services,
section.projects,
section.certs,
section.contact {
    padding-left: 0;
    padding-right: 0;
}

/* home **********************************************************************************/

/* header **********************************************************************************/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* padding-top: 1rem; */
    /* padding-bottom: 1rem; */
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.1);
    /* background-color: white; */
}

.nav-up {
    top: -83px;
}

header.active {
    /* background-color: rgba(0, 0, 0, 0.8); */
    box-shadow: var(--box-shadow);
}

header .logo {
    /* font-size: 2.5rem; */
    color: var(--white);
    letter-spacing: 0.5rem;
    margin-right: auto;
}

header .logo img {
    width: 282.5px;
    height: 83px;
}

header .navbar a {
    font-size: 1.8rem;
    color: white;
    margin-left: 2rem;
    font-weight: 300;
}

header .menu {
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

header .navbar a:hover {
    /* color: #40E0D0; */
    text-decoration: underline;
}

/* header **********************************************************************************/

/* about **********************************************************************************/
.about .box-container .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.about .box-container .box p {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1rem;
    color: var(--gray);
    text-transform: none;
}

/* about */

/* services */
.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
    gap: 5rem;
}

.services .box img {
    width: 90%;
    height: 60%;
}

/* .services .box {
    display: flex;
    align-items: center;
} */

.services .box>* {
    flex: 2 1;
}


#landing2 img {
    width: 65%;
}

/* services **********************************************************************************/

/* projects **********************************************************************************/
@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.projects {
    background-color: var(--white);
}

.about h2,
.projects h2,
.contact h2 {
    font-size: 2rem;
    padding-top: 2rem;
    text-decoration: underline;
}

/* .general .box-container {
    padding: 1rem;
} */
.box.animate {
    position: relative;
    animation: 1s ease-out 0s 1 slideInLeft;
}

.general .box.animate {
    animation: 1s ease-out 0s 1 slideInLeft;
}

.general .box-container .box .image {
    position: relative;
    overflow: hidden;
    /* height: 40rem; */
}

.general .box-container .box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.general .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
}

.general .box-container .box .image .overlay {
    width: 100%;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /*transform: translateY(100rem);*/
    opacity: 0;
    transition: .5s ease;
}

.general .box-container .box .image .overlay h3 {
    font-size: 2rem;
    color: #B0E0E6;
    margin-bottom: 1rem;
}

.general .box-container .box h3.text {
    color: var(--white) !important;
}

.general .box-container .box ul.text {
    /* color: var(--white) !important; */
    display: inline-block;
    list-style-position: inside;
    font-size: 1.5rem;
    text-align: left;
}

.general .box-container .box:hover .image .overlay {
    /*transform: translateY(0);*/
    opacity: 1;
}

.general .box-container .box input {
    background-color: initial;
    color: #B0E0E6;
    border: 0.1rem solid lightblue;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.services2.section {
    padding-bottom: 10rem;
    width: 80%;
    margin: auto;
}

.services2 .box-container.withImage {
    gap: unset;
    grid-template-columns: 1fr 1fr;
}

.services2 .box-container.withImage .image {
    text-align: center;
}

.services2 .box-container.withImage img {
    width: 35rem !important;
    height: 35rem !important;
}

/* projects *********************************************************************************/

/* quality **********************************************************************************/
section.quality {
    margin-top: -5em;
    font-size: 1.5rem;
}

.quality .box-container {
    border: 0.1em solid;
    padding: 1em;
}

.quality .box-container .box:nth-child(2) {
    text-align: center;
}

.quality .box-container img {
    height: 100%;
    width: 100%;
    max-height: 50em;
    max-width: 50em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

/* quality **********************************************************************************/


/* footer **********************************************************************************/
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 0.2rem solid var(--light-gray);
}

footer .socials {
    margin-top: 3rem;
}

footer .socials ion-icon {
    font-size: 2.5rem;
    /*color: var(--primary-color);*/
    color: #B0E0E6;
    background-color: var(--light-gray);
    border-radius: 50%;
    padding: 1rem;
    margin-right: 1.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

footer .socials ion-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-gray);
}

footer .copyright p {
    font-size: 1.5rem;
    padding: 3rem;
}

#hvac {
    width: 66%;
    margin: auto;
}

/* footer **********************************************************************************/

/* media queries **********************************************************************************/
@media (max-width: 1200px) {

    #landing h1,
    .landing h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 60%;
    }

    header .logo img {
        width: 17.7rem;
        height: 5.2rem;
    }

    #landing h1,
    .landing h1 {
        font-size: 3.5rem;
    }

    #why-choose-us h3,
    #policy h3 {
        text-align: center !important;
    }

    span.underline {
        margin-left: auto;
        margin-right: auto;
    }

    #landing2 img {
        width: 100%;
    }

    .section {
        padding-top: 5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        border-top: 0.2rem solid var(--light-gray);
    }

    .general .box-container {
        grid-template-columns: 1fr !important;
        gap: unset;
        width: 100% !important;
    }

    #hvac {
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 768px) {
    header .logo img {
        width: 17.7rem;
        height: 5.2rem;
    }

    header .navbar {
        position: fixed;
        top: 6rem;
        left: 0;
        right: 0;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: var(--box-shadow);
        transform: translateX(-90rem);
    }

    header .navbar.show {
        transform: translateX(0);
    }

    header .navbar a {
        color: #000;
        margin: 0;
        font-size: 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    header .menu {
        display: block;
    }

    header .menu.rotate {
        transform: rotate(90deg);
    }

    .home h1 {
        font-size: 6rem;
    }

    #landing h1,
    .landing h1 {
        font-size: 3.5rem;
    }

    #landing2 img {
        width: 100%;
    }

    .section {
        padding-top: 5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        border-top: 0.2rem solid var(--light-gray);
    }

    .general .box-container {
        grid-template-columns: 1fr !important;
        gap: unset;
        width: 100% !important;
    }

}

@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

    header .logo img {
        width: 17.7rem;
        height: 5.2rem;
    }

    .home h1 {
        font-size: 4rem;
    }

    #landing h1,
    .landing h1 {
        font-size: 3.5rem;
    }

    #landing2 img {
        width: 100%;
    }

    .heading {
        font-size: 3rem;
    }

    .section {
        padding-top: 5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        border-top: 0.2rem solid var(--light-gray);
    }

    .general .box-container {
        grid-template-columns: 1fr !important;
        gap: unset;
        width: 100% !important;
    }
}

/* media queries **********************************************************************************/