* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    font-size: 16px;
}


body {
    background: #ffffff;
    font-size: 1rem;
    line-height: 1.65;
}

/* ===== Header ===== */
.header {
    background: #841a88;
    padding: 14px 22px;
    color: #fff;
}


.icai-header-inner {
    margin: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
}

.icai-logo {
    width: 64px;
    height: auto;
}

.icai-header-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.icai-header-text p {
    font-size: 15px;
    color: #f1e9f6;
    margin: 2px 0 0;
}

/* Mobile */
@media (max-width: 768px) {
    .icai-header-inner {
        gap: 10px;
    }

    .icai-logo {
        width: 50px;
    }

    .icai-header-text h1 {
        font-size: 16px;
    }

    .icai-header-text p {
        font-size: 13px;
    }
}

/* ===== Back ===== */
.back {
    position: absolute;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 20px;
    font-size: 12px;
    cursor: pointer;
}

.back span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ===== Main ===== */
.main {
    padding: 32px 20px 60px;
    text-align: center;
}

h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 13px;
    color: #333;
    max-width: 720px;
    margin: 0 auto 18px;
    overflow: auto;
}

/* ===== Progress ===== */
.progress-wrap {
    max-width: 720px;
    margin: 0 auto 24px;
}

.progress-bar {
    height: 6px;
    background: #eceefe;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    width: 20%;
    height: 100%;
    background: #841a88;
    border-radius: 6px;
}

.progress-info {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #444;
}

/* ===== Question ===== */
.question-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.question-no {
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

.question-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ===== Options ===== */
.option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f6ff;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-left: 4px solid #841a88;
}

.option span {
    font-size: 13px;
}

.option input {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* ===== Navigation ===== */
.nav-buttons {
    max-width: 720px;
    margin: 22px auto 0;
    display: flex;
    justify-content: space-between;
}

.btn-prev {
    padding: 10px 18px;
    background: #fff;
    color: #a00e7d !important;
    border: 1px solid#a00e7d !important;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.btn-next {
    padding: 10px 22px;
    background: #841a88;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
}

/* ===== Footer ===== */
/* ==============================
   NIC HOSTED FOOTER (ICAI STYLE)
   ============================== */

.nic-footer {
    background: #a0007d;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    padding: 12px;
    font-size: 14px;
    margin-top: 40px;
}

/* Disclaimer text */
.nic-disclaimer {
    font-size: 11px !important;
    color: #333;
    background: #f9f9f9;
    padding: 12px 16px;
    line-height: 1.6;
    border-top: 1px solid #e5e5e5;
}

/* Mobile */
@media (max-width: 768px) {
    .nic-footer {
        font-size: 13px;
    }

    .nic-disclaimer {
        font-size: 10px !important;
    }
}



/* Section title */
.section-title {
    background: #f2f2f2;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* List items */
.item {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.item:last-child {
    border-bottom: none;
}

.item-title {
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.item-title span {
    font-weight: normal;
    color: #666;
}

.item-desc {
    font-size: 12px;
    color: #444;
    margin-top: 4px;
}

.predict {
    margin-top: 6px;
    font-size: 12px;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.predict::before {
    content: "👉";
    font-size: 13px;
}



h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}



/* Captcha */
.captcha-title {
    font-size: 13px;
    margin: 18px 0 10px;
}

.captcha-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.captcha-box {
    background: #e6ebff;
    color: #000;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.captcha-input {
    width: 230px;
    height: 36px;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 13px;
}

.captcha-note {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
}


.ai-blog-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.ai-blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ai-blog-image img {
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    border-radius: 6px;
}

.ai-blog-content {
    line-height: 1.7;
    color: #333;
}

.ai-blog-content p {
    margin-bottom: 12px;
}





/* ===== LOCK OVERLAY ===== */
.lock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== MODAL ===== */
.lock-modal {
    width: 360px;
    background: #841a88;
    color: #fff;
    border-radius: 14px;
    padding: 22px 20px 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Close */
.lock-close {
    position: absolute;
    right: 14px;
    top: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Icon */
.lock-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}

/* Title */
.lock-modal h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Sub text */
.lock-sub {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 14px;
}

/* Features */
.lock-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
}

.lock-features li {
    font-size: 12px;
    padding-left: 18px;
    margin-bottom: 6px;
    position: relative;
}

.lock-features li::before {
    content: "•";
    position: absolute;
    left: 6px;
}

/* Buttons */
.lock-btn {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
}

.lock-btn.primary {
    background: #fff;
    color: #3f4499;
    font-weight: 600;
}

.lock-btn.primary span {
    display: block;
    font-size: 10px;
    opacity: 0.7;
    margin-top: 2px;
}

.lock-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* Footer */
.lock-footer {
    font-size: 10px;
    margin-top: 10px;
    opacity: 0.85;
}

/* ==============================
   CA RESULT PREDICTION CTA
   ============================== */

.ca-cta-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 28px 24px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #a0007d;
    text-align: center;
}

.ca-cta-box h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

.cta-sub {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Button */
.cta-button {
    display: inline-block;
    background: #a0007d;
    color: #ffffff;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #7b0061;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 768px) {
    .ca-cta-box {
        padding: 22px 16px;
    }

    .ca-cta-box h2 {
        font-size: 19px;
    }

    .cta-sub {
        font-size: 14px;
    }
}

/* ==============================
   FAQ SECTION – ICAI STYLE
   ============================== */

.faq-box {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

/* Title bar */
.faq-title {
    background: #f5f5f5;
    border-top: 4px solid #a0007d;
    padding: 10px 14px;
    font-weight: 800;
    color: #a0007d;
    font-size: 15px;
}

/* Each FAQ */
.faq-item {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.faq-q {
    font-weight: 700;
    font-size: 14.5px;
    color: #111827;
    margin-bottom: 6px;
}

.faq-a {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .faq-q {
        font-size: 14px;
    }

    .faq-a {
        font-size: 13.5px;
    }
}

@media (max-width: 768px) {

    /* Base text */
    body,
    p,
    li,
    span,
    div,
    a {
        font-size: 1rem !important;
    }

    /* Headings */
    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.15rem !important;
    }

    /* Small labels */
    .subtitle,
    .item-desc,
    .question-no,
    .progress-info,
    .captcha-note,
    .disclaimer,
    .lock-footer {
        font-size: 0.95rem !important;
    }

    .btn-next,
    .btn-prev,
    .predict,
    .cta-button {
        font-size: 1rem !important;
    }
}


/* ==============================
   AI BLOG CONTENT DESIGN
   ============================== */

.ai-blog-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 28px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ai-blog-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ai-blog-image img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 25px;
    object-fit: cover;
}

/* ==============================
   TYPOGRAPHY (EDITOR CONTENT)
   ============================== */

.editor-content {
    font-size: 16.5px;
    line-height: 1.5;
    color: #334155;
}

/* Paragraphs */
.editor-content p {
    margin-bottom: 18px;
}

/* Strong text */
.editor-content strong {
    color: #0f172a;
    font-weight: 700;
}

/* Headings */
.editor-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 35px 0 15px;
    color: #020617;
    position: relative;
    padding-left: 14px;
}

.editor-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    height: 70%;
    width: 4px;
    background: #2563eb;
    border-radius: 4px;
}

/* Lists */
.editor-content ul {
    margin: 15px 0 20px 20px;
    padding: 0;
}

.editor-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}


/* Mobile */
@media (max-width: 768px) {
    .ai-blog-section {
        padding: 22px 18px;
    }

    .ai-blog-title {
        font-size: 24px;
    }

    .editor-content h2 {
        font-size: 20px;
    }
}

/* ==============================
   ICAI STYLE RESULT LIST
   ============================== */

.results-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    max-width: 900px;
    margin: 30px auto;
}

/* Section heading */
.section-title-icai {
    background: #f5f5f5;
    border-top: 4px solid #a0007d;
    padding: 8px 12px;
    font-weight: 800;
    color: #a0007d;
    font-size: 15px;
}

/* Each row */
.result-row {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}

/* Main line */
.result-main {
    font-size: 15px;
    color: #222;
    margin-bottom: 3px;
}

/* Green info line */
.result-sub {
    font-size: 13px;
    color: #0a8a2a;
    font-style: italic;
    margin-bottom: 6px;
}

/* Link */
.result-link {
    font-size: 13px;
    color: #0047ab;
    text-decoration: underline;
    font-weight: 600;
}

.result-link:hover {
    color: #a0007d;
}

/* Mobile */
@media (max-width: 768px) {
    .result-main {
        font-size: 14px;
    }
}

.start-btn {
    background-color: #a0007d !important;
    color: #fff !important;

}

.clear-btn {
    color: #a0007d !important;
    border: 1px solid #a0007d !important;
}