@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Caveat:wght@600;700&display=swap');

:root {
    --deep-teal: #00383c;
    --dark-teal: #002b2e;
    --teal-primary: #00796b;
    --teal-dark: #00565b;
    --teal-light: #e0f7f4;
    --teal-border: rgba(0, 104, 107, 0.12);
    --blue-step: #1e88e5;
    --blue-light: #eff6ff;
    --amber-step: #f59e0b;
    --amber-light: #fffbeb;
    --green-step: #10b981;
    --green-light: #ecfdf5;
    --purple-step: #7c3aed;
    --purple-light: #f5f3ff;
    --text-main: #00383c;
    --text-muted: #475569;
    --text-light: #64748b;
    --bg-page: #f2faf8;
    --shadow-card: 0 4px 20px rgba(0, 56, 60, 0.05);
    --shadow-hover: 0 8px 30px rgba(0, 56, 60, 0.09);
    --radius-card: 20px;
    --radius-pill: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    background-image: url('../patterns/islamic-geometric-tile.svg');
    background-size: 130px;
    background-repeat: repeat;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.guide-topbar {
    background-color: var(--deep-teal);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-topbar-inner {
    max-width: 1260px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
}

.topbar-contact-item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.topbar-contact-item:hover {
    color: #ffffff;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar-nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 4px 6px;
    position: relative;
    opacity: 0.92;
}

.topbar-nav-link:hover {
    opacity: 1;
    color: #7ef1df;
}

/* ==========================================================================
   PAGE CONTAINER & LAYOUT
   ========================================================================== */
.guide-page-wrapper {
    max-width: 1260px;
    margin: 0 auto;
    padding: 32px 24px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 390px);
    gap: 28px;
    align-items: start;
}

/* ==========================================================================
   LEFT COLUMN - HERO SECTION
   ========================================================================== */
.guide-hero-card {
    position: relative;
    background: linear-gradient(130deg, #ffffff 52%, #e5f8f4 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 104, 107, 0.1);
    box-shadow: 0 10px 30px rgba(0, 56, 60, 0.05);
    padding: 32px 36px 28px;
    overflow: hidden;
    min-height: 275px;
}

.hero-bg-mosque {
    position: absolute;
    right: 25px;
    bottom: 0;
    width: 380px;
    max-width: 55%;
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-sparkles {
    position: absolute;
    right: 170px;
    top: 25px;
    width: 140px;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.hero-text-content {
    position: relative;
    z-index: 3;
    max-width: 58%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #d7f7f0;
    color: #006b6e;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.2px;
}

.hero-eyebrow svg {
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 800;
    color: var(--deep-teal);
    margin: 14px 0 14px 0;
    line-height: 1.18;
    letter-spacing: -0.6px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffecb3;
    color: #855300;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(133, 83, 0, 0.08);
}

.hero-desc {
    margin: 16px 0 0 0;
    font-size: 13.5px;
    line-height: 1.62;
    color: var(--text-muted);
    max-width: 440px;
}

.hero-visual-block {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 44%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    z-index: 2;
}

.hero-quote-box {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 3;
    text-align: right;
    max-width: 320px;
    transform: rotate(-1.5deg);
}

.hero-quote-text {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #004d40;
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 2px rgba(255,255,255,0.9);
}

.hero-quote-text .qm {
    color: #f59e0b;
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 0;
    vertical-align: -4px;
    display: inline-block;
}

.hero-students-img {
    height: 250px;
    max-height: 92%;
    object-fit: contain;
    object-position: bottom right;
    margin-right: 15px;
}

/* ==========================================================================
   LEFT COLUMN - 5 STEPS VERTICAL STEPPER
   ========================================================================== */
.guide-stepper-container {
    position: relative;
    margin-top: 20px;
}

.stepper-connector-line {
    position: absolute;
    left: 23px;
    top: 36px;
    bottom: 36px;
    width: 0;
    border-left: 2px dashed #9ddcd2;
    z-index: 1;
}

.step-item-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 14px;
}

.step-item-row:last-child {
    margin-bottom: 0;
}

.step-num-col {
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-badge-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.step-badge-1 { background-color: var(--teal-primary); }
.step-badge-2 { background-color: var(--blue-step); }
.step-badge-3 { background-color: var(--amber-step); }
.step-badge-4 { background-color: var(--green-step); }
.step-badge-5 { background-color: var(--purple-step); }

.step-card {
    flex: 1;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 104, 107, 0.08);
    box-shadow: var(--shadow-card);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.step-icon-wrap {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.step-icon-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.step-icon-1 { background-color: #e0f7f4; }
.step-icon-2 { background-color: #eff6ff; }
.step-icon-3 { background-color: #fffbeb; }
.step-icon-4 { background-color: #ecfdf5; }
.step-icon-5 { background-color: #f5f3ff; }

.step-main-text {
    flex: 1;
}

.step-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--deep-teal);
    margin: 0 0 5px 0;
    letter-spacing: -0.2px;
}

.step-desc {
    font-size: 13.5px;
    line-height: 1.58;
    color: var(--text-muted);
    margin: 0;
}

.highlight-price {
    color: #e11d48;
    font-weight: 800;
}

/* Specific Info Boxes inside Step 1 and Step 3 */
.step-side-box {
    flex: 0 0 315px;
    max-width: 325px;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.box-mint {
    background-color: #e6f8f5;
    border: 1px solid #bbf2e7;
}

.box-amber {
    background-color: #fff8e7;
    border: 1px solid #fde68a;
}

.side-box-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.side-box-icon img,
.side-box-icon svg {
    width: 28px;
    height: 28px;
}

.side-box-details {
    flex: 1;
    font-size: 11.5px;
    line-height: 1.45;
}

.side-box-label {
    display: block;
    font-weight: 700;
    color: #334155;
    margin-bottom: 2px;
    font-size: 11px;
}

.side-box-link {
    display: block;
    color: #00796b;
    font-weight: 700;
    word-break: break-all;
    text-decoration: underline;
    margin-bottom: 3px;
    font-size: 11.5px;
}

.side-box-link:hover {
    color: #004d40;
}

.side-box-note {
    display: block;
    color: #475569;
    font-size: 10.5px;
}

.side-box-title {
    display: block;
    font-weight: 800;
    color: #b45309;
    font-size: 12.5px;
    margin-bottom: 3px;
}

.side-box-item {
    color: #334155;
    font-size: 11px;
    margin-bottom: 1px;
}

.side-box-example {
    margin-top: 3px;
    color: #0f172a;
    font-size: 11.5px;
}

.side-box-example strong {
    font-weight: 800;
}

/* ==========================================================================
   RIGHT COLUMN - PERSYARATAN PENDAFTARAN
   ========================================================================== */
.guide-sidebar {
    background-color: #e8f7f4;
    border-radius: 24px;
    border: 1px solid rgba(0, 104, 107, 0.08);
    padding: 26px 22px 28px;
    position: sticky;
    top: 24px;
}

.sidebar-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar-icon-box {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    background-color: #b9ece2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.sidebar-icon-box img,
.sidebar-icon-box svg {
    width: 30px;
    height: 30px;
}

.sidebar-heading {
    font-size: 23px;
    font-weight: 800;
    color: var(--deep-teal);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.3px;
}

.sidebar-subtext {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    margin: 12px 0 16px 0;
}

/* Requirements Card with 3 steps */
.req-container-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: var(--shadow-card);
}

.req-connector-line {
    position: absolute;
    left: 31px;
    top: 34px;
    bottom: 34px;
    width: 0;
    border-left: 2px dashed #cbd5e1;
    z-index: 1;
}

.req-item-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.req-item-row:last-child {
    margin-bottom: 0;
}

.req-num-badge {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.req-num-1 { background-color: var(--teal-primary); }
.req-num-2 { background-color: var(--blue-step); }
.req-num-3 { background-color: var(--amber-step); }

.req-icon-badge {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    margin-top: 1px;
}

.req-icon-badge img {
    width: 20px;
    height: 20px;
}

.req-icon-1 { background-color: #e0f7f4; }
.req-icon-2 { background-color: #eff6ff; }
.req-icon-3 { background-color: #fffbeb; }

.req-content {
    flex: 1;
}

.req-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--deep-teal);
    margin: 0 0 3px 0;
    line-height: 1.35;
}

.req-desc {
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
}

.underline-dotted {
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Tips Penting Card */
.tips-box {
    background-color: #fff9db;
    border: 1px solid #fef08a;
    border-radius: 18px;
    padding: 18px 20px;
    margin-top: 18px;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tips-header-icon {
    font-size: 18px;
    line-height: 1;
}

.tips-heading {
    font-size: 15px;
    font-weight: 800;
    color: #854d0e;
    margin: 0;
}

.tips-body {
    font-size: 12.5px;
    line-height: 1.55;
    color: #713f12;
    margin: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.guide-footer {
    background-color: var(--deep-teal);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-ornament-left {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    opacity: 0.06;
    pointer-events: none;
}

.footer-ornament-right {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    opacity: 0.06;
    pointer-events: none;
}

.guide-footer-body {
    position: relative;
    z-index: 2;
    max-width: 1260px;
    margin: 0 auto;
    padding: 42px 24px 38px;
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.2fr auto;
    gap: 36px;
    align-items: center;
}

.footer-col-address {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-pin-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: #5eead4;
}

.footer-pin-icon svg {
    width: 24px;
    height: 24px;
}

.footer-addr-title {
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    color: #ffffff;
}

.footer-addr-desc {
    font-size: 12px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.footer-col-about {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 32px;
}

.footer-section-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.footer-about-text {
    font-size: 12.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.footer-col-social {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 32px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-circle-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-circle-link:hover {
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    color: #5eead4;
}

.social-circle-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-col-emblem {
    display: flex;
    justify-content: flex-end;
}

.footer-emblem-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-emblem-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.guide-copyright-bar {
    background-color: var(--dark-teal);
    padding: 14px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.copyright-inner {
    max-width: 1260px;
    margin: 0 auto;
    font-size: 12px;
    color: #94a3b8;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.float-wa {
    position: fixed;
    width: 54px;
    height: 54px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
    .guide-page-wrapper {
        grid-template-columns: 1fr;
    }
    
    .guide-sidebar {
        position: static;
        margin-top: 10px;
    }
    
    .guide-footer-body {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    
    .footer-col-about,
    .footer-col-social {
        border-left: none;
        padding-left: 0;
    }
    
    .footer-col-emblem {
        justify-content: flex-start;
        grid-column: span 2;
    }
}

@media (max-width: 820px) {
    .hero-text-content {
        max-width: 100%;
    }
    
    .hero-visual-block {
        display: none;
    }
    
    .step-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-side-box {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .topbar-left {
        gap: 14px;
    }
    
    .topbar-contact-item span {
        display: none;
    }
    
    .guide-page-wrapper {
        padding: 16px 12px 36px;
    }
    
    .guide-hero-card {
        padding: 22px 18px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .step-item-row {
        gap: 10px;
    }
    
    .step-num-col {
        flex: 0 0 34px;
    }
    
    .step-badge-circle {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    
    .stepper-connector-line {
        left: 17px;
    }
    
    .step-card {
        padding: 14px 16px;
    }
    
    .guide-footer-body {
        grid-template-columns: 1fr;
    }
    
    .footer-col-emblem {
        grid-column: span 1;
    }
}