/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    position: relative;

    background: var(--primary-dark);

    color: var(--white);

    overflow: hidden;

    padding-top: 55px;

}


/* =========================================================
   TOP BORDER
========================================================= */

.site-footer::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: var(--primary);

}


.site-footer::after {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -250px;

    top: -250px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.04);

    pointer-events: none;

}


/* =========================================================
   BACKGROUND CALIBRATION ICONS
========================================================= */

.footer-bg-icons {

    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

}


.footer-icon {

    position: absolute;

    color: var(--white);

    opacity: .035;

}


.footer-icon-1 {

    left: 2%;

    top: 15%;

    font-size: 150px;

    transform: rotate(-20deg);

}


.footer-icon-2 {

    right: 5%;

    top: 8%;

    font-size: 160px;

    animation:
        footerRotate 25s linear infinite;

}


.footer-icon-3 {

    left: 30%;

    bottom: 10%;

    font-size: 170px;

    animation:
        footerRotate 30s linear infinite reverse;

}


.footer-icon-4 {

    right: 35%;

    bottom: 5%;

    font-size: 110px;

}


.footer-icon-5 {

    right: 12%;

    bottom: 25%;

    font-size: 130px;

}


/* =========================================================
   MAIN FOOTER ROW
========================================================= */

.footer-main-row {

    display: grid;

    grid-template-columns:

        1.45fr

        1fr

        1fr

        1.15fr

        1.45fr;

    gap: 28px;

    align-items: start;

}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-company-col,
.footer-links-col,
.footer-calibration-col,
.footer-contact-col,
.footer-laboratory-col {

    min-width: 0;

}


/* =========================================================
   COMPANY LOGO
========================================================= */

.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

    text-decoration: none;

}


.footer-logo-icon {

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 10px;

    background: var(--primary);

    color: var(--white);

    font-size: 20px;

    transition: all .35s ease;

}


.footer-logo:hover .footer-logo-icon {

    transform:
        rotate(-8deg)
        scale(1.05);

}


.footer-logo-name {

    display: block;

    color: var(--white);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: .5px;

}


.footer-logo small {

    display: block;

    color: rgba(255,255,255,.55);

    font-size: 8px;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.footer-description {

    max-width: 320px;

    margin: 0 0 17px;

    color: rgba(255,255,255,.62);

    font-size: 10px;

    line-height: 1.75;

}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.footer-certifications {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 18px;

}


.footer-certifications span {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 6px 8px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 5px;

    color: rgba(255,255,255,.65);

    font-size: 8px;

}


.footer-certifications i {

    color: var(--primary-light);

    font-size: 10px;

}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-social {

    display: flex;

    gap: 7px;

}


.footer-social a {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 7px;

    color: rgba(255,255,255,.65);

    text-decoration: none;

    font-size: 13px;

    transition: all .3s ease;

}


.footer-social a:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

    transform:
        translateY(-3px);

}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-column h4 {

    margin: 0 0 7px;

    color: var(--white);

    font-size: 13px;

    font-weight: 700;

}


.footer-heading-line {

    width: 30px;

    height: 2px;

    margin-bottom: 16px;

    background: var(--primary);

    border-radius: 10px;

}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-column ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


.footer-column li {

    margin-bottom: 8px;

}


.footer-column li a {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: rgba(255,255,255,.58);

    font-size: 10px;

    text-decoration: none;

    transition: all .3s ease;

}


.footer-column li a i {

    color: var(--primary-light);

    font-size: 7px;

    transition: all .3s ease;

}


.footer-column li a:hover {

    color: var(--white);

    transform:
        translateX(4px);

}


.footer-column li a:hover i {

    color: var(--white);

}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact-item {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-bottom: 12px;

}


.footer-contact-icon {

    width: 30px;

    height: 30px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background: rgba(1,87,146,.25);

    color: var(--primary-light);

    font-size: 12px;

}


.footer-contact-item span {

    display: block;

    margin-bottom: 2px;

    color: rgba(255,255,255,.38);

    font-size: 8px;

}


.footer-contact-item strong,
.footer-contact-item a {

    color: rgba(255,255,255,.80);

    font-size: 9px;

    text-decoration: none;

}


.footer-contact-item a:hover {

    color: var(--white);

}


.footer-contact-item p {

    max-width: 180px;

    margin: 0;

    color: rgba(255,255,255,.65);

    font-size: 8px;

    line-height: 1.6;

}


/* =========================================================
   FIND OUR LABORATORY
========================================================= */

.footer-map-description {

    max-width: 250px;

    margin: 0 0 10px;

    color: rgba(255,255,255,.55);

    font-size: 9px;

    line-height: 1.6;

}


/* =========================================================
   MAP WRAPPER
========================================================= */

.footer-map-wrapper {

    position: relative;

    width: 100%;

    padding: 5px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 10px;

    overflow: hidden;

}


.footer-map-wrapper iframe {

    display: block;

    width: 100%;

    height: 170px;

    border: 0;

    border-radius: 6px;

}


/* =========================================================
   MAP LABEL
========================================================= */

.map-top-label {

    position: absolute;

    top: 12px;

    left: 12px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 5px 8px;

    background: rgba(1,68,111,.90);

    border-radius: 4px;

    color: var(--white);

    font-size: 8px;

}


.map-top-label i {

    color: var(--primary-light);

    font-size: 9px;

}


/* =========================================================
   GET DIRECTIONS BUTTON
========================================================= */

.footer-direction-btn {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 9px;

    padding: 8px 11px;

    border: 1px solid rgba(255,255,255,.14);

    border-radius: 6px;

    color: var(--white);

    font-size: 8px;

    font-weight: 600;

    text-decoration: none;

    transition: all .3s ease;

}


.footer-direction-btn:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

    transform:
        translateY(-2px);

}


/* =========================================================
   BOTTOM FOOTER
========================================================= */

.footer-bottom {

    margin-top: 40px;

    padding: 15px 0;

    background: rgba(0,0,0,.20);

    border-top: 1px solid rgba(255,255,255,.06);

}


.footer-bottom p {

    margin: 0;

    color: rgba(255,255,255,.40);

    font-size: 8px;

}


.footer-bottom strong {

    color: rgba(255,255,255,.70);

}


.footer-bottom-links {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 7px;

}


.footer-bottom-links a {

    color: rgba(255,255,255,.40);

    font-size: 8px;

    text-decoration: none;

    transition: color .3s ease;

}


.footer-bottom-links a:hover {

    color: var(--white);

}


.footer-bottom-links span {

    color: rgba(255,255,255,.20);

    font-size: 7px;

}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes footerRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199px) {

    .footer-main-row {

        grid-template-columns:
            1.4fr
            1fr
            1fr
            1.1fr
            1.3fr;

        gap: 18px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .site-footer {

        padding-top: 55px;

    }


    .footer-main-row {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px 25px;

    }


    .footer-company-col {

        grid-column: span 2;

    }


    .footer-laboratory-col {

        grid-column: span 2;

    }


    .footer-map-wrapper iframe {

        height: 220px;

    }


    .footer-map-description {

        max-width: 400px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .site-footer {

        padding-top: 45px;

    }


    .footer-main-row {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .footer-company-col,
    .footer-laboratory-col {

        grid-column: auto;

    }


    .footer-company {

        max-width: 500px;

    }


    .footer-description {

        font-size: 10px;

    }


    .footer-map-wrapper iframe {

        height: 220px;

    }


    .footer-map-description {

        max-width: 100%;

    }


    .footer-bottom {

        margin-top: 30px;

        text-align: center;

    }


    .footer-bottom-links {

        justify-content: center;

        flex-wrap: wrap;

    }


    .footer-icon {

        font-size: 80px !important;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .footer-logo-name {

        font-size: 15px;

    }


    .footer-logo-icon {

        width: 42px;

        height: 42px;

        font-size: 18px;

    }


    .footer-heading-line {

        margin-bottom: 13px;

    }


    .footer-map-wrapper iframe {

        height: 200px;

    }


    .footer-bottom-links {

        gap: 5px;

    }

}