/* BG beranda */
/* End */

/* HeaderNav-Front */
.search-container-custom {
    position: relative;
    width: 100%;
}

.search-input-custom {
    padding-right: 40px !important;
    /* Ruang untuk ikon di dalam */
}

.search-input-custom::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.search-input-custom:focus {
    background-color: rgba(255, 255, 255, 0.4) !important;
    outline: none;
    box-shadow: none;
}

.search-btn-inside {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 0 10px;
    color: white !important;
    z-index: 5;
}
/* --- CUSTOM NAVMENU HIJAU SESUAI GAMBAR --- */
.nav-wrap {
    background-color: #084734 !important; /* Hijau gelap sesuai gambar */
    position: relative;
    z-index: 5000;
    overflow: visible;
    background-image: url("/front/assets/img/nav-batik.png");
    background-size: cover;
    background-position: center;

    border-bottom: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Shadow ringan di bawah navbar */
}

.nav-home {
    position: absolute;
    width: 100%;
    z-index: 5000;
    overflow: visible;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.2); */
}

.custom-navmenu {
    position: relative;
    z-index: 5001;
    overflow: visible;
}

.custom-navmenu.navmenu-home {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.custom-navmenu.navmenu-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-navmenu .navmenu-list {
    flex: 1 1 auto;
}

.custom-navmenu .navmenu-search {
    display: flex;
    align-items: center;
    flex: 0 0 250px;
}

.custom-navmenu .navmenu-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.custom-navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center; /* Menengahkan menu */
    gap: 15px; /* Jarak antar menu */
    overflow: visible;
}

.custom-navmenu li {
    position: relative;
    padding: 0; /* Ubah padding agar pas */
    overflow: visible;
}

/* Link Menu Utama */
.custom-navmenu a {
    color: #ffffff; /* Teks warna putih */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 20px 15px; /* Sesuaikan tinggi navbar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Poppins", sans-serif;
    transition: color 0.3s ease;
}

/* Efek Garis Bawah Meluncur (Hover & Active) */
.custom-navmenu a span {
    position: relative;
}

.custom-navmenu a span::after {
    content: "";
    position: absolute;
    bottom: -6px; /* Jarak garis ke teks */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #d1f396; /* Kuning/Hijau terang */
    border-radius: 2px;
    transform: scaleX(0); /* Sembunyikan garis secara default */
    transition: transform 0.3s ease;
    transform-origin: center;
}

.custom-navmenu a:hover span::after,
.custom-navmenu a.active span::after {
    transform: scaleX(1); /* Tampilkan garis saat di-hover/aktif */
}

.custom-navmenu a:hover,
.custom-navmenu a.active {
    color: #cef17b;
}

/* Ikon Chevron Dropdown */
.custom-navmenu a i {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s;
}

/* BUTTON BAGIKAN LIPUTAN */
/* Gaya emerald yang lebih selaras dengan identitas header */
.navmenu-cta-btn,
.navmenu-cta-mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #157f5b 0%, #0f6b4a 100%) !important;
    color: #f7fffb !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    letter-spacing: 0.02em;
    border: 1px solid rgba(10, 77, 53, 0.95) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 8px 18px rgba(3, 39, 28, 0.18) !important;
    text-decoration: none;
    white-space: nowrap !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Hilangkan ::after bawaan template (jika ada) */
.navmenu-cta-btn span::after,
.navmenu-cta-mobile-link span::after {
    display: none !important;
}

/* Efek hover dibuat halus agar terlihat lebih premium */
.navmenu-cta-btn:hover,
.navmenu-cta-mobile-link:hover {
    background: linear-gradient(180deg, #189069 0%, #117553 100%) !important;
    color: #f7fffb !important;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 24px rgba(3, 39, 28, 0.24) !important;
}

/* Jarak tombol di Desktop */
.navmenu-cta-btn-inner {
    margin-left: 14px !important;
}

/* Sembunyikan versi mobile secara default */
.navmenu-cta-mobile {
    display: none;
}

/* CATATAN: Kode CSS untuk ikon (i) sudah dihapus seluruhnya dari sini */

/* END BUTTON */

.custom-navmenu .dropdown:hover > a i {
    transform: rotate(180deg);
}

/* --- DROPDOWN MENU --- */
.custom-navmenu .dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px; /* Border radius hanya di bawah */
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s;
    z-index: 6000;
}

.custom-navmenu .dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-navmenu .dropdown-menu-custom li {
    padding: 0;
}

.custom-navmenu .dropdown-menu-custom a {
    padding: 10px 20px;
    font-size: 15px;
    color: #0b4a2e; /* Teks dropdown hijau gelap */
    font-weight: 500;
}

/* Matikan efek garis bawah di dalam dropdown */
.custom-navmenu .dropdown-menu-custom a span::after {
    display: none;
}

/* Efek Hover di Item Dropdown */
.custom-navmenu .dropdown-menu-custom a:hover,
.custom-navmenu .dropdown-menu-custom a.active {
    color: #0b4a2e;
    background-color: #d1f396; /* Background berubah terang */
    padding-left: 25px;
}

/* Menyembunyikan Kibas CSS yang tidak dipakai di header ini agar kode lebih bersih */
.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    color: #ffffff; /* Ubah toggle mobile jadi putih agar terlihat di background hijau */
    cursor: pointer;
    padding: 15px;
}

/* Responsif Mobile */
@media (max-width: 1199px) {
    #header .top-row {
        display: none !important;
    }

    #header {
        background: transparent !important;
    }

    .nav-home > .container,
    .nav-wrap > .container {
        min-height: 72px;
        gap: 12px;
        position: relative;
        z-index: 2;
    }

    .nav-home {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(3, 39, 28, 0.72);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    }

    .nav-wrap {
        position: relative;
        background-color: #084734 !important;
    }

    .custom-navmenu {
        width: auto !important;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end !important;
    }

    .custom-navmenu.navmenu-home,
    .custom-navmenu.navmenu-inner {
        width: auto !important;
        display: flex;
        align-items: center;
        justify-content: flex-end !important;
        gap: 0;
    }

    .custom-navmenu ul {
        display: none; /* Disembunyikan dulu untuk mode mobile */
    }

    .custom-navmenu .search-form {
        display: none !important;
    }

    .custom-navmenu .navmenu-actions {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
        flex-shrink: 0;
        padding: 10px;
        margin-right: 0;
        margin-left: auto;
    }

    .logo-box {
        flex-shrink: 0;
        min-width: 0;
        max-width: calc(100% - 64px);
    }

    .logo-box img {
        max-width: min(44vw, 180px);
        height: auto !important;
    }

    .nav-home > .container,
    .nav-wrap > .container,
    .nav-home .custom-navmenu,
    .nav-wrap .custom-navmenu {
        overflow: visible !important;
    }

    .custom-navmenu .dropdown-menu-custom {
        min-width: 100%;
    }

    body.mobile-nav-active {
        overflow: hidden;
    }

    body.mobile-nav-active #navmenu.custom-navmenu {
        position: fixed;
        inset: 0;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        flex: none !important;
        background: rgba(3, 39, 28, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 6000;
        padding: 88px 16px 24px;
        overflow-y: auto;
        overflow-x: hidden;
        margin: 0 !important;
    }

    body.mobile-nav-active #navmenu.custom-navmenu > ul,
    body.mobile-nav-active #navmenu.custom-navmenu > ul.d-flex,
    body.mobile-nav-active #navmenu.custom-navmenu > ul.navmenu-list {
        display: flex !important;
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        flex: none !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 !important;
        background: #ffffff;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
    }

    body.mobile-nav-active #navmenu.custom-navmenu > ul > li {
        position: relative;
        display: block !important;
        width: 100%;
        flex: none !important;
    }

    body.mobile-nav-active #navmenu.custom-navmenu > ul > li + li {
        border-top: 1px solid rgba(8, 71, 52, 0.08);
    }

    body.mobile-nav-active #navmenu.custom-navmenu > ul > li > a {
        display: flex !important;
        width: 100%;
    }

    body.mobile-nav-active #navmenu.custom-navmenu .navmenu-search,
    body.mobile-nav-active #navmenu.custom-navmenu .search-form,
    body.mobile-nav-active #navmenu.custom-navmenu .navmenu-actions {
        display: none !important;
    }

    body.mobile-nav-active .custom-navmenu a {
        color: #0b2f23;
        padding: 16px 20px;
        font-size: 16px;
        line-height: 1.4;
    }

    body.mobile-nav-active .custom-navmenu a span::after {
        display: none;
    }

    body.mobile-nav-active .custom-navmenu a i {
        margin-left: 12px;
        color: #0b4a2e;
        transform: none;
    }

    body.mobile-nav-active .custom-navmenu .dropdown-menu-custom {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        min-width: 100%;
        padding: 0 0 8px;
        margin: 0;
        background: #f4f8f5;
        border-radius: 0;
        box-shadow: none;
    }

    body.mobile-nav-active
        .custom-navmenu
        .dropdown.active
        > .dropdown-menu-custom,
    body.mobile-nav-active
        .custom-navmenu
        .dropdown-menu-custom.dropdown-active {
        display: block;
    }

    body.mobile-nav-active .custom-navmenu .dropdown-menu-custom li {
        border-top: 1px solid rgba(8, 71, 52, 0.08);
    }

    body.mobile-nav-active .custom-navmenu .dropdown-menu-custom a {
        padding: 12px 20px 12px 36px;
        font-size: 14px;
        color: #0b4a2e;
        background: transparent;
    }

    body.mobile-nav-active .custom-navmenu .dropdown-menu-custom a:hover,
    body.mobile-nav-active .custom-navmenu .dropdown-menu-custom a.active {
        padding-left: 36px;
        background-color: rgba(209, 243, 150, 0.45);
    }

    body.mobile-nav-active .navmenu-cta-mobile {
        display: block;
        padding: 18px 20px 20px;
        background: #ffffff;
    }

    body.mobile-nav-active .navmenu-cta-mobile-link {
        width: 100%;
        min-height: 52px;
        font-size: 15px;
    }

    body.mobile-nav-active .mobile-nav-toggle {
        position: fixed;
        top: 18px;
        right: 16px;
        z-index: 6001;
        margin: 0;
        background: #0b5d43;
        border-radius: 12px;
        color: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    }
}

@media (max-width: 991.98px) {
    .top-row {
        min-height: 34px;
    }

    .social-links {
        gap: 2px;
    }
}

@media (max-width: 767.98px) {
    .nav-home > .container,
    .nav-wrap > .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        min-height: 64px;
        padding-left: 14px;
        padding-right: 14px;
        overflow: hidden;
    }

    .nav-home .logo-box,
    .nav-wrap .logo-box {
        flex: 0 1 auto;
        max-width: calc(100% - 52px);
    }

    .nav-home .logo-box a,
    .nav-wrap .logo-box a {
        display: inline-flex;
        max-width: 100%;
    }

    .nav-home .custom-navmenu,
    .nav-wrap .custom-navmenu {
        flex: 0 0 auto;
        width: auto !important;
        min-width: auto;
    }

    .mobile-nav-toggle {
        font-size: 24px;
        padding: 8px;
        line-height: 1;
        color: #ffffff !important;
    }

    body.mobile-nav-active .custom-navmenu {
        padding: 82px 12px 20px;
    }

    body.mobile-nav-active .custom-navmenu a {
        padding: 15px 16px;
        font-size: 15px;
    }

    body.mobile-nav-active .custom-navmenu .dropdown-menu-custom a {
        padding: 11px 16px 11px 30px;
    }

    .logo-box img {
        max-width: min(40vw, 140px);
    }

    .slider-img {
        height: 420px;
    }

    .tentang-hero {
        padding: 48px 0 36px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        margin-bottom: 24px;
    }

    .tentang-hero__text {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .tentang-hero__stat {
        padding: 14px 16px;
        gap: 12px;
    }

    .tentang-hero__stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .tentang-hero__stat-number {
        font-size: 1.3rem;
    }

    .tentang-shortcut__card {
        padding: 18px;
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    .top-row {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    .nav-home {
        background-color: rgba(3, 39, 28, 0.86);
    }

    .nav-home,
    .nav-wrap {
        overflow-x: clip;
    }

    .nav-home > .container,
    .nav-wrap > .container {
        min-height: 60px;
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .logo-box {
        max-width: calc(100% - 48px);
    }

    .logo-box img {
        max-width: min(38vw, 120px);
    }

    .mobile-nav-toggle {
        padding: 6px;
        font-size: 22px;
    }

    body.mobile-nav-active .custom-navmenu {
        padding-top: 76px;
    }

    body.mobile-nav-active .mobile-nav-toggle {
        top: 14px;
        right: 12px;
    }

    .slider-img {
        height: 300px;
        border-radius: 8px;
    }

    .slider-img-wrapper,
    .slider-main {
        border-radius: 8px;
    }

    .tentang-hero {
        padding: 40px 0 30px;
    }

    .tentang-shortcut__card {
        padding: 16px;
        gap: 14px;
    }

    .tentang-shortcut__eyebrow {
        font-size: 0.78rem;
    }

    .tentang-shortcut__card .btn,
    .tentang-shortcut__card a.btn {
        width: 100%;
    }

    .footer-top {
        text-align: center;
    }

    .footer-contact-info ul li,
    .footer-links ul li {
        justify-content: center;
    }

    .footer-newsletter .btn {
        width: 100%;
    }
}
/* End  */

.swiper {
    position: relative;
}

.slider-main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Wrapper gambar */
.slider-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Gambar */
.slider-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Tentang Page */
.tentang-hero {
    background:
        linear-gradient(rgba(8, 71, 52, 0.96), rgba(8, 71, 52, 0.96)),
        url("/front/assets/img/nav-batik.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 64px 0 52px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}

.profil-perusahaan {
    position: relative;
}

.tentang-hero__line {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.tentang-hero__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
}

.tentang-hero__stat {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px 18px;
    height: 100%;
}

.tentang-hero__stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.25rem;
}

.tentang-hero__stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.tentang-hero__stat-label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.tentang-shortcut {
    margin-top: 0;
    margin-bottom: 30px;
}

.tentang-shortcut__card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(8, 71, 52, 0.08);
    box-shadow: 0 10px 24px rgba(8, 71, 52, 0.06);
    padding: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.tentang-shortcut__eyebrow {
    color: #4d7c0f;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tentang-shortcut__title,
.tentang-section__title,
.tentang-section__heading {
    color: #084734;
}

.tentang-shortcut__title {
    font-size: 1.45rem;
    font-weight: 700;
}

.tentang-section__title {
    font-size: 1.95rem;
    line-height: 1.2;
}

.tentang-section__text {
    line-height: 1.8;
    font-size: 1.02rem;
}

.tentang-story__card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(8, 71, 52, 0.05);
}

.tentang-story__content {
    max-width: 540px;
}

.tentang-shortcut__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tentang-shortcut__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #f3f8ee;
    color: #084734;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.tentang-shortcut__link:hover {
    background: #084734;
    color: #ffffff;
    transform: translateY(-2px);
}

.tentang-badge {
    background: #cdedb3;
    color: #084734;
    font-weight: 600;
}

.tentang-section__line {
    width: 50px;
    height: 3px;
    background: #084734;
    margin-bottom: 20px;
    border-radius: 2px;
}

.tentang-empty__state {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 20px;
    padding: 42px 30px;
    box-shadow: 0 10px 24px rgba(8, 71, 52, 0.05);
}

.tentang-empty__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf5dd;
    color: #4d7c0f;
    font-size: 2rem;
}

.tentang-training__shell {
    background: #f8faf7;
    border: 1px solid #e8ecef;
    border-radius: 22px;
    padding: 28px;
}

.tentang-hero__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tentang-hero__circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
}

.tentang-hero__circle--1 {
    width: 350px;
    height: 350px;
    top: -120px;
    right: -80px;
}

.tentang-hero__circle--2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -40px;
}

.tentang-hero__float-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.045);
}

.tentang-hero__float-icon--building {
    font-size: 5rem;
    top: 15%;
    right: 10%;
    animation: tentangFloat 7s ease-in-out infinite;
}

.tentang-hero__float-icon--people {
    font-size: 3.5rem;
    bottom: 20%;
    left: 8%;
    animation: tentangFloat 9s ease-in-out 1.5s infinite;
}

@keyframes tentangFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

.tentang-story__media {
    z-index: 1;
}

.tentang-story__image {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.tentang-story__image:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(8, 71, 52, 0.2) !important;
}

.tentang-story__image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 15px;
    background: linear-gradient(135deg, #cef17b, #084734);
    opacity: 0.15;
    z-index: -1;
    transition: all 0.3s ease;
}

.tentang-story__image-accent--left {
    left: 15px;
}

.tentang-story__image-accent--right {
    right: 15px;
    left: auto;
}

.tentang-story__media:hover .tentang-story__image-accent {
    top: 10px;
    opacity: 0.25;
}

.tentang-training__card {
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tentang-training__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(8, 71, 52, 0.15) !important;
}

.tentang-training__preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 5px;
    border: 1px solid #eee;
}

.tentang-training__icon {
    width: 48px;
    height: 48px;
    background: #fce4ec;
}

.tentang-training__button {
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tentang-training__button--primary {
    background-color: #cdedb3;
    color: #084734;
    border: 1px solid transparent;
}

.tentang-training__button--primary:hover {
    background-color: #084734;
    color: #ffffff;
    border-color: #084734;
}

.tentang-training__button--secondary {
    background-color: #ffffff;
    color: #084734;
    border: 1px solid #cdedb3;
}

.tentang-training__button--secondary:hover {
    background-color: #f3f8ee;
    color: #084734;
    border-color: #084734;
}

.tentang-training__preview iframe {
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .tentang-hero {
        padding: 52px 0 44px;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .tentang-shortcut__card {
        padding: 20px;
    }

    .tentang-shortcut__title {
        font-size: 1.2rem;
    }

    .tentang-section__title {
        font-size: 1.55rem;
    }

    .tentang-story__card,
    .tentang-training__shell,
    .tentang-empty__state {
        padding: 20px;
    }

    .tentang-story__image-accent {
        display: none;
    }
}

/* Gradasi atas (untuk teks agar terlihat jelas) */
.slider-img-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    border-radius: 10px;
    pointer-events: none;
}

/* Gradasi bawah gambar */
.slider-main::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    z-index: -1;
}

/* Wrapper untuk teks agar berada di tengah */
.slider-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 2;
}

/* Judul */
.slider-title {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.text-white {
    color: white !important;
}

/* Tombol Read More */
.read-more {
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    background: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
    color: #344e41 !important;
}

.read-more:hover {
    background: #084734;
    color: #fff !important;
}

/* Pagination tetap di bawah gambar */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
    z-index: 1;
}

/* CUACA CSS */
.weather-box {
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.weather-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.detail-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bg-main {
    background: #084734;
    color: #fff;
}

/* ============================================================
   OVERRIDE BOOTSTRAP PRIMARY COLOR → HIJAU
   ============================================================ */
:root,
[data-bs-theme="light"] {
    --bs-primary: #084734;
    --bs-primary-rgb: 8, 71, 52;
    --bs-link-color: #084734;
    --bs-link-color-rgb: 8, 71, 52;
    --bs-link-hover-color: #4a6e49;
    --bs-link-hover-color-rgb: 74, 110, 73;
}

.text-primary {
    color: #084734 !important;
}

.bg-primary {
    background-color: #084734 !important;
}

.border-primary {
    border-color: #084734 !important;
}

.btn-primary {
    background-color: #084734 !important;
    border-color: #084734 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #4a6e49 !important;
    border-color: #4a6e49 !important;
}

.btn-outline-primary {
    color: #084734 !important;
    border-color: #084734 !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #084734 !important;
    border-color: #084734 !important;
    color: #fff !important;
}

/* ============================================================
   VARIABEL TEMA & UTILITAS DASAR
   ============================================================ */
:root {
    --primary-color: #084734;
    --primary-dark: #344e41;
    --primary-light: #dad7cd;
    --bg-card: #ffffff;
    --bg-light: #f8faf7;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --shadow-sm: 0 2px 8px rgba(52, 78, 65, 0.06);
    --shadow-md: 0 8px 24px rgba(52, 78, 65, 0.1);
    --border-radius: 16px;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.cuaca-page-header {
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary-color)
    );
    padding: 60px 0;
    color: white;
    margin-bottom: 40px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    overflow: hidden;
}

/* Floating weather icon decorations */
.cuaca-header-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cuaca-float-icon {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.07);
}

.cuaca-float-1 {
    top: 10%;
    right: 8%;
    font-size: 5rem;
    animation: cuacaFloat 6s ease-in-out infinite;
}

.cuaca-float-2 {
    bottom: 15%;
    right: 25%;
    font-size: 3.5rem;
    animation: cuacaFloat 8s ease-in-out 1s infinite;
}

.cuaca-float-3 {
    top: 30%;
    left: 5%;
    font-size: 3rem;
    animation: cuacaFloat 7s ease-in-out 2s infinite;
}

@keyframes cuacaFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Subtle pulse on weather icon */
.cuaca-now-icon {
    animation: cuacaIconPulse 3s ease-in-out infinite;
}

@keyframes cuacaIconPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cuaca-page-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cuaca-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.cuaca-page-sub {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.cuaca-page-sub a {
    color: #f0f4f0;
    text-decoration: underline;
    font-weight: 500;
}

/* Form Selector Lokasi */
/* Wrapper Dropdown - Desain lebih modern berbentuk Pill */
.cuaca-selector-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px auto; /* Tengah & memberi jarak dengan konten di bawahnya */
    background-color: #ffffff; /* Background putih solid */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Efek melayang */
    display: flex;
    align-items: center;
    padding: 8px 24px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

/* Efek Hover untuk interaksi UX yang lebih baik */
.cuaca-selector-wrap:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #b0bec5;
}

/* Ikon Geolocation */
.cuaca-selector-icon {
    color: #2e7d32; /* Warna hijau senada dengan tema stat cuaca di bawahnya */
    font-size: 1.3rem;
    margin-right: 15px;
}

/* Styling pada tag Select */
.cuaca-selector-wrap select {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #333333 !important; /* Memaksa warna teks menjadi gelap agar kontras */
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    outline: none;
    appearance: none; /* Menghilangkan panah bawaan browser */
    -moz-appearance: none;
    -webkit-appearance: none;
}

/* Memastikan isi dropdown (options) terlihat jelas */
.cuaca-selector-wrap select option,
.cuaca-selector-wrap select optgroup {
    background-color: #ffffff;
    color: #333333;
    font-weight: normal;
    padding: 10px;
}

.cuaca-selector-wrap select optgroup {
    font-weight: bold;
    color: #1b5e20; /* Sedikit pembeda warna untuk nama Kecamatan */
}

/* Panah custom di sebelah kanan */
.cuaca-selector-arrow {
    color: #757575;
    font-size: 1rem;
    margin-left: 15px;
    pointer-events: none; /* Mencegah ikon menghalangi klik pada select */
}

/* ============================================================
   SECTION TITLES (GLOBAL)
   ============================================================ */
.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary-color);
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================================
   CUACA SEKARANG
   ============================================================ */
.cuaca-now-section {
    margin-bottom: 60px;
}

.cuaca-now-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.cuaca-now-left {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: linear-gradient(to right bottom, #ffffff, #f0f4f0);
    border-right: 1px solid #f0f0f0;
}

.cuaca-now-location {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.cuaca-now-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.cuaca-now-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cuaca-now-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.1));
}

.cuaca-now-temp {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.cuaca-now-temp span {
    font-size: 2rem;
    vertical-align: top;
}

.cuaca-now-desc {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: capitalize;
}

.cuaca-now-time {
    font-size: 0.85rem;
    color: #999;
}

/* Kotak Statistik Cuaca */
.cuaca-now-stats {
    flex: 1.5;
    min-width: 300px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.cuaca-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.cuaca-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.cuaca-stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cuaca-stat-val {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.cuaca-stat-val small {
    font-size: 0.8rem;
    font-weight: 500;
}

.cuaca-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================================
   PRAKIRAAN 5 HARI
   ============================================================ */
.cuaca-forecast-section {
    margin-bottom: 60px;
}

/* Tab Horizontal Scrollable */
.forecast-tabs {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 1rem; /* Jarak antar tombol */
}

.forecast-tabs::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

.forecast-tab {
    background: var(--bg-card);
    border: 1px solid #eef0eb;
    border-radius: 16px;
    padding: 15px 25px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.forecast-tab:hover {
    border-color: var(--primary-light);
}

.forecast-tab.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(8, 71, 52, 0.3);
}

.ft-day {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    white-space: nowrap;
}

.ft-icon {
    width: 40px;
    height: 40px;
    margin: 5px 0;
}

.ft-temp {
    font-weight: 700;
}

.forecast-tab.active .ft-day,
.forecast-tab.active .ft-temp {
    color: white;
}

/* Timeline Panel */
.forecast-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.forecast-panel.active {
    display: block;
}

/* Menengahkan deretan kartu cuaca per jam */
.forecast-grid {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 1.5rem; /* Jarak antar kartu */
    margin: 0 auto; /* Memastikan bungkusnya di tengah */
}

.forecast-slot {
    background: var(--bg-card);
    min-width: 130px;
    padding: 20px 15px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f5f5f5;
    transition: transform 0.3s ease;
}

.forecast-slot:hover {
    transform: translateY(-5px);
}

.fslot-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.fslot-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.fslot-temp {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.fslot-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    height: 35px;
    /* Menyamakan tinggi agar rapi */
}

.fslot-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px dashed #eee;
    padding-top: 10px;
}

.fslot-stats i {
    color: var(--primary-color);
}

/* ============================================================
   GEMPA TERKINI
   ============================================================ */
.cuaca-gempa-section {
    margin-bottom: 60px;
}

.gempa-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.gempa-card-left {
    background: #fff5f5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.gempa-mag {
    font-size: 4.5rem;
    font-weight: 800;
    color: #c62828;
    line-height: 1;
}

.gempa-mag span {
    font-size: 1.5rem;
    font-weight: 600;
}

.gempa-badge {
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    color: white;
}

.gempa-badge--danger {
    background: #c62828;
}

.gempa-badge--warning {
    background: #f57c00;
}

.gempa-card-info {
    flex: 1;
    padding: 30px;
    min-width: 300px;
}

.gempa-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gempa-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.gempa-info-item i {
    font-size: 1.5rem;
    color: #c62828;
}

.gempa-info-item small {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.gempa-info-item strong {
    color: var(--text-main);
    font-size: 1rem;
}

.gempa-card-map {
    padding: 20px;
    background: #fdfdfd;
    border-left: 1px dashed #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 300px;
}

/* ============================================================
   PETA METEOBLUE & EMPTY STATE
   ============================================================ */
.cuaca-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 2px dashed #ddd;
}

.cuaca-empty i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 15px;
}

.cuaca-empty p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cuaca-map-attr {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cuaca-map-attr a {
    color: var(--primary-color);
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .cuaca-now-left,
    .cuaca-now-stats,
    .gempa-card-left,
    .gempa-card-info,
    .gempa-card-map {
        flex: 100%;
        border-right: none;
        border-left: none;
        border-bottom: 1px dashed #eee;
    }

    .cuaca-page-title {
        font-size: 2rem;
    }

    .cuaca-selector-wrap {
        width: 100%;
        margin-top: 15px;
    }
}

/* ============================================================
   CUSTOM FOOTER REDESIGN
   ============================================================ */
.footer.footer-custom {
    background-color: var(--primary-dark, #03271c) !important;
    background-image: url("/front/assets/img/nav-batik.png");
    background-size: cover;
    background-position: center bottom;
    color: #ffffff;
    border-top: 5px solid var(--primary-light, #cef17b); /* Ditebalkan sedikit */
    padding-top: 60px;
    padding-bottom: 25px;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer.footer-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(
        3,
        39,
        28,
        0.9
    ); /* Sedikit lebih gelap agar teks lebih kontras */
    z-index: 0;
}

.footer.footer-custom .container {
    position: relative;
    z-index: 1;
}

/* Mengatur spesifik Link Terkait agar hover & dashed line rapi */
.footer.footer-custom .footer-links ul li {
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
}

.footer.footer-custom .footer-links ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer.footer-custom .footer-links ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.footer.footer-custom .footer-links ul li a:hover {
    color: var(--primary-light, #cef17b) !important;
    transform: translateX(6px); /* Menggeser teks secara halus saat dihover */
}

/* Mempercantik ikon kontak agar sejajar jika teks turun dua baris */
.footer.footer-custom .footer-contact-info ul li {
    line-height: 1.6;
}

/* Social Links Animation */
.footer.footer-custom .social-links a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    font-size: 1.1rem;
}

.footer.footer-custom .social-links a:hover {
    background-color: var(--primary-light, #cef17b);
    color: var(--primary-dark, #03271c);
    transform: translateY(-4px); /* Efek melayang */
    box-shadow: 0 4px 10px rgba(206, 241, 123, 0.25);
}

.footer.footer-custom .border-top {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* tentang */
.tentang-training__pdf-frame {
    position: relative;
    height: 180px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef6f1 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tentang-training__pdf-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tentang-training__excerpt {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .tentang-training__pdf-frame {
        height: 150px;
    }
}
