.hidrologi-page {
    background: linear-gradient(180deg, #e7f4ff 0%, #f7fbff 100%);
    min-height: 100vh;
    padding: 20px;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.hidrologi-card {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.9));
    min-height: 720px;
    overflow: hidden;
    padding: 25px 40px 40px;
    border-radius: 1%;
}

.hidrologi-card::before,
.hidrologi-card::after {
    content: "";
    position: absolute;
    left: -120px;
    right: -120px;
    height: 120px;
    background: radial-gradient(circle at 20% 60%, rgba(29, 140, 214, 0.25), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(72, 171, 255, 0.25), transparent 55%),
        radial-gradient(circle at 50% 40%, rgba(20, 98, 170, 0.2), transparent 65%);
    opacity: 0.45;
    pointer-events: none;
}

.hidrologi-card::before {
    top: -30px;
    filter: blur(2px);
}

.hidrologi-card::after {
    bottom: -40px;
    transform: rotate(180deg);
    filter: blur(3px);
}

/* =========================
   HEADER
========================= */
.hero-header {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: start;
    gap: 20px;
    margin-bottom: 40px;
}

.logo-area {
    display: flex;
    align-items: flex-start;
}

.fhd-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fhd-icon {
    position: relative;
    width: 84px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fhd-lines {
    position: absolute;
    left: 0;
    top: 18px;
    width: 52px;
    height: 28px;
    background:
        linear-gradient(#f06b00, #f06b00) 0 0 / 42px 4px no-repeat,
        linear-gradient(#f06b00, #f06b00) 0 10px / 52px 4px no-repeat,
        linear-gradient(#f06b00, #f06b00) 0 20px / 42px 4px no-repeat;
    border-radius: 8px;
}

.fhd-drop {
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 42px;
    line-height: 1;
}

.fhd-main {
    font-size: 72px;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1f98ea;
}

.fhd-sub {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
}

.title-area {
    text-align: center;
    padding-top: 10px;
}

.title-area h1 {
    margin: 0;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 8px 18px rgba(20, 92, 160, 0.18);
}

.title-area .blue {
    color: #1a6cc7;
}

.title-area .purple {
    color: #0f5aa3;
}

/* =========================
   STEPS GRID
========================= */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 10px;
}

.steps-column {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

/* =========================
   FLOW DIAGRAM
========================= */
.flow-wrapper {
    max-width: 1400px;
    margin: 10px auto 0;
    border-radius: 1%;
    background-image: url("../img/bg_flowchart.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 20px 10px 10px;
}

.flow-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.flow-step {
    min-height: 210px;
    background: rgba(255, 255, 255, 0.92);
    border: 5px solid #d3e9ff;
    border-radius: 26px;
    box-shadow: 0 12px 20px rgba(16, 86, 160, 0.18);
    padding: 14px 18px 18px;
}

.flow-step .step-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-step .step-text {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    max-width: none;
    margin: 0;
}

.flow-arrow {
    position: relative;
    height: 20px;
    background: #ffffff;
    border-radius: 999px;
}

.flow-arrow::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 22px solid #ffffff;
}

.flow-turn {
    position: relative;
    height: 120px;
    margin: 12px 0 18px;
}

.flow-notes {
    margin-top: 28px;
    padding: 0;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 22px rgba(16, 86, 160, 0.12);
    border: 1px solid rgba(66, 143, 214, 0.18);
    overflow: hidden;
}

.flow-notes summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 20px;
    font-weight: 800;
    color: #1a6cc7;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #f2f8ff, #ffffff);
}

.flow-notes summary::marker,
.flow-notes summary::-webkit-details-marker {
    display: none;
}

.flow-notes summary::after {
    content: "▾";
    font-size: 18px;
    color: #1a6cc7;
    transition: transform 0.2s ease;
}

.flow-notes[open] summary::after {
    transform: rotate(180deg);
}

.flow-notes .flow-notes-grid {
    padding: 20px 22px 24px;
}

.flow-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.flow-note-item {
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    background: #f7fbff;
    border: 1px solid #d7e8ff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.flow-note-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(9, 64, 120, 0.12);
    background: #fff;
}

.flow-note-item figcaption {
    font-size: 14px;
    font-weight: 700;
    color: #1b4a86;
}

.turn-line {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 28px;
    height: 20px;
    border-radius: 999px;
    background: #ffffff;
}

.turn-down {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 20px;
    height: 70px;
    background: #ffffff;
    border-radius: 999px;
}

.turn-down::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 22px solid #ffffff;
}

.fhd-notes {
    margin-top: 50px;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 32px;
    box-shadow: 0 12px 24px rgba(0, 61, 122, 0.12);
    color: #1b3a68;
}

.fhd-notes h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #1d57a6;
    font-weight: 800;
}

.fhd-notes h3 {
    margin: 22px 0 10px;
    font-size: 22px;
    color: #2b5ea5;
    font-weight: 800;
}

.fhd-notes h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #1c4a8c;
    font-weight: 800;
}

.fhd-notes p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #234170;
    font-weight: 600;
}

.note-list {
    margin: 0 0 8px;
    padding-left: 20px;
    color: #234170;
    font-weight: 600;
    line-height: 1.55;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.note-card {
    border-radius: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #f4f9ff, #ffffff);
    border: 2px solid #d7e8ff;
}

.note-card ul {
    margin: 0 0 10px;
    padding-left: 18px;
    color: #234170;
    font-weight: 600;
    line-height: 1.55;
}

.note-subtitle {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #4c7bb7;
    margin-bottom: 6px;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-number {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #5cc7ff, #0b5bb0);
    color: #fff;
    font-size: 52px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(6, 70, 130, 0.35);
}

.step-text {
    color: #0f5aa3;
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 0 0 0 #0f5aa3;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    overflow-wrap: break-word;
    hyphens: manual;
}

.step-title {
    font-size: 17px;
    font-weight: 800;
    color: #0b4f99;
    letter-spacing: 0.2px;
}

.step-body {
    font-size: 15px;
    color: #0f5aa3;
}

.step-text a {
    color: #1577d3;
    text-decoration: underline;
    word-break: break-word;
    display: inline-block;
    line-height: 1.4;
}

.step-text strong {
    color: #0b4f99;
    font-weight: 900;
}

/* =========================
   SIMPLE ILLUSTRATIONS
========================= */
.step-illustration {
    position: relative;
    width: 92px;
    height: 72px;
}

/* Users icon */
.users-icon span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: #d9c3b3;
    border: 3px solid #7f6580;
}

.users-icon span:first-child {
    width: 26px;
    height: 26px;
    left: 22px;
    top: 18px;
    box-shadow: 0 28px 0 4px #f1e6de;
}

.users-icon span:last-child {
    width: 26px;
    height: 26px;
    left: 48px;
    top: 30px;
    box-shadow: 0 28px 0 4px #f1e6de;
}

/* Card icon */
.card-icon .mini-card {
    position: absolute;
    left: 14px;
    top: 16px;
    width: 82px;
    height: 54px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f6fbff, #dce7f7);
    border: 3px solid #9aa6bf;
    box-shadow: 18px 10px 0 -8px #6d2db3;
}

.card-icon .mini-card::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 22px;
    height: 16px;
    background: #7a45c4;
    border-radius: 4px;
}

.card-icon .mini-card::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 6px;
    background: #4aa9f0;
    border-radius: 6px;
}

/* Laptop icon */
.laptop-icon .laptop-screen {
    position: absolute;
    left: 10px;
    top: 6px;
    width: 84px;
    height: 54px;
    border: 4px solid #666;
    border-bottom: 0;
    background: linear-gradient(135deg, #f6f6f6, #d7d7d7);
    border-radius: 4px 4px 0 0;
}

.laptop-icon .laptop-base {
    position: absolute;
    left: 0;
    bottom: 16px;
    width: 104px;
    height: 12px;
    background: #7b7b7b;
    border-radius: 2px 2px 10px 10px;
}

/* Report icon */
.report-icon .sheet {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 58px;
    height: 72px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff, #eaf3ff);
    border: 3px solid #c1d4eb;
    transform: rotate(-8deg);
    box-shadow: 16px 8px 0 -6px #8fc1ff;
}

.report-icon .sheet::before,
.report-icon .sheet::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 5px;
    border-radius: 4px;
    background: #7cb5ec;
}

.report-icon .sheet::before {
    top: 18px;
}

.report-icon .sheet::after {
    top: 34px;
}

/* Doc icon */
.doc-icon .doc-paper {
    position: absolute;
    left: 24px;
    top: 6px;
    width: 54px;
    height: 74px;
    border-radius: 6px;
    background: linear-gradient(180deg, #fff, #edf6ff);
    border: 3px solid #8aa8c7;
}

.doc-icon .doc-paper::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 5px;
    background: #77b7ef;
    border-radius: 4px;
    box-shadow: 0 12px 0 #77b7ef, 0 24px 0 #77b7ef, 0 36px 0 #77b7ef;
}

/* Chat icon */
.chat-icon .chat-bubble {
    position: absolute;
    left: 14px;
    top: 20px;
    width: 72px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, #b983ff, #4da5ff);
    box-shadow: 16px 12px 0 -8px rgba(255, 214, 77, 0.9);
}

.chat-icon .chat-bubble::before {
    content: "";
    position: absolute;
    left: 10px;
    bottom: -10px;
    width: 18px;
    height: 18px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 4px;
}

/* =========================
   CORNER SPLASH
========================= */
.corner-splash {
    position: absolute;
    width: 170px;
    height: 170px;
    pointer-events: none;
    opacity: 0.95;
}

.corner-splash::before,
.corner-splash::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 80% 20%, #00c6ff 0 10px, transparent 11px),
        radial-gradient(circle at 70% 30%, #ff1694 0 12px, transparent 13px),
        radial-gradient(circle at 58% 18%, #ffea00 0 8px, transparent 9px),
        radial-gradient(circle at 52% 38%, #000 0 10px, transparent 11px),
        radial-gradient(circle at 35% 45%, #ff1694 0 7px, transparent 8px),
        radial-gradient(circle at 20% 55%, #ffea00 0 6px, transparent 7px),
        radial-gradient(circle at 44% 62%, #00c6ff 0 9px, transparent 10px);
}

.corner-splash::after {
    background:
        conic-gradient(from 220deg, transparent 0 20%, #000 20% 28%, transparent 28% 35%, #ff1694 35% 42%, transparent 42% 50%, #ffea00 50% 58%, transparent 58% 65%, #00c6ff 65% 74%, transparent 74% 100%);
    filter: blur(1px);
    mask: radial-gradient(circle at center, transparent 0 34%, #000 35% 100%);
}

.top-right {
    top: -28px;
    right: -24px;
    transform: rotate(12deg);
}

.bottom-left {
    bottom: -32px;
    left: -26px;
    transform: rotate(210deg);
}

.bottom-right {
    bottom: -28px;
    right: -26px;
    transform: rotate(90deg);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .title-area h1 {
        font-size: 48px;
    }

    .step-text {
        font-size: 18px;
    }

    .steps-grid {
        gap: 40px;
    }

    .flow-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .flow-arrow {
        width: 22px;
        height: 70px;
        margin: 0 auto;
        background: #ffffff;
    }

    .flow-arrow::after {
        right: 50%;
        top: auto;
        bottom: -18px;
        transform: translateX(50%);
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-top: 22px solid #ffffff;
        border-bottom: 0;
    }

    .flow-turn {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-area {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .note-grid {
        grid-template-columns: 1fr;
    }

    .flow-notes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hidrologi-card {
        padding: 20px;
    }

    .title-area h1 {
        font-size: 34px;
    }

    .fhd-main {
        font-size: 52px;
    }

    .step-item {
        grid-template-columns: 64px 86px 1fr;
        column-gap: 12px;
    }

    .step-number {
        width: 58px;
        height: 58px;
        font-size: 36px;
    }

    .step-illustration {
        width: 86px;
        height: 72px;
    }

    .step-text {
        font-size: 16px;
    }
}
