* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    height: auto; /* Permite que el contenido se expanda */
    overflow-x: hidden; /* Opcional: Oculta el desplazamiento horizontal si no se necesita */
}

.hero-coti {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #1f3de0, #5f8bfc); /* Degradado de azul eléctrico */
    color: white;
    border-radius: 8px; /* Bordes redondeados */
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Animación de entrada para el título */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título dentro de .hero-coti */
.hero-coti h1 {
    color: var(--secondary-color);
    font-size: 10vw;
    margin: 0;
    position: absolute;
    bottom: 0%;
    left: 0%;
    min-height: 350px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 5;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Sombras para dar profundidad */

    /* Añadir animación */
    animation: slideUp 1s ease-out forwards;
}


/* Estilo para .coti-parrafo */
.coti-parrafo {
    font-size: 18px;
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    animation: slideUp 1s ease-out forwards;
}

.coti-parrafo p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    width: 90%;
    padding: 20px;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1200px;
    margin:  2rem  auto;
    padding: 1rem;
    margin-bottom: 500px;
}

.container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 40px;
    text-shadow: var(--text-oscuro,  0.5);
}

.container form {
    display: grid;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto;
    width: 50%;
    height: 600px;
}

/* Inputs y textareas */
input
{
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 0.5rem;
}

select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    color: #2a2c2e;;
    font-size: 16px;
    margin-bottom: 0.5rem;
}
textarea{
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 0.5rem;
    height:200px;
}

/* Placeholders */
input::placeholder,
textarea::placeholder {
    color: #2a2c2e;
    opacity: 1;
}


.logo-coti {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* grid-column: span 2; Esto asegura que ocupe todo el ancho del formulario */
}

.logo-coti img {
    max-width: 150px;
    margin: 0;
}

.logo-coti button {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .container form {
        width: 100%;
    }

    .container{
        width: 100%;
        height: 100%;
    }
    
    .logo-coti {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-coti {
        min-height: 400px;
    }
    
    .hero-coti h1 {
        bottom: 30%;
        font-size: 40px;
        text-shadow: var(--text-oscuro,  0.5);
        left: 10px;
        font-size: 70px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0.5rem;
    }
    
    .hero-coti {
        margin: 0.5rem;
        min-height: 300px;
    }
    
    input,
    select,
    textarea {
        padding: 0.6rem;
    }
    
    .logo-coti button {
        width: 100%;
    }
}