/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #111111;
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-bottom: 20px;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 850px;
}

.text-center {
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav > a {
    font-size: 14px;
    transition: color 0.2s ease;
}

.main-nav > a:hover {
    color: #174a7c;
}

.login-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.login-link {
    border: 1px solid #111111;
    padding: 7px 12px;
    font-size: 13px !important;
}

.login-link:hover {
    background: #111111;
    color: #ffffff;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 26px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    border-bottom: 1px solid #dddddd;
    padding: 110px 0;
}

.hero-content {
    max-width: 950px;
}

.eyebrow,
.section-label {
    color: #174a7c;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: bold;
}

.hero-text {
    max-width: 760px;
    font-size: 18px;
    color: #444444;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid #111111;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.button-primary {
    background: #111111;
    color: #ffffff;
}

.button-primary:hover {
    background: #174a7c;
    border-color: #174a7c;
}

.button-secondary {
    background: #ffffff;
    color: #111111;
}

.button-secondary:hover {
    background: #eeeeee;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: #f7f7f7;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.section h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    margin-bottom: 25px;
}

.section-intro {
    max-width: 800px;
    color: #444444;
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 30px;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 15px;
}

.service-card p {
    color: #444444;
    font-size: 14px;
}


/* =========================================================
   STANDARDS
   ========================================================= */

.standards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 45px 0;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
}

.standards-list a {
    padding: 20px;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    background: #ffffff;
    font-weight: bold;
    transition: 0.2s ease;
}

.standards-list a:hover {
    background: #111111;
    color: #ffffff;
}

.text-link {
    font-weight: bold;
    border-bottom: 1px solid #111111;
    padding-bottom: 3px;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 70px;
    margin-top: 40px;
}

.feature {
    border-top: 1px solid #111111;
    padding-top: 20px;
}

.feature h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature p {
    color: #444444;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    background: #111111;
    color: #ffffff;
    padding: 85px 0;
}

.cta-content {
    max-width: 850px;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
    margin-bottom: 20px;
}

.cta p {
    color: #cccccc;
    max-width: 700px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #dddddd;
    padding-top: 55px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-logo {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-inner p {
    color: #555555;
    max-width: 450px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover {
    color: #174a7c;
}

.copyright {
    border-top: 1px solid #dddddd;
    padding: 20px 0;
}

.copyright p {
    color: #666666;
    font-size: 13px;
    margin: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 15px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .standards-list {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(100% - 30px, 1120px);
    }

    .header-inner {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #cccccc;
        padding: 20px 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        padding: 12px 5px;
        border-bottom: 1px solid #eeeeee;
    }

    .login-links {
        flex-direction: column;
        margin: 10px 0 0;
        gap: 8px;
    }

    .login-link {
        text-align: center;
    }

    .hero {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section {
        padding: 65px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .standards-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .standards-list a {
        padding: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .logo {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        text-align: center;
    }

    .standards-list {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    padding: 90px 0;
    border-bottom: 1px solid #dddddd;
}

.page-header h1 {
    max-width: 900px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.page-header p:last-child {
    max-width: 750px;
    color: #444444;
    font-size: 17px;
}


/* =========================================================
   APPROACH
   ========================================================= */

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.approach-item {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 30px;
}

.approach-number {
    display: block;
    color: #174a7c;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 25px;
}

.approach-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.approach-item p {
    color: #444444;
    font-size: 14px;
}


/* =========================================================
   ABOUT PAGE - MOBILE
   ========================================================= */

@media (max-width: 1000px) {

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 760px) {

    .page-header {
        padding: 65px 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   SERVICE DETAILS
   ========================================================= */

.service-detail {
    max-width: 900px;
}

.service-detail h2 {
    max-width: 850px;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.detail-list > div {
    border-top: 1px solid #111111;
    padding-top: 18px;
}

.detail-list strong {
    display: block;
    margin-bottom: 10px;
}

.detail-list p {
    color: #444444;
    font-size: 14px;
}


@media (max-width: 760px) {

    .detail-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

/* =========================================================
   STANDARDS CARDS
   ========================================================= */

.standards-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.standard-card {
    display: block;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 30px;
    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.standard-card:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.standard-code {
    display: block;
    color: #174a7c;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 18px;
}

.standard-card:hover .standard-code {
    color: #ffffff;
}

.standard-card h3 {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.standard-card p {
    color: #444444;
    font-size: 14px;
    margin: 0;
}

.standard-card:hover p {
    color: #cccccc;
}


/* =========================================================
   STANDARDS - MOBILE
   ========================================================= */

@media (max-width: 1000px) {

    .standards-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .standards-cards {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   TRAINING
   ========================================================= */

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.training-card {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 35px;
}

.training-number {
    display: block;
    color: #174a7c;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 25px;
}

.training-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.training-card p {
    color: #444444;
    font-size: 14px;
}

.training-card ul {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #dddddd;
}

.training-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
}


/* =========================================================
   TRAINING DELIVERY
   ========================================================= */

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 45px;
    border-top: 1px solid #111111;
    border-left: 1px solid #dddddd;
}

.delivery-item {
    padding: 30px;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.delivery-item h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.delivery-item p {
    color: #444444;
    font-size: 14px;
    margin: 0;
}


/* =========================================================
   TRAINING MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .training-grid {
        grid-template-columns: 1fr;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.contact-information {
    max-width: 500px;
}

.contact-information > p:not(.section-label) {
    color: #444444;
}

.contact-details {
    margin-top: 45px;
}

.contact-detail {
    border-top: 1px solid #dddddd;
    padding: 20px 0;
}

.contact-detail:last-child {
    border-bottom: 1px solid #dddddd;
}

.contact-detail span {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #174a7c;
}

.contact-detail a {
    color: #111111;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-detail p {
    margin: 0;
    color: #444444;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-information {
    width: 100%;
    max-width: 520px;
}

.contact-information > p:not(.section-label) {
    color: #444444;
    line-height: 1.8;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail {
    border-top: 1px solid #dddddd;
    padding: 18px 0;
}

.contact-detail:last-child {
    border-bottom: 1px solid #dddddd;
}

.contact-detail span {
    display: block;
    margin-bottom: 8px;

    color: #174a7c;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1px;
}

.contact-detail a {
    color: #111111;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-detail p {
    margin: 0;
    color: #444444;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-information {
    width: 100%;
    max-width: 520px;
}

.contact-information > p:not(.section-label) {
    color: #444444;
    line-height: 1.8;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail {
    border-top: 1px solid #dddddd;
    padding: 18px 0;
}

.contact-detail:last-child {
    border-bottom: 1px solid #dddddd;
}

.contact-detail span {
    display: block;
    margin-bottom: 8px;

    color: #174a7c;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1px;
}

.contact-detail a {
    color: #111111;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-detail p {
    margin: 0;
    color: #444444;
}


/* =========================================================
   CONTACT FORM CONTAINER
   ========================================================= */

.contact-form-wrapper {
    width: 100%;
    box-sizing: border-box;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #d8d8d8;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: 20px;
    row-gap: 20px;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.form-group {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}


/* =========================================================
   LABELS
   ========================================================= */

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #111111;

    font-family: "Courier New",
                 Courier,
                 monospace;

    font-size: 13px;
    font-weight: bold;

    line-height: 1.4;
}

.form-group label span {
    color: #174a7c;
}


/* =========================================================
   INPUTS
   ========================================================= */

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #cccccc;
    border-radius: 0;

    background: #ffffff;

    color: #111111;

    font-family: "Courier New",
                 Courier,
                 monospace;

    font-size: 14px;

    line-height: 1.4;

    outline: none;

    appearance: none;
}


/* =========================================================
   SELECT
   ========================================================= */

.form-group select {
    cursor: pointer;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #111111 50%
        ),
        linear-gradient(
            135deg,
            #111111 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 18px) 18px,
        calc(100% - 13px) 18px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    padding-right: 40px;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.form-group textarea {

    min-height: 155px;

    resize: vertical;

}


/* =========================================================
   FOCUS
   ========================================================= */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: #174a7c;

}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-form .button {

    grid-column: 1 / -1;

    justify-self: start;

    margin-top: 5px;

    border: none;

    cursor: pointer;

    font-family: "Courier New",
                 Courier,
                 monospace;

}


/* =========================================================
   REQUIRED NOTE
   ========================================================= */

.form-required {

    grid-column: 1 / -1;

    margin: -5px 0 0;

    color: #666666;

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   SUCCESS / ERROR MESSAGE
   ========================================================= */

.form-message {

    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    margin-bottom: 25px;

    font-size: 13px;

    line-height: 1.6;
}

.form-success {

    color: #14532d;

    background: #f0fdf4;

    border: 1px solid #86efac;

}

.form-error {

    color: #991b1b;

    background: #fef2f2;

    border: 1px solid #fca5a5;

}


/* =========================================================
   HONEYPOT
   ========================================================= */

.website-field {

    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;

}


/* =========================================================
   CONTACT SERVICE LINKS
   ========================================================= */

.contact-services {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;

    margin-top: 45px;

    border-top: 1px solid #111111;

    border-left: 1px solid #dddddd;

}

.contact-services a {

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 25px;

    border-right: 1px solid #dddddd;

    border-bottom: 1px solid #dddddd;

    color: #111111;

    text-decoration: none;

}

.contact-services a:hover {

    background: #111111;

    color: #ffffff;

}

.contact-services strong {

    font-size: 17px;

}

.contact-services span {

    color: #555555;

    font-size: 13px;

    line-height: 1.6;

}

.contact-services a:hover span {

    color: #cccccc;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .contact-information {

        max-width: 100%;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .contact-form-wrapper {

        padding: 22px;

    }


    .contact-form {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .form-group-full {

        grid-column: auto;

    }


    .contact-form .button {

        grid-column: auto;

        width: 100%;

        justify-self: stretch;

    }


    .form-required {

        grid-column: auto;

    }


    .contact-services {

        grid-template-columns: 1fr;

    }


    .contact-services a {

        padding: 22px;

    }

}

/* =========================================================
   LOGIN PAGES
   ========================================================= */

.login-page {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 80px 0;
}


.login-box {
    width: 100%;
    max-width: 480px;

    margin: 0 auto;

    padding: 45px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #d8d8d8;
}


.login-header {
    margin-bottom: 35px;
}


.login-header h1 {
    margin-bottom: 15px;
}


.login-header p:not(.section-label) {
    color: #444444;

    font-size: 14px;

    line-height: 1.7;
}


.login-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


.login-form .form-group {
    width: 100%;
}


.login-form input[type="email"],
.login-form input[type="password"] {

    width: 100%;

    box-sizing: border-box;

    padding: 14px;

    border: 1px solid #cccccc;

    border-radius: 0;

    background: #ffffff;

    color: #111111;

    font-family: "Courier New",
                 Courier,
                 monospace;

    font-size: 14px;

    outline: none;
}


.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {

    border-color: #174a7c;

}


.login-options {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    font-size: 12px;
}


.remember-me {

    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

}


.remember-me input {

    width: 14px;
    height: 14px;

    margin: 0;

    accent-color: #174a7c;

}


.login-options a {

    color: #174a7c;

    text-decoration: none;

}


.login-options a:hover {

    text-decoration: underline;

}


.login-button {

    width: 100%;

    margin-top: 5px;

    border: none;

    cursor: pointer;

    font-family: "Courier New",
                 Courier,
                 monospace;

}


.login-footer {

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #dddddd;

    text-align: center;

    font-size: 12px;

    line-height: 1.6;
}


.login-footer p {

    display: inline;

    color: #555555;

    margin: 0;

}


.login-footer a {

    color: #174a7c;

    text-decoration: none;

}


.login-footer a:hover {

    text-decoration: underline;

}


/* =========================================================
   ACTIVE LOGIN LINK
   ========================================================= */

.login-link.active {

    color: #174a7c;

    font-weight: bold;

}


/* =========================================================
   LOGIN MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .login-page {

        min-height: auto;

        padding: 50px 0;

    }


    .login-box {

        max-width: 100%;

        padding: 28px 22px;

    }


    .login-options {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

    }

}