/* =========================================================
   TEXTILE WEBSITE - MAIN CSS
   Premium B2B Textile / Raw Material Website
========================================================= */

/* =========================
   ROOT VARIABLES
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root {
    --navy: #29343e;
    --navy-light: #202b35;
    --blue: #35414b;
    --blue-light: #46525d;

    --accent: #c80035;
    --accent-light: #f62963;

    --white: #ffffff;
    --text: #e9eef2;
    --muted: #aeb8c0;

    --dark-text: #26313b;
    --light-bg: #f3f4f5;
    --border: rgba(38, 49, 59, 0.14);

    --container: 1200px;
    --transition: 0.35s ease;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    min-height: 38px;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #04101a;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    font-size: 12px;
    color: var(--muted);
}

/* .top-bar-left, */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--white);
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;

    z-index: 1000;

    padding: 18px 4%;

    background: rgba(7, 21, 34, 0.72);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid transparent;

    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    padding: 13px 4%;

    background: rgba(5, 17, 28, 0.96);
    border-bottom-color: rgba(255,255,255,0.08);
}

.navbar-inner {
    width: min(100%, var(--container));
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-symbol {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    background: var(--accent);
    color: white;

    border-radius: 50%;

    font-size: 15px;
}

.logo-text {
    color: white;
}


/* =========================
   NAVIGATION
========================= */

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation > a,
.nav-dropdown > a {
    position: relative;

    font-size: 13px;
    font-weight: 500;

    color: #dbe5eb;

    transition: var(--transition);
}

.navigation > a::after,
.nav-dropdown > a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: var(--transition);
}

.navigation > a:hover,
.nav-dropdown > a:hover {
    color: white;
}

.navigation > a:hover::after,
.nav-dropdown > a:hover::after {
    width: 100%;
}


/* =========================
   DROPDOWN
========================= */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;

    top: 30px;
    left: 0;

    min-width: 180px;

    padding: 10px;

    background: #0b1e2d;

    border: 1px solid rgba(255,255,255,0.1);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;

    padding: 9px 12px;

    color: var(--muted);
    font-size: 13px;

    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}


/* =========================
   QUOTE BUTTON
========================= */

.nav-quote,
.mobile-quote {
    padding: 11px 19px;

    background: var(--accent);
    color: white;

    font-size: 12px;
    font-weight: 700;

    border-radius: 2px;

    transition: var(--transition);
}

.nav-quote:hover,
.mobile-quote:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.mobile-menu-button {
    display: none;

    border: none;
    background: transparent;

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* =========================
   MOBILE NAVIGATION
========================= */

.mobile-navigation {
    display: none;

    position: fixed;

    top: 75px;
    left: 0;

    width: 100%;

    padding: 25px;

    background: #071522;

    border-top: 1px solid rgba(255,255,255,0.08);

    z-index: 999;
}

.mobile-navigation.active {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-navigation a {
    color: var(--text);
    font-size: 15px;
}


/* =========================
   HERO
========================= */

/* HERO */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
}

/* Image slideshow layers */
.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.3s ease;
}

.hero-slide.is-active {
    opacity: 1;
    animation: heroKenBurns 6.5s ease-in-out both;
}

@keyframes heroKenBurns {
    from { transform: scale(1.04); }
    to   { transform: scale(1.12); }
}

/* Dark image overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(25, 36, 46, 0.88),
        rgba(35, 46, 56, 0.72),
        rgba(35, 46, 56, 0.58)
    );
}

/* Centered hero text */
.hero-content {
    position: relative;
    z-index: 2;
    width: min(96%, 1400px);
    margin: 0 auto;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    color: #e4e6e8;
    font-size: clamp(15px, 2vw, 23px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-label::before,
.hero-label::after {
    content: "";
    width: 42px;
    height: 3px;
    background: var(--accent);
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: none;
    margin: 0 auto 28px;
    color: #ffffff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(42px, 7vw, 88px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -2px;
}

.hero h1 strong,
.hero h1 span {
    color: #ffffff !important;
    font-weight: 700;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 35px;
    color: #d5dbe0;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.hero .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.hero .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: var(--dark-text);
    transform: translateY(-3px);
}

/* Responsive hero */
@media (max-width: 600px) {
    .hero-content {
        padding: 90px 0 45px;
    }

    .hero-label {
        gap: 10px;
        letter-spacing: 2px;
    }

    .hero-label::before,
    .hero-label::after {
        width: 25px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active {
        animation: none;
        transform: none;
    }
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    padding: 14px 24px;

    border: 1px solid transparent;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: rgba(255,255,255,0.35);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}


/* =========================
   HERO BOTTOM
========================= */

.hero-bottom {
    position: absolute;

    bottom: 35px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 2;

    width: min(92%, var(--container));

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-bottom-item {
    color: #c8d3da;
    font-size: 12px;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 50px;
    height: 1px;

    background: var(--accent);
}


/* =========================
   GENERAL SECTION
========================= */

.section {
    padding: 110px 0;
}

.section-title {
    font-size: clamp(35px, 4vw, 60px);
    line-height: 1.05;

    margin-bottom: 22px;

    letter-spacing: -1.5px;
}

.section-description {
    max-width: 650px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================
   INTRO
========================= */

.intro {
    background: var(--light-bg);
    color: var(--dark-text);
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.intro .section-description {
    color: #65737c;
}

.intro-media {
    position: relative;
}

.intro-image {
    width: 100%;
    height: 470px;

    object-fit: cover;
}

.media-caption {
    position: absolute;

    bottom: 0;
    left: 0;

    padding: 15px 20px;

    background: rgba(4,16,26,0.9);

    color: white;

    font-size: 12px;
}

.play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.5);

    background: rgba(7,21,34,0.7);

    color: white;

    cursor: pointer;

    font-size: 20px;

    transition: var(--transition);
}

.play-button:hover {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.text-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--accent);

    font-weight: 700;
    font-size: 13px;
}


/* =========================
   FEATURES
========================= */

.features {
    background: #081925;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.feature-card {
    padding: 38px 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: var(--transition);
}

.feature-card:hover {
    background: #0d2536;
    transform: translateY(-5px);
}

.feature-number {
    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border: 1px solid rgba(255,255,255,0.15);

    color: var(--accent);

    font-size: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;

    font-size: 18px;
}

.feature-card p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   ABOUT
========================= */

.about {
    background: #f4f7f9;
    color: var(--dark-text);
}

.about-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 550px;

    object-fit: cover;
}

.about-image-badge {
    position: absolute;

    right: -25px;
    bottom: 30px;

    padding: 20px 25px;

    background: var(--accent);
    color: white;

    font-weight: 700;

    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.about-content .section-description {
    color: #66747d;
}

.about-list {
    margin-top: 30px;

    list-style: none;

    display: grid;
    gap: 14px;
}

.about-list li {
    position: relative;

    padding-left: 25px;

    color: #52616a;
}

.about-list li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--accent);

    font-weight: 700;
}

.about-buttons {
    margin-top: 30px;
}


/* =========================
   STATISTICS
========================= */

.statistics {
    padding: 75px 0;

    background: var(--accent);

    color: white;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 10px 30px;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,0.25);
}

.stat-item:last-child {
    border-right: none;
}

.counter {
    font-size: 48px;

    font-weight: 700;

    line-height: 1;
}

.stat-item p {
    margin-top: 10px;

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: 0.8;
}


/* =========================
   PRODUCTS
========================= */

.products {
    background: var(--navy);
}

.products-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 480px));
    justify-content: center;
    gap: 24px;
    margin-top: 35px;
}

.product-card {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    border-radius: 18px;
    background: #0b1e2d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 13, 22, 0.96),
        rgba(3, 13, 22, 0.30),
        rgba(3, 13, 22, 0.08)
    );
}

.product-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(22px, 3vw, 32px);
}

.product-number {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.product-content h3 {
    margin-bottom: 12px;
    font-size: clamp(27px, 3vw, 34px);
}

.product-content p {
    max-width: 440px;
    color: #d0d9df;
    font-size: 14px;
    line-height: 1.65;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.product-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #e1e7eb;
    font-size: 10px;
    text-transform: uppercase;
}

/* Use this link for the View Pictures button on both cards */
.product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 11px 18px;
    border: 1px solid var(--accent);
    border-radius: 7px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.product-link:hover {
    transform: translateY(-2px);
    background: transparent;
    color: #fff;
}

@media (max-width: 800px) {
    .products-heading {
        display: block;
        margin-bottom: 30px;
    }

    .product-grid {
        grid-template-columns: minmax(0, 520px);
    }
}

@media (max-width: 520px) {
    .product-card {
        min-height: 420px;
        border-radius: 15px;
    }

    .product-content {
        padding: 22px;
    }
}


/* =========================
   INDUSTRIES
========================= */

.industries {
    background: #f4f7f9;

    color: var(--dark-text);
}

.industries-heading {
    margin-bottom: 45px;
}

.industry-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.industry-card {
    position: relative;

    height: 400px;

    overflow: hidden;
}

.industry-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.industry-card:hover img {
    transform: scale(1.08);
}

.industry-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(
            transparent,
            rgba(3,13,22,0.9)
        );

    color: white;
}

.industry-overlay h3 {
    font-size: 20px;
}


/* =========================
   QUALITY
========================= */

.quality {
    background: #081925;
}

.quality-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 75px;

    align-items: center;
}

.progress-list {
    margin-top: 35px;

    display: grid;
    gap: 25px;
}

.progress-heading {
    display: flex;

    justify-content: space-between;

    margin-bottom: 9px;

    font-size: 13px;
}

.progress-heading span {
    color: var(--accent);
}

.progress-bar {
    width: 100%;
    height: 4px;

    background: rgba(255,255,255,0.1);

    overflow: hidden;
}

.progress-bar span {
    display: block;

    width: 0;
    height: 100%;

    background: var(--accent);

    transition: width 1.5s ease;
}

.quality-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;
}


/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    background: var(--light-bg);

    color: var(--dark-text);

    text-align: center;
}

.testimonial-heading {
    max-width: 700px;

    margin: 0 auto 45px;
}

.testimonial-slider {
    max-width: 850px;

    margin: auto;

    position: relative;

    padding: 40px 70px;
}

.testimonial-text {
    font-size: 25px;

    line-height: 1.5;

    color: #3d4d57;
}

.testimonial-name {
    margin-top: 25px;

    font-weight: 700;
}

.testimonial-company {
    color: var(--muted);

    font-size: 13px;
}

.testimonial-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: 1px solid #d4dce1;

    background: white;

    cursor: pointer;

    transition: var(--transition);
}

.testimonial-arrow:hover {
    background: var(--accent);
    color: white;

    border-color: var(--accent);
}

#testimonialPrev {
    left: 0;
}

#testimonialNext {
    right: 0;
}


/* =========================
   BLOG
========================= */

.blog {
    background: var(--navy);
}

.blog-heading {
    margin-bottom: 45px;
}

.blog-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.blog-card {
    background: #0b1e2d;

    overflow: hidden;

    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-7px);
}

.blog-image {
    height: 220px;

    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.07);
}

.blog-content {
    padding: 25px;
}

.blog-category {
    color: var(--accent);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.blog-content h3 {
    margin-top: 10px;

    font-size: 18px;
}

.blog-content p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CLIENTS
========================= */

.clients {
    padding: 65px 0;

    background: #06121c;

    text-align: center;
}

.client-heading {
    color: var(--muted);

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 30px;
}

.client-logos {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 45px;
}

.client-logos span {
    color: #657681;

    font-size: 18px;
    font-weight: 700;

    transition: var(--transition);
}

.client-logos span:hover {
    color: white;
}


/* =========================
   QUOTE CTA
========================= */

.quote-section {
    position: relative;

    padding: 100px 0;

    background:
        linear-gradient(
            90deg,
            #0d3045,
            #071522
        );

    overflow: hidden;
}

.quote-section::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -150px;
    top: -150px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);
}

.quote-content {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.quote-content h2 {
    font-size: clamp(35px, 5vw, 60px);

    max-width: 750px;

    line-height: 1;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: #f4f7f9;

    color: var(--dark-text);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;
}

.contact-info .section-description {
    color: #65737c;
}

.contact-details {
    margin-top: 35px;

    display: grid;
    gap: 22px;
}

.contact-details div strong {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;

    text-transform: uppercase;

    color: var(--accent);
}

.contact-details div span {
    color: #52616a;
}


/* =========================
   FORM
========================= */

.contact-form-wrapper {
    background: white;

    padding: 40px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.contact-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #d9e0e4;

    background: white;

    outline: none;

    font-size: 13px;

    color: var(--dark-text);

    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 150px;

    resize: vertical;

    grid-column: 1 / -1;
}

.form-submit {
    grid-column: 1 / -1;

    border: none;

    padding: 15px 25px;

    background: var(--accent);

    color: white;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.form-submit:hover {
    background: var(--accent-light);
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #04101a;

    color: white;
}

.footer-main {
    padding: 70px 0;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;

    gap: 50px;
}

.footer-company p {
    max-width: 320px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 13px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
}

.footer-social {
    display: flex;

    gap: 12px;

    margin-top: 25px;
}

.footer-social a {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,0.12);

    font-size: 12px;

    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-column h4 {
    margin-bottom: 20px;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.footer-column a {
    display: block;

    margin-bottom: 10px;

    color: var(--muted);

    font-size: 13px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

.footer-quote {
    color: var(--muted);

    font-size: 13px;
}

.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: #687984;

    font-size: 11px;

    text-align: center;
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--accent);

    color: white;

    border: none;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);

    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-light);
}


/* =========================
   REVEAL ANIMATIONS
========================= */

.reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}

[data-animate="fade-up"] {
    opacity: 0;

    transform: translateY(30px);

    animation: heroFadeUp 1s ease forwards;
}

.hero-label[data-animate="fade-up"] {
    animation-delay: 0.2s;
}

.hero h1[data-animate="fade-up"] {
    animation-delay: 0.4s;
}

.hero-description[data-animate="fade-up"] {
    animation-delay: 0.6s;
}

.hero-buttons[data-animate="fade-up"] {
    animation-delay: 0.8s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   IMAGE LOADING
========================= */

img {
    transition: opacity 0.4s ease;
}


/* =========================
   RESPONSIVE - TABLET
========================= */

@media (max-width: 1000px) {
    .navigation,
    .nav-quote {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid,
    .about-grid,
    .quality-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

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


/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 650px) {
    .top-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-bottom {
        display: none;
    }

    .section {
        padding: 75px 0;
    }

    .feature-grid,
    .product-grid,
    .industry-grid,
    .blog-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .intro-image,
    .about-image img,
    .quality-image img {
        height: 380px;
    }

    .product-card {
        min-height: 470px;
    }

    .industry-card {
        height: 330px;
    }

    .testimonial-slider {
        padding: 25px 45px;
    }

    .testimonial-text {
        font-size: 19px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form textarea,
    .form-submit {
        grid-column: auto;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .quote-content h2 {
        font-size: 40px;
    }

    .about-image-badge {
        right: 15px;
    }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   REFERENCE COLOUR THEME
========================================================= */

.top-bar {
    background: var(--accent);
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.top-bar a:hover {
    color: #ffffff;
}

.navbar,
.navbar.scrolled {
    background: #ffffff;
    border-bottom-color: rgba(38, 49, 59, 0.12);
    box-shadow: 0 8px 28px rgba(16, 24, 32, 0.08);
    backdrop-filter: none;
}

.logo-text {
    color: var(--dark-text);
}

.logo-symbol {
    background: transparent;
    color: var(--accent);
    font-size: 28px;
}

.navigation > a,
.nav-dropdown > a {
    color: var(--dark-text);
}

.navigation > a:hover,
.nav-dropdown > a:hover {
    color: var(--accent);
}

.mobile-menu-button {
    color: var(--dark-text);
}

.mobile-navigation,
.dropdown-menu {
    background: #ffffff;
    border-color: var(--border);
}

.mobile-navigation a,
.dropdown-menu a {
    color: var(--dark-text);
}

.mobile-navigation a:hover,
.dropdown-menu a:hover {
    color: var(--accent);
}

.dropdown-menu a:hover {
    background: #f3f4f5;
}

.hero {
    background-color: var(--navy);
}

.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(32, 43, 53, 0.94),
        rgba(41, 52, 62, 0.78),
        rgba(41, 52, 62, 0.55)
    );
}

.nav-quote,
.mobile-quote,
.btn-primary,
.back-to-top {
    background: var(--accent);
}

.nav-quote:hover,
.mobile-quote:hover,
.btn-primary:hover,
.back-to-top:hover {
    background: var(--accent-light);
}
/* HERO BACKGROUND CROSSFADE + KEN BURNS ZOOM */
.hero {
    isolation: isolate;
}

.hero-video {
    z-index: 0;
}

.hero-background-slide {
    position: absolute;
    inset: 0;
    z-index: 1;

    background-position: center;
    background-size: cover;

    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.4s ease;
    pointer-events: none;
}

.hero-background-slide.is-active {
    opacity: 1;
    animation: heroKenBurns 10s ease-in-out forwards;
}

@keyframes heroKenBurns {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.16);
    }
}

.hero-overlay {
    z-index: 2;
}

.hero-content {
    z-index: 3;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
    will-change: transform;
}

.hero-bottom,
.hero-scroll {
    z-index: 4;
}

/* HERO TEXT STAGGER */
.hero-label[data-animate="fade-up"] {
    animation: heroFadeUp 0.8s ease both;
    animation-delay: 0.15s;
}

.hero h1[data-animate="fade-up"] {
    animation: heroFadeUp 0.8s ease both;
    animation-delay: 0.3s;
}

.hero-description[data-animate="fade-up"] {
    animation: heroFadeUp 0.8s ease both;
    animation-delay: 0.5s;
}

.hero-buttons[data-animate="fade-up"] {
    animation: heroFadeUp 0.8s ease both;
    animation-delay: 0.7s;
}

/* SCROLL REVEALS AND STAGGERED CARDS */
.reveal {
    transition:
        opacity 0.75s ease,
        transform 0.75s ease,
        transition-delay 0s;

    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CARD LIFT AND SHADOW */
.feature-card,
.product-card,
.industry-card,
.blog-card {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        background-color 0.4s ease;
}

.feature-card:hover,
.product-card:hover,
.industry-card:hover,
.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

/* IMAGE ZOOM */
.intro-media,
.about-image,
.quality-image,
.product-card,
.industry-card,
.blog-image {
    overflow: hidden;
}

.intro-image,
.about-image img,
.quality-image img,
.product-image,
.industry-card img,
.blog-image img {
    transition: transform 0.7s ease;
}

.intro-media:hover .intro-image,
.about-image:hover img,
.quality-image:hover img,
.product-card:hover .product-image,
.industry-card:hover img,
.blog-card:hover .blog-image img {
    transform: scale(1.06);
}

/* OVERLAY REVEAL */
.product-overlay,
.industry-overlay {
    transition: opacity 0.45s ease, background 0.45s ease;
}

.product-overlay {
    opacity: 0.88;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(
        transparent 20%,
        rgba(3, 13, 22, 0.94)
    );
}

/* BUTTON TRANSITIONS AND HOVER LIFT */
.btn,
.nav-quote,
.mobile-quote,
.form-submit,
.back-to-top {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover,
.nav-quote:hover,
.mobile-quote:hover,
.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* ICON HOVER */
.feature-icon,
.logo-symbol,
.testimonial-arrow {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* TESTIMONIAL FADE */
.testimonial-text {
    transition: opacity 0.3s ease;
}

/* RESPECT REDUCED-MOTION SETTINGS */
@media (prefers-reduced-motion: reduce) {
    .hero-background-slide.is-active {
        animation: none;
    }

    .hero-content {
        transform: none !important;
    }

    .reveal {
        transition-delay: 0ms !important;
    }
}
/* Bold top-bar and footer text */
.top-bar-left > span,
.top-bar-left > a,
.top-bar-right > span {
    font-weight: 700;
}

.footer-bottom > span,
.footer-bottom a {
    font-weight: 700;
}
.navigation > a,
.nav-dropdown > a {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Statistics section styled like the reference */
.statistics {
    position: relative;
    overflow: hidden;
    padding: 72px 0 78px;

    background:
        linear-gradient(
            rgba(34, 47, 58, 0.92),
            rgba(34, 47, 58, 0.92)
        ),
        url("/static/images/industry-mill.jpg") center / cover no-repeat;

    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 0 18px;
    border: 0;
}

.stat-icon {
    width: 128px;
    height: 128px;
    margin-bottom: 30px;

    display: grid;
    place-items: center;

    color: #f4f6f7;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
}

.stat-icon svg {
    width: 60px;
    height: 60px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-dot {
    width: 14px;
    height: 14px;
    margin-bottom: 20px;

    background: var(--accent);
    border-radius: 50%;
}

.stat-item .counter {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    margin-top: 18px;
    color: #f0f2f4;
    font-size: 17px;
}

.stat-item.reveal {
    transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 700px) {
    .statistics {
        padding: 55px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stat-icon {
        width: 105px;
        height: 105px;
        margin-bottom: 22px;
    }
}
.products {
    background: #ffffff;
    color: var(--dark-text);
}

.products .section-description {
    color: #65737c;
}

.product-card {
    color: #ffffff;
}
.hero-bottom {
    display: none;
}
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.3s ease;
}

.hero-slide.is-active {
    opacity: 1;
    animation: heroKenBurns 7s ease-in-out both;
}

@keyframes heroKenBurns {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.14);
    }
}

.hero-overlay {
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active {
        animation: none;
        transform: none;
    }
}
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.3s ease;
}

.hero-slide.is-active {
    opacity: 1;
    animation: heroSlowZoom 6.5s ease-in-out both;
}

@keyframes heroSlowZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.14); }
}

.hero-overlay {
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active {
        animation: none;
        transform: none;
    }
}

.gallery-page {
    min-height: 100vh;
    padding: 135px 0 80px;
    background: var(--light-bg);
    color: var(--dark-text);
}

.gallery-back {
    display: inline-block;
    margin-bottom: 35px;
    color: var(--accent);
    font-weight: 700;
}

.gallery-title {
    margin-bottom: 12px;
    font-size: clamp(38px, 5vw, 60px);
    color: var(--dark-text);
}

.gallery-description {
    margin-bottom: 35px;
    color: #65737c;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.gallery-card {
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(16, 24, 32, 0.15);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-card figcaption {
    padding: 16px 18px;
    font-weight: 700;
}

.gallery-empty {
    color: #65737c;
}
/* SERVICES SECTION */
.services.section {
    padding: 100px 0;
    color: var(--dark-text);
    background-color: #f8f8f7;
}

.services-heading {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 55px;
}

.services-eyebrow {
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.services-heading h2 {
    max-width: 780px;
    color: #26313b;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
}

.services-intro {
    color: #596771;
    font-size: 17px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    overflow: hidden;
    padding: 16px 16px 25px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(25, 35, 43, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(25, 35, 43, 0.14);
}

.service-image {
    height: 280px;
    overflow: hidden;
    background: #e8ebed;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-copy {
    padding: 22px 2px 0;
}

.service-copy h3 {
    margin-bottom: 10px;
    color: #26313b;
    font-size: 25px;
    line-height: 1.25;
}

.service-copy p {
    color: #65737c;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .services-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .services.section {
        padding: 75px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 240px;
    }
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    padding: 0;
    border-radius: 50%;
    background: #303c45;
    color: #ffffff;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social svg {
    display: block;
    width: 16px;
    height: 16px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    align-items: start;
    gap: 50px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #303c45;
    color: #fff;
}

.footer-social svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom > div {
    display: flex;
    gap: 18px;
}

@media (max-width: 1000px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
.top-bar-right {
    display: none !important;
}
/* Use the site's red accent for headings */
h1,
h2,
h3,
h4,
.section-title {
    color: var(--accent) !important;
}

/* Feature cards with photo backgrounds */
.feature-card {
    position: relative;
    isolation: isolate;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Dark overlay keeps card text readable */
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(7, 21, 34, 0.25),
        rgba(7, 21, 34, 0.9)
    );
}

/* Assign a different photo to each card */
.feature-card:nth-child(1) {
    background-image: url("/static/images/cotton.jpg");
}

.feature-card:nth-child(2) {
    background-image: url("/static/images/yarn.jpg");
}

.feature-card:nth-child(3) {
    background-image: url("/static/images/industry-mill.jpg");
}

.feature-card:nth-child(4) {
    background-image: url("/static/images/industry-spinning.jpg");
}

/* Hide card numbers and decorative icons */
.feature-number,
.feature-icon {
    display: none !important;
}

/* Keep card text legible over the photos */
.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card p,
.feature-card a {
    color: #ffffff;
}
/* White background behind the Features cards */
.features {
    background: #ffffff;
    color: var(--dark-text);
}

/* Space and rounded corners between cards */
.feature-grid {
    gap: 24px;
    border: none;
}

.feature-card {
    min-height: 340px;
    padding: 30px;
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(20, 30, 38, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card::before {
    z-index: 0;
    border-radius: inherit;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(20, 30, 38, 0.2);
}

/* Small press effect when a card is clicked */
.feature-card:active {
    transform: translateY(-2px) scale(0.99);
}

/* Red card headings; light descriptions over the image */
.feature-card h3 {
    color: var(--accent);
}

.feature-card p,
.feature-card .text-link {
    color: #ffffff;
}

/* Whole Features section slides in from the left */
.features.slide-in-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

.features.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger the card reveals */
.features .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features .feature-card:nth-child(2) {
    transition-delay: 0.25s;
}

.features .feature-card:nth-child(3) {
    transition-delay: 0.4s;
}

.features .feature-card:nth-child(4) {
    transition-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
    .features.slide-in-left {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .feature-card {
        transition: none;
    }
}
/* Subtle, smooth zoom on feature card backgrounds */
.feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: none !important;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-position: center;
    background-size: cover;

    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.feature-card:nth-child(1)::before {
    background-image: url("/static/images/Textile-Raw-Materials.webp");
}

.feature-card:nth-child(2)::before {
    background-image: url("/static/images/specs.jpg");
}

.feature-card:nth-child(3)::before {
    background-image: url("/static/images/industry-mill.jpg");
}

.feature-card:nth-child(4)::before {
    background-image: url("/static/images/supply.webp");
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(7, 21, 34, 0.25),
        rgba(7, 21, 34, 0.9)
    );
}

.feature-card:hover::before {
    transform: scale(1.04);
}

.white-heading,
.white-heading strong,
.white-heading span {
    color: #fff !important;
}
.black-heading,
.black-heading strong,
.black-heading span {
    color: #111 !important;
}
.product-number,
.product-number strong {
    color: #fff !important;
}
.services-heading h2,
.services-heading h2 strong {
    color: #111 !important;
}
.industry-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 12px;
}

.industry-card > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
        "number title"
        ". description";
    align-content: end;
    align-items: end;
    gap: 8px 12px;
    padding: 26px;
    background: linear-gradient(
        to top,
        rgba(3, 13, 22, 0.94),
        rgba(3, 13, 22, 0.48) 58%,
        rgba(3, 13, 22, 0.08)
    );
}

.industry-overlay > span {
    grid-area: number;
    color: #fff;
    font-size: 16px;
}

.industry-overlay h3 {
    grid-area: title;
    margin: 0;
    color: var(--accent, #c80035);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.2;
}

.industry-overlay p {
    grid-area: description;
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .industry-card {
        min-height: 360px;
    }

    .industry-overlay {
        padding: 22px;
    }
}
/* Industries bubble-slide reveal */
#industries.industry-motion .industries-heading,
#industries.industry-motion .industry-card {
    opacity: 0;
    transform: translateX(-48px) scale(0.92);
    filter: blur(3px);
    transition:
        opacity 700ms ease,
        transform 850ms cubic-bezier(0.16, 1.2, 0.3, 1),
        filter 700ms ease;
}

#industries.industry-motion .industries-heading {
    transition-delay: 80ms;
}

#industries.industry-motion .industry-card:nth-child(1) {
    transition-delay: 150ms;
}

#industries.industry-motion .industry-card:nth-child(2) {
    transition-delay: 280ms;
}

#industries.industry-motion .industry-card:nth-child(3) {
    transition-delay: 410ms;
}

#industries.industry-motion .industry-card:nth-child(4) {
    transition-delay: 540ms;
}

#industries.industry-motion.is-visible .industries-heading,
#industries.industry-motion.is-visible .industry-card {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    #industries.industry-motion .industries-heading,
    #industries.industry-motion .industry-card {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}
.trusted-network {
    overflow: hidden;
    background: #fff;
    padding: 70px 0;
}

.trusted-network-heading {
    margin-bottom: 34px;
    text-align: center;
}

.trusted-network-heading h2 {
    margin: 0;
    color: #263139;
    font-family: "Poppins", sans-serif;
}

.client-logo-slider {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

.client-logo-track {
    display: flex;
    width: max-content;
    animation: clientLogosSlide 45s linear infinite;
}

.client-logo-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
    padding-right: clamp(48px, 7vw, 100px);
}

.client-logo-group img {
    display: block;
    width: auto;
    height: 64px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.client-logo-group img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo-slider:hover .client-logo-track {
    animation-play-state: paused;
}

@keyframes clientLogosSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-logo-track {
        animation: none;
    }
}
#intro .intro-media {
    position: relative;
    min-width: 0;
}

#intro .intro-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #fff;
}

#intro .intro-image > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#intro .intro-video-frame {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
}

#intro .intro-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

#intro .intro-media.is-playing .intro-video-frame {
    visibility: visible;
    opacity: 1;
}

#intro .intro-media.is-playing .play-button,
#intro .intro-media.is-playing .media-caption {
    visibility: hidden;
    opacity: 0;
}

#intro .intro-video-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
}

#intro .intro-video-close[hidden] {
    display: none;
}
#navbar .nav-dropdown {
    position: relative;
}

#navbar .nav-dropdown > .product-dropdown {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 290px;
    padding: 8px 0;
    overflow: visible;
    background: #fff !important;
    border: 1px solid #e2e5e8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

#navbar .nav-dropdown:hover > .product-dropdown,
#navbar .nav-dropdown:focus-within > .product-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#navbar .product-dropdown-group {
    display: block !important;
    padding: 8px 0;
}

#navbar .product-dropdown-group + .product-dropdown-group {
    border-top: 1px solid #e5e7e9;
}

#navbar .product-dropdown-heading {
    display: block !important;
    padding: 9px 18px 6px;
    color: #c80035 !important;
    font-size: 13px;
    font-weight: 700;
}

#navbar .product-dropdown-group a {
    display: block !important;
    padding: 8px 18px;
    color: #263139 !important;
    background: #fff;
    text-decoration: none;
}

#navbar .product-dropdown-group a:hover {
    color: #c80035 !important;
    background: #f5f6f7;
}
#navbar .logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

#navbar .site-logo {
    display: block;
    width: 190px;
    height: 84px;
    max-width: none;
    object-fit: contain;
}

@media (max-width: 768px) {
    #navbar .site-logo {
        width: 160px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    #navbar .site-logo {
        width: 140px;
        height: 62px;
    }
}
.footer-logo-image {
    display: block;
    width: auto;
    height: 52px;
    max-width: 180px;
    object-fit: contain;
}
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 9999;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.whatsapp-float svg path + path {
    fill: currentColor;
    stroke: none;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #1ebe5d;
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 88px;
        width: 54px;
        height: 54px;
    }
}
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #navbar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 76px;
        padding: 8px 16px;
        box-sizing: border-box;
    }

    #navbar .logo {
        display: inline-flex;
        align-items: center;
        margin: 0;
    }

    #navbar .site-logo {
        width: 150px;
        height: 58px;
        max-width: 100%;
        object-fit: contain;
    }

    #navbar .mobile-menu-button {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 8px;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 1002;
    }

    #navbar .mobile-menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        background: #263139;
    }

    #mainNavigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: 75vh;
        padding: 8px 16px 16px;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.14);
    }

    #mainNavigation.is-open {
        display: flex !important;
    }

    #mainNavigation > a,
    #mainNavigation .nav-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 10px 4px;
        box-sizing: border-box;
        color: #263139;
    }

    #mainNavigation .nav-dropdown {
        width: 100%;
    }

    #mainNavigation .dropdown-menu {
        display: none !important;
        position: static;
        width: 100%;
        max-height: none;
        padding: 4px 0 8px 12px;
        overflow: visible;
        border: 0;
        box-shadow: none;
    }

    #mainNavigation .nav-dropdown.is-open > .dropdown-menu {
        display: block !important;
    }

    #mainNavigation .dropdown-menu a {
        display: block;
        padding: 9px 12px;
        color: #263139;
    }

    #mainNavigation .product-dropdown-heading {
        padding: 10px 12px 5px;
        color: #c80035;
        font-weight: 700;
    }

    #mainNavigation .nav-quote {
        justify-content: center;
        margin-top: 8px;
        padding: 12px;
    }

    #home.hero {
        min-height: 700px;
        width: 100%;
        padding: 40px 0;
        box-sizing: border-box;
    }

    #home .hero-content {
        width: calc(100% - 32px);
        max-width: 100%;
        margin: 0 auto;
        padding: 30px 0;
        text-align: center;
        box-sizing: border-box;
    }

    #home .hero-label {
        justify-content: center;
        gap: 8px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    #home .hero-label::before,
    #home .hero-label::after {
        width: 22px;
    }

    #home .hero h1 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        font-size: clamp(38px, 10vw, 54px);
        line-height: 1.08;
        letter-spacing: -1.5px;
        overflow-wrap: anywhere;
    }

    #home .hero-description {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 24px;
        font-size: 15px;
        line-height: 1.6;
    }

    #home .hero-buttons,
    #home .hero-ctas {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    #home .hero-buttons a,
    #home .hero-ctas a {
        width: min(100%, 320px);
        box-sizing: border-box;
        text-align: center;
    }
}
#navbar .mobile-menu-button span {
    transition: transform .25s ease, opacity .25s ease;
}
#navbar .mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#navbar .mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}
#navbar .mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 1100px) {
    /* Closed by default on mobile, even if a touch leaves :hover active */
    .navigation .nav-dropdown > .dropdown-menu,
    .navigation .nav-item > .dropdown {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: static !important;
    }

    /* Show only while JavaScript has added .is-open */
    .navigation .nav-dropdown.is-open > .dropdown-menu,
    .navigation .nav-item.is-open > .dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
/* Desktop dropdowns: open Products and Industries on hover or keyboard focus */
@media (min-width: 1101px) {
    .navigation .nav-dropdown,
    .navigation .nav-item {
        position: relative;
    }

    .navigation .nav-dropdown > .dropdown-menu,
    .navigation .nav-item > .dropdown {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        min-width: 230px;
        padding: 10px 0;
        border-radius: 0 0 8px 8px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .navigation .nav-dropdown:hover > .dropdown-menu,
    .navigation .nav-dropdown:focus-within > .dropdown-menu,
    .navigation .nav-item:hover > .dropdown,
    .navigation .nav-item:focus-within > .dropdown {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navigation .dropdown-menu a,
    .navigation .dropdown a {
        display: block;
        padding: 11px 18px;
        color: #24313a;
        text-decoration: none;
    }

    .navigation .dropdown-menu a:hover,
    .navigation .dropdown a:hover {
        background: #f3f4f5;
        color: var(--accent, #c80035);
    }
}