/***********************
* Css Navbar
***********************/
/* ===== TOPBAR STYLES ===== */
.topbar {
    background-color: #003b49;
    padding: 1px 0;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.topbar-info ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar-info ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Jarak ikon & teks */
}

.topbar-icon i {
    color: #02a859;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

.topbar-text a,
.topbar-text span {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.topbar-text a:hover {
    color: #02a859;
    text-shadow: 0 0 5px rgba(2, 168, 89, 0.3);
}

.topbar-right ul {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

.topbar-right a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.topbar-right a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.3s ease;
}

.topbar-right a:hover::before {
    left: 0;
}

.topbar-right a:hover {
    background: rgba(2, 168, 89, 0.2);
    color: #02a859;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== MAIN NAVIGATION ===== */
.main-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.main-menu-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;      /* dikurangi dari 8px 16px */
    max-height: 90px;      /* dikurangi dari 90px */
}


.main-menu-left {
    display: flex;
    align-items: center;
    gap: 1px;
}

.main-menu-logo{
	min-width: 253px;
	justify-content: center;
	display: flex;
	align-items: center;
	padding: 33px 20px;
	background: transparent;
}

.main-menu-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.1);
    margin-right: 10px;
}

.main-menu-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

/* ===== NAVIGATION MENU ===== */
.navigation ul.main-menu-list {
    display: flex;
    flex-wrap: wrap;       /* pindah baris jika sempit */
    gap: 8px;              /* jarak antar menu */
    margin: 0;
    padding: 0;
    list-style: none;
}


.navigation ul.main-menu-list li {
    position: relative;
}

.navigation ul.main-menu-list > li > a {
    display: flex;
    align-items: center;
    padding: 4px 6px;   /* lebih kecil dari 6px 8px */
    font-size: 13px;    /* lebih kecil dari 14px */
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navigation ul.main-menu-list > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 59, 73, 0.08), rgba(2, 168, 89, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.navigation ul.main-menu-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #003b49, #02a859);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.navigation ul.main-menu-list > li > a:hover::before,
.navigation ul.main-menu-list > li.active > a::before {
    opacity: 1;
}

.navigation ul.main-menu-list > li > a:hover::after,
.navigation ul.main-menu-list > li.active > a::after {
    width: 80%;
}

.navigation ul.main-menu-list > li > a:hover,
.navigation ul.main-menu-list > li.active > a {
    color: #003b49;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 59, 73, 0.15);
}

.btn-login {
    padding: 4px 6px;  
    background: #02a859;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 97, 255, 0.3);
}
.btn-login:hover {
    border: 1px solid #02a859;
    background-color: #fff;
    color: #02a859!important;
    transform: translateY(-2px);
}

/* ===== DROPDOWN STYLES ===== */
.navigation ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    padding: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
    overflow: visible;
    border: none;
    margin-top: -2px;
}

.navigation ul.sub-menu .has-dropdown > ul.sub-menu {
    position: absolute;   /* WAJIB: biar bisa nempel di kanan */
    top: 0;
    left: 100%;
    margin-left: 2px;
    min-width: 220px;
    background: #fff;
    border-radius: 0 10px 10px 0;
    box-shadow: 4px 8px 20px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.navigation ul.sub-menu .has-dropdown:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
}

.navigation li.has-dropdown {
    position: relative;
}

.navigation li.has-dropdown > a {
    position: relative;
    z-index: 101;
}

.navigation li.has-dropdown:hover > a {
    border-radius: 10px 10px 0 0;
    background: #ffffff;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.navigation li.has-dropdown:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.navigation ul.sub-menu .has-dropdown:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navigation ul.sub-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.navigation ul.sub-menu li:last-child {
    border-bottom: none;
}

.navigation ul.sub-menu li a {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: #64748b !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    background: #ffffff;
    z-index: 102;
    display: inline-block; /* pastikan relative bekerja */
    overflow: hidden; /* agar animasi tidak keluar */
}

/* ==== Hover SUB MENU ==== */
.navigation ul.sub-menu li a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: white;
    z-index: 1;
}

.navigation ul.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #003b49;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* shimmer layer */
.navigation ul.sub-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    z-index: 0;
    transition: none;
    pointer-events: none;
}

/* trigger hover */
.navigation ul.sub-menu li a:hover::before {
    transform: scaleX(1);
}

.navigation ul.sub-menu li a:hover::after {
    animation: shimmer 2s infinite;
}

/* keyframes shimmer */
@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}
/* === End Hover Sub menu=== */

.navigation ul.sub-menu li a:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    color: #f8f8f8 !important;
    padding-left: 32px;
}

.navigation ul.sub-menu li a:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.navigation ul.sub-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: #02a859 !important;
}

.navigation ul {
    list-style: none;      /* hilangkan bullet/titik */
    padding-left: 0;       /* hilangkan indent/kotak default */
    margin: 0;             /* hilangkan margin default */
}

/* Buat li tetap berfungsi untuk dropdown */
.navigation ul li {
    position: relative;
}


/* ===== MOBILE MENU BUTTON ===== */
/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    z-index: 1100; /* pastikan di atas navigation */
}

.mobile-menu-button:hover {
    background: rgba(0, 59, 73, 0.08);
}

.mobile-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: #003b49;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-button span:nth-child(1) { top: 14px; }
.mobile-menu-button span:nth-child(2) { top: 21px; }
.mobile-menu-button span:nth-child(3) { top: 28px; }

.mobile-menu-button.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}
.mobile-menu-button.active span:nth-child(2) { opacity: 0; }
.mobile-menu-button.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 992px) {
    .mobile-menu-button { display: block; }

    .navigation {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding-bottom: 50px;
    }

    .navigation.active {
        transform: translateX(0);
    }

    .navigation ul.main-menu-list {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .navigation ul.main-menu-list > li {
        border-bottom: 1px solid #e2e8f0;
        width: 100%;
    }

    .navigation ul.main-menu-list > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        font-size: 15px;
        font-weight: 600;
        color: #1e293b;
        text-decoration: none;
        background: transparent;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .navigation ul.main-menu-list > li > a:hover,
    .navigation ul.main-menu-list > li.active > a {
        background: #f8fafc;
        color: #02a859;
    }

    /* Dropdown Arrow */
    .navigation ul.main-menu-list > li.has-dropdown > a::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid #64748b;
        border-bottom: 2px solid #64748b;
        transform: rotate(45deg);
        margin-left: auto;
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .navigation ul.main-menu-list > li.has-dropdown.active > a::after {
        transform: rotate(135deg);
        border-color: #02a859;
    }

    /* Submenu */
    .navigation ul.sub-menu {
        display: none;
        flex-direction: column;
        padding-left: 16px;
        background: #f8fafc;
        transition: all 0.3s ease;
    }

    .navigation ul.sub-menu li a {
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 400;
        color: #64748b;
        background: transparent;
        display: block;
        transition: all 0.2s ease;
    }

    .navigation ul.sub-menu li a:hover {
        color: #02a859;
        padding-left: 32px;
    }

    .navigation ul.main-menu-list > li.has-dropdown.active > ul.sub-menu {
        display: flex;
    }
}

/* ===== SMALLER DEVICES ===== */
@media (max-width: 768px) {
    .main-menu-inner { padding: 0 16px; height: 64px; }
    .main-menu-logo img { height: 36px; }
    .navigation { top: 64px; height: calc(100vh - 64px); }
}

@media (max-width: 480px) {
    .main-menu-inner { padding: 0 12px; height: 56px; }
    .main-menu-logo img { height: 32px; }
    .navigation { top: 56px; height: calc(100vh - 56px); }
}

/* ===== SMOOTH ANIMATION ===== */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.navigation ul.sub-menu li a { animation: slideDown 0.3s ease; }


/***********************
* End Css Mobile Nav
***********************/

/***********************
* Css Hero
***********************/
.item-slider-bg {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/image/bg/Pessel.jpg');
    background-size: cover;
    background-position: center;
  }

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 15px;
}
.hero-content {
    text-align: center;
    color: white;
    min-width: 900px;
    padding: 40px 20px 80px 20px;
    /* padding bawah untuk ruang */
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 37px;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: #ffffff; /* putih polos */
    font-weight: 400;
    line-height: 1.6;
    animation: slideUp 1s ease-out 0.4s both;
}

.search-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    color: #ffff; /* ganti warna sesuai kebutuhan, misalnya abu gelap */
    font-weight: 400;
    line-height: 1.5;
    font-family: "Arial", sans-serif; /* override biar nggak ikut Roboto */
}

/* Search Box */
.hero-search {
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease-out 0.6s both;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #000000;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #02a859, #003b49);
    border: none;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 16px;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 0.8s both;
}

.quick-link {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.quick-link:hover::before {
    left: 100%;
}

.quick-link:hover {
    background: #02a859; /* hijau elegan */
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    color: white;
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animations */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }

    .search-input {
        padding: 15px 50px 15px 20px;
        font-size: 14px;
    }

    .quick-links {
        gap: 10px;
    }

    .quick-link {
        padding: 10px 18px;
        font-size: 13px;
    }

    .social-sidebar {
        left: -5px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon i {
        font-size: 18px;
    }

    .marquee-text {
        font-size: 14px;
    }
}

/* Popular Searches */
.popular-searches {
    margin-top: 15px;
    animation: slideUp 1s ease-out 1s both;
}

.popular-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.popular-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.popular-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: #02a859; /* hijau elegan */
    color: white;
    border-color: #02a859; /* biar matching */
    transform: translateY(-2px); /* efek naik dikit */
    box-shadow: 0 6px 15px rgba(45, 205, 124, 0.3); /* efek glow hijau */
}


#searchResults .suggestion-item {
    color: black;
    /* warna teks hitam */
    padding: 8px 10px;
    cursor: pointer;
}

#searchResults .suggestion-item:hover {
    background-color: #f2f2f2;
    /* efek hover abu-abu */
}

.social-icons {
    position: fixed; /* biar selalu ikut layar */
    left: 0; /* langsung nempel kiri */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}


.social-icons a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 6px; /* kotak dengan sudut agak tumpul */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-icons a:hover {
    background: #02a859; /* hijau elegan pas hover */
    color: #fff;
    transform: translateX(5px); /* animasi geser dikit pas hover */
}

.hero-widgets {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.hero-widgets .widget-card {
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 45px; /* hanya ikon */
    position: relative;
    cursor: pointer;
    overflow: visible;
    transition: background 0.3s ease;
}

.hero-widgets .widget-card i {
    width: 45px;
    font-size: 18px;
    text-align: center;
    display: block;
}

.hero-widgets .widget-card span {
    position: absolute;
    right: 50px; /* mulai di luar */
    opacity: 0;
    white-space: nowrap;
    background: #02a859;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: opacity 0.3s ease, right 0.3s ease;
    pointer-events: none;
}

/* Panah kecil ke ikon */
.hero-widgets .widget-card .tooltip-arrow {
    position: absolute;
    right: 40px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #02a859;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

/* Hover: teks & panah muncul */
.hero-widgets .widget-card:hover {
    background: #02a859;
}

.hero-widgets .widget-card:hover span {
    opacity: 1;
    right: 60px; /* slide efek */
}

.hero-widgets .widget-card:hover .tooltip-arrow {
    opacity: 1;
    right: 55px;
}

/***********************
* End Css Hero
***********************/

/***********************
* Svg Waves
***********************/
.custom-curved-wrapper {
    position: relative;
    width: 100%;
    margin-top: -130px;
    /* Angkat ke atas */
    height: 140px;
    /* Sama dengan tinggi SVG */
    overflow: hidden;
    z-index: 10;
    background-color: transparent;
    /* Biarkan transparan agar hanya SVG yg kelihatan */
}

.custom-curved-svg {
    width: 100%;
    height: 100%;
    display: block;
}
/***********************
* End svg Waves
***********************/

/***********************
* Beranda
***********************/
 /* ===== Section Berita ===== */
#berita .berita-box {
    background: rgba(255, 255, 255, 0.1); /* sedikit lebih transparan untuk kesan elegan */
    backdrop-filter: blur(15px); /* blur lebih halus */
    -webkit-backdrop-filter: blur(15px); /* Safari */
    border-radius: 25px; /* border lebih smooth */
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* shadow lebih lembut dan luas */
    border: 2px solid rgba(255, 255, 255, 0.25); /* border lebih subtle */
    transition: all 0.4s ease-in-out;
    background-image: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.08));
}

#berita .section-title span {
    color: #02a859;
    font-weight: 700;
}

.hr-connector {
    flex-grow: 1;
    height: 2px;
    background-color: #02a859;
    margin: 0 15px;
    border-radius: 1px;
}

/* ===== Tombol "Lihat Semua Berita" ===== */
.btn.btn-lihat-semua {
    color: #02a859;
    border: 1px solid #02a859;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
    font-family: sans-serif;
    padding: 8px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.btn-lihat-semua:hover {
    background-color: #003b49;
    color: #ffffff;
    border: 1px solid #003b49;
}





/* ===== Nav Tabs ===== */
.nav-tabs .nav-link {
    color: inherit;
    transition: color 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link.active {
    color: #02a859 !important;
    font-weight: 600;
}

.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #02a859;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-tabs .nav-link:hover::after {
    width: 100%;
}

/* ===== Carousel ===== */
#beritaCarousel .carousel-control-prev,
#beritaCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(45, 205, 124, 0.6);
    border-radius: 50%;
    top: 45%;
    transform: translateY(-50%);
}

#beritaCarousel .carousel-control-prev:hover,
#beritaCarousel .carousel-control-next:hover {
    background-color: #02a859;
}

/* ===== Read More Link ===== */
.read-more-link {
    color: #fff;
    text-decoration: underline;
    font-size: 0.85rem;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(4px);
}

/* ===== Tab Content Berita ===== */
.berita-item h6 {
    font-weight: 600;
}

.berita-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/* ===== Button Group Dokumen ===== */
.btn-group-dokumen {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
}

/* ===== Hover Link ===== */
.hover-link:hover {
    color: #02a859 !important;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {

    .ppid-card h5 {
        min-height: auto;
        font-size: 1rem;
    }

    .btn-group-dokumen {
        flex-direction: column;
        gap: 8px;
    }

    .btn.btn-lihat-semua {
        min-width: 100%;
    }

    .cover-wrapper {
        height: 300px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
        border-radius: 12px;
    }

    .cover-image {
        height: 100%;
        width: auto;
        object-fit: cover;
        border-radius: 10px;
    }

    .pdf-icon {
        height: 90%;
        width: auto;
        max-height: 280px;
        object-fit: contain;
    }

    .card h6 {
        font-size: 1rem;
        line-height: 1.4;
    }

    @media (max-width: 768px) {
        .cover-wrapper {
            height: 240px;
        }
    }
}
 /* ===== End Section Berita ===== */

 /* ===== Layanan Publik ===== */

.services-container {
    padding: 2rem 0 5rem 0; /* atas 2rem, kanan 0, bawah 5rem, kiri 0 */
}

.row.g-4 {
    row-gap: 5rem !important;
}

.section-title h2 {
    font-family: 'Roboto', sans-serif;
    background-clip: text;
}

.section-line {
    width: 60px;                 /* panjang garis */
    height: 3px;                 /* tebal garis */
    background-color: #02a859;   /* warna garis sama dengan span */
    border: none;
    margin: 0.5rem auto 1rem auto; /* top, horizontal center, bottom */
}

.section-subtitle {
    font-size: 1rem;   /* ukuran teks lebih besar */
    color: #6c757d;      /* text-muted */
    margin-top: -10px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, #02a859, #018746);
    border-radius: 12px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, #02a859 0%, #018746 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #02a859, #018746);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.service-icon i {
    font-size: 2rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-title {
    font-size: 0.95rem;
    color: #1e293b;
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #0f172a;
}

/* Enhanced glass effect for better visibility */
@supports (backdrop-filter: blur(10px)) {
    .service-card {
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
    .service-card {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(226, 232, 240, 0.8);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        min-height: 100px;
    }
    
    .service-icon {
        width: 42px;
        height: 42px;
    }
    
    .service-icon i {
        font-size: 1.1rem;
    }
    
    .service-title {
        font-size: 0.9rem;
    }
}

.sub-service-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;   /* ikon, judul, deskripsi tetap center */
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}

.sub-service-item:hover {
    transform: translateY(-5px); /* efek naik */
}

.sub-service-desc {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    flex-grow: 1; /* deskripsi isi ruang kosong */
    display: flex;
    align-items: center;   /* supaya teks deskripsi rata tengah vertikal */
}


.sub-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    height: 60px;
    margin-bottom: 1rem;
}

.sub-service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sub-service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}



.sub-service-more {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: #02a859;
    font-weight: 600;
    transition: all 0.3s ease;
}



.radio-btn {
    background: linear-gradient(135deg, #02a859 0%, #018746 100%); /* gradient hijau */
    border: none;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.radio-btn:hover {
    transform: scale(1.05);
}

.modal-header {
    background: linear-gradient(135deg, #02a859 0%, #018746 100%); /* gradient hijau */
    color: #ffffff;
    border-radius: 20px 20px 0 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

 /* ===== End Layanan Publik ===== */

  /* ===== Agenda ===== */
.agenda-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.agenda-card .card-header {
    border: none;
    background: linear-gradient(135deg, #02a859, #02834a);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.priority-high {
    border-left: 5px solid #ef4444;
}

.priority-medium {
    border-left: 5px solid #f59e0b;
}

.priority-low {
    border-left: 5px solid #02a859;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.stats-card {
    background: linear-gradient(135deg, #f8fafc, white);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #02a859;
}

.floating-action {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-action .btn {
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #02a859;
    border-color: #02a859;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #02a859;
    position: absolute;
    left: -6px;
    top: 8px;
}

.timeline-line {
    position: absolute;
    left: -1px;
    top: 20px;
    bottom: -20px;
    width: 2px;
    background: #e2e8f0;
}

.custom-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.agenda-item {
    transition: all 0.3s ease;
}

.agenda-item:hover {
    background-color: rgba(2, 168, 89, 0.1) !important;
    border-color: #02a859 !important;
}

.pin-service {
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.pin-service::-webkit-scrollbar {
    width: 4px;
}

.pin-service::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.calendar-day {
    min-width: 50px;
    border-radius: 8px; /* biar rapi pas hover */
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background-color: #9fe7c4;
    color: #02a859 !important;
}

.calendar-day.active {
    background: #02a859;
    border-radius: 10%;
}

.calendar-day.active .dot {
    background-color: #ffc107;
}

.calendar-day .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.minggu-merah p {
    color: #d00 !important;
    /* teks merah */
}


.btn-primary {
    background-color: #02a859;
    border-color: #02a859;
}

.btn-primary:hover {
    background-color: #02834a;
    border-color: #02834a;
}

.text-primary {
    color: #02a859 !important;
}

.bg-primary {
    background-color: #02a859 !important;
}

.border-primary {
    border-color: #02a859 !important;
}
   /* ===== End Agenda ===== */
/***********************
* End Beranda
***********************/

/***********************
* Css Footer
***********************/
.footer-widget a {
    text-decoration: none !important;
    color: inherit; /* biar warnanya ikut teks default/footer */
}

.footer-widget a:hover {
    color: #02a859 !important;
}

.footer-widget-text {
    max-width: 370px;
}

.footer-widget-text p {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-white);
    margin: 0;
}


.footer-widget-text .text-sm p {
    font-size: 13px;
    color: var(--thm-white);
    margin: 0;
}

.footer-widget-media p{
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-white);
    margin: 0;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid white;
    color: #ffffff;
    background-color: transparent;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background-color: #02a859;
    border: 1px solid #02a859;
    color: white;
    transform: scale(1.1);
}


.footer-inner .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
/* .footer-inner {
    background-image: url("/assets/image/bg/footer-bg-1.png");
    background-color: #0073e6 !important;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: left 20px bottom 0px;
} */
.footer-container {

    background-color: #022c38;
    color: #ffffff;

    padding: 1.5rem 0;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}
.visitor-stats {

    background-color: #022c38;

    border-radius: 12px;

    padding: 1.25rem;

    margin-bottom: 1rem;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}




.stats-title {

    font-weight: 600;

    margin-bottom: 1rem;

    color: #ffffff;

    font-size: 1.15rem;

}



.stats-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 1rem;

}



.stat-item {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    background-color: rgba(255, 255, 255, 0.05);

    padding: 0.75rem;

    border-radius: 8px;

    transition: transform 0.2s, background-color 0.2s;

    min-height: 60px;

}



.stat-item:hover {

    background-color: rgba(255, 255, 255, 0.1);

    transform: translateY(-2px);

}



.stat-icon {

    background-color: #02a859;
    width: 32px;

    height: 32px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.stat-icon svg {

    width: 16px;

    height: 16px;

    color: white;

}



.stat-content {

    display: flex;

    flex-direction: column;

}



.stat-value {

    font-weight: 600;

    font-size: 1rem;

    color: white;

    line-height: 1.2;

}



.stat-label {

    font-size: 0.8rem;

    color: rgba(255, 255, 255, 0.7);

    margin-top: 0.1rem;

    line-height: 1.3;

}



.footer-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;

    padding-top: 1rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: #ffffff;

}



.copyright {

    font-size: 0.85rem;

}



.developer-link {

    font-size: 0.85rem;

    font-weight: 500;

}



@media (max-width: 1200px) {

    .stats-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 768px) {

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }

}



@media (max-width: 480px) {

    .stats-grid {

        grid-template-columns: 1fr;

    }



    .stat-item {

        min-height: auto;

    }

}
/***********************
* End Css Footer
***********************/

/***********************
* Start Css Berita Detail
***********************/
/* ===== Berita Detail ===== */
.news-details-socials a {
    display: inline-block;
    padding: 6px;
    position: relative;
    top: 0;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    text-align: center;
    display: inline-block;
    background-color: var(--thm-light-bg);
    color: var(--thm-black);
}

.news-details-socials a:hover {
    background-color: #003b49;
    color: white;
}

.news-details-socials a i {
    font-size: 24px;
    position: relative;
    top: 0;
    margin: 0;
    transition: color 0.3s ease;
}



.news-details-socials a:hover i {
    color: #02a859;
}



.news-details-meta-box-inner {
    margin-top: 1rem;
}


.comments-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.comment-avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.comment-content {
    flex: 1;
}

.comment-header {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-email {
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
}

.comment-text {
    margin: 0.25rem 0 0.5rem;
    line-height: 1.4;
    color: #333;
}

.comment-date {
    font-size: 0.75rem;
    color: #999;
}



.content-box-glass,
.custom-card-glass {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    overflow-wrap: break-word;
}




button.btn-komentar {
    background-color: #02a859;
    color: #fff !important;
    border: none;
    transition: background-color 0.3s ease;
}

button.btn-komentar:hover {
    background-color:  #003b49;
    color: #fff !important;
}


.form-control {
    border: 2px solid #003b49;
    border-radius: 8px;
    padding: 10px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #02a859;
    outline: none;
}

/* css button berita terbaru-terpopuler */
.nav-link {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #02a859;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.transition-hover {
    transition: all 0.3s ease-in-out;
    border: 1px solid #f0f0f0;
}

.transition-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 115, 230, 0.12);
    background-color: #f9f9f9;
}

.content-box-depth {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Bayangan sedikit lebih gelap dan padat */
    border: 1px solid #dcdcdc; /* Garis tepi yang lebih jelas */
    padding: 24px;
    margin-bottom: 1.5rem;
}

.custom-card-depth {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Bayangan lebih jelas untuk kartu */
    border: 1px solid #dcdcdc; /* Garis tepi yang lebih jelas */
    margin-bottom: 1.5rem;
    padding: 16px;
}
/* ===== End Berita Detail ===== */


/* ===== Berita All ===== */
.object-fit-cover {
    object-fit: cover;

}


.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card-img-top:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}



.blog-section.blog-section-two {

    margin-top: 3rem !important;

    padding-top: 0 !important;

}

.btn-kembali {
    border: 1px solid #02a859;
    color: #02a859;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-kembali:hover {
    background-color: #02a859;
    color: #fff;
}

.pagination .page-link {
    color: #02a859;
    /* Warna teks utama */
    border-color: #02a859;
    /* Warna border */
}

.pagination .page-link:hover {
    background-color: #02a859;
    color: #fff;
}

.pagination .active .page-link {
    background-color: #02a859;
    border-color: #02a859;
    color: #fff;
}
/* ===== End Berita All ===== */

/* ===== Berita Kategori ===== */
.card-title a:hover {
    color: #198754;
    /* Bootstrap success */
    text-decoration: underline;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
}

.pagination .page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}
/* ===== End Berita Kategori ===== */
    /* ===== Opd ==== */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* ==== HEADER ==== */
    .page-header {
        background: linear-gradient(135deg, #f8fafc, #ffffff);
        padding: 60px 0;
        text-align: center;
        border-bottom: 1px solid #e5e7eb;
    }

    .page-header h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #1e293b;
        /* slate-800 */
    }

    .page-header p {
        font-size: 18px;
        color: #64748b;
        /* slate-500 */
    }

    /* ==== SEARCH ==== */
    .search-area {
        background: #f8fafc;
        padding: 30px 0;
    }

    .search-wrapper {
        position: relative;
        max-width: 480px;
        margin: 0 auto;
    }

    .search-wrapper input {
        width: 100%;
        padding: 14px 48px 14px 20px;
        border: 1px solid #e2e8f0;
        border-radius: 50px;
        font-size: 15px;
        background: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
    }

    .search-wrapper input:focus {
        outline: none;
        border-color: #02a859;
    }

    .search-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #94a3b8;
    }

    /* ==== CONTENT ==== */
    .main-content {
        padding: 40px 0 60px;
        background: #fff;
    }

    .instansi-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* 4 kolom dalam 1 baris */
        gap: 24px;
    }

    /* ==== CARD ==== */
    .instansi-item {
        background: white;
        border: 1px solid #e2e8f0;
        /* batas luar abu tipis */
        border-radius: 16px;
        padding: 28px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        text-align: center;
    }


    .instansi-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .instansi-logo {
        width: 160px;
        /* dari 120px jadi 160px */
        height: 160px;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto 20px auto;
        border: 2px solid #e2e8f0;
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        /* biar lebih modern */
    }

    .instansi-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* biar nggak kepotong */
        padding: 12px;
        /* kasih sedikit ruang */
    }


    .instansi-info h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #1e293b;
        line-height: 1.4;
    }

    .pimpinan {
        color: #64748b;
        font-size: 15px;
        margin-bottom: 14px;
    }

    .website-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #02a859;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        padding: 8px 16px;
        border: 1px solid #02a859;
        border-radius: 30px;
        transition: all 0.25s ease;
    }

    .website-link:hover {
        background: #02a859;
        color: white;
    }


    /* ==== NO DATA ==== */
    .no-data {
        text-align: center;
        padding: 60px 20px;
        color: #6c757d;
    }

    .hidden {
        display: none !important;
    }

    /* ==== RESPONSIVE ==== */
    @media (max-width: 768px) {
        .page-header {
            padding: 40px 0;
        }

        .page-header h1 {
            font-size: 26px;
        }

        .instansi-list {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .instansi-item {
            padding: 18px;
        }
    }

    @media (max-width: 480px) {
        .container {
            padding: 0 16px;
        }

        .page-header {
            padding: 30px 0;
        }

        .search-area {
            padding: 20px 0;
        }

        .main-content {
            padding: 30px 0 50px;
        }
    }
    /* ==== End OPD ==== */

    /* ==== Sinar ==== */
    /* ==== SECTION ==== */
.sinar-section {
    background: #f8fafc;
    min-height: 100vh;
}

/* ==== HERO ==== */
.sinar-hero {
    padding: 50px 0 30px;
    text-align: center;
}

.sinar-hero-badge {
    display: inline-block;
    background: #02a859;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
    color: white;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sinar-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.sinar-hero-subtitle {
    font-size: 1rem;
    color: #64748b;
}

/* ==== CONTENT ==== */
.sinar-content {
    padding: 40px 0;
}

/* ==== SEARCH ==== */
.sinar-search {
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sinar-search input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    outline: none;
    transition: border 0.2s ease;
}

.sinar-search input:focus {
    border-color: #02a859;
}

/* ==== GRID ==== */
.sinar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* ==== CARD ==== */
.sinar-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.2s ease;
    text-align: center;
    padding: 20px 16px;
}

.sinar-card:hover {
    border-color: #02a859;
    transform: translateY(-4px);
}

/* ==== IMAGE ==== */
.sinar-image-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 14px auto;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.sinar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==== TEXT ==== */
.sinar-pimpinan-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
    color: #1e293b;
}

.sinar-pimpinan-role {
    font-size: 12px;
    font-weight: 500;
    color: #02a859;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sinar-instansi-name {
    color: #64748b;
    font-size: 0.9rem;
    margin: 8px 0 12px;
}

/* ==== BUTTON ==== */
.sinar-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #02a859;
    color: #02a859;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sinar-btn:hover {
    background: #02a859;
    color: white;
}

/* ==== NO RESULTS ==== */
.sinar-no-results {
    text-align: center;
    padding: 50px 0;
    color: #64748b;
}

/* ==== KECAMATAN ==== */
.sinar-kecamatan {
    padding: 30px 0 10px;
    margin-top: 30px;
}

.sinar-kecamatan-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid #02a859;
}

/* ==== RESPONSIVE ==== */
@media(max-width:768px) {
    .sinar-grid {
        grid-template-columns: 1fr;
    }
}

    /* ==== End Sinar ==== */

    /* ==== Pengaduan ==== */
    .pengaduan-page {
        background-color: #f1f3f5;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .pengaduan-title {
        color: #02a859 !important;
    }

    .pengaduan-subtitle {
        font-size: 0.95rem;
        color: #6c757d;
    }

    .pengaduan-step-progress {
        display: flex;
        align-items: center;
    }

    .pengaduan-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .pengaduan-step-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #e9ecef;
        color: #6c757d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }

    .pengaduan-step.active .pengaduan-step-circle {
        background-color: #02a859;
        color: white;
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
    }

    .pengaduan-step-label {
        font-size: 0.875rem;
        color: #6c757d;
        font-weight: 500;
    }

    .pengaduan-step.active .pengaduan-step-label {
        color: #02a859;
        font-weight: 600;
    }

    .pengaduan-step-connector {
        width: 80px;
        height: 2px;
        background-color: #e9ecef;
        margin: 0 10px;
    }

    .form-control {
        border-radius: 8px;
        padding: 10px 15px;
        border: 1px solid #dee2e6;
        transition: all 0.3s;
    }

    .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
    }

    .btn {
        border-radius: 8px;
        padding: 10px 20px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .btn-primary {
        background-color: #02a859 !important;
        border-color: #02a859 !important;
    }

    .btn-primary:hover {
        background-color: #02a859 !important;
        border-color: #02a859 !important;
    }

    .btn-outline-secondary:hover {
        background-color: #f8f9fa;
        color: #02a859;
    }

    .btn-outline-secondary:hover i {
        color: #02a859 !important;
    }
    /* ==== End Pengaduan ==== */

    /* ==== Kepuasan Publik */
       /* Main Styles */
       .aspirasi-page {
        min-height: 100vh;
        background: #f1f3f5;
        position: relative;
        overflow-x: hidden;
    }

    .aspirasi-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
        opacity: 0.5;
    }

    /* Hero Section */
    .aspirasi-hero {
        padding: 10px 0 10px;
        position: relative;
        z-index: 2;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }



    .aspirasi-title {
        font-size: 3rem;
        font-weight: 700;
        color: #02a859 !important;
        margin-bottom: 16px;
        line-height: 1.2;
    }
    

    .hero-subtitle {
        font-size: 1.1rem;
        color: rgba(0, 0, 0, 0.9);
        line-height: 1.6;
        margin: 0;
    }

    /* Form Section */
    .form-section {
        position: relative;
        z-index: 2;
        padding: 0 0 80px;
        margin-top: -40px;
    }

    .form-container {
        max-width: 800px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
    }

    .form-header {
        background: white;
        padding: 40px 40px 30px;
        text-align: center;
        border-bottom: 1px solid #e2e8f0;
    }

    .form-header h2 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 12px;
    }

    .form-header p {
        color: #64748b;
        line-height: 1.6;
        margin: 0;
    }

    /* Modern Form */
    .modern-form {
        padding: 40px;
    }

    /* Progress Bar */
    .progress-container {
        margin-bottom: 40px;
    }

    .progress-bar {
        height: 6px;
        background: #e2e8f0;
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #02a859, #00c851);
        border-radius: 3px;
        transition: width 0.3s ease;
        width: 33.33%;
    }

    .progress-text {
        text-align: center;
        color: #64748b;
        font-size: 14px;
        font-weight: 500;
    }

    /* Form Steps */
    .form-step {
        display: none;
    }

    .form-step.active {
        display: block;
        animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .step-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 32px;
        padding-bottom: 20px;
        border-bottom: 2px solid #f1f5f9;
    }

    .step-number {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #02a859, #00c851);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        flex-shrink: 0;
    }

    .step-header h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin: 0;
    }

    /* Form Groups */
    .form-group {
        margin-bottom: 32px;
    }

    .form-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 12px;
        font-size: 15px;
    }

    .label-icon {
        width: 18px;
        height: 18px;
        color: #02a859;
    }

    .required {
        color: #ef4444;
    }

    .form-control {
        width: 100%;
        padding: 16px 20px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 15px;
        background: white;
        transition: all 0.3s ease;
    }

    .form-control:focus {
        outline: none;
        border-color: #02a859;
        box-shadow: 0 0 0 3px rgba(2, 168, 89, 0.1);
    }

    .character-count {
        text-align: right;
        font-size: 12px;
        color: #9ca3af;
        margin-top: 8px;
    }

    /* Email Toggle */
    .email-toggle {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
        background: #f8fafc;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .toggle-switch {
        position: relative;
        width: 50px;
        height: 26px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #cbd5e1;
        transition: .3s;
        border-radius: 26px;
    }

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background: white;
        transition: .3s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .toggle-switch input:checked+.toggle-slider {
        background: #02a859;
    }

    .toggle-switch input:checked+.toggle-slider:before {
        transform: translateX(24px);
    }

    .toggle-content h4 {
        font-size: 15px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 4px;
    }

    .toggle-content p {
        font-size: 13px;
        color: #6b7280;
        margin: 0;
        line-height: 1.4;
    }

    .email-field {
        margin-top: 16px;
    }

    /* Satisfaction Rating */
    .satisfaction-rating {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
        margin-top: 20px;
    }

    .rating-option {
        cursor: pointer;
    }

    .rating-option input {
        display: none;
    }

    .rating-card {
        text-align: center;
        padding: 20px 12px;
        border: 2px solid #e2e8f0;
        border-radius: 16px;
        transition: all 0.3s ease;
        background: white;
    }

    .rating-card:hover {
        border-color: #02a859;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(2, 168, 89, 0.15);
    }

    .rating-option input:checked+.rating-card {
        border-color: #02a859;
        background: linear-gradient(135deg, #02a859, #00c851);
        color: white;
        transform: scale(1.05);
    }

    .rating-emoji {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .rating-label {
        font-size: 13px;
        font-weight: 500;
    }

    /* Radio Group */
    .radio-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        margin-top: 16px;
    }

    .radio-option {
        cursor: pointer;
    }

    .radio-option input {
        display: none;
    }

    .radio-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: white;
    }

    .radio-card:hover {
        border-color: #02a859;
        background: #f0fdf4;
    }

    .radio-option input:checked+.radio-card {
        border-color: #02a859;
        background: #f0fdf4;
    }

    .radio-icon {
        font-size: 20px;
    }

    /* Navigation Buttons */
    .form-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 40px;
        padding-top: 32px;
        border-top: 1px solid #e2e8f0;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    .btn-secondary {
        background: #f1f5f9;
        color: #475569;
    }

    .btn-secondary:hover {
        background: #e2e8f0;
        transform: translateY(-2px);
    }

    .btn-primary {
        background: linear-gradient(135deg, #02a859, #00c851);
        color: white;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(2, 168, 89, 0.3);
    }

    .btn-success {
        background: linear-gradient(135deg, #02a859, #00c851);
        color: white;
    }

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(2, 168, 89, 0.3);
    }

    /* Success Modal */
    .success-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        backdrop-filter: blur(4px);
    }

    .success-content {
        background: white;
        padding: 40px;
        border-radius: 20px;
        text-align: center;
        max-width: 400px;
        margin: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .success-icon {
        width: 80px;
        height: 80px;
        background: #02a859;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
    }

    .success-icon svg {
        width: 36px;
        height: 36px;
        color: white;
    }

    .success-content h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 12px;
    }

    .success-content p {
        color: #64748b;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.2rem;
        }

        .hero-subtitle {
            font-size: 1rem;
        }

        .form-container {
            margin: 20px;
            border-radius: 16px;
        }

        .form-header,
        .modern-form {
            padding: 24px;
        }

        .satisfaction-rating {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 12px;
        }

        .radio-group {
            grid-template-columns: 1fr;
        }

        .step-header {
            flex-direction: column;
            text-align: center;
            gap: 12px;
        }

        .form-navigation {
            flex-direction: column;
            gap: 12px;
        }

        .form-navigation .btn {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .aspirasi-hero {
            padding: 60px 0 40px;
        }

        .hero-title {
            font-size: 1.8rem;
        }

        .satisfaction-rating {
            grid-template-columns: repeat(2, 1fr);
        }

        .email-toggle {
            flex-direction: column;
            gap: 12px;
        }
    }
    /* ==== End Kepuasan Publik ==== */