/* Estilos del encabezado */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Tamaño del logo */
.logo {
    height: 50px;
    width: auto;
}

/* Sección Hero con imagen de fondo */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Capa de oscurecimiento para resaltar el texto */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.hero-content {
    color: white;
    padding: 20px;
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

/* Secciones */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Servicios */
.service-box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Sección Contacto */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Estilos del Formulario de Contacto */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    background: #FF6600;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.contact-form button:hover {
    background: #cc5500;
    transform: scale(1.05);
}

/* Mensajes de error y éxito */
.alert {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 18px;
}

/* Pie de página */
footer {
    padding: 20px 0;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    transform: scale(1);
    transform-origin: center;
    width: 100% !important;
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.9);
    }
}

