.conectar {
    padding: 30px;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 90%;
}

.index-contact-section h1 {
    font-size: 2em;
    color: #405D72;
    margin-bottom: 15px;
}

.conectar p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}


/*Contacta con nosotros*/
/* Estilo para la sección de contacto */
.index-contact-section {
    background-color: #f4f4f4;
    padding: 50px 22px;
    margin-bottom: 50px;
    width: 100%;
    margin-top: 140px;
}

.index-contact-container {
    width: 90%;
    margin: 0 auto;
}

.index-contact-title {
    text-align: left;
}

.index-contact-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #405D72;
    margin-bottom: 22px;
}

.index-contact-section p {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Disposición de las columnas principales */
.index-contact-content {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
}

/* Columna de texto */
.index-text-column {
    flex: 1;
    text-align: left;
    width: 50%;
}

.index-text-column img{
    max-height: 300px; /* Aumenta el tamaño del logo */
    width: auto;
}


/* Sección central para nombre, email y teléfono */
.center-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
}

/* Sección derecha para mensaje y botón */
.right-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
}

/* Estilo del formulario */
.index-form-text {
    width: 100%;
    text-align: left;
}

/* Estilo para los campos */
.index-form-text input, .index-form-text textarea {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    outline: none;
    background-color: transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.index-form-text input:focus, .index-form-text textarea:focus {
    border-bottom: 2px solid #6E8CA0;
    box-shadow: 0 1px 0px 0px #6E8CA0;
    background-color: #f9f9f9;
}

.index-form-text textarea {
    resize: vertical;
    min-height: 122px;
}

.index-form-text textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Estilo para el botón */
.index-button-contact {
    display: flex;
    justify-content: flex-end;
    padding-top: 22px;
    max-width: 1220px;
    text-align: left;
}

.index-button-contact button {
    background-color: #405D72;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: auto;
    cursor: pointer;
}

.index-button-contact button:hover {
    background-color: #6E8CA0;
    transform: translateY(-3px);
}

.index-button-contact button:active {
    background-color: #3e5d72;
    transform: translateY(0);
}

.index-form-checkbox {
    display: flex;
    flex-direction: row; /* Cambio de flex-direction a row para alinearlo correctamente */
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    margin-top: 22px; /* Añadido margen para separar del mensaje */
}

.index-form-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.index-form-checkbox label {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.index-form-checkbox a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.index-form-checkbox a:hover {
    color: #6E8CA0;
}



/* Media Queries para Responsividad */

/* Pantallas medianas (tablets) */
@media (max-width: 768px) {
    .index-contact-content {
        flex-direction: column;
        align-items: stretch;
    }

    .center-section, .right-section, .index-text-column {
        flex: 1;
        width: 100%;
        text-align: left;
    }

    .right-section {
        align-items: stretch;
    }

    .index-button-contact {
        justify-content: center;
    }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    .index-contact-section h2 {
        font-size: 24px;
    }

    .index-contact-section p {
        font-size: 18px;
    }

    .index-form-text input, .index-form-text textarea {
        font-size: 14px;
    }

    .index-button-contact button {
        padding: 10px 22px;
        font-size: 14px;
    }
}

/* Estilos para el banner de cookies */
.cookie-banner {
    position: fixed; /* Fija el banner en la pantalla */
    bottom: 0; /* Lo coloca en la parte inferior */
    left: 0;
    right: 0;
    background: #333; /* Color de fondo */
    color: #fff; /* Color del texto */
    padding: 15px;
    text-align: center;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    font-size: 14px;
}

.cookie-banner button {
    margin: 5px;
    padding: 8px 15px;
    border: none;
    background: #4CAF50; /* Color del botón Aceptar */
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.cookie-banner button.reject {
    background: #f44336; /* Color del botón Rechazar */
}