
/* ==========================================
   SPMB - MADRASAH IBTIDAIYAH HUBBUL QURAN
   FINAL RESPONSIVE DESIGN
========================================== */

/* CONTAINER & GENERAL */

.spmb-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.spmb-section {
    padding: 95px 0;
    scroll-margin-top: 100px;
}

.spmb-soft {
    background: #f3faf9;
}

.spmb-eyebrow,
.spmb-section-label {
    display: inline-block;
    color: #009fae;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

/* ==========================================
   HERO
========================================== */

.spmb-hero {
    padding: 45px 0 100px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(0, 159, 174, .16),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #f7fcfb 0%,
            #e9f7f6 100%
        );
}

.spmb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 65px;
    color: #607b80;
    font-size: 14px;
}

.spmb-breadcrumb a {
    color: #009fae;
    text-decoration: none;
}

.spmb-breadcrumb a:hover {
    text-decoration: underline;
}

.spmb-hero-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 65px;
    align-items: center;
}

.spmb-hero-content {
    text-align: left;
    min-width: 0;
}

.spmb-hero h1 {
    max-width: 650px;
    margin: 0 0 25px;
    color: #f5ad24;
    font-size: clamp(38px, 4.4vw, 60px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.spmb-hero h1 span {
    display: block;
    color: #009fae;
}

.spmb-hero-description {
    max-width: 600px;
    margin: 0 0 28px;
    color: #637c82;
    line-height: 1.9;
    font-size: 16px;
}

/* ==========================================
   PERIOD STATUS
========================================== */

.spmb-period {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #d7ebe9;
    border-radius: 100px;
    color: #f5ad24;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.spmb-period-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    background: #009fae;
    border-radius: 50%;
}

/* ==========================================
   BUTTONS
========================================== */

.spmb-hero-actions,
.spmb-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.spmb-hero-actions {
    align-items: center;
}

.spmb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.spmb-btn-primary {
    color: #fff;
    background: #009fae;
    box-shadow: 0 10px 24px rgba(0, 159, 174, .18);
}

.spmb-btn-primary:hover {
    color: #fff;
    background: #007f8e;
    transform: translateY(-2px);
}

.spmb-btn-outline {
    color: #008d9c;
    background: #fff;
    border: 1px solid #cde7e5;
}

.spmb-btn-outline:hover {
    color: #008d9c;
    background: #eefaf8;
    transform: translateY(-2px);
}

.spmb-hero-helper {
    margin: 18px 0 0;
    color: #637c82;
    font-size: 12px;
    line-height: 1.7;
}

/* ==========================================
   CEK STATUS PENDAFTARAN - FINAL
========================================== */

.spmb-status-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
}

.spmb-status-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    max-width: 100%;
    padding: 12px 17px;
    background: #fff;
    border: 1px solid #d5eae9;
    border-radius: 12px;
    color: #07535d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.spmb-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    background: #e3f7f6;
    border-radius: 50%;
    color: #009fae;
    font-size: 13px;
    font-weight: 800;
}

.spmb-status-arrow {
    margin-left: 6px;
    color: #009fae;
    font-size: 17px;
    transition: transform .25s ease;
}

.spmb-status-link:hover {
    background: #effaf9;
    border-color: #009fae;
    color: #07535d;
    transform: translateY(-2px);
}

.spmb-status-link:hover .spmb-status-arrow {
    transform: translateX(4px);
}

.spmb-status-action p {
    max-width: 420px;
    margin: 0;
    color: #71858b;
    font-size: 12px;
    line-height: 1.7;
}

/* ==========================================
   HERO PANEL
========================================== */

.spmb-hero-panel {
    min-width: 0;
    background: #fff;
    border: 1px solid #dceeed;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(7, 83, 93, .08);
}

.spmb-panel-top {
    padding-bottom: 24px;
    border-bottom: 1px solid #e1efed;
}

.spmb-panel-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #009fae;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.spmb-panel-top h2 {
    margin: 0 0 12px;
    color: #07535d;
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.3;
}

.spmb-panel-top p {
    margin: 0;
    color: #637c82;
    font-size: 14px;
    line-height: 1.8;
}

.spmb-panel-steps {
    padding: 10px 0;
}

.spmb-panel-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
}

.spmb-panel-step + .spmb-panel-step {
    border-top: 1px solid #e1efed;
}

.spmb-panel-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    background: #e3f7f6;
    color: #009fae;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
}

.spmb-panel-step h3 {
    margin: 0 0 6px;
    color: #07535d;
    font-size: 15px;
}

.spmb-panel-step p {
    margin: 0;
    color: #687e83;
    font-size: 13px;
    line-height: 1.7;
}

.spmb-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    background: #edf9f7;
    border-radius: 12px;
    color: #087f8c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.spmb-panel-link:hover {
    background: #e3f7f6;
}

/* ==========================================
   QUICK NAVIGATION
========================================== */

.spmb-quick-section {
    position: relative;
    margin-top: -34px;
    padding-bottom: 20px;
    z-index: 2;
}

.spmb-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.spmb-quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #e1efed;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(7, 83, 93, .06);
    text-decoration: none;
    transition: .25s ease;
}

.spmb-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 83, 93, .1);
}

.spmb-quick-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #e3f7f6;
    color: #009fae;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
}

.spmb-quick-card > div {
    flex: 1;
    min-width: 0;
}

.spmb-quick-card h3 {
    margin: 0 0 6px;
    color: #07535d;
    font-size: 15px;
}

.spmb-quick-card p {
    margin: 0;
    color: #687e83;
    font-size: 12px;
    line-height: 1.6;
}

.spmb-quick-arrow {
    color: #009fae;
    font-size: 20px;
    font-weight: 700;
}

/* ==========================================
   SECTION HEADING
========================================== */

.spmb-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.spmb-heading h2 {
    margin: 0 0 18px;
    color: #f5ad24;
    font-size: clamp(29px, 3.5vw, 43px);
    line-height: 1.25;
    font-weight: 800;
}

.spmb-heading h2 span {
    color: #009fae;
}

.spmb-heading p {
    margin: 0;
    color: #637c82;
    font-size: 16px;
    line-height: 1.9;
}

/* ==========================================
   INFORMATION CARDS
========================================== */

.spmb-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.spmb-info-card {
    min-width: 0;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #e1efed;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(7, 83, 93, .04);
    transition: .25s ease;
}

.spmb-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(7, 83, 93, .1);
}

.spmb-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 23px;
    background: #e3f7f6;
    color: #009fae;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 800;
}

.spmb-info-card h3 {
    margin: 0 0 12px;
    color: #07535d;
    font-size: 18px;
    line-height: 1.4;
}

.spmb-info-card p {
    margin: 0;
    color: #687e83;
    font-size: 14px;
    line-height: 1.8;
}

/* ==========================================
   REQUIREMENTS
========================================== */

.spmb-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.spmb-requirement-card {
    min-width: 0;
    padding: 35px;
    background: #fff;
    border: 1px solid #e0eeed;
    border-radius: 22px;
}

.spmb-requirement-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e1efed;
}

.spmb-requirement-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    background: #edf9f7;
    color: #087f8c;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}

.spmb-requirement-card h3 {
    margin: 0 0 12px;
    color: #07535d;
    font-size: 23px;
}

.spmb-requirement-header p {
    margin: 0;
    color: #637c82;
    font-size: 14px;
    line-height: 1.8;
}

.spmb-checklist {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.spmb-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 17px;
    color: #617b80;
    font-size: 14px;
    line-height: 1.8;
}

.spmb-checklist li:last-child {
    margin-bottom: 0;
}

.spmb-check-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    margin-top: 2px;
    background: #e3f7f6;
    color: #009fae;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.spmb-requirement-note {
    margin-top: 24px;
    padding: 18px 22px;
    background: #fff;
    border-left: 3px solid #f5ad24;
    border-radius: 12px;
    color: #627b80;
    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   REGISTRATION STEPS
========================================== */

.spmb-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.spmb-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #e0efed;
    border-radius: 20px;
    transition: .25s ease;
}

.spmb-step:hover {
    border-color: #cde7e5;
    box-shadow: 0 12px 30px rgba(7, 83, 93, .06);
}

.spmb-step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #009fae;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.spmb-step-content {
    min-width: 0;
}

.spmb-step h3 {
    margin: 0 0 10px;
    color: #07535d;
    font-size: 18px;
    line-height: 1.4;
}

.spmb-step p {
    margin: 0;
    color: #687e83;
    font-size: 14px;
    line-height: 1.8;
}

/* ==========================================
   FINAL CTA
========================================== */

.spmb-cta {
    padding: 75px 40px;
    background: linear-gradient(
        135deg,
        #009fae,
        #07535d
    );
    border-radius: 28px;
    color: #fff;
    text-align: center;
}

.spmb-cta-label {
    display: inline-block;
    color: #d3f6f4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.spmb-cta h2 {
    max-width: 730px;
    margin: 20px auto;
    color: #fff;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.3;
}

.spmb-cta > p {
    max-width: 640px;
    margin: 0 auto;
    color: #e0f6f4;
    font-size: 15px;
    line-height: 1.9;
}

.spmb-cta-actions {
    justify-content: center;
    margin-top: 30px;
}

.spmb-btn-cta {
    background: #fff;
    color: #008d9c;
}

.spmb-btn-cta:hover {
    background: #eefaf8;
    color: #008d9c;
    transform: translateY(-2px);
}

.spmb-cta .spmb-cta-message {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    color: #e0f6f4;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

    .spmb-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spmb-hero-content {
        max-width: 760px;
    }

    .spmb-hero-panel {
        max-width: 760px;
    }

    .spmb-quick-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spmb-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spmb-requirements {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 640px) {

    .spmb-container {
        width: min(1180px, calc(100% - 28px));
    }

    .spmb-section {
        padding: 65px 0;
        scroll-margin-top: 80px;
    }

    .spmb-hero {
        padding: 28px 0 80px;
    }

    .spmb-breadcrumb {
        margin-bottom: 38px;
        font-size: 12px;
    }

    .spmb-eyebrow,
    .spmb-section-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .spmb-hero h1 {
        font-size: clamp(34px, 8vw, 44px);
        letter-spacing: -1px;
    }

    .spmb-hero-description {
        font-size: 14px;
        line-height: 1.85;
    }

    .spmb-period {
        border-radius: 15px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .spmb-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .spmb-btn {
        width: 100%;
    }

    .spmb-status-action {
        align-items: stretch;
        margin-top: 16px;
    }

    .spmb-status-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .spmb-status-action p {
        text-align: center;
        max-width: none;
    }

    .spmb-hero-panel {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .spmb-panel-top h2 {
        font-size: 24px;
    }

    .spmb-quick-section {
        margin-top: -25px;
    }

    .spmb-quick-card {
        padding: 17px;
    }

    .spmb-quick-icon {
        width: 43px;
        height: 43px;
    }

    .spmb-heading {
        margin-bottom: 34px;
    }

    .spmb-heading h2 {
        font-size: 30px;
    }

    .spmb-heading p {
        font-size: 14px;
    }

    .spmb-info-grid,
    .spmb-requirements,
    .spmb-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .spmb-info-card,
    .spmb-requirement-card {
        padding: 25px;
    }

    .spmb-step {
        gap: 15px;
        padding: 21px;
    }

    .spmb-step-number {
        width: 43px;
        height: 43px;
    }

    .spmb-step h3 {
        font-size: 16px;
    }

    .spmb-cta {
        padding: 50px 22px;
        border-radius: 22px;
    }

    .spmb-cta h2 {
        font-size: 29px;
    }

    .spmb-cta > p {
        font-size: 14px;
    }

    .spmb-cta .spmb-cta-message {
        padding: 13px 15px;
        font-size: 12px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .spmb-btn,
    .spmb-status-link,
    .spmb-info-card,
    .spmb-quick-card,
    .spmb-step {
        transition: none;
    }

    .spmb-btn:hover,
    .spmb-status-link:hover,
    .spmb-info-card:hover,
    .spmb-quick-card:hover {
        transform: none;
    }
}
