
        /* Estilos generales */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }

        header {
            background-image: url('fondo-header.jpg'); /* Ruta de la imagen */
            background-size: cover; /* Hace que la imagen cubra todo el fondo */
            background-position: center; /* Centra la imagen */
            color: #fff; /* Color del texto */
            padding: 20px;
            text-align: center;
        }

        header h1 {
            font-size: 24px;
            margin: 0;
        }

        header p {
            font-size: 16px;
            margin-top: 5px;
        }

        header i {
            margin-right: 10px;
        }

        h1 {
            margin: 0;
        }

        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .img-certificado-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
            border: 5px solid #ddd;
            padding: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            background-color: #fff;
        }

        .img-certificado {
            width: 100%;
            max-width: 720px;
            height: auto;
            border-radius: 8px;
        }

        .img-certificado-texto {
            margin-top: 10px;
            font-size: 14px;
            text-align: center;
            color: #555;
            font-style: italic;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            font-size: 16px;
            margin-bottom: 8px;
            display: inline-block;
        }

        .form-group input, .form-group select {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #f9f9f9;
        }

        .form-group input:focus, .form-group select:focus {
            border-color: #4CAF50;
            outline: none;
        }

        .btn-gerar {
            background-color: #4CAF50;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin-top: 20px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
        }

        .btn-gerar:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .termos {
            display: flex;
            align-items: center;
            font-size: 16px;
            color: #555;
        }

        .termos input[type="checkbox"] {
            margin: 0 8px 0 0;
            width: 18px;
            height: 18px;
            accent-color: #4CAF50;
            cursor: pointer;
        }

        .termos a {
            color: #4CAF50;
            text-decoration: none;
            margin-left: 5px;
        }

        .termos a:hover {
            text-decoration: underline;
        }

        /* Estilos para el modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            padding-top: 60px;
            text-align: center;
        }

        .modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 20px;
            border-radius: 5px;
            width: 80%;
            max-width: 400px;
        }

        .modal button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
        }

        .modal button:hover {
            background-color: #45a049;
        }

        /* Estilos responsivos */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .img-certificado-container {
                padding: 15px;
                border-width: 3px;
            }

            .img-certificado {
                max-width: 100%;
            }

            .form-group input, .form-group select {
                padding: 8px;
                font-size: 14px;
            }

            .btn-gerar {
                padding: 12px 24px;
                font-size: 14px;
            }

            header h1 {
                font-size: 24px;
            }
        }

        @media (max-width: 480px) {
            .header-content h1 {
                font-size: 20px;
            }

            .img-certificado-texto {
                font-size: 12px;
            }

            .form-group label {
                font-size: 14px;
            }

            .form-group input, .form-group select {
                font-size: 14px;
                padding: 8px;
            }
        }
        
        footer {
            background-color: #333; /* Color de fondo del pie de página */
            color: #fff; /* Color del texto */
            padding: 20px;
            text-align: center;
            font-size: 14px;
        }
        footer a {
            color: #4CAF50; /* Color de los enlaces */
            text-decoration: none;
        }
        footer a:hover {
            text-decoration: underline; /* Subraya los enlaces al pasar el mouse */
        }
        
        /* PREGUNTAS FRECUENTES EXPANSIBLES */

 .info-section {
        width: 80%;
        margin: 20px auto;
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .section-title {
        text-align: center;
        font-size: 24px;
        color: #333;
        margin-bottom: 20px;
    }

    .info-list {
        list-style: none;
        padding: 0;
    }

    .info-list li {
        margin-bottom: 10px;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }

    .info-list li i {
        margin-right: 10px;
    }

    .info-list .faq-question {
        display: flex;
        align-items: center;
        font-size: 16px;
    }

    .info-list p {
        display: none;
        margin-top: 5px;
        font-size: 14px;
        padding-left: 24px; /* Indent text to align under the question */
    }
