
/* =====================================================
   FLUXTQ SOLUTIONS - HOMEPAGE STYLESHEET
   Consolidated desktop, tablet, mobile and footer styles
===================================================== */

:root {
    --blue: #075bc5;
    --navy: #102653;
    --red: #ed2638;
    --white: #ffffff;
    --text: #14294f;
    --light-border: #dce4ee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
}

a {
    text-decoration: none;
}

/* =====================================================
   HEADER
===================================================== */

/* STICKY WEBSITE HEADER */

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
}

.header-container {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: auto;
    padding: 0 4.8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    width: 205px;
    height: 90px;
    object-fit: contain;
}

/* Navigation */

.primary-navigation {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-link,
.nav-dropdown-toggle {
    position: relative;
    height: 100%;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    border: none;
    background: transparent;

    color: var(--navy);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 17px;
    width: 100%;
    height: 3px;
    background: var(--blue);
}

/* Dropdowns */

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .dropdown-arrow {
    transform: rotate(225deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    z-index: 200;

    display: none;
    min-width: 235px;
    padding: 9px;

    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(20, 40, 70, 0.12);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px;
    border-radius: 4px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: #f0f5fc;
    color: var(--blue);
}

/* Quote button */

.header-quote-btn {
    min-height: 54px;
    padding: 0 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;
    background: var(--blue);
    color: #fff;

    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.25s ease;
}

.header-quote-btn:hover {
    background: #03489e;
    color: #fff;
}

/* Mobile menu button */

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;

    border: 1px solid #dce4ee;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

/* =====================================================
   HERO SECTION
===================================================== */

.home-hero {
    position: relative;
    isolation: isolate;
    width: 100%;

    height: calc(100vh - 100px);
    height: calc(100svh - 100px);

    min-height: 0;
    overflow: hidden;
    background: #f4f7fa;
}

/* Factory background */

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image: url("../images/FLUXTQ Factory BG.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* White readability overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.95) 29%,
        rgba(255,255,255,0.82) 45%,
        rgba(255,255,255,0.40) 65%,
        rgba(255,255,255,0.12) 100%
    );
}

/* Hero container */

.hero-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1600px;
    height: 100%;

    margin: auto;
    padding: 28px 4.6% 20px;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

/* Main hero layout */

.hero-main {
    min-height: 0;

    display: grid;
    grid-template-columns: 53% 47%;
    align-items: center;
    gap: 0;
}

/* Left content */

.hero-copy {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 790px;
    min-width: 0;
}

/* Eyebrow */

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 20px;

    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow-line {
    display: block;
    width: 38px;
    height: 4px;
    flex-shrink: 0;
    background: var(--red);
}

/* Heading */

.hero-copy h1 {
    margin-bottom: clamp(15px, 2.2vh, 23px);

    color: #102653;
    font-size: clamp(38px, 3.5vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.hero-copy h1 span {
    display: block;
    color: var(--blue);
    white-space: nowrap;
}

/* Description */

.hero-description {
    max-width: 720px;
    margin-bottom: clamp(18px, 2.7vh, 28px);

    color: #263b5b;
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.65;
}

/* Hero buttons */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    min-height: 54px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.primary-button {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    box-shadow: 0 5px 14px rgba(7, 91, 197, 0.16);
}

.primary-button:hover {
    background: #03499f;
    color: #fff;
    transform: translateY(-2px);
}

.primary-button span {
    font-size: 22px;
    font-weight: 400;
}

.secondary-button {
    color: var(--navy);
    background: rgba(255,255,255,0.75);
    border: 2px solid var(--navy);
}

.secondary-button:hover {
    background: var(--navy);
    color: #fff;
}

/* Product image */

.hero-product-area {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-image {
    display: block;
    width: 135%;
    max-width: 900px;
    max-height: 100%;
    height: auto;

    object-fit: contain;

    /* Retain the current downward product position */
    transform: translate(15px, 220px);

    filter: drop-shadow(
        0 12px 18px rgba(103, 104, 106, 0.35)
    );
}

/* =====================================================
   COMPANY HIGHLIGHTS
===================================================== */

.hero-highlights {
    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    width: 54%;
    max-width: 760px;

    padding-top: 14px;
    margin-top: 0;

    border-top: 1px solid rgba(16, 38, 83, 0.24);

    /* Keep highlights aligned independently of product image */
    transform: translateY(-45px);
}

.highlight-item {
    min-width: 0;
    min-height: 85px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;

    padding: 0 10px;

    border-right: 1px solid rgba(16, 38, 83, 0.28);
}

.highlight-item:first-child {
    padding-left: 0;
}

.highlight-item:last-child {
    padding-right: 0;
    border-right: none;
}

.highlight-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 3px;

    fill: none;
    stroke: var(--blue);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.highlight-item strong {
    display: block;
    margin-bottom: 3px;

    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.highlight-item span {
    display: block;
    color: #263b5b;
    font-size: 12px;
    line-height: 1.35;
}

/* =====================================================
   SHORT DESKTOP / LAPTOP SCREENS
===================================================== */

@media (max-height: 800px) and (min-width: 901px) {

    .site-header {
        height: 86px;
    }

    .brand-logo img {
        height: 80px;
        width: 185px;
    }

    .nav-link,
    .nav-dropdown-toggle {
        font-size: 15px;
    }

    .header-quote-btn {
        min-height: 46px;
        padding: 0 20px;
        font-size: 14px;
    }

    .home-hero {
        height: calc(100svh - 86px);
    }

    .hero-container {
        padding-top: 18px;
        padding-bottom: 13px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 3.3vw, 49px);
        margin-bottom: 13px;
    }

    .hero-eyebrow {
        margin-bottom: 14px;
    }

    .hero-description {
        margin-bottom: 17px;
        font-size: 14px;
    }

    .primary-button,
    .secondary-button {
        min-height: 47px;
        padding: 0 18px;
        font-size: 13px;
    }

    .hero-highlights {
        padding-top: 10px;
        margin-top: 5px;
    }

    .highlight-icon svg {
        width: 27px;
        height: 27px;
    }

    .highlight-item strong {
        font-size: 13px;
    }

    .highlight-item span {
        font-size: 10px;
    }

    .hero-product-image {
        transform: translate(15px, 200px);
    }
}

/* =====================================================
   SMALLER DESKTOP WIDTH
===================================================== */

@media (min-width: 901px) and (max-width: 1200px) {

    .primary-navigation {
        gap: 20px;
    }

    .brand-logo img {
        width: 170px;
    }

    .header-container {
        padding: 0 3%;
    }

    .hero-container {
        padding-left: 3%;
        padding-right: 3%;
    }

    .hero-main {
        grid-template-columns: 54% 46%;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 4vw, 48px);
    }

    .hero-copy h1 span {
        white-space: normal;
    }

    .hero-product-image {
        width: 125%;
        transform: translate(5px, 200px);
    }

    .hero-highlights {
        width: 67%;
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .site-header {
        height: 86px;
    }

    .header-container {
        padding: 0 24px;
    }

    .brand-logo img {
        width: 165px;
        height: 78px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;

        display: none;
        height: auto;

        padding: 18px 24px 24px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: #fff;
        border-top: 1px solid #e8edf2;
        box-shadow: 0 12px 25px rgba(15, 40, 75, 0.12);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .nav-link,
    .nav-dropdown-toggle {
        width: 100%;
        height: 48px;
        justify-content: space-between;
        font-size: 15px;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-dropdown {
        display: block;
        height: auto;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 5px 12px;
        border: 0;
        box-shadow: none;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .header-quote-btn {
        margin-top: 12px;
    }

    /* Tablet hero */

    .home-hero {
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .hero-container {
        height: auto;
        min-height: 0;
        padding: 48px 28px 30px;

        display: flex;
        flex-direction: column;
    }

    .hero-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        transform: none;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 6vw, 54px);
    }

    .hero-copy h1 span {
        white-space: normal;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-product-area {
        height: auto;
        min-height: 300px;
    }

    .hero-product-image {
        width: 100%;
        max-width: 650px;
        max-height: none;
        transform: none;
    }

    .hero-highlights {
        width: 100%;
        max-width: none;
        margin-top: 20px;
        padding-top: 20px;
        transform: none;
    }

    .hero-overlay {
        background: rgba(255,255,255,0.78);
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 560px) {

    .header-container {
        padding: 0 17px;
    }

    .brand-logo img {
        width: 145px;
    }

    .hero-container {
        padding: 36px 19px 25px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
        gap: 9px;
        margin-bottom: 14px;
    }

    .eyebrow-line {
        width: 27px;
        height: 3px;
    }

    .hero-copy h1 {
        font-size: 35px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 49px;
        font-size: 13px;
    }

    .hero-product-area {
        min-height: 220px;
    }

    .hero-product-image {
        width: 110%;
    }

    .hero-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 0;
        margin-top: 10px;
        padding-top: 20px;
    }

    .highlight-item {
        padding: 0 10px;
    }

    .highlight-item:nth-child(2) {
        border-right: none;
    }

    .highlight-item:nth-child(3) {
        padding-left: 0;
    }

    .highlight-icon svg {
        width: 28px;
        height: 28px;
    }

    .highlight-item strong {
        font-size: 13px;
    }

    .highlight-item span {
        font-size: 11px;
    }
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    color: #fff;

    background:
        radial-gradient(
            ellipse at 8% 15%,
            rgba(16, 91, 176, 0.19),
            transparent 38%
        ),
        linear-gradient(
            125deg,
            #101b35 0%,
            #122849 55%,
            #0b1931 100%
        );

    border-top: 3px solid var(--blue);
    font-family: inherit;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(93, 178, 255, 0.55),
        transparent
    );
}

/* Footer grid - improved horizontal distribution */

.site-footer-container {
    position: relative;
    z-index: 1;

    width: 92%;
    max-width: 1600px;
    margin: auto;
    padding: 58px 0 48px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 0.8fr)
        minmax(0, 1fr)
        minmax(0, 1.3fr);

    gap: 42px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

/* Company column */

.footer-company {
    padding-right: 10px;
}

.site-footer-logo {
    display: block;
    width: 175px;
    height: auto;
    padding: 9px 12px;
    margin-bottom: 23px;

    background: #fff;
    border-radius: 7px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13);
}

.footer-company p {
    max-width: 390px;
    margin: 0 0 20px;

    color: #c4d0e1;
    font-size: 14px;
    line-height: 1.85;
}

.footer-tagline {
    display: block;
    max-width: 340px;
    padding-left: 12px;

    border-left: 3px solid var(--red);

    color: #55bdf3;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

/* Footer headings */

.footer-column h3 {
    position: relative;
    margin: 5px 0 14px;

    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.footer-heading-line {
    display: block;
    width: 43px;
    height: 3px;
    margin-bottom: 25px;

    background: linear-gradient(
        90deg,
        #ed2939 0%,
        #ed2939 45%,
        #1476df 45%,
        #1476df 100%
    );

    border-radius: 5px;
}

/* Footer links */

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul a {
    display: inline-block;
    position: relative;

    color: #c7d3e5;
    font-size: 14px;
    line-height: 1.5;

    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column ul a:hover {
    color: #59c1f5;
    transform: translateX(5px);
}

/* Footer contact details */

.footer-contact {
    min-width: 0;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;

    width: 100%;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(247, 251, 255, 0.15);
    border: 1px solid rgb(3, 47, 83);
    border-radius: 7px;

    transition: background 0.25s ease;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: #FFFFFF;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-icon:hover {
    background: rgba(30, 112, 207, 0.28);
}

.footer-contact-item > div:last-child {
    min-width: 0;
    padding: 1px 0 0;
}

.footer-contact-label {
    display: block;
    margin: 0 0 5px;

    color: #8fa9cc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.footer-contact-item a,
.footer-contact-item address {
    display: block;
    margin: 0;
    padding: 0;

    color: #e1e9f5;
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
    text-decoration: none;

    overflow-wrap: break-word;
    word-break: normal;

    transition: color 0.25s ease;
}

.footer-contact-item a:hover {
    color: #59c1f5;
}

/* Directions link */

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 0 50px;
    padding: 10px 15px;

    border: 1px solid rgba(78, 173, 242, 0.45);
    border-radius: 5px;

    color: #65c5f5;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.25s ease;
}

.footer-map-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Copyright bar */

.site-footer-bottom {
    position: relative;
    z-index: 1;

    min-height: 66px;
    width: 100%;
    padding: 16px 4%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: rgba(4, 13, 29, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-bottom p {
    margin: 0;
    color: #aabbd2;
    font-size: 12px;
    line-height: 1.6;
}

.site-footer-bottom p:last-child {
    color: #72bce9;
    font-weight: 600;
}

/* =====================================================
   FOOTER TABLET
===================================================== */

@media (max-width: 1050px) {

    .site-footer-container {
        width: 88%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px;
    }
}

/* =====================================================
   FOOTER MOBILE
===================================================== */

@media (max-width: 600px) {

    .site-footer-container {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 42px 0;
    }

    .site-footer-logo {
        width: 155px;
    }

    .footer-company {
        padding-right: 0;
    }

    .footer-map-link {
        margin-left: 50px;
    }

    .site-footer-bottom {
        padding: 18px 6%;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }
}
/* ==========================================
   FLUXTQ – 20 YEARS ANNIVERSARY HIGHLIGHT
========================================== */

.hero-anniversary {
    position: absolute;
    top: 22px;
    left: 4.6%;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 13px 25px 13px 14px;

    background: linear-gradient(110deg, #063b82 0%, #075bc5 65%, #0875df 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 5px solid #ed2638;
    border-radius: 9px;

    box-shadow:
        0 10px 28px rgba(4, 38, 91, 0.28),
        0 3px 8px rgba(4, 38, 91, 0.12);

    min-width: 480px;
}

/* 20 YEARS CIRCLE */
.anniversary-number {
    width: 62px;
    height: 62px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #075bc5;
    border: 3px solid #ed2638;
    border-radius: 50%;

    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.anniversary-number span {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ANNIVERSARY MESSAGE */
.anniversary-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.anniversary-text strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.anniversary-text span {
    color: #dceaff;
    font-size: 12px;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-anniversary {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 24px;
        min-width: 0;
        width: fit-content;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .hero-anniversary {
        gap: 11px;
        padding: 10px 13px 10px 10px;
    }

    .anniversary-number {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .anniversary-text strong {
        font-size: 12px;
    }

    .anniversary-text span {
        font-size: 10px;
    }
}