/* ==============================
   RESET & GLOBAL
=============================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1F1B20;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

:root {
    --maxtron-green: #004241;
    --maxtron-red: #E31E24;
    --maxtron-black: #1F1B20;
    --maxtron-light: #f5f6f8;
    --maxtron-border: #e0e1e7;
    --maxtron-white: #ffffff;
}

/* General layout helpers */

.container {
    width: 100%;
    max-width: 1200px;
    padding: 5px 1.5rem;
    margin: 0 auto;
}

.section {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.section-header p {
    max-width: 640px;
    margin: 0 auto;
    color: #5b5660;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    color: var(--maxtron-black);
}

p {
    margin: 0 0 0.75rem;
    color: #4d4851;
}

.eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--maxtron-green);
    display: inline-block;
    margin-bottom: 0.45rem;
}

.eyebrow-center {
    display: block;
    text-align: center;
}

.eyebrow-light {
    color: #f4f5f7;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--maxtron-red);
    border-color: var(--maxtron-red);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(227, 30, 36, 0.35);
}

.btn-primary:hover {
    background: #c51b23;
    border-color: #c51b23;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(227, 30, 36, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--maxtron-green);
}

.full-width {
    width: 100%;
}

/* ==============================
   TOP BAR
=============================== */

.top-bar {
    background-color: #f9fafc;
    border-bottom: 1px solid #eceef4;
    font-size: 0.82rem;
    color: #6a6670;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0;
}

.top-bar-left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-contact-item i {
    margin-right: 0.3rem;
    color: var(--maxtron-red);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-tagline {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #8b8892;
}

.top-bar-social a {
    margin-left: 0.35rem;
    color: #77737e;
    font-size: 0.9rem;
}

.top-bar-social a:hover {
    color: var(--maxtron-green);
}

/* ==============================
   HEADER & NAV (FINAL)
=============================== */

/* Header wrapper */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: #ffffff;
    border-bottom: 1px solid #eceef4;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    gap: 1rem;
}

.brand-logo {
    height: 40px;
    width: 270px;
    display: block;
}

/* ------- DESKTOP NAV ------- */

nav {
    width: 100%;
}

nav .navbar {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* logo inside navbar (if any) */
.navbar .logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.logo-img {
    height: 34px;
    display: block;
}

/* remove bullets */
.navbar .links,
.navbar .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* top level list */
nav .navbar .nav-links {
    height: 100%;
    line-height: 70px;
}

nav .navbar .links {
    display: flex;
    align-items: center;
}

nav .navbar .links li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

/* Active + hover underline for top-level nav links */
nav .navbar .links > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* base underline – hidden by default */
nav .navbar .links > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 14px; /* adjust up/down if needed */
    width: 0;
    height: 2px;
    background-color: var(--maxtron-red);
    border-radius: 999px;
    transition: width 0.22s ease;
}

/* simple hover: colour + animate underline */
nav .navbar .links > li > a:hover {
    color: var(--maxtron-green);
}

nav .navbar .links > li > a:hover::after {
    width: 100%;
}

/* ACTIVE page link */
nav .navbar .links > li > a.active {
    color: var(--maxtron-green);
    font-weight: 600;
}

nav .navbar .links > li > a.active::after {
    width: 100%;
}

/* simple hover for main items */
nav .navbar .links li > a:hover {
    color: var(--maxtron-green);
}

/* arrow icon (only if submenu exists) */
nav .navbar .links li .arrow {
    height: 100%;
    width: 20px;
    line-height: 70px;
    text-align: center;
    display: inline-block;
    color: var(--maxtron-black);
    transition: all 0.3s ease;
    font-size: 14px;
}

/* rotate arrow on hover – desktop only */
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
    transform: rotate(180deg);
}

/* ------- SUBMENUS – DESKTOP ------- */

nav .navbar .links li .sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 38px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 10px 10px;
    display: none;
    z-index: 20;
    min-width: 220px;
    border: 1px solid var(--maxtron-border);
}

/* first level submenu visible on hover */
nav .navbar .links li:hover > .sub-menu {
    display: block;
}

.navbar .links li .sub-menu li {
    padding: 0 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .links li .sub-menu li:last-child {
    border-bottom: none;
}

.navbar .links li .sub-menu a {
    display: block;
    width: 100%;
    color: var(--maxtron-black);
    font-size: 14px;
    font-weight: 400;
}

/* ✅ ONLY underline & colour on hover */
.navbar .links li .sub-menu a:hover {
    color: var(--maxtron-green);
    text-decoration: underline;
}

/* 3rd level submenu (more →) */
.navbar .links li .sub-menu .more-arrow {
    line-height: 38px;
}

.navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border: 1px solid var(--maxtron-border);
    display: none;
    min-width: 220px;
}

.links li .sub-menu .more:hover > .more-sub-menu {
    display: block;
}

.links li .sub-menu .more span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ------- SEARCH BOX (optional) ------- */

.navbar .search-box {
    position: relative;
    height: 40px;
    width: 40px;
}

.navbar .search-box i {
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: var(--maxtron-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar .search-box .input-box {
    position: absolute;
    right: calc(100% - 40px);
    top: 80px;
    height: 60px;
    width: 280px;
    background: #ffffff;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--maxtron-border);
}

.navbar.showInput .search-box .input-box {
    top: 65px;
    opacity: 1;
    pointer-events: auto;
}

.search-box .input-box::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    background: #ffffff;
    right: 10px;
    top: -7px;
    transform: rotate(45deg);
    border-top: 1px solid var(--maxtron-border);
    border-left: 1px solid var(--maxtron-border);
}

.search-box .input-box input {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    height: 34px;
    width: 250px;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    border: 1px solid var(--maxtron-border);
}

/* ------- MOBILE NAV (SIDEBAR) ------- */

.navbar .nav-links .sidebar-logo {
    display: none;
}

.navbar .bx-menu {
    display: none;
}

/* Tablet */
@media (max-width: 920px) {
    nav .navbar {
        justify-content: flex-end;
    }

    nav .navbar .links li {
        padding: 0 10px;
    }

    nav .navbar .links li a {
        font-size: 14px;
    }
}

/* Mobile – sidebar only here */
@media (max-width: 800px) {
    .navbar .bx-menu {
        display: block;
        font-size: 24px;
        color: var(--maxtron-black);
        margin-left: auto;
    }

    nav .navbar .nav-links {
        position: fixed;
        top: 0;
        left: -100%;           /* 🔑 hidden by default */
        display: block;
        max-width: 270px;
        width: 100%;
        background: #ffffff;
        line-height: 40px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.5s ease;
        z-index: 1000;
    }

    .navbar .nav-links .sidebar-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .sidebar-logo .logo-name {
        font-size: 22px;
        color: var(--maxtron-black);
    }

    .sidebar-logo i {
        font-size: 24px;
        color: var(--maxtron-black);
        cursor: pointer;
    }

    nav .navbar .links {
        display: block;
        margin-top: 15px;
    }

    nav .navbar .links li {
        display: block;
        padding: 0;
    }

    nav .navbar .links li .arrow {
        line-height: 40px;
    }

    /* submenus stacked, closed by default */
    nav .navbar .links li .sub-menu {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        border-radius: 0;
        border: none;
        display: none;
        padding-left: 10px;
        min-width: 0;
        background: transparent;
    }

    nav .navbar .links li .sub-menu li {
        border-bottom: none;
    }

    .navbar .links li .sub-menu .more-sub-menu {
        display: none;
        position: relative;
        left: 0;
        box-shadow: none;
        border: none;
        padding-left: 12px;
    }

    /* disable hover-open, open by JS only */
    nav .navbar .links li:hover > .htmlCss-sub-menu {
        display: none;
    }

    .navbar .nav-links.show1 .links .htmlCss-sub-menu {
        display: block;
    }

    .navbar .nav-links.show2 .links .more .more-sub-menu {
        display: block;
    }

    .navbar .nav-links.show1 .links .htmlcss-arrow {
        transform: rotate(180deg);
    }

    .navbar .nav-links.show2 .links .more-arrow {
        transform: rotate(90deg);
    }
}

/* very small */
@media (max-width: 370px) {
    nav .navbar .nav-links {
        max-width: 100%;
    }
}

/* ==============================
   HERO SLIDER
=============================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.slider {
    position: relative;
    min-height: 75vh;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    pointer-events: none;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 66, 65, 0.6), transparent 55%),
        linear-gradient(120deg, rgba(0, 0, 0, 0.8), transparent 60%);
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 75vh;
    max-width: 640px;
    color: var(--maxtron-white);
    padding: 4.5rem 0 4.8rem;
}

.slide-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 0.7rem;
    color: #f3d7d8;
}

.slide-content h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 0.98rem;
    max-width: 540px;
    margin-bottom: 1.5rem;
    color: #f2f2f5;
}

.slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: var(--maxtron-white);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    font-size: 1.1rem;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}

.slider-arrow-prev {
    left: 1.4rem;
}

.slider-arrow-next {
    right: 1.4rem;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.slider-dots .dot.active {
    width: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--maxtron-green), var(--maxtron-red));
}

/* HERO SLIDE LAYOUT */
.slide-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
}

/* RIGHT SIDE HERO IMAGE */
.slide-side-image {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slide-side-image img {
    width: 100%;
    max-width: 520px;       /* ⬅️ BIGGER WIDTH */
    max-height: 620px;      /* ⬅️ BIGGER HEIGHT */
    object-fit: contain;
    transform: translateY(-10px);
    animation: heroFloat 6s ease-in-out infinite;
}

/* MOBILE – hide image */
@media (max-width: 768px) {
    .slide-layout {
        grid-template-columns: 1fr;
    }
    .slide-side-image {
        display: none;
    }
}

/* ==============================
   ABOUT
=============================== */

.about {
    background-color: var(--maxtron-white);
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.about-text p {
    color: #5b5660;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.stat-card {
    background-color: var(--maxtron-light);
    border-radius: 1rem;
    padding: 1rem 0.9rem;
    border: 1px solid var(--maxtron-border);
    text-align: center;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--maxtron-green);
}

.stat-label {
    font-size: 0.82rem;
    color: #6b6670;
}

/* ==============================
   OEM & CERTIFICATIONS
=============================== */
.oem {
    background-color: var(--maxtron-white);
}

.oem-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: center;
}

.oem-text h2 {
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.oem-text p {
    color: #5b5660;
    margin-bottom: 0.7rem;
}

.oem-list {
    list-style: none;
    margin-top: 0.7rem;
    display: grid;
    gap: 0.4rem;
    padding-left: 0;
}

.oem-list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #514d57;
}

.oem-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--maxtron-red);
}

.oem-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    background-color: var(--maxtron-light);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
    border: 1px solid var(--maxtron-border);
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.badge-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--maxtron-green);
}

.badge-title {
    display: block;
    margin-top: 0.35rem;
    font-weight: 600;
}

/* ==============================
   WHY
=============================== */
.why {
    background-color: var(--maxtron-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.why-card {
    background-color: var(--maxtron-white);
    border-radius: 1.1rem;
    border: 1px solid var(--maxtron-border);
    padding: 1.3rem 1.2rem 1.4rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.why-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

/* ==============================
   PRODUCT RANGE
=============================== */
.product-range {
    background-color: var(--maxtron-white);
}

.product-scroller {
    overflow-x: auto;
    padding-bottom: 0.4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: var(--maxtron-white);
    border-radius: 1.1rem;
    border: 1px solid var(--maxtron-border);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    width: 100%;
    padding-top: 50%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 1.3rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.segment {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--maxtron-red);
}

.product-body h3 {
    margin: 0.35rem 0 0.25rem;
    font-size: 1.08rem;
}

.product-body p {
    font-size: 0.9rem;
    color: #5b5660;
}

.product-list {
    list-style: none;
    margin: 0.2rem 0 0.3rem;
    padding-left: 0;
    font-size: 0.88rem;
    color: #59545f;
    display: grid;
    gap: 0.25rem;
}

.product-link {
    margin-top: 0.2rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--maxtron-green);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.product-link::after {
    content: "→";
    font-size: 0.85rem;
    margin-top: 1px;
}

/* Responsive for product range */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ==============================
   TESTIMONIALS
=============================== */
.testimonials {
    background-color: var(--maxtron-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--maxtron-white);
    border-radius: 1.2rem;
    border: 1px solid var(--maxtron-border);
    padding: 1.5rem 1.3rem 1.4rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.testimonial-quote {
    font-size: 0.92rem;
    color: #514d57;
    margin-bottom: 0.9rem;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--maxtron-green);
}

/* ==============================
   FAQ
=============================== */
.faq {
    background-color: var(--maxtron-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--maxtron-light);
    border-radius: 1.1rem;
    border: 1px solid var(--maxtron-border);
    padding: 1.4rem 1.3rem 1.5rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--maxtron-green);
}

.faq-item p {
    font-size: 0.9rem;
    color: #5b5660;
}

/* ==============================
   GLOBAL
=============================== */
.global {
    background-color: var(--maxtron-light);
}

.global-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.6rem;
    align-items: center;
}

.global-text h2 {
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.global-text p {
    color: #5b5660;
    margin-bottom: 0.7rem;
}

.global-map img {
    border-radius: 1.2rem;
    border: 1px solid var(--maxtron-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ==============================
   CTA + HOME CONTACT FORM
=============================== */
.home-contact {
    background: linear-gradient(135deg, var(--maxtron-green), var(--maxtron-black));
    color: var(--maxtron-white);
}

.home-contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: start;
}

.home-contact-text h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.home-contact-text p {
    font-size: 0.95rem;
    max-width: 480px;
    color: #f0f0f4;
}

.contact-form {
    background-color: rgba(246, 246, 247, 0.98);
    border-radius: 1.2rem;
    padding: 1.8rem 1.7rem 2rem;
    border: 1px solid var(--maxtron-border);
    color: var(--maxtron-black);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #67626b;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 0.75rem;
    border: 1px solid var(--maxtron-border);
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    background-color: var(--maxtron-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--maxtron-green);
    box-shadow: 0 0 0 1px rgba(0, 66, 65, 0.18);
}

/* Margin before button in last form section */
.contact-form button {
    margin-top: 1.1rem;
}

/* ==============================
   FOOTER
=============================== */
.site-footer {
    background: linear-gradient(135deg, #fafbfc, #f1f2f5);
    margin-top: 0;
}

.footer-top-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--maxtron-green), var(--maxtron-red));
	margin-bottom: 10px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.4rem;
    padding: 2.2rem 0 1.5rem;
    font-size: 0.88rem;
    color: #5b5660;
}

.footer-column h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.8rem;
    color: var(--maxtron-green);
}

.footer-logo {
    height: 38px;
    margin-right: 0.75rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;   /* logo on top, text below */
    align-items: flex-start;
    gap: 0.4rem;
}

.footer-logo {
    height: 50px;
    margin-right: 0;          /* no horizontal spacing needed now */
    margin-bottom: 0.2rem;    /* small gap under logo */
}


.footer-brand p {
    font-size: 0.86rem;
    color: #5b5660;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li + li {
    margin-top: 0.25rem;
}

.footer-links a {
    position: relative;
    padding-left: 0.8rem;
    font-size: 0.86rem;
}

.footer-links a::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--maxtron-red);
}

.footer-links a:hover {
    color: var(--maxtron-green);
}

.footer-contact-list {
    list-style: none;
    padding-left: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.86rem;
}

.footer-contact-list i {
    margin-top: 0.1rem;
    font-size: 0.9rem;
    color: var(--maxtron-green);
}

.footer-column-right .footer-links-two {
    margin-bottom: 0.7rem;
}

.footer-column-right {
    text-align: left;
}

.footer-connect-text {
    font-size: 0.86rem;
    margin-bottom: 0.75rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--maxtron-border);
    font-size: 0.85rem;
    background-color: var(--maxtron-white);
    transition: 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--maxtron-red);
    background: var(--maxtron-red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.footer-bottom {
    border-top: 1px solid var(--maxtron-border);
    background-color: #f5f6f8;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    font-size: 0.8rem;
    color: #6a6670;
}

.footer-made {
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==============================
   E-CATALOGUE MODAL
=============================== */
.ecat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 11, 20, 0.58);
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ecat-backdrop.shown {
    opacity: 1;
    visibility: visible;
}

.ecat-modal {
    position: relative;
    max-width: 460px;
    width: 100%;
    background: #ffffff;
    border-radius: 1.4rem;
    padding: 1.8rem 1.7rem 1.9rem;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    animation: ecat-pop 0.2s ease-out;
}

@keyframes ecat-pop {
    from {
        transform: translateY(12px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.ecat-close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #837d8a;
    line-height: 1;
    padding: 0;
}

.ecat-close:hover {
    color: var(--maxtron-red);
}

.ecat-modal h3 {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
    color: var(--maxtron-green);
}

.ecat-intro {
    font-size: 0.9rem;
    color: #59555f;
    margin-bottom: 1rem;
}

.ecat-form .form-group {
    margin-bottom: 0.7rem;
}

.ecat-form label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #67626b;
    display: block;
    margin-bottom: 0.25rem;
}

.ecat-form input,
.ecat-form select {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid var(--maxtron-border);
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    background-color: var(--maxtron-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ecat-form input:focus,
.ecat-form select:focus {
    border-color: var(--maxtron-green);
    box-shadow: 0 0 0 1px rgba(0, 66, 65, 0.18);
}

.ecat-form button {
    margin-top: 0.95rem;
}

.ecat-success {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #3f3a45;
    display: none;
}

.ecat-success.shown {
    display: block;
}

/* When modal is open */
.no-scroll {
    overflow: hidden;
}

/* ==============================
   SCROLL REVEAL
=============================== */
.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.in-view,
.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   RESPONSIVE STYLES
=============================== */
@media (max-width: 992px) {
    .about-inner,
    .oem-inner,
    .global-inner,
    .home-contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer-inner > .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-inner {
        padding: 0.45rem 0;
    }

    .main-nav {
        position: absolute;
        right: 0;
        top: 100%;
        background-color: var(--maxtron-white);
        width: 100%;
        max-width: 320px;
        border-left: 1px solid var(--maxtron-border);
        border-bottom: 1px solid var(--maxtron-border);
        transform: translateX(100%);
        transition: transform 0.2s ease;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.5rem 1.2rem;
        gap: 0.75rem;
    }

    .main-nav.nav-open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    /* Submenu mobile: stacked inside */
    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.3rem;
        display: none;
    }

    .main-nav.nav-open .submenu {
        display: block;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonials-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .slide-content h1 {
        font-size: 2.1rem;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .ecatalogue-fab {
        bottom: 1.1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3.2rem 0;
    }

    .hero-slider .container {
        padding: 0 1.2rem;
    }

    .slide-content {
        min-height: 70vh;
        padding: 3.5rem 0 3rem;
    }

    .slider-arrow {
        display: none;
    }

    .about-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ecat-modal {
        padding: 1.5rem 1.3rem 1.6rem;
    }
}

/* ==============================
   ABOUT PAGE SPECIFIC
=============================== */

.page-hero {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 66, 65, 0.35), transparent 55%),
                linear-gradient(135deg, #12151a, #1f1b20);
    color: #ffffff;
    padding: 4rem 0 3.5rem;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(227, 30, 36, 0.25), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero-text {
    max-width: 640px;
}

.page-hero-text h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.page-hero-text p {
    font-size: 0.98rem;
    max-width: 520px;
    color: #f1f1f4;
    margin-bottom: 1.1rem;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #d3d2dc;
}

.page-breadcrumb a {
    color: #f4f4f8;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

/* Our Story */

.about-page-story {
    background-color: var(--maxtron-white);
}

.about-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: center;
}

.about-page-text h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.about-page-text p {
    color: #5a545f;
}

.about-page-media {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.about-media-card {
    border-radius: 1.3rem;
    overflow: hidden;
    border: 1px solid var(--maxtron-border);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    background-color: #000;
}

.about-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.mini-stat {
    border-radius: 0.9rem;
    padding: 0.65rem 0.8rem;
    border: 1px dashed var(--maxtron-border);
    background-color: var(--maxtron-light);
    font-size: 0.82rem;
}

.mini-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    color: var(--maxtron-green);
    margin-bottom: 0.2rem;
}

.mini-value {
    font-weight: 500;
    color: #413d46;
}

/* Vision & Mission */

.about-vm {
    background-color: #f7f8fa;
}

.about-vm-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-vm-header p {
    color: #5b5660;
}

.about-vm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.vm-card {
    background-color: #ffffff;
    border-radius: 1.2rem;
    border: 1px solid var(--maxtron-border);
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.04);
}

.vm-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--maxtron-green);
}

.vm-card p {
    font-size: 0.94rem;
    color: #57515c;
}

/* Core Values */

.about-values {
    background-color: var(--maxtron-white);
}

.about-values-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-values-header p {
    color: #5b5660;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.value-card {
    background-color: #ffffff;
    border-radius: 1.1rem;
    border: 1px solid var(--maxtron-border);
    padding: 1.25rem 1.2rem 1.4rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

.value-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--maxtron-green);
}

.value-card p {
    font-size: 0.9rem;
    color: #5b5660;
}

/* Leadership & Culture */

.about-leadership {
    background-color: #f7f8fa;
}

.about-leadership-header {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-leadership-header p {
    color: #5b5660;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.leadership-card {
    background-color: #ffffff;
    border-radius: 1.1rem;
    border: 1px solid var(--maxtron-border);
    padding: 1.1rem 1.1rem 1.3rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.leadership-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--maxtron-green);
}

.leadership-card p {
    font-size: 0.9rem;
    color: #5b5660;
}

/* Journey / Timeline */

.about-timeline {
    background-color: var(--maxtron-white);
}

.about-timeline-header {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-timeline-header p {
    color: #5b5660;
}

.timeline-grid {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 1.6rem;
    display: grid;
    gap: 1.6rem;
}

.timeline-item {
    position: relative;
    padding-left: 0.6rem;
}

.timeline-dot {
    position: absolute;
    left: -1.1rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maxtron-green), var(--maxtron-red));
}

.timeline-line {
    position: absolute;
    left: -0.7rem;
    top: 1.2rem;
    bottom: -0.4rem;
    width: 1px;
    background-color: var(--maxtron-border);
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-year {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--maxtron-green);
    margin-bottom: 0.2rem;
}

.timeline-content h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #5b5660;
}

/* About CTA */

.about-cta {
    background: #111827;
    border-top: 1px solid var(--maxtron-border);
}

.about-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.4rem;
}

.about-cta-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.about-cta-text p {
    font-size: 0.93rem;
    color: #5b5660;
    max-width: 520px;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* Responsive tweaks for About page */

@media (max-width: 992px) {
    .page-hero {
        padding: 3.2rem 0 2.6rem;
    }

    .about-page-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-vm-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .page-hero-text h1 {
        font-size: 2rem;
    }

    .about-media-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .values-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .leadership-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .timeline-grid {
        padding-left: 1.2rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 2.9rem 0 2.3rem;
    }
}


/* ==========================================
   TYRES PAGE STYLES (tyres.html)
   ========================================== */

/* HERO */

.page-hero.tyres-hero {
    position: relative;
    padding: 80px 0 70px;
    background: radial-gradient(circle at top left, rgba(227,30,36,0.12), transparent),
                linear-gradient(135deg, #050816, #111827);
    color: #ffffff;
    overflow: hidden;
}

.tyres-hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 10%, rgba(255,255,255,0.18), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(227,30,36,0.2), transparent 55%);
}

.page-hero.tyres-hero .page-hero-inner {
    position: relative;
}

.page-hero.tyres-hero .page-hero-text {
    max-width: 640px;
}

.page-hero.tyres-hero .page-hero-text h1 {
    font-size: clamp(2.1rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 10px;
}

.page-hero.tyres-hero .page-hero-text p {
    max-width: 560px;
    margin-bottom: 16px;
    color: #e5e7eb;
}

/* SECTION WRAPPER */

.tyres-section {
    padding: 40px 0;
}

.tyres-section.section-alt {
    background: #f9fafb;
}

/* GRID */



.tyres-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

/* CARD */

.tyre-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tyre-image {
    width: 100%;
    padding-top: 56%;
    position: relative;
    overflow: hidden;
}

.tyre-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tyre-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tyre-body h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.tyre-body p {
    font-size: 0.9rem;
    color: #4b5563;
}

.tyre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 8px;
    list-style: none;
    padding: 0;
}

.tyre-tags li {
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid rgba(15,23,42,0.1);
    color: #111827;
}

.tyre-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tyre-cta-row .btn-xs {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.tyre-link {
    font-size: 0.82rem;
    text-decoration: none;
    color: #111827;
    position: relative;
}

.tyre-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: #111827;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.tyre-link:hover::after {
    transform: scaleX(1);
}

/* CTA BAND */

.tyres-cta {
    background: #111827;
    color: #ffffff;
}

.tyres-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 20px;
    align-items: center;
}

.tyres-cta-text p {
    max-width: 520px;
    color: #e5e7eb;
    margin-top: 4px;
}

.tyres-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tyres-cta .btn.btn-outline {
    border-color: #e5e7eb;
    color: #e5e7eb;
    background: transparent;
}

.tyres-cta .btn.btn-outline:hover {
    background: #e5e7eb;
    color: #111827;
}

/* SCROLL REVEAL */

.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.in-view,
.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .tyres-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tyres-cta-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .tyres-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .page-hero.tyres-hero {
        padding: 64px 0 52px;
    }

    .tyres-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tyres-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .tyre-card {
        border-radius: 0.9rem;
    }

    .tyres-cta-inner {
        gap: 14px;
    }
}

/* ==========================================
   TYRE CATEGORY PAGES (Bicycle, 2/3)
   ========================================== */

/* ---------- SHARED HERO ---------- */

.page-hero.bicycle-hero,
.page-hero.two3-hero {
    position: relative;
    padding: 80px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.12), transparent),
        linear-gradient(135deg, #050816, #111827);
    color: #ffffff;
    overflow: hidden;
}

.bicycle-hero-overlay,
.two3-hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 10%, rgba(255,255,255,0.18), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(227,30,36,0.2), transparent 55%);
}

.page-hero.bicycle-hero .page-hero-inner,
.page-hero.two3-hero .page-hero-inner {
    position: relative;
}

.page-hero.bicycle-hero .page-hero-text,
.page-hero.two3-hero .page-hero-text {
    max-width: 640px;
}

.page-hero.bicycle-hero .page-hero-text h1,
.page-hero.two3-hero .page-hero-text h1 {
    font-size: clamp(2.1rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 10px;
}

.page-hero.bicycle-hero .page-hero-text p,
.page-hero.two3-hero .page-hero-text p {
    max-width: 560px;
    margin-bottom: 16px;
    color: #e5e7eb;
}

/* ---------- VISUAL GALLERY (TOP CARDS) ---------- */

.bicycle-gallery,
.two3-gallery {
    background: #f9fafb;
    padding: 40px 0;
}

.bicycle-gallery-grid,
.two3-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.bicycle-gallery-card,
.two3-gallery-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.06);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

.bicycle-gallery-image img,
.two3-gallery-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.bicycle-gallery-info,
.two3-gallery-info {
    padding: 12px 14px 14px;
}

.bicycle-gallery-info h3,
.two3-gallery-info h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.bicycle-gallery-info p,
.two3-gallery-info p {
    font-size: 0.9rem;
    color: #4b5563;
}

.bicycle-link,
.two3-link {
    font-size: 0.82rem;
    text-decoration: none;
    color: #111827;
    position: relative;
}

.bicycle-link::after,
.two3-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: #111827;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.bicycle-link:hover::after,
.two3-link:hover::after {
    transform: scaleX(1);
}

/* ---------- PRODUCT RANGE GRIDS (BOTTOM CARDS) ---------- */

.bicycle-section,
.two3-section {
    padding: 40px 0;
}

.bicycle-section.section-alt,
.two3-section.section-alt {
    background: #f3f4f6;
}

.bicycle-grid,
.two3-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.bicycle-card,
.two3-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

.bicycle-card h3,
.two3-card h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.bicycle-card p,
.two3-card p {
    font-size: 0.9rem;
    color: #4b5563;
}

.bicycle-tags,
.two3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 8px;
    list-style: none;
    padding: 0;
}

.bicycle-tags li,
.two3-tags li {
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid rgba(15,23,42,0.1);
    color: #111827;
}

/* small CTAs inside card */

.bicycle-cta-row,
.two3-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.bicycle-cta-row .btn-xs,
.two3-cta-row .btn-xs {
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* ---------- CTA BAND (BOTTOM DARK SECTION) ---------- */

.bicycle-cta,
.two3-cta {
    background: #111827;
    color: #ffffff;
}

.bicycle-cta-inner,
.two3-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 20px;
    align-items: center;
}

.bicycle-cta-text p,
.two3-cta-text p {
    max-width: 520px;
    color: #e5e7eb;
    margin-top: 4px;
}

.bicycle-cta-actions,
.two3-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.bicycle-cta .btn.btn-outline,
.two3-cta .btn.btn-outline {
    border-color: #e5e7eb;
    color: #e5e7eb;
    background: transparent;
}

.bicycle-cta .btn.btn-outline:hover,
.two3-cta .btn.btn-outline:hover {
    background: #e5e7eb;
    color: #111827;
}

/* ---------- REVEAL ANIMATIONS (if needed globally) ---------- */

.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.in-view,
.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

@media (max-width: 1024px) {
    .bicycle-gallery-grid,
    .two3-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bicycle-grid,
    .two3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bicycle-cta-inner,
    .two3-cta-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .bicycle-cta-actions,
    .two3-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .page-hero.bicycle-hero,
    .page-hero.two3-hero {
        padding: 64px 0 52px;
    }

    .bicycle-gallery-grid,
    .two3-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bicycle-nav-inner,
    .two3-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .bicycle-gallery-grid,
    .two3-gallery-grid
    .bicycle-grid,
    .two3-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bicycle-card,
    .two3-card {
        border-radius: 0.9rem;
    }

    .bicycle-cta-inner,
    .two3-cta-inner {
        gap: 14px;
    }
}

/* ================================
   COMMON TUBES LAYOUT (GLOBAL)
================================ */

/* HERO */
.tubes-hero {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(120deg,#0f172a,#020617);
}
.tubes-hero .page-hero-text {
  max-width: 780px;
}
.tubes-hero h1 {
  font-size: clamp(28px,4vw,44px);
  font-weight: 700;
}
.tubes-hero p {
  color: #e5e7eb;
  max-width: 620px;
}

/* ================================
   TUBES OVERVIEW PAGE (NEW)
================================ */

.tubes-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.tube-overview-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.tube-overview-card.reverse {
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
}

.tube-overview-card.reverse img {
  order: 2;
}

.tube-overview-card img {
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid var(--maxtron-border);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.tube-overview-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.tube-overview-content p {
  font-size: 0.95rem;
  color: #5b5660;
}

.tube-overview-content ul {
  margin: 0.9rem 0 1.2rem;
  padding-left: 1.1rem;
}

.tube-overview-content li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.highlight {
  color: var(--maxtron-red);
  font-weight: 600;
}

/* Valves section */

.tubes-valves {
  background: #f9fafb;
}

.tubes-valves-inner {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 2.6rem;
  align-items: center;
}

.tubes-valves-image img {
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid var(--maxtron-border);
}

/* Responsive */

@media (max-width: 992px) {
  .tube-overview-card,
  .tube-overview-card.reverse,
  .tubes-valves-inner {
    grid-template-columns: 1fr;
  }

  .tube-overview-card.reverse img {
    order: 0;
  }
}


/* CONTENT BLOCK */
.tubes-block {
  max-width: 880px;
}
.tubes-features {
  margin-top: 18px;
}
.tubes-features li {
  margin-bottom: 8px;
}

/* GRID (sizes, packaging, images) */
.tubes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 22px;
}

/* CARD */
.tubes-card {
  background: #fff;
  border-radius: 1.2rem;
  border: 1px solid rgba(15,23,42,.08);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.tubes-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.tubes-card p {
  font-size: 14px;
  color: #475569;
}

/* IMAGE CARD */
.tubes-card img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 14px;
}

/* CTA */
.tubes-cta {
  background: linear-gradient(120deg,#020617,#0f172a);
  color: #fff;
}
.tubes-cta p {
  color: #e5e7eb;
}

/* MOBILE */
@media (max-width:768px){
  .tubes-hero { padding:70px 0 60px; }
  .tubes-card { padding:18px; }
}
/* CTA */
.tubes-cta {
  background: linear-gradient(120deg,#020617,#0f172a);
  color: #fff;
}
.tubes-cta p {
  color: #e5e7eb;
}
/* ==========================================
   PRODUCTS PAGE – PERFORMANCE OPTIMIZED
   Scoped & Safe
========================================== */

/* HERO */
.page-hero.products-hero {
    padding: 72px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.12), transparent),
        linear-gradient(135deg, #050816, #111827);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* NAV CHIPS */
.products-nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    padding: 14px 0;
}

.products-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.products-nav-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.products-nav-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.products-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.84rem;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid rgba(15,23,42,0.12);
    transition: all 0.18s ease;
}

.products-chip:hover {
    background: #111827;
    color: #ffffff;
}

.products-chip.active-chip {
    background: var(--maxtron-red);
    color: #ffffff;
    border-color: var(--maxtron-red);
}

/* VISUAL GALLERY */
.products-gallery {
    background: #f9fafb;
}

.products-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
}

.gallery-image {
    position: relative;
    padding-top: 56%;
}

.gallery-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    padding: 14px;
}

.products-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--maxtron-green);
}

/* PRODUCTS SECTIONS */
.products-section {
    padding: 40px 0;
}

.products-section.section-alt {
    background: #f9fafb;
}

/* GRIDS */
.products-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.products-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

/* CARD */
.products-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
    padding: 16px;
    display: flex;
    gap: 14px;
}

.products-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(227,30,36,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maxtron-red);
    flex-shrink: 0;
}

.products-card-body h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.products-tag-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.products-tag-list li {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f4f6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .products-gallery-grid,
    .products-grid-three {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .products-gallery-grid,
    .products-grid-two,
    .products-grid-three {
        grid-template-columns: 1fr;
    }

    .products-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   INFRASTRUCTURE PAGE – OPTIMIZED & SCOPED
========================================== */

/* HERO */
.page-hero.infra-hero {
    padding: 72px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.12), transparent),
        linear-gradient(135deg, #050816, #111827);
    color: #ffffff;
    position: relative;
}

/* INTRO */
.infra-intro {
    background: #ffffff;
}

.infra-intro-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 28px;
    align-items: center;
}

.infra-intro-image img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 12px 26px rgba(15,23,42,0.08);
}

/* CORE UNITS */
.infra-core {
    background: #f9fafb;
}

.infra-core-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin-top: 18px;
}

.infra-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.infra-card-image {
    position: relative;
    padding-top: 56%;
}

.infra-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infra-card-body {
    padding: 14px;
}

.infra-card-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* LAB SECTION */
.infra-lab {
    background: #ffffff;
}

.infra-lab-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
    gap: 28px;
    align-items: center;
}

.infra-lab-image img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
}

.infra-lab-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.infra-lab-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #4b5563;
}

.infra-lab-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--maxtron-red);
    font-weight: 700;
}

/* IMAGE STRIP */
.infra-gallery {
    background: #f9fafb;
}

.infra-gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin-top: 18px;
}

.infra-gallery-item {
    position: relative;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.06);
}

.infra-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infra-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    font-size: 0.82rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #ffffff;
}

/* CTA (reuse products CTA styling safely) */
.products-cta {
    background: #111827;
    color: #ffffff;
}

.products-cta-inner {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1.2fr);
    gap: 22px;
    align-items: center;
}

.products-cta-text p {
    color: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .infra-core-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .infra-gallery-strip {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .infra-intro-grid,
    .infra-lab-grid,
    .products-cta-inner {
        grid-template-columns: 1fr;
    }

    .infra-core-grid,
    .infra-gallery-strip {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   QUALITY PAGE – OPTIMIZED & SCOPED
========================================== */

/* HERO */
.page-hero.quality-hero {
    padding: 72px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.12), transparent),
        linear-gradient(135deg, #050816, #111827);
    color: #ffffff;
    position: relative;
}

/* QUALITY POLICY */
.quality-policy {
    background: #ffffff;
}

.qp-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 28px;
    align-items: center;
}

.qp-image img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 12px 26px rgba(15,23,42,0.08);
}

/* QUALITY PROCESS */
.quality-process {
    background: #f9fafb;
}

.qp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
    margin-top: 20px;
}

.qp-step {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
    padding: 18px 16px;
    text-align: center;
}

.qp-step i {
    font-size: 1.4rem;
    color: var(--maxtron-red);
    margin-bottom: 8px;
}

.qp-step h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* CERTIFICATIONS */
.quality-cert {
    background: #ffffff;
}

.qc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin-top: 18px;
}

.qc-item {
    background: #f9fafb;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
    padding: 18px 16px;
}

.qc-item i {
    font-size: 1.2rem;
    color: var(--maxtron-red);
    margin-bottom: 6px;
}

/* GALLERY */
.quality-gallery {
    background: #f9fafb;
}

.q-gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin-top: 18px;
}

.q-img {
    position: relative;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.06);
}

.q-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.q-img span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    font-
}

/* =====================================
   CAREER PAGE – UI ENHANCEMENTS
   Scoped & Safe
===================================== */

/* HERO */
.page-hero.career-hero {
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.18), transparent 55%),
        linear-gradient(135deg, #0b1220, #111827);
}

.page-hero.career-l {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
}

.page-hero.career-hero p {
    max-width: 520px;
    color: #e5e7eb;
}

/* INTRO TEXT */
.career-intro-text {
    max-width: 820px;
    margin: 1.2rem auto 0;
    text-align: center;
    font-size: 1rem;
    color: #4b5563;
}

/* JOB LIST GRID */
.career-job-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

/* JOB CARD */
.career-card {
    background: #ffffff;
    border-radius: 1.2rem;
    border: 1px solid rgba(15,23,42,0.06);
    padding: 1.4rem 1.5rem 1.6rem;
    box-shadow: 0 12px 26px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

/* CARD HEADER */
.career-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.career-card h3 {
    font-size: 1.05rem;
    line-height: 1.25;
}

/* BADGE */
.career-card .badge {
    background: rgba(227,30,36,0.12);
    color: var(--maxtron-red);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(227,30,36,0.25);
}

/* META */
.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.85rem;
    margin: 0.6rem 0 1rem;
    color: #6b7280;
}

.career-meta i {
    color: var(--maxtron-green);
    margin-right: 0.3rem;
}

/* APPLY BUTTON */
.career-card .btn.small {
    padding: 0.5rem 1.3rem;
    font-size: 0.82rem;
    align-self: flex-start;
}

/* FORM SECTION */
.career-form-section {
    background: #f9fafb;
}

/* FORM CARD */
.career-form {
    max-width: 720px;
    margin: 2rem auto 0;
    background: #ffffff;
    padding: 2rem 2rem 2.2rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 18px 42px rgba(15,23,42,0.08);
}

/* FORM GRID */
.career-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* INPUTS */
.career-form input,
.career-form select,
.career-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid var(--maxtron-border);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.career-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOCUS STATE */
.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    border-color: var(--maxtron-green);
    box-shadow: 0 0 0 1px rgba(0,66,65,0.25);
}

/* FILE UPLOAD */
.upload-wrapper {
    margin: 1rem 0 1.4rem;
}

.upload-wrapper label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    display: block;
    margin-bottom: 0.4rem;
}

/* SUBMIT BUTTON */
.form-submit-btn {
    padding: 0.7rem 2.4rem;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .career-job-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .career-job-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .career-form .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .career-form {
        padding: 1.6rem 1.4rem 1.8rem;
    }
}

/* =====================================
   BLOG PAGE – UI ENHANCEMENTS
   Scoped & Safe
===================================== */

/* HERO */
.page-hero.blog-hero {
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.18), transparent 55%),
        linear-gradient(135deg, #0b1220, #111827);
}

.page-hero.blog-hero h1 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.page-hero.blog-hero p {
    max-width: 560px;
    color: #e5e7eb;
}

/* FEATURED BLOG */
.blog-featured {
    background: #f9fafb;
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
}

.blog-featured-image img {
    border-radius: 1.4rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

.blog-featured-content h2 {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.blog-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--maxtron-red);
    margin-bottom: 0.4rem;
}

.blog-featured-content p {
    color: #4b5563;
    max-width: 520px;
}

.blog-featured-content .btn {
    margin-top: 0.9rem;
}

/* BLOG GRID */
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

/* BLOG CARD */
.blog-card {
    background: #ffffff;
    border-radius: 1.2rem;
    border: 1px solid rgba(15,23,42,0.06);
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15,23,42,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.14);
}

/* IMAGE */
.blog-card-image {
    display: block;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* BODY */
.blog-card-body {
    padding: 1.2rem 1.2rem 1.4rem;
}

.blog-card h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0.5rem 0;
}

.blog-card h3 a:hover {
    text-decoration: underline;
}

/* TAGS */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tags span {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(227,30,36,0.1);
    color: var(--maxtron-red);
    font-weight: 500;
}

/* META */
.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.6rem;
}

.blog-meta i {
    color: var(--maxtron-green);
    margin-right: 0.25rem;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .blog-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .blog-featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-list-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-card-image img {
        height: 190px;
    }
}

/* =====================================
   BLOG SINGLE – UI & READABILITY
   Scoped & Safe
===================================== */

/* HERO */
.page-hero.blog-single-hero {
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.18), transparent 55%),
        linear-gradient(135deg, #0b1220, #111827);
}

.blog-single-hero h1 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    max-width: 900px;
}

.blog-single-meta {
    display: flex;
    gap: 1.4rem;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #e5e7eb;
}

.blog-single-meta i {
    margin-right: 0.3rem;
    color: var(--maxtron-green);
}

/* GRID */
.blog-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
    gap: 3rem;
}

/* MAIN CONTENT */
.blog-single-content {
    background: #ffffff;
    padding: 2.4rem 2.6rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 20px 44px rgba(15,23,42,0.08);
}

/* FEATURE IMAGE */
.blog-single-image {
    width: 100%;
    border-radius: 1.2rem;
    margin-bottom: 1.6rem;
}

/* TYPOGRAPHY */
.blog-single-content p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1.2rem;
}

.blog-single-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.8rem;
}

.blog-single-content h3 {
    font-size: 1.2rem;
    margin: 1.6rem 0 0.6rem;
}

.blog-single-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
}

.blog-single-content ul li {
    margin-bottom: 0.4rem;
}

/* BLOCKQUOTE */
.blog-single-content blockquote {
    margin: 1.8rem 0;
    padding: 1.2rem 1.6rem;
    border-left: 4px solid var(--maxtron-red);
    background: #f9fafb;
    font-style: italic;
    color: #374151;
    border-radius: 0.6rem;
}

/* SHARE */
.blog-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.blog-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-share a:hover {
    background: var(--maxtron-red);
    color: #ffffff;
}

/* SIDEBAR */
.blog-sidebar {
    position: sticky;
    top: 120px;
    background: #ffffff;
    padding: 1.6rem 1.6rem 1.8rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 18px 38px rgba(15,23,42,0.08);
}

.blog-sidebar h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.blog-sidebar-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.4rem;
}

.blog-sidebar-list li {
    margin-bottom: 0.5rem;
}

.blog-sidebar-list a {
    font-size: 0.9rem;
    color: #374151;
}

.blog-sidebar-list a:hover {
    text-decoration: underline;
}

/* RELATED POSTS */
.related-posts h2 {
    margin-bottom: 1.4rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .blog-single-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-sidebar {
        position: relative;
        top: auto;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-single-content {
        padding: 1.6rem 1.4rem;
    }
}

/* =====================================
   CONTACT PAGE – UI & UX ENHANCEMENTS
   Scoped & Safe
===================================== */

/* HERO */
.page-hero.contact-hero {
    background:
        radial-gradient(circle at top left, rgba(227,30,36,0.18), transparent 55%),
        linear-gradient(135deg, #0b1220, #111827);
}

.page-hero.contact-hero h1 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    max-width: 820px;
}

.page-hero.contact-hero p {
    max-width: 560px;
    color: #e5e7eb;
}

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

/* LEFT INFO */
.contact-info h2 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.contact-info p {
    color: #4b5563;
    max-width: 520px;
    margin-bottom: 1.4rem;
}

/* CONTACT CARDS */
.contact-cards {
    display: grid;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 12px 26px rgba(15,23,42,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15,23,42,0.12);
}

.contact-card i {
    font-size: 1.1rem;
    color: var(--maxtron-red);
    margin-top: 0.2rem;
}

.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* FORM WRAPPER */
.contact-form-wrapper {
    background: #ffffff;
    padding: 2rem 2.2rem 2.4rem;
}

/* ============================
   RESPONSIVE GOOGLE MAP
============================ */

.contact-map-wrapper {
  margin-top: 24px;
}

.responsive-map {
  position: relative;
  width: 100%;
  padding-bottom: 42%; /* aspect ratio ~21:9 (wide map) */
  height: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.responsive-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .responsive-map {
    padding-bottom: 50%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .responsive-map {
    padding-bottom: 65%;
    border-radius: 1rem;
  }
}


/* =====================================
   ADVANCED CONTACT FORM UI
===================================== */

/* FORM WRAPPER – ELEVATED CARD */
.contact-form-wrapper {
    background:
        linear-gradient(180deg, #ffffff, #f9fafb);
    border-radius: 1.6rem;
    padding: 2.4rem 2.6rem 2.8rem;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow:
        0 30px 60px rgba(15,23,42,0.12),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* FORM GRID – AIRY & CLEAR */
.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
}

/* INPUTS – PREMIUM FEEL */
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* PLACEHOLDER */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

/* FOCUS STATE – CLEAR BUT ELEGANT */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: #ffffff;
    border-color: var(--maxtron-red);
    box-shadow:
        0 0 0 1px rgba(227,30,36,0.25),
        0 10px 25px rgba(227,30,36,0.15);
}

/* TEXTAREA */
.contact-form textarea {
    min-height: 150px;
    line-height: 1.6;
}

/* SUBMIT BUTTON – STRONG CTA */
.contact-form .btn.full-width {
    margin-top: 1rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

/* MOBILE FORM */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.8rem 1.5rem 2rem;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   CONTACT MAP – HERO STYLE BACKGROUND
===================================== */

.contact-map {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(227,30,36,0.18), transparent 55%),
        linear-gradient(135deg, #0b1220, #111827);
    overflow: hidden;
}

.contact-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/pattern-dots.png") repeat;
    opacity: 0.04;
    pointer-events: none;
}

/* MAP CARD */
.contact-map-wrapper img {
    background: #ffffff;
    border-radius: 1.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 30px 60px rgba(0,0,0,0.35);
}

/* MAP TEXT */
.contact-map .section-header-left h2,
.contact-map .section-header-left .eyebrow {
    color: #ffffff;
}

.contact-map .section-header-left p {
    color: #d1d5db;
}

/* ==============================
   CONTACT PAGE MOBILE FIXES
============================== */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .responsive-map {
    padding-bottom: 70%;
  }

  .contact-actions,
  .two3-cta-actions {
    flex-direction: column;
    gap: 14px;
  }

  .contact-actions .btn,
  .two3-cta-actions .btn {
    width: 100%;
  }
}


/* =========================================================
   PRODUCT DETAIL PAGE – CORE LAYOUT
========================================================= */

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

/* =========================================================
   PRODUCT GALLERY (LEFT)
========================================================= */

.product-gallery {
    position: sticky;
    top: 110px;
}

.product-main-image {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.product-main-image img {
    width: 100%;
    display: block;
    cursor: zoom-in;
}

/* Zoom button */
.product-zoom-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(17,24,39,0.85);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: background 0.25s ease;
}

.product-zoom-btn:hover {
    background: var(--maxtron-red);
}

/* Thumbnails */
.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-top: 14px;
}

.product-thumb {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid transparent;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.product-thumb img {
    width: 100%;
    display: block;
}

.product-thumb.active {
    border-color: var(--maxtron-red);
}

/* =========================================================
   PRODUCT INFO (RIGHT)
========================================================= */

.product-info {
    display: flex;
    flex-direction: column;
}

.product-category-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.product-title {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 600;
    color: #111827;
}

.product-short-desc {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 680px;
}

.product-key-points {
    margin-top: 14px;
    padding-left: 18px;
}

.product-key-points li {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 6px;
}

/* =========================================================
   KEY SPECIFICATIONS – TABLE FORMAT
========================================================= */

.product-specs {
    margin-top: 1.8rem;
}

.product-specs h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #111827;
}

.product-spec-table-wrapper {
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.08);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15,23,42,0.06);
}

.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-spec-table th,
.product-spec-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.product-spec-table th {
    width: 38%;
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid rgba(15,23,42,0.06);
}

.product-spec-table td {
    color: #4b5563;
    border-bottom: 1px solid rgba(15,23,42,0.06);
}

.product-spec-table tr:last-child th,
.product-spec-table tr:last-child td {
    border-bottom: none;
}

.spec-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* =========================================================
   CTA ROW
========================================================= */

.product-detail-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 1.8rem;
}

/* =========================================================
   SEO CONTENT SECTION
========================================================= */

.product-seo-copy {
    background: #f9fafb;
}

.product-seo-inner {
    max-width: 960px;
}

.product-seo-text p,
.product-seo-text li {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
}

.product-seo-list {
    margin-top: 10px;
    padding-left: 18px;
}

/* =========================================================
   SIMILAR PRODUCTS SLIDER
========================================================= */

.similar-products-section {
    background: #ffffff;
}

.similar-slider-wrapper {
    position: relative;
    margin-top: 2rem;
}

.similar-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.similar-slider::-webkit-scrollbar {
    display: none;
}

.similar-card {
    min-width: 260px;
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover:hover) {
    .similar-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 44px rgba(15,23,42,0.12);
    }
}

/* Slider arrows */
.similar-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(17,24,39,0.85);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.similar-slider-arrow.prev { left: -22px; }
.similar-slider-arrow.next { right: -22px; }

.similar-slider-arrow:hover {
    background: var(--maxtron-red);
}

/* =========================================================
   IMAGE ZOOM – REFINED OVERLAY
========================================================= */

.image-zoom-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.image-zoom-backdrop.shown {
    display: flex;
}

.image-zoom-inner {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
}

.image-zoom-img {
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
}

.image-zoom-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111827;
    color: #ffffff;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

body.no-scroll {
    overflow: hidden;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .similar-slider-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .product-spec-table th,
    .product-spec-table td {
        padding: 12px;
        font-size: 0.85rem;
    }

    .product-spec-table th {
        width: 45%;
    }
}

/* =====================================
   PATTERNS GRID – SIMPLE CLICK TO PAGE
   Optimized & Clean
===================================== */

.patterns-section {
  padding: 70px 0;
  background: #ffffff;
}

/* GRID */
.patterns-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-top: 28px;
  margin-bottom: 28px;
  justify-items: center; /* centers slightly smaller cards */
  margin-left: 40px;
  margin-right: 40px;
}

/* CARD */
.pattern-card {
  width: 95%; /* 🔽 5% smaller for side breathing space */
  background: #ffffff;
  border-radius: 1.4rem;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
}

.pattern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.12);
}

/* IMAGE LINK */
.pattern-thumb-link {
  width: 100%;
  display: block;
}

/* IMAGE HOLDER */
.pattern-thumb {
  width: 100%;
  padding-top: 110%;
  position: relative;
  background: #f9fafb;
  border-radius: 1.2rem;
  border: 1px solid rgba(15,23,42,0.08);
  overflow: hidden;
}

/* IMAGE */
.pattern-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* META */
.pattern-meta {
  text-align: center;
  margin-top: 14px;
}

.pattern-meta h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pattern-meta .muted {
  font-size: 0.82rem;
  color: #6b7280;
}

/* CTA */
.pattern-actions {
  margin-top: 14px;
  width: 100%;
}

.pattern-actions .btn {
  width: 100%;
  font-size: 0.82rem;
  padding: 0.55rem 1.2rem;
}

/* ==============================
   Pattern Card – Size Display
================================ */

.pattern-sizes {
  font-size: 0.85rem;
  color: #666;
  margin-top: 6px;
  line-height: 1.4;
}

.pattern-sizes strong {
  color: #333;
  font-weight: 500;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1200px) {
  .product-main-image {
        width: 80%;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .product-main-image {
        width: 80%;
        margin: 0 auto;
    }
}


@media (max-width: 576px) {
  .patterns-grid {
    grid-template-columns: 1fr;
  }

  .pattern-card {
    width: 100%; /* full width on mobile */
  }

  .pattern-thumb {
    padding-top: 100%;
  }
}

/* Hero section E-Catalogue button */
.btn.btn-outline.ecatalogue-trigger {
  background-color: #E31E24;
  color: #ffffff;
  border: 2px solid #E31E24;
}

.btn.btn-outline.ecatalogue-trigger:hover {
  background-color: #c9181e;
  border-color: #c9181e;
  color: #ffffff;
}

.whatsapp-float-left {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}
