body {
    margin: 0;
    padding-bottom: 96px !important;
    background-color: var(--grey-100);
}

section {
    padding: 40px;
    margin: 0;
}

h2 {
    margin-top: 0;
}

#hero-content, #osha-ready-content, #nsc-sif-content, #swp-steps-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.call-top-container {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
}

.nsc-header {
    align-content: center;
    background-color: var(--blue-midnight);
    color: white;
    display: flex;
    justify-content: space-between;
    margin: 0 !important;
    padding: 32px 40px 0 !important;
}

.nsc-header #logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

#nsc-logo {
    height: 24px;
    width: auto;
}

#divider {
    height: 50px;
    width: 2px;
    background-color: white;
}

#safe-work-plan-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

#by-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

#by-text {
    font-size: 10px;
    color: white;
}

#compscience-logo {
    height: 18px;
    width: auto;
}

span.highlight {
    color: var(--brand-green);
}

/* Hero Block */
#hero-block {
    background-color: var(--blue-midnight);
    color: white;
    padding-top: 32px;
}

#hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

#hero-image, #hero-copy {
    flex: 1;
    max-width: calc(50% - 12px);
}

#hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-image img {
    width: 75%;
    height: auto;
    z-index: 2;
}

/* SWP Steps Block */
.swp-step {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
    margin: 16px 0;
    background: white;
}

.step-text {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-number {
    position: relative;
    top: -3px;
    text-align: center;
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
}

.swp-step h3 {
    margin: 0 0 4px;
}

.swp-step p {
    margin: 0;
}


#swp-step-1 {
    margin-top: 24px;
}

/* NSC SIF Block */
#nsc-sif-block {
    background-color: white;
}

#nsc-sif-content #sif-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.sif-item {
    width: calc(50% - 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

#nsc-sif-research-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

/* OSHA Ready Block */
#osha-ready-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
}

#osha-ready-content #copy {
    flex: 1;
}

#osha-ready-content p {
    margin: 0;
}

.osha-copy-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

#osha-ready-block #example {
    flex: 1;
    background-color: var(--grey-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#job-risk-score {
    text-align: center;
    color: var(--warning-dark);
    font-size: 22px;
    font-weight: 700;
    line-height: 115%;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    border: 1px solid var(--warning-dark);
    background: var(--warning-light);
}

#hazard-container {
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 6px;
    border: 1px solid var(--grey-300);
    background: white;
}

#hazard-container p {
    margin: 0;
}

#hazard {
    display: flex;
    gap: 4px;
    justify-content: space-between;
    width: 100%;
}

#hazard-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

#hazard-text img {
    width: 24px;
    height: 24px;
}

#hazard-risk-score {
    text-align: center;
    color: var(--warning-dark);
    padding: 8px;
    border-radius: 3px;
    border: 1px solid var(--warning-dark);
    background: var(--warning-light);
    white-space: nowrap;
    height: min-content;
}

#hazard-risk-score span {
    font-size: 10px;
    font-weight: 400;
}

.preventative-action {
    display: flex;
    align-items: center;
    gap: 4px;
}

.preventative-action img {
    width: 24px;
    height: 24px;
}

.control-type {
    border-radius: 3px;
    background: var(--grey-200);
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 600;
    color: var(--grey-600);
}

/* Fixed Try it Now Button */
#try-container {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 96px;
    padding: 16px 20px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--grey-300);
    background: var(--grey-100);
    box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.08);
    z-index: 2;
}

#try-container a {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

/* Call Us Modal */
#showCallOverlayBtn {
    height: 24px;
    width: 24px;
    min-width: 24px;
    border-radius: 12px;
    border: 2px solid var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
}

#showCallOverlayBtn img {
    width: auto;
    height: 100%;
}

#showCallOverlayBtn,
#closeCallOverlayBtn {
    cursor: pointer;
}

#callOverlay {
    position: fixed;
    background-color: white;
    padding: 20px;
    height: 100dvh;
    width: 100dvw;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none;
    z-index: 300;
}

.call-content-container {
    margin: 54px 0;
    text-align: center;
}

.call-content-container a {
    text-decoration: none;
    color: var(--brand-green);
}

@media screen and (max-width: 768px) {
    section {
        padding: 40px 20px;
    }

    .nsc-header {
        padding: 32px 20px 0 !important;
    }

    /* Hero Block */
    #hero-block {
        padding-bottom: 0;
    }

    #hero-content {
        gap: 0;
    }

    #hero-image, 
    #hero-copy {
        width: 100%;
        max-width: unset;
    }

    #hero-copy a {
        display: none;
    }

    #hero-image img {
        width: 90%;
    }

    #hero-image::after {
        position: absolute;
        bottom: 0;
        content: "";
        display: block;
        height: 30dvh;
        max-height: 300px;
        width: calc(100% + 40px);
        z-index: 1;
        background-color: var(--grey-100);
    }

    /* OSHA Ready Block */
    #hero-content, 
    #osha-ready-content {
        flex-direction: column;
    }
    #hero-image, 
    #hero-copy,
    #osha-ready-content #copy,
    #osha-ready-block #example {
        width: 100%;
        max-width: unset;
    }
}
