/* Free Courses page specific styles */

.free-page {
    background: #ffffff;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ================= HERO / HEADER ================= */

.free-header {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    padding: 60px 0 50px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 30px 30px;
}

.free-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.free-header p {
    font-size: 18px;
    line-height: 1.7;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ================= HIGHLIGHTS / BADGES ================= */

.free-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.free-pill {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.free-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ================= CERTIFICATE SAMPLE SECTION ================= */

.free-certificate-sample-section {
    padding: 40px 20px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    border-radius: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.certificate-sample-container {
    max-width: 900px;
    margin: 0 auto;
}

.certificate-sample-content {
    text-align: center;
}

.certificate-sample-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.certificate-sample-text {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.certificate-sample-image-wrapper {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.certificate-sample-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.certificate-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.certificate-verification-note {
    margin-top: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.verification-text {
    font-size: 16px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.verification-text strong {
    color: #0f172a;
    font-weight: 700;
}

.verification-text a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.verification-text a:hover {
    color: #1e40af;
}

/* Mobile Responsive for Certificate Sample */
@media (max-width: 768px) {
    .free-certificate-sample-section {
        padding: 30px 15px;
        margin-bottom: 40px;
        border-radius: 16px;
    }

    .certificate-sample-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .certificate-sample-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .certificate-sample-image-wrapper {
        padding: 15px;
        min-height: 250px;
        margin: 20px 0;
    }

    .certificate-verification-note {
        margin-top: 25px;
        padding: 15px;
    }

    .verification-text {
        font-size: 14px;
    }
}

/* ================= COURSE SELECTION SECTION ================= */

.free-course-select-section {
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Warning Highlight */
.free-course-warning {
    background: #fef3c7;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.free-course-warning .warning-icon {
    font-size: 24px;
    flex-shrink: 0;
    min-width: 24px;
    display: inline-block;
}

.free-course-warning p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.5;
    flex: 1;
}

.free-course-select-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

/* Dropdown Label */
.free-dropdown-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    text-align: left;
}

.free-course-dropdown-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.free-course-dropdown {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.free-course-dropdown:hover {
    border-color: #3b82f6;
}

.free-course-dropdown:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.free-course-dropdown option {
    padding: 12px;
}

/* ================= PDF VIEWER SECTION ================= */

.free-pdf-viewer-section {
    display: none;
    padding: 20px 10px;
    max-width: 1200px;
    margin: 0 auto 20px;
}

/* PDF Loading Indicator */
.pdf-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 300px;
    background: #525252;
    border-radius: 12px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Mobile Responsive for Loading Indicator */
@media (max-width: 768px) {
    .pdf-loading-indicator {
        padding: 40px 15px;
        min-height: 250px;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
        margin-bottom: 15px;
    }

    .loading-text {
        font-size: 16px;
    }
}

.free-pdf-viewer-section.active {
    display: block;
}

.free-pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.free-pdf-viewer-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.free-pdf-viewer-container {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.free-pdf-viewer-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}

.free-pdf-viewer-wrapper #pdfCanvasContainer {
    width: 100%;
    max-height: 70vh;
    overflow: auto;
    background: #525252;
    padding: 10px;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
}

.free-pdf-viewer-wrapper #pdfCanvas {
    display: block;
    margin: 0 auto 10px;
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    touch-action: pan-x pan-y pinch-zoom;
}

.free-pdf-viewer-wrapper #pdfCanvasContainer canvas {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: auto !important;
    touch-action: pan-x pan-y pinch-zoom !important;
    -webkit-touch-callout: none;
    cursor: grab;
}

.free-pdf-viewer-wrapper #pdfCanvasContainer canvas:active {
    cursor: grabbing;
}

.free-pdf-viewer-wrapper .pdf-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #64748b;
    font-size: 16px;
    padding: 20px;
}

.free-pdf-viewer-wrapper .pdf-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* PDF Protection Overlay */
.free-pdf-protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: transparent;
}

/* Prevent image saving */
.free-pdf-viewer-wrapper img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.free-pdf-viewer-wrapper #pdfCanvasContainer canvas {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: auto !important;
    touch-action: pan-x pan-y pinch-zoom !important;
    -webkit-touch-callout: none;
    cursor: grab;
}

.free-pdf-viewer-wrapper #pdfCanvasContainer canvas:active {
    cursor: grabbing;
}

/* Disable text selection globally when PDF is active, but allow zoom */
.free-pdf-viewer-section.active * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Enable zoom on PDF canvas container */
.free-pdf-viewer-section.active #pdfCanvasContainer {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior: contain;
}

/* Enable zoom on PDF canvas container */
.free-pdf-viewer-section.active #pdfCanvasContainer {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior: contain;
}

/* ================= GET CERTIFICATE SECTION ================= */

.free-certificate-section {
    display: none;
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto 50px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 20px;
    text-align: center;
}

.free-certificate-section.active {
    display: block;
}

.free-certificate-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.free-certificate-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 30px;
}

.free-certificate-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #29e27c, #2cca41);
    color: #ffffff;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.free-certificate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.free-certificate-btn .cert-icon {
    font-size: 24px;
}

/* ================= HOW IT WORKS ================= */

.free-process {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    padding: 60px 20px;
    margin: 50px 0;
    border-radius: 30px;
}

.free-process h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0f172a;
}

.free-process ol {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    counter-reset: step-counter;
}

.free-process li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
}

.free-process li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.free-process li strong {
    color: #0f172a;
    font-weight: 700;
}

/* ================= CTA SECTION ================= */

.free-cta {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    color: #ffffff;
    margin: 50px 0;
}

.free-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.free-cta p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.free-cta-button-wrap {
    margin-bottom: 20px;
}

.free-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #1baa50;
    color: #ffffff;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.free-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.free-btn .wa-icon {
    display: inline-flex;
    align-items: center;
}

.free-cta-note {
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .free-header {
        padding: 30px 15px 20px;
        border-radius: 0 0 20px 20px;
    }

    .free-header h1 {
        font-size: 28px;
    }

    .free-header p {
        font-size: 15px;
    }

    .free-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .free-pill {
        font-size: 14px;
        padding: 10px 16px;
        text-align: center;
    }

    .free-course-warning {
        padding: 14px 16px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .free-course-warning .warning-icon {
        font-size: 20px;
        min-width: 20px;
    }

    .free-course-warning p {
        font-size: 14px;
        line-height: 1.4;
    }

    .free-course-select-section {
        padding: 15px 10px;
    }

    .free-course-select-section h2,
    .free-process h2 {
        font-size: 24px;
    }

    .free-pdf-viewer-section {
        padding: 15px 10px;
    }

    .free-pdf-viewer-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .free-pdf-viewer-header h3 {
        font-size: 18px;
    }

    .free-pdf-viewer-container {
        padding: 8px;
    }

    .free-pdf-viewer-wrapper {
        min-height: 300px;
    }

    .free-pdf-viewer-wrapper #pdfCanvasContainer {
        max-height: 60vh;
        padding: 8px;
    }

    .free-pdf-viewer-wrapper #pdfCanvasContainer canvas {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .free-certificate-section {
        padding: 30px 15px;
    }

    .free-certificate-section h3 {
        font-size: 22px;
    }

    .free-cta {
        padding: 30px 15px;
        border-radius: 20px;
    }

    .free-cta h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .free-header h1 {
        font-size: 28px;
    }

    .free-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .free-pill {
        font-size: 13px;
        padding: 10px 12px;
        text-align: center;
    }

    .free-pdf-viewer-wrapper iframe {
        height: 500px;
    }

    .free-certificate-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* ================= CERTIFICATE PAYMENT MODAL ================= */

.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.certificate-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.certificate-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.certificate-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.certificate-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.certificate-modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
    text-align: center;
}

.certificate-fee-text {
    text-align: center;
    font-size: 18px;
    color: #475569;
    margin-bottom: 30px;
}

.certificate-fee-text strong {
    color: #2563eb;
    font-size: 24px;
}

.certificate-payment-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 16px;
}

.certificate-qr-section,
.certificate-upi-section {
    text-align: center;
}

.certificate-qr-section h3,
.certificate-upi-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0f172a;
}

.certificate-qr-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.upi-id-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.upi-id-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    text-align: center;
}

.copy-upi-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.copy-upi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.copy-upi-btn.copied {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.copy-icon {
    font-size: 16px;
}

.upi-note {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

/* Certificate Name Section */
.certificate-name-section {
    margin-bottom: 25px;
}

.certificate-name-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    text-align: left;
}

.certificate-name-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.certificate-name-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.certificate-name-input::placeholder {
    color: #94a3b8;
}

.certificate-upload-form {
    margin-top: 30px;
}

.upload-section {
    margin-bottom: 25px;
}

.upload-label {
    display: block;
    padding: 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.upload-label:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.upload-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.upload-label span:not(.upload-icon) {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

.upload-input {
    display: none;
}

.image-preview {
    margin-top: 15px;
    display: none;
}

.image-preview.active {
    display: block;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.submit-certificate-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #25D366, #20ba5a);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.submit-certificate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.submit-certificate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wa-icon-small {
    font-size: 20px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .certificate-modal-content {
        padding: 30px 20px;
        max-width: 100%;
    }

    .certificate-modal-content h2 {
        font-size: 24px;
    }

    .certificate-payment-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .upi-id-container {
        flex-direction: column;
    }

    .copy-upi-btn {
        width: 100%;
        justify-content: center;
    }
}

