body {
    margin: 0;
    background: #F5F6F8;
    font-family: 'manrope', sans-serif;
    font-weight: 500;
    color: #62676C;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px clamp(25px, 8vw, 50px);

    background-color: #FAFAFB;
    border-bottom: 1px solid #E3E7ED;

    position: relative;
}

main {
    /* padding-bottom: 50px; */
}

figure {
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-family: 'manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #62676C;
    padding: 7px 0;
}

header figure img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    height: 32px;
    object-fit: contain;
}

.primary-btn {
    border: none;
    outline: none;
    background: #EBEEF2;
    font-family: 'manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 14px;
    color: #0E266B;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fold-txt {
    padding: clamp(60px, 12vh, 130px) clamp(25px, 8vw, 150px);
}

.fold-txt h1 {
    font-family: 'manrope', sans-serif;
    line-height: 1.3;
    max-width: 26ch;
    font-size: 72px;
    font-size: clamp(1.75rem, 2.8rem + 2vw, 72px);
    font-weight: 500;
    color: #0E266B;
    margin: 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    padding: 0 clamp(25px, 8vw, 150px);
    gap: 40px;
}

.service-card {
    background-color: #FAFAFB;
    border: 1px solid #E3E7ED;
    border-top: 2px solid #0096D6;
    padding: 30px 20px;
}

.service-card p {
    margin: 0;
    font-family: 'manrope', sans-serif;
    font-weight: 500;
    color: #0E266B;
    font-size: 18px;
    line-height: 1.4;
}

/**/

@media (max-width: 600px) {
    nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: start;
        padding: clamp(25px, 7vw, 50px);
        background-color: #FAFAFB;
        border-bottom: 1px solid #E3E7ED;
        border-top: 1px solid #E3E7ED;
    }

    .hidden {
        visibility: hidden;
    }
}

@media (min-width: 600px) {
    .hamburger {
        display: none;
    }

    #exit_nav_area {
        display: none;
    }
}

#exit_nav_area {
    background: rgba(0,0,0,0.3);
    height: 100%;
    border: none;
    padding: 0;
}


.hamburger {
    padding: 5px;
    transform: translateX(-5px);
    box-sizing: border-box;
    block-size: 2.4rem;
    inline-size: 2.5rem;
    background: transparent;
    outline: 0;
    border: 0;
    cursor: pointer;
  }
.hamburger figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    align-items: center;
}
.hamburger figure > div {
    display: block;
    width: 100%;
    height: 2px;
    background: #62676C;
    transition-property: transform, opacity;
    transition-duration: 0.4s;
}
.hamburger figure > div:nth-child(2) {
    width: 70%;
}

#contact {
    border: 1px solid #E3E7ED;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 9999;
}

#dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

:not(#contact[open]) ~ #dark-overlay {
    display: none;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;

    border-bottom: 1px solid #E3E7ED;
}

.contact-header p {
    color: #0E266B;
    font-weight: 600 !important;
}

.contact-header button {
    border: none;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.contact-header p,
.contact-content p,
.contact-header button,
.contact-content a {
    font-family: 'manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.contact-content {
    padding: 5px 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-content p {
    color: #62676C;
    margin: 15px 0 0;
    font-weight: 600 !important;
}

.contact-content a {
    color: #0E266B;
}

.fold-txt p {
    font-family: 'manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #62676C;
    max-width: 45ch;
}

.ending-strip {
    /* background: var(--color-passive-light); */
    /* border-radius: 20px; */
    /* padding: var(--edge-padding); */
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 20px;

    justify-content: center;
}

.ending-strip p {
    opacity: 0.9;
    font-family: 'manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #62676C;
}

.ending-strip a {
    font-weight: 600;
    padding: 5px 0;
    color: #0E266B;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 60px;
    padding: clamp(60px, 12vh, 130px) clamp(25px, 8vw, 150px);
}

.certifications img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 815px) {
    .certifications {
        justify-content: space-evenly;
    }
}