/* =========================================================
   Al-Qasim Foundation — Noorani Scholarship Portal
   Responsive, dependency-free and PageBuilder friendly
========================================================= */

.aqf-noorani-hero,
.aqf-noorani-page {
    --aqf-n-primary: var(--aqf-primary, #07536b);
    --aqf-n-dark: var(--aqf-primary-dark, #062f3e);
    --aqf-n-accent: var(--aqf-accent, #d97819);
    --aqf-n-bg: var(--aqf-bg, #f7faf6);
    --aqf-n-soft: var(--aqf-soft, #edf5f1);
    --aqf-n-white: #ffffff;
    --aqf-n-text: #183b48;
    --aqf-n-muted: #617984;
    --aqf-n-border: rgba(7, 83, 107, 0.11);
    --aqf-n-shadow: 0 18px 44px rgba(6, 47, 62, 0.09);
}

.aqf-noorani-hero *,
.aqf-noorani-page * {
    box-sizing: border-box;
}

.aqf-noorani-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 16% 20%, rgba(217, 120, 25, 0.24), transparent 30%),
        radial-gradient(circle at 82% 35%, rgba(255, 255, 255, 0.09), transparent 32%),
        linear-gradient(135deg, var(--aqf-n-dark), var(--aqf-n-primary));
}

.aqf-noorani-hero::before,
.aqf-noorani-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.aqf-noorani-hero::before {
    width: 360px;
    height: 360px;
    top: -190px;
    right: 7%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.aqf-noorani-hero::after {
    width: 230px;
    height: 230px;
    bottom: -145px;
    left: 8%;
    background: rgba(217, 120, 25, 0.1);
}

.aqf-noorani-hero .aqf-container,
.aqf-noorani-page .aqf-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.aqf-noorani-hero__content {
    max-width: 900px;
    margin-inline: auto;
    padding: 78px 0;
    color: var(--aqf-n-white);
    text-align: center;
}

.aqf-noorani-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 8px 16px;
    color: var(--aqf-n-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(217, 120, 25, 0.22);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.aqf-noorani-hero__content h1 {
    margin: 0 0 14px;
    color: var(--aqf-n-white);
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 900;
    line-height: 1.14;
}

.aqf-noorani-hero__content>p {
    max-width: 790px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 600;
    line-height: 1.85;
}

.aqf-noorani-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.aqf-noorani-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.aqf-noorani-btn:hover {
    transform: translateY(-2px);
}

.aqf-noorani-btn--accent {
    color: var(--aqf-n-white) !important;
    background: var(--aqf-n-accent);
    box-shadow: 0 12px 28px rgba(217, 120, 25, 0.28);
}

.aqf-noorani-btn--light {
    color: var(--aqf-n-dark) !important;
    background: var(--aqf-n-white);
}

.aqf-noorani-btn--outline {
    color: var(--aqf-n-white) !important;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.aqf-noorani-page {
    padding: 82px 0 92px;
    background: var(--aqf-n-bg);
}

.aqf-section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--aqf-n-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
}

.aqf-noorani-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: center;
    margin-bottom: 30px;
}

.aqf-noorani-intro h2,
.aqf-noorani-section-head h2,
.aqf-noorani-routine__head h2 {
    margin: 0;
    color: var(--aqf-n-dark);
    font-weight: 900;
    line-height: 1.28;
}

.aqf-noorani-intro h2 {
    margin-bottom: 15px;
    font-size: clamp(30px, 4vw, 43px);
}

.aqf-noorani-richtext,
.aqf-noorani-richtext p,
.aqf-noorani-section-head>p {
    color: var(--aqf-n-muted);
    font-size: 16px;
    line-height: 1.9;
}

.aqf-noorani-richtext p:last-child,
.aqf-noorani-richtext ul:last-child {
    margin-bottom: 0;
}

.aqf-noorani-richtext ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aqf-noorani-richtext li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 28px;
    color: var(--aqf-n-muted);
    line-height: 1.75;
}

.aqf-noorani-richtext li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--aqf-n-white);
    border-radius: 50%;
    background: var(--aqf-n-accent);
    font-size: 11px;
    font-weight: 900;
}

.aqf-noorani-summary {
    padding: 18px;
    border: 1px solid var(--aqf-n-border);
    border-radius: 24px;
    background: var(--aqf-n-white);
    box-shadow: var(--aqf-n-shadow);
}

.aqf-noorani-summary>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 15px;
    border-radius: 15px;
    background: var(--aqf-n-soft);
}

.aqf-noorani-summary>div+div {
    margin-top: 9px;
}

.aqf-noorani-summary__label {
    color: var(--aqf-n-muted);
    font-size: 13px;
    font-weight: 800;
}

.aqf-noorani-summary strong {
    color: var(--aqf-n-accent);
    font-size: 20px;
    font-weight: 900;
    text-align: right;
}

.aqf-noorani-summary>p {
    margin: 13px 4px 2px;
    color: var(--aqf-n-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
}

.aqf-noorani-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 32px 0 58px;
}

.aqf-noorani-guide-card,
.aqf-noorani-step,
.aqf-noorani-service-card,
.aqf-noorani-routine {
    border: 1px solid var(--aqf-n-border);
    background: var(--aqf-n-white);
    box-shadow: var(--aqf-n-shadow);
}

.aqf-noorani-guide-card {
    padding: 27px;
    border-radius: 20px;
}

.aqf-noorani-guide-card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--aqf-n-accent);
    border: 1px solid rgba(217, 120, 25, 0.16);
    border-radius: 16px;
    background: rgba(217, 120, 25, 0.1);
    font-size: 20px;
}

.aqf-noorani-guide-card h3 {
    margin: 0 0 12px;
    color: var(--aqf-n-dark);
    font-size: 22px;
    font-weight: 900;
}

.aqf-noorani-process,
.aqf-noorani-services {
    margin-bottom: 58px;
}

.aqf-noorani-section-head {
    max-width: 760px;
    margin: 0 auto 25px;
    text-align: center;
}

.aqf-noorani-section-head h2 {
    font-size: clamp(28px, 4vw, 38px);
}

.aqf-noorani-section-head>p {
    margin: 12px auto 0;
}

.aqf-noorani-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.aqf-noorani-step {
    position: relative;
    overflow: hidden;
    padding: 24px 20px;
    border-radius: 18px;
}

.aqf-noorani-step>span {
    display: block;
    margin-bottom: 17px;
    color: rgba(217, 120, 25, 0.26);
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.aqf-noorani-step h3 {
    margin: 0 0 8px;
    color: var(--aqf-n-dark);
    font-size: 18px;
    font-weight: 900;
}

.aqf-noorani-step p {
    margin: 0;
    color: var(--aqf-n-muted);
    font-size: 14px;
    line-height: 1.75;
}

.aqf-noorani-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.aqf-noorani-service-card {
    min-height: 132px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 22px;
    border-radius: 19px;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.aqf-noorani-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 120, 25, 0.26);
    box-shadow: 0 20px 46px rgba(6, 47, 62, 0.13);
}

.aqf-noorani-service-card>span {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--aqf-n-accent);
    border-radius: 16px;
    background: rgba(217, 120, 25, 0.1);
    font-size: 21px;
}

.aqf-noorani-service-card h3 {
    margin: 0 0 6px;
    color: var(--aqf-n-dark);
    font-size: 18px;
    font-weight: 900;
}

.aqf-noorani-service-card p {
    margin: 0;
    color: var(--aqf-n-muted);
    font-size: 13px;
    line-height: 1.65;
}

.aqf-noorani-service-card>i {
    color: var(--aqf-n-accent);
}

.aqf-noorani-routine {
    padding: 32px;
    border-radius: 24px;
}

.aqf-noorani-routine__head {
    margin-bottom: 23px;
}

.aqf-noorani-routine__head h2 {
    font-size: clamp(25px, 4vw, 33px);
}

.aqf-noorani-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.aqf-noorani-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 9px;
}

.aqf-noorani-table th {
    padding: 13px 15px;
    color: var(--aqf-n-dark);
    background: var(--aqf-n-soft);
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    white-space: nowrap;
}

.aqf-noorani-table td {
    padding: 15px;
    color: var(--aqf-n-text);
    border-top: 1px solid var(--aqf-n-border);
    border-bottom: 1px solid var(--aqf-n-border);
    background: var(--aqf-n-white);
    font-size: 14px;
    font-weight: 700;
}

.aqf-noorani-table td:first-child {
    border-left: 1px solid var(--aqf-n-border);
    border-radius: 12px 0 0 12px;
}

.aqf-noorani-table td:last-child {
    border-right: 1px solid var(--aqf-n-border);
    border-radius: 0 12px 12px 0;
}

.aqf-noorani-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    color: var(--aqf-n-white) !important;
    border-radius: 999px;
    background: var(--aqf-n-accent);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.aqf-noorani-muted {
    color: var(--aqf-n-muted);
}

.aqf-noorani-empty {
    max-width: 650px;
    margin-inline: auto;
    padding: 28px 0 18px;
    text-align: center;
}

.aqf-noorani-empty>span {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    color: var(--aqf-n-accent);
    border-radius: 50%;
    background: rgba(217, 120, 25, 0.1);
    font-size: 29px;
}

.aqf-noorani-empty h3 {
    margin: 0 0 9px;
    color: var(--aqf-n-dark);
    font-size: 23px;
    font-weight: 900;
}

.aqf-noorani-empty p {
    margin: 0;
    color: var(--aqf-n-muted);
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .aqf-noorani-hero {
        min-height: 390px;
    }

    .aqf-noorani-page {
        padding: 66px 0 74px;
    }

    .aqf-noorani-intro {
        grid-template-columns: 1fr;
    }

    .aqf-noorani-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .aqf-noorani-summary>div,
    .aqf-noorani-summary>div+div {
        display: block;
        margin: 0;
        text-align: center;
    }

    .aqf-noorani-summary strong {
        display: block;
        margin-top: 6px;
        text-align: center;
    }

    .aqf-noorani-summary>p {
        grid-column: 1 / -1;
    }

    .aqf-noorani-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aqf-noorani-services__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .aqf-noorani-guide-grid {
        grid-template-columns: 1fr;
    }

    .aqf-noorani-table,
    .aqf-noorani-table tbody,
    .aqf-noorani-table tr,
    .aqf-noorani-table td {
        display: block;
        width: 100%;
    }

    .aqf-noorani-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .aqf-noorani-table {
        border-spacing: 0;
    }

    .aqf-noorani-table tr {
        margin-bottom: 12px;
        padding: 8px 14px;
        border: 1px solid var(--aqf-n-border);
        border-radius: 14px;
        background: var(--aqf-n-white);
    }

    .aqf-noorani-table td,
    .aqf-noorani-table td:first-child,
    .aqf-noorani-table td:last-child {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px dashed var(--aqf-n-border);
        border-radius: 0;
    }

    .aqf-noorani-table td:last-child {
        border-bottom: 0;
    }

    .aqf-noorani-table td::before {
        content: attr(data-label);
        color: var(--aqf-n-muted);
        font-size: 12px;
        font-weight: 900;
    }
}

@media (max-width: 575px) {

    .aqf-noorani-hero .aqf-container,
    .aqf-noorani-page .aqf-container {
        width: min(100% - 24px, 1180px);
    }

    .aqf-noorani-hero {
        min-height: 360px;
    }

    .aqf-noorani-hero__content {
        padding: 58px 0;
    }

    .aqf-noorani-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .aqf-noorani-btn {
        width: 100%;
    }

    .aqf-noorani-page {
        padding: 50px 0 58px;
    }

    .aqf-noorani-summary {
        grid-template-columns: 1fr;
    }

    .aqf-noorani-summary>p {
        grid-column: auto;
    }

    .aqf-noorani-guide-grid,
    .aqf-noorani-process,
    .aqf-noorani-services {
        margin-bottom: 40px;
    }

    .aqf-noorani-guide-card,
    .aqf-noorani-step,
    .aqf-noorani-service-card {
        padding: 20px;
    }

    .aqf-noorani-process__grid {
        grid-template-columns: 1fr;
    }

    .aqf-noorani-routine {
        padding: 22px 14px;
        border-radius: 18px;
    }

    .aqf-noorani-service-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .aqf-noorani-service-card>span {
        width: 48px;
        height: 48px;
    }

    .aqf-noorani-service-card>i {
        display: none;
    }

    .aqf-noorani-table td,
    .aqf-noorani-table td:first-child,
    .aqf-noorani-table td:last-child {
        grid-template-columns: 95px minmax(0, 1fr);
    }
}



/*
|--------------------------------------------------------------------------
| Noorani Scholarship Subtle Effects
|--------------------------------------------------------------------------
*/

@media (hover: hover) and (pointer: fine) {

    .aqf-noorani-guide-card,
    .aqf-noorani-step,
    .aqf-noorani-service-card,
    .aqf-noorani-summary,
    .aqf-noorani-routine {
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
    }

    .aqf-noorani-guide-card:hover,
    .aqf-noorani-step:hover,
    .aqf-noorani-service-card:hover {
        transform: translateY(-7px);
        border-color: rgba(217, 120, 25, 0.30);
        box-shadow: 0 25px 55px rgba(6, 47, 62, 0.14);
    }

    .aqf-noorani-summary:hover {
        transform: translateY(-5px);
        box-shadow: 0 23px 50px rgba(6, 47, 62, 0.13);
    }

    .aqf-noorani-routine:hover {
        border-color: rgba(7, 83, 107, 0.24);
        box-shadow: 0 25px 58px rgba(6, 47, 62, 0.13);
    }

    .aqf-noorani-guide-card__icon,
    .aqf-noorani-service-card>i {
        transition:
            transform 0.25s ease,
            background-color 0.25s ease;
    }

    .aqf-noorani-guide-card:hover .aqf-noorani-guide-card__icon,
    .aqf-noorani-service-card:hover>i {
        transform: scale(1.08) rotate(-4deg);
    }

    .aqf-noorani-step>span {
        transition:
            transform 0.25s ease,
            color 0.25s ease;
    }

    .aqf-noorani-step:hover>span {
        transform: scale(1.08);
        color: #d97819;
    }
}