:root {
        --color-dark: #121212;
        --color-dark-gray: #1e1e1e;
        --color-medium-gray: #2d2d2d;
        --color-light-gray: #3d3d3d;
        --color-neon-green: #2E7D32;
        --color-darker-green: #32d612;
    }

    @media (max-width: 991.98px) {
    .contact-section .ps-0.ps-lg-5 {
        padding: 2rem !important;
        margin-top: 2rem;
    }
    
    .contact-section .me-3 {
        width: 35px;
        height: 35px;
    }
    
    .contact-section .text-success {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .contact-section form,
    .contact-section .ps-lg-5 {
        padding: 1.5rem;
    }
    
    .contact-section .submit-button {
        width: 100%;
    }
    
    .contact-section .social-link {
        width: 35px;
        height: 35px;
    }
}
    
    body {
        font-family: 'Inter', sans-serif;
        background-color: var(--color-dark);
        color: #ffffff;
        overflow-x: hidden;
    }
    
    /* Top Info Bar */
    .top-info-bar {
        background-color: rgba(30, 30, 30, 0.8);
        font-size: 0.85rem;
        backdrop-filter: blur(5px);
        z-index: 1000;
    }
    
    /* Banner Accordion */
    .banner-section {
        height: 80vh;
        min-height: 500px;
        position: relative;
        overflow: hidden;
    }
    
    .banner-panel {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .banner-panel.active {
        opacity: 1;
        z-index: 2;
    }
    
    .banner-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }
    
    .banner-content {
        z-index: 3;
        padding: 2rem;
    }
    
    .banner-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.8s ease 0.3s;
    }
    
    .banner-panel.active .banner-title {
        transform: translateY(0);
        opacity: 1;
    }
    
    .banner-description {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        max-width: 600px;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.8s ease 0.5s;
    }
    
    .banner-panel.active .banner-description {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* CTA Button mejorado */
    .cta-button {
        background-color: transparent;
        border: 2px solid var(--color-neon-green);
        color: white;
        padding: 0.75rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: all 0.3s ease;
        transform: translateY(20px);
        opacity: 0;
        transition-property: background-color, color, transform, opacity;
        transition-duration: 0.3s, 0.3s, 0.8s, 0.8s;
        transition-delay: 0s, 0s, 0.7s, 0.7s;
        box-shadow: 0 0 15px rgba(46, 125, 50, 0.2);
    }
    
    .cta-button::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-neon-green);
        z-index: -1;
        transition: all 0.3s ease;
    }
    
    .cta-button:hover::before {
        top: 0;
    }
    
    .cta-button:hover {
        color: var(--color-dark);
    }
    
    .banner-panel.active .cta-button {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* Navigation Menu */
    .main-nav {
        background-color: var(--color-dark-gray);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .main-nav.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
        background-color: rgba(30, 30, 30, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav-link {
        position: relative;
        margin: 0 0.75rem;
        padding: 0.5rem 0;
        color: #ffffff !important;
        font-weight: 500;
        transition: color 0.3s;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--color-neon-green);
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--color-neon-green) !important;
    }
    
    .navbar-brand {
        font-weight: 700;
        font-size: 1.5rem;
        color: #ffffff !important;
    }
    
    .navbar-brand span {
        color: var(--color-neon-green);
    }
    
    /* Section Separator - Mejorado */
/* Section Separator - Fixed Version */
.section-separator {
    position: relative;
    height: 100px;  /* Increased height for better visibility */
    margin: 30px 0; /* Increased margin for better spacing */
    z-index: 2;     /* Higher z-index to ensure visibility */
    display: flex;  /* Use flexbox for better centering */
    align-items: center;
    justify-content: center;
    overflow: visible;  /* Changed from hidden to visible */
    background-color: transparent;
}

/* Line across the section */
.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(46, 125, 50, 0) 0%, 
        rgba(46, 125, 50, 0.3) 25%, 
        var(--color-neon-green) 50%, 
        rgba(46, 125, 50, 0.3) 75%, 
        rgba(46, 125, 50, 0) 100%);
    z-index: 1;
}

/* Icon in the middle */
.section-separator .separator-icon {
    position: relative; /* Changed from absolute to relative */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neon-green);
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.3);
    transition: all 0.5s ease;
    z-index: 3; /* Increased z-index */
}

/* Pulse animation */
.section-separator .separator-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--color-neon-green);
    animation: pulse 2s infinite;
    z-index: 2;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hover effect */
.section-separator:hover .separator-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 30px rgba(46, 125, 50, 0.5);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-separator {
        height: 80px;
        margin: 20px 0;
    }
    
    .section-separator .separator-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

    /* WhatsApp Float Button */
    .whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #25D366;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        transition: all 0.3s;
    }
    
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }
    
    .whatsapp-tooltip {
        position: absolute;
        top: -40px;
        right: 0;
        background-color: #ffffff;
        color: var(--color-dark);
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.85rem;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
        white-space: nowrap;
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
    }
    
    /* Services Section - Mejorado y Corregido */
    .services-section {
        background-color: var(--color-dark-gray);
        padding: 5rem 0;
    }
    
    .section-title {
        position: relative;
        margin-bottom: 4rem;
        text-align: center;
        font-weight: 700;
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--color-neon-green);
    }
    
    /* Service Card mejorada con efecto de resplandor y ajustes de espaciado */
    .service-card {
        background-color: var(--color-medium-gray);
        border-radius: 10px;
        padding: 2.5rem 2rem;
        height: 100%;
        transition: all 0.3s;
        border-bottom: 3px solid transparent;
        position: relative;
        overflow: hidden;
        z-index: 1;
        margin-bottom: 0; /* Controlado por el sistema de grid */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
    }
    
    .service-card::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, rgba(46, 125, 50, 0.1), transparent);
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .service-card:hover::before {
        height: 100%;
    }
    
    .service-card:hover {
        transform: translateY(-10px);
        border-bottom: 3px solid var(--color-neon-green);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    
    .service-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        color: var(--color-neon-green);
    }
    
    /* Arreglando sistema de grid para Bootstrap 5 */
    .row.g-4 > [class*="col-"] {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    /* About Section */
    .about-section {
        background-color: var(--color-dark);
        padding: 5rem 0;
    }
    
    /* Contenedor para la imagen redonda - TAMAÑO REDUCIDO */
    .about-image-container {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        transition: all 0.3s ease;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
        aspect-ratio: 1/1;
    }
    
    /* Estilo para la imagen redonda - POSICIÓN AJUSTADA SIN REDUCCIÓN DE ESCALA */
    .about-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
        transition: all 0.5s ease;
        display: block;
    }
    
    /* Efecto hover para la imagen - Zoom y rotación sutil */
    .about-image-container:hover .about-image {
        transform: scale(1.05) rotate(1deg);
    }
    
    /* Efecto de borde brillante al pasar el cursor */
    .about-image-container::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, transparent, var(--color-neon-green), transparent);
        z-index: -1;
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .about-image-container:hover {
        box-shadow: 0 8px 25px rgba(57, 255, 20, 0.3);
    }
    
    .about-image-container:hover::before {
        opacity: 1;
    }
    
    /* Efecto de resplandor adicional */
    .about-image-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(57, 255, 20, 0.2) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }
    
    .about-image-container:hover::after {
        opacity: 1;
    }
    
    /* Estilos corregidos para las pestañas con efecto de resplandor más sutil */
    .nav-tabs {
        border-bottom: none;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .nav-tabs .nav-link {
        background-color: var(--color-medium-gray);
        border: none;
        margin: 0 1rem;
        padding: 0.8rem 2rem;
        border-radius: 8px;
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    /* Corrección del pseudo-elemento para un efecto de resplandor más sutil */
    .nav-tabs .nav-link::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, var(--color-neon-green) 0%, rgba(57, 255, 20, 0.15) 40%, transparent 70%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: -1;
        pointer-events: none;
    }
    
    .nav-tabs .nav-link:hover::before,
    .nav-tabs .nav-link.active::before {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
    
    .nav-tabs .nav-link.active {
        background-color: var(--color-dark-gray);
        color: var(--color-neon-green);
        box-shadow: 0 0 8px rgba(57, 255, 20, 0.2);
        transform: translateY(-3px);
    }
    
    .nav-tabs .nav-link:hover {
        color: var(--color-neon-green);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .tab-content {
        background-color: var(--color-medium-gray);
        padding: 2rem;
        border-radius: 10px;
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    /* Technologies Section */
    .technologies-section {
        background-color: var(--color-dark-gray);
        padding: 5rem 0;
    }
    
    .tech-slider-container {
        position: relative;
        max-width: 100%;
        overflow: hidden;
        padding: 20px 0;
    }
    
    .tech-slider {
        display: flex;
        transition: transform 0.5s ease;
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .tech-item {
        flex: 0 0 auto;
        width: 150px;
        text-align: center;
        margin: 0 15px;
    }
    
    .tech-sphere {
        width: 120px;
        height: 120px;
        background-color: var(--color-medium-gray);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        margin: 0 auto;
    }
    
    /* Añadimos efecto de resplandor a las esferas de tecnología */
    .tech-sphere::before {
        content: '';
        position: absolute;
        width: 120%;
        height: 120%;
        background: radial-gradient(circle at center, rgba(46, 125, 50, 0.4) 0%, rgba(57, 255, 20, 0.1) 40%, transparent 70%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 0;
    }
    
    .tech-sphere:hover::before {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    
    .tech-sphere i {
        font-size: 2.5rem;
        color: var(--color-neon-green);
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 1;
    }
    
    .tech-sphere span {
        font-size: 1rem;
        color: #f5f5f5;
        font-weight: 500;
        position: relative;
        z-index: 1;
    }
    
    .tech-sphere:hover {
        transform: scale(1.1);
        background-color: var(--color-light-gray);
        box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
    }
    
    .slider-prev,
    .slider-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(30, 30, 30, 0.8);
        border: none;
        color: #f5f5f5;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-prev:hover,
    .slider-next:hover {
        background-color: var(--color-neon-green);
        color: var(--color-dark);
    }
    
    /* Estado deshabilitado para los botones del slider */
    .slider-prev.disabled,
    .slider-next.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    /* Projects Section con mejor legibilidad */
    .projects-section {
        background-color: var(--color-dark-gray);
        padding: 5rem 0;
    }
    
    .project-item {
        margin-bottom: 30px;
        background-color: var(--color-medium-gray);
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s;
    }
    
    .project-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    
    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }
    
    .project-item:hover .project-image img {
        transform: scale(1.05);
    }
    
    .project-content {
        padding: 2rem;
    }
    
    .project-content p {
        color: #ffffff;
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .project-title {
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--color-neon-green);
        font-size: 1.4rem;
    }
    
    /* Mejoramos el acordeón de proyectos para mayor legibilidad */
    .accordion-button {
        background-color: var(--color-dark-gray) !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        border: none !important;
        box-shadow: none !important;
        padding: 1.2rem 1.5rem;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        margin-bottom: 5px;
    }
    
    .accordion-button::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent);
        transition: all 0.6s ease;
        z-index: 0;
    }
    
    .accordion-button:hover::before {
        left: 100%;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: var(--color-dark) !important;
        color: var(--color-neon-green) !important;
        box-shadow: 0 0 10px rgba(57, 255, 20, 0.2) !important;
    }
    
    .text-neon-green {
        color: var(--color-neon-green) !important;
        font-weight: 600;
    }
    
    .accordion-body {
        background-color: transparent;
        border: none;
        padding: 0;
    }
    
    /* Mejoramos las badges/etiquetas de tecnologías */
    .badge {
        font-size: 0.85rem;
        padding: 0.5em 0.8em;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        display: inline-block;
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .bg-dark.text-success {
        background-color: rgba(46, 125, 50, 0.2) !important;
        color: #4CAF50 !important;
        border: 1px solid rgba(46, 125, 50, 0.5);
    }
    
    /* Contact Section - MODIFICADA Y MEJORADA */
    .contact-section {
        background-color: var(--color-dark-gray);
        padding: 5rem 0;
    }
    
    /* Modificación de las tarjetas de contacto */
    .contact-card {
        background-color: var(--color-medium-gray);
        border-radius: 10px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        height: 100%;
        overflow: hidden;
        position: relative;
        z-index: 1;
        border-bottom: 3px solid transparent;
    }
    
    .contact-card::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, rgba(46, 125, 50, 0.1), transparent);
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .contact-card:hover::before {
        height: 100%;
    }
    
    .contact-card:hover {
        transform: translateY(-5px);
        border-bottom: 3px solid var(--color-neon-green);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        background-color: rgba(46, 125, 50, 0.2);
        color: var(--color-neon-green);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-right: 1rem;
        transition: all 0.3s ease;
    }
    
    .contact-card:hover .contact-icon {
        background-color: var(--color-neon-green);
        color: var(--color-dark);
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(46, 125, 50, 0.4);
    }
    
    /* Formulario de contacto mejorado */
    .form-control {
        background-color: var(--color-dark-gray);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin-bottom: 0; /* Controlado por los márgenes de los contenedores */
        transition: all 0.3s ease;
    }
    
    .form-control::placeholder {
        color: rgba(245, 245, 245, 0.5);
    }
    
    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.2);
        background-color: rgba(61, 61, 61, 0.8);
        border-color: var(--color-neon-green);
        color: #ffffff;
        transform: translateY(-2px);
    }
    
    .form-label {
        color: #f5f5f5;
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    /* Mejora del botón de envío */
    .submit-button {
        background-color: var(--color-neon-green);
        color: var(--color-dark);
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .submit-button::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: all 0.6s ease;
        z-index: 0;
    }
    
    .submit-button:hover::before {
        left: 100%;
    }
    
    .submit-button:hover {
        background-color: var(--color-darker-green);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .submit-button i {
        position: relative;
        z-index: 1;
    }
    
    /* Mejora del checkbox del formulario */
    .form-check-input {
        background-color: var(--color-dark-gray);
        border-color: var(--color-neon-green);
        width: 18px;
        height: 18px;
        margin-top: 0.25rem;
        cursor: pointer;
    }
    
    .form-check-input:checked {
        background-color: var(--color-neon-green);
        border-color: var(--color-neon-green);
    }
    
    .form-check-label {
        font-size: 0.9rem;
        margin-left: 0.25rem;
        cursor: pointer;
    }
    
    /* Mejora del enlace en checkbox */
    .form-check-label a {
        color: var(--color-neon-green);
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .form-check-label a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: -1px;
        left: 0;
        background-color: var(--color-neon-green);
        transition: width 0.3s ease;
    }
    
    .form-check-label a:hover::after {
        width: 100%;
    }
    
    /* Enlaces sociales mejorados */
    .social-links {
        margin-top: 2rem;
    }
    
    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--color-dark-gray);
        color: #ffffff;
        margin-right: 10px;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
    }
    
    .social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--color-neon-green) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.social-link:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.8;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    background-color: var(--color-neon-green);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Animación de entrada para los elementos de contacto */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-icon, .social-link {
    opacity: 0;
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: 0.3s;
}

/* Mejoras específicas para el formulario */
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-card h3 {
    color: var(--color-neon-green);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--color-neon-green);
    bottom: -10px;
    left: 0;
}

.contact-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Enfatizar campos requeridos */
.text-danger {
    color: #ff6b6b !important;
}

/* Footer Styles */
.footer {
    background-color: var(--color-dark-gray);
    padding: 3rem 0 6rem; /* Aumentado padding-bottom a 6rem para evitar choque con el botón flotante de WhatsApp */
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--color-neon-green);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding-left: 0;
}

/* Añadimos efecto a los enlaces del footer */
.footer-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-neon-green);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: var(--color-neon-green);
}

.footer-logo {
    font-weight: 700;
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--color-neon-green);
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-divider {
    background-color: var(--color-light-gray);
    height: 1px;
    margin: 1.5rem 0;
    opacity: 0.2;
}

/* Media Queries */
@media (max-width: 1199.98px) {
    .about-image-container {
        max-width: 350px;
    }
    
    .about-image {
        object-position: right center;
    }
    
    /* Ajustes adicionales para pantallas grandes */
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Ajustes para sección de contacto */
    .contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .about-image-container {
        max-width: 300px;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .contact-card {
        margin-bottom: 1.5rem;
    }
    
    /* Mejoras para tablets */
    .service-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .tech-item {
        width: 130px;
        margin: 0 10px;
    }
    
    /* Ajustes específicos para la sección de contacto */
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .contact-card h5 {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .banner-section {
        height: 60vh;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .about-image-container {
        max-width: 280px;
        margin-bottom: 2.5rem;
    }
    
    .about-image {
        object-position: right center;
    }
    
    .tech-item {
        width: 120px;
        margin: 0 8px;
    }
    
    .tech-sphere {
        width: 100px;
        height: 100px;
    }
    
    .tech-sphere i {
        font-size: 2rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin: 0 0.5rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    /* Ajustes específicos para contacto en móviles */
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .submit-button {
        width: 100%;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Mejoras para móviles */
    .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        margin-bottom: 2.5rem;
        font-size: 1.75rem;
    }
    
    .section-separator {
        height: 60px;
        margin: 10px 10;
    }
    
    .section-separator .separator-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Adaptaciones para acordeón en móviles */
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .banner-title {
        font-size: 1.75rem;
    }
    
    .tech-item {
        width: 100px;
        margin: 0 5px;
    }
    
    .tech-sphere {
        width: 90px;
        height: 90px;
    }
    
    .tech-sphere i {
        font-size: 1.75rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin: 0 0.3rem;
    }
    
    /* Mejoras específicas para pantallas muy pequeñas */
    .service-card {
        padding: 1.25rem 1rem;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    /* Ajustes específicos para contacto en pantallas muy pequeñas */
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-card h5 {
        font-size: 0.95rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    /* Reorganizar elementos en columnas */
    .d-flex {
        flex-wrap: wrap;
    }
}

/* Mejoras de accesibilidad */
:focus {
    outline: 2px solid var(--color-neon-green);
    outline-offset: 2px;
}

.form-control:focus,
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--color-neon-green);
    outline-offset: 2px;
}

/* Mejoras específicas para la sección de servicios y espaciado */
.services-section .row {
    --bs-gutter-x: 2rem; /* Añade más espacio entre columnas */
    --bs-gutter-y: 2rem; /* Añade más espacio entre filas */
}

.service-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Animaciones adicionales */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

/* Diferentes retrasos para animaciones escalonadas */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Mejoras para corregir problemas de espaciado vertical */
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Fix específico para alineaciones en tarjetas de servicios */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .service-icon {
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
}

/* Mejoras adicionales para la sección de contacto */
.contact-section .row.g-4 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1.5rem;
}

.contact-section .mb-3 {
    margin-bottom: 1rem !important;
}

.contact-section .form-control {
    margin-bottom: 0.5rem;
}

/* Efecto hover/focus para botones de formulario */
.form-control:hover {
    border-color: rgba(46, 125, 50, 0.5);
}

/* Mejoras para acordeón de proyectos */
.accordion-item {
    margin-bottom: 1rem;
    background-color: transparent;
    border: none;
}

/* Mejoras para el acordeón de proyectos cuando está abierto */
.accordion-button[aria-expanded="true"] {
    margin-bottom: 0;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Touch effect para dispositivos móviles */
@media (hover: none) and (pointer: coarse) {
    .service-card.touch-hover,
    .contact-card.touch-hover {
        transform: translateY(-5px);
        border-bottom: 3px solid var(--color-neon-green);
    }
}

/* Mejora scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mejoras visuales para la sección de contacto */
#contacto .section-title::after {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(46, 125, 50, 0.3), 
        var(--color-neon-green), 
        rgba(46, 125, 50, 0.3));
}
.logo-3d-container {
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

/* Imagen de los cubos 3D */
.navbar-logo-3d {
    height: 36px; /* Altura fija para el logo */
    width: auto; /* Mantiene la proporción */
    max-width: 120px; /* Limita el ancho máximo */
    object-fit: contain; /* Mantiene la proporción y muestra la imagen completa */
    transition: transform 0.3s ease;
}

/* Efecto hover */
.logo-3d-container:hover .navbar-logo-3d {
    transform: scale(1.05);
}

/* Ajusta la barra de navegación para mantener todo alineado */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .navbar-logo-3d {
        height: 30px; /* Más pequeño en móviles */
        max-width: 100px;
    }
}

/* =============================================
   ESTILOS PARA SERVICIOS SECTORIALES
   ============================================= */

/* Divisor entre sección base y sección sectorial */
.sector-services-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.sector-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(46, 125, 50, 0) 0%,
        rgba(46, 125, 50, 0.6) 100%);
}

.sector-divider-line:last-child {
    background: linear-gradient(90deg,
        rgba(46, 125, 50, 0.6) 0%,
        rgba(46, 125, 50, 0) 100%);
}

.sector-divider-label {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-neon-green);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(46, 125, 50, 0.4);
    border-radius: 20px;
    background: rgba(46, 125, 50, 0.08);
}

/* Badge de sector (esquina superior) */
.sector-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-neon-green);
    background: rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(46, 125, 50, 0.35);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    transition: all 0.3s ease;
}

.sector-badge-urban {
    color: #29b6f6;
    background: rgba(41, 182, 246, 0.1);
    border-color: rgba(41, 182, 246, 0.35);
}

.sector-badge-mining {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.35);
}

/* Icono de sector con colores diferenciados */
.sector-icon {
    color: var(--color-neon-green) !important;
    filter: drop-shadow(0 0 8px rgba(46, 125, 50, 0.4));
}

.sector-icon-urban {
    color: #29b6f6 !important;
    filter: drop-shadow(0 0 8px rgba(41, 182, 246, 0.4));
}

.sector-icon-mining {
    color: #ff9800 !important;
    filter: drop-shadow(0 0 8px rgba(255, 152, 0, 0.4));
}

/* Tags de características previas */
.sector-features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.2rem;
}

.sector-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
    background: rgba(46, 125, 50, 0.12);
    color: #81c784;
    border: 1px solid rgba(46, 125, 50, 0.25);
    transition: all 0.2s ease;
}

.sector-tag:hover {
    background: rgba(46, 125, 50, 0.25);
    color: #a5d6a7;
}

.sector-tag-urban {
    background: rgba(41, 182, 246, 0.1);
    color: #81d4fa;
    border-color: rgba(41, 182, 246, 0.25);
}

.sector-tag-urban:hover {
    background: rgba(41, 182, 246, 0.22);
    color: #b3e5fc;
}

.sector-tag-mining {
    background: rgba(255, 152, 0, 0.1);
    color: #ffcc80;
    border-color: rgba(255, 152, 0, 0.25);
}

.sector-tag-mining:hover {
    background: rgba(255, 152, 0, 0.22);
    color: #ffe0b2;
}

/* Botón expandir */
.sector-expand-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(46, 125, 50, 0.4);
    color: var(--color-neon-green);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.sector-expand-btn:hover {
    background: rgba(46, 125, 50, 0.15);
    border-color: var(--color-neon-green);
    box-shadow: 0 0 12px rgba(46, 125, 50, 0.25);
}

.sector-expand-btn.expanded {
    background: rgba(46, 125, 50, 0.18);
    border-color: var(--color-neon-green);
}

.sector-expand-btn-urban {
    border-color: rgba(41, 182, 246, 0.4);
    color: #29b6f6;
}

.sector-expand-btn-urban:hover,
.sector-expand-btn-urban.expanded {
    background: rgba(41, 182, 246, 0.12);
    border-color: #29b6f6;
    box-shadow: 0 0 12px rgba(41, 182, 246, 0.2);
}

.sector-expand-btn-mining {
    border-color: rgba(255, 152, 0, 0.4);
    color: #ff9800;
}

.sector-expand-btn-mining:hover,
.sector-expand-btn-mining.expanded {
    background: rgba(255, 152, 0, 0.12);
    border-color: #ff9800;
    box-shadow: 0 0 12px rgba(255, 152, 0, 0.2);
}

/* Icono chevron con animación */
.btn-icon {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.sector-expand-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

/* Panel de detalle expandible */
.sector-detail {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.sector-detail.open {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
}

/* Lista de características detalladas */
.sector-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1rem;
}

.sector-detail-list li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.35rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sector-detail-list li:last-child {
    border-bottom: none;
}

.sector-detail-list li i {
    color: var(--color-neon-green);
    font-size: 0.8rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

#registro-urbano-detail .sector-detail-list li i {
    color: #29b6f6;
}

#acreditaciones-detail .sector-detail-list li i {
    color: #ff9800;
}

/* Badges de plataformas */
.sector-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.platform-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background: rgba(46, 125, 50, 0.2);
    color: #a5d6a7;
    border: 1px solid rgba(46, 125, 50, 0.35);
    letter-spacing: 0.5px;
}

.platform-badge-urban {
    background: rgba(41, 182, 246, 0.12);
    color: #81d4fa;
    border-color: rgba(41, 182, 246, 0.35);
}

.platform-badge-mining {
    background: rgba(255, 152, 0, 0.12);
    color: #ffcc80;
    border-color: rgba(255, 152, 0, 0.35);
}

.teniente-badge {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.3), rgba(100, 200, 50, 0.2));
    color: #c8e6c9;
    border-color: rgba(46, 125, 50, 0.5);
    font-weight: 800;
}

.startup-badge {
    background: linear-gradient(135deg, rgba(41, 182, 246, 0.2), rgba(100, 200, 246, 0.15));
    color: #b3e5fc;
    border-color: rgba(41, 182, 246, 0.5);
    font-weight: 800;
}

.mining-badge {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.25), rgba(255, 200, 0, 0.15));
    color: #ffe0b2;
    border-color: rgba(255, 152, 0, 0.5);
    font-weight: 800;
}

/* Hover especial para tarjetas sectoriales */
.sector-card:hover .sector-badge {
    opacity: 1;
}

.sector-card:hover .sector-icon-urban {
    filter: drop-shadow(0 0 14px rgba(41, 182, 246, 0.6));
}

.sector-card:hover .sector-icon-mining {
    filter: drop-shadow(0 0 14px rgba(255, 152, 0, 0.6));
}

/* Borde inferior dinámico por sector */
#card-registro-urbano:hover {
    border-bottom: 3px solid #29b6f6 !important;
}

#card-acreditaciones:hover {
    border-bottom: 3px solid #ff9800 !important;
}

/* Responsive ajustes para sector cards */
@media (max-width: 767.98px) {
    .sector-services-divider {
        margin: 2rem 0 1.5rem;
        gap: 1rem;
    }

    .sector-divider-label {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }

    .sector-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.55rem;
    }

    .sector-features-preview {
        gap: 0.4rem;
    }

    .sector-tag {
        font-size: 0.68rem;
    }
}

/* =============================================
   FIX: Tarjetas sectoriales permiten expansión
   ============================================= */
.sector-card {
    overflow: visible !important;
    height: auto !important;
}

.sector-card::before {
    border-radius: 10px;
}

/* =============================================
   OTEC: Paleta violeta/índigo
   ============================================= */
.sector-badge-otec {
    background: rgba(109, 40, 217, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.sector-icon-otec {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.2), rgba(124, 58, 237, 0.35));
    color: #a78bfa;
    box-shadow: 0 0 30px rgba(109, 40, 217, 0.25);
}

.sector-card-otec {
    border-bottom-color: #7c3aed !important;
}

.sector-card-otec::before {
    background: linear-gradient(to top, rgba(109, 40, 217, 0.12), transparent) !important;
}

.sector-tag-otec {
    background: rgba(109, 40, 217, 0.12);
    color: #c4b5fd;
    border-color: rgba(167, 139, 250, 0.25);
}

.sector-expand-btn-otec {
    background: rgba(109, 40, 217, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.35);
    justify-content: center;
}

.sector-expand-btn-otec:hover,
.sector-expand-btn-otec.expanded {
    background: rgba(109, 40, 217, 0.3);
    color: #ede9fe;
}

.platform-badge-otec {
    background: rgba(109, 40, 217, 0.15);
    color: #c4b5fd;
    border-color: rgba(167, 139, 250, 0.3);
}

.otec-sence-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
}

#otec-detail .sector-detail-list li i {
    color: #a78bfa;
}

.sector-card:hover .sector-icon-otec {
    box-shadow: 0 0 50px rgba(109, 40, 217, 0.5);
}

/* =============================================
   CTAs para tarjetas sectoriales
   ============================================= */
.sector-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sector-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.02em;
}

/* Verde (Control de Obra) */
.sector-cta-primary {
    background: rgba(46, 160, 67, 0.2);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}
.sector-cta-primary:hover {
    background: rgba(46, 160, 67, 0.4);
    color: #86efac;
    transform: translateY(-1px);
}

/* Azul celeste (Registro Urbano) */
.sector-cta-urban {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}
.sector-cta-urban:hover {
    background: rgba(14, 165, 233, 0.35);
    color: #7dd3fc;
    transform: translateY(-1px);
}

/* Naranja (Acreditaciones Minería) */
.sector-cta-mining {
    background: rgba(234, 88, 12, 0.15);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.3);
}
.sector-cta-mining:hover {
    background: rgba(234, 88, 12, 0.35);
    color: #fdba74;
    transform: translateY(-1px);
}

/* Violeta (OTEC) */
.sector-cta-otec {
    background: rgba(109, 40, 217, 0.18);
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.3);
}
.sector-cta-otec:hover {
    background: rgba(109, 40, 217, 0.38);
    color: #c4b5fd;
    transform: translateY(-1px);
}

/* Demo (azul índigo) */
.sector-cta-demo {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border-color: rgba(129, 140, 248, 0.3);
}
.sector-cta-demo:hover {
    background: rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    transform: translateY(-1px);
}

/* WhatsApp verde */
.sector-cta-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
}
.sector-cta-whatsapp:hover {
    background: rgba(37, 211, 102, 0.3);
    color: #4ade80;
    transform: translateY(-1px);
}

/* =============================================
   POS: Paleta Rosa/Rojo
   ============================================= */
.sector-badge-pos {
    background: rgba(225, 29, 72, 0.15);
    color: #fb7185;
    border: 1px solid rgba(251, 113, 133, 0.3);
}

.sector-icon-pos {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(244, 63, 94, 0.35));
    color: #fb7185;
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.25);
}

.sector-card-pos {
    border-bottom-color: #f43f5e !important;
}

.sector-card-pos::before {
    background: linear-gradient(to top, rgba(225, 29, 72, 0.12), transparent) !important;
}

.sector-tag-pos {
    background: rgba(225, 29, 72, 0.12);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.25);
}

.sector-expand-btn-pos {
    background: rgba(225, 29, 72, 0.15);
    color: #fda4af;
    border: 1px solid rgba(251, 113, 133, 0.35);
    justify-content: center;
}

.sector-expand-btn-pos:hover,
.sector-expand-btn-pos.expanded {
    background: rgba(225, 29, 72, 0.3);
    color: #ffe4e6;
}

.platform-badge-pos {
    background: rgba(225, 29, 72, 0.15);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.3);
}

#pos-detail .sector-detail-list li i {
    color: #fb7185;
}

.sector-card:hover .sector-icon-pos {
    box-shadow: 0 0 50px rgba(225, 29, 72, 0.5);
}

/* POS CTA */
.sector-cta-pos {
    background: rgba(225, 29, 72, 0.15);
    color: #fb7185;
    border-color: rgba(251, 113, 133, 0.3);
}
.sector-cta-pos:hover {
    background: rgba(225, 29, 72, 0.35);
    color: #fda4af;
    transform: translateY(-1px);
}

/* =============================================
   Services Horizontal Slider
   ============================================= */
.services-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.services-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 1.5rem; /* Space for scrollbar */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.services-slider::-webkit-scrollbar {
    height: 8px;
}
.services-slider::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5); /* #1f2937 transparent */
    border-radius: 4px;
}
.services-slider::-webkit-scrollbar-thumb {
    background: rgba(55, 65, 81, 0.8); /* #374151 */
    border-radius: 4px;
}
.services-slider::-webkit-scrollbar-thumb:hover {
    background: rgba(75, 85, 99, 1); /* #4b5563 */
}

.services-slider .service-card {
    scroll-snap-align: start;
    flex: 0 0 320px; /* Fixed width for each card so they don't shrink */
    margin-bottom: 0;
    height: auto;
}

/* =============================================
   Módulo Clientes
   ============================================= */
.clients-section {
    padding: 5rem 0;
}

.cliente-card {
    background: rgba(31, 41, 55, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cliente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 125, 50, 0.3);
}

.cliente-logo-container {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cliente-img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.cliente-card:hover .cliente-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.metalsep-logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    font-family: 'Arial Black', sans-serif;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.cliente-card:hover .metalsep-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.metalsep-logo .text-black {
    color: #ffffff; /* Blanco en vez de negro para el dark mode */
}

.metalsep-logo .text-orange {
    color: #f97316;
}

.cliente-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 125, 50, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.cliente-card:hover .cliente-overlay {
    opacity: 1;
}

.view-project-btn {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cliente-card:hover .view-project-btn {
    transform: translateY(0);
}

/* Modal y Carrusel */
.client-description {
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background-color: #1a1a1a;
}

.carousel-img {
    height: 450px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 250px;
    }
}
