* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #1A1A2E;
    --light: #F7F7F7;
    --purple: #9B59B6;
    --orange: #FF8C42;
    --green: #51CF66;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 60px;
    max-width: 80px;
    object-fit: contain;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.admin-link {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.admin-link::after {
    display: none;
}

/* Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: white;
    padding: 1rem 2rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.5s ease;
}

.announcement-banner.active {
    display: flex;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    overflow: hidden;
}

.announcement-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.announcement-text {
    flex: 1;
}

.announcement-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    animation: flash 2s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.announcement-description {
    font-size: 1rem;
    opacity: 0.95;
}

.announcement-close {
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.announcement-close:hover {
    transform: rotate(90deg);
}

.hero.with-banner {
    margin-top: 180px;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--accent);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(255, 230, 109, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 230, 109, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-3px);
}

/* Stats Section */
.stats {
    background: var(--light);
    padding: 4rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    animation: fadeIn 1s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .label {
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Courses Section */
.courses {
    padding: 5rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
}

.courses-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.course-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewY(-5deg);
}

.course-content {
    padding: 2rem;
}

.course-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.course-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.course-duration {
    color: #888;
    font-size: 0.9rem;
}

.enroll-btn {
    padding: 0.7rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    background: var(--dark);
    transform: scale(1.05);
}

/* Enrollment Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--green) 100%);
    padding: 5rem 2rem;
    color: white;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Contact Section - FIXED FOR EQUAL CARDS */
.contact-section {
    padding: 5rem 2rem;
    background: white;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.proprietor-card {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.proprietor-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.proprietor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.proprietor-info {
    padding: 0 1rem;
}

.proprietor-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.proprietor-info p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.contact-info-card {
    background: linear-gradient(135deg, #ff6b9d, #c06c84);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Certificate Section */

/* ================================================
   CERTIFICATE WITH BACKGROUND IMAGE
   Ye CSS apne style.css mein add karo
   (purana certificate CSS replace karo)
   ================================================ */

/* Certificate Section */
.certificate-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.certificate-container {
    max-width: 700px;
    margin: 0 auto;
}

.certificate-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Certificate Preview */
.certificate-preview {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

/* Certificate Wrapper */
.certificate-wrapper {
    max-width: 650px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Background Image Container */
.certificate-bg-container {
    position: relative;
    width: 100%;
    padding-top: 151%;  /* 1280/848 = 1.51 ratio */
    overflow: hidden;
}

/* Background Certificate Image */
.cert-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;  /* Exact fit */
    display: block;
}

/* Overlay Container */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Each Data Field */
.cert-field {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Base Text Style */
.cert-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.3vw;       /* Responsive font */
    font-weight: 700;
    color: #1a1a6e;         /* Dark blue - certificate jaisi */
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

/* Student/Father Name - Slightly bigger */
.cert-name {
    font-size: 1.4vw;
    color: #1a1a6e;
    font-weight: 700;
}

/* Course Name */
.cert-course {
    font-size: 1.3vw;
    color: #8B0000;          /* Dark red */
    font-weight: 700;
    text-align: center;
    white-space: normal;     /* Wrap if long */
}

/* Grade */
.cert-grade-text {
    font-size: 1.6vw;
    color: #8B0000;
    font-weight: 800;
    text-align: center;
}

/* Action Buttons */
.certificate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.btn-print {
    padding: 0.9rem 2rem;
    background: #51CF66;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-print:hover {
    background: #45b759;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 207, 102, 0.4);
}

.btn-close {
    padding: 0.9rem 2rem;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #ff3838;
    transform: translateY(-2px);
}

/* Print Styles 
@media print {
    body * { visibility: hidden; }
    .certificate-preview,
    .certificate-preview * { visibility: visible; }
    .certificate-preview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
    }
    .certificate-wrapper {
        max-width: 100%;
        box-shadow: none;
    }
    .certificate-actions { display: none !important; }
}*/

/* Responsive */
@media (max-width: 768px) {
    .cert-text { font-size: 2.5vw; }
    .cert-name { font-size: 2.8vw; }
    .cert-course { font-size: 2.5vw; }
    .cert-grade-text { font-size: 3vw; }
    .certificate-wrapper { max-width: 100%; }
}

@media (max-width: 480px) {
    .cert-text { font-size: 3vw; }
    .cert-name { font-size: 3.2vw; }
    .cert-course { font-size: 3vw; }
    .cert-grade-text { font-size: 3.5vw; }
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.developer-info:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.developer-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--secondary), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.developer-text {
    display: flex;
    flex-direction: column;
}

.developer-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.developer-name {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 35px;
        max-width: 150px;
    }

    .certificate-border {
        padding: 1.5rem;
    }

    .institute-name {
        font-size: 1.8rem;
    }

    .student-name-cert {
        font-size: 1.8rem;
    }

    .course-name-cert {
        font-size: 1.5rem;
    }

    .certificate-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .signature-section {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .proprietor-photo {
        width: 150px;
        height: 150px;
    }

    .proprietor-info h3 {
        font-size: 1.5rem;
    }

    .contact-info-card h3 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .certificate-paper {
        padding: 1rem;
    }

    .certificate-form-wrapper {
        padding: 1.5rem;
    }
}
/*
@media print {
    body * {
        visibility: hidden;
    }

    .certificate-preview,
    .certificate-preview * {
        visibility: visible;
    }

    .certificate-preview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        width: 210mm;
        height: 297mm;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .certificate-actions {
        display: none !important;
    }

    .proprietor-photo {
        width: 150px;
        height: 150px;
    }
}
.certificate-preview {
    display: none;
}
*/
@media print {

    body * {
        visibility: hidden;
    }

    #certificatePreview, 
    #certificatePreview * {
        visibility: visible;
    }

    #certificatePreview {
        position: absolute;
        left: 0;
        top: 0;
        width: 210mm;
        height: 297mm;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .certificate-wrapper {
        width: 100%;
        height: 100%;
    }

    .cert-bg-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .certificate-actions {
        display: none !important;
    }

    @page {
        size: A4 portrait;
        margin: 0;
    }
}



.developer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffd54f; /* yellow border */
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* image stretch nahi hogi */
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #2c2f48;
    padding: 15px 25px;
    border-radius: 50px;
}
