.exam-container {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    max-width: 100%;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
}

.exam-container h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 5px;
}

.exam-container p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    color: #555;
    font-size: 18px;
}

.exam-container .dropdown {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 800px;
    position: relative;
    margin: 0 auto;
    font-size: 16px;
}

.exam-container .dropdown-toggle {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 40px;
}

.exam-container .dropdown-toggle .placeholder {
    color: #888;
}

.exam-container .dropdown-toggle .selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.exam-container .dropdown-toggle .tag {
    background: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle .tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: color 0.2s;
}

.exam-container .arrow {
    font-size: 15px;
    font-weight: bold;
}

.exam-container .dropdown-toggle .arrow {
    transition: transform 0.3s ease;
}

.exam-container .dropdown-toggle.active .arrow {
    transform: rotate(180deg);
}

.exam-container .dropdown-menu {
    position: relative;
    margin-top: 2px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
    overflow-y: auto;
}

.exam-container .dropdown-menu.show {
    display: block;
}

.exam-container .dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
}

.exam-container .dropdown-item:last-child {
    border-bottom: none;
}

.exam-container .dropdown-item input[type="checkbox"] {
    margin-right: 10px;
}

.exam-container .selected-items {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exam-container .dropdown-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 20px;
}

.exam-container .selected-items h3 {
    color: #71BFF8;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.exam-container .selected-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.exam-container .selected-item-row span {
    font-weight: bold;
}

.exam-container .upload-btn {
    background-color: #f0ad4e;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.exam-container .select-all {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}

.exam-container .select-all input {
    margin-right: 10px;
}

.exam-container .dropdown-toggle span.placeholder {
    color: #888;
    flex-grow: 1;
}

.exam-container .dropdown-toggle span.selected-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exam-container .file-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exam-container .file-name {
    font-size: 14px;
    color: #333;
    background: #f2f2f2;
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.exam-container .icon-btn {
    background: none;
    border: 1px solid black;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    align-items: center;
}

.exam-container #downloadBtn {
    background: #63B4FF;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    max-width: 600px;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.exam-container #downloadContainer {
    text-align: center;
    margin-top: 25px;
}

.exam-container #downloadContainer img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 6px;
}

.exam-container .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.exam-container .overlay .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}

.exam-container .image-preview,
.exam-container .pdf-preview {
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.exam-container .image-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exam-container .image-preview img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

.exam-container .pdf-preview {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.exam-container .pdf-page-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.exam-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #2c2c2c;
    border-radius: 2px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.exam-container input[type="checkbox"]:checked {
    border-color: #28a745;
}

.exam-container input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 14px;
    color: #28a745;
    position: absolute;
    top: -2px;
    left: 2px;
    font-weight: bold;
}

.exam-container .checkbox-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #222;
    cursor: pointer;
}

/* New Content Sections */
.content-wrapper {
    width: 100%;
    background-color: #ffffff;
}

/* Main Feature Section */
.main-feature-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.main-feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.main-feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.main-feature-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.main-feature-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
}

.main-feature-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.main-feature-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.conversion-visual {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* How To Section */
.how-to-section {
    padding: 80px 0;
    background-color: #dbeeff;
}

.how-to-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.how-to-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.how-to-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.how-to-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #db8a28;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px auto;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.step-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

/* Key Benefits Section */
.key-benefits-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.key-benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.key-benefits-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.key-benefits-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

.key-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    background: #f8f9fa;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #db8a28;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {

    .main-feature-container,
    .how-to-container,
    .key-benefits-container,
    .faq-container {
        padding: 0 20px;
    }

    .main-feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-feature-title {
        font-size: 2rem;
    }

    .conversion-visual {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .how-to-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .how-to-title,
    .key-benefits-title,
    .faq-title {
        font-size: 2rem;
    }

    .key-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .exam-container h2 {
        font-size: 28px;
    }

    .exam-container p {
        font-size: 16px;
    }

    .exam-container .dropdown-toggle {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .exam-container .selected-items {
        margin-top: 20px;
        padding: 0 10px;
    }

    .exam-container #downloadBtn {
        font-size: 14px;
        padding: 8px 12px;
    }

    .exam-container .pdf-preview {
        width: 90% !important;
        max-width: 90% !important;
        height: auto;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {

    .main-feature-container,
    .how-to-container,
    .key-benefits-container,
    .faq-container {
        padding: 0 15px;
    }

    .main-feature-title,
    .how-to-title,
    .key-benefits-title,
    .faq-title {
        font-size: 1.75rem;
    }

    .step-card,
    .benefit-card {
        padding: 25px 18px;
    }

    .faq-item {
        padding: 20px;
    }

    .exam-container {
        padding: 15px;
    }

    .exam-container h2 {
        font-size: 22px;
    }

    .exam-container p {
        font-size: 14px;
    }

    .exam-container .dropdown-label {
        font-size: 16px;
    }

    .exam-container .selected-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .exam-container #downloadBtn {
        font-size: 14px;
        width: 100%;
    }

    .exam-container .pdf-preview {
        width: 95% !important;
        max-width: 95% !important;
        height: auto;
        max-height: 90vh;
    }

    .exam-container .pdf-page-wrapper {
        width: 85% !important;
        margin: 5px auto;
        padding: 0;
    }
}