/* Custom CSS para web */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8faff; /* Light background for modern feel */
    color: #333;
}
/* Custom scroll-to-top button style */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 100px; /* Place at the bottom */
    right: 35px; /* Place at the right */
    z-index: 99; /* High z-index to be on top */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #0056b3; /* Darker blue */
    color: white; /* White text */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 50%; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #004499; /* Darker on hover */
    transform: translateY(-3px);
}


/* Ocultar el badge flotante */
.grecaptcha-badge {
    visibility: hidden;
}
/* Custom modal styles for form submission */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* --- Ajuste para Encabezado Fijo en Mobile --- */
/* Esta regla asegura que el contenido no quede oculto bajo el header al navegar a una ancla */
section[id] {
    scroll-margin-top: 90px; /* Este valor compensa la altura de tu header fijo + un pequeño colchón */
}

/* Opcional: Para un desplazamiento más suave al hacer clic en los enlaces del menú */
html {
    scroll-behavior: smooth;
}

