html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

* {
    padding: 0;
    margin: 0;
}

.highlight {
    color: #207DAD;
}

.margin-btm {
    margin-bottom: 2rem;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8F8F8;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

h2 {
    font-size: 1rem;
    color: #207DAD;
}

h3 {
    font-size: 1.6rem;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.side-padding {
    padding-left: 5%;
    padding-right: 5%;
}

.text-center {
    text-align: center;
}

a {
    text-decoration: none;
    color: #fff;
}

/* 
Navbar
*/
.navbar {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1640px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
}

.nav-logo img {
    height: 40px;
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-links a {
    color: #f1f1f1;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid #207DAD;
}

.nav-cta {
    display: flex;
}

.nav-links .mobile-cta {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #f1f1f1;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 
Animations
*/
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-220px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(220px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Hero load animations */
.hero-title {
    animation: fadeUp 1.4s ease both;
}
.hero > p {
    animation: fadeUp 1.4s ease 0.45s both;
}
.hero > .quote {
    animation: fadeUp 1.4s ease 0.8s both;
}
.hero-title .logo:first-child {
    animation: fadeLeft 1.4s ease 0.2s both;
}
.hero-title .logo:last-child {
    animation: fadeRight 1.4s ease 0.2s both;
}
.hero-title h1 {
    animation: fadeUp 1.4s ease 0.1s both;
}
.floating-socials .social-icon:nth-child(1) {
    animation: fadeRight 1.4s ease 0.9s both;
}
.floating-socials .social-icon:nth-child(2) {
    animation: fadeRight 1.4s ease 1.05s both;
}
.floating-socials .social-icon:nth-child(3) {
    animation: fadeRight 1.4s ease 1.2s both;
}

/* Scroll-reveal base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.from-left {
    transform: translateX(-220px);
}
.reveal.from-right {
    transform: translateX(220px);
}
.reveal.visible {
    opacity: 1;
    transform: translate(0);
}

/* 
Hero
*/
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

h1 {
    padding: 2em;
    border: solid 2px #207DAD;
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 8em;
    margin-bottom: 2rem;
}

.stat-banner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: #262834;
    color: #fff;
    min-height: 150px;
    text-align: center;
}

.stat-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
}

/* 
About Us
*/
.about {
    max-width: 1920px;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.about-content p {
    max-width: 600px;
}

.offset, .offset2 {
    position: relative;
    display: inline-block;
}

.offset:before,
.offset2:before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #207DAD;
    z-index: -1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.offset:before {
    transform: translate(-20px, 20px);
}

.offset2:before {
    transform: translate(20px, 20px);
}

.offset:hover:before,
.offset2:hover:before {
    transform: translate(0, 0) scale(0.85);
    opacity: 0;
}

.about-content img {
    max-width: 300px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* 
Core Values
*/
.core {
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.value-card-container {
    max-width: 1744px;
    width: 100%;
    box-sizing: border-box;
}

.value-card {
    text-align: center;
    max-width: 300px;
    border: 1px solid #207DAD;
    padding: 2em 1em 2em 1em;
    font-weight: 600;
    box-sizing: border-box;
    align-items: center;
    display: flex;
    min-height: 120px;
}

.choose {
    max-width: 1920px;
    width: 100%;
    box-sizing: border-box;
}

.choose-container {
    max-width: 1460px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.choose-content {
    max-width: 1460px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.choose-list {
    max-width: 702px;
    width: 100%;
    box-sizing: border-box;
    margin-right: 20px;
}

.blue-strip {
    max-width: 702px;
    width: 100%;
    height: 103px;
    display: flex;
    align-items: center;
    background-color: #207dad;
    padding-left: 36px;
    font-family: poppins;
    color: #f1f1f1;
    font-size: 24px;
    font-weight: 600;
    box-sizing: border-box;
}

.description {
    max-width: 702px;
    width: 100%;
    height: 83px;
    display: flex;
    align-items: center;
    padding-left: 36px;
    box-sizing: border-box;
}

.choose-img {
    max-width: 450px;
    width: 100%;
}

.choose-img img {
    width: 100%;
    display: block;
}

/* #########################################
          PRODUCTS
######################################### */

.products {
    position: relative;
    max-width: 1920px;
    width: 100%;
    box-sizing: border-box;
}

.products-header {
    max-width: 1920px;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.products-cover {
    position: relative;
    max-width: 1552px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-text {
    position: absolute;
    max-width: 822px;
    width: 100%;
    color: #f1f1f1;
    z-index: 1;
    font-family: poppins;
    font-size: 64px;
    font-weight: 400;
}

.tint {
    position: absolute;
    box-sizing: border-box;
    max-width: 1552px;
    width: 100%;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.63);
}

.products-cover img {
    max-width: 1552px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    z-index: -1;
}

.quote-container {
    width: 367px;
    flex-shrink: 0;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #37a2d9;
}

.quote {
    position: relative;
    width: 240px;
    height: 50px;
    border-radius: 25px;
    border: none;
    background-color: #207dad;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-family: poppins;
    font-weight: 300;
    color: #f1f1f1;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.icon-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0px;
    z-index: 1;
    width: 35px;
    height: 35px;
    background-color: #f1f1f1;
    border-radius: 25px;
    margin-right: 10px;
}

.quote img {
    max-width: 20px;
    height: auto;
    background-position: center center;
}

.portfolio {
    max-width: 1630px;
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
}

.portfolio-container {
    max-width: 1630px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 3em;
}

.equipment {
    max-width: 1630px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
}

.equipment > img {
    max-width: 450px;
    width: 100%;
    object-fit: cover;
}

.product-text {
    max-width: 639px;
    width: 100%;
    padding: 52px;
    box-sizing: border-box;
}

.product-text li {
    font-family: poppins;
    font-size: 1rem;
    font-weight: 400;
    list-style-type: disc;
    margin-left: 1.5rem;
}

/* 
Industries We Serve
*/

.industries {
    padding-bottom: 1em;
}

.industry-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    color: #fff;
    font-size: 1.2rem;
    min-height: 500px;
    flex: 1 1 0;
    min-width: 0;
    transition: flex 0.5s ease, min-height 0.5s ease, background-position 0.5s ease;
    overflow: hidden;
}

.ic-content {
    opacity: 0;
    max-height: 0;
    max-width: 600px;
    margin-top: 0;
    overflow: hidden;
    transition: opacity .4s ease, max-height .5s ease, margin-top .4s ease;
}

.industry-card:hover .ic-content {
    opacity: 1;
    max-height: 300px;
    margin-top: 1rem;
}

.list {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1em;
}

.list > div {
    flex: 1 1 0;
    min-width: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.list > div:hover {
    flex: 3 1 0;
}

.title {
    padding-top: 20px;
    padding-left: 20px;
    color: #fff;
    font-size: 1.6rem;
}

.list div {
    position: relative;
}

.left {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
}

/* 
Our Process
*/
.process {
    padding: 60px 20px;
    background-color: #262834;
    color: #fff;
}

.process h3 {
    color: #fff;
}

.process-steps {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.process-step {
    flex: 1;
    position: relative;
    background-color: #207DAD;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 2.5rem 2rem 1.5rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
    margin-right: -1px;
}

.process-step:nth-child(even) {
    background-color: #1a6a94;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.step-spacer {
    display: none;
}

.step-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
}

.step-content p {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

/* 
Floating Socials
*/
.floating-socials {
    position: absolute;
    bottom: 2rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-socials {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #207DAD;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    background-color: #1a6a94;
    transform: scale(1.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* 
Footer
*/
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #262834;
}

.layman-link {
    text-decoration: none;
}

.layman-white {
    color: #F1F1F1;
}

.layman-blue {
    color: #38b5e3;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.footer-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.footer-map iframe {
    box-sizing: border-box;
}

/* #########################################
          RESPONSIVE
######################################### */


@media (max-width: 1110px) {
    .mobile-off {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .navbar {
        background: rgba(12, 12, 12, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        transform: none;
        width: 100vw;
        background: rgba(12, 12, 12, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 1rem 0;
        gap: 0;
        z-index: 101;
        box-sizing: border-box;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links a {
        color: #f1f1f1;
        font-size: 1rem;
    }

    .nav-links .mobile-cta {
        display: flex;
        justify-content: center;
        padding: 1rem 0;
        border-bottom: none;
    }

    .nav-links .quote {
        font-size: 1rem;
        width: auto;
        padding: 10px 20px;
    }

    .mobile-cta a {
        color: #fff;
    }
}

@media (max-width: 1024px) {

    /* Hero */
    .hero-title {
        gap: 3em;
    }

    h1 {
        padding: 1em;
        font-size: 1.8rem;
    }

    .logo {
        width: 60px;
    }

    /* Stat banner */
    .stat-banner {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    /* About */
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content img {
        max-width: 100%;
    }

    .about-content p {
        max-width: 100%;
    }

    /* Core values */
    .row {
        flex-wrap: wrap;
    }

    .value-card {
        min-width: 200px;
        flex: 1;
    }

    /* Choose */
    .choose {
        padding: 40px 24px;
    }

    .choose-content {
        flex-direction: column;
    }

    .choose-list {
        max-width: 100%;
        margin-right: 0;
    }

    .blue-strip,
    .description {
        max-width: 100%;
    }

    .choose-img {
        max-width: 100%;
        margin: 20px 0 0;
    }

    /* Products */
    .products-header {
        flex-direction: column;
        height: auto;
    }

    .products-cover {
        max-width: 100%;
        height: 250px;
    }

    .products-cover img {
        height: 250px;
    }

    .tint {
        max-width: 100%;
        height: 250px;
    }

    .products-text {
        font-size: 40px;
        max-width: 90%;
        text-align: center;
        padding: 0 16px;
    }

    .quote-container {
        width: 100%;
        height: 120px;
    }

    .equipment {
        flex-direction: column;
        align-items: flex-start;
    }

    .equipment > img {
        max-width: 100%;
    }

    .product-text {
        max-width: 100%;
        padding: 30px 0;
    }

    .portfolio {
        padding: 30px 20px;
    }

    /* Process */
    .process-steps {
        gap: 2px;
    }

    .process-step {
        padding: 1.5rem 2rem 1.5rem 1rem;
    }

    .step-content h4 {
        font-size: 0.7rem;
    }

    .step-content p {
        font-size: 0.65rem;
    }

}

@media (max-width: 900px) {
    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact,
    .footer-map {
        width: 100%;
        padding: 1.5rem;
    }

    .footer-map iframe {
        width: 100%;
    }
}

@media (max-width: 1420px) {
        /* Industries */
    .industries {
        padding: 24px 16px;
    }

    .list {
        flex-direction: column;
    }

    .industry-card {
        flex: none;
        min-height: 150px;
    }

    .industry-card:hover {
        min-height: 350px;
    }
}



@media (max-width: 700px) {
    /* Process */
    .process {
        padding: 40px 16px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .process-step {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 50% 100%, 0 calc(100% - 20px));
        padding: 1.5rem 1.5rem 2.5rem;
        margin-right: 0;
    }

    .process-step:last-child {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    /* Override slide direction to bottom and fix stagger order */
    .process-step.reveal.from-right {
        transform: translateY(80px);
    }
    .process-step.reveal.from-right.visible {
        transform: translateY(0);
    }
    .process-steps .process-step:nth-child(1) { transition-delay: 0s; }
    .process-steps .process-step:nth-child(2) { transition-delay: 0.6s; }
    .process-steps .process-step:nth-child(3) { transition-delay: 1.2s; }
    .process-steps .process-step:nth-child(4) { transition-delay: 1.8s; }
    .process-steps .process-step:nth-child(5) { transition-delay: 2.4s; }
}

@media (max-width: 600px) {

    /* Hero */
    .hero-title {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title img {
        display: none;
    }

    h1 {
        font-size: 1.4rem;
        padding: 0.8em;
    }

    .logo {
        width: 40px;
    }

    /* Stat banner */
    .stat-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    /* About */
    .about {
        padding: 24px 16px;
    }

    /* Core values */
    .value-card {
        min-width: 100%;
        flex: unset;
    }

    /* Choose */
    .choose {
        padding: 24px 16px;
    }

    .blue-strip {
        font-size: 18px;
        height: 70px;
        padding-left: 20px;
    }

    .description {
        height: auto;
        padding: 12px 20px;
    }

    /* Products */
    .products-text {
        font-size: 24px;
    }

    .product-text {
        padding: 20px 0;
    }

    .portfolio {
        padding: 20px 16px;
    }

    .portfolio-container {
        gap: 30px;
    }

    /* Footer */
    .footer-content {
        padding: 1rem;
    }

    .footer-contact,
    .footer-map {
        padding: 1rem;
        width: 100%;
    }

    .footer-map iframe {
        width: 100%;
    }
}