/* Close Button (Top Right) */

/* Floating Close Button */

.page-close-btn {

    position: fixed;
    top: 24px;
    right: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    z-index: 9999;

    transition: all 0.25s ease;

}

.page-close-btn:hover {

    background: rgba(46,63,146,0.08);

    transform: rotate(90deg);

}
/* =================================================
   PAPER SUBMISSION SECTION
   ================================================= */

.paper-categories-section {
    padding: 20px 0;
}

.page-title {
    color: #3041a0;
}

.container {
    padding-bottom: 0px;
}

.paper {
    padding-top: 0px;
}

.page-subtitle {
    padding: 20px 0px;
}
/* p{
    padding: 20px 0px;
} */

/* Section Heading */

.paper-categories-section h2 {
    color: #3041a0;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.paper-categories-section>p {
    color: #666;
    /* max-width: 600px; */
    line-height: 1.7;
    margin-bottom: 25px;
}

.section-heading {
    padding: 20px 0px;
}

.section-heading.h2 {
    color: #3041a0;
}

.section-heading.h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 2.5px;
    background: #2e3f92;
    margin-top: 10px;
}


/* =================================================
   GRID LAYOUT
   ================================================= */

.paper-categories-section .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}


/* =================================================
   CARD DESIGN
   ================================================= */

.paper-categories-section .topic-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: all 0.3s ease;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.paper-categories-section .topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}


/* =================================================
   CARD HEADER
   ================================================= */

.paper-categories-section .topic-badge {
    background: #f6f7fb;
    padding: 22px 26px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.paper-categories-section .topic-badge p {
    font-size: 20px;
    font-weight: 600;
    color: #2e3f92;
    margin: 0;
}


/* =================================================
   CARD DESCRIPTION
   ================================================= */

.paper-categories-section .topic-description {
    padding: 26px;
    font-size: 15px;
    line-height: 1.65;
    color: #555;

    flex-grow: 1;
}


/* =================================================
   CARD BUTTON
   ================================================= */

.paper-categories-section .topic-apply {
    padding: 24px;
}

.paper-categories-section .apply-btn {
    display: block;
    width: 100%;

    text-align: center;

    background: #5f6fc7;
    color: #ffffff;

    padding: 12px;

    border-radius: 8px;

    font-weight: 500;

    transition: 0.25s ease;
}

.paper-categories-section .apply-btn:hover {
    background: #2e3f92;
}


/* =================================================
   REQUIREMENTS GRID
   ================================================= */

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;

    margin: 30px 0;
}

.requirement-card {
    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;

    padding: 24px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.requirement-card h4 {
    color: #2e3f92;
    margin-bottom: 12px;
    font-weight: 600;
}


/* =================================================
   SUBMISSION FORM
   ================================================= */

.paper-submission-form {
    margin-top: 30px;

    background: #ffffff;

    padding: 40px;

    border-radius: 14px;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 20px;

    margin-bottom: 20px;
}

.form-group {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;

    border: 1px solid #ddd;
    border-radius: 6px;

    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.half-width {
    flex: 1;
}


/* =================================================
   FORM BUTTON
   ================================================= */

.form-actions {
    margin-top: 25px;
}

.submit-btn {
    background: #2e3f92;
    color: #ffffff;

    border: none;

    padding: 12px 24px;

    border-radius: 8px;

    font-weight: 500;

    cursor: pointer;

    transition: 0.25s ease;
}

.submit-btn:hover {
    background: #1d2d6f;
}

/* PAGE ONLY FIX (does NOT affect other pages) */

.requirements-grid {
    display: block;
    margin-top: 20px;
}

.requirement-card {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 35px;
}

.requirement-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #444;
}

.numbered-list {
    padding-left: 22px;
    line-height: 1.8;
}


.simple-list {
    padding-left: 22px;
    line-height: 1.8;
}
/* Content Section for better alignment */
.content-section {
    margin: 40px 0;
}

.section-subtitle {
    color: #666;
    margin-bottom: 24px;
}

/* Footer */

.footer.page {
    margin-top: 100px;
}


/* =================================================
   RESPONSIVE DESIGN
   ================================================= */

@media (max-width: 1024px) {

    .paper-categories-section .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .paper-categories-section .categories-grid {
        grid-template-columns: 1fr;
    }

    .paper-categories-section h2 {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
    }

    .paper-submission-form {
        padding: 28px;
    }

}

@media (max-width: 480px) {

    .paper-categories-section {
        padding: 60px 0;
    }

}