/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: #f5f8fc;
    color: #101f45;
    overflow-x: hidden;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;
    height: 60px;
    background: #062967;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.nav-inner {
    width: 100%;
    height: 100%;
    padding: 0 4.1%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 9px;

    text-decoration: none;
    color: white;
}

.brand img {
    width: 39px;
    height: 52px;

    object-fit: contain;
    display: block;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name strong {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.brand-name span {
    margin-top: 2px;

    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
}


/* =========================================================
   NAV MENU
========================================================= */

.nav-menu {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 37px;
}

.nav-link {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    color: white;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition: .25s ease;
}

.nav-link:hover {
    color: #ffd439;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -1px;

    height: 3px;

    background: #ffd439;

    border-radius: 3px 3px 0 0;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(0,31,92,.10),
            rgba(0,31,92,.10)
        ),
        url("images/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    margin-top: -2px;
}

.hero h1 {
    color: #ffffff;

    font-size: 39px;
    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -.8px;

    text-shadow:
        0 3px 8px rgba(0,0,0,.25);
}

.hero h2 {
    margin-top: 1px;

    color: #ffd338;

    font-size: 48px;
    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -.8px;

    text-shadow:
        0 3px 8px rgba(0,0,0,.2);
}

.hero p {
    margin-top: 14px;

    color: white;

    font-size: 13px;
    line-height: 1.75;

    font-weight: 500;

    text-shadow:
        0 2px 5px rgba(0,0,0,.35);
}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-buttons {
    margin-top: 17px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;
}

.btn {
    min-width: 171px;
    height: 42px;

    padding: 0 20px;

    border-radius: 7px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: .25s ease;
}

.btn i {
    font-size: 14px;
}


/* TOMBOL BIRU */

.btn-primary {
    background: #087be9;

    color: white;

    border: 1px solid #087be9;

    box-shadow:
        0 5px 15px rgba(0,65,170,.2);
}

.btn-primary:hover {
    background: #066bd0;

    transform: translateY(-2px);
}


/* TOMBOL OUTLINE */

.btn-outline {
    background: rgba(0,35,100,.35);

    color: white;

    border: 1px solid #ffd43b;

    box-shadow:
        0 4px 12px rgba(0,0,0,.15);
}

.btn-outline:hover {
    background: rgba(255,211,59,.12);

    transform: translateY(-2px);
}


/* =========================================================
   CARD SECTION
========================================================= */

.cards-section {
    width: 100%;

    padding: 17px 0 12px;

    background: #f6f9fd;
}

.cards-container {
    width: 92%;
    max-width: 1270px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


/* =========================================================
   INFO CARD
========================================================= */

.info-card {
    min-height: 196px;

    background: #ffffff;

    border: 1px solid #e2e8f1;

    border-radius: 8px;

    padding: 17px 16px;

    display: flex;

    gap: 12px;

    box-shadow:
        0 3px 12px rgba(19,52,91,.06);

    transition: .25s ease;
}

.info-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(19,52,91,.10);
}


/* =========================================================
   ICON CARD
========================================================= */

.card-icon {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    border-radius: 50%;

    background: #0879e8;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;

    box-shadow:
        0 2px 5px rgba(0,90,200,.15);
}


/* =========================================================
   CARD BODY
========================================================= */

.card-body {
    min-width: 0;
    flex: 1;
}

.card-body h3 {
    color: #0a285f;

    font-size: 15px;
    line-height: 1.55;

    font-weight: 700;

    margin-bottom: 7px;
}

.card-body p {
    color: #202020;

    font-size: 11.5px;
    line-height: 1.65;

    font-weight: 400;
}

.card-body a {
    display: inline-block;

    margin-top: 13px;

    color: #006be6;

    text-decoration: none;

    font-size: 11.5px;
    font-weight: 700;
}

.card-body a:hover {
    color: #004da8;
}


/* =========================================================
   LOWER SECTION
========================================================= */

.lower-section {
    width: 100%;

    padding: 12px 0 18px;

    background: #f6f9fd;
}

.lower-container {
    width: 92%;
    max-width: 1270px;

    margin: auto;

    display: grid;

    grid-template-columns: 2.2fr 1fr;

    gap: 14px;
}


/* =========================================================
   MAP CARD
========================================================= */

.map-card {
    min-height: 325px;

    background: white;

    border: 1px solid #e1e7f0;

    border-radius: 8px;

    padding: 15px;

    box-shadow:
        0 3px 12px rgba(19,52,91,.06);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 13px;
}

.small-icon {
    width: 21px;
    height: 21px;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    background: #1680eb;

    color: white;

    font-size: 10px;

    flex-shrink: 0;
}

.section-title h2 {
    font-size: 15px;

    line-height: 1.2;

    font-weight: 700;

    color: #0a285f;
}

.section-title p {
    margin-top: 4px;

    font-size: 11px;

    color: #70809b;
}


/* =========================================================
   MAP
========================================================= */

.map-wrapper {
    position: relative;

    width: 100%;
    height: 244px;

    border-radius: 6px;

    overflow: hidden;

    background: #e7edf5;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* =========================================================
   MAP LABEL
========================================================= */

.map-label {
    position: absolute;

    top: 17px;
    left: 35px;

    width: 220px;

    padding: 16px;

    background: rgba(255,255,255,.97);

    border-radius: 6px;

    box-shadow:
        0 5px 15px rgba(0,0,0,.14);

    display: flex;

    flex-direction: column;
}

.map-label strong {
    font-size: 12px;

    color: #202020;

    margin-bottom: 6px;
}

.map-label span {
    font-size: 10px;

    color: #7b8490;

    line-height: 1.6;
}

.map-label a {
    margin-top: 9px;

    color: #006ee8;

    font-size: 10px;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   QUICK INFORMATION
========================================================= */

.quick-card {
    min-height: 325px;

    background: white;

    border: 1px solid #e1e7f0;

    border-radius: 8px;

    padding: 15px;

    box-shadow:
        0 3px 12px rgba(19,52,91,.06);
}

.quick-title {
    display: flex;

    align-items: center;

    gap: 10px;

    padding-bottom: 13px;

    border-bottom: 1px solid #e4e8ee;
}

.quick-title h2 {
    color: #0a285f;

    font-size: 15px;

    font-weight: 700;
}


/* =========================================================
   QUICK ITEM
========================================================= */

.quick-item {
    min-height: 60px;

    display: flex;

    align-items: center;

    gap: 10px;

    border-bottom: 1px solid #e7ebf0;
}

.quick-item:last-child {
    border-bottom: none;
}

.quick-icon {
    width: 37px;
    height: 37px;

    border-radius: 50%;

    background: #edf5ff;

    color: #0879e8;

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 15px;

    flex-shrink: 0;
}

.quick-text {
    flex: 1;

    min-width: 0;
}

.quick-text strong {
    font-size: 11px;

    color: #202020;

    font-weight: 700;
}

.quick-item b {
    color: #006ee8;

    font-size: 10.5px;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;

    background: #062967;

    color: white;
}

.footer-container {
    width: 92%;
    max-width: 1270px;

    margin: auto;

    min-height: 132px;

    display: grid;

    grid-template-columns:
        1.25fr 1.1fr 1fr;

    gap: 25px;

    padding: 12px 0 9px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding-right: 20px;

    border-right:
        1px solid rgba(255,255,255,.15);
}

.footer-brand img {
    width: 43px;
    height: 57px;

    object-fit: contain;
}

.footer-brand h3 {
    font-size: 13px;

    font-weight: 700;

    margin-top: 2px;
}

.footer-brand strong {
    font-size: 12px;

    font-weight: 600;
}

.footer-brand p {
    margin-top: 10px;

    max-width: 230px;

    color: #d8e2f3;

    font-size: 9.5px;

    line-height: 1.6;
}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.footer-column {
    padding-left: 7px;
}

.footer-column:not(:last-child) {
    border-right:
        1px solid rgba(255,255,255,.15);

    padding-right: 25px;
}

.footer-column h3 {
    margin-bottom: 8px;

    font-size: 12px;

    font-weight: 700;
}

.footer-column p {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin-bottom: 5px;

    color: #dce6f5;

    font-size: 9.5px;

    line-height: 1.5;
}

.footer-column p i {
    margin-top: 2px;

    width: 12px;

    color: white;
}


/* =========================================================
   SOCIAL
========================================================= */

.social {
    margin-top: 8px;

    display: flex;

    gap: 7px;
}

.social a {
    width: 29px;
    height: 29px;

    border: 1px solid white;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    text-decoration: none;

    font-size: 12px;

    transition: .2s ease;
}

.social a:hover {
    background: white;

    color: #062967;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    height: 30px;

    border-top:
        1px solid rgba(255,255,255,.15);

    display: flex;

    justify-content: center;
    align-items: center;

    color: #dce6f5;

    font-size: 10px;
}


/* =========================================================
   CHATBOT
========================================================= */

.chatbot {
    position: fixed;

    right: 15px;
    bottom: 12px;

    width: 275px;
    height: 375px;

    background: #ffffff;

    border-radius: 20px;

    border: 1px solid #1c7ff0;

    overflow: hidden;

    z-index: 9999;

    box-shadow:
        0 8px 28px rgba(0,45,100,.20);

    transition:
        width .25s ease,
        height .25s ease,
        border-radius .25s ease;
}


/* =========================================================
   CHAT HEADER
========================================================= */

.chat-header {
    width: 100%;
    height: 58px;

    padding: 0 15px;

    background:
        linear-gradient(
            135deg,
            #086fe4,
            #0052c6
        );

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 19px 19px 0 0;
}


/* =========================================================
   CHAT TITLE
========================================================= */

.chat-title {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}


/* GAMBAR BOT — DIKUNCI AGAR TIDAK MEMBESAR */

.chat-title img,
.bot-profile img {
    width: 36px !important;
    height: 42px !important;

    max-width: 36px !important;
    max-height: 42px !important;

    min-width: 36px !important;
    min-height: 42px !important;

    object-fit: contain !important;

    display: block;

    flex-shrink: 0;
}


/* KALAU HTML MENGGUNAKAN BOT-PROFILE */

.bot-profile {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}

.bot-profile strong {
    color: white;

    font-size: 13px;

    font-weight: 700;
}


/* JUDUL CHAT */

.chat-title span {
    color: white;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   MINIMIZE BUTTON
========================================================= */

.chat-minimize {
    width: 32px;
    height: 32px;

    padding: 0;

    border: none;
    outline: none;

    background: transparent;

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;

    font-weight: 400;

    cursor: pointer;

    border-radius: 50%;

    transition:
        background .2s ease,
        transform .2s ease;

    flex-shrink: 0;
}

.chat-minimize:hover {
    background:
        rgba(255,255,255,.15);

    transform: scale(1.08);
}

.chat-minimize:active {
    transform: scale(.92);
}


/* =========================================================
   CHAT CONTENT
========================================================= */

.chat-content,
.chat-body {
    width: 100%;

    height: 263px;

    padding: 14px 13px;

    overflow: hidden;

    background: #ffffff;
}


/* =========================================================
   BOT MESSAGE
========================================================= */

.bot-message {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    margin-bottom: 13px;
}

.bot-message img {
    width: 31px !important;
    height: 37px !important;

    max-width: 31px !important;
    max-height: 37px !important;

    min-width: 31px !important;
    min-height: 37px !important;

    object-fit: contain !important;

    display: block;

    flex-shrink: 0;
}


/* =========================================================
   MESSAGE BOX
========================================================= */

.message-box {
    max-width: 190px;

    padding: 8px 11px;

    background: #f0f2f5;

    border-radius: 8px;

    color: #343434;

    font-size: 9.5px;

    line-height: 1.6;

    box-shadow:
        0 2px 5px rgba(0,0,0,.05);
}


/* =========================================================
   QUESTION BUTTON
========================================================= */

.question {
    display: block;

    width: fit-content;

    max-width: 94%;

    margin:
        0 0 8px auto;

    padding: 8px 12px;

    background: white;

    border:
        1px solid #e0e7ef;

    border-radius: 18px;

    color: #006fe7;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 9px;

    font-weight: 500;

    box-shadow:
        0 3px 9px rgba(0,70,160,.09);

    cursor: pointer;
}

.question:hover {
    background: #f7fbff;
}


/* =========================================================
   CHAT INPUT
========================================================= */

.chat-input {
    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 13px;

    height: 42px;

    border:
        1px solid #1b82ed;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 12px;

    color: #8b99ad;

    font-size: 9.5px;

    background: white;
}

.chat-input i {
    color: #0878e8;

    font-size: 15px;
}


/* =========================================================
   CHATBOT MINIMIZED
========================================================= */

.chatbot.minimized {
    width: 68px !important;
    height: 68px !important;

    border-radius: 50% !important;

    overflow: hidden;

    cursor: pointer;

    right: 15px;
    bottom: 15px;
}


/* HEADER SAAT MINIMIZE */

.chatbot.minimized .chat-header {
    width: 68px;
    height: 68px;

    padding: 0;

    border-radius: 50%;

    justify-content: center;
}


/* TITLE SAAT MINIMIZE */

.chatbot.minimized .chat-title {
    width: 68px;
    height: 68px;

    display: flex;

    justify-content: center;
    align-items: center;
}


/* SEMBUNYIKAN TEKS */

.chatbot.minimized .chat-title span,
.chatbot.minimized .bot-profile strong {
    display: none;
}


/* LOGO SAAT MINIMIZE */

.chatbot.minimized .chat-title img,
.chatbot.minimized .bot-profile img {
    width: 46px !important;
    height: 50px !important;

    max-width: 46px !important;
    max-height: 50px !important;

    min-width: 46px !important;
    min-height: 50px !important;
}


/* SEMBUNYIKAN TOMBOL */

.chatbot.minimized .chat-minimize {
    display: none;
}


/* SEMBUNYIKAN ISI */

.chatbot.minimized .chat-content,
.chatbot.minimized .chat-body,
.chatbot.minimized .chat-input {
    display: none;
}


/* =========================================================
   RESPONSIVE 1100px
========================================================= */

@media (max-width: 1100px) {

    .nav-menu {
        gap: 22px;
    }

    .cards-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .lower-container {
        grid-template-columns: 1fr;
    }

    .chatbot {
        width: 275px;
        height: 375px;
    }
}


/* =========================================================
   RESPONSIVE 800px
========================================================= */

@media (max-width: 800px) {

    .navbar {
        height: auto;
        min-height: 65px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .brand-name {
        display: none;
    }

    .brand img {
        width: 43px;
    }

    .nav-menu {
        gap: 17px;
        overflow-x: auto;
    }

    .nav-link {
        font-size: 10px;
        white-space: nowrap;
    }

    .hero {
        height: 320px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero h2 {
        font-size: 39px;
    }

    .hero p {
        padding: 0 20px;
        font-size: 11px;
    }

    .hero p br {
        display: none;
    }

    .chatbot {
        display: none;
    }
}


/* =========================================================
   RESPONSIVE 600px
========================================================= */

@media (max-width: 600px) {

    .nav-menu {
        gap: 13px;
    }

    .nav-link {
        font-size: 9px;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: 170px;
    }

    .hero {
        height: 290px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;

        gap: 8px;
    }

    .btn {
        width: 190px;
        height: 39px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .footer-brand,
    .footer-column:not(:last-child) {
        border-right: none;
    }
}