/* ========================================
   Branding
======================================== */

:root {
    --navy: #004D80;
    --orange: #DE7D02;
    --light-blue: #37C0FF;
    --gray: #D9D9D9;
    --off-white: #F5F5F5;
    --charcoal: #808080;
    --black: #000000;
    --white: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ========================================
   Global
======================================== */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--white);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    line-height: 1.6;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px 20px 60px;
}

/* ========================================
   Typography
======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    margin-top: 0;
}

.text-orange {
    color: var(--orange);
}

.text-light-blue {
    color: var(--light-blue);
}

/* ========================================
   Header
======================================== */

.site-header {
    background-image: url('/img/HeaderTexture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px 20px 60px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.header-content {
    margin-top: 40px;
}

    .header-content h1 {
        color: var(--white);
        font-size: 4rem;
        line-height: 1.1;
        max-width: 900px;
    }

    .header-content h2 {
        color: var(--white);
        font-size: 2.5rem;
        line-height: 1.1;
        max-width: 900px;
    }

    .header-content p {
        color: var(--white);
        font-size: 1.2rem;
        max-width: 700px;
    }

/* ========================================
   Header Buttons
======================================== */

.header-button {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s ease;
}

.header-button-white {
    border: 2px solid var(--white);
}

    .header-button-white:hover {
        background-color: rgba(255,255,255,.15);
    }

.header-button-orange {
    border: 2px solid var(--orange);
}

    .header-button-orange:hover {
        background-color: rgba(222,125,2,.15);
    }

/* ========================================
   Standard Buttons
======================================== */

.button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    transition: .2s ease;
}

.button-orange {
    background-color: var(--orange);
}

    .button-orange:hover {
        opacity: .9;
    }

.button-light-blue {
    background-color: var(--light-blue);
}

    .button-light-blue:hover {
        opacity: .9;
    }

.intro-section .button-light-blue {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* ========================================
   Intro Section
======================================== */
.intro-section {
    margin-bottom: 60px;
}

    .intro-section h2 {
        color: var(--navy);
        margin-bottom:0;
    }

    .intro-section h3 {
        color: var(--navy);
        margin-bottom: 20px;
    }

/* ========================================
   Feature Grid
======================================== */

.feature-band {
    background-color: var(--navy);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 0;
    margin-bottom: 20px;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background-color: var(--white);
    color: var(--black);
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.10);
    display: flex;
    flex-direction: column;
}

    .feature-card img {
        display: block;
        width: 100px;
        height: auto;
        margin: 0 auto 20px auto;
    }

    .feature-card h3 {
        color: var(--charcoal);
        font-weight: 700;
        min-height: 60px;
    }

    .feature-card h4 {
        color: var(--charcoal);
        font-weight: 700;
        min-height: 60px;
    }

    .feature-card p {
        margin-bottom: 20px;
    }

    .feature-card .button {
        margin-top: auto;
    }

/* ========================================
   Contact Section
======================================== */

.contact-section {
    margin-top: 20px;
}

    .contact-section h2 {
        text-align: left;
        color: var(--navy);
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

.contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact-card {
    width: 45%;
}

    .contact-card:first-child {
        text-align: left;
        border-right: 1px solid var(--gray);
        padding-right: 40px;
    }

    .contact-card:last-child {
        text-align: left;
    }

    .contact-card h3 {
        color: var(--black);
    }

/* ========================================
   ScreenSmarter Header
======================================== */

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.header-left {
    flex: 1;
}

    .header-left p {
        color: var(--white);
        max-width: 700px;
    }

.iframe-holder {
    width: 450px;
    flex-shrink: 0;
    background-color: var(--white);
    padding: 20px;
}

.screen-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.screen-illustration {
    max-width: 100%;
    height: auto;
    margin-top: 25px;
}

/* ========================================
   Footer
======================================== */

.site-footer {
    background-color: var(--off-white);
    text-align: left;
    padding: 30px;
    border-top: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 60px 0px 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
}

.linkedin-logo {
    height: 40px;
    width: auto;
}

.site-footer p {
    margin-top: 15px;
    color: var(--charcoal);
}

.site-footer a {
    color: var(--charcoal);
    text-decoration: none;
}

    .site-footer a:hover {
        color: var(--black);
        text-decoration: underline;
    }

/* ========================================
   Responsive
======================================== */

@media (max-width: 1000px) {

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screen-header {
        flex-direction: column;
    }

    .iframe-holder {
        width: 100%;
    }

    .header-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 650px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
        text-align: left !important;
    }

    .logo {
        height: 45px;
    }

    .footer-logo {
        height: 45px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .contact-button {
        display: none;
    }
     
}
