/* General estilos para los servicios */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2 {
    text-align: center;
    font-weight: bold;
    color: #007cc3;
}

h1 {
    font-size: 36px;
    margin: 20px 0;
}

h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

/* Botón de llamada a la acción (CTA) */
.cta-btn {
    display: inline-block;
    background-color: #007cc3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px auto;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #005fa3;
}

/* Botón de retorno u otros enlaces funcionales */
.return-btn {
    display: block;
    width: auto;
    max-width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: #005a94;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

.return-btn:hover {
    background-color: #003d66;
    transform: scale(1.05);
}


/* Estilo del encabezado visual impactante */
.servicio-header {
    background-color: #005fa3;
    color: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.servicio-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.servicio-header p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Explicación del servicio */
.intro-servicio, .uso-servicio, .visual-servicio, .cta-servicio {
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Visual disruptiva */
.visual-servicio img {
    display: block;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 8px;
}

.intro-servicio, .uso-servicio, .visual-servicio, .cta-servicio {
     transform: translateY(30px);
     opacity: 0;
 }

 .reveal-visible {
     transform: translateY(0);
     opacity: 1;
     transition: transform 0.3s ease, opacity 0.3s ease;
 }
/* Estilo general para bloques clicables */
.tipo-certificado a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    font-size: 16px;
    color: #333;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tipo-certificado a:hover {
    transform: translateY(-5px);
    background-color: #eef7ff;
    border-color: #007cc3;
    color: #007cc3;
}

.tipo-certificado i {
    font-size: 40px;
    color: #007cc3;
    margin-bottom: 10px;
}

.tipo-certificado h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.tipo-certificado p {
    text-align: center;
    margin: 0;
    font-size: 16px;
    color: #666;
}
/* Botón de retorno u otros enlaces funcionales */
.return-btn {
    display: block;
    width: auto;
    max-width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: #005a94;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

.return-btn:hover {
    background-color: #003d66;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}