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

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* ==========================================================================
   Animated Loader
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Content Visibility
   ========================================================================== */
.content.hidden {
    display: none;
}

/* ==========================================================================
   Navbar Styles
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px clamp(20px, 5%, 40px);
    background-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled {
    background-color: #111111;
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none; /* Remove underline from logo link */
    color: inherit; /* Inherit color from h1 */
}

.logo h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo a:hover h1 {
    transform: scale(1.05);
    color: #e0e0e0; /* Slightly lighter color on hover for visual feedback */
    cursor: pointer; /* Indicate clickability */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    margin-left: auto;
    flex-wrap: nowrap;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.nav-links li a:hover {
    background-color: #ffffff;
    color: #000000;
}

.menu-toggle {
    display: none; /* Hidden by default on desktop */
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide links by default on mobile */
        flex-direction: column; /* Stack vertically when shown */
        position: absolute;
        top: 100%; /* Position below the navbar */
        left: 0;
        width: 100%;
        background-color: #000000; /* Match navbar background */
        padding: 10px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 99;
    }

    .nav-links.active {
        display: flex; /* Show when active (toggled) */
    }

    .nav-links li {
        text-align: center; /* Center links on mobile */
    }

    .nav-links li a {
        padding: 15px; /* Larger padding for touch */
        display: block; /* Full-width links */
    }

    .menu-toggle {
        display: block; /* Show toggle on mobile */
        margin-right: 20px; /* Add padding to keep toggle within frame */
    }

    .navbar-content {
        justify-content: space-between; /* Logo left, toggle right */
        padding: 0 15px; /* Ensure content stays within bounds */
    }

    .logo h1 {
        font-size: 24px; /* Slightly smaller logo on mobile */
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height for a prominent hero */
    background-image: url('../assets/impresoras/Ricoh.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: mini-zoom 20s ease-in-out infinite; /* Subtle zoom animation */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-content h3 {
    font-size: 40px;
    font-weight: 700;
    color: rgb(255, 255, 255); /* White text, assuming this was a typo (originally red) */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Reduce height for mobile to avoid excessive scrolling */
        background-position: center; /* Ensure image stays centered */
        margin-top: 60px;
    }

    .hero-content {
        padding: 15px; /* Slightly reduce padding for smaller screens */
    }

    .hero-content h1 {
        font-size: 32px; /* Smaller font size for mobile */
        letter-spacing: 1.5px;
    }

    .hero-content h2 {
        font-size: 24px; /* Smaller font size for mobile */
        letter-spacing: 1px;
    }

    .hero-content h3 {
        font-size: 28px; /* Smaller font size for mobile */
        letter-spacing: 1px;
    }
}

/* Existing styles.css content (only the service-grid section is shown with updates) */

/* ==========================================================================
   Service Grid
   ========================================================================== */
.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap; /* Keep cards in a single row */
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.service-card {
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin: 10px;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0; /* Rectangular edges */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Remove underline for anchor tags */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.service-card:hover {
    transform: scale(1.05); /* Slight scale-up on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    cursor: pointer; /* Indicate clickability */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
    border-radius: 0; /* Rectangular edges for overlay */
}

.service-card h2 {
    position: relative;
    z-index: 1;
    font-weight: 700; /* Bold for impact */
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-card p {
    position: relative;
    z-index: 1;
    font-weight: 600; /* Bold for formality */
    font-size: 16px;
}

.venta {
    background-image: url('../assets/impresoras/venta.jpeg');
}

.alquiler {
    background-image: url('../assets/impresoras/alquiler.jpg');
}

.soporte {
    background-image: url('../assets/impresoras/soporte.jpg');
}

.insumos {
    background-image: url('../assets/impresoras/insumo.webp');
}

.abonos {
    background-image: url('../assets/impresoras/abonos.webp'); /* Replace with actual image path */
}

.revisiones {
    background-image: url('../assets/impresoras/revisiones.webp'); /* Replace with actual image path */
}

.reparacion-equipos {
    background-image: url('../assets/impresoras/soporte.jpg'); /* Replace with actual image path */
}

.reparacion-pc {
    background-image: url('../assets/impresoras/reparacion-pc.jpeg'); /* Replace with actual image path */
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .services-grid {
        flex-wrap: wrap; /* Stack cards vertically on mobile */
        justify-content: center; /* Center cards */
        padding: 20px 10px; /* Reduce padding for mobile */
    }

    .service-card {
        width: 100%; /* Full width for mobile */
        max-width: 320px; /* Cap width to prevent overly large cards */
        height: 150px; /* Reduce height for mobile */
        margin: 10px 0; /* Adjust margin for vertical stacking */
    }

    .service-card h2 {
        font-size: 20px; /* Smaller font size for mobile */
    }

    .service-card p {
        font-size: 14px; /* Smaller font size for mobile */
    }
}

/* Corrected styles.css with complete PDF modal styles and mobile adjustments */

/* ==========================================================================
   Product Showcase Section
   ========================================================================== */
.product-showcase {
    padding: 60px 20px;
    background-color: #e7e7e7;
    text-align: left;
}

.product-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 20px;
}

.product-header h2 {
    flex: 0 0 30%;
    text-align: center;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.product-header h3 {
    flex: 0 0 65%;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 0 20px; /* Espaciado pequeño a la izquierda para evitar superposición */
}

.product-header p {
    flex: 0 0 65%;
    margin: 5px 0 0 calc(30% + 20px); /* Alinea con h3: ancho de la columna izquierda + espaciado de h3, con pequeño espaciado vertical */
    font-size: 16px;
    color: #333;
}

.product-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.categories-menu {
    width: 30%;
    position: relative; /* Para posicionar las líneas del árbol */
}

.categories-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category {
    margin-bottom: 10px;
    position: relative; /* Para las líneas de conexión */
}

.category-title {
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.category-title:hover {
    background-color: #f0f0f0;
}

.toggle {
    font-size: 20px;
    font-weight: bold;
}

.models-list {
    list-style: none;
    padding: 0 0 0 20px; /* Indentación para jerarquía */
    margin: 0;
    position: relative; /* Para líneas de árbol */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease; /* Animación gradual */
}

.models-list.open {
    max-height: 500px; /* Ajusta este valor según el contenido máximo esperado */
}

.models-list li {
    margin: 5px 0;
    position: relative; /* Para líneas verticales y horizontales */
    padding-left: 20px; /* Espacio para la línea horizontal */
}

.models-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 10px;
    height: 1px;
    background-color: #ccc; /* Línea horizontal conectando al padre */
}

.models-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background-color: #ccc; /* Línea vertical para el árbol */
}

.models-list li:last-child::after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: 0;
    left: -20px;
    width: 1px;
    background-color: #f0f0f0; /* Ocultar la línea vertical después del último hijo */
}

.models-list a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.models-list a:hover {
    color: #0056b3;
}

.product-display {
    width: 65%;
}

.pdf-viewer {
    height: 800px;
    border: 1px solid #ddd;
    background-color: #ffffff;
}

#pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Placeholder in Product Display
   ========================================================================== */
.placeholder {
    height: 800px; /* Mismo alto que el PDF viewer para consistencia */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #ddd;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #555;
    position: relative; /* Para el pseudo-elemento de fondo */
    overflow: hidden;
}

.placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/impresoras/Ricoh.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Transparencia para que no opaque el contenido, ajusta según necesidad */
    z-index: 0;
}

.placeholder > * {
    position: relative;
    z-index: 1; /* Contenido por encima del fondo */
}

.placeholder img {
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    box-shadow: none; /* Remove shadow to eliminate the 'box' effect */
    border: none; /* Ensure no border is applied */
    outline: none; /* Prevent any outline from appearing */
}

.placeholder h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.placeholder p {
    font-size: 16px;
    max-width: 80%;
    line-height: 1.6;
}

/* Only the relevant sections (PDF modal and mobile styles) are shown with updates */

/* ==========================================================================
   PDF Modal for Mobile
   ========================================================================== */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000; /* Ensure modal is above all content */
    justify-content: center;
    align-items: center;
}

.pdf-modal-content {
    position: relative;
    width: 95%; /* Increased width for better visibility */
    height: 85%; /* Increased height to accommodate more content */
    background-color: #ffffff;
    border-radius: 8px;
    overflow: auto; /* Allow scrolling if content overflows */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.pdf-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1001;
}

.pdf-modal-close:hover {
    color: #ff0000;
}

#pdf-modal-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    overflow: auto; /* Ensure iframe content is scrollable */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* ==========================================================================
   Mobile Styles (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .product-showcase {
        padding: 30px 10px;
    }

    .product-header {
        flex-direction: column;
        align-items: center;
    }

    .product-header h2 {
        flex: 0 0 100%;
        font-size: 20px;
        padding: 8px 15px;
    }

    .product-header h3 {
        flex: 0 0 100%;
        font-size: 22px;
        margin: 10px 0;
        text-align: center;
    }

    .product-header p {
        flex: 0 0 100%;
        font-size: 14px;
        margin: 5px 0;
        text-align: center;
    }

    .product-container {
        flex-direction: column;
        gap: 15px;
    }

    .categories-menu {
        width: 100%;
    }

    .category-title {
        font-size: 16px;
        padding: 8px;
    }

    .toggle {
        font-size: 18px;
    }

    .models-list {
        padding-left: 15px;
    }

    .models-list a {
        font-size: 14px;
    }

    .product-display {
        width: 100%;
    }

    .pdf-viewer {
        display: none; /* Hide default PDF viewer on mobile */
    }

    .pdf-modal {
        display: none; /* Hidden by default, shown via JS */
        z-index: 2000; /* Ensure modal is above all content */
    }

    .placeholder {
        height: 500px;
        padding: 15px 10px;
        font-size: 16px;
    }

    .placeholder img {
        max-width: 250px;
        margin-top: 20px;
        margin-bottom: 15px;
        box-shadow: none;
        border: none;
        outline: none;
    }

    .placeholder h3 {
        font-size: 18px;
    }

    .placeholder p {
        font-size: 14px;
        max-width: 90%;
        line-height: 1.4;
    }
}
/* ==========================================================================
   Hero Alquiler Section
   ========================================================================== */
.hero-alquiler {
    padding-top: 70px; /* Added to push content below the fixed navbar */
}

.hero-alquiler .hero-image {
    background-image: url('../assets/impresoras/Ricoh.jpg');
    height: 20vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-alquiler .hero-image h1 {
    color: rgb(255, 255, 255);
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero-alquiler {
        padding-top: 60px; /* Slightly reduce top padding for mobile navbar */
    }

    .hero-alquiler .hero-image {
        height: 30vh; /* Increase height for better visibility on mobile */
        background-position: center; /* Ensure image stays centered */
    }

    .hero-alquiler .hero-image h1 {
        font-size: 28px; /* Smaller font size for mobile */
        letter-spacing: 1px; /* Reduce letter spacing */
        padding: 0 10px; /* Add horizontal padding to prevent text overflow */
    }
}

/* ==========================================================================
   Why Choose Section
   ========================================================================== */
.why-choose .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.why-choose .text-section {
    width: 70%;
    padding-right: 20px;
}

.why-choose .text-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #333;
}

.why-choose .text-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.why-choose .text-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.why-choose .text-section ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.why-choose .text-section ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.why-choose .image-section {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-choose .image-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: none; /* Remove shadow to eliminate the 'box' effect */
    border: none; /* Ensure no border is applied */
    outline: none; /* Prevent any outline from appearing */
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .why-choose .container {
        flex-direction: column; /* Stack text and image sections vertically */
        padding: 15px 3%; /* Reduced padding for tight margins (3% left and right) */
        align-items: center; /* Center content */
        max-width: 100%; /* Ensure container uses full width */
    }

    .why-choose .text-section {
        width: 100%; /* Full width on mobile */
        padding: 0; /* Remove extra padding */
        margin: 0 auto; /* Center the text section */
    }

    .why-choose .text-section h2 {
        font-size: 22px; /* Smaller font size */
        margin-bottom: 10px; /* Reduced margin for tight spacing */
        line-height: 1.4; /* Improve readability */
        text-align: center; /* Keep heading centered for visual hierarchy */
    }

    .why-choose .text-section p {
        font-size: 14px; /* Smaller font size */
        margin: 0 auto 10px; /* Reduced margin for tight spacing */
        line-height: 1.6; /* Enhance readability */
        max-width: 94%; /* Slightly wider to reduce margin spacing */
        text-align: justify; /* Justify text for paragraphs */
    }

    .why-choose .text-section ul {
        margin: 0 auto 10px; /* Reduced margin for tight spacing */
        padding: 0; /* Ensure no extra padding */
        list-style: none; /* Remove default list styling */
        max-width: 94%; /* Slightly wider to reduce margin spacing */
    }

    .why-choose .text-section ul li {
        font-size: 14px; /* Smaller font size */
        margin-bottom: 8px; /* Reduced spacing for tight layout */
        position: relative; /* For checkmark positioning */
        padding-left: 20px; /* Space for checkmark */
        text-align: justify; /* Justify text for list items */
    }

    .why-choose .text-section ul li::before {
        content: '\2713';
        position: absolute;
        left: 0; /* Align checkmark to the left of text */
        color: #007bff;
        font-weight: bold;
    }

    .why-choose .image-section {
        width: 100%; /* Full width on mobile */
        gap: 15px; /* Reduce gap between images */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center images */
    }

    .why-choose .image-section img {
        width: 80%; /* Occupy 80% of available width */
        max-width: 80%; /* Ensure image doesn’t exceed 80% */
        margin: 0 auto; /* Center the image with equal margins */
        height: auto;
        display: block; /* Treat as block for better centering */
        object-fit: contain;
        box-shadow: none; /* Remove shadow to eliminate the 'box' effect */
        border: none; /* Ensure no border is applied */
        outline: none; /* Prevent any outline from appearing */
    }
}

/* ==========================================================================
   Equipment Types Section
   ========================================================================== */
.equipment-types {
    padding: 60px 20px;
    background-color: #f7f7f7;
    text-align: center; /* Centers the title and subtitle */
}

.equipment-types h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #333;
}

.equipment-types p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.types-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.type-item {
    text-align: center;
    flex: 1 1 20%;
    margin: 0 10px 20px;
    min-width: 200px;
}

.type-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    box-shadow: none; /* Remove shadow to eliminate the 'box' effect */
    border: none; /* Ensure no border is applied */
    outline: none; /* Prevent any outline from appearing */
}

.type-item p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .equipment-types {
        padding: 30px 3%; /* Reduced padding for tighter layout */
    }

    .equipment-types h2 {
        font-size: 24px; /* Smaller font size for mobile */
        margin-bottom: 8px; /* Reduced margin */
        line-height: 1.4; /* Improve readability */
    }

    .equipment-types p {
        font-size: 14px; /* Smaller font size */
        margin-bottom: 20px; /* Reduced margin */
        max-width: 94%; /* Limit width for balanced margins */
        margin-left: auto;
        margin-right: auto;
    }

    .types-grid {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        max-width: 100%; /* Use full width */
        margin: 0; /* Remove auto margins to avoid extra spacing */
    }

    .type-item {
        flex: 0 0 auto; /* Remove flex grow/shrink */
        width: 100%; /* Full width for each item */
        max-width: 300px; /* Limit max width for consistency */
        margin: 0 auto 15px; /* Center with reduced bottom margin */
        min-width: 0; /* Remove min-width constraint */
    }

    .type-item img {
        width: 80%; /* Occupy 80% of available width */
        max-width: 80%; /* Ensure image doesn’t exceed 80% */
        min-width: 150px; /* Prevent images from becoming too small */
        margin: 0 auto 8px; /* Center with reduced bottom margin */
        height: auto;
        display: block; /* Ensure centering */
        box-shadow: none; /* Remove shadow to eliminate the 'box' effect */
        border: none; /* Ensure no border is applied */
        outline: none; /* Prevent any outline from appearing */
    }

    .type-item p {
        font-size: 14px; /* Smaller font size */
        margin: 0 auto; /* Center text */
        max-width: 80%; /* Match image width for alignment */
    }
}

/* ==========================================================================
   Hero Soporte Section
   ========================================================================== */
.hero-soporte {
    padding-top: 80px; /* Space for fixed navbar */
}

.hero-soporte .hero-image {
    background-image: url('../assets/impresoras/soporte.jpg');
    height: 15vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-soporte .hero-image h1 {
    color: white;
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* Consumibles Info Section Styles */
.consumibles-info {
    padding: 60px 0;
    background-color: #f9f9f9; /* Light background for contrast */
}

.consumibles-info .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.consumibles-info .text-section {
    width: 60%;
    padding-right: 20px;
    text-align: left;
}

.consumibles-info .text-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.consumibles-info .text-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.consumibles-info .text-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.consumibles-info .text-section ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.consumibles-info .text-section ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.consumibles-info .image-section {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consumibles-info .category-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.consumibles-info .category-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.consumibles-info .category-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    color: #333;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .consumibles-info .container {
        flex-direction: column;
        padding: 0 15px;
    }

    .consumibles-info .text-section {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .consumibles-info .image-section {
        width: 100%;
        flex-direction: column; /* Keep stacked for mobile, or change to row if preferred */
        gap: 15px;
    }

    .hero-image h1 {
        font-size: 36px; /* Smaller font for mobile */
    }

    .consumibles-info .text-section h2 {
        font-size: 28px;
    }

    .consumibles-info .text-section p,
    .consumibles-info .text-section ul li {
        font-size: 14px;
        text-align: justify; /* Justify text for better readability on mobile */
    }

    .consumibles-info .category-item h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-alquiler {
        height: 40vh; /* Shorter hero on very small screens */
    }

    .hero-image h1 {
        font-size: 28px;
    }
}


/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 60px 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.contact .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: stretch; /* Ensure boxes stretch to equal height */
    gap: 20px; /* Add spacing between boxes */
}

.contact .left-section {
    width: 60%;
    background-color: #000000; /* Black box */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.contact .left-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff; /* White text for contrast on black background */
}

.contact .left-section p {
    font-size: 18px;
    color: #d1d1d1; /* Light gray for readability on black background */
    line-height: 1.6;
}

.contact .right-section {
    width: 40%;
    background-color: #007bff; /* Blue box */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center items vertically */
    align-items: flex-start; /* Align items to the left for consistency */
}

.contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: auto; /* Allow natural width for items */
}

.contact .contact-item img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.contact .contact-item a,
.contact .contact-item p {
    font-size: 18px;
    color: #ffffff; /* White text for contrast on blue background */
    text-decoration: none;
    margin: 0;
}

.contact .contact-item a:hover {
    text-decoration: underline;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .contact {
        padding: 30px 10px; /* Reduce padding for mobile */
    }

    .contact .container {
        flex-direction: column; /* Stack sections vertically */
        gap: 15px; /* Reduce gap between sections */
        align-items: center; /* Center boxes horizontally */
    }

    .contact .left-section {
        max-width: 80%; /* 80% of screen width */
        padding: 30px; /* Reduced padding */
        text-align: center; /* Center text */
    }

    .contact .left-section h2 {
        font-size: 24px; /* Smaller font size */
    }

    .contact .left-section p {
        font-size: 16px; /* Smaller font size */
    }

    .contact .right-section {
        max-width: 90%; /* 80% of screen width */
        padding: 70px; /* Reduced padding */
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center text */
    }

    .contact .contact-item {
        margin-bottom: 15px; /* Reduce margin */
        justify-content: center; /* Center contact items */
    }

    .contact .contact-item img {
        width: 24px; /* Smaller icon size */
        height: 24px;
        margin-right: 10px; /* Reduce margin */
    }

    .contact .contact-item a,
    .contact .contact-item p {
        font-size: 12px; /* Smaller font size */
    }
}

/* Existing styles (unchanged, only showing relevant section for brevity) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* ... Other existing styles ... */

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background: #1a1a1a; /* Darker background for modern look */
    color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
    border-top: 4px solid #007bff; /* Accent color */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff; /* Accent color on hover */
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-contact .contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.footer-contact a,
.footer-contact p {
    color: #d1d1d1;
    text-decoration: none;
    margin: 0;
}

.footer-contact a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 13px;
    color: #999;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}
