@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background: #ffffff;
    color: #111111;
}

#industries,
#services {
    scroll-margin-top: 30px;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: relative;
    width: 100%;
    height: 105px;

    display: flex;
    align-items: center;

    padding: 0 40px;

    background: transparent;
    border-bottom: 1px solid #eeeeee;

    z-index: 1000;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    width: 120px;
    height: 95px;

    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;

    color: #111111;

    font-size: 26px;
    font-weight: 800;
}

.logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* =========================================================
   NAV RIGHT
========================================================= */

.nav-right {
    display: flex;
    align-items: center;

    /*
        Controls distance between
        LOGO and NAVIGATION LINKS
    */
    margin-left: 30px;

    /*
        Controls distance between
        NAVIGATION LINKS and EMAIL
    */
    gap: 55px;

    flex-shrink: 0;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    /*
        Controls distance between links
    */
    gap: 45px;
}

.nav-links>a,
.products>a {
    display: flex;
    align-items: center;

    color: #222222;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.nav-links>a:hover,
.products>a:hover {
    color: #777777;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products {
    position: relative;
}

.products>a {
    gap: 8px;
}


/* =========================================================
   DROPDOWN ARROW
========================================================= */

.dropdown-arrow {
    width: 15px;
    height: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.imgss {
    width: 15px;
    height: 15px;

    display: block;

    object-fit: contain;

    transition: transform 0.25s ease;
}

.products:hover .imgss {
    transform: rotate(180deg);
}


/* =========================================================
   PRODUCTS DROPDOWN
========================================================= */

.dropdown {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    transform: translateX(-50%);

    width: 190px;

    padding: 10px 0;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 8px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    z-index: 1100;
}


/* Invisible bridge */

.products::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    height: 12px;
}


/* Show dropdown */

.products:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   CATEGORY
========================================================= */

.category {
    position: relative;
}

.category>a {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 18px;

    color: #222222;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: background 0.2s ease;
}

.category>a:hover {
    background: #f5f5f5;
}


/* =========================================================
   SUBCATEGORY ARROW
========================================================= */

.subcategory-arrow {
    font-size: 20px;

    line-height: 1;

    font-weight: 400;

    transition: transform 0.2s ease;
}

.category:hover .subcategory-arrow {
    transform: translateX(3px);
}


/* =========================================================
   SUBCATEGORY DROPDOWN
========================================================= */

.sub-dropdown {
    position: absolute;

    top: 0;
    left: calc(100% + 5px);

    width: 190px;

    padding: 10px 0;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 8px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    z-index: 1200;
}


/* Invisible bridge */

.category::after {
    content: "";

    position: absolute;

    top: 0;
    left: 100%;

    width: 5px;
    height: 100%;
}


/* Show submenu */

.category:hover .sub-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   SUBCATEGORY LINKS
========================================================= */

.sub-dropdown a {
    display: block;

    width: 100%;

    padding: 12px 18px;

    color: #222222;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.sub-dropdown a:hover {
    background: #f5f5f5;
    color: #111111;
}


/* =========================================================
   EMAIL BUTTON
========================================================= */

.email-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 17px 35px;

    background: #e63946;

    color: #ffffff;

    border-radius: 30px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.email-btn:hover {
    background: #333333;

    transform: translateY(-1px);
}



/* =========================================================
   FOUNDATION BOLT PAGE
   BANNER + HEADING
========================================================= */

.bolts-page {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 0 18px;
}


/* =========================================================
   BANNER
========================================================= */

.bolts-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
    line-height: 0;
    padding-top:50px
}

.bolts-banner img {
    display: block;
    border-radius: 18px 18px 18px 18px;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* =========================================================
   HEADING ROW
========================================================= */

.bolts-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 34px;
}

.bolts-title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: #2d4865;
    letter-spacing: 0.3px;
}

.bolts-title span {
    display: block;
    width: 100px;
    height: 3px;
    margin-top: 10px;
    background: #e83d47;
}


/* =========================================================
   BACK TO PRODUCTS
========================================================= */

.back-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    height: 41px;
    padding: 0 25px;
    background: #e83d47;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.back-products:hover {
    background: #cf2f39;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   FOUNDATION CONTENT SECTION
========================================================= */

.foundation-bolt-section {
    width: 100%;
    padding: 0 16px 45px;
    background: #ffffff;
}

.foundation-bolt-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}


/* =========================================================
   TOP CONTENT
========================================================= */

.foundation-top {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}


/* =========================================================
   TEXT
========================================================= */

.foundation-intro,
.foundation-content {
    min-width: 0;
}

.foundation-intro p,
.foundation-content p {
    margin: 0 0 20px;
    color: #182b40;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
}

.foundation-intro strong,
.foundation-content strong {
    color: #182b40;
    font-weight: 800;
}


/* =========================================================
   FOUNDATION IMAGE
========================================================= */

.foundation-image {
    width: 100%;
}

.foundation-image img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}


/* =========================================================
   REMAINING CONTENT
========================================================= */

.foundation-content {
    width: 100%;
    margin-top: 0;
}

.foundation-content p {
    margin-bottom: 20px;
}

/* =========================================================
   GRADE TABLE SECTION
========================================================= */

.grade-table-section {
    width: 100%;
    padding: 10px 16px 50px;
    background: #ffffff;
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.grade-table-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.grade-table-wrapper {
    width: 100%;

    border: 2px solid #ffffff;
    border-radius: 12px;

    /*
       No horizontal scrolling
    */
    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   TABLE
========================================================= */

.grade-table {
    width: 100%;

    /*
       Allows the table to fit the screen
    */
    table-layout: fixed;

    border-collapse: collapse;

    background: #dbe6f2;

    color: #222222;
}


/* =========================================================
   HEADER
========================================================= */

.grade-table thead {
    background: #004380;
    color: #ffffff;
}


/* =========================================================
   HEADER CELLS
========================================================= */

.grade-table th {
    padding: 14px 8px;

    border-right: 2px solid #ffffff;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;

    text-align: center;
    vertical-align: middle;

    /*
       Allows long headings to wrap
    */
    overflow-wrap: break-word;
    word-wrap: break-word;

    box-sizing: border-box;
}


/* =========================================================
   DATA CELLS
========================================================= */

.grade-table td {
    padding: 14px 8px;

    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.4;

    text-align: center;
    vertical-align: middle;

    /*
       Prevents long text from forcing
       the table wider.
    */
    overflow-wrap: break-word;
    word-wrap: break-word;

    box-sizing: border-box;
}


/* =========================================================
   LAST COLUMN
========================================================= */

.grade-table th:last-child,
.grade-table td:last-child {
    border-right: none;
}


/* =========================================================
   ROW HOVER
========================================================= */

.grade-table tbody tr:hover {
    background: #f3f3f3;
}


/* =========================================================
   COLUMN WIDTHS
========================================================= */

.grade-table th:nth-child(1),
.grade-table td:nth-child(1) {
    width: 18%;
}

.grade-table th:nth-child(2),
.grade-table td:nth-child(2) {
    width: 22%;
}

.grade-table th:nth-child(3),
.grade-table td:nth-child(3) {
    width: 20%;
}

.grade-table th:nth-child(4),
.grade-table td:nth-child(4) {
    width: 18%;
}

.grade-table th:nth-child(5),
.grade-table td:nth-child(5) {
    width: 22%;
}


/* =========================================================
   IMAGE
========================================================= */

.grade-image {
    width: 130px;
    height: 100px;

    /*
       Image can never become wider
       than its table cell.
    */
    max-width: 100%;
    height: auto;

    object-fit: contain;

    display: block;

    margin: 0 auto;
}


/* =========================================================
   TABLET
   768px
========================================================= */

@media (max-width: 768px) {

    .grade-table-section {
        padding: 10px 12px 40px;
    }

    .grade-table-wrapper {
        border-radius: 10px;
    }

    .grade-table th {
        padding: 11px 6px;

        font-size: 12px;
        line-height: 1.25;
    }

    .grade-table td {
        padding: 11px 6px;

        font-size: 12px;
        line-height: 1.35;
    }

    .grade-image {
        width: 90px;
        max-width: 80%;
    }
}


/* =========================================================
   MOBILE
   600px
========================================================= */

@media (max-width: 600px) {

    .grade-table-section {
        padding: 8px 8px 35px;
    }

    .grade-table-wrapper {
        border-radius: 8px;
    }

    .grade-table th {
        padding: 9px 4px;

        font-size: 11px;
        line-height: 1.2;
    }

    .grade-table td {
        padding: 9px 4px;

        font-size: 11px;
        line-height: 1.3;
    }

    .grade-image {
        width: 70px;
        max-width: 75%;
    }
}


/* =========================================================
   SMALL MOBILE
   480px
========================================================= */

@media (max-width: 480px) {

    .grade-table-section {
        padding: 6px 5px 30px;
    }

    .grade-table th {
        padding: 8px 3px;

        font-size: 10px;
        line-height: 1.15;
    }

    .grade-table td {
        padding: 8px 3px;

        font-size: 10px;
        line-height: 1.25;
    }

    .grade-image {
        width: 55px;
        max-width: 70%;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   360px
========================================================= */

@media (max-width: 360px) {

    .grade-table-section {
        padding: 5px 3px 25px;
    }

    .grade-table th {
        padding: 7px 2px;

        font-size: 9px;
    }

    .grade-table td {
        padding: 7px 2px;

        font-size: 9px;
        line-height: 1.2;
    }

    .grade-image {
        width: 45px;
        max-width: 65%;
    }
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;
    background: #111c2b;
    color: #ffffff;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -250px;
    right: -180px;
    border: 1px solid rgba(240, 136, 37, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -180px;
    left: -150px;
    background: rgba(240, 136, 37, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
    padding: 75px 40px 65px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.45fr 0.8fr 1.5fr 0.8fr;
    gap: 65px;
}

.footer-company {
    padding-right: 25px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 28px;
}

.footer-logo img {
    width: 145px;
    height: auto;
    display: block;
}

.footer-description {
    max-width: 390px;
    margin: 0 0 25px;
    color: #aeb8c5;
    font-size: 15px;
    line-height: 1.9;
}

.footer-about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.footer-about-link span {
    color: #e53946;
    font-size: 19px;
}

.footer-menu h3,
.footer-locations h3,
.footer-contact h3 {
    position: relative;
    margin: 7px 0 28px;
    padding-bottom: 15px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.footer-menu h3::after,
.footer-locations h3::after,
.footer-contact h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: #e53946;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 13px;
}

.footer-menu a {
    color: #aeb8c5;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #e53946;
}

.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-number {
    flex-shrink: 0;
    color: #e53946;
    font-size: 12px;
    font-weight: 800;
}

.footer-location h4 {
    margin-bottom: 7px;
    font-size: 14px;
}

.footer-location p {
    max-width: 330px;
    color: #9faab8;
    font-size: 13px;
    line-height: 1.75;
}

.contact-label {
    margin-bottom: 8px;
    color: #7f8c9c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-email {
    display: inline-block;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 190px;
    padding: 14px 17px;
    border: 1px solid #e53946;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-contact-button span {
    color: #e53946;
    font-size: 17px;
}

.footer-contact-button:hover {
    background: #e53946;
    color: #111c2b;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 40px;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: #7f8b99;
    font-size: 12px;
}

.footer-bottom a {
    color: #c5ccd5;
    font-weight: 700;
    text-decoration: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 0 25px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-right {
        gap: 25px;
    }

    .bolts-page,
    .foundation-bolt-container,
    .grade-table-container {
        max-width: calc(100% - 50px);
    }

    .footer-container {
        grid-template-columns: 1.3fr 0.8fr 1.3fr;
        gap: 40px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .bolts-page {
        max-width: calc(100% - 30px);
        padding-bottom: 15px;
    }

    .bolts-banner {
        border-radius: 0 0 12px 12px;
    }

    .bolts-header {
        margin-top: 25px;
        gap: 15px;
        align-items: flex-start;
    }

    .bolts-title h1 {
        font-size: 22px;
    }

    .bolts-title span {
        width: 70px;
        height: 2px;
        margin-top: 8px;
    }

    .back-products {
        min-width: auto;
        height: 37px;
        padding: 0 17px;
        font-size: 11px;
    }

    .foundation-bolt-section {
        padding: 0 15px 35px;
    }

    .foundation-bolt-container,
    .grade-table-container {
        max-width: 100%;
    }

    .foundation-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .foundation-image {
        order: -1;
    }

    .foundation-image img {
        height: 230px;
        border-radius: 10px;
    }

    .foundation-intro p,
    .foundation-content p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 17px;
    }

    .grade-table-section {
        padding: 5px 10px 35px;
    }

    .grade-table {
        min-width: 650px;
    }

    .grade-table-wrapper {
        overflow-x: auto;
    }

    .grade-table th {
        font-size: 12px;
        padding: 12px 8px;
    }

    .grade-table td {
        font-size: 12px;
        padding: 12px 8px;
    }

    .grade-image {
        width: 90px;
        height: 75px;
    }

    .footer-main {
        padding: 55px 22px 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-company,
    .footer-locations,
    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 18px 22px;
    }

    .footer-bottom-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}