:root {

    --navy: #0c2948;
    --blue: #73a5d8;
    --green: #6d8a4f;
    --light: #f4f7fa;

}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


body {

    font-family: 'Montserrat', sans-serif;
    background: var(--light);
    color: #333;

}


header {

    padding: 90px 20px;
    text-align: center;

}


.logo-main {

    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;

}


.lee {

    color: var(--navy);

}


.fm {

    color: var(--blue);

}


.logo-sub {

    margin-top: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    text-transform: none;

}


.logo-sub span {

    color: var(--green);

}


.strapline {

    margin-top: 30px;
    font-size: 1.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #555;
    padding: 0 20px;

}


.button {

    display: inline-block;
    margin-top: 45px;
    background: var(--navy);
    color: white;
    padding: 18px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;

}


.button:hover {

    background: var(--green);

}


/* Main card sections */

.cards {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;

}


/* Individual cards */

.card {

    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    height: 100%;

}


.card h2 {

    margin-bottom: 20px;
    color: var(--navy);

}


.card p {

    line-height: 1.8;
    margin-bottom: 18px;

}


.card p:last-child {

    margin-bottom: 0;

}


/* Make the second card section two columns */

.cards:nth-of-type(2) {

    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 950px;

}


/* Contact section */

.cards:nth-of-type(3) {

    grid-template-columns: minmax(0, 700px);
    justify-content: center;

}


/* Footer */

footer {

    margin-top: 80px;
    padding: 40px;
    text-align: center;
    color: #777;

}


/* Credentials */

.credentials {

    text-align: center;
    margin: 50px 20px 20px;
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;

}


.credentials p {

    line-height: 1.8;

}


/* Tablet */

@media (max-width: 1100px) {

    .cards {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}


/* Mobile */

@media (max-width: 700px) {

    header {

        padding: 60px 20px;

    }


    .logo-main {

        font-size: 3rem;

    }


    .strapline {

        font-size: 1.05rem;

    }


    .cards,
    .cards:nth-of-type(2),
    .cards:nth-of-type(3) {

        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 25px;

    }


    .card {

        padding: 30px;

    }


    .button {

        margin-top: 30px;
        padding: 16px 32px;

    }

}

