/* =========================================================
   GOOGLE FONT
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   ROOT
========================================================= */

:root {
    --primary: #0F4C81;
    --primary-dark: #08375f;
    --primary-light: #EAF4FF;

    --secondary: #4F46E5;

    --dark: #1F2937;
    --gray: #6B7280;
    --gray-light: #94A3B8;

    --light: #F8FAFC;
    --border: #E5E7EB;

    --white: #FFFFFF;

    --success: #198754;
    --danger: #dc3545;

    --sidebar-width: 260px;
    --navbar-height: 70px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 5px 20px rgba(15, 76, 129, 0.06);
    --shadow-md: 0 15px 40px rgba(15, 76, 129, 0.10);
    --shadow-lg: 0 25px 70px rgba(15, 76, 129, 0.14);
}


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: var(--dark);
    overflow-x: hidden;
}

body.back-office {
    padding-top: 0 !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}


/* =========================================================
   BOOTSTRAP OVERRIDE — PUBLIC
========================================================= */

.public-content .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.public-content .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.20);
}

.public-content .form-control,
.public-content .form-select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #D9E2EC;
    padding: 11px 15px;
    color: var(--dark);
    background: #ffffff;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.public-content .form-control:focus,
.public-content .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.10);
}

.public-content .form-label {
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.public-content .text-muted {
    color: var(--gray) !important;
}


/* =========================================================
   PUBLIC LAYOUT
========================================================= */

.public-content {
    min-height: calc(100vh - 90px);
}

.public-content > section:first-child {
    padding-top: 150px;
}


/* =========================================================
   PUBLIC HEADER
========================================================= */

.header {
    height: 90px;
    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    border-top: 4px solid #1b5e20;

    display: flex;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999;

    box-shadow:
        0 4px 25px rgba(15, 76, 129, 0.07);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header .container {
    height: 100%;
}

.header-wrapper {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;
}

.logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;

    border-radius: 12px;
}

.logo-text h5 {
    margin: 0;

    font-size: 21px;
    font-weight: 700;

    color: var(--dark);

    letter-spacing: 0.2px;
}

.logo-text small {
    display: block;

    margin-top: 2px;

    color: #64748B;
    font-size: 13px;
}

.menu-button {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #E2E8F0;
    border-radius: 14px;

    background: #ffffff;
    color: var(--primary);

    font-size: 25px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.menu-button:hover {
    transform: translateY(-2px);

    background: var(--primary);
    color: #ffffff;

    box-shadow:
        0 10px 25px rgba(15, 76, 129, 0.18);
}


/* =========================================================
   PUBLIC SIDEBAR / OFFCANVAS
========================================================= */

#sidebarMenu {
    width: 340px;

    border: none;

    box-shadow:
        -10px 0 40px rgba(15, 23, 42, 0.12);
}

#sidebarMenu .offcanvas-header {
    padding: 28px 28px 22px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color: #ffffff;

    border-bottom: none;
}

#sidebarMenu .offcanvas-header h4 {
    color: #ffffff;
    font-size: 23px;
}

#sidebarMenu .offcanvas-header small {
    color: rgba(255, 255, 255, 0.72);
}

#sidebarMenu .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

#sidebarMenu .offcanvas-body {
    padding: 28px 22px;

    background: #ffffff;
}

#sidebarMenu .menu-item {
    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 52px;

    padding: 13px 16px;
    margin-bottom: 9px;

    border-radius: 14px;

    color: #475569 !important;

    font-size: 14px;
    font-weight: 500;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

#sidebarMenu .menu-item i {
    width: 22px;

    font-size: 19px;

    color: #64748B !important;

    transition: color 0.25s ease;
}

#sidebarMenu .menu-item:hover {
    background: #F1F7FC;

    color: var(--primary) !important;

    transform: translateX(3px);
}

#sidebarMenu .menu-item:hover i {
    color: var(--primary) !important;
}

#sidebarMenu .menu-item.active {
    background:
        linear-gradient(
            135deg,
            #EAF4FF,
            #F4F9FF
        );

    color: var(--primary) !important;

    font-weight: 700;

    box-shadow:
        inset 4px 0 0 var(--primary);
}

#sidebarMenu .menu-item.active i {
    color: var(--primary) !important;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.public-content section {
    position: relative;
}

.public-content section:not(.hero) {
    padding: 100px 0;
}

.public-content h2 {
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.public-content p {
    color: var(--gray);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 150px 0 100px !important;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(15, 76, 129, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(79, 70, 229, 0.06),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #F5FAFF 100%
        );

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    top: 130px;

    border-radius: 50%;

    background: rgba(15, 76, 129, 0.05);
}

.hero .container-xxl {
    position: relative;
    z-index: 2;
}

.badge-system {
    display: inline-flex;
    align-items: center;

    padding: 9px 17px;

    background: #EAF4FF;
    color: var(--primary);

    border: 1px solid rgba(15, 76, 129, 0.08);

    border-radius: 50px;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(15, 76, 129, 0.06);
}

.hero h1 {
    margin-top: 23px;
    margin-bottom: 0;

    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -2px;

    color: #172033;
}

.hero h1 .text-primary {
    color: var(--primary) !important;
}

.hero p {
    max-width: 620px;

    margin-top: 25px;

    color: #64748B;

    font-size: 17px;
    line-height: 1.9;
}

.hero-image-wrapper {
    position: relative;

    display: inline-block;

    width: 100%;
    max-width: 570px;

    padding: 10px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid rgba(15, 76, 129, 0.08);

    border-radius: 30px;

    box-shadow:
        0 30px 80px rgba(15, 76, 129, 0.16);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.hero-image-wrapper::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -50px;
    bottom: -50px;

    border-radius: 50%;

    background: rgba(15, 76, 129, 0.08);
}

.hero-image-wrapper:hover {
    transform: translateY(-8px);

    box-shadow:
        0 40px 90px rgba(15, 76, 129, 0.22);
}

.hero-image-wrapper .hero-image {
    width: 100%;
    max-width: none;

    height: 440px;

    object-fit: cover;

    border-radius: 22px;

    display: block;

    animation: none;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-button {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    background: var(--primary);
    color: #ffffff;

    padding: 13px 26px;

    border-radius: 13px;

    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(15, 76, 129, 0.18);

    transition:
        background 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(15, 76, 129, 0.25);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    margin-left: 0;

    padding: 13px 26px;

    border-radius: 13px;

    border: 1px solid var(--primary);

    color: var(--primary);

    font-weight: 600;

    background: #ffffff;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(15, 76, 129, 0.15);
}


/* =========================================================
   HERO INFO
========================================================= */

.hero-info {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.info-box {
    min-width: 130px;

    background: #ffffff;

    border: 1px solid #EDF2F7;

    border-radius: 16px;

    padding: 17px 22px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(15, 76, 129, 0.06);
}

.info-box h3 {
    margin: 0;

    color: var(--primary);

    font-weight: 700;
}

.info-box span {
    display: block;

    margin-top: 4px;

    color: var(--gray);

    font-size: 13px;
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    background: #ffffff;

    padding: 35px;

    border-radius: 30px;

    box-shadow: var(--shadow-md);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: #ffffff;
}

.about .container {
    position: relative;
}

.about img {
    width: 100%;
    max-height: 430px;

    object-fit: cover;

    border-radius: 26px !important;

    box-shadow:
        0 25px 60px rgba(15, 76, 129, 0.12) !important;
}

.about h2 {
    font-size: clamp(32px, 4vw, 45px);

    line-height: 1.2;

    margin-bottom: 24px;
}

.about p {
    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 16px;
}


/* =========================================================
   ADVANTAGES
========================================================= */

.advantages {
    background:
        linear-gradient(
            180deg,
            #F8FBFF 0%,
            #F3F8FD 100%
        );
}

.advantages h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.advantages .text-center > p {
    max-width: 650px;

    margin: 12px auto 0;

    line-height: 1.8;
}

.advantage-card {
    height: 100%;

    min-height: 180px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px 22px;

    background: #ffffff;

    border: 1px solid #E8EEF5;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 12px 35px rgba(15, 76, 129, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);

    border-color: rgba(15, 76, 129, 0.15);

    box-shadow:
        0 20px 45px rgba(15, 76, 129, 0.12);
}

.advantage-card i {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 18px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 28px;
}

.advantage-card h5 {
    margin: 0;

    color: #334155;

    font-size: 16px;
    font-weight: 600;
}


/* =========================================================
   FLOW
========================================================= */

.flow {
    background: #ffffff;
}

.flow .text-center {
    margin-bottom: 45px !important;
}

.flow h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.flow-item {
    position: relative;

    height: 100%;

    padding: 15px;
}

.flow-number {
    width: 62px;
    height: 62px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #1769aa
        );

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(15, 76, 129, 0.18);

    position: relative;
}

.flow-number::after {
    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    border: 1px solid rgba(15, 76, 129, 0.10);
}

.flow-item h5 {
    margin: 0;

    color: #334155;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #F8FBFF 0%,
            #FFFFFF 100%
        );
}

.section-title {
    color: var(--dark);

    font-size: clamp(30px, 4vw, 42px);

    font-weight: 700;

    letter-spacing: -0.7px;
}

.section-subtitle {
    max-width: 700px;

    margin: 14px auto 0;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.8;
}

.gallerySwiper {
    width: 100%;

    overflow: hidden;

    padding: 20px 6px 65px;
}

.gallerySwiper .swiper-wrapper {
    align-items: stretch;
}

.gallerySwiper .swiper-slide {
    height: auto;
}

.gallery-card {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    border: 1px solid #E8EEF5;

    box-shadow:
        0 15px 35px rgba(15, 76, 129, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 50px rgba(15, 76, 129, 0.14);
}

.gallery-image {
    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.06);

    filter: brightness(1.03);
}


/* =========================================================
   GALLERY NAVIGATION
========================================================= */

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    width: 46px;
    height: 46px;

    margin-top: -30px;

    border-radius: 50%;

    background: #ffffff;

    color: var(--primary);

    border: 1px solid #E7EDF4;

    box-shadow:
        0 10px 25px rgba(15, 76, 129, 0.12);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover {
    background: var(--primary);
    color: #ffffff;

    transform: scale(1.05);
}

.gallerySwiper .swiper-button-next::after,
.gallerySwiper .swiper-button-prev::after {
    font-size: 17px;

    font-weight: 700;
}


/* =========================================================
   GALLERY PAGINATION
========================================================= */

.gallerySwiper .swiper-pagination {
    bottom: 5px;
}

.gallerySwiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;

    opacity: 1;

    background: #CBD5E1;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.gallerySwiper .swiper-pagination-bullet-active {
    width: 24px;

    border-radius: 10px;

    background: var(--primary);
}


/* =========================================================
   HASIL PAGE
========================================================= */

.hasil-page {
    min-height: 75vh;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(15, 76, 129, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #F1F7FC,
            #FFFFFF
        );

    padding: 140px 0 90px;
}

.hasil-card {
    background: #ffffff;

    border-radius: 28px;

    padding: 45px;

    border: 1px solid #E8EEF5;

    box-shadow:
        0 25px 70px rgba(15, 76, 129, 0.10);
}

.hasil-icon {
    width: 86px;
    height: 86px;

    margin: 0 auto 20px;

    border-radius: 24px;

    background: var(--primary-light);

    display: flex;
    align-items: center;
    justify-content: center;
}

.hasil-icon i {
    font-size: 38px;

    color: var(--primary);
}

.info-item {
    background: #F8FAFC;

    border: 1px solid #E9EEF4;

    border-radius: 16px;

    padding: 18px;
}

.info-item small {
    color: var(--gray);

    font-size: 12px;
}

.info-item h6 {
    margin-top: 7px;
    margin-bottom: 0;

    color: #334155;

    font-weight: 700;
}


/* =========================================================
   GENERIC HASIL / PENGAJUAN CARD OVERRIDE
========================================================= */

.public-content .card {
    border: 1px solid #E8EEF5 !important;

    border-radius: 26px !important;

    box-shadow:
        0 25px 70px rgba(15, 76, 129, 0.09) !important;
}

.public-content .card-body {
    border-radius: inherit;
}


/* =========================================================
   PENGAJUAN
========================================================= */

.public-content form h5 {
    color: #1E293B;

    font-size: 17px;
    font-weight: 700;
}

.public-content form hr {
    border-color: #E8EEF5;

    opacity: 1;
}

.public-content input[type="file"] {
    padding: 10px 13px;

    background: #F8FAFC;

    cursor: pointer;
}

.public-content input[type="file"]::file-selector-button {
    margin-right: 12px;

    border: none;

    border-radius: 9px;

    background: var(--primary);

    color: #ffffff;

    padding: 8px 13px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
}

.public-content input[type="file"]::file-selector-button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   LOGIN
========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(15, 76, 129, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(79, 70, 229, 0.06),
            transparent 28%
        ),
        #F5F9FF;

    padding: 130px 0 80px;
}

.login-card {
    width: 100%;

    background: #ffffff;

    padding: 42px;

    border: 1px solid #E8EEF5;

    border-radius: 26px;

    box-shadow:
        0 25px 70px rgba(15, 76, 129, 0.11);
}

.login-card h3 {
    color: #172033;

    font-size: 25px;
}

.login-card .text-muted {
    font-size: 14px;
}

.login-card .form-control {
    min-height: 52px;
}

.login-card .btn-primary {
    min-height: 52px;

    border-radius: 13px;
}

.login-card .form-label {
    color: #334155;
}


/* =========================================================
   PUBLIC FOOTER
========================================================= */

.footer {
    margin-top: auto;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #ffffff;

    text-align: center;

    padding: 28px 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   BACK OFFICE LAYOUT
========================================================= */

/*
   BAGIAN INI DIPERTAHANKAN
   UNTUK BACK OFFICE
*/

body.back-office {
    min-height: 100vh;

    background: #f8fafc;
}


/* =========================================================
   BACK OFFICE SIDEBAR
========================================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 1040;

    width: var(--sidebar-width);

    height: 100vh;

    background: var(--primary);

    color: #ffffff;

    display: flex;
    flex-direction: column;

    flex-shrink: 0;

    overflow: hidden;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.sidebar-header {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 90px;

    padding: 18px 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-header img {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 12px;

    object-fit: cover;
}

.sidebar-header h5 {
    margin: 0;

    color: #ffffff;

    font-weight: 700;
}

.sidebar-header small {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   SIDEBAR MENU
========================================================= */

.sidebar-menu {
    flex: 1;

    padding: 20px 14px;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 255, 255, 0.25)
        transparent;
}

.sidebar-menu::-webkit-scrollbar {
    width: 5px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);

    border-radius: 10px;
}


/* =========================================================
   SIDEBAR MENU TITLE
========================================================= */

.menu-title {
    margin: 18px 10px 10px;

    font-size: 0.75rem;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.6);

    font-weight: 600;

    letter-spacing: 1px;
}


/* =========================================================
   SIDEBAR MENU ITEM
========================================================= */

.sidebar .menu-item {
    display: flex;
    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 12px 14px;

    margin-bottom: 6px;

    border-radius: 12px;

    color: #ffffff;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease;
}

.sidebar .menu-item i {
    flex-shrink: 0;

    font-size: 18px;
}

.sidebar .menu-item:hover {
    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    transform: translateX(2px);
}

.sidebar .menu-item.active {
    background: #ffffff;

    color: var(--primary);

    font-weight: 600;
}

.sidebar .menu-item.active i {
    color: var(--primary);
}


/* =========================================================
   SIDEBAR FOOTER
========================================================= */

.sidebar-footer {
    flex: 0 0 auto;

    padding: 18px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    color: rgba(255, 255, 255, 0.6);

    background: var(--primary);
}


/* =========================================================
   BACK OFFICE MAIN
========================================================= */

body.back-office .main {
    width: calc(100% - var(--sidebar-width));

    min-width: 0;

    min-height: 100vh;

    margin-left: var(--sidebar-width);

    display: flex;
    flex-direction: column;

    background: #f8fafc;
}


/* =========================================================
   BACK OFFICE NAVBAR
========================================================= */

.bo-navbar {
    position: sticky;

    top: 0;

    z-index: 1030;

    flex: 0 0 var(--navbar-height);

    width: 100%;

    min-width: 0;

    height: var(--navbar-height);

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 30px;

    border-bottom: 1px solid #e9ecef;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.05);
}

.bo-navbar > div:first-child {
    min-width: 0;
}

.bo-navbar h5 {
    margin: 0;

    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.bo-navbar > div:last-child {
    flex-shrink: 0;
}


/* =========================================================
   BACK OFFICE CONTENT
========================================================= */

body.back-office .content {
    width: 100%;

    min-width: 0;

    flex: 1;

    padding: 30px;

    overflow-x: hidden;
}


/* =========================================================
   BACK OFFICE TABLE
========================================================= */

body.back-office .table-responsive {
    width: 100%;

    max-width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

body.back-office table {
    max-width: 100%;
}


/* =========================================================
   BACK OFFICE CARD
========================================================= */

body.back-office .card {
    max-width: 100%;
}


/* =========================================================
   BACK OFFICE DATATABLE
========================================================= */

body.back-office .dataTables_wrapper {
    width: 100%;

    max-width: 100%;
}

body.back-office .dataTables_wrapper .row {
    max-width: 100%;
}

body.back-office .dataTables_wrapper .dataTables_scroll {
    max-width: 100%;
}

body.back-office .dataTables_wrapper .dataTables_scrollBody {
    max-width: 100%;
}

body.back-office .table-responsive {
    min-width: 0;
    overscroll-behavior-x: contain;
}

body.back-office .dataTables_wrapper {
    min-width: 0;
    overflow: hidden;
}

body.back-office .dataTables_wrapper .row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

body.back-office .dataTables_wrapper .dt-layout-cell {
    min-width: 0;
}

body.back-office .dataTables_wrapper .dt-info,
body.back-office .dataTables_wrapper .dt-paging {
    white-space: nowrap;
}

body.back-office .dataTables_wrapper .dt-layout-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

body.back-office .dataTables_wrapper .dt-layout-table table {
    min-width: 650px;
}

body.back-office #historyTable td.history-description-cell {
    text-align: left !important;
}


/* =========================================================
   GENERAL RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .hero h1 {
        font-size: 52px;
    }

    .hero-image-wrapper .hero-image {
        height: 400px;
    }
}


@media (max-width: 992px) {

    .public-content section:not(.hero) {
        padding: 80px 0;
    }

    .hero {
        text-align: center;

        padding: 140px 0 80px !important;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        margin-top: 20px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-button {
        justify-content: center;
    }

    .hero-info {
        justify-content: center;
    }

    .about {
        text-align: center;
    }

    .about img {
        max-height: 380px;
    }

    .gallery-image {
        aspect-ratio: 4 / 3;
    }


    /*
       BACK OFFICE TABLET
    */

    :root {
        --sidebar-width: 230px;
    }

    body.back-office .content {
        padding: 24px;
    }

    .bo-navbar {
        padding: 0 24px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .header {
        height: 76px;
    }

    .public-content {
        min-height: calc(100vh - 76px);
    }

    .public-content > section:first-child {
        padding-top: 120px;
    }

    .header-wrapper {
        height: 72px;
    }

    .logo {
        gap: 10px;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo-text h5 {
        font-size: 18px;
    }

    .logo-text small {
        font-size: 11px;
    }

    .menu-button {
        width: 43px;
        height: 43px;

        font-size: 22px;
    }

    #sidebarMenu {
        width: 290px;
    }

    #sidebarMenu .offcanvas-header {
        padding: 24px 22px 20px;
    }

    #sidebarMenu .offcanvas-body {
        padding: 22px 18px;
    }

    .hero {
        min-height: auto;

        padding: 125px 0 75px !important;
    }

    .hero h1 {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .hero p {
        font-size: 15px;

        line-height: 1.8;
    }

    .hero-image-wrapper {
        padding: 8px;

        border-radius: 23px;
    }

    .hero-image-wrapper .hero-image {
        height: 320px;

        border-radius: 17px;
    }

    .hero-button {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
    }

    .hero-info {
        flex-direction: column;
        align-items: stretch;
    }

    .info-box {
        width: 100%;
    }

    .feature-card {
        padding: 30px;
    }

    .advantage-card {
        min-height: 170px;
    }

    .flow-item {
        padding: 10px;
    }

    .gallery-section {
        padding: 75px 0;
    }

    .gallerySwiper {
        padding-bottom: 58px;
    }

    .gallerySwiper .swiper-button-next,
    .gallerySwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .gallerySwiper .swiper-button-next::after,
    .gallerySwiper .swiper-button-prev::after {
        font-size: 15px;
    }

    .login-card {
        padding: 32px 22px;
    }

    .hasil-card {
        padding: 30px 22px;
    }

    .public-content .card-body {
        padding: 30px !important;
    }


    /* =====================================================
       BACK OFFICE MOBILE
    ===================================================== */

    :root {
        --sidebar-width: 0px;
    }

    body.back-office .sidebar {
        width: 220px;

        transform: translateX(0);

        transition: transform 0.3s ease;
    }

    body.back-office .main {
        width: calc(100% - 220px);

        margin-left: 220px;
    }

    body.back-office .content {
        padding: 18px;
    }

    .bo-navbar {
        height: 64px;

        padding: 0 18px;

        gap: 10px;
    }

    .bo-navbar h5 {
        font-size: 1rem;
    }

    .bo-navbar .btn {
        white-space: nowrap;
    }

    body.back-office .btn,
    body.back-office .btn-sm,
    body.back-office .btn-xs {
        padding: 0.45rem 0.8rem;

        font-size: 0.75rem;

        border-radius: 0.7rem;
    }

    body.back-office .btn i,
    body.back-office .btn-sm i,
    body.back-office .btn-xs i {
        font-size: 0.9rem;
    }

    .sidebar-header {
        min-height: 80px;

        padding: 15px;
    }

    .sidebar-header img {
        width: 45px;
        height: 45px;
    }

    .sidebar-menu {
        padding: 15px 10px;
    }

    .sidebar-footer {
        padding: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .header {
        height: 70px;
    }

    .logo-text h5 {
        font-size: 17px;
    }

    .logo-text small {
        font-size: 10px;
    }

    .hero {
        padding: 115px 0 65px !important;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 14px;

        line-height: 1.8;
    }

    .badge-system {
        padding: 8px 13px;

        font-size: 11px;
    }

    .hero-image-wrapper {
        padding: 7px;

        border-radius: 19px;
    }

    .hero-image-wrapper .hero-image {
        height: 260px;

        border-radius: 13px;
    }

    .public-content section:not(.hero) {
        padding: 65px 0;
    }

    .public-content .card-body {
        padding: 24px 18px !important;
    }

    .section-title {
        font-size: 29px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .about h2,
    .advantages h2,
    .flow h2 {
        font-size: 29px;
    }

    .about p {
        font-size: 14px;
    }

    .advantage-card {
        min-height: 155px;

        padding: 25px 18px;
    }

    .advantage-card i {
        width: 58px;
        height: 58px;

        font-size: 24px;
    }

    .advantage-card h5 {
        font-size: 14px;
    }

    .flow-number {
        width: 55px;
        height: 55px;

        font-size: 18px;
    }

    .gallerySwiper .swiper-button-next,
    .gallerySwiper .swiper-button-prev {
        width: 38px;
        height: 38px;
    }

    .login-card {
        padding: 28px 18px;

        border-radius: 22px;
    }

    .login-card h3 {
        font-size: 22px;
    }

    .hasil-card {
        padding: 25px 18px;

        border-radius: 22px;
    }

    .hasil-icon {
        width: 75px;
        height: 75px;
    }

    .hasil-icon i {
        font-size: 32px;
    }

    .footer {
        padding: 24px 16px;
    }

    .footer p {
        font-size: 11px;
    }


    /* =====================================================
       BACK OFFICE SMALL MOBILE
    ===================================================== */

    body.back-office .sidebar {
        width: 200px;
    }

    body.back-office .main {
        width: calc(100% - 200px);

        margin-left: 200px;
    }

    body.back-office .content {
        padding: 14px;
    }

    .bo-navbar {
        padding: 0 14px;
    }

    .bo-navbar h5 {
        font-size: 0.9rem;
    }

    .bo-navbar .btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 400px) {

    .logo-text small {
        display: none;
    }

    .logo-text h5 {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    #sidebarMenu {
        width: 275px;
    }
}

/* =========================================================
PUBLIC - FORM PENGAJUAN
========================================================= */

.application-page {
min-height: 100vh;

padding: 125px 0 80px;

background:
    radial-gradient(
        circle at top left,
        rgba(15, 76, 129, 0.08),
        transparent 35%
    ),
    linear-gradient(
        135deg,
        #f7fbff 0%,
        #ffffff 55%,
        #f4f8fc 100%
    );

}

/* =========================================================
APPLICATION CARD
========================================================= */

.application-card {
background: #ffffff;

border: 1px solid rgba(15, 76, 129, 0.08);

border-radius: 28px;

padding: 45px;

box-shadow:
    0 25px 70px rgba(15, 76, 129, 0.10);

}

/* =========================================================
APPLICATION HEADER
========================================================= */

.application-header {
display: flex;
align-items: center;

gap: 22px;

padding-bottom: 35px;

margin-bottom: 10px;

border-bottom: 1px solid #edf1f5;

}

.application-icon {
width: 68px;
height: 68px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 20px;

background: var(--primary-light);

color: var(--primary);

font-size: 30px;

}

.application-label {
display: inline-block;

margin-bottom: 5px;

color: var(--primary);

font-size: 12px;

font-weight: 700;

letter-spacing: 1.5px;

text-transform: uppercase;

}

.application-title {
margin: 0;

color: var(--dark);

font-size: 30px;

font-weight: 800;

}

.application-subtitle {
margin: 8px 0 0;

max-width: 700px;

color: var(--gray);

font-size: 14px;

line-height: 1.7;

}

/* =========================================================
SUCCESS ALERT
========================================================= */

.application-alert {
display: flex;
align-items: center;

margin: 25px 0 0;

border: none;

border-radius: 14px;

padding: 14px 18px;

}

/* =========================================================
FORM SECTION
========================================================= */

.form-section {
padding: 35px 0;

border-bottom: 1px solid #edf1f5;

}

.form-section:last-of-type {
border-bottom: none;
}

/* =========================================================
SECTION HEADING
========================================================= */

.section-heading {
display: flex;
align-items: flex-start;

gap: 15px;

margin-bottom: 28px;

}

.section-heading-between {
justify-content: space-between;
}

.section-number {
width: 42px;
height: 42px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 12px;

background: var(--primary-light);

color: var(--primary);

font-size: 13px;

font-weight: 800;

}

.section-heading h5 {
margin: 2px 0 4px;

color: var(--dark);

font-size: 18px;

font-weight: 700;

}

.section-heading p {
margin: 0;

color: var(--gray);

font-size: 13px;

line-height: 1.6;

}

/* =========================================================
FORM LABEL
========================================================= */

.application-card .form-label {
display: block;

margin-bottom: 9px;

color: #374151;

font-size: 13px;

font-weight: 600;

}

/* =========================================================
INPUT
========================================================= */

.application-card .form-control {
min-height: 50px;

border: 1px solid #dfe5ec;

border-radius: 12px;

padding: 12px 15px;

color: var(--dark);

font-size: 14px;

background: #ffffff;

transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

}

.application-card .form-control::placeholder {
color: #a1a9b3;
}

.application-card .form-control:hover {
border-color: #c7d2df;
}

.application-card .form-control:focus {
border-color: var(--primary);

background: #ffffff;

box-shadow:
    0 0 0 4px rgba(15, 76, 129, 0.08);

}

/* =========================================================
INPUT WITH ICON
========================================================= */

.input-with-icon {
position: relative;
}

.input-with-icon > i {
position: absolute;

left: 16px;

top: 50%;

transform: translateY(-50%);

z-index: 2;

color: #9aa5b1;

font-size: 17px;

pointer-events: none;

transition: color 0.25s ease;

}

.input-with-icon .form-control {
padding-left: 45px;
}

.input-with-icon:focus-within > i {
color: var(--primary);
}

/* =========================================================
ADD MEMBER BUTTON
========================================================= */

.btn-add-member {
display: inline-flex;
align-items: center;
justify-content: center;

min-height: 42px;

padding: 9px 16px;

border: none;

border-radius: 11px;

background: var(--primary);

color: #ffffff;

font-size: 13px;

font-weight: 600;

white-space: nowrap;

transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;

}

.btn-add-member:hover {
background: var(--primary-dark);

color: #ffffff;

transform: translateY(-2px);

box-shadow:
    0 8px 20px rgba(15, 76, 129, 0.18);

}

/* =========================================================
MEMBER WRAPPER
========================================================= */

.member-wrapper {
display: flex;

flex-direction: column;

gap: 15px;

}

/* =========================================================
EMPTY MEMBER
========================================================= */

.empty-member-info {
display: flex;
align-items: center;

gap: 10px;

margin-top: 5px;

padding: 14px 16px;

border: 1px dashed #d8e0e8;

border-radius: 12px;

background: #fafcff;

color: #8994a0;

font-size: 13px;

}

.empty-member-info i {
color: var(--primary);

font-size: 17px;

}

/* =========================================================
DOCUMENT UPLOAD
========================================================= */

.document-upload {
display: flex;
align-items: center;

gap: 15px;

min-height: 130px;

padding: 20px;

border: 1px solid #e2e8f0;

border-radius: 17px;

background: #fbfdff;

transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;

}

.document-upload:hover {
border-color: rgba(15, 76, 129, 0.30);

background: #f8fbff;

transform: translateY(-2px);

}

.document-icon {
width: 52px;
height: 52px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 14px;

background: #fff1f1;

color: #dc3545;

font-size: 25px;
}

.document-content {
flex: 1;

min-width: 0;

}

.document-content .form-label {
margin-bottom: 2px;
}

.document-content small {
display: block;

margin-bottom: 9px;

color: var(--gray);

font-size: 11px;

}

.document-content .form-control {
min-height: 42px;

padding: 7px 10px;

font-size: 12px;

}

/* =========================================================
SUBMIT AREA
========================================================= */

.application-submit {
display: flex;
align-items: center;
justify-content: space-between;

gap: 25px;

margin-top: 15px;

padding-top: 30px;

border-top: 1px solid #edf1f5;

}

.submit-info {
display: flex;
align-items: center;

gap: 12px;

}

.submit-info > i {
width: 40px;
height: 40px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 11px;

background: #eef9f1;

color: #198754;

font-size: 19px;

}

.submit-info strong {
display: block;

margin-bottom: 2px;

color: var(--dark);

font-size: 12px;

font-weight: 700;

}

.submit-info small {
display: block;

color: var(--gray);

font-size: 11px;

}

/* =========================================================
SUBMIT BUTTON
========================================================= */

.btn-submit {
display: inline-flex;
align-items: center;
justify-content: center;

gap: 15px;

min-width: 210px;

min-height: 52px;

padding: 12px 22px;

border: none;

border-radius: 13px;

background: var(--primary);

color: #ffffff;

font-size: 14px;

font-weight: 600;

box-shadow:
    0 10px 25px rgba(15, 76, 129, 0.18);

transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;

}

.btn-submit:hover {
background: var(--primary-dark);

color: #ffffff;

transform: translateY(-2px);

box-shadow:
    0 14px 30px rgba(15, 76, 129, 0.24);

}

.btn-submit i {
transition: transform 0.25s ease;
}

.btn-submit:hover i {
transform: translateX(4px);
}

/* =========================================================
APPLICATION RESPONSIVE
========================================================= */

@media (max-width: 768px) {

.application-page {
    padding: 105px 0 50px;
}

.application-card {
    padding: 30px 22px;

    border-radius: 22px;
}

.application-header {
    align-items: flex-start;

    gap: 15px;

    padding-bottom: 28px;
}

.application-icon {
    width: 55px;
    height: 55px;

    border-radius: 16px;

    font-size: 24px;
}

.application-title {
    font-size: 24px;
}

.application-subtitle {
    font-size: 12px;
}

.form-section {
    padding: 28px 0;
}

.section-heading-between {
    flex-direction: column;

    align-items: stretch;
}

.btn-add-member {
    width: 100%;
}

.document-upload {
    min-height: auto;

    align-items: flex-start;

    padding: 16px;
}

.application-submit {
    flex-direction: column;

    align-items: stretch;
}

.submit-info {
    align-items: flex-start;
}

.btn-submit {
    width: 100%;
}

}

@media (max-width: 576px) {

.application-page {
    padding-top: 100px;
}

.application-card {
    padding: 24px 16px;
}

.application-header {
    flex-direction: column;
}

.application-title {
    font-size: 22px;
}

.section-heading {
    gap: 11px;
}

.section-number {
    width: 36px;
    height: 36px;

    border-radius: 10px;

    font-size: 11px;
}

.section-heading h5 {
    font-size: 16px;
}

.section-heading p {
    font-size: 12px;
}

.document-upload {
    flex-direction: column;
}

.document-icon {
    width: 45px;
    height: 45px;
}

}
.login-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 36px;

    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.10);
}
/* =========================================================
PUBLIC HEADER - REFINED
========================================================= */

.header {
height: 88px;
width: 100%;

background: rgba(255, 255, 255, 0.96);

border-top: 4px solid #1b5e20;
border-bottom: 1px solid rgba(15, 76, 129, 0.08);

display: flex;
align-items: center;

position: fixed;
top: 0;
left: 0;

z-index: 9999;

backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);

box-shadow:
    0 4px 20px rgba(15, 76, 129, 0.06);

}

.header-wrapper {
width: 100%;

display: flex;
align-items: center;
justify-content: space-between;

}

.logo {
display: inline-flex;
align-items: center;
gap: 13px;

color: var(--dark);

}

.logo:hover {
color: var(--dark);
}

.logo-image {
width: 58px;
height: 58px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

background: #ffffff;

border-radius: 14px;

overflow: hidden;

box-shadow:
    0 6px 18px rgba(15, 76, 129, 0.10);

}

.logo-image img {
width: 100%;
height: 100%;

object-fit: cover;

display: block;

}

.logo-text {
display: flex;
flex-direction: column;

line-height: 1.15;

}

.logo-title {
font-size: 21px;
font-weight: 800;

color: var(--primary);

letter-spacing: 0.3px;

}

.logo-subtitle {
margin-top: 4px;

font-size: 12px;
font-weight: 500;

color: var(--gray);

}

.menu-button {
width: 46px;
height: 46px;

border: 1px solid var(--border);
border-radius: 13px;

background: #ffffff;

color: var(--primary);

display: flex;
align-items: center;
justify-content: center;

font-size: 25px;

box-shadow:
    0 6px 18px rgba(15, 76, 129, 0.08);

transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;

}

.menu-button:hover {
background: var(--primary);
color: #ffffff;

transform: translateY(-2px);

box-shadow:
    0 10px 24px rgba(15, 76, 129, 0.18);

}

/* =========================================================
PUBLIC SIDEBAR - REFINED
========================================================= */

.public-sidebar {
width: 350px;

order: none;

background: #ffffff;

box-shadow:
    -12px 0 40px rgba(15, 76, 129, 0.12);

}

.public-sidebar .offcanvas-header {
min-height: 100px;

padding: 25px;

background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

color: #ffffff;

border: none;

}

.public-sidebar .btn-close {
filter: brightness(0) invert(1);

opacity: 0.85;

box-shadow: none;

}

.sidebar-brand {
display: flex;
align-items: center;

gap: 13px;

}

.sidebar-brand-icon {
width: 48px;
height: 48px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 14px;

background: rgba(255, 255, 255, 0.15);

font-size: 22px;

}

.sidebar-brand h4 {
color: #ffffff;
}

.sidebar-brand small {
color: rgba(255, 255, 255, 0.72);
}

.public-sidebar .offcanvas-body {
padding: 25px 20px;

display: flex;
flex-direction: column;

}

.sidebar-menu-label {
margin: 4px 10px 14px;

color: #9ca3af;

font-size: 11px;
font-weight: 700;

letter-spacing: 1.2px;

}

.public-sidebar nav {
display: flex;
flex-direction: column;

gap: 8px;

}

.public-sidebar .menu-item {
display: flex;
align-items: center;

gap: 13px;

width: 100%;

padding: 13px 14px;

margin: 0;

border-radius: 14px;

color: var(--dark) !important;

font-size: 14px;
font-weight: 500;

transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;

}

.public-sidebar .menu-item:hover {
background: var(--primary-light);

color: var(--primary) !important;

transform: translateX(3px);

}

.public-sidebar .menu-icon {
width: 40px;
height: 40px;

flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 11px;

background: #f1f5f9;

color: var(--primary);

font-size: 17px;

transition:
    background 0.25s ease,
    color 0.25s ease;

}

.public-sidebar .menu-item.active {
background: var(--primary-light);

color: var(--primary) !important;

font-weight: 700;

box-shadow: inset 4px 0 0 var(--primary);

}

.public-sidebar .menu-item.active .menu-icon {
background: var(--primary);

color: #ffffff;

}

.public-sidebar .menu-item.active:hover {
background: rgba(15, 76, 129, 0.13);
}

.sidebar-public-footer {
margin-top: auto;

padding: 18px 20px;

display: flex;
align-items: center;

gap: 9px;

color: #9ca3af;

font-size: 11px;

border-top: 1px solid var(--border);

}

.sidebar-public-footer i {
color: var(--primary);

font-size: 16px;

}

/* =========================================================
PUBLIC HEADER MOBILE
========================================================= */

@media (max-width: 768px) {

.header {
    height: 74px;
}

.logo-image {
    width: 46px;
    height: 46px;

    border-radius: 11px;
}

.logo-title {
    font-size: 18px;
}

.logo-subtitle {
    font-size: 10px;
}

.menu-button {
    width: 42px;
    height: 42px;

    border-radius: 11px;

    font-size: 23px;
}

.public-sidebar {
    width: min(330px, 88vw);
}

.public-sidebar .offcanvas-header {
    padding: 22px 20px;
}

.public-sidebar .offcanvas-body {
    padding: 22px 16px;
}

}

@media (max-width: 576px) {

.logo-subtitle {
    display: none;
}

.logo-title {
    font-size: 17px;
}

.logo-image {
    width: 43px;
    height: 43px;
}

}

/* =========================================================
HOME - SECTION SHARED
========================================================= */

.about,
.advantages,
.flow {
padding: 100px 0;
}

.section-label {
display: inline-block;

 
margin-bottom: 12px;

color: var(--primary);

font-size: 12px;
font-weight: 700;

letter-spacing: 1.5px;
 

}

.section-heading {
margin-bottom: 18px;

 
font-size: 40px;
font-weight: 800;

line-height: 1.2;

color: var(--dark);
 

}

.section-description {
max-width: 700px;

 
color: var(--gray);

font-size: 15px;
line-height: 28px;
 

}

/* =========================================================
HERO REFINED
========================================================= */

.hero {
min-height: 100vh;

 
padding: 140px 0 90px;

background:
    radial-gradient(
        circle at 85% 20%,
        rgba(15, 76, 129, 0.08),
        transparent 35%
    ),
    linear-gradient(
        135deg,
        #ffffff,
        #eef6ff
    );
 

}

.hero h1 {
margin-top: 22px;

 
font-size: clamp(42px, 5vw, 62px);

font-weight: 800;

line-height: 1.12;

letter-spacing: -1.5px;
 

}

.hero p {
max-width: 620px;

 
margin-top: 24px;

color: var(--gray);

font-size: 17px;

line-height: 30px;
 

}

.badge-system {
display: inline-flex;
align-items: center;

 
padding: 10px 16px;

background: var(--primary-light);
color: var(--primary);

border: 1px solid rgba(15, 76, 129, 0.08);

border-radius: 50px;

font-size: 12px;
font-weight: 700;
 

}

.hero-button {
display: flex;

 
gap: 12px;

flex-wrap: wrap;
 

}

.btn-primary-custom,
.btn-outline-custom {
min-height: 52px;

 
display: inline-flex;
align-items: center;
justify-content: center;

padding: 13px 24px;

border-radius: 13px;

font-size: 14px;
font-weight: 600;

transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
 

}

.btn-primary-custom {
background: var(--primary);
color: #ffffff;

 
box-shadow:
    0 10px 25px rgba(15, 76, 129, 0.18);
 

}

.btn-primary-custom:hover {
background: var(--primary-dark);
color: #ffffff;

 
transform: translateY(-3px);

box-shadow:
    0 15px 30px rgba(15, 76, 129, 0.25);
 

}

.btn-outline-custom {
margin-left: 0;

 
border: 1.5px solid var(--primary);

background: #ffffff;

color: var(--primary);
 

}

.btn-outline-custom:hover {
background: var(--primary);
color: #ffffff;

 
transform: translateY(-3px);
 

}

/* =========================================================
HERO INFO
========================================================= */

.hero-info {
display: flex;

 
gap: 12px;

flex-wrap: wrap;
 

}

.info-box {
min-width: 125px;

 
padding: 15px 18px;

background: rgba(255, 255, 255, 0.9);

border: 1px solid rgba(15, 76, 129, 0.07);

border-radius: 15px;

text-align: center;

box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05);
 

}

.info-box h3 {
margin-bottom: 5px;

 
color: var(--primary);

font-size: 20px;
 

}

.info-box span {
color: var(--gray);

 
font-size: 11px;
font-weight: 600;
 

}

/* =========================================================
HERO IMAGE
========================================================= */

.hero-image-wrapper {
position: relative;

 
width: 100%;
max-width: 570px;

margin: 0 auto;

padding: 10px;

background: #ffffff;

border-radius: 28px;

box-shadow:
    0 25px 70px rgba(15, 76, 129, 0.14);

overflow: hidden;

transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
 

}

.hero-image-wrapper:hover {
transform: translateY(-8px);

 
box-shadow:
    0 35px 80px rgba(15, 76, 129, 0.20);
 

}

.hero-image-wrapper .hero-image {
width: 100%;
max-width: none;

 
height: 450px;

object-fit: cover;

border-radius: 21px;

display: block;
 

}

.hero-image-overlay {
position: absolute;

 
left: 28px;
bottom: 28px;

display: flex;
align-items: center;

gap: 11px;

padding: 12px 16px;

background: rgba(255, 255, 255, 0.94);

border-radius: 15px;

box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.12);

backdrop-filter: blur(8px);
 

}

.hero-overlay-icon {
width: 38px;
height: 38px;

 
display: flex;
align-items: center;
justify-content: center;

border-radius: 11px;

background: var(--primary-light);

color: var(--primary);
 

}

.hero-image-overlay strong,
.hero-image-overlay small {
display: block;
}

.hero-image-overlay strong {
color: var(--dark);

 
font-size: 12px;
 

}

.hero-image-overlay small {
margin-top: 2px;

 
color: var(--gray);

font-size: 10px;
 

}

/* =========================================================
ABOUT
========================================================= */

.about {
background: #ffffff;
}

.about-image-wrapper {
position: relative;

 
padding-right: 25px;
padding-bottom: 25px;
 

}

.about-image {
width: 100%;

 
height: 430px;

object-fit: cover;

border-radius: 25px;

display: block;

box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.10);
 

}

.about-image-card {
position: absolute;

 
right: 0;
bottom: 0;

display: flex;
align-items: center;

gap: 11px;

max-width: 260px;

padding: 14px 16px;

background: #ffffff;

border-radius: 16px;

box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.12);
 

}

.about-image-icon {
width: 42px;
height: 42px;

 
flex-shrink: 0;

display: flex;
align-items: center;
justify-content: center;

border-radius: 12px;

background: var(--primary-light);

color: var(--primary);
 

}

.about-image-card strong,
.about-image-card small {
display: block;
}

.about-image-card strong {
font-size: 11px;
}

.about-image-card small {
margin-top: 3px;

 
color: var(--gray);

font-size: 9px;
 

}

.about-points {
margin-top: 25px;

 
display: flex;
flex-direction: column;

gap: 13px;
 

}

.about-point {
display: flex;
align-items: center;

 
gap: 10px;

color: var(--dark);

font-size: 14px;
font-weight: 500;
 

}

.about-point i {
color: var(--primary);

 
font-size: 18px;
 

}

/* =========================================================
ADVANTAGES
========================================================= */

.advantages {
background: #f8fafc;
}

.advantage-card {
height: 100%;

 
padding: 30px 25px;

background: #ffffff;

border: 1px solid rgba(15, 76, 129, 0.06);

border-radius: 22px;

text-align: center;

box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.04);

transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
 

}

.advantage-card:hover {
transform: translateY(-8px);

 
box-shadow:
    0 20px 45px rgba(15, 76, 129, 0.10);
 

}

.advantage-icon {
width: 70px;
height: 70px;

 
margin: 0 auto 20px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 20px;

background: var(--primary-light);

color: var(--primary);

font-size: 28px;
 

}

.advantage-card h5 {
margin-bottom: 10px;

 
font-size: 16px;
font-weight: 700;
 

}

.advantage-card p {
margin: 0;

 
color: var(--gray);

font-size: 12px;

line-height: 22px;
 

}

/* =========================================================
FLOW
========================================================= */

.flow {
background: #ffffff;
}

.flow-wrapper {
position: relative;
}

.flow-item {
position: relative;

 
height: 100%;

padding: 25px 20px;

text-align: center;
 

}

.flow-number {
position: absolute;

 
top: 0;
right: 15px;

width: 30px;
height: 30px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;

background: var(--primary);

color: #ffffff;

font-size: 11px;
font-weight: 700;
 

}

.flow-icon {
width: 75px;
height: 75px;

 
margin: 0 auto 20px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 22px;

background: var(--primary-light);

color: var(--primary);

font-size: 30px;
 

}

.flow-item h5 {
margin-bottom: 9px;

 
font-size: 16px;
font-weight: 700;
 

}

.flow-item p {
margin: 0;

 
color: var(--gray);

font-size: 12px;

line-height: 21px;
 

}

/* =========================================================
GALLERY REFINED
========================================================= */

.gallery-section {
padding: 100px 0;

 
background: #f8fafc;
 

}

.gallerySwiper {
padding: 15px 5px 60px;
}

.gallery-card {
border-radius: 20px;

 
box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.07);
 

}

.gallery-image {
aspect-ratio: 16 / 10;

 
object-fit: cover;
 

}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
width: 46px;
height: 46px;

 
border-radius: 50%;

background: #ffffff;

color: var(--primary);

box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);
 

}

.gallerySwiper .swiper-button-next::after,
.gallerySwiper .swiper-button-prev::after {
font-size: 16px;
}

/* =========================================================
HOME CTA
========================================================= */

.home-cta {
padding: 80px 0;

 
background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );
 

}

.cta-card {
padding: 45px;

 
background: rgba(255, 255, 255, 0.08);

border: 1px solid rgba(255, 255, 255, 0.15);

border-radius: 28px;

color: #ffffff;

backdrop-filter: blur(10px);
 

}

.cta-label {
display: inline-block;

 
margin-bottom: 10px;

color: rgba(255, 255, 255, 0.7);

font-size: 11px;
font-weight: 700;

letter-spacing: 1.5px;
 

}

.cta-card h2 {
margin-bottom: 12px;

 
color: #ffffff;

font-size: 32px;
font-weight: 800;
 

}

.cta-card p {
max-width: 650px;

 
margin: 0;

color: rgba(255, 255, 255, 0.75);

font-size: 14px;

line-height: 25px;
 

}

.btn-cta {
min-height: 50px;

 
display: inline-flex;
align-items: center;
justify-content: center;

padding: 13px 23px;

background: #ffffff;

border-radius: 13px;

color: var(--primary);

font-size: 13px;
font-weight: 700;

transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
 

}

.btn-cta:hover {
color: var(--primary);

 
transform: translateY(-3px);

box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.18);
 

}

/* =========================================================
HOME RESPONSIVE
========================================================= */

@media (max-width: 992px) {

 
.hero {
    padding-top: 125px;
}

.hero h1 {
    font-size: 46px;
}

.hero-image-wrapper {
    margin-top: 15px;
}

.about-image {
    height: 380px;
}

.section-heading {
    font-size: 34px;
}

.cta-card {
    padding: 35px;
}
 

}

@media (max-width: 768px) {

 
.hero {
    padding: 115px 0 70px;

    text-align: center;
}

.hero h1 {
    font-size: 38px;
}

.hero p {
    margin-left: auto;
    margin-right: auto;

    font-size: 15px;
    line-height: 27px;
}

.hero-button,
.hero-info {
    justify-content: center;
}

.hero-image-wrapper {
    margin-top: 25px;
}

.hero-image-wrapper .hero-image {
    height: 350px;
}

.hero-image-overlay {
    left: 22px;
    bottom: 22px;
}

.about,
.advantages,
.flow {
    padding: 75px 0;
}

.section-heading {
    font-size: 32px;
}

.about-image-wrapper {
    padding-right: 15px;
    padding-bottom: 20px;
}

.about-image {
    height: 340px;
}

.cta-card {
    padding: 30px 25px;

    text-align: center;
}

.cta-card h2 {
    font-size: 27px;
}

.btn-cta {
    margin-top: 10px;
}
 

}

@media (max-width: 576px) {

 
.hero {
    padding: 105px 0 60px;
}

.badge-system {
    max-width: 100%;

    padding: 8px 13px;

    font-size: 10px;
}

.hero h1 {
    margin-top: 18px;

    font-size: 32px;
}

.hero p {
    font-size: 14px;
    line-height: 25px;
}

.btn-primary-custom,
.btn-outline-custom {
    width: 100%;
}

.hero-info {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}

.info-box {
    min-width: 0;

    padding: 12px 7px;
}

.info-box span {
    font-size: 9px;
}

.hero-image-wrapper .hero-image {
    height: 270px;
}

.hero-image-overlay {
    left: 17px;
    bottom: 17px;

    padding: 9px 11px;
}

.hero-overlay-icon {
    width: 32px;
    height: 32px;

    font-size: 13px;
}

.hero-image-overlay strong {
    font-size: 10px;
}

.hero-image-overlay small {
    font-size: 8px;
}

.section-heading {
    font-size: 28px;
}

.about-image {
    height: 280px;
}

.about-image-card {
    max-width: 220px;

    padding: 11px 12px;
}

.about-point {
    font-size: 12px;
}

.flow-item {
    padding: 20px 15px;
}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    width: 38px;
    height: 38px;
}

.cta-card {
    padding: 25px 18px;
}

.cta-card h2 {
    font-size: 24px;
}
 

}

/* =========================================================
   PUBLIC HOME SECTION TITLES
========================================================= */

.about,
.advantages,
.flow,
.gallery-section {
    width: 100%;
}

.advantages .text-center,
.flow .text-center,
.gallery-section .text-center {
    text-align: center !important;
}

.advantages h2,
.flow h2,
.gallery-section .section-title {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.advantages p,
.flow p,
.gallery-section .section-subtitle {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   ALUR PENGAJUAN
========================================================= */

.flow .row {
    justify-content: center;
}

.flow .flow-item {
    text-align: center;
}

.flow .flow-number {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   GALERI
========================================================= */

.gallery-section .section-title {
    width: 100%;
}

.gallery-section .section-subtitle {
    max-width: 750px;
}
/* =========================================================
   FIX - CENTER PUBLIC HOME SECTION TITLE
========================================================= */

.public-content .advantages > .container > .text-center,
.public-content .flow > .container > .text-center,
.public-content .gallery-section > .container > .row.text-center {
    text-align: center !important;
}

.public-content .advantages h2,
.public-content .flow h2,
.public-content .gallery-section .section-title {
    width: 100%;
    display: block;

    text-align: center !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

.public-content .advantages .text-center > p,
.public-content .flow .text-center > p,
.public-content .gallery-section .section-subtitle {
    width: 100%;
    max-width: 750px;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}
  
/* =========================================================
   FIX - GALERI HEADER CENTER
========================================================= */

.gallery-section .row.justify-content-center.mb-5 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.gallery-section .row.justify-content-center.mb-5 > div {
    text-align: center !important;
}

.gallery-section .section-title {
    display: block;
    width: 100%;

    text-align: center !important;

    margin: 0 auto !important;
}

.gallery-section .section-subtitle {
    display: block;
    width: 100%;
    max-width: 750px;

    text-align: center !important;

    margin: 14px auto 0 !important;
}
/* =========================================================
   GALERI HEADING - CENTER FIX
========================================================= */

.gallery-section .gallery-heading {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;

    text-align: center;

    margin-bottom: 45px;
}

.gallery-section .gallery-heading .section-title {
    width: 100%;

    margin: 0 !important;
    padding: 0;

    text-align: center !important;

    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
}

.gallery-section .gallery-heading .section-subtitle {
    width: 100%;
    max-width: 750px;

    margin: 14px auto 0 !important;
    padding: 0;

    text-align: center !important;

    color: var(--gray);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .gallery-section .gallery-heading {
        margin-bottom: 30px;
    }

    .gallery-section .gallery-heading .section-title {
        font-size: 29px;
    }

    .gallery-section .gallery-heading .section-subtitle {
        font-size: 13px;
        line-height: 1.7;
    }

}

 
/* =========================================================
   PUBLIC LAYOUT
   HEADER + CONTENT + FOOTER
========================================================= */

.public-layout {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: #ffffff;
}


/* =========================================================
   PUBLIC HEADER
========================================================= */

.public-layout .header {
    height: var(--navbar-height);

    min-height: var(--navbar-height);

    flex-shrink: 0;
}


/* =========================================================
   PUBLIC CONTENT
========================================================= */

.public-layout .public-content {
    flex: 1;

    width: 100%;

    /*
       Header fixed/sticky membutuhkan ruang sendiri.
       Jadi isi halaman tidak tertutup header.
    */
    padding-top: var(--navbar-height);

    min-height: calc(100vh - var(--navbar-height));

    display: flex;
    flex-direction: column;
}


/*
   Section pertama tidak perlu membuat
   jarak header tambahan lagi.
*/

.public-layout .public-content > section:first-child {
    flex: 0 0 auto;
}


/* =========================================================
   PUBLIC FOOTER
========================================================= */

.public-layout > .footer {
    flex-shrink: 0;

    width: 100%;

    margin-top: auto;

    background: var(--primary);

    color: #ffffff;

    text-align: center;

    padding: 30px 15px;
}

.public-layout > .footer p {
    margin: 0;

    line-height: 1.6;
}


/* =========================================================
   LOGIN
========================================================= */

.public-layout .login-page {
    min-height: calc(100vh - var(--navbar-height));

    flex: 1;
}


/* =========================================================
   HASIL
========================================================= */

.public-layout .hasil-page {
    min-height: calc(100vh - var(--navbar-height));
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .public-layout .public-content {
        padding-top: 70px;
    }

    .public-layout .header {
        height: 70px;

        min-height: 70px;
    }

    .public-layout .login-page {
        min-height: calc(100vh - 70px);
    }

    .public-layout .hasil-page {
        min-height: calc(100vh - 70px);
    }

}
/* =========================================================
   FIX - PUBLIC SIDEBAR ABOVE HEADER
========================================================= */

/*
   Header tetap berada di belakang sidebar
   ketika offcanvas dibuka.
*/
.public-layout .header {
    z-index: 1030;
}

/*
   Sidebar/offcanvas harus berada di atas header.
*/
.public-layout #sidebarMenu {
    z-index: 1055;
}

/*
   Backdrop juga berada di antara header dan sidebar.
*/
.public-layout .offcanvas-backdrop {
    z-index: 1050;
}
/* =========================================================
   PUBLIC - LOGIN & HASIL COMPACT LAYOUT
========================================================= */

/* Login */
.public-layout .public-content:has(.login-page) {
    padding-top: var(--navbar-height);
}

.public-layout .login-page {
    min-height: calc(100vh - var(--navbar-height));

    padding: 45px 0 !important;

    display: flex;
    align-items: center;
}

/* Hasil */
.public-layout .public-content:has(.hasil-page) {
    padding-top: var(--navbar-height);
}

.public-layout .hasil-page {
    min-height: calc(100vh - var(--navbar-height));

    padding: 45px 0 !important;

    display: flex;
    align-items: center;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .public-layout .login-page,
    .public-layout .hasil-page {
        min-height: calc(100vh - 70px);

        padding: 30px 0 !important;
    }

}
/* =========================================================
   PUBLIC LAYOUT
========================================================= */

.public-content {
    padding-top: 90px;
    min-height: calc(100vh - 90px);
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    min-height: calc(100vh - 90px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 0 !important;

    background: #f5f9ff;
}

.login-card {
    width: 100%;

    background: #ffffff;

    padding: 35px;

    border-radius: 25px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}


/* Icon Login */

.login-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto;

    border-radius: 50%;

    background: var(--primary-light);

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon i {
    font-size: 34px;
    color: var(--primary);
}


/* =========================================================
   HASIL PAGE
========================================================= */

.hasil-page {
    min-height: calc(100vh - 90px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 0 !important;

    background: linear-gradient(
        135deg,
        #eef6ff,
        #ffffff
    );
}

.hasil-card {
    width: 100%;

    background: #ffffff;

    padding: 40px;

    border-radius: 30px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    margin-top: 0;

    background: var(--primary);

    color: #ffffff;

    text-align: center;

    padding: 25px 20px;
}

.footer p {
    margin: 0;

    font-size: 14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .public-content {
        padding-top: 70px;
    }

    .login-page,
    .hasil-page {
        min-height: calc(100vh - 70px);

        padding: 30px 15px !important;
    }

    .login-card {
        padding: 28px 22px;
    }

    .hasil-card {
        padding: 30px 22px;
    }

}

@media (max-width: 576px) {

    .login-card,
    .hasil-card {
        border-radius: 20px;
    }

    .login-page,
    .hasil-page {
        padding: 25px 12px !important;
    }

}
/* =========================================================
   BACK OFFICE RESPONSIVE SIDEBAR
========================================================= */


/* =========================================================
   SIDEBAR TOGGLE
========================================================= */

.sidebar-toggle {
    display: none;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    background: #ffffff;

    color: var(--primary);

    font-size: 22px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sidebar-toggle:hover {
    background: var(--primary);
    color: #ffffff;
}


/* =========================================================
   NAVBAR LEFT
========================================================= */

.bo-navbar-left {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}

.bo-navbar-left h5 {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================================================
   SIDEBAR CLOSE
========================================================= */

.sidebar-close {
    display: none;

    width: 38px;
    height: 38px;

    margin-left: auto;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 17px;

    cursor: pointer;
}


/* =========================================================
   BACKDROP
========================================================= */

.sidebar-backdrop {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 1035;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    transition: opacity 0.3s ease;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    :root {
        --sidebar-width: 230px;
    }

    body.back-office .content {
        padding: 24px;
    }

    .bo-navbar {
        padding: 0 24px;
    }

}


/* =========================================================
   MOBILE BACK OFFICE
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       SIDEBAR
    ----------------------------------------------------- */

    body.back-office .sidebar {
        position: fixed;

        top: 0;
        left: 0;
        bottom: 0;

        z-index: 1045;

        width: min(280px, 82vw);

        height: 100vh;

        margin: 0;

        transform: translateX(-100%);

        transition: transform 0.3s ease;

        box-shadow:
            8px 0 30px rgba(0, 0, 0, 0.18);
    }


    body.back-office .sidebar.show {
        transform: translateX(0);
    }


    /* -----------------------------------------------------
       SIDEBAR HEADER
    ----------------------------------------------------- */

    body.back-office .sidebar-header {
        min-height: 76px;

        padding: 14px 16px;
    }


    body.back-office .sidebar-header img {
        width: 44px;
        height: 44px;

        border-radius: 10px;
    }


    body.back-office .sidebar-header h5 {
        font-size: 16px;
    }


    .sidebar-close {
        display: flex;
    }


    /* -----------------------------------------------------
       SIDEBAR MENU
    ----------------------------------------------------- */

    body.back-office .sidebar-menu {
        padding: 16px 10px;
    }


    body.back-office .sidebar .menu-item {
        padding: 11px 12px;

        margin-bottom: 5px;

        border-radius: 10px;

        font-size: 14px;
    }


    /* -----------------------------------------------------
       SIDEBAR FOOTER
    ----------------------------------------------------- */

    body.back-office .sidebar-footer {
        padding: 14px;
    }


    /* -----------------------------------------------------
       BACKDROP
    ----------------------------------------------------- */

    body.back-office .sidebar-backdrop {
        display: block;

        pointer-events: none;
    }


    body.back-office .sidebar-backdrop.show {
        opacity: 1;

        pointer-events: auto;
    }


    /* -----------------------------------------------------
       MAIN
    ----------------------------------------------------- */

    body.back-office .main {
        width: 100%;

        min-width: 0;

        margin-left: 0;
    }


    /* -----------------------------------------------------
       NAVBAR
    ----------------------------------------------------- */

    body.back-office .bo-navbar {
        height: 64px;

        min-height: 64px;

        padding: 0 16px;

        gap: 10px;
    }


    .sidebar-toggle {
        display: flex;
    }


    body.back-office .bo-navbar h5 {
        font-size: 0.95rem;
    }


    body.back-office .bo-navbar .btn {
        white-space: nowrap;
    }


    /* -----------------------------------------------------
       CONTENT
    ----------------------------------------------------- */

    body.back-office .content {
        width: 100%;

        max-width: 100%;

        padding: 18px;

        overflow-x: hidden;
    }


    /* -----------------------------------------------------
       TABLE
    ----------------------------------------------------- */

    body.back-office .table-responsive {
        width: 100%;

        overflow-x: auto;
    }


    body.back-office table {
        min-width: 650px;
    }


    /* -----------------------------------------------------
       DATATABLE
    ----------------------------------------------------- */

    body.back-office .dataTables_wrapper {
        width: 100%;

        overflow-x: hidden;
    }


    body.back-office .dataTables_wrapper .row {
        margin-left: 0;

        margin-right: 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    body.back-office .sidebar {
        width: min(270px, 86vw);
    }


    body.back-office .bo-navbar {
        padding: 0 12px;
    }


    .sidebar-toggle {
        width: 38px;
        height: 38px;

        font-size: 21px;
    }


    body.back-office .bo-navbar-left {
        gap: 9px;
    }


    body.back-office .bo-navbar h5 {
        font-size: 0.88rem;
    }


    body.back-office .bo-navbar .btn {
        padding: 5px 8px;

        font-size: 0.7rem;
    }

    body.back-office .btn,
    body.back-office .btn-sm,
    body.back-office .btn-xs {
        padding: 0.38rem 0.7rem !important;

        font-size: 0.7rem !important;

        border-radius: 0.65rem;
    }

    body.back-office .btn i,
    body.back-office .btn-sm i,
    body.back-office .btn-xs i {
        font-size: 0.8rem;
    }

    body.back-office .bo-navbar .btn span {
        display: none;
    }


    body.back-office .content {
        padding: 14px;
    }


    body.back-office .card {
        border-radius: 14px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    body.back-office .sidebar {
        width: 250px;
    }


    body.back-office .content {
        padding: 12px;
    }


    body.back-office .bo-navbar h5 {
        max-width: 150px;
    }

}
  /* =========================================================
   FIX MOBILE HOME
   KHUSUS HALAMAN PUBLIC HOME
   TIDAK MENGGANGGU BACK OFFICE
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       CEGAH HOME MELEBAR KELUAR LAYAR
    ----------------------------------------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        margin: 0;
    }

    .public-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .public-content > section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* -----------------------------------------
       CONTAINER HOME
    ----------------------------------------- */

    .public-content .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .public-content .row {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .public-content .row > * {
        max-width: 100%;
    }


    /* -----------------------------------------
       HEADER MOBILE
    ----------------------------------------- */

    .header {
        width: 100%;
        max-width: 100vw;
    }

    .header-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .logo {
        min-width: 0;
        max-width: calc(100% - 55px);
    }

    .logo-text {
        min-width: 0;
    }

    .logo-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* -----------------------------------------
       HERO MOBILE
    ----------------------------------------- */

    .hero {
        width: 100%;
        max-width: 100%;
        min-height: auto;

        padding: 105px 0 55px !important;

        overflow: hidden;

        text-align: center;
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
    }

    .hero .row {
        width: 100%;
        max-width: 100%;
    }

    .hero .row > div {
        width: 100%;
        max-width: 100%;
    }


    /* -----------------------------------------
       HERO TEXT DIPERKECIL
    ----------------------------------------- */

    .hero h1 {
        width: 100%;
        max-width: 100%;

        margin-top: 16px;

        font-size: 29px !important;
        line-height: 1.15;

        letter-spacing: -0.8px;

        overflow-wrap: break-word;
        word-break: normal;
    }

    .hero p {
        width: 100%;
        max-width: 100%;

        margin: 17px auto 0;

        font-size: 13px !important;
        line-height: 1.7;

        overflow-wrap: break-word;
    }

    .badge-system {
        max-width: 100%;

        padding: 7px 12px;

        font-size: 9px;
        line-height: 1.4;

        white-space: normal;
    }


    /* -----------------------------------------
       BUTTON HERO
    ----------------------------------------- */

    .hero-button {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 8px;

        margin-top: 18px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        max-width: 100%;

        min-height: 42px;

        padding: 9px 14px;

        font-size: 11.5px;

        border-radius: 10px;
    }


    /* -----------------------------------------
       HERO INFO
    ----------------------------------------- */

    .hero-info {
        width: 100%;
        max-width: 100%;

        display: grid;

        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 6px;

        margin-top: 16px;
    }

    .info-box {
        width: 100%;
        min-width: 0;

        padding: 8px 4px;

        border-radius: 10px;
    }

    .info-box h3 {
        font-size: 13px;
    }

    .info-box span {
        font-size: 7px;

        line-height: 1.3;
    }


    /* -----------------------------------------
       HERO IMAGE
       kalau ada di bawah hero
    ----------------------------------------- */

    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;

        margin: 22px auto 0;

        padding: 7px;

        border-radius: 19px;
    }

    .hero-image-wrapper .hero-image {
        width: 100%;
        max-width: 100%;

        height: 250px;

        border-radius: 14px;
    }

    .hero-image-overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;

        max-width: calc(100% - 28px);

        padding: 8px 10px;

        border-radius: 12px;
    }

    .hero-overlay-icon {
        width: 26px;
        height: 26px;

        font-size: 11px;

        flex-shrink: 0;
    }

    .hero-image-overlay strong {
        font-size: 9px;
    }

    .hero-image-overlay small {
        font-size: 7px;
    }


    /* -----------------------------------------
       HOME SECTION MOBILE
    ----------------------------------------- */

    .about,
    .advantages,
    .flow,
    .gallery-section {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;

        padding: 65px 0;
    }

    .section-heading {
        max-width: 100%;

        font-size: 27px !important;
        line-height: 1.2;
    }

    .section-description {
        max-width: 100%;

        font-size: 13px;
        line-height: 1.7;
    }


    /* -----------------------------------------
       ABOUT IMAGE
    ----------------------------------------- */

    .about-image-wrapper {
        width: 100%;
        max-width: 100%;

        padding-right: 10px;
        padding-bottom: 15px;
    }

    .about-image {
        width: 100%;
        max-width: 100%;

        height: 260px;
    }


    /* -----------------------------------------
       ADVANTAGE CARD
    ----------------------------------------- */

    .advantage-card {
        width: 100%;
        max-width: 100%;

        padding: 22px 15px;

        border-radius: 18px;
    }

    .advantage-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 15px;

        border-radius: 16px;

        font-size: 23px;
    }

    .advantage-card h5 {
        font-size: 14px;
    }

    .advantage-card p {
        font-size: 11px;
        line-height: 1.7;
    }


    /* -----------------------------------------
       FLOW
    ----------------------------------------- */

    .flow-item {
        width: 100%;
        max-width: 100%;

        padding: 18px 10px;
    }

    .flow-icon {
        width: 62px;
        height: 62px;

        border-radius: 18px;

        font-size: 25px;
    }

    .flow-item h5 {
        font-size: 14px;
    }

    .flow-item p {
        font-size: 11px;
        line-height: 1.7;
    }


    /* -----------------------------------------
       GALLERY
    ----------------------------------------- */

    .gallery-section .gallery-heading {
        width: 100%;
        max-width: 100%;

        padding: 0;
    }

    .gallery-section .section-title {
        font-size: 28px !important;
        line-height: 1.2;
    }

    .gallery-section .section-subtitle {
        width: 100%;
        max-width: 100%;

        font-size: 12px;

        line-height: 1.7;
    }

}


/* =========================================================
   EXTRA SMALL PHONE
========================================================= */

@media (max-width: 576px) {

    .public-content .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* HERO LEBIH KECIL */

    .hero {
        padding: 98px 0 45px !important;
    }

    .hero h1 {
        font-size: 25px !important;

        line-height: 1.16;

        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 12px !important;

        line-height: 1.7;

        margin-top: 14px;
    }

    .badge-system {
        font-size: 8px;

        padding: 6px 10px;
    }


    /* BUTTON */

    .hero-button {
        margin-top: 16px;

        gap: 7px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        min-height: 40px;

        padding: 9px 12px;

        font-size: 11px;

        border-radius: 10px;
    }


    /* INFO BOX */

    .hero-info {
        gap: 6px;

        margin-top: 14px;
    }

    .info-box {
        padding: 8px 3px;
    }

    .info-box h3 {
        font-size: 12px;
    }

    .info-box span {
        font-size: 6.5px;
    }


    /* HERO IMAGE */

    .hero-image-wrapper {
        margin-top: 18px;

        padding: 6px;
    }

    .hero-image-wrapper .hero-image {
        height: 220px;
    }


    /* SECTION TITLE */

    .section-heading {
        font-size: 25px !important;
    }

    .section-description {
        font-size: 12px;
    }


    /* ABOUT */

    .about,
    .advantages,
    .flow,
    .gallery-section {
        padding: 55px 0;
    }

    .about-image {
        height: 230px;
    }


    /* ADVANTAGES */

    .advantage-card {
        padding: 20px 12px;
    }

    .advantage-icon {
        width: 52px;
        height: 52px;

        font-size: 21px;
    }

    .advantage-card h5 {
        font-size: 13px;
    }

    .advantage-card p {
        font-size: 10px;
    }


    /* GALLERY */

    .gallery-section .section-title {
        font-size: 25px !important;
    }

}

/* =========================================================
   FINAL MOBILE HOME FIX
   KHUSUS HALAMAN HOME / PUBLIC
   BACK OFFICE TIDAK TERPENGARUH
========================================================= */


/* =========================================================
   MOBILE HOME - GENERAL
========================================================= */

@media (max-width: 768px) {

    /*
       -------------------------------------------------------
       CEGAH HOME BERGESER / KE POTONG KE SAMPING
       -------------------------------------------------------
    */

    body:has(.public-content) {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body:has(.public-content) .public-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow-x: hidden;
    }


    /*
       -------------------------------------------------------
       SEMUA CONTAINER HOME
       -------------------------------------------------------
       Penting:
       Hero menggunakan .container-xxl,
       bukan hanya .container.
    */

    .public-content .container,
    .public-content .container-sm,
    .public-content .container-md,
    .public-content .container-lg,
    .public-content .container-xl,
    .public-content .container-xxl {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box;
    }


    /*
       -------------------------------------------------------
       BOOTSTRAP ROW
       -------------------------------------------------------
       Bootstrap row biasanya memiliki margin kiri/kanan
       negatif. Di layar kecil ini bisa membuat konten
       melebar keluar viewport.
    */

    .public-content .row {

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        --bs-gutter-x: 0.75rem;

        box-sizing: border-box;
    }


    .public-content .row > * {

        min-width: 0 !important;
        max-width: 100%;

        box-sizing: border-box;
    }


    /* =====================================================
       HEADER MOBILE
    ===================================================== */

    .public-content ~ * {
        max-width: 100%;
    }

    .header {

        width: 100%;
        max-width: 100vw;

        height: 74px;

        overflow: hidden;
    }


    .header .container {

        width: 100%;
        max-width: 100%;

        padding-left: 14px !important;
        padding-right: 14px !important;
    }


    .header-wrapper {

        width: 100%;
        max-width: 100%;

        min-width: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 10px;
    }


    .logo {

        min-width: 0;
        max-width: calc(100% - 54px);

        gap: 9px;

        overflow: hidden;
    }


    .logo img {

        width: 45px;
        height: 45px;

        flex-shrink: 0;
    }


    .logo-text {

        min-width: 0;
        max-width: 100%;

        overflow: hidden;
    }


    .logo-text h5 {

        max-width: 100%;

        font-size: 17px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .logo-text small {

        font-size: 9px;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .menu-button {

        width: 43px;
        height: 43px;

        flex-shrink: 0;

        border-radius: 12px;

        font-size: 22px;
    }


    /* =====================================================
       HERO MOBILE
    ===================================================== */

    .public-content .hero {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: auto;

        display: block;

        padding: 96px 0 48px !important;

        overflow: hidden;

        text-align: center;

        box-sizing: border-box;
    }


    /*
       HERO CONTAINER
       Ini bagian yang sebelumnya kelewat karena hero
       menggunakan .container-xxl.
    */

    .public-content .hero .container,
    .public-content .hero .container-xxl {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box;
    }


    .public-content .hero .row {

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        display: flex;

        flex-direction: column;
    }


    .public-content .hero .row > * {

        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        flex: 0 0 100%;
    }


    /* =====================================================
       HERO BADGE
    ===================================================== */

    .public-content .hero .badge-system {

        display: inline-flex;

        max-width: 100%;

        padding: 6px 10px;

        font-size: 8px;

        line-height: 1.4;

        text-align: center;

        white-space: normal;

        overflow-wrap: break-word;

        box-sizing: border-box;
    }


    /* =====================================================
       HERO TITLE
    ===================================================== */

    .public-content .hero h1 {

        width: 100% !important;
        max-width: 100% !important;

        margin-top: 15px;
        margin-bottom: 0;

        padding: 0;

        font-size: 26px !important;

        line-height: 1.17;

        letter-spacing: -0.7px;

        text-align: center;

        overflow-wrap: anywhere;
        word-break: normal;

        box-sizing: border-box;
    }


    .public-content .hero h1 br {

        display: none;
    }


    /* =====================================================
       HERO DESCRIPTION
    ===================================================== */

    .public-content .hero p {

        width: 100% !important;
        max-width: 100% !important;

        margin: 14px auto 0;

        padding: 0;

        font-size: 12px !important;

        line-height: 1.7;

        text-align: center;

        overflow-wrap: break-word;

        box-sizing: border-box;
    }


    /* =====================================================
       HERO BUTTON
    ===================================================== */

    .public-content .hero-button {

        width: 100% !important;
        max-width: 100% !important;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

        margin-top: 18px;
    }


    .public-content .hero-button a,
    .public-content .hero-button .btn-primary-custom,
    .public-content .hero-button .btn-outline-custom {

        width: 100% !important;
        max-width: 100% !important;

        min-width: 0;

        min-height: 44px;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 9px 13px;

        font-size: 12px;

        border-radius: 11px;

        box-sizing: border-box;
    }


    /* =====================================================
       HERO INFO
    ===================================================== */

    .public-content .hero-info {

        width: 100% !important;
        max-width: 100% !important;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 6px;

        margin-top: 15px;

        box-sizing: border-box;
    }


    .public-content .hero-info .info-box {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 9px 4px;

        border-radius: 11px;

        overflow: hidden;

        box-sizing: border-box;
    }


    .public-content .hero-info .info-box h3 {

        margin: 0;

        font-size: 14px;

        line-height: 1.2;
    }


    .public-content .hero-info .info-box span {

        display: block;

        margin-top: 3px;

        font-size: 7px;

        line-height: 1.3;

        overflow-wrap: break-word;
    }


    /* =====================================================
       HERO IMAGE
    ===================================================== */

    .public-content .hero-image-wrapper {

        width: 100% !important;
        max-width: 100% !important;

        margin: 20px auto 0;

        padding: 6px;

        border-radius: 18px;

        box-sizing: border-box;

        overflow: hidden;
    }


    .public-content .hero-image-wrapper .hero-image {

        width: 100% !important;
        max-width: 100% !important;

        height: 220px;

        border-radius: 13px;

        object-fit: cover;

        display: block;
    }


    .public-content .hero-image-overlay {

        left: 12px;
        right: 12px;
        bottom: 12px;

        width: auto;

        max-width: calc(100% - 24px);

        padding: 8px 10px;

        border-radius: 11px;

        box-sizing: border-box;
    }


    .public-content .hero-overlay-icon {

        width: 30px;
        height: 30px;

        flex-shrink: 0;

        font-size: 14px;
    }


    .public-content .hero-image-overlay strong {

        font-size: 9px;
    }


    .public-content .hero-image-overlay small {

        font-size: 7px;
    }


    /* =====================================================
       ABOUT / TENTANG PROGRAM
    ===================================================== */

    .public-content .about {

        width: 100% !important;
        max-width: 100% !important;

        padding: 58px 0 !important;

        overflow: hidden;

        box-sizing: border-box;
    }


    .public-content .about .container,
    .public-content .about .container-xxl {

        width: 100% !important;
        max-width: 100% !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    .public-content .about .row {

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .public-content .about .row > * {

        min-width: 0 !important;
        max-width: 100% !important;
    }


    /* =====================================================
       ABOUT LABEL
    ===================================================== */

    .public-content .about .section-label {

        display: block;

        width: 100%;

        margin-bottom: 9px;

        font-size: 10px;

        letter-spacing: 1.5px;

        text-align: center;
    }


    /* =====================================================
       ABOUT TITLE
    ===================================================== */

    .public-content .about h2,
    .public-content .about h2.section-heading {

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 auto 20px !important;

        padding: 0;

        font-size: 25px !important;

        line-height: 1.2;

        letter-spacing: -0.5px;

        text-align: center !important;

        overflow-wrap: break-word;

        word-break: normal;

        box-sizing: border-box;
    }


    /*
       Kalau HTML menggunakan span untuk kata
       "Mengembangkan Potensi", span dibuat satu blok.
       Jadi tidak akan lari ke kanan.
    */

    .public-content .about h2.section-heading span {

        display: block;

        width: 100%;
        max-width: 100%;

        margin: 0;

        padding: 0;

        text-align: center;
    }


    /* =====================================================
       ABOUT PARAGRAPH
    ===================================================== */

    .public-content .about p {

        width: 100% !important;
        max-width: 100% !important;

        margin-left: auto;
        margin-right: auto;

        font-size: 13px !important;

        line-height: 1.8;

        text-align: center;

        overflow-wrap: break-word;
    }


    /* =====================================================
       ABOUT IMAGE
    ===================================================== */

    .public-content .about-image-wrapper {

        width: 100% !important;
        max-width: 100% !important;

        padding-right: 8px;
        padding-bottom: 15px;

        box-sizing: border-box;
    }


    .public-content .about-image {

        width: 100% !important;
        max-width: 100% !important;

        height: 230px;

        object-fit: cover;

        border-radius: 20px !important;
    }


    .public-content .about-image-card {

        right: 0;
        bottom: 0;

        max-width: calc(100% - 10px);

        padding: 10px 11px;

        box-sizing: border-box;
    }


    /* =====================================================
       ABOUT POINTS
    ===================================================== */

    .public-content .about-points {

        width: 100%;
        max-width: 100%;

        gap: 11px;
    }


    .public-content .about-point {

        width: 100%;
        max-width: 100%;

        display: flex;

        align-items: flex-start;

        gap: 9px;

        font-size: 12px;

        line-height: 1.5;
    }


    .public-content .about-point i {

        flex-shrink: 0;

        margin-top: 1px;
    }


    /* =====================================================
       ADVANTAGES
    ===================================================== */

    .public-content .advantages {

        width: 100% !important;
        max-width: 100% !important;

        padding: 58px 0 !important;

        overflow: hidden;
    }


    .public-content .advantages h2 {

        width: 100%;

        font-size: 25px !important;

        line-height: 1.2;

        text-align: center !important;
    }


    .public-content .advantages .text-center > p {

        width: 100%;

        max-width: 100%;

        font-size: 12px;

        line-height: 1.7;

        text-align: center;
    }


    .public-content .advantage-card {

        width: 100%;

        min-height: 145px;

        padding: 20px 12px;

        border-radius: 17px;
    }


    .public-content .advantage-card i {

        width: 52px;
        height: 52px;

        margin-bottom: 13px;

        font-size: 21px;
    }


    .public-content .advantage-card h5 {

        font-size: 13px;
    }


    .public-content .advantage-card p {

        font-size: 10px;

        line-height: 1.6;
    }


    /* =====================================================
       FLOW / ALUR
    ===================================================== */

    .public-content .flow {

        width: 100% !important;
        max-width: 100% !important;

        padding: 58px 0 !important;

        overflow: hidden;
    }


    .public-content .flow h2 {

        width: 100%;

        font-size: 25px !important;

        line-height: 1.2;

        text-align: center !important;
    }


    .public-content .flow-item {

        width: 100%;

        padding: 15px 8px;
    }


    .public-content .flow-number {

        width: 52px;
        height: 52px;

        font-size: 16px;
    }


    .public-content .flow-icon {

        width: 60px;
        height: 60px;

        font-size: 24px;
    }


    .public-content .flow-item h5 {

        font-size: 13px;
    }


    .public-content .flow-item p {

        font-size: 10px;

        line-height: 1.6;
    }


    /* =====================================================
       GALLERY
    ===================================================== */

    .public-content .gallery-section {

        width: 100% !important;
        max-width: 100% !important;

        padding: 58px 0 !important;

        overflow: hidden;
    }


    .public-content .gallery-section .gallery-heading {

        width: 100%;

        max-width: 100%;

        margin-bottom: 30px;

        padding: 0;

        text-align: center;
    }


    .public-content .gallery-section .section-title {

        width: 100%;

        font-size: 25px !important;

        line-height: 1.2;

        text-align: center !important;
    }


    .public-content .gallery-section .section-subtitle {

        width: 100%;

        max-width: 100%;

        font-size: 12px;

        line-height: 1.7;

        text-align: center !important;
    }


    .public-content .gallerySwiper {

        width: 100%;

        max-width: 100%;

        overflow: hidden;
    }

}


/* =========================================================
   EXTRA SMALL PHONE
   400px KE BAWAH
========================================================= */

@media (max-width: 400px) {

    .public-content .container,
    .public-content .container-sm,
    .public-content .container-md,
    .public-content .container-lg,
    .public-content .container-xl,
    .public-content .container-xxl {

        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    /* HEADER */

    .header .container {

        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    .logo {

        gap: 8px;
    }


    .logo img {

        width: 42px;
        height: 42px;
    }


    .logo-text h5 {

        font-size: 16px;
    }


    .menu-button {

        width: 41px;
        height: 41px;

        font-size: 21px;
    }


    /* HERO */

    .public-content .hero {

        padding-top: 94px !important;
        padding-bottom: 42px !important;
    }


    .public-content .hero h1 {

        font-size: 24px !important;

        line-height: 1.18;
    }


    .public-content .hero p {

        font-size: 11.5px !important;

        line-height: 1.7;
    }


    .public-content .badge-system {

        font-size: 7.5px;

        padding: 6px 9px;
    }


    .public-content .hero-button {

        margin-top: 16px;

        gap: 7px;
    }


    .public-content .hero-button a,
    .public-content .hero-button .btn-primary-custom,
    .public-content .hero-button .btn-outline-custom {

        min-height: 42px;

        font-size: 11px;

        padding: 9px 12px;
    }


    .public-content .hero-info {

        gap: 5px;

        margin-top: 13px;
    }


    .public-content .hero-info .info-box {

        padding: 8px 3px;

        border-radius: 10px;
    }


    .public-content .hero-info .info-box h3 {

        font-size: 13px;
    }


    .public-content .hero-info .info-box span {

        font-size: 6.5px;
    }


    .public-content .hero-image-wrapper {

        margin-top: 17px;

        padding: 5px;

        border-radius: 16px;
    }


    .public-content .hero-image-wrapper .hero-image {

        height: 205px;

        border-radius: 12px;
    }


    /* ABOUT */

    .public-content .about {

        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }


    .public-content .about .section-label {

        font-size: 9px;

        letter-spacing: 1.4px;
    }


    .public-content .about h2,
    .public-content .about h2.section-heading {

        font-size: 22px !important;

        line-height: 1.2;

        margin-bottom: 17px !important;
    }


    .public-content .about p {

        font-size: 12px !important;

        line-height: 1.8;
    }


    .public-content .about-image {

        height: 215px;
    }


    .public-content .about-point {

        font-size: 11.5px;
    }


    /* ADVANTAGES */

    .public-content .advantages,
    .public-content .flow,
    .public-content .gallery-section {

        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }


    .public-content .advantages h2,
    .public-content .flow h2,
    .public-content .gallery-section .section-title {

        font-size: 23px !important;
    }

}