* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body { font-family: 'Poppins', sans-serif; font-weight: 300;font-size: 18px; line-height: 25px; color: #333;scroll-behavior: smooth;}


a { color: inherit !important;  }
.btn { font-weight: 500; color: #1a84ba !important; padding: 10px 15px; background-color: #fff; border-radius: 24px;text-decoration: none !important;}

h1 { max-width: 80%; font-size: 80px; line-height: 100%;margin: 0; }
h3 {margin-bottom:10px;}

.hdg { font-weight: 700; font-size: 48px; line-height: 54px; margin-bottom: 12px;}

.stp { font-weight: 300; font-size: 18px; line-height: 24px; text-transform: uppercase; margin: 0px 0px 9px;color: #1a84ba;}
p {
    margin-bottom: 18px;
}
.p-xl {  font-size: 48px; line-height: 67px;}
.p-lg {  font-size: 24px; line-height: 34px; }
.p-sm,li {  font-size: 14px; line-height: 20px; margin-bottom: 14px; }
ul {  padding-left: 20px; }

li + li {margin-top: 10px;}

section { padding: 40px 20px; }

.container { margin: 0px auto; padding: 40px 60px; border-radius: 20px;max-width: 1240px;}


nav { width: 100%; display: flex; gap: 20px; justify-content: space-between;align-items: center; }

nav .menu {
    flex-grow: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.menu a {
    text-decoration: none !important;
}

.heroLogo {
    width: 100%;
    max-width: 160px;
    height: auto;
}

.hero {
    padding: 40px 60px 60px;
    height: 70vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image:
    linear-gradient(to bottom, rgba(26, 132, 186, 0.8), rgba(34, 40, 41, 0.8)),
    url('images/heroBackground.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
}


.heroContent {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0px;
}
.heroContent > h1 {
    margin-bottom: 20px;
}
.heroContent > p {
    max-width: 640px;
}

.header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    column-gap: 20px;
    row-gap: 0px;
}
.threeCol {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 30px;
}

.cardStack {
    column-count: 2;
    column-gap: 20px;
}
.card {display:inline-block; width: 100%; margin-bottom:20px;}
.cardContet {background-color: aliceblue;border-radius: 10px;padding: 40px 30px;}


.threeCol p {margin-top:5px;}

.quotes {
    display: grid; 
    padding: 0px 60px 40px 60px;
    width: 100%;
    margin: auto;
    max-width: 1240px;
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 10px 10px; 
    grid-template-areas: 
    "lighting water assesment"
    "lighting air documentation";
}
.lighting { grid-area: lighting; }
.air { grid-area: air; }
.water { grid-area: water; }
.assesment { grid-area: assesment; }
.documentation { grid-area: documentation; }


.quote {
    display:inline-block; 
    width: 100%;
    border-radius: 10px;
    background-color: #282f30;
    padding: 30px;
}

.quote .quoteTitle {
    font-size: 14px; line-height: 18px;font-weight: 300; margin-bottom: 10px;color:#c7d4db;
}

.quote q {
    font-size: 16px; line-height: 18px; font-weight: 500;
}

.teamMember {display:flex; align-items: center; margin: 40px 0px; width: 100%; margin-bottom:40px;gap: 40px;}

.teamMember > img {width:33vw; height:33vw; border-radius: 10px;max-width: 300px; max-height: 300px;}

.footer {
    height: 70vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image:
    linear-gradient(to bottom, rgba(26, 132, 186, 0.8), rgba(34, 40, 41, 0.8)),
    url('images/footerBackground.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
}

#About , #Services , #Team , #Contact {
	scroll-behavior: smooth;
}

@media only screen and (max-width: 780px) {
    section {padding: 20px 5px;}
    .container {padding: 40px 30px;}

    nav .menu {display: none;}
    .hero {max-height: 600px;padding: 20px 30px;}

    h1 {font-size: 10vw; max-width: none;}
    .hdg {font-size: 10vw; line-height: normal;}
    .p-xl {  font-size: 6vw; line-height: 8vw; }
    .p-lg {  font-size: 18px; line-height: 24px; }

    .header, .cardStack {
        display: grid;
        grid-template-columns: 1fr;
    }
    .threeCol {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .quotes {
        padding: 0px 30px 40px 30px;
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: 1fr 1fr 1fr; 
        gap: 10px 10px; 
        grid-template-areas: 
        "lighting water "
        "lighting air "
        "assesment documentation ";
    }

    .quote {
        padding:20px;
    }

   .teamMember {
        flex-direction: column;
        text-align: center;
        margin-top: 60px;
        max-width: 600px;
    }

    .fReverse {
        flex-direction: column-reverse !important;
    }
    .teamMember > img {width:90vw; height:90vw;}

}

@media only screen and (max-width: 400px) {
    .hero {height: 60vh; max-height: none;}
    .heroLogo {
        max-width: 90px;
    }
    .threeCol {
        display: grid;
        grid-template-columns: 1fr;
    }

    .container {width: 90vw;}

    .quotes {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    animation: 35s slide infinite linear;
    scroll-behavior: smooth;
    overflow-x: scroll;
    scroll-padding: 30px;
    scroll-snap-type: mandatory;
    }


    .quote {
        flex: 0 0 90%;
        scroll-snap-type: start;
    }

}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}