:root {
    /* Typography */
    --font-body--family: "Inter", sans-serif;
    --font-body--style: normal;
    --font-body--weight: 400;

    --font-heading--family: "Poppins", sans-serif;
    --font-heading--style: normal;
    --font-heading--weight: 600;

    --font-button--family: "Poppins", sans-serif;
    --font-button--style: normal;
    --font-button--weight: 600;

    /* h1-h6 */
    --font-h1--size: 60px;
    --font-h2--size: 48px;
    --font-h3--size: 36px;
    --font-h4--size: 24px;
    --font-h5--size: 20px;
    --font-h6--size: 16px;

    /* header nav */
    --font-nav-main: 16px;

    /* Colors */
    --color-background: rgba(255, 255, 255, 1);
    --color-foreground: rgba(28, 37, 57, 1);
    --color-foreground-heading: rgba(28, 37, 57, 1);
    --color-foreground-subheading: rgba(93, 102, 111, 1);
    --color-background-subheading: rgba(255, 255, 255, 0.1);
    --color-border-subheading-bg: rgba(32, 40, 45, 0.1);
    --color-primary: rgba(28, 37, 57, 1);
    --color-primary-background: rgba(28, 37, 57, 1);
    --color-primary-hover: rgba(28, 37, 57, 1);
    --color-primary-background-hover: rgba(28, 37, 57, 1);
    --color-border: rgba(255, 255, 255, 0.3);
    --color-border-hover: rgba(93, 102, 111, 0.5);
    --color-shadow: rgba(0, 0, 0, 1);
    --color-overlay: rgba(28, 37, 57, 0.6);

    /* Buttons */
    --font-button-size: 16px;
    --font-button-size-mobile: 16px;
    --style-button-height: 56px;
    --style-button-height-mobile: 48px;
    --style-button-slim-height: 52px;
    --style-button-slim-height-mobile: 40px;
    --style-cta-underline-offset: 5px;
    --style-cta-underline-thickness: 1px;

    /* Colors - Primary Button */
    --color-primary-button-text: rgba(255, 255, 255, 1);
    --color-primary-button-background: rgba(32, 40, 45, 1);
    --color-primary-button-border: rgba(32, 40, 45, 1);
    --color-primary-button-icon: rgba(28, 37, 57, 1);
    --color-primary-button-icon-background: rgba(255, 255, 255, 1);

    --color-primary-button-hover-text: rgba(32, 40, 45, 1);
    --color-primary-button-hover-background: rgba(255, 255, 255, 1);
    --color-primary-button-hover-border: rgba(32, 40, 45, 1);
    --color-primary-button-hover-icon: rgba(255, 255, 255, 1);
    --color-primary-button-hover-icon-background: rgba(28, 37, 57, 1);

    /* Colors - Secondary Button */
    --color-secondary-button-text: rgba(32, 40, 45, 1);
    --color-secondary-button-background: rgba(255, 255, 255, 1);
    --color-secondary-button-border: rgba(255, 255, 255, 1);
    --color-secondary-button-icon: rgba(255, 255, 255, 1);
    --color-secondary-button-icon-background: rgba(32, 40, 45, 1);

    --color-secondary-button-hover-text: rgba(255, 255, 255, 1);
    --color-secondary-button-hover-background: rgba(32, 40, 45, 1);
    --color-secondary-button-hover-border: rgba(32, 40, 45, 1);
    --color-secondary-button-hover-icon: rgba(28, 37, 57, 1);
    --color-secondary-button-hover-icon-background: rgba(255, 255, 255, 1);

    /* Colors - Input */
    --color-input-background: rgba(255, 255, 255, 1);
    --color-input-text: rgba(93, 102, 111, 1);
    --color-input-border: rgba(93, 102, 111, 0.2);
    --color-input-hover-background: rgba(255, 255, 255, 1);
    --color-input-hover-text: rgba(93, 102, 111, 1);
    --color-input-hover-border: rgba(93, 102, 111, 0.2);

    /* Borders */
    --style-border-width-buttons-primary: 1px;
    --style-border-width-buttons-secondary: 1px;
    --style-border-radius-buttons-primary: 40px;
    --style-border-radius-buttons-secondary: 40px;

    --style-border-width-inputs: 1px;
    --style-border-radius-inputs: 8px;
    --style-border-width: 1px;

    /* Focus */
    --focus-outline-width: 1px;
    --focus-outline-offset: 3px;

    /* Pagination */
    --style-pagination-border-width: 1px;
    --pagination-item-foreground: rgba(28, 37, 57, 1);
    --pagination-item-background: rgba(242, 242, 242, 1);
    --pagination-item-border: rgba(242, 242, 242, 1);
    --pagination-item-active-foreground: rgba(255, 255, 255, 1);
    --pagination-item-active-background: rgba(28, 37, 57, 1);
    --pagination-item-active-border: rgba(28, 37, 57, 1);

    /* Swiper */
    --swiper-navigation-size: 16px;
    --swiper-navigation-color: rgba(255, 255, 255, 1);
    --swiper-navigation-background-color: transparent;
    --swiper-navigation-hover-color: rgba(255, 255, 255, 1);
    --swiper-navigation-hover-background-color: rgba(255, 255, 255, 0.15);
    --swiper-pagination-bullet-inactive-color: rgba(242, 242, 242);
    --swiper-pagination-color: rgba(28, 37, 57, 1);
    --swiper-pagination-bullet-inactive-opacity: 1;
}

@media (max-width: 767px) {
    :root {
        --font-h1--size: 48px;
        --font-h2--size: 40px;
        --font-h3--size: 28px;
        --font-h4--size: 20px;
        --font-h5--size: 18px;
    }
}

.footer-menu li{
    color:#fff;
}

/* === Hero Slider Responsive Fix === */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* buat full tinggi layar */
    overflow: hidden;
}

.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.slider-card {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-card .slider-media,
.slider-card picture,
.slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* biar tidak gepeng */
    object-position: center;
    display: block;
}

/* Overlay konten */
.slider-card.overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    /* bayangan lembut */
    z-index: 1;
}

/* Konten teks di atas gambar */
.slider-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsif teks */
.slider-content .content-box {
    max-width: 700px;
    text-align: center;
    color: #fff;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        /* sedikit lebih kecil di hp biar tidak terlalu panjang */
    }

    .slider-content .heading {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .slider-content .text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .slider-content .buttons .button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* ===== MOBILE NAV ===== */
.mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0 0;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    background: rgba(15, 20, 28, .88);
    border-top: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px) saturate(140%);
    z-index: 1000;
    display: none;
}

.mobile-bottom-nav a{
    text-decoration: none;
    color: #b8c4d6;
}

#waTitleMobile{
    color: #e9fff1;
}

@media (max-width:768px) {
    .mobile-bottom-nav {
        display: block
    }
}

.nav-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 760px;
    margin: 0 auto;
    position: relative
}

.nav-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #b8c4d6;
    padding: 8px 6px;
    border-radius: 14px;
    text-align: center;
    width: 100%
}

.icon-24 {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto 2px
}

.lbl {
    font-size: 11px
}

/* ===== PROTRUDING WA (MOBILE) ===== */
.nav-wa-protrude {
    /* position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-32px);
    z-index: 2 */
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-32px);
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-28px);
    z-index: 2;
    background: rgb(42 47 54);
    color: #e9fff1 !important;
    padding: 10px 14px;
    border-radius: 22px;
}

.nav-wa-btn {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    background: radial-gradient(220px 180px at 50% -20%, rgba(31, 168, 85, .40), rgba(31, 168, 85, .20));
    color: #eafff3;
    box-shadow: 0 16px 34px rgba(31, 168, 85, .38), inset 0 0 0 1px rgba(255, 255, 255, .08);
    border: 1px solid rgba(31, 168, 85, .55);
}

.nav-wa-btn .icon-32 {
    width: 32px;
    height: 32px
}

.nav-wa-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(31, 168, 85, .28);
    animation: waPulse 1.8s infinite
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 168, 85, .28)
    }

    70% {
        box-shadow: 0 0 0 26px rgba(31, 168, 85, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(31, 168, 85, 0)
    }
}

/* ===== OFFCANVAS MOBILE (DINAMIS) ===== */
.offcanvas.custom-bottom {
    background: linear-gradient(180deg, #0f151f, #0c121a);
    color: var(--text);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    bottom: calc(var(--nav-h) - 8px);
    /* rapat ke nav, tidak terlalu tinggi */
    z-index: 1100;
    /* height akan di-set dinamis via JS */
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.btn-close {
    filter: invert(1) grayscale(1)
}

.offcanvas-body {
    overflow: auto
}

.wa-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit
}

.wa-icon {
    min-width: 46px;
    min-height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(31, 168, 85, .18), rgba(31, 168, 85, .05));
    border: 1px solid rgba(31, 168, 85, .35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04)
}

.wa-item h6 {
    margin: 0 0 2px;
    font-size: 14px;
    color: #e9fff1
}

.wa-item .small {
    color: #8ea0b4
}

/* ===== DESKTOP: HOVER → SLIDE FROM RIGHT ===== */
.wa-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: radial-gradient(220px 180px at 50% -20%, rgba(31, 168, 85, .40), rgba(31, 168, 85, .20));
    color: #eafff3;
    display: none;
    place-items: center;
    cursor: pointer;
    z-index: 1100;
    border: 1px solid rgba(31, 168, 85, .55);
    box-shadow: 0 16px 34px rgba(31, 168, 85, .38), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.wa-fab .icon-30 {
    width: 30px;
    height: 30px
}

@media (min-width:769px) {
    .wa-fab {
        display: grid
    }
}

.wa-slide {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 92vw);
    background: linear-gradient(180deg, #0f151f, #0c121a);
    color: var(--text);
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: -18px 0 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .03);
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    z-index: 1099;
    transition: transform .22s ease, opacity .18s ease;
    display: none;
}

@media (min-width:769px) {
    .wa-slide {
        display: block
    }
}

.wa-slide.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto
}

.wa-slide .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.wa-slide .body {
    padding: 12px;
    max-height: calc(100dvh - 60px);
    overflow: auto
}

.wa-close {
    background: none;
    border: none;
    color: #fff;
    opacity: .7
}

.wa-close:hover {
    opacity: 1
}

.container-artikel {
    display: flex;
    /* background: #cccccc; */
    /* align-items: center; */
    justify-content: space-between;
    flex-direction: row-reverse;
    /* Gambar di kanan, teks di kiri */
    padding: 50px 5%;
    flex-wrap: wrap;
    gap: 40px;
    /* max-width: 1200px; */
    margin: auto;
}

.text-section {
    flex: 1;
    min-width: 320px;
    order: 1;
    /* Teks dulu muncul di urutan render */
}

.image-section {
    flex: 1;
    min-width: 340px;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
}

.text-section h1 {
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: 20px;
}

.text-section h1 strong {
    color: #e20000;
}

.text-section p {
    font-size: 12px;
    margin: 10px 0 20px 0;
}

.btn-wa {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    text-align: center;

    padding: 8px 14px;
    /* lebih kecil */
    font-size: 13px;
    /* lebih kecil */
    border-radius: 6px;

    margin: 4px;
    /* jarak antar tombol */
    max-width: 180px;
    /* biar kompak, bisa disesuaikan */

    transition: all 0.2s ease;
}

.btn-wa:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-banner-blog {
    --height: 100px;
    --color-overlay: linear-gradient(184.15deg, rgba(28, 37, 57, 0) -187.51%, #1c2539 96.62%);
    --color-foreground: rgba(255, 255, 255, 1);
    --color-foreground-heading: rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
    height: var(--height);
}

/* Responsiveness */
@media (max-width: 900px) {
    .container {
        /* flex-direction: column;
        text-align: center; */
    }

    .text-section {
        order: 2;
    }

    .image-section {
        order: 1;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .text-section h1 {
        font-size: 23px;
    }

    .text-section p {
        font-size: 13px;
    }

    .btn-wa {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 400px) {
    .text-section h1 {
        font-size: 22px;
    }

    .btn-wa {
        font-size: 13px;
    }
}
