* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e2f;
    color: #e4e4e6;
    line-height: 150%;
}

h1, h2 {
    line-height: 115%;
}

a {
    color: #b8c1ec;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero header {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 30px 50px;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero header h1 {
    font-weight: normal;
    font-size: 2rem;
}

.hero video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 110vh;
    object-fit: cover; 
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.floating-arrow {
    opacity: 0.4;
    font-size: 2rem;
    color: #fff;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 1.5s infinite;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.floating-arrow.invisible {
    opacity: 0;  
    pointer-events: none; 
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}


header {
    font-family: 'Sour Gummy', sans-serif;
    text-align: center;
    padding: 30px 0;
    background-color: #2c3e50;
    color: #e4e4e6;
    border-radius: 8px 8px 0 0;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    padding: 40px;
    background: #2b2b3b;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.intro h1 {
    font-family: 'Quicksand', sans-serif;
    font-weight: normal;
    text-align: center;
    color: #b8c1ec;
}

.mascote {
    width: 250px;
    border-radius: 50%;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px); 
    }
    100% {
        transform: translateY(0); 
    }
}

.intro-text {
    max-width: 600px;
    color: #e4e4e6;
}

.intro-text h1 {
    margin-top: 0;
    font-size: 32px;
    color: #b8c1ec;
    font-weight: bold;
}

.lead-form {
    background: #2b2b3b;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lead-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #b8c1ec;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #3e4a61;
    border-radius: 4px;
    background-color: #1e1e2f;
    color: #e4e4e6;
    font-size: 16px;
    box-sizing: border-box; 
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: #b8c1ec;
    outline: none;
}

.lead-form button {
    width: 100%;
    padding: 12px;
    background-color: #2c3e50;
    color: #e4e4e6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.lead-form button:hover {
    background-color: #1e2a3b;
}

.course-info {
    font-size: 14px;
    color: #f39c12;
    margin-bottom: 15px;
    text-align: center;
}

.etec-description {
    font-size: 16px;
    color: #e4e4e6;
    margin-bottom: 20px;
    line-height: 150%;
}

.gallery,
.testimonials {
    margin: 40px 0;
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.gallery-item,
.testimonial {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
    border-radius: 8px;
}

.gallery-item {
    width: 300px;
    background-color: #2b2b3b;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.gallery-item p {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: bold;
    color: #b8c1ec;
}

.testimonial video {
    width: 100%;
    height: auto;
    max-width: 400px; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.testimonial-info {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #e4e4e6;
}

.contact-info {
    text-align: center;
    padding: 20px;
    background-color: #2b2b3b;
    border-top: 2px solid #3e4a61;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    border-radius: 0;
}

.contact-info p {
    margin: 10px 0;
    color: #e4e4e6;
    font-size: 14px;
}

.whatsapp-button a,
.school-link a {
    margin: 10px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.whatsapp-button a {
    background-color: #25D366;
}

.school-link a {
    background-color: #2c3e50;
}

.whatsapp-button a:hover {
    background-color: #128C7E;
}

.school-link a:hover {
    background-color: #1e2a3b;
}

/* Responsivo para Tablets */
@media (max-width: 768px) {
    .intro {
        flex-direction: column;
        padding: 20px;
    }

    .intro-text h1 {
        font-size: 28px;
    }

    .lead-form {
        padding: 20px;
        max-width: 100%;
    }

    .gallery-item {
        width: 250px;
    }

    .testimonial video {
        max-width: 100%;
    }
}

/* Responsivo para Celulares */
@media (max-width: 480px) {
    .intro {
        padding: 15px;
    }

    .intro h1 {
        font-size: 24px;
    }

    .intro-text h1 {
        font-size: 24px;
    }

    .mascote {
        width: 100px;
    }

    .gallery-item {
        width: 70%;
    }

    .testimonial {
        width: 70%;
    }

    .testimonial video {
        width: 100%; 
        height: 250px; 
        object-fit: cover;
    }

    .lead-form {
        padding: 15px;
    }

    .lead-form button {
        font-size: 16px;
    }

    .contact-info {
        padding: 15px;
    }

    .whatsapp-button a,
    .school-link a {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 750px) and (min-width: 450px) {
    .intro {
        flex-direction: column;
        padding: 20px;
    }

    .intro-text h1 {
        font-size: 28px;
    }

    .lead-form {
        padding: 20px;
        max-width: 100%;
    }

    .gallery-item {
        width: 250px;
    }

    .testimonial video {
        max-width: 100%;
    }

    .testimonial {
        width: 100%;
    }

    .testimonial video {
        width: 100%; 
        height: auto; 
    }

    .lead-form button {
        font-size: 16px;
    }

    .contact-info {
        padding: 15px;
    }
}

.invisible {
    opacity: 0;
    pointer-events: none; 
}