﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    color: var(--Tertiary_2, #E9EAEC);
    font-family: "Roboto Mono";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    background: var(--Primario, #2C2D31);
    overflow-x: hidden;
}

    body::-webkit-scrollbar,
    .testimonial-text::-webkit-scrollbar {
        width: 12px;
    }

    body::-webkit-scrollbar-track,
    .testimonial-text::-webkit-scrollbar-track {
        background: transparent;
    }

    body::-webkit-scrollbar-thumb,
    .testimonial-text::-webkit-scrollbar-thumb {
        background: linear-gradient(306deg, #6B90DF 6.74%, #E06C75 55.01%, #E06C75 84.62%);
        border-radius: 6px; /* Bordes redondeados */
    }

        body::-webkit-scrollbar-thumb:hover,
        .testimonial-text::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(306deg, #6B90DF 6.74%, #E06C75 55.01%, #E06C75 84.62%);
        }

/* Capa 1 - Fondo más profundo */
.parallax-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: url("../imagenes/Fondo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* transform: translateZ(-px) scale(3);  */
    /* z-index: -3;  */
    filter: blur(24px);
}
/* Contenedor principal */
.main-container, .footer-container {
    transform-style: preserve-3d;
}

a {
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

h1 {
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    background: linear-gradient(306deg, #6B90DF 6.74%, #E06C75 55.01%, #E06C75 84.62%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h4, h2 {
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "Open Sans";
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -1.2px;
}

h3 {
    color: #fff;
    text-align: left;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}


/* Animaciones para imágenes en scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

    .fade-in.active {
        opacity: 1;
        transform: translateY(0);
    }

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.6s ease-out;
}

    .slide-in-left.active {
        opacity: 1;
        transform: translateX(0);
    }

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease-out;
}

    .slide-in-right.active {
        opacity: 1;
        transform: translateX(0);
    }
/* Animaciones de entrada */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-header {
    animation: fadeInDown 1s ease-out;
}

.main-nav ul li {
    opacity: 0;
    animation: fadeInDown 0.5s ease-out forwards;
}

    /* Retraso escalonado para los items del menú */
    .main-nav ul li:nth-child(1) {
        animation-delay: 0.2s;
    }

    .main-nav ul li:nth-child(2) {
        animation-delay: 0.4s;
    }

    .main-nav ul li:nth-child(3) {
        animation-delay: 0.6s;
    }

    .main-nav ul li:nth-child(4) {
        animation-delay: 0.8s;
    }

.main-header .btn-primary {
    opacity: 0;
    animation: fadeInDown 0.5s ease-out forwards;
    animation-delay: 1s;
}

/* Animaciones para el contenido principal */
.main-container {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}


/* Animación para el footer */
.footer-container {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 2s;
}

/* Animación para el formulario de contacto */
.contact-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.form-group {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

    .form-group:nth-child(1) {
        animation-delay: 0.7s;
    }

    .form-group:nth-child(2) {
        animation-delay: 0.9s;
    }

    .form-group:nth-child(3) {
        animation-delay: 1.1s;
    }

/* Animación para el paginador */
.pagination {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 2.1s;
}
