/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fb;
}

/* Certificate Section */
.certificate-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f7fb;
    padding: 20px;
}

.certificate-container {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    width: 700px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 5px solid #007bff; /* Add border to the certificate */
}

.certificate-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

.certificate-title {
    font-size: 2.5rem;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.certificate-text {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.student-name {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}

.course-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}

.certificate-date {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.signature-section {
    margin-top: 30px;
    font-size: 1.2rem;
    text-align: center;
}

.signature-name {
    font-weight: bold;
    color: #333;
}

.signature-img {
    width: 150px;
    margin-top: 10px;
}

.certificate-footer {
    margin-top: 40px;
    font-size: 1rem;
    color: #007bff;
}

.certificate-footer-text {
    font-style: italic;
}

.print-btn {
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.print-btn:hover {
    background-color: #0056b3;
}
