* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Contenedor principal */
.contact-container {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto 50px auto;
}

.contact-title {
    font-size: 50px;
    margin-top: 100px;
    padding-bottom: 50px; /* En lugar de margin-bottom */
    text-align: center;
}

.contact-title .highlight {
    color: #03d7fc; /* Color personalizado para el highlight */
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 40px; /* Reducir tamaño en móviles */
        margin-bottom: 30px; /* Ajustar margen */
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 35px;
        margin-bottom: 20px;
    }
}

.see-more {
    color: #287b8a; /* Color personalizado para el enlace */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.see-more:hover {
    text-decoration: underline;
}

/* Contenedor de la sección de contacto */
.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    height: 75vh;
}

/* Sección de texto a la izquierda */
.contact-left {
    width: 58%;
    text-align: left;
}

/* Estilos del texto */
.contact-text p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.contact-text ul {
    padding-left: 20px;
}

.contact-text ul li {
    font-size: 20px;
    margin-bottom: 5px;
}

@media (max-width: 1500px) {
    .contact-text p, 
    .contact-text ul li {
        font-size: 13px; /* Más grande en pantallas grandes */
    }
  }

/* 🔹 Formulario */
.contact-form {
    width: 42%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 🔹 Estilos del formulario */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

/* 🔹 Campos de entrada */
.input-container input,
.input-container textarea {
    width: 100%;
    padding: 12px 40px 12px 12px; /* Espacio para el icono */
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

/* 🔹 Iconos dentro del campo */
.input-container .icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #777;
}

/* 🔹 Ajustes del textarea */
.input-container textarea {
    resize: none;
    height: 100px;
}

/* 🔹 Efecto al enfocar los inputs */
.input-container input:focus,
.input-container textarea:focus {
    border-color: #007BFF;
}


/* 🔹 Agregar el * en rojo */
.input-container label span {
    color: red;
    font-weight: bold;
}

/* 🔹 Estilos de los inputs y textarea */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 14px;
    background: #222;
    color: white;
    transition: all 0.3s;
    outline: none;
}

/* 🔹 Evitar que el textarea crezca hacia abajo */
.contact-form textarea {
    resize: none;
    height: 100px;
}

/* 🔹 Animación cuando el input tiene texto */
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 13px;
    color: white;
}

/* 🔹 Scrollbar personalizada para el textarea */
.contact-form textarea::-webkit-scrollbar {
    width: 8px;
}

.contact-form textarea::-webkit-scrollbar-track {
    background: #222;
    border-radius: 5px;
}

.contact-form textarea::-webkit-scrollbar-thumb {
    background: rgb(105, 105, 105);
    border-radius: 5px;
}

.contact-form textarea::-webkit-scrollbar-thumb:hover {
    background: rgb(105, 105, 105);
}

/* 🔹 Ajuste del botón de enviar */
.contact-form button {
    width: 100%;
    background: #007BFF;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #0056b3;
}

/* Responsive */
@media screen and (max-width: 945px) {
    .contact-container {
        width: 95%;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .contact-left,
    .contact-form {
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }
}

/* Animación de los labels cuando el campo está en foco */
.input-container {
    position: relative;
    margin-bottom: 15px;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s ease-in-out;
}

.input-container label {
    position: absolute;
    left: 10px;
    top: 10px; /* Cambié el valor aquí */
    font-size: 14px;
    color: #999;
    transition: 0.3s ease-in-out;
}

/* Cuando el input o textarea tiene contenido o está en foco */
.input-container input:focus + label,
.input-container textarea:focus + label,
.input-container input:not(:placeholder-shown) + label,
.input-container textarea:not(:placeholder-shown) + label {
    top: -14px; /* Ajusté el valor a -13px para que se mueva 3px más arriba */
    font-size: 12px;
}   

/* 🔹 Notificación */
.notification {
    position: fixed;
    top: 60px; /* Ajustamos la posición para que aparezca centrado en la parte superior */
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 500px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 🔹 Notificación de éxito */
.notification.success {
    background-color: #4CAF50; /* Verde */
    color: white;
}

/* 🔹 Notificación de error */
.notification.error {
    background-color: #E74C3C; /* Rojo */
    color: white;
}

/* 🔹 Notificación para el límite de correos */
.notification.limit-exceeded {
    background-color: #f39c12; /* Naranja */
    color: white;
}

/* 🔹 Animación de entrada */
.notification.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
    animation: slideIn 0.5s ease-out;
}

/* 🔹 Animación de salida */
.notification.hide {
    animation: slideOut 0.4s ease-out forwards;
}

.disabled {
    background-color: #000000 !important; /* Fondo gris claro para indicar que está deshabilitado */
    pointer-events: none; /* Deshabilita la interacción */
    opacity: 0.6; /* Reduce la opacidad para dar un efecto de "oscurecimiento" */
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

/* Alinear el reCAPTCHA y el botón */
.recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Espaciado entre reCAPTCHA y el botón */
    margin-top: 15px;
}

/* Ajusta el reCAPTCHA */
.g-recaptcha {
    margin-bottom: 5px; /* Espacio extra debajo del reCAPTCHA */
}