/* VARIABLES */
:root {
    --primary-color: #FF8C00; /* Naranja intenso */
    --terciario-color: #333333; /* Gris oscuro */
    --secondary-color: #000000; /* Negro oscuro */
    --background-color: #1E1E1E; /* Fondo negro oscuro */
    --text-color: #FFFFFF; /* Texto blanco */
    --white: #FFFFFF;
}

/* RESETEO BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* VIDEO DE FONDO */
.video-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Centra verticalmente el contenido */
}

.video-header-about {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Centra verticalmente el contenido */
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#background-video-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Capa semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-about {
  
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 5px;
    overflow-y: auto;
    max-height: 100%;
}

.logo {
    max-width: 300px; /* Tamaño más grande del logo */
    margin-bottom: 30px;
    animation: fadeIn 2s;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInDown 2s;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--white);
    animation: fadeInUp 2s;
}

.btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn2 {
    background: var(--terciario-color);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Botón animado al pasar el mouse */
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 0;
}

.btn:hover::after {
    left: 0;
}

.btn:hover {
    background: #FFA733;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.5);
}

.btn2:hover {
    background: #FFA733;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.5);
}

/* SOBRE NOSOTROS */
.about {
    padding: 50px 20px;
    background: var(--background-color);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.about-item {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.about-item h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--white);
}

/* LLAMADO A LA ACCIÓN (CTA) */
.cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta .btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    font-size: 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta .btn:hover {
    background: #FFD1A1;
    color: var(--secondary-color);
}

/* FOOTER */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.footer h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer p {
    font-size: 1rem;
    margin: 5px 0;
}

.footer .social-links a {
    margin: 0 10px;
    display: inline-block;
}

.footer .social-links img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.footer .social-links a:hover img {
    transform: scale(1.2);
}

/* ANIMACIONES */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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);
    }
}

body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            font-family: 'Roboto', sans-serif;
        }

        .video-header, .video-header video {
            position: relative;
            width: 100%;
            height: 100vh;
            object-fit: cover;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
        }

        .hero-content {
            max-width: 800px;
            padding: 20px;
        }

        .title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 10px 20px;
            background-color: #ff5722;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1rem;
        }

        .cta {
            padding: 50px 20px;
            text-align: center;
            background: #ff5722;
            color: white;
        }

        .footer {
            padding: 20px;
            text-align: center;
            background: #333;
            color: white;
        }

        @media (max-width: 768px) {
            .title {
                font-size: 2rem;
            }

            .subtitle {
                font-size: 1.2rem;
            }

            .about-item {
                flex: 1 1 calc(100% - 40px);
                max-width: calc(100% - 40px);
            }
        }

.contact-form {
        padding: 50px 20px;
        text-align: center;
        background: #f4f4f4;
        color: #333;
    }

    .contact-form h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    /* Hacer los inputs y textarea más largos y visualmente atractivos */
    .form-group input,
    .form-group textarea {
        width: 100%;
        max-width: 700px; /* Asegura un tamaño óptimo */
        padding: 15px;
        border: 2px solid #ccc;
        border-radius: 10px;
        font-size: 1.1rem;
        box-sizing: border-box;
        background: #fff;
    }

    /* Cambiar el color del botón de enviar */
    .contact-form .btn {
        padding: 15px 30px;
        background-color: #007bff; /* Azul fuerte para mejor contraste */
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 1.2rem;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease-in-out, transform 0.2s;
        font-weight: bold;
    }

    .contact-form .btn:hover {
        background-color: #0056b3; /* Un tono más oscuro para el hover */
        transform: scale(1.05);
    }

    /* Asegurar que el reCAPTCHA esté alineado */
    .form-group .g-recaptcha {
        display: flex;
        justify-content: center;
    }