/* ======================================================
   MARBOCON INC. - ENTERPRISE STYLESHEET
   ====================================================== */

/* --- 1. Premium Global Reset & Variables --- */
:root {
    /* Brand Colors */
    --marbocon-red: #C5221F;         
    --marbocon-red-dark: #8E1515;    
    --marbocon-red-glow: rgba(197, 34, 31, 0.25);
    
    /* Typography & Accents */
    --marbocon-grey: #A0AAB2;        
    --light-text: #F0F4F8;           
    
    /* Backgrounds */
    --dark-bg: #13161C;              
    --darker-bg: #0C0E12;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body, html {
    width: 100%;
    min-height: 100vh; 
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* --- 2. Typography & Global Elements --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

h2 span {
    color: var(--marbocon-red);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--marbocon-grey);
    margin-bottom: 50px;
}

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

/* --- 3. Ultra-Sleek Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(19, 22, 28, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}

.company-name {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--light-text);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--marbocon-grey);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--marbocon-red);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--light-text);
}

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

/* --- 4. Home Page: Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--darker-bg); 
}

.hero-bg-img, .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--light-text);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    width: 100%;
}

.hero-content h1 span, .hero-content .highlight {
    color: var(--marbocon-red);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--marbocon-grey);
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Premium Buttons */
.btn-primary, .btn-secondary, .cta-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary, .cta-button {
    background: var(--marbocon-red);
    color: var(--light-text);
    border: 2px solid var(--marbocon-red);
}

.btn-primary:hover, .cta-button:hover {
    background: transparent;
    color: var(--marbocon-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--marbocon-red-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--light-text);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

/* --- 5. Page Structure & Scroll Animations --- */
.page-content {
    padding-top: 100px;
}

.content-section {
    padding: 100px 5%;
    position: relative;
}

.alt-bg {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reveal, .reveal-side {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal {
    transform: translateY(40px);
}

.reveal-side {
    transform: translateX(100px);
}

.reveal.active, .reveal-side.active {
    opacity: 1;
    transform: translate(0);
}

/* --- 6. Glassmorphism Layout Grids --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--marbocon-red), transparent);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card p {
    color: var(--marbocon-grey);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- 7. Anatomy Layout (About Page) --- */
.anatomy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 50px;
    margin: 0 auto 50px auto;
}

.anatomy-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.anatomy-text-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--dark-bg);
    border-left: 4px solid var(--marbocon-red);
    padding: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
    background: rgba(197, 34, 31, 0.05);
}

.feature-box h4 {
    color: var(--light-text);
    font-size: 1.3rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-box h5 {
    color: var(--marbocon-grey);
}

.feature-box p {
    color: var(--marbocon-grey);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* About Page Interactive Elements */
.interactive-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.interactive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.img-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10,10,12,0.8), transparent);
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.interactive-img-container:hover .interactive-img {
    transform: scale(1.08);
}

.interactive-img-container:hover .img-overlay {
    opacity: 0.2;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    padding: 40px 0;
}

.stat-card h3 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--light-text);
    margin-bottom: 10px;
    display: inline-block;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.stat-card p {
    color: var(--marbocon-red);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Mission & Vision Cards */
.mission-card { border-top: 4px solid var(--marbocon-red); }
.vision-card { border-top: 4px solid var(--marbocon-grey); }

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--marbocon-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.03);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 10px; right: 20px;
    transition: color 0.4s ease;
}

.process-step:hover .step-number {
    color: rgba(197, 34, 31, 0.2);
}

.process-step h4, .process-step p {
    position: relative;
    z-index: 2;
}

/* --- 8. Premium Scalable Product Catalog --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 40px;
    margin-top: 50px;
}

.catalog-card {
    background: var(--dark-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 34, 31, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.catalog-image-wrap {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 80%);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.catalog-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    mix-blend-mode: lighten; 
    filter: brightness(1.2) contrast(1.2) drop-shadow(0 10px 15px rgba(0,0,0,0.8));
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
}

.catalog-img.transparent-png {
    mix-blend-mode: normal; 
    filter: brightness(1.05) contrast(1.15) drop-shadow(0 15px 25px rgba(0,0,0,0.9));
}

.catalog-card:hover .catalog-img {
    transform: scale(1.15);
    filter: brightness(1.3) contrast(1.3) drop-shadow(0 20px 25px rgba(0,0,0,0.9));
}

.catalog-card:hover .catalog-img.transparent-png {
    filter: brightness(1.1) contrast(1.2) drop-shadow(0 25px 35px rgba(0,0,0,1));
}

.catalog-details {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-details h3 {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.catalog-details p {
    color: var(--marbocon-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.catalog-link {
    display: inline-block;
    color: var(--marbocon-red);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.catalog-link:hover {
    color: #ff4d4a; 
}

/* --- 9. Premium Technical Specifications Modal --- */
.spec-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.spec-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--darker-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 90%;
    max-width: 950px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    overflow: hidden;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--marbocon-grey);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--marbocon-red);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-image-side {
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: 1px solid var(--glass-border);
}

.modal-image-side img {
    max-width: 100%;
    max-height: 350px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
}

.modal-image-side img:not(.transparent-png) {
    mix-blend-mode: lighten;
}

.modal-text-side {
    padding: 50px 40px;
}

.modal-text-side h3 {
    color: var(--light-text);
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-text-side p {
    color: var(--marbocon-grey);
    line-height: 1.6;
    margin-bottom: 30px;
}

.spec-heading {
    color: var(--marbocon-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--light-text);
    font-size: 0.95rem;
}

.spec-table tr td:first-child {
    color: var(--marbocon-grey);
    font-weight: 600;
    width: 45%;
}

/* --- 10. Client Grid (Home & About Page) --- */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    padding: 20px 0;
}

.client-card {
    background: transparent; 
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0; 
    width: 100%;
    height: 120px; 
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--marbocon-red);
    box-shadow: 0 15px 30px rgba(197, 34, 31, 0.3);
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: none !important; 
    opacity: 1 !important; 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.client-card:hover .client-logo {
    transform: scale(1.1); 
}

/* --- 11. Call to Action Banner (Home Page) --- */
.cta-banner {
    background: linear-gradient(45deg, var(--darker-bg), var(--marbocon-red));
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?q=80&w=1000&auto=format&fit=crop') center/cover;
    opacity: 0.1;
    mix-blend-mode: multiply;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

/* --- 12. Contact Form & Footer --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--light-text);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.contact-info p {
    color: var(--marbocon-grey);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--marbocon-red);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 15px rgba(197, 34, 31, 0.2);
}

.site-footer {
    background-color: #080A0E;
    padding: 80px 5% 30px 5%;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand .footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: none; /* Grayscale filter successfully removed here */
}

.footer-brand p {
    color: var(--marbocon-grey);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 400px;
}

.footer-section h4 {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: var(--marbocon-grey);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: var(--marbocon-red);
}

.footer-section p {
    color: var(--marbocon-grey);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- 13. Responsive Media Queries & Mobile Menu --- */

/* Hamburger Icon Styling (Hidden on PC) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 2000; 
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: var(--light-text);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- TABLET LAYOUT (Max 900px) --- */
@media (max-width: 900px) {
    .anatomy-layout, .contact-wrapper, .footer-content { 
        grid-template-columns: 1fr; 
    }
    .anatomy-layout { padding: 30px 20px; }
    .feature-box { padding: 20px; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-image-side { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 20px; }
    .modal-image-side img { max-height: 200px; }
}

/* --- MOBILE LAYOUT (Max 768px) --- */
@media (max-width: 768px) {
    /* Navbar Mobile Fixes */
    .navbar { 
        padding: 15px 5%; 
        flex-direction: row; 
        justify-content: space-between;
    }
    
    .hamburger {
        display: flex; 
    }

    /* Mobile Side Drawer Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.8);
        border-left: 1px solid var(--glass-border);
        z-index: 1500;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    /* Hamburger to 'X' Animation */
    .hamburger.toggle .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--marbocon-red);
    }
    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--marbocon-red);
    }

    /* General Mobile Spacing & Typography Fixes */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary, .cta-button { text-align: center; width: 100%; }
    
    .content-section { padding: 70px 5%; }
    .content-container h2 { font-size: 2.2rem; }
    
    .cta-content h2 { font-size: 2rem; }
    .cta-content p { font-size: 1rem; }
    
    .footer-content { text-align: center; gap: 40px; }
    .footer-brand p { margin: 0 auto; }
}

/* --- 10.5 Infinite Client Logo Slider (Home Page) --- */
.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-slide-track {
    display: flex !important;
    flex-direction: row !important; 
    align-items: center;
    width: max-content;
    animation: scrollSlider 35s linear infinite;
}

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

.slide {
    width: 220px;
    height: 120px;
    background: transparent; 
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
    margin-right: 30px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s;
    flex-shrink: 0 !important; 
    overflow: hidden; 
}

.slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(197, 34, 31, 0.3); 
    border-color: var(--marbocon-red);
}

.slide:hover .client-logo {
    transform: scale(1.1); 
}

@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 14. Scroll-Triggered Auto-Hover Effects (MOBILE ONLY) --- */
@media (max-width: 768px) {
    /* Core Values Cards */
    .card.scroll-hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

    /* Feature Boxes (About Page) */
    .feature-box.scroll-hover {
        transform: translateX(10px);
        background: rgba(197, 34, 31, 0.05);
    }

    /* Interactive Images */
    .interactive-img-container.scroll-hover .interactive-img {
        transform: scale(1.08);
    }
    .interactive-img-container.scroll-hover .img-overlay {
        opacity: 0.2;
    }

    /* Process Steps */
    .process-step.scroll-hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        background: rgba(255,255,255,0.03);
    }
    .process-step.scroll-hover::before {
        transform: scaleX(1);
    }
    .process-step.scroll-hover .step-number {
        color: rgba(197, 34, 31, 0.2);
    }

    /* Catalog Cards (Products) */
    .catalog-card.scroll-hover {
        transform: translateY(-10px);
        border-color: rgba(197, 34, 31, 0.4);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    .catalog-card.scroll-hover .catalog-img {
        transform: scale(1.15);
        filter: brightness(1.3) contrast(1.3) drop-shadow(0 20px 25px rgba(0,0,0,0.9));
    }
    .catalog-card.scroll-hover .catalog-img.transparent-png {
        filter: brightness(1.1) contrast(1.2) drop-shadow(0 25px 35px rgba(0,0,0,1));
    }

    /* Client Grid & Slider */
    .client-card.scroll-hover, .slide.scroll-hover {
        transform: translateY(-5px);
        border-color: var(--marbocon-red);
        box-shadow: 0 15px 30px rgba(197, 34, 31, 0.3);
    }
    .client-card.scroll-hover .client-logo, .slide.scroll-hover .client-logo {
        transform: scale(1.1);
    }
}

/* --- 15. BULLETPROOF MOBILE SCROLL & GRID FIXES --- */
@media (max-width: 768px) {
    /* 1. Forces the grid to stack into a single column perfectly */
    .catalog-grid, .grid-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* 2. Overrides the buggy JavaScript and forces products to be 100% visible */
    .reveal, .reveal-side {
        opacity: 1 !important;
        transform: translate(0) !important;
        transition: none !important; /* Removes the delay */
    }

    /* 3. Fixes mobile scrolling cut-offs */
    body, html {
        height: auto !important;
        min-height: 100vh !important;
    }
}