/* =========================================================
   QGDP CURRICULUM
   PAGE-SPECIFIC CSS
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --qgdp-navy: #273480;
    --qgdp-dark: #1d2868;
    --qgdp-blue: #2b86b3;

    --qgdp-green: #83b52d;
    --qgdp-gold: #c5a253;

    --qgdp-text: #444;
    --qgdp-muted: #666;

    --qgdp-light: #f6f8fa;
    --qgdp-border: rgba(39,52,128,.12);

}


/* =========================================================
   PAGE BASE
   ========================================================= */

.qgdp-curriculum-hero,
.qgdp-approach-section,
.qgdp-academic-section,
.qgdp-tahfiz-section,
.qgdp-tarbiyyah-section,
.qgdp-journey-section,
.qgdp-aim-section,
.qgdp-closing-section {

    position: relative;

    overflow: hidden;

}


/* =========================================================
   HERO
   ========================================================= */

.qgdp-curriculum-hero {
    min-height: 560px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 150px 0 ;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            var(--qgdp-navy) 0%,
            var(--qgdp-dark) 100%
        );
}


.qgdp-curriculum-hero::before {

    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: -360px;
    left: -250px;

    border-radius: 50%;

    border: 1px solid rgba(197,162,83,.25);

}


.qgdp-curriculum-hero::after {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -240px;
    bottom: -290px;

    border-radius: 50%;

    border: 1px solid rgba(197,162,83,.25);

}


.qgdp-curriculum-hero-pattern {

    position: absolute;

    inset: 0;

    opacity: .08;

    background-image:
        radial-gradient(
            circle at 20% 20%,
            #fff 1px,
            transparent 1px
        );

    background-size: 30px 30px;

}


.qgdp-curriculum-hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    transform: translateY(25px);

}

.qgdp-curriculum-hero-label {

    display: inline-block;

    margin-bottom: 18px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--qgdp-gold);

}


.qgdp-curriculum-hero h1 {

    margin: 0;

    font-size: clamp(44px, 6vw, 72px);

    line-height: 1.06;

    font-weight: 800;

    color: #fff;

}


.qgdp-curriculum-hero h1 span {

    display: block;

    color: var(--qgdp-gold);

}


.qgdp-curriculum-hero p {

    max-width: 760px;

    margin: 24px auto 0;

    font-size: 16px;

    line-height: 1.8;

    color: rgba(255,255,255,.88);

}


.qgdp-hero-scroll {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 30px;

    padding: 12px 22px;

    border: 1px solid rgba(197,162,83,.55);

    border-radius: 50px;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: all .3s ease;

}


.qgdp-hero-scroll:hover {

    background: var(--qgdp-gold);

    border-color: var(--qgdp-gold);

    color: #fff;

    transform: translateY(-3px);

}


.qgdp-hero-scroll i {

    font-size: 16px;

    animation: qgdpBounce 1.8s infinite;

}


@keyframes qgdpBounce {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(5px);

    }

}


/* =========================================================
   SECTION COMMON
   ========================================================= */

.qgdp-approach-section,
.qgdp-academic-section,
.qgdp-tahfiz-section,
.qgdp-tarbiyyah-section,
.qgdp-journey-section {

    padding: 95px 0;

}


.qgdp-section-heading {

    max-width: 850px;

    margin: 0 auto 55px;

}


.qgdp-section-heading:not(.text-center) {

    margin-left: 0;

}


.qgdp-section-label {

    display: inline-block;

    margin-bottom: 12px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    color: var(--qgdp-gold);

}


.qgdp-section-heading h2 {

    margin: 0 0 18px;

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.12;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-section-heading p {

    margin: 10px auto 0;

    font-size: 16px;

    line-height: 1.8;

    color: var(--qgdp-muted);

}


.qgdp-section-heading:not(.text-center) p {

    margin-left: 0;

}


/* =========================================================
   APPROACH
   ========================================================= */

.qgdp-approach-section {

    background: #fff;

}


.qgdp-area-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.qgdp-area-card {

    position: relative;

    min-height: 420px;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 38px 32px;

    overflow: hidden;

    border: 1px solid var(--qgdp-border);

    border-radius: 20px;

    background: #fff;

    text-align: center;

    text-decoration: none;

    box-shadow:
        0 12px 35px rgba(39,52,128,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}


.qgdp-area-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 22px 50px rgba(39,52,128,.13);

}


.qgdp-area-card::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 5px;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform .35s ease;

}


.qgdp-area-card:hover::after {

    transform: scaleX(1);

}


.qgdp-area-card.academic::after {

    background: var(--qgdp-green);

}


.qgdp-area-card.tahfiz::after {

    background: var(--qgdp-gold);

}


.qgdp-area-card.tarbiyyah::after {

    background: var(--qgdp-blue);

}


.qgdp-area-icon {

    width: 88px;
    height: 88px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    color: #fff;

    font-size: 38px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.12);

}


.qgdp-area-card.academic .qgdp-area-icon {

    background: var(--qgdp-green);

}


.qgdp-area-card.tahfiz .qgdp-area-icon {

    background: var(--qgdp-gold);

}


.qgdp-area-card.tarbiyyah .qgdp-area-icon {

    background: var(--qgdp-blue);

}


.qgdp-area-number {

    margin-bottom: 12px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #aaa;

}


.qgdp-area-card h3 {

    margin: 0 0 16px;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-area-card p {

    margin: 0;

    font-size: 15px;

    line-height: 1.75;

    color: var(--qgdp-muted);

}


.qgdp-area-link {

    margin-top: auto;

    padding-top: 25px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-area-link i {

    transition: transform .25s ease;

}


.qgdp-area-card:hover
.qgdp-area-link i {

    transform: translateX(5px);

}


/* =========================================================
   ACADEMIC
   ========================================================= */

.qgdp-academic-section {

    background: var(--qgdp-light);

}


.qgdp-academic-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

}


.qgdp-content-card {

    position: relative;

    padding: 35px;

    border: 1px solid var(--qgdp-border);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(39,52,128,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.qgdp-content-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(39,52,128,.10);

}


.qgdp-wide-card {

    min-height: 260px;

}


.qgdp-content-card-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background:
        rgba(39,52,128,.08);

    color: var(--qgdp-navy);

    font-size: 25px;

}


.qgdp-card-label {

    display: block;

    margin-bottom: 8px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--qgdp-gold);

}


.qgdp-content-card h3 {

    margin: 0 0 20px;

    font-size: 25px;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-content-card p {

    margin: 0 0 14px;

    font-size: 15px;

    line-height: 1.8;

    color: var(--qgdp-muted);

}


.qgdp-content-card p:last-child {

    margin-bottom: 0;

}


.qgdp-check-list {

    display: flex;

    flex-direction: column;

    gap: 13px;

    margin: 0;

    padding: 0;

    list-style: none;

}


.qgdp-check-list li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 15px;

    line-height: 1.55;

    color: #555;

}


.qgdp-check-list li i {

    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--qgdp-green);

}


/* =========================================================
   TAHFIZ
   ========================================================= */

.qgdp-tahfiz-section {

    background: #fff;

}


.qgdp-tahfiz-structure {

    max-width: 900px;

    margin: 0 auto 55px;

    text-align: center;

}


.qgdp-structure-main {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 18px 30px;

    border-radius: 50px;

    background: var(--qgdp-navy);

    color: #fff;

    font-size: 18px;

    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(39,52,128,.18);

}


.qgdp-structure-main i {

    color: var(--qgdp-gold);

    font-size: 24px;

}


.qgdp-structure-connector {

    width: 2px;

    height: 35px;

    margin: 0 auto;

    background: var(--qgdp-gold);

}


.qgdp-structure-level,
.qgdp-structure-sublevel {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

}


.qgdp-structure-sublevel {

    max-width: 700px;

    margin: 20px auto 0;

}


.qgdp-structure-item {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 65px;

    padding: 15px 20px;

    border: 1px solid var(--qgdp-border);

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(39,52,128,.06);

    font-size: 14px;

    font-weight: 700;

    color: var(--qgdp-navy);

}


.qgdp-structure-item i {

    font-size: 20px;

    color: var(--qgdp-gold);

}


.qgdp-tahfiz-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.qgdp-tahfiz-card {

    display: flex;

    flex-direction: column;

    padding: 32px;

    border: 1px solid var(--qgdp-border);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(39,52,128,.07);

}


.qgdp-tahfiz-card-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    font-size: 25px;

    color: #fff;

}


.qgdp-tahfiz-card.morning
.qgdp-tahfiz-card-icon {

    background: var(--qgdp-green);

}


.qgdp-tahfiz-card.quarantine
.qgdp-tahfiz-card-icon {

    background: var(--qgdp-gold);

}


.qgdp-tahfiz-card.camp
.qgdp-tahfiz-card-icon {

    background: var(--qgdp-blue);

}


.qgdp-tahfiz-card h3 {

    margin: 0 0 15px;

    font-size: 24px;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-tahfiz-card > p {

    margin: 0 0 20px;

    font-size: 15px;

    line-height: 1.8;

    color: var(--qgdp-muted);

}


.qgdp-info-box {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: auto;

    padding: 15px;

    border-radius: 12px;

    background: #f4f7f9;

}


.qgdp-info-box i {

    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--qgdp-blue);

}


.qgdp-info-box p {

    margin: 0;

    font-size: 13px;

    line-height: 1.6;

    color: #666;

}


.qgdp-tahfiz-note {

    max-width: 900px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 30px auto 0;

    padding: 16px 20px;

    border-radius: 12px;

    background: #eef4f8;

    text-align: center;

}


.qgdp-tahfiz-note i {

    color: var(--qgdp-blue);

}


.qgdp-tahfiz-note p {

    margin: 0;

    font-size: 13px;

    line-height: 1.6;

    color: #555;

}


.qgdp-main-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 23px;

    border-radius: 50px;

    background: var(--qgdp-navy);

    color: #fff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    transition: all .3s ease;

}


.qgdp-main-button:hover {

    background: var(--qgdp-gold);

    color: #fff;

    transform: translateY(-3px);

}


/* =========================================================
   TARBIYYAH
   ========================================================= */

.qgdp-tarbiyyah-section {

    background:
        linear-gradient(
            180deg,
            #f7f8fa 0%,
            #fff 100%
        );

}


.qgdp-tarbiyyah-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.qgdp-tarbiyyah-card {

    padding: 32px;

    border: 1px solid var(--qgdp-border);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(39,52,128,.07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.qgdp-tarbiyyah-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 18px 42px rgba(39,52,128,.11);

}


.qgdp-tarbiyyah-icon {

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 15px;

    background: rgba(39,52,128,.08);

    color: var(--qgdp-navy);

    font-size: 25px;

}


.qgdp-tarbiyyah-card h3 {

    margin: 0 0 20px;

    font-size: 24px;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-tarbiyyah-card > p {

    margin: 0;

    font-size: 15px;

    line-height: 1.8;

    color: var(--qgdp-muted);

}


/* =========================================================
   EDUCATIONAL JOURNEY
   ========================================================= */

.qgdp-journey-section {

    background: #fff;

}


.qgdp-journey-timeline {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

}


.qgdp-journey-timeline::before {

    content: "";

    position: absolute;

    top: 49px;

    left: 10%;

    right: 10%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--qgdp-gold),
            rgba(197,162,83,.25)
        );

}


.qgdp-journey-item {

    position: relative;

    z-index: 2;

    text-align: center;

}


.qgdp-journey-number {

    margin-bottom: 8px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #aaa;

}


.qgdp-journey-icon {

    width: 100px;
    height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    border: 5px solid #fff;

    border-radius: 50%;

    background: var(--qgdp-navy);

    color: #fff;

    font-size: 34px;

    box-shadow:
        0 0 0 2px var(--qgdp-gold),
        0 10px 25px rgba(39,52,128,.14);

    transition:
        transform .3s ease,
        background .3s ease;

}


.qgdp-journey-item:hover
.qgdp-journey-icon {

    transform: translateY(-6px);

    background: var(--qgdp-gold);

}


.qgdp-journey-content > span {

    display: block;

    margin-bottom: 7px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--qgdp-gold);

}


.qgdp-journey-content h3 {

    margin: 0 0 10px;

    font-size: 20px;

    font-weight: 800;

    color: var(--qgdp-navy);

}


.qgdp-journey-content p {

    max-width: 230px;

    margin: 0 auto;

    font-size: 13px;

    line-height: 1.65;

    color: var(--qgdp-muted);

}


/* =========================================================
   OUR AIM
   ========================================================= */

.qgdp-aim-section {

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            var(--qgdp-navy),
            var(--qgdp-dark)
        );

}


.qgdp-aim-card {

    max-width: 1050px;

    margin: 0 auto;

    padding: 65px 55px;

    border: 1px solid rgba(197,162,83,.35);

    border-radius: 24px;

    background:
        rgba(255,255,255,.05);

    text-align: center;

}


.qgdp-aim-card .qgdp-section-label {

    color: var(--qgdp-gold);

}


.qgdp-aim-card h2 {

    margin: 0 0 20px;

    font-size: clamp(32px, 4vw, 52px);

    font-weight: 800;

    color: #fff;

}


.qgdp-aim-card > p {

    max-width: 780px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.8;

    color: rgba(255,255,255,.85);

}


.qgdp-aim-values {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;

    margin-top: 40px;

}


.qgdp-aim-value {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 120px;

    padding: 20px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 15px;

    background:
        rgba(255,255,255,.04);

}


.qgdp-aim-value i {

    font-size: 25px;

    color: var(--qgdp-gold);

}


.qgdp-aim-value span {

    font-size: 13px;

    font-weight: 700;

    color: #fff;

}


/* =========================================================
   CLOSING
   ========================================================= */

.qgdp-closing-section {

    padding: 55px 0;

    background: #fff;

}


.qgdp-closing {

    max-width: 900px;

    margin: 0 auto;

    text-align: center;

}


.qgdp-closing > i {

    display: block;

    margin-bottom: 15px;

    font-size: 30px;

    color: var(--qgdp-gold);

}


.qgdp-closing p {

    margin: 0;

    font-size: clamp(19px, 2.5vw, 27px);

    line-height: 1.6;

    font-weight: 700;

    color: var(--qgdp-navy);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {


    .qgdp-approach-section,
    .qgdp-academic-section,
    .qgdp-tahfiz-section,
    .qgdp-tarbiyyah-section,
    .qgdp-journey-section {

        padding: 75px 0;

    }


    .qgdp-area-grid {

        grid-template-columns:
            1fr;

        max-width: 650px;

        margin: 0 auto;

    }


    .qgdp-area-card {

        min-height: 360px;

    }


    .qgdp-tahfiz-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .qgdp-tahfiz-card.morning {

        grid-column:
            1 / -1;

    }


    .qgdp-tarbiyyah-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .qgdp-tarbiyyah-card.community {

        grid-column:
            1 / -1;

    }


    .qgdp-journey-timeline {

        grid-template-columns:
            1fr 1fr;

        gap: 45px 20px;

    }


    .qgdp-journey-timeline::before {

        display: none;

    }


    .qgdp-aim-values {

        grid-template-columns:
            1fr 1fr;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {


    .qgdp-curriculum-hero {

        min-height: 500px;

        padding:
            80px 20px;

    }


    .qgdp-curriculum-hero h1 {

        font-size: 40px;

    }


    .qgdp-curriculum-hero p {

        font-size: 14px;

    }


    .qgdp-section-heading {

        margin-bottom: 38px;

    }


    .qgdp-section-heading h2 {

        font-size: 32px;

    }


    .qgdp-academic-grid {

        grid-template-columns:
            1fr;

    }


    .qgdp-wide-card {

        min-height: auto;

    }


    .qgdp-structure-level,
    .qgdp-structure-sublevel {

        grid-template-columns:
            1fr;

    }


    .qgdp-tahfiz-grid {

        grid-template-columns:
            1fr;

    }


    .qgdp-tahfiz-card.morning {

        grid-column:
            auto;

    }


    .qgdp-tarbiyyah-grid {

        grid-template-columns:
            1fr;

    }


    .qgdp-tarbiyyah-card.community {

        grid-column:
            auto;

    }


    .qgdp-aim-card {

        padding:
            45px 25px;

    }


    .qgdp-aim-values {

        grid-template-columns:
            1fr 1fr;

    }


    .qgdp-journey-timeline {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {


    .qgdp-curriculum-hero {

        min-height: 470px;

    }


    .qgdp-curriculum-hero h1 {

        font-size: 35px;

    }


    .qgdp-curriculum-hero-label {

        font-size: 10px;

        letter-spacing: 1.5px;

    }


    .qgdp-area-card,
    .qgdp-content-card,
    .qgdp-tahfiz-card,
    .qgdp-tarbiyyah-card {

        padding:
            27px 22px;

    }


    .qgdp-aim-values {

        grid-template-columns:
            1fr;

    }


    .qgdp-structure-main {

        padding:
            15px 20px;

        font-size: 15px;

    }

}