/* =========================================================
   SPDU PAGE
   Student Potential Development Unit
   ========================================================= */

.spdu-page-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #273480 0%, #1d2869 100%);
}

.spdu-page-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    bottom: -260px;
    border-radius: 50%;
    border: 1px solid rgba(197, 162, 83, 0.25);
}

.spdu-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.spdu-eyebrow,
.spdu-section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    color: #c5a253;
}

.spdu-acronym {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 6px;
    color: rgba(255,255,255,.7);
}

.spdu-page-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
}

.spdu-page-hero h1 span {
    display: block;
    color: #c5a253;
}

.spdu-page-hero p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.spdu-introduction,
.spdu-focus,
.spdu-services,
.spdu-closing {
    padding: 95px 0;
}

.spdu-introduction,
.spdu-services {
    background: #fff;
}

.spdu-focus,
.spdu-closing {
    background: #f8fafc;
}

.spdu-section-heading {
    max-width: 800px;
    margin: 0 auto 48px;
}

.spdu-section-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(31px,4vw,46px);
    font-weight: 800;
    line-height: 1.15;
    color: #273480;
}

.spdu-section-heading > p {
    max-width: 730px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #5f6470;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.tahfiz-introduction {

    padding: 95px 0 100px;

    background: #fff;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.tahfiz-section-heading {

    max-width: 900px;

    margin: 0 auto 45px;

    text-align: center;
}


.tahfiz-section-heading > span {

    display: inline-block;

    margin-bottom: 12px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;

    color: var(--tahfiz-gold);
}


.tahfiz-section-heading h2 {

    margin: 0;

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 800;

    line-height: 1.15;

    color: var(--tahfiz-navy);
}


/* =========================================================
   INTRO IMAGE
   ========================================================= */

.tahfiz-intro-image {

    width: 100%;

    max-width: 1100px;

    height: 480px;

    margin: 0 auto 50px;

    overflow: hidden;

    border-radius: 24px;

    background: var(--tahfiz-light);

    box-shadow:
        0 20px 50px rgba(39,52,128,.10);
}


.tahfiz-intro-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.tahfiz-intro-image:hover img {

    transform: scale(1.02);
}


/* =========================================================
   INTRODUCTION COPY
   ========================================================= */

.tahfiz-intro-copy {

    max-width: 900px;

    margin: 0 auto;

    text-align: justify;
}


.tahfiz-intro-copy p {

    margin: 0 0 20px;

    font-size: 16px;

    line-height: 1.9;

    color: var(--tahfiz-text);
}


.tahfiz-intro-copy p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .tahfiz-introduction {

        padding: 65px 0 70px;
    }


    .tahfiz-section-heading {

        margin-bottom: 30px;
    }


    .tahfiz-section-heading h2 {

        font-size: 32px;
    }


    .tahfiz-intro-image {

        height: 300px;

        margin-bottom: 35px;

        border-radius: 18px;
    }


    .tahfiz-intro-copy p {

        font-size: 15px;

        line-height: 1.8;
    }

}


@media (max-width: 575.98px) {

    .tahfiz-intro-image {

        height: 240px;

        border-radius: 16px;
    }


    .tahfiz-section-heading h2 {

        font-size: 29px;
    }

}


/* =========================================================
   FOCUS
   ========================================================= */

.spdu-focus-card {
    height: 100%;
    padding: 35px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(39,52,128,.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(39,52,128,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.spdu-focus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(39,52,128,.12);
}

.spdu-focus-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: rgba(39,52,128,.07);
    font-size: 24px;
    color: #273480;
}

.spdu-focus-number {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #c5a253;
}

.spdu-focus-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 800;
    color: #273480;
}

.spdu-focus-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #5f6470;
}


/* =========================================================
   SERVICE SELECTOR
   ========================================================= */

.spdu-service-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.spdu-service-card {
    position: relative;
    width: 100%;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid rgba(39,52,128,.09);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(39,52,128,.05);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.spdu-service-card:hover,
.spdu-service-card.active {
    transform: translateY(-4px);
    border-color: rgba(197,162,83,.55);
    box-shadow: 0 14px 32px rgba(39,52,128,.10);
}

.spdu-service-card.active {
    background: #f8fafc;
}

.spdu-service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 13px;
    background: rgba(39,52,128,.07);
    font-size: 20px;
    color: #273480;
}

.spdu-service-number {
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    color: #c5a253;
}

.spdu-service-card strong {
    padding-right: 20px;
    font-size: 16px;
    line-height: 1.45;
    color: #273480;
}

.spdu-service-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 16px;
    color: #273480;
}


/* =========================================================
   SERVICE DISPLAY
   ========================================================= */

.spdu-service-display {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    max-width: 1100px;
    margin: 30px auto 0;
    overflow: hidden;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(39,52,128,.08);
    box-shadow: 0 15px 45px rgba(39,52,128,.07);
}

.spdu-service-image-wrap {
    min-height: 390px;
    overflow: hidden;
    background: #e9edf5;
}

.spdu-service-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s ease, transform .5s ease;
}

.spdu-service-display:hover img {
    transform: scale(1.025);
}

.spdu-service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
}

.spdu-service-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #c5a253;
}

.spdu-service-info h3 {
    margin: 0 0 18px;
    font-size: clamp(27px,3vw,38px);
    font-weight: 800;
    line-height: 1.2;
    color: #273480;
}

.spdu-service-info p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    text-align: justify;
    color: #5f6470;
}

.spdu-service-indicator {
    display: flex;
    gap: 7px;
    margin-top: 28px;
}

.spdu-service-indicator span {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: rgba(39,52,128,.15);
}

.spdu-service-indicator span.active {
    width: 40px;
    background: #c5a253;
}


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

.spdu-closing-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 45px;
    text-align: center;
    background: #273480;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(39,52,128,.16);
}

.spdu-closing-card h2 {
    max-width: 720px;
    margin: 0 auto 18px;
    font-size: clamp(30px,4vw,43px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.spdu-closing-card p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.86);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .spdu-page-hero {
        min-height: 500px;
    }

    .spdu-service-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .spdu-service-display {
        grid-template-columns: 1fr;
    }

    .spdu-service-image-wrap {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {

    .spdu-introduction,
    .spdu-focus,
    .spdu-services,
    .spdu-closing {
        padding: 65px 0;
    }

    .spdu-page-hero {
        min-height: 470px;
        padding: 80px 0;
    }

    .spdu-page-hero h1 {
        font-size: 38px;
    }

    .spdu-page-hero p {
        font-size: 15px;
    }

    .spdu-intro-card {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .spdu-intro-copy p {
        font-size: 14px;
        line-height: 1.8;
    }

    .spdu-service-grid {
        grid-template-columns: 1fr;
    }

    .spdu-service-card {
        min-height: 170px;
    }

    .spdu-service-image-wrap {
        min-height: 230px;
    }

    .spdu-service-info {
        padding: 32px 24px;
    }

    .spdu-service-info h3 {
        font-size: 27px;
    }

    .spdu-service-info p {
        font-size: 14px;
    }

    .spdu-closing-card {
        padding: 40px 24px;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {

    .spdu-page-hero h1 {
        font-size: 33px;
    }

    .spdu-focus-card {
        padding: 30px 24px;
    }
}
