:root {
    --primary: #1C1C1C;
    --secondary: #03A9F4;
    --accent: #673AB7;
    --light: #F5F5F5;
    --dark: #121212;
    --success: #00C853;
    --gradient-1: linear-gradient(45deg, var(--primary), var(--secondary));
    --gradient-2: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-3: linear-gradient(225deg, var(--accent), var(--primary));
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.container-main {
    position: relative;
    z-index: 10;
}

.logo-container {
    animation: fadeInDown 1.2s ease-out;
}

.description {
    animation: fadeIn 1.5s ease-out;
    max-width: 800px;
}

.custom-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(3, 169, 244, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    width: 100%;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.custom-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.custom-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(3, 169, 244, 0.3);
}

.custom-button:hover::before {
    left: 100%;
}

.card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(163, 143, 255, 0.3);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(163, 143, 255, 0.3);
}

.social-icon {
    width: 60px;
    height: 60px;
    margin: 0 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transition: all 0.3s ease;
    animation: pulseAnimation 2s infinite;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

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

.social-icon:hover::before {
    left: 100%;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeIn 1s ease-out;
}

.tech-icon {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.tech-icon:nth-child(1) { top: 10%; left: 5%; animation: floatAnimation 6s infinite; }
.tech-icon:nth-child(2) { top: 30%; right: 8%; animation: floatAnimation 8s infinite; }
.tech-icon:nth-child(3) { bottom: 15%; left: 10%; animation: floatAnimation 7s infinite; }
.tech-icon:nth-child(4) { bottom: 30%; right: 15%; animation: floatAnimation 9s infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 169, 244, 0.2) 0%, rgba(3, 169, 244, 0) 70%);
    animation: glowPulse 4s infinite alternate;
    z-index: -1;
}

.bg-gradient-to-b {
    background: linear-gradient(to bottom, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.7));
}

.phone-cta {
    background: linear-gradient(135deg, var(--success) 0%, var(--secondary) 100%);
    animation: pulseGlow 2s infinite;
}

.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 0;
    background: rgba(18, 10, 143, 0.2);
    border-top: 1px solid rgba(0, 194, 203, 0.3);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.custom-footer {
    background-color: rgba(28, 28, 28, 0.85);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 50;
}

.custom-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos del carrusel de testimonios */
.testimonial-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 1.5rem;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(163, 143, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-nav:hover {
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(163, 143, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Estilos para el Formulario */
.container-form-liked {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 15; /* Mayor prioridad que las partículas */
}

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

.contact-form-2 {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(18, 10, 143, 0.2);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    opacity: 1; /* Cambiado de 0 a 1 para asegurar visibilidad */
    transform: translateY(0); /* Eliminado el transform para asegurar visibilidad */
}

.contact-form-2:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 194, 203, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.15);
}

.form-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9; /* Justo debajo del formulario */
    pointer-events: none; /* Evita que el mouse toque las partículas */
}

.submit-btn-2 {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn-2:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 194, 203, 0.3);
}