/* ============================================================
   AARSH INSTITUTE
   CLASS 10 NCERT SOLUTIONS
   FINAL CSS
============================================================ */

.ncert10-page {
    --yellow: #fdbe00;
    --red: #7a0c0f;
    --white: #ffffff;
    --black: #050505;
    --dark: #0a0a0a;
    --card: #111111;
    --border: rgba(255, 255, 255, 0.10);
    --muted: rgba(255, 255, 255, 0.65);

    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}


/* ============================================================
   CONTAINERS
============================================================ */

.ncert10-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ncert10-page .container-small {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}


/* ============================================================
   SAFE CUSTOM CURSOR
============================================================ */

.ncert10-page .light-cursor {
    position: fixed;
    left: 0;
    top: 0;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(253, 190, 0, 0.85);
    border-radius: 50%;

    pointer-events: none !important;

    z-index: 999999;

    opacity: 0;

    transform: translate3d(-100px, -100px, 0);

    transition:
        width 0.2s ease,
        height 0.2s ease,
        opacity 0.2s ease,
        border-color 0.2s ease;

    will-change: transform;
}

.ncert10-page .light-cursor::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--yellow);
}

.ncert10-page .light-cursor.active {
    opacity: 1;
}

.ncert10-page .light-cursor.hover {
    width: 48px;
    height: 48px;

    border-color: var(--yellow);
}


/* ============================================================
   HERO
============================================================ */

.ncert10-page .ncert10-hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;
}

.ncert10-page .hero-bg {
    position: absolute;
    inset: 0;

    z-index: -5;
}

.ncert10-page .hero-bg img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.ncert10-page .hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -4;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.84) 42%,
            rgba(0, 0, 0, 0.52) 72%,
            rgba(0, 0, 0, 0.62) 100%
        );
}

.ncert10-page .hero-grid {
    position: absolute;
    inset: 0;

    z-index: -3;

    opacity: 0.20;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85),
            transparent 95%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85),
            transparent 95%
        );
}

.ncert10-page .hero-content {
    position: relative;

    width: min(780px, 100%);

    padding: 100px 0 80px;
}

.ncert10-page .hero-badge {
    display: inline-flex;
    align-items: center;

    min-height: 34px;

    padding: 8px 16px;

    margin-bottom: 24px;

    border: 1px solid rgba(253, 190, 0, 0.32);
    border-radius: 999px;

    background: rgba(253, 190, 0, 0.08);

    color: var(--yellow);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.ncert10-page .hero-title {
    margin: 0;

    max-width: 780px;

    color: var(--white);

    font-size: clamp(58px, 7vw, 100px);
    line-height: 0.92;
    font-weight: 900;

    letter-spacing: -4px;
}

.ncert10-page .hero-title span {
    display: block;

    margin-top: 10px;

    color: var(--yellow);
}

.ncert10-page .hero-subtitle {
    max-width: 690px;

    margin: 30px 0 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
    line-height: 1.8;
}

.ncert10-page .hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}

.ncert10-page .primary-btn,
.ncert10-page .secondary-btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 26px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.ncert10-page .primary-btn {
    border: 1px solid var(--yellow);

    background: var(--yellow);
    color: #080808;
}

.ncert10-page .primary-btn:hover {
    transform: translateY(-3px);

    background: #ffd02f;
}

.ncert10-page .secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.ncert10-page .secondary-btn:hover {
    transform: translateY(-3px);

    border-color: var(--yellow);
}


/* ============================================================
   STATS
============================================================ */

.ncert10-page .stats-section {
    position: relative;

    padding: 0 0 40px;

    background: var(--black);
}

.ncert10-page .stats-grid {
    position: relative;

    z-index: 3;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #0c0c0c;

    transform: translateY(-45px);
}

.ncert10-page .stat-card {
    position: relative;

    min-height: 160px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 30px;

    border-right: 1px solid var(--border);
}

.ncert10-page .stat-card:last-child {
    border-right: 0;
}

.ncert10-page .stat-card h3 {
    margin: 0;

    color: var(--yellow);

    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.ncert10-page .stat-card p {
    margin: 12px 0 0;

    color: var(--muted);

    font-size: 14px;
}


/* ============================================================
   COMMON SECTIONS
============================================================ */

.ncert10-page .section-padding {
    position: relative;

    padding: 110px 0;

    background: var(--black);
}

.ncert10-page .dark-section {
    background: #080808;
}

.ncert10-page .section-heading {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}

.ncert10-page .mini-title {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--yellow);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2.5px;
}

.ncert10-page .section-heading h2 {
    margin: 0;

    color: var(--white);

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 900;

    letter-spacing: -2px;
}

.ncert10-page .section-heading h2 span {
    color: var(--yellow);
}

.ncert10-page .section-heading > p {
    max-width: 680px;

    margin: 20px auto 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}


/* ============================================================
   SUBJECT CARDS
============================================================ */

.ncert10-page .subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.ncert10-page .subject-card {
    position: relative;

    min-height: 210px;

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.01)
        );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.ncert10-page .subject-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background: var(--yellow);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.3s ease;
}

.ncert10-page .subject-card:hover {
    transform: translateY(-7px);

    border-color: rgba(253, 190, 0, 0.40);
}

.ncert10-page .subject-card:hover::before {
    transform: scaleX(1);
}

.ncert10-page .subject-card h3 {
    position: relative;

    margin: 0;

    color: var(--white);

    font-size: 22px;
    font-weight: 800;
}

.ncert10-page .subject-card p {
    position: relative;

    margin: 12px 0 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   IMPORTANT CHAPTERS
============================================================ */

.ncert10-page .chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.ncert10-page .chapter-card {
    min-height: 130px;

    display: flex;
    align-items: center;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #101010;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.ncert10-page .chapter-card:hover {
    transform: translateY(-5px);

    border-color: rgba(253, 190, 0, 0.40);

    background: #141414;
}

.ncert10-page .chapter-card h3 {
    margin: 0;

    color: var(--white);

    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
}


/* ============================================================
   BENEFITS
============================================================ */

.ncert10-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.ncert10-page .feature-card {
    min-height: 210px;

    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #0e0e0e;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.ncert10-page .feature-card:hover {
    transform: translateY(-7px);

    border-color: rgba(253, 190, 0, 0.42);
}

.ncert10-page .feature-card h3 {
    margin: 0;

    color: var(--yellow);

    font-size: 23px;
    font-weight: 800;
}

.ncert10-page .feature-card p {
    margin: 15px 0 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}


/* ============================================================
   LIVE NCERT RESOURCE GRID
============================================================ */

.ncert10-page .ncert10-resource-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}

.ncert10-page .ncert10-resource-card {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: #101010;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.ncert10-page .ncert10-resource-card:hover {
    transform: translateY(-7px);

    border-color: rgba(253, 190, 0, 0.42);
}


/* ============================================================
   RESOURCE COVER IMAGE
============================================================ */

.ncert10-page .ncert10-resource-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background: #151515;
}

.ncert10-page .ncert10-resource-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.ncert10-page
.ncert10-resource-card:hover
.ncert10-resource-image img {
    transform: scale(1.04);
}


/* ============================================================
   RESOURCE PLACEHOLDER
============================================================ */

.ncert10-page .ncert10-resource-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 14px;

    background:
        radial-gradient(
            circle at center,
            rgba(253, 190, 0, 0.08),
            transparent 60%
        ),
        #141414;

    color: var(--yellow);
}

.ncert10-page .ncert10-resource-placeholder svg {
    width: 46px;
    height: 46px;

    stroke-width: 1.6;
}

.ncert10-page .ncert10-resource-placeholder span {
    color: rgba(255, 255, 255, 0.70);

    font-size: 13px;
    font-weight: 700;
}


/* ============================================================
   RESOURCE CONTENT
============================================================ */

.ncert10-page .ncert10-resource-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 26px;
}

.ncert10-page .ncert10-resource-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 18px;
}

.ncert10-page .ncert10-resource-meta span {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 5px 11px;

    border: 1px solid rgba(253, 190, 0, 0.22);
    border-radius: 999px;

    background: rgba(253, 190, 0, 0.07);

    color: var(--yellow);

    font-size: 11px;
    font-weight: 800;
}

.ncert10-page .ncert10-resource-content h3 {
    margin: 0;

    color: var(--white);

    font-size: 23px;
    line-height: 1.35;
    font-weight: 850;

    overflow-wrap: anywhere;
}

.ncert10-page .ncert10-resource-content > p {
    margin: 14px 0 22px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;

    overflow-wrap: anywhere;
}


/* ============================================================
   DOWNLOAD BUTTON
============================================================ */

.ncert10-page .ncert10-download-btn {
    width: 100%;
    min-height: 52px;

    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 18px;

    border: 0;
    border-radius: 11px;

    background: var(--yellow);
    color: #080808;

    font: inherit;
    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.ncert10-page .ncert10-download-btn:hover {
    transform: translateY(-2px);

    background: #ffd02f;
}

.ncert10-page .ncert10-download-btn svg {
    width: 18px;
    height: 18px;
}


/* ============================================================
   EMPTY STATE
============================================================ */

.ncert10-page .ncert10-empty-state {
    width: min(620px, 100%);

    margin: 0 auto;

    padding: 60px 30px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #101010;
}

.ncert10-page .ncert10-empty-state svg {
    width: 48px;
    height: 48px;

    margin-bottom: 18px;

    color: var(--yellow);
}

.ncert10-page .ncert10-empty-state h3 {
    margin: 0;

    color: var(--white);

    font-size: 25px;
}

.ncert10-page .ncert10-empty-state p {
    margin: 12px 0 0;

    color: var(--muted);
}


/* ============================================================
   FAQ
============================================================ */

.ncert10-page .faq-wrapper {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.ncert10-page .faq-item {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #101010;

    transition: border-color 0.25s ease;
}

.ncert10-page .faq-item:hover,
.ncert10-page .faq-item.active {
    border-color: rgba(253, 190, 0, 0.40);
}

.ncert10-page .faq-question {
    min-height: 78px;

    display: flex;
    align-items: center;

    padding: 22px 26px;

    cursor: pointer;
}

.ncert10-page .faq-question h3 {
    margin: 0;

    color: var(--white);

    font-size: 17px;
    line-height: 1.5;
}


/* ============================================================
   FINAL CTA
============================================================ */

.ncert10-page .final-cta {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(253, 190, 0, 0.10),
            transparent 38%
        ),
        #070707;
}

.ncert10-page .final-cta h2 {
    max-width: 900px;

    margin: 0 auto;

    color: var(--white);

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 900;

    letter-spacing: -2px;
}

.ncert10-page .final-cta h2 span {
    color: var(--yellow);
}

.ncert10-page .final-cta p {
    max-width: 650px;

    margin: 22px auto 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}

.ncert10-page .cta-buttons {
    justify-content: center;
}


/* ============================================================
   DOWNLOAD MODAL
============================================================ */

.ncert10-page .ncert10-modal {
    position: fixed;
    inset: 0;

    z-index: 999990;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.ncert10-page .ncert10-modal.active {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}

.ncert10-page .ncert10-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ncert10-page .ncert10-modal-dialog {
    position: relative;

    z-index: 2;

    width: min(680px, 100%);
    max-height: calc(100vh - 40px);

    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 34px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;

    background: #0e0e0e;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.65);

    transform: translateY(18px) scale(0.98);

    transition: transform 0.25s ease;
}

.ncert10-page
.ncert10-modal.active
.ncert10-modal-dialog {
    transform: translateY(0) scale(1);
}


/* ============================================================
   MODAL CLOSE
============================================================ */

.ncert10-page .ncert10-modal-close {
    position: absolute;

    right: 18px;
    top: 18px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: #151515;
    color: var(--white);

    cursor: pointer;

    z-index: 4;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.ncert10-page .ncert10-modal-close:hover {
    background: var(--yellow);
    color: #000;
}

.ncert10-page .ncert10-modal-close svg {
    width: 19px;
    height: 19px;
}


/* ============================================================
   MODAL HEADER
============================================================ */

.ncert10-page .ncert10-modal-header {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding-right: 45px;
}

.ncert10-page .ncert10-modal-icon {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--yellow);
    color: #080808;
}

.ncert10-page .ncert10-modal-icon svg {
    width: 24px;
    height: 24px;
}

.ncert10-page .ncert10-modal-label {
    display: block;

    margin-bottom: 6px;

    color: var(--yellow);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.6px;
}

.ncert10-page .ncert10-modal-header h2 {
    margin: 0;

    color: var(--white);

    font-size: 27px;
    line-height: 1.2;
    font-weight: 900;
}

.ncert10-page .ncert10-modal-header p {
    margin: 9px 0 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}


/* ============================================================
   SELECTED MATERIAL
============================================================ */

.ncert10-page .ncert10-selected-material {
    margin-top: 25px;

    padding: 17px 18px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    border: 1px solid rgba(253, 190, 0, 0.18);
    border-radius: 12px;

    background: rgba(253, 190, 0, 0.05);
}

.ncert10-page .ncert10-selected-material > span {
    color: var(--muted);

    font-size: 11px;
    font-weight: 700;
}

.ncert10-page .ncert10-selected-material strong {
    color: var(--white);

    font-size: 16px;

    overflow-wrap: anywhere;
}

.ncert10-page .ncert10-selected-material small {
    color: var(--yellow);

    font-size: 12px;
}


/* ============================================================
   DOWNLOAD FORM
============================================================ */

.ncert10-page .ncert10-download-form {
    margin-top: 24px;
}

.ncert10-page .ncert10-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 17px;
}

.ncert10-page .ncert10-form-group {
    min-width: 0;
}

.ncert10-page .ncert10-form-full {
    grid-column: 1 / -1;
}

.ncert10-page .ncert10-form-group label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 12px;
    font-weight: 800;
}

.ncert10-page .ncert10-form-group input,
.ncert10-page .ncert10-form-group select {
    width: 100%;
    min-height: 50px;

    padding: 0 15px;

    outline: none;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    background: #151515;
    color: var(--white);

    font: inherit;
    font-size: 14px;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.ncert10-page .ncert10-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.ncert10-page .ncert10-form-group input:focus,
.ncert10-page .ncert10-form-group select:focus {
    border-color: rgba(253, 190, 0, 0.72);

    box-shadow:
        0 0 0 3px rgba(253, 190, 0, 0.08);
}

.ncert10-page .ncert10-form-group select {
    cursor: pointer;
}


/* ============================================================
   CONSENT
============================================================ */

.ncert10-page .ncert10-consent {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 20px;

    cursor: pointer;
}

.ncert10-page .ncert10-consent input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin-top: 2px;

    accent-color: var(--yellow);
}

.ncert10-page .ncert10-consent span {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}


/* ============================================================
   FORM MESSAGE
============================================================ */

.ncert10-page .ncert10-form-message {
    display: none;

    margin-top: 18px;

    padding: 12px 14px;

    border-radius: 9px;

    font-size: 12px;
    line-height: 1.5;
}

.ncert10-page .ncert10-form-message:not(:empty) {
    display: block;
}

.ncert10-page .ncert10-form-message.error {
    border: 1px solid rgba(255, 80, 80, 0.30);

    background: rgba(255, 70, 70, 0.08);

    color: #ff9696;
}

.ncert10-page .ncert10-form-message.success {
    border: 1px solid rgba(73, 220, 130, 0.30);

    background: rgba(73, 220, 130, 0.08);

    color: #8ef0b2;
}


/* ============================================================
   SUBMIT BUTTON
============================================================ */

.ncert10-page .ncert10-submit-btn {
    width: 100%;
    min-height: 54px;

    margin-top: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 0;
    border-radius: 11px;

    background: var(--yellow);
    color: #080808;

    font: inherit;
    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.ncert10-page .ncert10-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);

    background: #ffd02f;
}

.ncert10-page .ncert10-submit-btn:disabled {
    cursor: wait;

    opacity: 0.65;
}

.ncert10-page .ncert10-submit-btn svg {
    width: 18px;
    height: 18px;
}


/* ============================================================
   REVEAL ANIMATION
============================================================ */

.ncert10-page .reveal-up {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ncert10-page .reveal-up.active {
    opacity: 1;

    transform: translateY(0);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1024px) {

    .ncert10-page .ncert10-hero {
        min-height: 650px;
    }

    .ncert10-page .hero-title {
        font-size: clamp(54px, 8vw, 78px);
    }

    .ncert10-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ncert10-page .stat-card:nth-child(2) {
        border-right: 0;
    }

    .ncert10-page .stat-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .ncert10-page .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ncert10-page .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ncert10-page .ncert10-resource-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .ncert10-page .container,
    .ncert10-page .container-small {
        width: min(100% - 30px, 1180px);
    }


    /* CURSOR OFF */

    .ncert10-page .light-cursor {
        display: none !important;
    }


    /* HERO */

    .ncert10-page .ncert10-hero {
        min-height: 620px;

        align-items: flex-end;
    }

    .ncert10-page .hero-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.52) 0%,
                rgba(0, 0, 0, 0.78) 48%,
                rgba(0, 0, 0, 0.98) 100%
            );
    }

    .ncert10-page .hero-grid {
        background-size: 45px 45px;
    }

    .ncert10-page .hero-content {
        padding: 120px 0 65px;
    }

    .ncert10-page .hero-badge {
        margin-bottom: 18px;

        font-size: 10px;
    }

    .ncert10-page .hero-title {
        font-size: clamp(47px, 14vw, 68px);

        letter-spacing: -2.5px;
    }

    .ncert10-page .hero-subtitle {
        margin-top: 22px;

        font-size: 15px;
        line-height: 1.7;
    }

    .ncert10-page .hero-buttons {
        flex-direction: column;

        margin-top: 27px;
    }

    .ncert10-page .primary-btn,
    .ncert10-page .secondary-btn {
        width: 100%;

        box-sizing: border-box;
    }


    /* STATS */

    .ncert10-page .stats-section {
        padding-bottom: 20px;
    }

    .ncert10-page .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        transform: translateY(-25px);

        border-radius: 15px;
    }

    .ncert10-page .stat-card {
        min-height: 125px;

        padding: 22px 18px;
    }

    .ncert10-page .stat-card h3 {
        font-size: 34px;
    }

    .ncert10-page .stat-card p {
        font-size: 12px;
        line-height: 1.4;
    }


    /* SECTIONS */

    .ncert10-page .section-padding {
        padding: 78px 0;
    }

    .ncert10-page .section-heading {
        margin-bottom: 38px;
    }

    .ncert10-page .section-heading h2 {
        font-size: clamp(34px, 10vw, 46px);

        letter-spacing: -1.5px;
    }

    .ncert10-page .section-heading > p {
        font-size: 14px;
    }


    /* SUBJECTS */

    .ncert10-page .subject-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .ncert10-page .subject-card {
        min-height: 165px;

        padding: 25px;
    }


    /* CHAPTERS */

    .ncert10-page .chapter-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .ncert10-page .chapter-card {
        min-height: 100px;

        padding: 22px;
    }


    /* BENEFITS */

    .ncert10-page .feature-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .ncert10-page .feature-card {
        min-height: auto;

        padding: 27px;
    }


    /* LIVE RESOURCES */

    .ncert10-page .ncert10-resource-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .ncert10-page .ncert10-resource-card {
        border-radius: 17px;
    }

    .ncert10-page .ncert10-resource-image {
        aspect-ratio: 16 / 10;
    }

    .ncert10-page .ncert10-resource-content {
        padding: 22px;
    }

    .ncert10-page .ncert10-resource-content h3 {
        font-size: 21px;
    }


    /* CTA */

    .ncert10-page .final-cta {
        padding: 85px 0;
    }

    .ncert10-page .final-cta h2 {
        font-size: clamp(36px, 10vw, 48px);
    }


    /* MODAL */

    .ncert10-page .ncert10-modal {
        padding: 10px;

        align-items: flex-end;
    }

    .ncert10-page .ncert10-modal-dialog {
        width: 100%;

        max-height: calc(100dvh - 20px);

        padding: 26px 18px 22px;

        border-radius: 20px 20px 12px 12px;
    }

    .ncert10-page .ncert10-modal-close {
        right: 14px;
        top: 14px;

        width: 38px;
        height: 38px;
    }

    .ncert10-page .ncert10-modal-header {
        padding-right: 38px;

        gap: 13px;
    }

    .ncert10-page .ncert10-modal-icon {
        flex-basis: 45px;

        width: 45px;
        height: 45px;
    }

    .ncert10-page .ncert10-modal-header h2 {
        font-size: 21px;
    }

    .ncert10-page .ncert10-modal-header p {
        font-size: 12px;
    }

    .ncert10-page .ncert10-selected-material {
        margin-top: 20px;
    }

    .ncert10-page .ncert10-form-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .ncert10-page .ncert10-form-full {
        grid-column: auto;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 420px) {

    .ncert10-page .container,
    .ncert10-page .container-small {
        width: calc(100% - 24px);
    }

    .ncert10-page .hero-title {
        font-size: 44px;
    }

    .ncert10-page .stats-grid {
        grid-template-columns: 1fr;
    }

    .ncert10-page .stat-card {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
    }

    .ncert10-page .stat-card:last-child {
        border-bottom: 0;
    }

}


/* ============================================================
   TOUCH DEVICES
   CURSOR COMPLETELY DISABLED
============================================================ */

@media (hover: none),
       (pointer: coarse) {

    .ncert10-page .light-cursor {
        display: none !important;
    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ncert10-page *,
    .ncert10-page *::before,
    .ncert10-page *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .ncert10-page .reveal-up {
        opacity: 1;

        transform: none;
    }

}