/* ==========================================
   B-SQUARE ENGINEERS - MODERN ENGINEERING STYLES
   ========================================== */

/* --- CSS Variables & Design System --- */
:root {
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Color Palette */
    --bg-primary: #0a0b0e;
    --bg-secondary: #121318;
    --bg-glass: rgba(10, 11, 14, 0.38);
    --bg-glass-heavy: rgba(10, 11, 14, 0.85);
    --blur-glass: blur(2px);
    
    --accent: #ff007f; /* Cyber Pink */
    --accent-rgb: 255, 0, 127;
    --accent-light: #ff54a8;
    --accent-dark: #b30059;

    --text-primary: #ffffff;
    --text-secondary: #a0a5b5;
    --text-muted: #626675;

    --border-glass: rgba(255, 0, 127, 0.15);
    --border-glass-hover: rgba(255, 0, 127, 0.4);
    --border-light: rgba(255, 255, 255, 0.08);

    --glow-strength: 0 0 20px rgba(255, 0, 127, 0.25);
    --glow-strong: 0 0 30px rgba(255, 0, 127, 0.5);
    --glow-inner: inset 0 0 15px rgba(255, 0, 127, 0.1);

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 3px;
    border: 1px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- WebGL Canvas & Interface Overlays --- */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Cyber-grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
}

.grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-primary) 85%);
}

/* Glow pointer */
.glow-effect {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

.paragraph {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* --- Buttons & UI Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: var(--glow-strength);
    border-color: var(--accent-light);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
}

.btn-glow:hover {
    box-shadow: var(--glow-strong);
}

.btn-full {
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid var(--border-glass);
    color: var(--accent-light);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
    }
}

/* --- Floating Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: var(--bg-glass-heavy);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}

.logo-sub {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-contact-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Layout Sections --- */
.scroll-container {
    width: 100%;
}

.section {
    min-height: 100vh;
    padding: 8rem 2rem 4rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3.5rem;
    max-width: 700px;
}

.section-header.center-align {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.15;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    box-shadow: var(--glow-strength);
}

.section-header.center-align .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Grid Utilities */
.grid-2-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

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

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.mouse {
    width: 22px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

/* Glitch Heading Effect */
.glitch-text {
    position: relative;
}

/* --- About Section --- */
.about-section {
    background-color: rgba(var(--accent-rgb), 0.01);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tag i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.tag:hover {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 2.2rem 1.5rem;
    border-radius: 4px;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--glow-inner);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--glow-strength);
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
}

.stat-label {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Products Section (Interactive Catalog) --- */
.products-interface {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 3rem;
}

.product-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tab-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 1.1rem 1.5rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.tab-link i {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.tab-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.tab-link.active {
    color: var(--text-primary);
    background: rgba(var(--accent-rgb), 0.15);
    border: 1px solid var(--accent);
    box-shadow: var(--glow-inner);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
}

.tab-link.active i {
    color: var(--accent-light);
    transform: rotate(360deg);
}

/* Product Panels */
.product-content-container {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 3rem;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    min-height: 480px;
    position: relative;
    overflow: hidden;
}

.product-panel {
    display: none;
    animation: fade-in 0.5s ease forwards;
}

.product-panel.active {
    display: block;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.panel-info h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.panel-lead {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

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

.panel-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.panel-specs li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.panel-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent);
}

.panel-specs li strong {
    color: var(--text-primary);
}

.product-menu-toggle {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 34px;
    height: 34px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.product-menu-toggle:hover {
    background: var(--accent);
    color: var(--text-primary);
    box-shadow: var(--glow-strength);
    border-color: var(--accent-light);
}

.product-menu-toggle i {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-visual {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.015);
}

.product-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-panel:hover .product-img {
    transform: scale(1.05);
}

.image-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Fallback visual for tabs without images */
.fallback-3d-visual {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-glass);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
}

.blueprint-cube {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent);
    box-shadow: var(--glow-strength);
    transform: rotateX(45deg) rotateY(45deg);
    animation: spin 6s infinite linear;
}

@keyframes spin {
    from { transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg); }
    to { transform: rotateX(20deg) rotateY(360deg) rotateZ(360deg); }
}

.fallback-3d-visual p {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    padding: 3rem 2rem;
    border-radius: 4px;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--glow-inner), var(--glow-strength);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--text-primary);
    box-shadow: var(--glow-strength);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Spares Section --- */
.spares-section {
    background-color: rgba(var(--accent-rgb), 0.005);
}

.brochure-download-container {
    margin-top: 3rem;
}

.spares-list-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 3rem;
    border-radius: 4px;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    box-shadow: var(--glow-inner);
}

.spares-list-card h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.spares-list-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--accent);
}

.spares-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.spares-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.dot-pink {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: var(--glow-strength);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    aspect-ratio: 1.3;
    cursor: pointer;
    background: var(--bg-secondary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(var(--accent-rgb), 0.15) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    padding: 1.5rem;
    text-align: center;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-overlay i {
    width: 24px;
    height: 24px;
    color: var(--accent-light);
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span,
.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    transition: var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--border-glass);
    box-shadow: var(--glow-inner);
}

.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--accent-light);
}

.contact-card p, .contact-card a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-card a:hover {
    color: var(--accent-light);
}

/* Glass Enquiry Form */
.contact-form-container {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 3rem;
    border-radius: 4px;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    box-shadow: var(--glow-inner);
}

.glass-form h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
}

.glass-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.2);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
}

.form-status.success {
    color: #4caf50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.form-status.error {
    color: #f44336;
    text-shadow: 0 0 8px rgba(244, 67, 54, 0.3);
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 5rem 2rem 2rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 3px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 7, 9, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 1010;
}

.lightbox-close:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.lightbox-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: #121318;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-media {
    background: #090a0d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-right: 1px solid var(--border-light);
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-details {
    padding: 2.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #121318 0%, #0c0d10 100%);
    text-align: left;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.lightbox-subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lightbox-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.lightbox-body h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.25rem;
}

.lightbox-body p {
    margin-bottom: 1rem;
}

.lightbox-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.lightbox-body li {
    margin-bottom: 0.5rem;
    list-style-type: square;
    color: var(--text-muted);
}

.lightbox-body li strong {
    color: var(--text-primary);
}

/* Responsive lightbox */
@media (max-width: 991px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        grid-template-rows: 0.8fr 1.2fr;
        height: 85vh;
        width: 95%;
    }
    .lightbox-media {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .lightbox-details {
        padding: 1.5rem;
    }
}

/* --- Responsive Adaptations (Mobile / Tablet) --- */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-section h1 {
        font-size: 3.2rem;
    }
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .product-menu-toggle {
        display: flex; /* Show toggle button on mobile/tablet */
    }
    .product-content-container {
        padding-top: 2.5rem; /* Balanced top padding since button is on the right */
    }
    .products-interface {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem;
        transition: grid-template-columns 0.4s cubic-bezier(0.16, 1, 0.3, 1), gap 0.4s ease;
    }
    .product-tabs {
        flex-direction: column;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Collapsed sidebar menu rules */
    .products-interface.menu-collapsed {
        grid-template-columns: 0px 1fr;
        gap: 0;
    }
    .products-interface.menu-collapsed .product-tabs {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-30px);
        margin: 0;
        padding: 0;
        width: 0;
        height: 0;
        overflow: hidden;
    }
    .products-interface.menu-collapsed .product-menu-toggle i {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 6rem 1.5rem 3rem 1.5rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 67px;
        left: 0;
        width: 100%;
        background: var(--bg-glass-heavy);
        border-bottom: 1px solid var(--border-glass);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        display: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(15px);
    }
    .nav-menu.active {
        display: flex;
    }
    .products-interface {
        grid-template-columns: 110px 1fr;
        gap: 0.75rem;
    }
    .product-tabs {
        flex-direction: column;
        gap: 0.4rem;
    }
    .tab-link {
        padding: 0.75rem 0.4rem;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
        line-height: 1.25;
        border-radius: 3px;
    }
    .tab-link i {
        width: 14px;
        height: 14px;
    }
    .product-content-container {
        padding: 1.2rem;
        min-height: auto;
    }
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-container {
        padding: 1.8rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* --- Clients Section --- */
.clients-container {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px dashed var(--border-glass);
    width: 100%;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    text-align: center;
}

.clients-track-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.clients-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: scroll-marquee 20s linear infinite;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    width: 160px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    transition: var(--transition-fast);
}

.client-logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(0.9) contrast(1.1);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.client-logo-item:hover {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: var(--accent);
    box-shadow: var(--glow-strength);
}

.client-logo-item:hover img {
    filter: none;
    opacity: 1;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}

@media (max-width: 768px) {
    .clients-track {
        gap: 2rem;
        animation: scroll-marquee 15s linear infinite;
    }
    .client-logo-item {
        height: 55px;
        width: 130px;
        padding: 0.6rem 0.8rem;
    }
}
