Path : /home/vishqocm/pcib.in/student/assets/css/
File Upload :
Current File : /home/vishqocm//pcib.in/student/assets/css/certificate.css

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Certificate Container */
#certificateContainer {
    width: 210mm;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

/* Certificate Pages */
.certificate-page {
    width: 210mm;
    height: 297mm;
    margin-bottom: 20px;
    page-break-after: always;
}

/* Certificate Border */
.certificate-border {
    border: 15px solid #d4af37;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
}

/* Certificate Content */
.certificate-content {
    border: 1px solid #d4af37;
    height: 100%;
    padding: 25px;
    background-image: url('https://i.imgur.com/tZBttT6.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* Institute Header */
.header-section {
    margin-bottom: 30px;
}

.institute-logo {
    max-height: 100px;
    margin-bottom: 15px;
}

.institute-name {
    font-family: 'Playfair Display', serif;
    color: #14397d;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.institute-address {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #444;
    font-style: italic;
}

/* Title Section */
.title-section {
    margin: 40px 0;
}

.ornament-line {
    width: 50%;
    height: 2px;
    background-color: #d4af37;
    margin: 15px auto;
}

.certificate-title {
    font-family: 'Playfair Display', serif;
    color: #8B0000;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Student Section */
.student-section {
    margin: 50px 0;
}

.certificate-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: #444;
    font-style: italic;
    margin: 10px 0;
}

.student-name {
    font-family: 'Playfair Display', serif;
    color: #14397d;
    font-size: 42px;
    font-weight: bold;
    margin: 20px 0;
    text-transform: capitalize;
}

.enrollment-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #666;
}

.course-title {
    font-family: 'Playfair Display', serif;
    color: #14397d;
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
    padding: 0 40px;
}

/* Signature Section */
.signature-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    position: relative;
}

.signature {
    text-align: center;
    margin: 0 50px;
}

.signature-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.signature-line {
    border-top: 2px solid #14397d;
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
}

.signature-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: bold;
    color: #14397d;
    margin-bottom: 0;
}

.signature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #444;
    margin-bottom: 0;
}

/* Certificate Seal */
.certificate-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-image: url('https://i.imgur.com/uVNU2kj.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Certificate Footer */
.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
}

.certificate-verification p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    margin: 5px 0;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

.qr-code p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #666;
}

/* Page 2 Styles */
.header-section-small {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.institute-logo-small {
    max-height: 60px;
    margin-right: 15px;
}

.institute-name-small {
    font-family: 'Playfair Display', serif;
    color: #14397d;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
}

.page-title {
    font-family: 'Playfair Display', serif;
    color: #8B0000;
    font-size: 28px;
    text-align: center;
    margin: 20px 0;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.certificate-id-section {
    margin: 20px 0;
}

.certificate-number-box {
    background-color: rgba(20, 57, 125, 0.05);
    border: 1px solid #14397d;
    padding: 15px;
    border-radius: 5px;
}

.certificate-number-box h4 {
    font-family: 'Montserrat', sans-serif;
    color: #14397d;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.certificate-number-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin: 5px 0;
}

.student-name-small {
    font-family: 'Playfair Display', serif;
    color: #14397d;
    font-size: 22px;
    text-align: center;
    margin: 15px 0 5px;
}

.course-details-section, .examination-section {
    margin: 20px 0;
}

.course-details-section h4, .examination-section h4 {
    font-family: 'Montserrat', sans-serif;
    color: #14397d;
    font-size: 18px;
    margin: 0 0 10px 0;
    border-left: 4px solid #d4af37;
    padding-left: 10px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.details-table th, .details-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.details-table th {
    width: 30%;
    color: #333;
    font-weight: 600;
}

.verification-box {
    display: flex;
    justify-content: space-between;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    padding: 15px;
    border-radius: 5px;
    margin: 30px 0;
}

.verification-info {
    width: 70%;
}

.verification-info h4 {
    font-family: 'Montserrat', sans-serif;
    color: #8B0000;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.verification-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin: 5px 0;
}

.verification-qr {
    text-align: center;
}

.verification-qr img {
    width: 100px;
    height: 100px;
}

.verification-qr p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #666;
}

.footer-note {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Print Styles */
@media print {
    body, html {
        width: 210mm;
        height: 297mm;
        margin: 0;
        padding: 0;
    }
    
    .container-fluid, .text-center.mb-4 {
        display: none;
    }
    
    #certificateContainer {
        width: 210mm;
        box-shadow: none;
    }
    
    .certificate-page {
        page-break-after: always;
    }
}