body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    /*font-weight: <weight>;*/
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 4rem;
    height: 100%;
}

.section-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.divider {
    border-top: 1px solid #ffffff70;
    margin: 1.5rem 0;
    width: 80%;
}

.description {
    max-width: 80%;
    font-size: 1rem;
    line-height: 1.6;
}

.counter {
    font-size: 4rem;
    font-weight: bold;
    color: #2196f3;
    margin-top: auto;
}

.image-wrapper {
    position: relative;
    overflow-x: hidden;
}

.background-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    overflow-x: hidden;
}

.overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 70%;
    border: 4px solid white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .text-block {
        padding: 2rem 1.5rem;
    }

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

    .counter {
        font-size: 3rem;
    }

    .overlay-img {
        max-width: 90%;
        overflow-x: hidden;
    }
}

/* Navbar background */
.navbar-custom {
    background-color: #ffffff;
    border: 1px solid #007bff;  /* ← white outline */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: top 0.3s ease;
    overflow-x: hidden;
}

/* Logo sizing & padding */
.navbar-brand img {
    height: 90px;
    margin-left: 100px;
}
.navbar-brand {
    padding-left: 1rem;
}

/* Nav links styling */
.navbar-custom .nav-link {
    color: #007bff;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
    font-family: "Kanit", sans-serif;
}
.navbar-custom .nav-link:hover {
    color: #000000; /* subtle blue on hover */
}

/* Vertical divider before CTA */
.nav-divider {
    width: 1px;
    height: 24px;
    background-color: rgb(0, 112, 212);
    margin: 0 0.75rem;
}

@media (max-width: 767px) {
    .navbar-brand img {
        height: 60px;
        margin-left: 10px;
    }

    .navbar-toggler {
        margin-right: 1rem;
    }

    .navbar-custom .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        text-align: center;
        color: blue;
    }

    .navbar-collapse {
        background-color: #000000;
        padding-bottom: 1rem;
    }
}

/* CTA button styling */
.nav-link.cta {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
}
.nav-link.cta:hover {
    color: rgb(0, 112, 212); /* neon green on hover */
}

@media (max-width: 991px) {
    /* mobile: give some breathing room */
    .navbar-brand,
    .navbar-custom .nav-link {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Hero full‑screen, dark background */
.hero {
    min-height: 100vh;
    background-color: #000000;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    color: #007bff;       /* neon green */
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-family: "Kanit", sans-serif;
}
.bullet {
    margin-right: 0.5rem;
}

.hero-title {
    color: #ffffff;
    font-size: 8rem;
    font-weight: 400;
    line-height: 1.1;
    font-family: "Kanit", sans-serif;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-title {
        font-size: 4rem;
    }
}
@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-title {
        font-size: 2.9rem;
    }
}

.footer {
    background-color: #ffffff;        /* your lime color */
    color: #000;                         /* your navy text */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    /*width: 100vw;*/
    min-height: 645px;
    padding-top: 0;
    font-family: 'Fk Grotesk semimono', sans-serif;
    font-size: 14px;
    font-weight: 300;
    position: relative;
}

/* Top row padding */
.footer-top {
    padding: 40px 80px;                        /* matches your Webflow spacing */
}

/* Logo sizing */
.footer-logo {
    max-height: 90px;
}

/* Social icons */
.social_div .social_icon {
    display: block;
    height: 22px;
}
.footer-line-vertical {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Divider under top */
.footer-divider {
    border: none;
    border-top: 2px solid rgb(255 255 255);
    margin: 0 80px;
}

/* Middle row padding */
.footer-middle {
    padding: 40px 80px;
}

/* Nav links */
.footerlink {
    color: inherit;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s;
    font-family: "Kanit", sans-serif;;
}
.footerlink:hover {
    color: #333;
}

/* Marquee container */
.footer-base {
    flex-shrink: 0;
    margin-top: auto;
    height: 100px;         /* adjust to your SVG height */
}

@media (max-width: 767px) {
    .footer {
        min-height: auto;
        padding-top: 20px;
        font-size: 13px;
    }

    .footer-top,
    .footer-middle {
        padding: 20px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        max-height: 70px;
        margin-bottom: 20px;
    }

    .footer-divider {
        margin: 20px;
    }

    .footerlink {
        display: block;
        margin: 10px 0;
    }

    .social_div {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 20px;
    }

    .footer-base {
        height: auto;
        padding: 20px 0;
        overflow-x: hidden;
    }
}

/* Marquee animation */
.marquee {
    animation: scroll-left 20s linear infinite;
    /*overflow-x: hidden;*/
}
@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.section-divider {
    border-bottom: 1px solid #ffffff33;
    margin-bottom: 1.5rem;
}
.section-title {
    font-family: "Kanit", sans-serif;
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 100px;
}
.tab-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    font-weight: bold;
    border-left: 4px solid transparent;
}
.tab-btn.active {
    color: #0070d4;
    border-left: 4px solid #ff7a50;
    background-color: #141c30;
}
.content-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ffffff22;
    background: #0e172d;
    padding: 1rem;
}

.quote-box {
    background-color: #e9f3e6;
    border-radius: 10px;
    padding: 2rem;
    margin: 5rem auto;
    max-width: 900px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.quote-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 2rem;
    color: #003366;
    margin-right: 0.5rem;
}

.quote-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

.quote-author {
    margin-top: 1.5rem;
    font-weight: bold;
    color: #003366;
}

.steel-process {
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.steel-process-heading {
    color: #0070d4;
    font-family: "Kanit", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 2rem 1.5rem 1rem;
}

.steel-process-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
}

.process-step {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    overflow-x: hidden;
}

.step-content {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.step-line {
    position: absolute;
    top: 16px;
    left: -2000px;
    right: -2000px;
    height: 2px;
    background-color: white;
    z-index: 0;
}

.step-circle {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #001738;
    border: 2px solid white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 1;
}

.step-title {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .steel-process-grid {
        flex-direction: column;
        height: auto;
    }

    .process-step {
        height: 300px;
    }

    .step-line {
        display: none;
    }
}

.tab-btn.active {
    background-color: #007bff;
    color: #fff;
}

.tech-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
}

.thetech_hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('./images/testbg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

._2048-max-w.w-container,
.tech-container.w-container {
    position: relative;
    z-index: 2;
    max-width: 2048px;
    margin: 0 auto;
}

.tech-hero-text {
    padding-top: 60vh; /* Pushing text lower to appear half on image */
    padding-left: 5%;
    padding-right: 5%;
    color: white;
}

.techheroheading {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .techheroheading {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .tech-hero-text {
        padding-top: 30vh;
    }
}

.material-section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    padding: 60px 5% 0; /* remove bottom padding so divider sits flush */
    color: white;
    position: relative;
}

.material-section-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.material-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.material-section-divider {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    margin: 209px 0 2px;
}

.material-section-description {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    flex-grow: 1;

}

.material-section-bottom {
    margin-top: auto;
}

.material-section-stat {
    font-size: 5rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
    margin-top: 180px;
    margin-bottom: 20px;
}

.material-section-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: hidden;
}

.material-section-image img {
    max-width: 100%;
    height: auto;
    /*border-radius: 6px;*/
    overflow-x: hidden;
}

.material-section-full-divider {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    margin-top: 40px;
    overflow-x: hidden;
}

/*
solutions section*/
.highlight-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 5%;
    overflow-x: hidden; /* prevent side scroll */
}

.highlight-overlay {
    max-width: 700px;
    color: white;
}

/* Title */
.highlight-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 24px;
}

/* Description */
.highlight-description {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 40px;
}

/* Statistic */
.highlight-stat {
    font-size: 6rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Button */
.highlight-button {
    display: inline-block;
    color: #ffffff;
    border: 2px solid #0070d4;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.highlight-button:hover {
    background-color: #0070d4;
    color: #000;
}

/* -------------------------------------
   Mobile responsive tweaks
-------------------------------------- */
@media (max-width: 768px) {
    .highlight-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .highlight-description {
        font-size: 1.5rem;
    }

    .highlight-stat {
        font-size: 4rem;
    }

    .highlight-button {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
}

/*
Animkation*/

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    overflow-x: hidden;
}

.fade-in-right.show {
    opacity: 1;
    transform: translateX(0);
    overflow-x: hidden;
}

.mission-vision-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
}

.vertical-divider {
    width: 2px;
    background-color: #444c5c;
    margin: 0 20px;
    opacity: 0.8;
}

/* Adjust overlay layout to wrap on small screens */
.mission-vision-overlay {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    background-color: rgba(57, 98, 188, 0.85);
    padding: 40px;
    border-radius: 12px;
    max-width: 1200px;
    width: 100%;
}

/* Hide vertical line on small screens and stack instead */
@media (max-width: 768px) {
    .vertical-divider {
        display: none;
    }
}

.mission-vision-block {
    flex: 1 1 400px;
    color: white;
}

.mission-vision-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 20px;
}

.mission-vision-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #dddddd;
}

/* Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    overflow-x: hidden;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
    overflow-x: hidden;
}

.about-who-we-are {
    padding: 80px 5%;
    color: white;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 100px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.about-image {
    flex: 1 1 500px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgb(60 60 60 / 34%);
}

.about-text {
    flex: 1 1 500px;
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #dddddd;
}

/* Animation */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    overflow-x: hidden;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    overflow-x: hidden;
}

.fade-in-left.show,
.fade-in-right.show {
    opacity: 1;
    transform: translateX(0);
    overflow-x: hidden;
}

/* Responsive stacking */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        flex: 1 1 100%;
    }
}


.contact-box {
    font-family: 'Helvetica Neue', sans-serif;
}

.contact-box h3 {
    font-size: 1.75rem;
}

.contact-box p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
}

.contact-box a {
    color: #ffffff;
    text-decoration: none;
    font-family: "Kanit", sans-serif;
}

.contact-box a:hover {
    text-decoration: underline;
}

.social-icons a {
    font-size: 1.1rem;
    margin-right: 15px;
    color: #000;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

.contact-form-custom * {
    font-family: "Kanit", sans-serif;
}

/*
custom styling for hamburger button*/

/* Mini pop-down offcanvas from top */
.mini-offcanvas {
    height: auto !important;
    max-height: none;
    top: 60px; /* Distance from top of page */
    width: auto;
    left: auto;
    right: 20px; /* Align near the toggle button */
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    padding: 1rem;
}

/* Override default full-width layout */
.offcanvas-top {
    width: fit-content;
    min-width: 220px;
}

/* Remove animation flash */
.offcanvas-backdrop.show {
    opacity: 0;
}

.nav-link {
    font-family: "Kanit", sans-serif;
    font-size: 1rem;
    color: #000;
}

.nav-link:hover {
    color: #0070d4;
}

.section-divider-space{
    margin-bottom: 2.1rem;

}

/* Hide the offcanvas on desktop unless toggled */
@media (min-width: 768px) {
    .offcanvas.offcanvas-top {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .offcanvas.show {
        display: none !important;
    }
}
