/* Variables CSS */
:root {
    --primary-color: #007bff; /* Azul vibrante de Alostream */
    --secondary-color: #ff4d4d; /* Rojo/Naranja para contrastes */
    --dark-bg: #1a1a2e; /* Fondo oscuro principal */
    --light-text: #e0e0e0; /* Texto claro */
    --neon-blue: #00f0ff;
    --neon-purple: #8a2be2;
    --card-bg: rgba(255, 255, 255, 0.08); /* Fondo de tarjeta semitransparente */
}

/* Reset Básico y Fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
    overflow-x: hidden; /* Evitar scroll horizontal */
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--neon-blue);
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--neon-purple);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.btn-primary:hover {
    background-color: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-blue);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 20px var(--secondary-color);
    transform: translateY(-3px);
}

/* Nuevo estilo para el botón de servicios (azul neón) */
.btn-neon-blue {
    background-color: transparent; /* Fondo transparente */
    color: var(--neon-blue); /* Texto en azul neón */
    border: 2px solid var(--neon-blue); /* Borde en azul neón */
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5); /* Sombra de neón azul */
}

.btn-neon-blue:hover {
    background-color: var(--neon-blue); /* Fondo azul neón al hacer hover */
    color: var(--dark-bg); /* Texto oscuro al hacer hover */
    box-shadow: 0 0 25px var(--neon-blue), 0 0 35px var(--neon-purple); /* Sombra más intensa */
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo semi-transparente para la navbar */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--dark-bg); /* Cambia a oscuro al hacer scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .logo img {
    height: 90px; /* Ajusta el tamaño del logo */
    filter: drop-shadow(0 0 5px var(--neon-blue));
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 600;
    position: relative;
}

/* Variables CSS */
:root {
    --primary-color: #007bff; /* Azul vibrante de Alostream */
    --secondary-color: #ff4d4d; /* Rojo/Naranja para contrastes */
    --dark-bg: #1a1a2e; /* Fondo oscuro principal */
    --light-text: #e0e0e0; /* Texto claro */
    --neon-blue: #00f0ff;
    --neon-purple: #8a2be2;
    --card-bg: rgba(255, 255, 255, 0.08); /* Fondo de tarjeta semitransparente */
}

/* Reset Básico y Fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
    overflow-x: hidden; /* Evitar scroll horizontal */
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--neon-blue);
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--neon-purple);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.btn-primary:hover {
    background-color: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-blue);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 20px var(--secondary-color);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo semi-transparente para la navbar */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--dark-bg); /* Cambia a oscuro al hacer scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .logo img {
    height: 80px; /* Ajusta el tamaño del logo */
    filter: drop-shadow(0 0 5px var(--neon-blue));
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 600;
    position: relative;
}

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

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

/* Nuevos estilos para los enlaces de contacto en el navbar */
.nav-links .contact-info-item {
    margin-left: 20px; /* Menor margen que otros links para agrupar */
    background: rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    padding: 5px 12px;
    transition: background 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.nav-links .contact-info-item:hover {
    background: rgba(0, 123, 255, 0.4);
    box-shadow: 0 0 10px var(--neon-blue);
}

.nav-links .contact-info-item .contact-link {
    color: var(--light-text); /* Asegura que el texto sea claro */
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-links .contact-info-item .contact-link i {
    margin-right: 8px;
    color: var(--neon-blue);
    font-size: 1.1em;
}

.nav-links .contact-info-item .contact-link::after {
    display: none; /* Eliminar la línea inferior de los links de contacto */
}


.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--light-text);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg') no-repeat center center/cover; /* Reemplaza con una imagen de fondo apropiada */
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    opacity: 0.2;
    z-index: 1;
    animation: neonPulse 5s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-purple);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

/* Services Section */
.services-section {
    padding: 80px 5%;
    background-color: var(--dark-bg);
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--neon-blue);
}

.service-card p {
    font-size: 1rem;
    color: var(--light-text);
}

/* Nuevo estilo para el CTA de servicios */
.services-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-cta p {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}


/* Clients Section */
.clients-section {
    padding: 80px 5%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/clients-bg.png') no-repeat center center/cover; /* Reemplaza con una imagen de fondo */
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.client-logo img {
    max-width: 120px;
    filter: grayscale(100%) brightness(150%); /* Logos en escala de grises para uniformidad */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.05);
}

.cta-portfolio {
    margin-top: 50px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    margin: 50px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.cta-portfolio p {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}

/* Contact Section */
.contact-section {
    padding: 80px 5%;
    background-color: var(--dark-bg);
}

.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Para que la imagen de contacto no se desborde */
}

.contact-form {
    flex: 1;
    padding: 50px;
    max-width: 600px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

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

.contact-image {
    flex: 1;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/clients-bg.png') no-repeat center center/cover; /* Imagen de fondo para la derecha del formulario */
    border-radius: 0 15px 15px 0;
    min-height: 500px; /* Asegura que tenga una altura visible */
}


/* Footer */
.footer {
    background-color: #0d0d1a;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 90px;
    filter: drop-shadow(0 0 8px var(--neon-blue));
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin-top: 15px; /* Para pantallas pequeñas */
}

.footer-links a {
    color: var(--light-text);
    font-weight: 500;
}

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

.footer-social {
    margin-top: 15px; /* Para pantallas pequeñas */
}

.footer-social a {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--neon-blue);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animaciones */
@keyframes neonPulse {
    0% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.02); }
    100% { opacity: 0.2; transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases para animaciones de Intersection Observer */
.faded-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.faded-out.appear {
    opacity: 1;
    transform: translateY(0);
}


/* Media Queries para Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .contact-form-container {
        flex-direction: column;
    }
    .contact-image {
        border-radius: 0 0 15px 15px; /* Ajusta el borde para mobile */
        min-height: 300px;
    }
    .contact-form {
        padding: 40px;
    }

    /* Ajustes para el menú en tablets */
    .nav-links li {
        margin-left: 20px;
    }
    .nav-links .contact-info-item {
        padding: 5px 10px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-bg);
        position: absolute;
        top: 60px; /* Ajusta si tu navbar tiene otra altura */
        left: 0;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .nav-links li { /* Restablece el margen para elementos de lista en móvil */
        margin: 10px 0;
        text-align: center;
    }

    /* Ajustes específicos para los items de contacto en el menú móvil */
    .nav-links .contact-info-item {
        background: none; /* Sin fondo en el menú móvil */
        border: none; /* Sin borde en el menú móvil */
        padding: 0;
        margin: 10px 0; /* Margen para separación */
    }
    .nav-links .contact-info-item .contact-link {
        justify-content: center; /* Centra el icono y el texto */
    }


    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-cta p { /* Ajuste para el texto del CTA en mobile */
        font-size: 1.3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .navbar {
        padding: 0.8rem 3%;
    }
    .navbar .logo img {
        height: 35px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .service-card h3 {
        font-size: 1.5rem;
    }
    .cta-portfolio p {
        font-size: 1.2rem;
    }
    .services-cta p { /* Ajuste para el texto del CTA en mobile más pequeño */
        font-size: 1.1rem;
    }
}



.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--light-text);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg') no-repeat center center/cover; /* Reemplaza con una imagen de fondo apropiada */
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    opacity: 0.2;
    z-index: 1;
    animation: neonPulse 5s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-purple);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

/* Services Section */
.services-section {
    padding: 80px 5%;
    background-color: var(--dark-bg);
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--neon-blue);
}

.service-card p {
    font-size: 1rem;
    color: var(--light-text);
}

/* Clients Section */
.clients-section {
    padding: 80px 5%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/clients-bg.png') no-repeat center center/cover; /* Reemplaza con una imagen de fondo */
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.client-logo img {
    max-width: 200px;
    filter: grayscale(100%) brightness(150%); /* Logos en escala de grises para uniformidad */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.05);
}

.cta-portfolio {
    margin-top: 50px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    margin: 50px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.cta-portfolio p {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}

/* Contact Section */
.contact-section {
    padding: 80px 5%;
    background-color: var(--dark-bg);
}

.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Para que la imagen de contacto no se desborde */
}

.contact-form {
    flex: 1;
    padding: 50px;
    max-width: 600px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

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

.contact-image {
    flex: 1;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/contact-form-bg.jpg') no-repeat center center/cover; /* Imagen de fondo para la derecha del formulario */
    border-radius: 0 15px 15px 0;
    min-height: 500px; /* Asegura que tenga una altura visible */
}


/* Footer */
.footer {
    background-color: #0d0d1a;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(0 0 8px var(--neon-blue));
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin-top: 15px; /* Para pantallas pequeñas */
}

.footer-links a {
    color: var(--light-text);
    font-weight: 500;
}

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

.footer-social {
    margin-top: 15px; /* Para pantallas pequeñas */
}

.footer-social a {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--neon-blue);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animaciones */
@keyframes neonPulse {
    0% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.02); }
    100% { opacity: 0.2; transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries para Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .contact-form-container {
        flex-direction: column;
    }
    .contact-image {
        border-radius: 0 0 15px 15px; /* Ajusta el borde para mobile */
        min-height: 300px;
    }
    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-bg);
        position: absolute;
        top: 60px; /* Ajusta si tu navbar tiene otra altura */
        left: 0;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .navbar {
        padding: 0.8rem 3%;
    }
    .navbar .logo img {
        height: 35px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .service-card h3 {
        font-size: 1.5rem;
    }
    .cta-portfolio p {
        font-size: 1.2rem;
    }
}
/* Nuevo estilo para el CTA de servicios */
.services-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-cta p {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}

@media (max-width: 768px) {
    .services-cta p {
        font-size: 1.3rem;
    }
}

/* Sección Portafolio */
.portfolio-section {
    padding: 80px 5%;
    background-color: #0f0f1c; /* Un tono ligeramente diferente para variar */
    text-align: center;
}

.portfolio-intro {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.6);
    border-color: var(--neon-blue);
}

.video-thumbnail,
.photo-thumbnail {
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 para videos */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button,
.view-button {
    background: rgba(0, 123, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
}

.play-button:hover,
.view-button:hover {
    background: var(--neon-blue);
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--neon-blue);
}

.play-button i,
.view-button i {
    margin-left: 5px; /* Ajuste para el icono de play */
}

.portfolio-item h3 {
    font-size: 1.6rem;
    margin: 25px 20px 10px 20px;
    color: var(--neon-blue);
}

.portfolio-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Para que el párrafo ocupe el espacio restante */
}

.portfolio-item .view-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.portfolio-item .view-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.portfolio-item .view-link i {
    margin-left: 8px;
    font-size: 0.9em;
}

.portfolio-cta {
    text-align: center;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-cta p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

/* Media Queries para la sección de Portafolio */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .portfolio-item h3 {
        font-size: 1.4rem;
    }
    .portfolio-intro {
        font-size: 1.1rem;
    }
    .portfolio-cta p {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    }
    .play-button, .view-button {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .portfolio-item h3 {
        font-size: 1.3rem;
    }
    .portfolio-intro {
        font-size: 1rem;
    }
    .portfolio-cta p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 60px 3%;
    }
    .portfolio-cta p {
        font-size: 1.2rem;
    }
}