:root {
    --primary: #e63946;
    --primary-dark: #bd1f36;
    --primary-light: #ff6b7a;
    --secondary: #1d3557;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --white: #ffffff;
    --whatsapp: #25D366;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: 3rem;
    color: var(--white);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

p {
    margin-bottom: 1.2rem;
}

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

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

section {
    padding: 80px 0;
}

/* Animation Utility Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

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

.logo {
    height: 64px;
    margin-right: 0;
    object-fit: contain;
}

.subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
    max-width: 130px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
}

nav li {
    margin-left: 0;
    position: relative;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
    padding: 6px 12px;
    border-radius: 6px;
}

nav a:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.06);
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 12px;
    right: 12px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover::after,
nav a.active::after {
    width: calc(100% - 24px);
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
    font-weight: 600 !important;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-contact::after {
    display: none !important;
}

.btn-contact::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('lab.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 180px 0 140px;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(230, 57, 70, 0.7) 100%);
    z-index: 1;
}

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

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 60px;
    max-width: 650px;
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 16px 40px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.5);
    color: var(--white);
}

.cta-button:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
}

/* Services Section */
.services-section {
    background-color: var(--light);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
}

.service-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-item p {
    color: var(--gray);
}

/* Products & Partners Section */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.partner-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
    z-index: 2;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.partner-logo {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 30px;
    background-color: var(--light);
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-card h4 {
    padding: 0 25px;
    margin-top: 20px;
    color: var(--dark);
}

.partner-card p {
    padding: 0 25px;
    margin-bottom: 25px;
    color: var(--gray);
}

.details-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin: 0 20px 20px;
    transition: var(--transition);
    position: relative;
}

.details-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.details-link:hover {
    color: var(--primary-dark);
}

.details-link:hover::after {
    transform: translateX(5px);
}

.large-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

/* About Section */
.about-section {
    background-color: var(--light);
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Contact Section */
/* Contact Section - Red and Black Theme */
.contact-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.contact-header h3::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-header .section-intro {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 30px auto 0;
    color: #e0e0e0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    background: rgba(198, 40, 40, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-card p {
    margin-bottom: 5px;
    color: var(--gray);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 0;
    border: 2px solid #333;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.3);
}

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

.contact-form button {
    width: 100%;
    margin-top: 10px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

#form-message {
    margin-top: 20px;
    text-align: center;
}

.success-message {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #4caf50;
    border: 1px solid #4caf50;
}

.error-message {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #f44336;
    border: 1px solid #f44336;
}

/* Responsive Design for Contact Section */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header h3 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .contact-card {
        width: 100%;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-header h3 {
        font-size: 1.8rem;
    }
    
    .contact-header .section-intro {
        font-size: 1rem;
    }
}

/* =========================================
   NEW: COVERFLOW / STACKED CARDS 3D CAROUSEL
   ========================================= */

/* The Scene Container - Matches your site's light background */
.coverflow-scene {
    width: 100%;
    height: 550px; /* Height of the interactive area */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px; /* Essential for 3D depth */
    background-color: var(--light); 
    touch-action: pan-y; /* Allows scrolling down the page while swiping the carousel */
}

/* The Invisible Track that holds the cards */
.coverflow-track {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: grab;
    z-index: 10;
    user-select: none;
}

.coverflow-track:active {
    cursor: grabbing;
}

/* Individual Card Styling */
.coverflow-card {
    position: absolute; /* Important: GSAP handles the positioning */
    left: 50%;
    top: 50%;
    width: 300px;
    height: 460px;
    background-color: var(--white);
    border-radius: 8px;
    transform-style: preserve-3d;
    
    /* Matches your existing styling logic */
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
    /* Centering logic required for the 3D effect */
    transform-origin: center center; 
    transform: translate(-50%, -50%);
    
    /* Performance optimizations */
    will-change: transform, opacity, filter;
    user-select: none;
    -webkit-user-drag: none;
    /* inactive state */
    pointer-events: none;
    opacity: 0.6;
    filter: blur(0.5px);
}
.coverflow-card.is-active {
    pointer-events: auto;
    opacity: 1;
    filter: none;
}


/* Card Image Area */
.coverflow-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: var(--white);
    padding: 20px;
    pointer-events: none; /* Prevents dragging the image itself */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    

}

/* Card Content Area */
.coverflow-card .card-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--white);
    

}

.coverflow-card .card-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
    

}

/* Remove the underline from the h3 inside cards (overriding global h3 style) */
.coverflow-card .card-content h3::after {
    display: none; 
    

}

.coverflow-card .card-content h4 {
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    

}

.coverflow-card .card-content p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
    

}

/* Button inside card */
.coverflow-card .btn-mini {
    padding: 10px 25px;
    background-color: var(--dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    align-self: center;
    border: 2px solid transparent;
    

}

.coverflow-card .btn-mini:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(198, 40, 40, 0.3);
    

}

/* Mobile Responsiveness for Carousel */
@media (max-width: 768px) {
    .coverflow-scene {
        height: 480px;
    }
    
    .coverflow-card {
        width: 260px;
        height: 420px;
        transform-style: preserve-3d;
        

    }

    .coverflow-card img {
        height: 160px;
        

    }
}

/* Products Page Styles */
.products-hero {
    position: relative;
    background: url('lab.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 140px 0 100px;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(230, 57, 70, 0.7) 100%);
    z-index: 1;
}

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

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.products-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.products-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.brands-navigation {
    background-color: var(--light);
    padding: 60px 0;
}

.brands-navigation h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.brands-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 150px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.brand-item img {
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.brand-item span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

.brand-section {
    padding: 80px 0;
}

.brand-section:nth-child(even) {
    background-color: var(--light);
}

.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.brand-logo {
    height: 100px;
    object-fit: contain;
}

.brand-info h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.brand-info p {
    font-size: 1.1rem;
    max-width: 600px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-align: left;
}

.product-content h3::after {
    display: none;
}

.product-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.product-content p {
    margin-bottom: 15px;
}

.product-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.product-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.product-content li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -10px;
}

.product-content .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.cta-section {
    background: linear-gradient(rgba(198, 40, 40, 0.9), rgba(142, 0, 0, 0.95));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary);
}

.cta-section .cta-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Footer */
/* Footer Section */
/* Footer Section */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a0000 100%);
    color: var(--white);
    padding: 50px 0 30px;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.footer-partners {
    width: 100%;
}

.footer-partners h4 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.footer-partners h4::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
}

.partner-logo-item:hover {
    background: rgba(198, 40, 40, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.partner-logo-item img {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.partner-logo-item:hover img {
    filter: brightness(0) invert(0.8) sepia(1) saturate(5) hue-rotate(320deg);
    transform: scale(1.05);
}

.partner-logo-item span {
    font-size: 1rem;
    color: #e0e0e0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.footer-copyright p {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-content {
        gap: 30px;
    }
    
    .footer-partners h4 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .partner-logos {
        gap: 40px;
    }
    
    .partner-logo-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .partner-logo-item img {
        height: 60px;
    }
    
    .partner-logo-item span {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        padding-top: 25px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-partners h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .partner-logos {
        flex-direction: column;
        gap: 25px;
    }
    
    .partner-logo-item {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        max-width: 250px;
        gap: 20px;
        padding: 15px 20px;
    }
    
    .partner-logo-item img {
        height: 50px;
        margin-bottom: 0;
    }
    
    .partner-logo-item span {
        font-size: 1rem;
    }
    
    .footer-copyright {
        padding-top: 20px;
    }
    
    .footer-copyright p {
        font-size: 0.9rem;
    }

}
    /* Coverflow navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary);
}

.nav-btn.prev {
    left: 20px;
}

.nav-btn.next {
    right: 20px;
}

/* Mobile size */
@media (max-width: 768px) {
    .nav-btn {
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }
}

/* Dynamic Product Classes for products.html */
.category-header {
    margin-bottom: 30px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 15px;
}

.category-logo {
    height: 50px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.category-title {
    margin: 0;
    color: var(--dark);
    font-size: 2.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card-container {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card-container:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    background: var(--light);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.product-image {
    height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 30px;
}

.product-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-desc {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-label {
    font-weight: 500;
    color: var(--dark);
}

.price-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    text-decoration: none;
}

/* =========================================
   MOBILE HAMBURGER MENU
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hamburger span:nth-child(1) { margin-bottom: 6px; }
.hamburger span:nth-child(3) { margin-top: 6px; }

/* Hamburger to X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-overlay {
        display: block;
        pointer-events: none;
    }

    .nav-overlay.active {
        pointer-events: auto;
    }

    nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 30px 40px;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        margin-left: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    nav a {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
    }

    nav a::after {
        display: none;
    }

    .btn-contact {
        display: inline-block;
        text-align: center;
        margin-top: 10px;
        width: 100%;
    }

    .logo {
        height: 60px;
    }

    .header-container {
        padding: 10px 15px;
    }

    .subtitle {
        font-size: 0.75rem;
    }

    /* Hero responsive */
    .hero {
        padding: 120px 0 80px;
        min-height: 60vh;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 30px;
    }

    /* Section responsive */
    h3 {
        font-size: 1.6rem;
    }

    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 45px;
    }

    .subtitle {
        display: none;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.whatsapp-float .wa-icon {
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-float .wa-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover .wa-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* Pulse ring animation */
.whatsapp-float .wa-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--whatsapp);
    opacity: 0;
    animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float .wa-label {
    background: var(--white);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .wa-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float .wa-icon {
        width: 52px;
        height: 52px;
    }

    .whatsapp-float .wa-icon svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float .wa-label {
        display: none;
    }
}

/* =========================================
   PROPER FOOTER STYLES
   ========================================= */
.site-footer {
    padding: 40px 0 25px;
    background: linear-gradient(135deg, #0f172a 0%, #1a0a10 100%);
    color: var(--white);
    border-top: 3px solid var(--primary);
}

.site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.site-footer .footer-logo {
    height: 45px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
}

.site-footer .footer-contact-info {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.site-footer .footer-social {
    display: flex;
    gap: 15px;
    margin: 5px 0;
}

.site-footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

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

.site-footer .footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 600px;
}

@media (max-width: 480px) {
    .site-footer .footer-contact-info {
        font-size: 0.85rem;
    }
}

/* =========================================
   CART ICON & BADGE (Header)
   ========================================= */
.cart-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    color: var(--dark);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
    margin-left: 5px;
}

.cart-icon-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* =========================================
   CART DRAWER (Slide-out Panel)
   ========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    max-width: 95vw;
    height: 100vh;
    background: var(--white);
    z-index: 1250;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a0a10 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.cart-drawer-header h3 span {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-left: 8px;
}

#cart-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-close-btn:hover {
    background: var(--primary);
}

/* Cart Items List */
.cart-items-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}

.cart-empty-msg {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.cart-empty-msg .empty-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.4;
}

.cart-empty-msg p {
    font-size: 1rem;
    margin: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 12px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-ref {
    font-size: 0.8rem;
    color: var(--gray);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--light);
    color: var(--dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qty-value {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.cart-remove-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    color: #ccc;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-btn:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.08);
}

/* Cart Footer */
.cart-footer {
    padding: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    background: var(--light);
}

.cart-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-footer-actions span {
    font-weight: 700;
    color: var(--dark);
}

#cart-clear-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--gray);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

#cart-clear-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Devis Form inside drawer */
.devis-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.devis-form input,
.devis-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.devis-form input:focus,
.devis-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.devis-form textarea {
    height: 60px;
    resize: none;
}

#devis-submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 5px;
}

#devis-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

#devis-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* =========================================
   TOAST NOTIFICATION
   ========================================= */
.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =========================================
   ADD-TO-CART BUTTON STYLES
   ========================================= */
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--secondary);
    background: var(--secondary);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-add-cart-sm {
    padding: 4px 10px;
    font-size: 0.78rem;
    border-radius: 6px;
    border-width: 1.5px;
}

/* Product card dual-action buttons */
.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.product-actions .cta-button {
    flex: 1;
}

.product-actions .btn-add-cart {
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
    }

    .cart-toast {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn-add-cart {
        justify-content: center;
    }
}

/* =========================================
   DEVIS ACTION BUTTONS (Email / WhatsApp)
   ========================================= */
.devis-btn-group {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.devis-action-btn {
    flex: 1;
    padding: 13px 10px;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.devis-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.devis-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.devis-email-action {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.devis-wa-action {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

@media (max-width: 400px) {
    .devis-btn-group {
        flex-direction: column;
    }
}
