/* 
   ================================================================
   VARIABLES GLOBALES DE COLOR
   ================================================================
   Aquí puedes cambiar los colores principales del sitio web.
   --primary-green: Color principal (botones, iconos, subtítulos)
   --dark-green: Color al pasar el mouse sobre elementos verdes
   --footer-bg: Color de fondo del pie de página
*/
:root {
    --primary-green: #00a651;
    --dark-green: #008f45;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --footer-bg: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center { text-align: center; }
.section-subtitle {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}
h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-outline {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

.btn-transparent {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-transparent:hover {
    background: rgba(255,255,255,0.2);
}

.btn-white {
    background-color: white;
    color: var(--primary-green);
    border: 2px solid white;
}
.btn-white:hover {
    background-color: #f0fdf4;
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white; /* Default white on hero */
    transition: color 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.header.scrolled .logo {
    color: var(--text-dark);
    text-shadow: none;
}

.logo i, .logo span { 
    color: var(--primary-green); 
}

.nav-links {
    display: flex;
    gap: 30px;
}

.mobile-contact-link {
    display: none;
}

.nav-links a {
    font-weight: 700;
    color: rgba(255, 255, 255, 1); /* Full white */
    transition: color 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.header.scrolled .nav-links a {
    color: var(--text-gray);
    text-shadow: none;
}

.nav-links a:hover { color: var(--primary-green); }

/* Contact Button in Nav */
.header .btn-outline {
    border-color: white;
    color: white;
}
.header .btn-outline:hover {
    background: white;
    color: var(--primary-green);
}

.header.scrolled .btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
}
.header.scrolled .btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s;
    position: relative;
    z-index: 1001;
}

.header.scrolled .hamburger {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-image: url('imagenes/Hero_image.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* Dark overlay reduced opacity */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.logo-hero {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* Added shadow for contrast */
}

.logo-hero i {
    color: var(--primary-green);
}

.hero-logo-text span {
    color: var(--primary-green);
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 35px; /* Increased margin for better separation */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.stat-item h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}
.stat-item p { margin-bottom: 0; font-size: 0.9rem; }

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 95%; /* Stretch this section to reduce side emptiness */
}

.about-desc {
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.value-prop-box {
    background-color: #f0fdf4;
    padding: 20px;
    border-left: 4px solid var(--primary-green);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.value-prop-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-prop-box p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.check-list i { color: var(--primary-green); font-size: 1.2rem; }

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.productive-chain-container {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.chain-title {
    font-size: 1.8rem; /* Increased from 1.5rem */
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.productive-chain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 20px; /* Increased gap */
}

.chain-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.step-image {
    width: 135px; /* Increased from 110px */
    height: 135px; /* Increased from 110px */
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.chain-step:hover .step-image {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    border-color: var(--primary-green);
}

.step-label {
    font-size: 1.15rem; /* Increased from 1rem */
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    max-width: 140px;
}

.floating-stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px; /* Moved to right to avoid blocking chain steps */
    left: auto;
    background: #1f2937;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 10;
}

.float-stat h4 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}
.float-stat p { font-size: 0.8rem; opacity: 0.9; }

/* Services Section */
.services {
    padding: 80px 0;
    background: #f9fafb; /* Light gray bg like screenshot */
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    flex: 1 1 300px;
    max-width: 400px;
}

@media (min-width: 1024px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px; /* Tighter gap for single row */
        justify-content: center;
    }
    .service-card {
        min-width: 0;
        max-width: none;
        padding: 20px 10px; /* Compact padding */
        flex: none;
    }
    .service-card h3 {
        font-size: 1rem; /* Smaller title to fit */
        margin-bottom: 8px;
    }
    .service-card p {
        font-size: 0.85rem; /* Smaller text */
        line-height: 1.4;
    }
    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.service-card:hover h3 {
    color: white;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #dcfce7;
    color: var(--primary-green);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

/* Custom Projects Section */
.custom-projects {
    padding: 80px 0;
    background: white;
}

.projects-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.projects-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-slide {
    min-width: 100%;
    padding: 0 10px; /* Side padding */
    display: flex;
    justify-content: center;
}

.project-image-placeholder {
    width: 100%;
    max-width: 900px; /* Limit width for better aspect ratio */
    height: 550px; /* Fixed height */
    background-color: #f8f9fa;
    background-size: cover; /* Fill the box uniformly */
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Nice shadow */
}

.project-label {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    width: 100%;
    padding: 40px 30px;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.project-label h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-green);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.project-label p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.project-btn {
    background: white;
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    z-index: 10;
}

.project-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-green);
}

/* Products Section */
    .products {
        padding: 80px 0;
        background: white;
    }

.faq-section {
    padding: 80px 0;
    background: #f9fafb;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.faq-list {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-image-placeholder {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.faq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-image-placeholder {
        display: none;
    }
}

.faq-item {
    background: var(--primary-green);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(0, 166, 81, 0.3);
    transform: translateY(-2px);
}

.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 20px;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}
.faq-header i {
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
}
.faq-item.open .faq-header i {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 25px 0 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
    overflow: hidden;
}
.faq-item.open .faq-answer {
    display: block;
    padding-top: 0;
    padding-bottom: 25px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 400px; /* Increased from 200px */
    position: relative;
    overflow: hidden; /* Ensure slides don't overflow */
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: var(--primary-green);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 25px;
}

.product-title-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.prod-icon {
    width: 40px;
    height: 40px;
    background: #dcfce7;
    color: var(--primary-green);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.product-title-row h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 5px;
}

.dims {
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
}

.prod-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    min-height: 80px; /* align buttons */
}

.specs-table {
    margin-top: 25px;
    margin-bottom: 15px;
}

.specs-table h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-gray);
}

.spec-row:last-child { border-bottom: none; }

.view-specs {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary-green);
    text-decoration: underline;
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.contact-info-box {
    background-color: var(--primary-green);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 3px;
    opacity: 0.8;
}

.contact-item .label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-hours {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
    margin-top: 20px;
}

.contact-hours .label {
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-form-box {
    background: #f9fafb;
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Detailed Footer */
.footer-dark {
    background-color: var(--footer-bg);
    color: #9ca3af;
    padding: 70px 0 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1f2937;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.logo-footer {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}
.logo-footer i, .logo-footer span { color: var(--primary-green); }

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    color: white;
    padding: 5px; /* Visual fix */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact-list li {
    margin-bottom: 15px;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

/* MODAL STYLES */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 0;
    border: none;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: slideIn 0.3s;
    overflow: hidden; /* Ensures corners are clipped */
}

.close-modal {
    color: #6b7280;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 100;
    cursor: pointer;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.close-modal:hover {
    color: var(--text-dark);
    background-color: #f3f4f6;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-carousel-container {
    position: relative;
    width: 100%;
    height: 400px; /* Increased height for better view */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.modal-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.modal-carousel-track .carousel-slide {
    background-size: contain; /* Shows full image */
    background-repeat: no-repeat;
    background-position: center;
    background-color: white; /* Clean background */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.modal-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.modal-specs-container h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.specs-table-full {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.specs-table-full th, .specs-table-full td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.specs-table-full th {
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
}

.specs-table-full td {
    color: var(--text-gray);
}

.modal-actions {
    text-align: right;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .container { max-width: 95%; }
}

@media (max-width: 900px) {
    .hero { height: auto; min-height: 100vh; padding: 120px 0 60px; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .logo-hero { justify-content: center; }
    
    .faq-grid { grid-template-columns: 1fr; }
    .faq-image-placeholder { display: none; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info-box { flex-direction: row; flex-wrap: wrap; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --h1-size: 2.2rem;
        --h2-size: 1.8rem;
    }

    h2 { font-size: var(--h2-size); }
    
    .hero h1 { font-size: var(--h1-size); margin-bottom: 25px; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .hero-buttons .btn { width: 100%; }
    
    .hero-stats { flex-direction: column; gap: 30px; align-items: center; border-top: 1px solid rgba(255,255,255,0.15); }
    .stat-item { text-align: center; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { margin-top: 20px; }
    .floating-stat-card { 
        position: relative; 
        bottom: auto; 
        right: auto; 
        transform: none; 
        width: 100%; 
        margin-top: -20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
    
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%; /* Better looking than 100% width on some phones, gives context */
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--text-dark); font-size: 1.3rem; margin: 10px 0; }
    .mobile-contact-link { display: block; }
    
    .header .btn-outline { display: none; } /* Hide desktop button */
    
    /* Ensure Product Cards fit well */
    .products-grid { grid-template-columns: 1fr; } /* Force 1 column on mobile */
    .product-image { height: 280px; } /* Reduce height */
    
    .productive-chain-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .step-image { width: 100px; height: 100px; }
    
    /* Services stack nicely */
    .service-card { flex: 1 1 100%; max-width: 100%; }
    
    /* Project Carousel */
    .project-image-placeholder { height: 350px; }
    .project-label { padding: 20px; }
    .project-label h3 { font-size: 1.4rem; }
    
    .form-row { grid-template-columns: 1fr; }
    .contact-form-box { padding: 30px 20px; }
    .contact-info-box { padding: 30px 20px; flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    .modal-content { width: 95%; margin: 20px auto; max-height: 90vh; overflow-y: auto; }
    .modal-carousel-container { height: 250px; }
    .modal-body { padding: 20px; }
    .modal-title { font-size: 1.5rem; }
    
    .specs-table-full { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
    .productive-chain-grid { grid-template-columns: 1fr; } /* 1 column for very small screens */
    .hero h1 { font-size: 1.8rem; }
    .project-image-placeholder { height: 250px; }
}
