@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* White, Grey, Red Colors */
    --primary-red: #C8102E;
    --red-dark: #A00C24;
    --red-light: #FCE8EC;

    --bg-white: #FFFFFF;
    --bg-grey: #F8FAFC;

    --text-main: #0F172A;
    --text-muted: #64748B;

    --glass-border: rgba(255, 255, 255, 0.6);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --section-padding: 10rem 0;
    --container-width: 1400px;

    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-grey);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-grey);
    z-index: 0;
}

/* Animated Glassmorphism Background Blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

body::before {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

body::after {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -12.5s;
}

/* Optional 3rd blob for extra depth */
.bg-blob-3 {
    position: fixed;
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.04) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(8%, 12%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -8%) scale(0.9);
    }
}

@keyframes floatBlob2 {
    0% {
        transform: translate(0, 0) scale(0.9);
    }

    50% {
        transform: translate(-10%, 5%) scale(1.1);
    }

    100% {
        transform: translate(10%, -10%) scale(1);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-silver-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary,
.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: rgba(200, 16, 46, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 15px 35px rgba(200, 16, 46, 0.4);
    transform: translateY(-3px);
    background: var(--primary-red);
}

.btn-primary-outline {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.btn-primary-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.15);
    transform: translateY(-3px);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 16, 46, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-dot {
    opacity: 1;
}

/* Navigation - Floating Glassmorphic Banner */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1320px;
    z-index: 1000;
    padding: 0.85rem 1.75rem;
    border-radius: 20px;
    background: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: opacity 0.4s ease, top 0.3s ease, padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.nav-hidden {
    opacity: 0;
    pointer-events: none;
}

.navbar.scrolled {
    top: 0.6rem;
    padding: 0.65rem 1.75rem;
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1;
    margin-left: 0.5rem;
}

.logo-mechway {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 0.05em;
    margin-bottom: -0.1rem;
}

.logo-global {
    font-size: 1.2rem;
    font-weight: 700;
    color: #666666;
    letter-spacing: 0.18em;
}

.logo-phone-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
    text-transform: none;
}

.logo-phone-sub i {
    width: 10px;
    height: 10px;
}

.nav-phone-badge {
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(200, 16, 46, 0.08);
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-phone-badge:hover {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
}

.nav-phone-badge i {
    width: 13px;
    height: 13px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Auto-Animated Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-pin-container {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 140px;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) grayscale(10%);
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%), linear-gradient(0deg, var(--bg-white) 0%, transparent 30%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Glassmorphism backing for hero text */
.hero-text-wrapper {
    max-width: 750px;
    position: relative;
    z-index: 2;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 0 30px rgba(255, 255, 255, 0.4);
}

.hero-kicker {
    font-family: var(--font-heading);
    color: var(--primary-red);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
    opacity: 0;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 0.15em;
}

.title-word {
    transform: translateY(150%);
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
    opacity: 0;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-main);
    opacity: 0.6;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(200, 16, 46, 0.4);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 2px;
    margin-top: 5px;
    animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

/* Decorative Scroll Graphic */
.hero-graphic {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.gear-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(200, 16, 46, 0.3);
    backdrop-filter: blur(5px);
}

.ring-2 {
    width: 70%;
    height: 70%;
    border: 2px dashed rgba(200, 16, 46, 0.5);
}

.ring-3 {
    width: 40%;
    height: 40%;
    border: 4px solid var(--primary-red);
    box-shadow: 0 0 30px rgba(200, 16, 46, 0.2);
}

/* Standard Section Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 5rem;
}

.section-kicker {
    font-family: var(--font-heading);
    color: var(--primary-red);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 1.75rem;
}

/* About Section */
.about {
    position: relative;
    z-index: 5;
    background: transparent;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 8px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1) contrast(1.05);
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.about-text:last-of-type {
    margin-bottom: 0;
}

/* 3D PERSPECTIVE GRIDS FOR BLOCKS */
.stats-grid,
.product-grid,
.why-grid {
    display: grid;
    perspective: 1200px;
}

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

/* ADVANCED GLASSMORPHISM BLOCKS (CARDS) */
.stat-card,
.why-card,
.contact-form form {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
}

.stat-card.ready,
.why-card.ready,
.contact-form form.ready {
    transition: var(--transition-bounce);
}

/* Base Texture Overlay for all blocks to stop them looking flat */
.stat-card::after,
.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(100, 116, 139, 0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

/* Sweeping light glare effect for hover */
.stat-card::before,
.why-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    opacity: 0.5;
}

/* Unified 3D Hover Effect for Blocks */
.stat-card:hover,
.why-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(200, 16, 46, 0.4);
    box-shadow:
        -15px 25px 50px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(200, 16, 46, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 1);
    z-index: 10;
}

.stat-card:hover::before,
.why-card:hover::before {
    transform: rotate(45deg) translateY(100%);
}

/* Stat Cards Specifics */
.stat-card {
    padding: 2.5rem 2rem;
    border-bottom: 3px solid transparent;
}

.stat-card:hover {
    border-bottom-color: var(--primary-red);
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 0.5rem;
    transform: translateZ(20px);
    display: block;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--text-muted);
    transform: translateZ(10px);
    display: block;
}

/* Catalogue Section Specifics */
.products {
    position: relative;
    z-index: 5;
    background: transparent;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    perspective: 1200px;
}

.catalogue-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.catalogue-card.ready {
    transition: var(--transition-bounce);
}

.catalogue-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(100, 116, 139, 0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.catalogue-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    opacity: 0.5;
}

.catalogue-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(200, 16, 46, 0.4);
    box-shadow:
        -15px 25px 50px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(200, 16, 46, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 1);
    z-index: 10;
}

.catalogue-card:hover::before {
    transform: rotate(45deg) translateY(100%);
}

.catalogue-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.46)),
        var(--product-bg-image, none) center / cover no-repeat,
        #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.catalogue-image::before {
    content: '';
    position: absolute;
    inset: -26px;
    background: var(--product-bg-image, none) center / cover no-repeat;
    filter: blur(24px) saturate(1.18);
    opacity: 0.42;
    transform: scale(1.08);
}

.catalogue-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.9), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(15, 23, 42, 0.08));
}

.catalogue-image img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.catalogue-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(200, 16, 46, 0.3);
    z-index: 3;
}

.catalogue-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalogue-icon {
    width: 45px;
    height: 45px;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
}

.catalogue-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 600;
    transform: translateZ(20px);
    display: block;
}

.catalogue-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transform: translateZ(10px);
}

.catalogue-specs {
    list-style: none;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateZ(10px);
}

.catalogue-specs li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.catalogue-specs li span {
    color: var(--text-muted);
    font-weight: 500;
}

.catalogue-btn {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    transform: translateZ(15px);
    width: 100%;
}

/* Global Sourcing Section */
.sourcing {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 12rem 0;
    z-index: 5;
}

.sourcing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.sourcing-bg-img {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 0.15;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    z-index: -2;
}

.sourcing .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 4rem auto 0;
    perspective: 1000px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.6);
    padding: 2rem;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1)) invert(1) hue-rotate(180deg) brightness(1.5) contrast(1.2);
}

/* Features/Why Us Grid Specifics */
.why-us {
    background: transparent;
    z-index: 5;
    position: relative;
}

.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    padding: 4rem 2rem;
    text-align: center;
    border-left: 3px solid transparent;
}

.why-card:hover {
    border-left-color: var(--primary-red);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.9;
    transform: translateZ(30px);
}

.why-card.ready i {
    transition: var(--transition-bounce);
}

.why-card:hover i {
    opacity: 1;
    transform: translateZ(40px) scale(1.15);
    filter: drop-shadow(0 10px 15px rgba(200, 16, 46, 0.2));
    color: var(--red-dark);
}

.why-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateZ(10px);
    display: block;
}

/* Swipe Indicator for Carousel */
.swipe-indicator {
    display: none;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.swipe-indicator i {
    width: 16px;
    height: 16px;
}

/* Contact Section */
.contact {
    position: relative;
    background: transparent;
    border-top: 1px solid var(--glass-border);
    z-index: 5;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary-red);
    width: 24px;
    height: 24px;
    margin-top: 5px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form form {
    padding: 3rem;
    border-top: 4px solid var(--primary-red);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: var(--text-main);
    text-align: center;
    z-index: 5;
    position: relative;
    border-radius: 40px 40px 0 0;
    margin-top: 5rem;
}

.footer .logo-mechway {
    color: var(--bg-white);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Product Details Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.8);
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: var(--transition-bounce);
    opacity: 0;
    /* Custom scrollbar for modal */
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 16, 46, 0.5) transparent;
}

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background-color: rgba(200, 16, 46, 0.5);
    border-radius: 10px;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
}

.modal-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #f0f0f0;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-badge {
    display: inline-block;
    background: rgba(200, 16, 46, 0.1);
    color: var(--primary-red);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-graphic {
        display: none;
    }

    .hero-text-wrapper {
        padding: 2rem;
    }

    /* Carousel styling for Catalogue on Mobile/Tablet */
    .swipe-indicator {
        display: flex;
    }

    .catalogue-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .catalogue-grid::-webkit-scrollbar {
        display: none;
    }

    .catalogue-card {
        min-width: 320px;
        scroll-snap-align: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 7rem 0 3rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    max-width: 400px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 9999;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bg-white);
}

.cookie-header i {
    color: var(--primary-red);
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #a0a0a0;
}

.cookie-text a {
    color: var(--bg-white);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-text a:hover {
    color: var(--primary-red);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cookie-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    flex: 1;
    text-align: center;
}

.cookie-btn.accept {
    background: var(--primary-red);
    color: var(--bg-white);
    border: 1px solid var(--primary-red);
}

.cookie-btn.accept:hover {
    background: var(--red-dark);
}

.cookie-btn.reject {
    background: transparent;
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
    }
}

@keyframes mobileMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

@media (max-width: 992px) {
    .navbar {
        width: calc(100% - 1.5rem);
        top: 0.75rem;
        padding: 0.7rem 1.25rem;
        border-radius: 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 18px;
        padding: 1.5rem 1.25rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), inset 0 1px 1px #ffffff;
        gap: 1rem;
        z-index: 1000;
        animation: mobileMenuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-links.active .nav-link {
        font-size: 1.05rem;
        padding: 0.65rem 0.5rem;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        color: var(--text-main) !important;
    }

    .nav-links.active .nav-phone-badge,
    .nav-links.active .btn-primary-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.8rem;
        margin-top: 0.25rem;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(200, 16, 46, 0.08);
        border: 1px solid rgba(200, 16, 46, 0.2);
        color: var(--text-main);
        font-size: 1.4rem;
        cursor: pointer;
        transition: var(--transition-smooth);
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn.active {
        background: var(--primary-red);
        color: #ffffff;
    }

    .hero-text-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

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

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .stat-card:hover,
    .catalogue-card:hover,
    .why-card:hover {
        transform: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    }

    /* Disable 3D tilt on mobile */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-primary-outline {
        width: 100%;
    }

    .catalogue-grid {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .catalogue-card {
        min-width: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image-wrapper {
        margin-top: 2rem;
    }

    #modal-title {
        font-size: 1.75rem !important;
    }

    .page-header {
        padding: 8rem 0 3.5rem;
    }

    .pre-footer {
        padding: 3.5rem 0;
        margin-top: 3rem;
    }

    .pre-footer h2 {
        margin-bottom: 1.5rem;
    }
}

/* --- NEW SECTIONS --- */

/* Trust Bar (Scrolling Logos Banner with Glassmorphic White Background) */
.trust-bar-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(200, 16, 46, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), inset 0 0 20px rgba(255, 255, 255, 0.6);
    margin: 1.5rem 0;
}

.trust-bar-section::before,
.trust-bar-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trust-bar-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent);
}

.trust-bar-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
}

.trust-bar-container {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.trust-bar-container:hover {
    animation-play-state: paused;
}

.trust-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 72px;
    object-fit: contain;
    margin: 0 3.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}


.trust-logo--giacomini {
    width: 220px;
    height: 95px;
    transform: scale(1.12);
}

.trust-logo--wavin {
    width: 200px;
    height: 100px;
}

.trust-logo--maddalena {
    width: 205px;
    height: 100px;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Core Pillars (Trio Layout) */
.trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    perspective: 1200px;
}

.trio-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.trio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(200, 16, 46, 0.1);
    border-color: rgba(200, 16, 46, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.trio-icon {
    width: 60px;
    height: 60px;
    background: rgba(200, 16, 46, 0.1);
    color: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.trio-icon i {
    width: 30px;
    height: 30px;
}

.trio-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.trio-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.trio-link {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trio-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.trio-link:hover i {
    transform: translateX(5px);
}

/* Featured Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    background: var(--text-main);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.8;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    color: white;
}

.project-card:hover .project-image {
    transform: scale(1.05);
    opacity: 1;
}

.project-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: white;
}

.project-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Pre-Footer Banner */
.pre-footer {
    background-color: var(--text-main);
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(60deg, rgba(200, 16, 46, 0.04) 25%, transparent 25.5%, transparent 75%, rgba(200, 16, 46, 0.04) 75%, rgba(200, 16, 46, 0.04)),
        linear-gradient(60deg, rgba(200, 16, 46, 0.04) 25%, transparent 25.5%, transparent 75%, rgba(200, 16, 46, 0.04) 75%, rgba(200, 16, 46, 0.04));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    z-index: 5;
    border-radius: 40px 40px 0 0;
    margin-top: 5rem;
}

.pre-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(200, 16, 46, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.pre-footer h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

/* Adjust Footer for Pre-Footer */
.footer {
    margin-top: 0;
    border-radius: 0;
    padding-top: 2rem;
}


/* Social Links */
.social-links {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-links a svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    pointer-events: none;
}

/* LinkedIn - brand blue on hover */
.social-links a[aria-label="LinkedIn"]:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.45);
}

/* Instagram - gradient on hover */
.social-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
    color: #ffffff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.45);
}

@media (max-width: 1024px) {
    .trio-grid {
        grid-template-columns: 1fr;
    }

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

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.product-modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 16, 46, 0.4) transparent;
}

.product-modal-content::-webkit-scrollbar {
    width: 5px;
}

.product-modal-content::-webkit-scrollbar-thumb {
    background: rgba(200, 16, 46, 0.4);
    border-radius: 10px;
}

.modal-overlay.active .product-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    color: var(--text-main);
}

.modal-close-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Product Placeholder Banner Styling */
.product-placeholder-banner {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

.placeholder-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.placeholder-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.85;
}

.placeholder-icon-wrapper {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalogue-card:hover .placeholder-icon-wrapper {
    transform: scale(1.1) rotate(4deg);
    border-color: var(--primary-red);
    color: #ffffff;
    background: var(--primary-red);
}

.placeholder-icon {
    width: 32px;
    height: 32px;
}

.placeholder-label {
    position: relative;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-tag-mini {
    background: rgba(200, 16, 46, 0.08);
    color: var(--primary-red);
    border: 1px solid rgba(200, 16, 46, 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Product Modal Image Column & Multi-Placeholder Slider */
.modal-image-col {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.42)),
        var(--product-bg-image, none) center / cover no-repeat,
        #f8fafc;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    height: 100%;
    padding: 1.5rem 3rem 4.5rem 3rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.modal-image-col::before {
    content: '';
    position: absolute;
    inset: -42px;
    background: var(--product-bg-image, none) center / cover no-repeat;
    filter: blur(34px) saturate(1.22);
    opacity: 0.46;
    transform: scale(1.1);
}

.modal-image-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.94), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(15, 23, 42, 0.1));
}

.modal-image-col img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 40%;
    display: block;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

.modal-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-slider-btn:hover {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

#modal-prev-btn {
    left: 1rem;
}

#modal-next-btn {
    right: 1rem;
}

.modal-slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
    background: rgba(15, 23, 42, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
}

.modal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-dot.active {
    background: var(--primary-red);
    width: 24px;
    border-radius: 6px;
}

.modal-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--primary-red);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.4);
}

/* Brands Available Section in Product Modal */
.brands-available-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.brand-available-card {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.brand-available-card:hover {
    border-color: var(--primary-red);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.15);
    transform: translateY(-3px);
}

.brand-available-img-box {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.brand-available-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-available-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.brand-click-hint {
    font-size: 0.72rem;
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    opacity: 0.9;
}

/* Interactive Brand Cards for Brands Page */
.brand-card-interactive {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.brand-card-interactive:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.15);
    border-color: rgba(200, 16, 46, 0.4);
}

.brand-card-img-wrapper {
    height: 160px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-card-interactive:hover .brand-card-img-wrapper img {
    transform: scale(1.08);
}

.brand-card-footer {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.02);
}

.brand-card-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.05rem;
}

.brand-card-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-red);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(200, 16, 46, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.brand-card-interactive:hover .brand-card-btn {
    background: var(--primary-red);
    color: #ffffff;
}

/* Brand Products Showcase Modal */
.brand-modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    width: 92%;
    max-width: 1100px;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 16, 46, 0.4) transparent;
}

.brand-modal-content::-webkit-scrollbar {
    width: 6px;
}

.brand-modal-content::-webkit-scrollbar-thumb {
    background: rgba(200, 16, 46, 0.4);
    border-radius: 10px;
}

.modal-overlay.active .brand-modal-content {
    transform: translateY(0) scale(1);
}

.brand-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 24px 24px 0 0;
    flex-shrink: 0;
}

.brand-modal-logo-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    height: 104px;
    min-width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.brand-modal-logo-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 160px;
    max-height: 84px;
    object-fit: contain;
}

.brand-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.brand-modal-subtitle {
    color: #94a3b8;
    margin-top: 0.3rem;
    font-size: 0.95rem;
}

.brand-modal-body {
    padding: 3rem;
    flex-grow: 1;
}

.modal-info-col {
    padding: 3rem;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal-section {
    margin-bottom: 1.75rem;
}

.modal-section h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.modal-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-specs-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.modal-specs-list li span {
    font-weight: 600;
    color: var(--text-main);
}

.modal-industries-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.industry-tag {
    background: rgba(200, 16, 46, 0.07);
    color: var(--primary-red);
    border: 1px solid rgba(200, 16, 46, 0.2);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        border-radius: 24px 24px 0 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        min-height: 320px;
        padding: 1.5rem 1rem;
    }

    .modal-info-col {
        padding: 2rem;
    }
}

.brand-tag {
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-main);
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Global Page Header & Footer Backgrounds */
.page-header {
    padding: 12rem 0 6rem;
    background-color: var(--text-main);
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(60deg, rgba(200, 16, 46, 0.04) 25%, transparent 25.5%, transparent 75%, rgba(200, 16, 46, 0.04) 75%, rgba(200, 16, 46, 0.04)),
        linear-gradient(60deg, rgba(200, 16, 46, 0.04) 25%, transparent 25.5%, transparent 75%, rgba(200, 16, 46, 0.04) 75%, rgba(200, 16, 46, 0.04));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.5);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(200, 16, 46, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.footer {
    background-color: var(--text-main);
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
        linear-gradient(60deg, rgba(200, 16, 46, 0.04) 25%, transparent 25.5%, transparent 75%, rgba(200, 16, 46, 0.04) 75%, rgba(200, 16, 46, 0.04)),
        linear-gradient(60deg, rgba(200, 16, 46, 0.04) 25%, transparent 25.5%, transparent 75%, rgba(200, 16, 46, 0.04) 75%, rgba(200, 16, 46, 0.04));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    color: white;
    padding-bottom: 2rem;
    position: relative;
}