:root {
    --primary: #073763;
    --secondary: #0b5f73;
    --accent: #0f9f8f;
    --gold: #f4b942;
    --light: #f8fafc;
    --dark: #0f172a;
    --border-color: #e2e8f0;
}

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* =========================
   HEADER
========================= */

.portal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 22px 0;
}

.portal-header .container-fluid {
    padding-left: 42px;
    padding-right: 42px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}

.header-text {
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.header-text .office-name {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-text .office-subname {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    opacity: .9;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 150px 0 125px;

    /*
        BACKGROUND GAMBAR BIASA

        Ganti file gambar di bawah ini sesuai kebutuhan.
        Karena file CSS berada di folder css, maka path gambar memakai ../img/
    */
    background:
        linear-gradient(135deg, rgb(110, 110, 110), rgba(11, 214, 228, 0.358)),
        url("./img/gambar2.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Mode gambar biasa: video disembunyikan */
.hero--image .hero-video {
    display: none;
}

/* Mode video: video ditampilkan */
.hero--video .hero-video {
    display: block;
}

/* Overlay agar teks tetap terbaca */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 15% 20%, rgba(244,185,66,.15), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(15,159,143,.22), transparent 38%),
        linear-gradient(135deg, rgba(7,55,99,.76), rgba(11,95,115,.72));
    pointer-events: none;
}

/* Ornamen lingkaran */
.hero::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    left: -300px;
    top: -300px;
    z-index: 1;
    border-radius: 50%;
    background: rgba(255,255,255,.045);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1050px;
}

.hero-title {
    margin: 0;
    font-size: clamp(56px, 8.5vw, 126px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -2px;
    color: #e4e66f;
    text-transform: uppercase;

    /* Membuat tulisan terlihat lebih tebal dan kuat */
    -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.25);
    text-shadow:
        0 4px 0 rgba(0, 0, 0, 0.35),
        0 12px 32px rgba(0, 0, 0, 0.65),
        0 22px 55px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
    margin: 18px auto 0;
    font-size: 21px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 3px 12px rgba(0,0,0,.25);
}

.hero-description {
    max-width: 830px;
    margin: 24px auto 0;
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255,255,255,.92);
    font-weight: 400;
}

.hero-actions {
    margin-top: 42px;
}

/* =========================
   BUTTON
========================= */

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 42px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 18px;
    transition: all .28s ease;
}

.btn-main {
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 14px 34px rgba(15,159,143,.36);
}

.btn-main:hover {
    color: #fff;
    background: #0b8577;
    border-color: #0b8577;
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15,159,143,.48);
}

/* =========================
   PORTAL APLIKASI
========================= */

.portal-section {
    position: relative;
    z-index: 20;
    margin-top: -78px;
    padding-bottom: 72px;
}

.portal-wrapper {
    background: rgba(30, 67, 84, 0.436);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 48px 42px;
    box-shadow: 0 32px 70px rgba(15,23,42,.10);
}

.section-title {
    margin-bottom: 8px;
    font-weight: 1000;
    color: #ffffff;
    letter-spacing: -.6px;
    font-size: 40px;
}

.section-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: #040404;
    font-size: 14.5px;
}

.minimal-app-card {
    height: 100%;
    min-height: 156px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px 16px;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .28s ease;
    box-shadow: 0 6px 16px rgba(29, 15, 106, 0.71);
}

.minimal-app-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15,159,143,.45);
    box-shadow: 0 18px 42px rgba(15,23,42,.10);
}

.minimal-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(15,159,143,.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    transition: all .28s ease;
}

.minimal-app-card:hover .minimal-icon-box {
    background: var(--accent);
    color: #fff;
    transform: scale(1.06);
}

.minimal-title {
    margin: 0;
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

/* =========================
   FOOTER
========================= */

.footer {
    background:
        radial-gradient(circle at 90% 10%, rgba(15,159,143,.14), transparent 42%),
        #051d36;
    color: #cbd5e1;
    padding: 30px 0;
    border-top: 4px solid var(--accent);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 13.5px;
    opacity: .82;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 991px) {
    .portal-header .container-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .header-logo {
        width: 54px;
        height: 54px;
    }

    .header-text .office-name {
        font-size: 14px;
    }

    .header-text .office-subname {
        font-size: 12px;
    }

    .hero {
        padding-top: 145px;
        padding-bottom: 110px;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 17px;
    }

    .portal-section {
        margin-top: -58px;
    }

    .portal-wrapper {
        padding: 36px 26px;
        border-radius: 26px;
    }
}

/* =========================
   RESPONSIVE HP
========================= */

@media (max-width: 575px) {
    .portal-header {
        padding: 18px 0;
    }

    .portal-header .container-fluid {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-logo {
        width: 42px;
        height: 42px;
    }

    .header-text .office-name {
        font-size: 11px;
        letter-spacing: .6px;
    }

    .header-text .office-subname {
        font-size: 9.5px;
    }

    .hero {
        min-height: 92vh;
        padding-top: 130px;
        padding-bottom: 95px;
    }

    .hero-title {
    font-size: clamp(46px, 15vw, 64px);
    font-weight: 900;
    letter-spacing: -1px;
    -webkit-text-stroke: .7px rgba(255, 255, 255, 0.22);
}

    .hero-subtitle {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.45;
    }

    .hero-description {
        margin-top: 16px;
        font-size: 14.5px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .btn-custom {
        width: 100%;
        padding: 14px 22px;
        font-size: 15px;
    }

    .portal-section {
        margin-top: -48px;
        padding-bottom: 50px;
    }

    .portal-wrapper {
        padding: 28px 16px;
        border-radius: 24px;
    }

    .minimal-app-card {
        min-height: 138px;
        padding: 24px 14px;
    }

    .minimal-icon-box {
        width: 56px;
        height: 56px;
        font-size: 25px;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
    visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #ffffff;
}
.visitor-counter i {
    color: var(--gold);

}