/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    position: relative;
    background: linear-gradient(135deg, #f97316, #dc2626);
    padding: 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.heart-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.pulse-dot {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1rem;
    height: 1rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.date-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.calendar-icon {
    width: 1rem;
    height: 1rem;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #dcfce7;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #166534;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fed7aa, #fecaca);
    color: #c2410c;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
    width: 250px;
}

.sparkles-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
    text-align: left;
}

.gradient-text {
    background: linear-gradient(135deg, #f97316, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: left;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    margin-top: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transform: translateY(1rem);
    opacity: 0;
    transition: all 0.7s ease;
}

.stat-card[data-animate="true"] {
    transform: translateY(0);
    opacity: 1;
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    color: #f97316;
    margin: 0 auto 0.75rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.green-gradient {
    background: linear-gradient(135deg, #10b981, #059669);
}

.purple-gradient {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5);
}

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Pledge Form Section */
.pledge-form-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.form-container {
    max-width: 48rem;
    margin: 0 auto;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

.form-header {
    background: #f8fafc;
    padding: 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.form-progress h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.step-indicator {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    border-radius: 0.25rem;
    transition: width 0.5s ease;
    width: 50%;
}

.form-content {
    padding: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #f97316;
    transform: translateY(-2px);
}

.category-card.active {
    border-color: #f97316;
    background: #fff7ed;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.category-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

/* Signature Section */
.signature-section {
    text-align: center;
}

.signature-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.signature-section > p {
    color: #64748b;
    margin-bottom: 2rem;
}

.signature-container {
    margin-bottom: 2rem;
}

.signature-container label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    text-align: left;
}

.signature-pad-container {
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
}

#signaturePad {
    width: 100%;
    height: 200px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: crosshair;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.signature-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.signature-controls span {
    font-size: 0.875rem;
    color: #64748b;
}

.signature-controls button {
    background: none;
    border: none;
    color: #f97316;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.signature-controls button:hover {
    background: #fff7ed;
}

/* Pledge Preview */
.pledge-preview {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: left;
}

.pledge-preview h5 {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
}

.preview-content {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
}

.preview-content p {
    margin-bottom: 0.5rem;
}

.preview-content strong {
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-secondary {
    background: none;
    border: none;
    color: #64748b;
    font-weight: 600;
    padding: 1rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    color: #374151;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Certificate Section */
.certificate-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.certificate-header {
    text-align: center;
    margin-bottom: 3rem;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dcfce7;
    color: #166534;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.certificate-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.certificate-header p {
    font-size: 1.25rem;
    color: #64748b;
}

.certificate-container {
    max-width: 5xl;
    margin: 0 auto;
    background:none !important;
    padding:10px !important;
}

.certificate {
    background: linear-gradient(135deg, #f97316, #dc2626);
    padding: 0.25rem;
    border-radius: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.certificate-content {
    /* background: white;
    padding: 3rem;
    border-radius: 1.75rem; */
    text-align: center;
}

.certificate-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.certificate-logo .logo-icon {
    background: linear-gradient(135deg, #f97316, #dc2626);
    padding: 0.75rem;
    border-radius: 1rem;
}

.certificate-logo .heart-icon {
    width: 2rem;
    height: 2rem;
    color: white;
}

.certificate-logo div:last-child h3 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
}

.certificate-logo div:last-child p {
    color: #64748b;
    font-weight: 500;
}

.certificate-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(135deg, #f97316, #dc2626);
    margin: 0 auto 3rem;
    border-radius: 0.125rem;
}

.certificate-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.certificate-intro {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1rem;
}

.certificate-name {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.25rem;
}



.certificate-pledge span {
    font-size: 1.25rem;
    color: #374151;
    font-style: italic;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.certificate-detail p:first-child {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.certificate-detail p:last-child {
    font-weight: 600;
    color: #0f172a;
}

.certificate-signature {
    margin-top: 2rem;
}

.certificate-signature p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.certificate-signature img {
    height: 5rem;
    width: 12rem;
    object-fit: contain;
    border-bottom: 2px solid #d1d5db;
    margin: 0 auto;
}

/* Certificate Actions */
.certificate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.share-btn {
    background: #3b82f6;
    color: white;
}

.share-btn:hover {
    background: #2563eb;
}

.download-btn {
    background: #10b981;
    color: white;
}

.download-btn:hover {
    background: #059669;
}

.create-btn {
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: white;
}

.create-btn:hover {
    background: linear-gradient(135deg, #ea580c, #b91c1c);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, #f97316, #dc2626);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.footer-logo .heart-icon {
    width: 2rem;
    height: 2rem;
    color: white;
}

.footer-logo h3 {
    font-size: 1.875rem;
    font-weight: 800;
}

.footer-logo p {
    color: #94a3b8;
    font-weight: 500;
}

.footer-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.footer-quote {
    border-top: 1px solid #334155;
    padding-top: 2rem;
}

.footer-quote p {
    color: #94a3b8;
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-quote span {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
     .certificate-pledge span
      {
        font-size: 1.5rem;
      }
     .mockup-inner {
            flex-wrap: wrap;
        }
    

        .mockup-content {
            width: 100% !important;
        }
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-info {
        justify-content: center;
    }
    
    .date-badge {
        display: none;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .certificate-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .certificate {
        margin: 0 0rem 3rem;
    }
    
    .certificate-content {
        padding: 2rem;
    }
    
    .certificate-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .certificate-logo
    {
        flex-direction: column;
    }
    .certificate-avatar
    {
        margin-top: 0 !important;
    }
}

@media (max-width: 680px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 0 -0.5rem;
        border-radius: 1rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .certificate-content {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}


  .mockup-inner {
            display: flex;
            gap: 2.5rem;
            justify-content: space-between;
        }
    

        .mockup-content {
            width: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .certificate-logo
        {
               display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
       .pledge-card {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease-in-out;
        }
        .pledge-card:hover {
            transform: translateY(-5px);
        }
        .pledge-card img {
            max-width: 100%;
            height: 100%;
        }
        .signature-img {
            height: 80px;
        }
        .sign
        {
            background: #F9FAFB;
            border: 2px dashed #E5E7EB;
            border-radius: 5px;
            padding: 10px;
        }
        .certificate-avatar

        {
           text-align: center;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    margin-top: -150px;
        }

    .avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer; /* shows it's clickable */
    border: 2px solid #ccc;
}

form input[type="text"], form input[type="number"], form textarea, form select, form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease,
     box-shadow 0.2s ease;
}
#pledgestats .hero-badge
{
    width: auto !important;
}
.bg-theme-500
{
    background: #2a2b6b;
}



   .certificate-wrapper {
      width: 1300px;
      height: 900px;
      position: relative;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      margin: 0 auto;
    }

    .cert-bg {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      object-fit: cover;
      z-index: 0;
    }

    .certificate-content {
      position: absolute;
      top: 68%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      width: 80%;
      color: #000;
      z-index: 1;
    }

    .certificate-intro {
      font-family: 'Inter', sans-serif;
      font-size: 1.5rem;
      color: #374151;
      line-height: 1.6;
      font-weight: 500;
    }

    .certificate-name {
      font-weight: bold;
      color: #000000;
      font-size: 4rem;
      font-family: 'Playfair Display', serif;
      font-style: italic;
    }

    .certificate-pledge {
      background: #ffffff;
      padding: 30px;
      border-radius: 20px;
      border: 2px solid rgba(249, 115, 22, 0.1);
      margin: 30px 0;
      position: relative;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .certificate-pledge span {
        background: #ffffff;
      font-family: 'Playfair Display', serif;
      font-size: 1.75rem;
      color: #374151;
      font-style: italic;
      /* line-height: 1.7; */
      font-weight: 600;
      margin: 0;
      position: relative;
      z-index: 1;
      height: 45px;
    display: block;
    padding-bottom:15px;
    margin-bottom:15px;
    }

    .quote-mark {
      font-family: 'Playfair Display', serif;
      font-size: 5rem;
      color: #f97316;
      position: absolute;
      font-weight: 700;
      line-height: 1;
      opacity: 0.6;
      z-index: 5;
    }

    .quote-mark:first-child {
      top: -35px;
      left: 20px;
    }

    .quote-mark.closing {
      bottom: -40px;
      right: 20px;
      transform: rotate(180deg);
    }

    .certificate-details {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .certificate-signature {
      margin-top: 10px;
      text-align: center;
      display: flex;
      justify-content: space-around;
      margin-bottom: 60px;
    }

    .certificate-signature img {
      height: 5rem;
      width: 12rem;
      object-fit: contain;
      border-bottom: 2px solid #d1d5db;
      margin: 0 auto;
    }

    .sign1 p {
      font-weight: bold;
      font-size: 1rem !important;
      margin-top: 0px;
      margin-bottom: 0;
    }
    .detail-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border: none;
    text-decoration: none;
}
.detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    /* Make desktop design scale on mobile */
    @media (max-width: 1400px) {
      .certificate-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 1300 / 900;
      }

      .certificate-content {
        transform: translate(-50%, -50%) scale(0.8);
      }
    }

    @media (max-width: 1024px) {
        .quote-mark
        {
            display: none;
        }
      .certificate-content {
        transform: translate(-50%, -50%) scale(0.6);
         width: max-content;
      }
    }

    @media (max-width: 680px) {
      .certificate-signature img
      {
        height: 3rem;
      width: 10rem;
      }
      .certificate-content {
        transform: translate(-50%, -50%) scale(0.4);
        display: inline-block;   /* shrink to fit content width */
    white-space: nowrap;     /* prevents wrapping so it acts like max-content */
    width: auto;             /* fallback */
    max-width: none;
      }
      .certificate-pledge
      {
        padding: 10px;
        margin: 5px 0;
      }
      .certificate-intro
      {
        font-size: 1rem;
      }
      .certificate-name
      {
        font-size: 3rem;
      }
    }

     @media (max-width: 380px) {
    .certificate-content {
        transform: translate(-50%, -50%) scale(0.3);
        width: max-content;
      }
  
    }

   