/* ==========================================================
   NEW WORLD CLASS CLEANERS
   Main Stylesheet
   ========================================================== */


/* ----------------------------------------------------------
   1. GLOBAL / RESET
   ---------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #082c61;
    background: #ffffff;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* ----------------------------------------------------------
   2. HEADER / NAVIGATION
   ---------------------------------------------------------- */

.site-header {
    height: 100px;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

/* ----------------------------------------------------------
   LOGO / BRAND
   ---------------------------------------------------------- */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: auto;

    color: #082c61;
    text-decoration: none;
}

.logo {
    width: 90px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.brand-name {
    display: flex;
    flex-direction: column;

    color: #082c61;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.5px;
}

.brand-name b {
    margin-top: 4px;
    text-align: center;
    letter-spacing: 5px;
}


nav {
    display: flex;
    gap: 40px;
}

nav a {
    padding: 29px 0 17px;

    color: #071d3c;
    text-decoration: none;
    font-weight: 700;
}

nav a.active {
    color: #075da0;
    border-bottom: 3px solid #0871b5;
}


/* ----------------------------------------------------------
   3. BUTTONS
   ---------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    padding: 17px 30px;
    border-radius: 7px;

    background: #075b9c;
    color: #ffffff;

    text-decoration: none;
    font-weight: 800;
}

.button.small {
    padding: 15px 22px;
    font-size: 14px;
}

.button.outline {
    border: 1px solid #8cd2f4;
    background: #0870b3;
}


/* ----------------------------------------------------------
   4. HERO
   ---------------------------------------------------------- */

.hero {
    background: linear-gradient(
        90deg,
        #f4fbff 0,
        #f4fbff 40%,
        #ffffff 40%
    );
}

.hero-grid {
    min-height: 500px;

    display: grid;
    grid-template-columns: 42% 58%;
}

.hero-copy {
    padding: 45px 0 35px;
}

.hero h1 {
    margin: 0 0 10px;

    color: #062b61;
    font-size: 54px;
    line-height: 0.98;
}

.hero h2 {
    margin: 0 0 20px;

    color: #0870b7;
    font-size: 38px;
    line-height: 1.04;
}

.hero p {
    max-width: 430px;
    margin-bottom: 25px;

    color: #17283c;
    font-size: 18px;
    line-height: 1.35;
}

.hero-photo {
    background-image: url("../images/hero-cleaning.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* ----------------------------------------------------------
   5. TRUST / COMPANY VALUES
   ---------------------------------------------------------- */

.trust {
    padding: 22px 0;
    background: #f3faff;
}

.four,
.six {
    display: grid;
}

.four {
    grid-template-columns: repeat(4, 1fr);
}

.four article,
.six article {
    padding: 5px 18px;

    text-align: center;
    border-right: 1px solid #b7d0df;
}

.four article:last-child,
.six article:last-child {
    border-right: 0;
}

.icon,
.line-icon {
    height: 52px;

    color: #0761a4;
    font-size: 43px;
}

.four h3,
.six h3 {
    margin: 5px 0;
    color: #092f68;
}

.four p {
    margin: 0;

    color: #16375d;
    line-height: 1.35;
}


/* ----------------------------------------------------------
   6. GENERAL SECTIONS
   ---------------------------------------------------------- */

.section {
    padding: 28px 0;
}

.section-title {
    margin: 0 0 3px;

    text-align: center;
    font-size: 38px;
}

.section-lead {
    margin: 0 0 28px;

    text-align: center;
    font-size: 19px;
}


/* ----------------------------------------------------------
   7. SERVICES
   ---------------------------------------------------------- */

.six {
    grid-template-columns: repeat(6, 1fr);
}

.six h3 {
    font-size: 17px;
}


/* ----------------------------------------------------------
   8. NEW WORLD CLASS STANDARD
   ---------------------------------------------------------- */

.standard {
    min-height: 315px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #f2f8fc;
}

.standard-photo {
    background-image: url("../images/standard-office.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.standard-copy {
    padding: 28px 8% 25px 5%;
}

.standard-copy h2 {
    margin: 0 0 4px;
    font-size: 30px;
}

.standard-copy > p {
    margin: 0 0 16px;
    font-size: 18px;
}

.standard ul {
    margin: 0;
    padding: 0;

    color: #16375d;
    list-style: none;
}

.standard li {
    margin: 11px 0;
}

.standard li::before {
    content: "✓";

    width: 21px;
    height: 21px;

    display: inline-grid;
    place-items: center;

    margin-right: 14px;

    border-radius: 50%;
    background: #0864a6;

    color: #ffffff;
    font-weight: bold;
}


/* ----------------------------------------------------------
   9. INDUSTRIES
   ---------------------------------------------------------- */

.industries {
    padding-bottom: 30px;
}

.compact .line-icon {
    font-size: 35px;
}

.compact p {
    margin: 4px 0;
    color: #092f68;
}


/* ----------------------------------------------------------
   10. CALL TO ACTION
   ---------------------------------------------------------- */

.cta {
    padding: 25px 0;

    background: linear-gradient(
        110deg,
        #083566,
        #00649d
    );

    color: #ffffff;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta h2 {
    margin: 0 0 5px;
    font-size: 28px;
}

.cta p {
    margin: 0;
}


/* ----------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------- */

footer {
    padding: 22px 0;
    background: #ffffff;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    font-size: 14px;
}

.footer-brand {
    margin: 0;
    font-size: 14px;
}

.footer-brand .globe {
    width: 50px;
    height: 50px;
}

.tag {
    color: #075b9c;

    font-family: cursive;
    font-size: 20px;

    transform: rotate(-4deg);
}


/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */


/* ----------------------------------------------------------
   TABLETS / SMALL LAPTOPS
   ---------------------------------------------------------- */

@media (max-width: 850px) {

    .site-header {
        height: auto;
        padding: 14px 0;
    }

    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav nav {
        order: 3;
        width: 100%;

        justify-content: space-around;
        gap: 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        height: 330px;
        order: -1;
    }

    .hero-copy {
        padding: 28px 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero h2 {
        font-size: 31px;
    }

    .four {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .six {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .four article,
    .six article {
        border-right: 0;
    }

    .standard {
        grid-template-columns: 1fr;
    }

    .standard-photo {
        height: 280px;
    }

    .cta-row,
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .tag {
        align-self: center;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .brand {
        font-size: 16px;
    }

    .globe {
        width: 50px;
        height: 50px;
    }

    .nav > .button {
        display: none;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .four {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 31px;
    }
}