/* ============================= */
/* PANDUAN PAGE STYLING */
/* ============================= */

.panduan-wrapper {
    padding: 20px 8% 70px;
    background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 60%);
    min-height: 100vh;
}

/* ================= HEADER ================= */

.panduan-header {
    text-align: center;
    margin-bottom: 50px;
}

.panduan-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.panduan-header p {
    color: #6b7280;
    font-size: 15px;
    max-width: 680px;
    margin: auto;
    line-height: 1.7;
}

/* ================= ITEM STEP ================= */

.panduan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 70px;
    flex-wrap: wrap;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.7s ease forwards;
}

.panduan-item.reverse {
    flex-direction: row-reverse;
}

/* delay animasi */
.panduan-item:nth-of-type(1) { animation-delay: 0.1s; }
.panduan-item:nth-of-type(2) { animation-delay: 0.2s; }
.panduan-item:nth-of-type(3) { animation-delay: 0.3s; }
.panduan-item:nth-of-type(4) { animation-delay: 0.4s; }
.panduan-item:nth-of-type(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= IMAGE ================= */

.panduan-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.panduan-img img {
    width: 100%;
    max-width: 460px;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

.panduan-item:hover .panduan-img img {
    transform: scale(1.04);
    box-shadow: 0 22px 55px rgba(30, 58, 138, 0.15);
}

/* ================= TEXT ================= */

.panduan-text {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -55px;
    left: -25px;
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(180deg, #1e3a8a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.12;
    z-index: 0;
    letter-spacing: -4px;
}

.panduan-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: 0.25s ease;
}

.panduan-text h3::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    margin-top: 6px;
    border-radius: 5px;
}

.panduan-item:hover .panduan-text h3 {
    color: #2563eb;
}

.panduan-text p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 15.5px;
    position: relative;
    z-index: 1;
}

/* ================= TABLET ================= */

@media (max-width: 992px) {

    .panduan-wrapper {
        padding: 20px 6% 60px;
    }

    .panduan-item {
        flex-direction: column !important;
        text-align: center;
        gap: 25px;
        margin-bottom: 55px;
    }

    .panduan-text {
        max-width: 100%;
    }

    .panduan-img img {
        max-width: 420px;
    }

    .step-number {
        display: none;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 576px) {

    .panduan-wrapper {
        padding: 15px 18px 50px;
    }

    .panduan-header {
        margin-bottom: 35px;
    }

    .panduan-header h1 {
        font-size: 26px;
    }

    .panduan-header p {
        font-size: 14px;
    }

    .panduan-item {
        gap: 18px;
        margin-bottom: 40px;
    }

    .panduan-text h3 {
        font-size: 19px;
    }

    .panduan-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .panduan-img img {
        max-width: 100%;
        border-radius: 18px;
    }
}