/* =========================================
   1. Reset & Base Styles DPRD
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
}

#userwayAccessibilityIcon {
    top: 350px !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =========================================
   2. CSS Variables
========================================= */
:root {
    --primary: #C9A227;
    --primary-light: #C9A227;
    --primary-dark: #C9A227;
    --white: #ffffff;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius: 0.5rem;
    --radius-lg: 0.75rem;
}

/* =========================================
   3. Animations
========================================= */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-down {
    animation: slideDown 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.logo-shine {
    position: relative;
    overflow: hidden;
}

.logo-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.logo-shine:hover::after {
    transform: translateX(100%);
}

.animate-shine {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 70%);
    background-size: 200% auto;
    filter: blur(10px);
}

/* =========================================
   4. Topbar
========================================= */
.topbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem 0;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-section img {
    width: 4.5rem;
    /* atau 4rem */
    height: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1px;
}

.logo-text p {
    font-size: 0.85rem;
    color: #C9A227;
    ;
    margin: 0;
}


/* Search */

.search-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* Geser ke kiri */
    align-items: center;
    padding-left: 1rem;
    /* Tambah jarak kiri biar gak mepet */
}

.search-container {
    width: 100%;
    max-width: 28rem;
    /* Lebarkan dari 28rem ke 36rem */
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    background-color: var(--gray-50);
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-input:focus {
    background-color: var(--white);
    border-color: #C9A227;
    ;
    outline: none;
    box-shadow: 0 15px 40px #FFD70033;
}


.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #C9A227;
    ;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.search-button:hover {
    color: #C9A227;
    ;
}

/* Popular Tags */
.search-section .popular-tags {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    display: flex;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-start;
    width: 100%;
}

.popular-tags .font-medium {
    font-weight: 700;
}

.tag-link {
    color: var(--gray-500);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}

.tag-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .search-section {
        justify-content: center;
        padding-left: 0;
    }

    .search-container {
        max-width: 100%;
    }
}

/* Kontak Layanan */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

/* 🔹 Wrapper tombol-tombol kontak */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-top: -1.5rem;
    /* ⬆️ geser sedikit ke atas */
}

/* 🔹 Tombol utama — versi ramping */
.contact-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #C9A227;
    ;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    box-shadow: 0 15px 40px #FFD70033;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    min-width: 165px;
    position: relative;
    top: -1px;
    /* ⬆️ tambahan micro adjustment */
}

.contact-button:hover {
    background-color: #f0f6ff;
    border-color: #C9A227;
    ;
    transform: translateY(-1px);
    box-shadow: 0 15px 40px #FFD70033;

}

/* 🔹 Ikon lingkaran kecil */
.icon-circle {
    width: 26px;
    height: 26px;
    background-color: #C9A227;
    ;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* 🔹 Teks info */
.contact-text h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #C9A227;
    ;
    line-height: 1;
}

.contact-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #555;
    line-height: 1.2;
}

/* =========================================
   5. Header (Navbar)
========================================= */

.nav {
    display: flex;
    align-items: center;
    /* sejajarkan semua item di tengah */
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    /* biar isi dalam li (termasuk tombol login) sejajar */
}

.header {
    background: linear-gradient(to right, #ffffff, #f9f9f9);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #C9A227;
    ;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #C9A227;
    ;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C9A227;
    ;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    /* ✅ Turun sedikit (6px) dari menu utama */
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    min-width: 12rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 100;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}


/* Dropdown Item */
.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:hover {
    color: #C9A227;
    ;
    background-color: var(--gray-50);
}

.dropdown-item::after {
    content: "";
    position: absolute;
    left: 1rem;
    bottom: 0.5rem;
    width: 0;
    height: 2px;
    background: #C9A227;
    ;
    transition: width 0.3s ease;
}

.dropdown-item:hover::after {
    width: calc(100% - 2rem);
}

/* Submenu Level 2 */
.dropdown-submenu {
    position: relative;
    /* agar child absolute mengacu ke parent */
}

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    /* sejajar dengan parent menu */
    left: 100%;
    /* muncul di samping kanan */
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    min-width: 12rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 200;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}



/* Login Button */
.login-button {
    padding: 0.5rem 1rem;
    background-color: #C9A227;
    ;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.login-button:hover {
    background-color: #C9A227;
    ;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =============================
   Mobile Navigation
============================= */

.mobile-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Jarak antara ikon dan teks */
    padding: 10px 14px;
    margin-top: 12px;
    width: 100%;
    /* Biar penuh di lebar menu */
    background-color: #C9A227;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-login-button:hover {
    background-color: #C9A227;
    ;
    transform: translateY(-2px);
}

.mobile-login-button i {
    font-size: 1rem;
}


.mobile-menu-button {
    display: none;
    background: none;
    border: none;
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 15px;
}

.mobile-menu.d-block {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
}

/* Dropdowns in mobile */
.mobile-dropdown summary {
    cursor: pointer;
    font-weight: 600;
    color: #C9A227;
    ;
    list-style: none;
}

.mobile-dropdown-content,
.mobile-subdropdown-content {
    padding-left: 15px;
    margin-top: 8px;
}

.mobile-dropdown-item,
.mobile-subdropdown-item {
    display: block;
    padding: 6px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        font-size: 1.4rem;
        color: #C9A227;
        ;
    }

    .logo-section img {
        height: 45px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }
}


/* =========================================
   Responsive
========================================= */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .mobile-menu-button,
    .mobile-menu {
        display: none;
    }
}

/* =========================================
   8. Hero
========================================= */
.hero-title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    color: white;
}

.item-slider-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000005b;
    /* warna biru */
    opacity: 0.6;
    /* ubah sesuai keinginan */
}

.hero-title h1 {
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.hero-header {
    text-align: center;
    margin-bottom: 60px;
}



.gold-text {
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-title h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

.hero-subtitle p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
}



/* Social button kiri: radius hanya kanan */
.social-btn-left {
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.social-btn-left:hover {
    background: #C9A227;
    ;
    color: var(--white);
    transform: translateX(5px);
}

/* Widget kanan: radius hanya kiri */
.widget-card-right {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: var(--white);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    position: relative;
    cursor: pointer;
    overflow: visible;
    transition: background 0.3s ease;
}

.widget-card-right i {
    width: 45px;
    font-size: 18px;
    text-align: center;
}

.widget-card-right span {
    position: absolute;
    right: 50px;
    opacity: 0;
    white-space: nowrap;
    background: #C9A227;
    ;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: opacity 0.3s ease, right 0.3s ease;
    pointer-events: none;
}

.widget-card-right .tooltip-arrow {
    position: absolute;
    right: 40px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #C9A227;
    ;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

.widget-card-right:hover {
    background: #C9A227;
    ;
}

.widget-card-right:hover span {
    opacity: 1;
    right: 60px;
}

.widget-card-right:hover .tooltip-arrow {
    opacity: 1;
    right: 55px;
}


/* 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;
    }
}



.social-icons {
    position: absolute;
    /* 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: #C9A227;
    ;
    ;
    /* hijau elegan pas hover */
    color: #fff;
    transform: translateX(5px);
    /* animasi geser dikit pas hover */
}

.hero-widgets {
    position: absolute;
    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: #C9A227;
    ;
    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 #C9A227;
    ;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

/* Hover: teks & panah muncul */
.hero-widgets .widget-card:hover {
    background: #C9A227;
    ;
}

.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
***********************/


/*********************
* Css Beranda
**********************/
/* === Css Waves === */
.custom-curved-wrapper {
    position: relative;
    width: 100%;
    margin-top: -80px;
    /* 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;
}

/* === Css Waves === */

/* === Layanan Publik - Modern & Clean === */
.services-container {
    background: #f8fbff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.services-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: radial-gradient(#030F68 0.5px, transparent 0.5px), radial-gradient(#030F68 0.5px, #f8fbff 0.5px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    opacity: 0.04;
    pointer-events: none;
}

/* Section Title */
.lp-section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.lp-section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #C9A227;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.lp-section-title h2 span {
    color: #C9A227;
}

.lp-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #B8961E, #C9A227);

    border-radius: 2px;
}

.lp-section-title p {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Card Container */
.lp-service-category {
    height: 100%;
    perspective: 1000px;
}

.lp-service-category a {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* Service Card - Modern Design */
.lp-service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    min-height: 320px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
}

/* Hover Effects */
.lp-service-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
    border-color: rgba(201, 162, 39, 0.6);
}

/* Top Gradient Line */
.lp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
  background: linear-gradient(90deg, #B8961E, #C9A227);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.lp-service-card:hover::before {
    transform: scaleX(1);
}


/* Icon Box */
.lp-service-icon {
    width: 65px;
    height: 65px;
    background: rgba(201, 162, 39, 0.08); /* emas soft */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    color: #C9A227;
    font-size: 1.8rem;
    border: 1px solid rgba(201, 162, 39, 0.25);
    position: relative;
}


.lp-service-card:hover .lp-service-icon {
    background: #C9A227;
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: none;
    border-color: transparent;
}

.lp-service-icon i {
    transition: transform 0.4s ease;
}

.lp-service-card:hover .lp-service-icon i {
    transform: scale(1.1);
}

/* Title */
.lp-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.lp-service-card:hover .lp-service-title {
    color: #C9A227;
}

/* Description */
.lp-service-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Button */
.lp-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #C9A227;
    margin-top: auto;
    transition: all 0.3s ease;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.lp-service-btn i {
    transition: transform 0.3s ease;
    background: rgba(0, 119, 182, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    margin-left: auto;
}

.lp-service-card:hover .lp-service-btn {
    color: #C9A227;
    border-color: none;
}

.lp-service-card:hover .lp-service-btn i {
    transform: translateX(5px);
    background: #C9A227;
    color: #ffffff;

}

/* Responsive */
@media (max-width: 768px) {
    .lp-section-title h2 {
        font-size: 2rem;
    }

    .lp-service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
}

/* === End Layanan Publik === */

/* ===== Pelayanan Disdukcapil ===== */
.disdukcapil-section-bg {
    background: linear-gradient(135deg,
            #8C6B03 0%,
            #C8A951 50%,
            #E0C879 100%);





    padding: 60px 0;
    margin: 40px 0;
}


.disdukcapil-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.disdukcapil-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.disdukcapil-highlight {
    color: #ffd700;
}

.disdukcapil-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.disdukcapil-scroll-wrapper {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.disdukcapil-text-card {
    min-width: 350px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.disdukcapil-text-card p {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 5px 0;
    color: #ffffff;
}

.disdukcapil-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    flex: 1;
}

.disdukcapil-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.disdukcapil-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.disdukcapil-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.disdukcapil-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.disdukcapil-card {
    min-width: 320px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.disdukcapil-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 223, 88, 0.22);
}

.disdukcapil-icon {
    width: 70px;
    height: 70px;
    background: #C9A227;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.45);
}


.disdukcapil-icon i {
    font-size: 32px;
    color: white;
}

.disdukcapil-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #C9A227;
    margin-bottom: 15px;
}


.disdukcapil-card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.disdukcapil-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg,
            #BFA046,
            #D4BA6A,
            #E6D69A);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.disdukcapil-card-button:hover {
    background: linear-gradient(135deg,
            #BFA046,
            #D4BA6A,
            #E6D69A);
    gap: 15px;
}



.scroll-indicator {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(5px);
    }
}

@media (max-width: 1024px) {
    .disdukcapil-scroll-wrapper {
        flex-direction: column;
    }

    .disdukcapil-text-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .disdukcapil-title {
        font-size: 2rem;
    }

    .disdukcapil-description {
        font-size: 1rem;
    }

    .disdukcapil-card {
        min-width: 280px;
    }

    .disdukcapil-text-card h3 {
        font-size: 1.5rem;
    }

    .disdukcapil-text-card p {
        font-size: 0.95rem;
    }
}

/* ===== End Pelayanan Disdukcapil ===== */

/* === Berita === */
.berita-section-bg {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.box-effect {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

/* ===== Nav Tabs ===== */
.nav-tabs .nav-link {
    color: inherit;
    transition: color 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link.active {
    color: #C9A227;
    ;
    font-weight: 600;
}

.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #C9A227;
    ;
    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(255, 215, 0, 0.6);
    border-radius: 50%;
    top: 45%;
    transform: translateY(-50%);
}

#beritaCarousel .carousel-control-prev:hover,
#beritaCarousel .carousel-control-next:hover {
    background-color: #C9A227;
    ;
}

/* ===== 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 {
    color: #000;
    /* warna normal */
    transition: color 0.3s ease, transform 0.2s ease;
}

.berita-item:hover h6 {
    color: #C9A227;
    transform: translateX(3px);
}


.berita-item h6 {
    font-weight: 600;
}

.berita-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.no-comments-box {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px dashed #bfc5ca;
    animation: fadeIn 0.5s ease forwards;
}

.no-comments-icon {
    font-size: 45px;
    color: #C9A227;
    ;
    margin-bottom: 15px;
    opacity: 0.8;
}

.no-comments-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #C9A227;
    ;
}

.no-comments-text {
    font-size: 14px;
    color: #6c757d;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Button Group Dokumen ===== */
.btn-group-dokumen {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
}

/* ===== Hover Link ===== */
.hover-link:hover {
    color: #C9A227;
    ;
}

/* ===== 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 ===== */
/* === End Berita === */


/* === Agenda dan galeri === */
/* Scoped styling */
/* === Agenda & galeri (Final Clean) === */
/* === GALERI KEGIATAN CLEAN VERSION === */

/* Body */
.gallery-body {
    padding: 2rem;
}

/* Album Card Modern */
.album-card-modern {
    max-width: 600px;
    margin: 0 auto;
}

.album-link {
    display: block;
    text-decoration: none;
}

/* Image */
.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f3f4f6;
}

.album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-link:hover .album-image {
    transform: scale(1.08);
}

/* Overlay */
.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            #BFA046,
            #D4BA6A,
            #E6D69A);


    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.album-link:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.album-link:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.overlay-content span {
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

/* Photo Badge */
.photo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #C9A227;
    ;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Album Info */
.album-info {
    margin-top: 1.5rem;
    text-align: center;
}

.date-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #C9A227;
    ;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.album-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0.75rem 0 1rem;
    line-height: 1.5;
}

.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #C9A227;
    ;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.detail-link:hover {
    color: #C9A227;
    gap: 0.7rem;
}

.detail-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.detail-link:hover i {
    transform: translateX(3px);
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: #C9A227;
    color: #C9A227;
    background: #ecfdf5;
    transform: translateY(-2px);
}

/* Dots */
.carousel-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    background: #C9A227;
}

.dot:hover:not(.active) {
    background: #C9A227;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-body {
        padding: 1.5rem;
    }

    .image-container {
        aspect-ratio: 4/3;
    }

    .album-title {
        font-size: 1.1rem;
    }
}

/* Scope section */
.agenda-pejabat-section .card-body {
    padding: 1rem !important;
}

.agenda-pejabat-section .bg-primary {
    background-color: #C9A227 !important;
}

.agenda-pejabat-section .text-primary {
    color: #C9A227 !important;
}

.agenda-pejabat-section .border-primary {
    border-color: #C9A227 !important;
}

.agenda-pejabat-section .btn-primary {
    background-color: #C9A227 !important;
    border-color: #C9A227 !important;
    transition: all 0.2s ease-in-out;
}

.agenda-pejabat-section .btn-primary:hover {
    background-color: #C9A227 !important;
    border-color: #C9A227 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25) !important;
    transform: translateY(-1px);
}

.agenda-pejabat-section .object-fit-cover {
    object-fit: cover;
    object-position: center top;
}

.agenda-pejabat-section .min-w-0 {
    min-width: 0;
}

.agenda-pejabat-section .card {
    transition: all 0.2s ease-in-out;
}

.agenda-pejabat-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 215, 0, 0.15) !important;
}

.agenda-pejabat-section .modern-position-badge {
    background: rgba(255, 215, 0, 0.25) !important;
    transition: all 0.3s ease;
}

.agenda-pejabat-section .modern-position-badge:hover {
    background: rgba(255, 215, 0, 0.25) !important;
    transform: scale(1.02);
}

/* === Agenda === */
.agenda-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: #fff;
}

.agenda-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.12);
}

.agenda-card .card-header {
    border: none;
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    color: #fff;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* Prioritas */
.priority-high {
    border-left: 4px solid #ef4444;
}

.priority-medium {
    border-left: 4px solid #f59e0b;
}

.priority-low {
    border-left: 4px solid #C9A227;
    ;
}

/* Badge status */
.status-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Calendar === */
.calendar-day {
    min-width: 50px;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 5px;
    text-align: center;
}

.calendar-day:hover {
    background-color: rgba(255, 215, 0, 0.25);
    color: #C9A227 !important;
}


.calendar-day.active {
    background: #C9A227;
    ;
    color: #fff !important;
    border-radius: 10%;
}

.calendar-day.active p {
    color: #fff !important;
}

.calendar-day.active .dot {
    background-color: #ffc107;
}

.calendar-day .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    margin: 0 auto 4px;
    transition: all 0.3s ease;
}

/* Hari Minggu */
.minggu-merah p {
    color: #d00 !important;
}

/* Responsive */
@media (max-width: 992px) {
    .agenda-pejabat-section .card-header .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .agenda-pejabat-section .card-header .d-flex>div:first-child {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* === End Agenda dan Pejabat */

/* === PPID === */
/* PPID section */
.ppid-section-bg {
    background: linear-gradient(135deg,
            #BFA046,
            #D4BA6A,
            #E6D69A);

    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}


.ppid-container {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.ppid-section {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ppid-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.ppid-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}



.ppid-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.125rem;
    color: #ffffff;
    line-height: 1.7;
    font-weight: 400;
}

.ppid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.ppid-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    height: 100%;

    /* ANIMASI MASUK */
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: modernFadeIn 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;

    /* TRANSISI */
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* GARIS ANIMASI DI ATAS */
.ppid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}


.ppid-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 18px 35px rgba(201, 162, 39, 0.28);
    border-color: rgba(201, 162, 39, 0.55);
}


/* HOVER EFEK MODERN */

/* ANIMASI MASUK */
@keyframes modernFadeIn {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(10px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.ppid-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #C9A227;
    ;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.ppid-card:hover .ppid-icon {
    transform: scale(1.1);
}

.ppid-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    border-radius: 22px;
    opacity: 0.25;
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.ppid-card:hover .ppid-icon::after {
    transform: scale(1);
}

.ppid-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #C9A227;
    ;
    margin-bottom: 16px;
    line-height: 1.3;
}


.ppid-card-description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.ppid-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg,
            #BFA046,
            #D4BA6A,
            #E6D69A);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ppid-card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.ppid-card-button:hover::before {
    left: 100%;
}

.ppid-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.35);
}

.ppid-card-button i {
    transition: transform 0.3s ease;
}

.ppid-card-button:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .ppid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ppid-section {
        padding: 60px 0;
    }

    .ppid-title {
        font-size: 2.25rem;
    }

    .ppid-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ppid-card {
        padding: 32px 24px;
    }
}

@media (max-width: 576px) {
    .ppid-title {
        font-size: 1.875rem;
    }

    .ppid-description {
        font-size: 1rem;
    }
}

/* Animation entrance */
.ppid-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ppid-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ppid-card:nth-child(3) {
    animation-delay: 0.3s;
}

.ppid-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes ppidFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === End PPID === */


/* ===== Tombol "Lihat Semua" ===== */
.btn.btn-lihat-semua {
    color: #C9A227;
    ;
    border: 1px solid #C9A227;
    ;
    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: #C9A227;
    ;
    color: #ffffff;
    border: 1px solid #C9A227;
    ;
}

/*********************
* Css Beranda
**********************/

/*********************
* Css Page
**********************/
/* === Page Card */
.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 Page Card */
/*********************
* End Css Page
**********************/

/*********************
* Css Agenda
**********************/

/* === Text kominfo === */
.text-kominfo {
    color: #C9A227 !important;
    border-color: #C9A227 !important;
}

/* === End  Text Kominfo*/

/* === Pagination */
.pagination .page-link {
    color: #C9A227;
    ;
    /* Warna teks utama */
    border-color: #C9A227;
    ;
    /* Warna border */
}

.pagination .page-link:hover {
    background-color: #C9A227;
    ;
    color: #fff;
}

.pagination .active .page-link {
    background-color: #C9A227;
    ;
    border-color: #C9A227;
    ;
    color: #fff;
}

.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(255, 215, 0, 0.25);
    background-color: #f9f9f9;
}

/* === End Pagination */

/*********************
* Css Agenda
**********************/

/*********************
* Css Berita All
**********************/
.object-fit-cover {
    object-fit: cover;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(255, 215, 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;
}

/*********************
* Css End Berita All
**********************/

/*********************
* Css Berita Show
**********************/
.news-details-socials a {
    display: inline-block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    text-align: center;
    background-color: var(--thm-light-bg);
    color: var(--thm-black);
    transition: 0.3s;
}

.news-details-socials a:hover {
    background: #C9A227;
    ;
    color: #fff;
}

.news-details-socials a i {
    font-size: 20px;
    transition: 0.3s;
}

.btn-kominfo {
    background: #C9A227 !important;
    color: #fff !important;
}

.btn-kominfo:hover {
    background: #C9A227 !important;
}

.comments-title {
    font-size: 1.25rem;
    font-weight: 600;
    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;
}

.comment-text {
    margin: 0.25rem 0 0.5rem;
    line-height: 1.4;
}

.form-control {
    border: 2px solid #C9A227;
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: #C9A227;
    ;
    outline: none;
}

/*********************
* Css End Berita Show
**********************/

/*********************
* Css Album
**********************/
:root {
    --primary: #C9A227;
    ;
    --primary-light: #C9A227;
    ;
    --accent-blue: #0ea5e9;
    --text-primary: #616469;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-light: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}


/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.text-accent {
    color: #93c5fd;
}

.page-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
}

.header-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

/* Modern Breadcrumb */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    margin: 0 0.75rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #C9A227;
    ;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Info Banner */
.info-banner {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.banner-text {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 1rem;
}

.banner-stats {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #C9A227;
    ;
    color: white;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Album Cards */
.album-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #C9A227;
    ;
}

.album-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.thumbnail-link {
    display: block;
    width: 100%;
    height: 100%;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);



    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-card:hover .thumbnail-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-icon {
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.photo-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.album-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.title-link:hover {
    color: #C9A227;
    ;
}

.album-meta {
    margin-top: auto;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    max-width: 500px;
    margin: 0 auto;
}

.empty-illustration {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.empty-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .header-stats {
        margin-top: 2rem;
    }

    .info-banner {
        padding: 1.5rem;
    }

    .banner-stats {
        margin-top: 1.5rem;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }

    .breadcrumb-modern {
        padding: 0.75rem 1rem;
    }

    .album-content {
        padding: 1rem;
    }
}

/*********************
* End Css Album
**********************/

/*********************
* 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: 100px;
    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: #C9A227 !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: 20px;
}

.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: #C9A227;
    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: #C9A227;
    ;
    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: #C9A227;
    ;
    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: #C9A227;
    ;
}

.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: #C9A227;
    ;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}


.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(255, 215, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background: #C9A227;
    ;
}

.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: #C9A227;
    ;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
    /* biru glow */
    transition: all 0.3s ease;
    /* biar smooth */
}

.rating-option input:checked+.rating-card {
    border-color: #C9A227;
    ;
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    /* gradasi gold */
    color: white;
    transform: scale(1.05);
    transition: all 0.3s ease;
}



.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: #C9A227;
    ;
    background: #f0fdf4;
}

.radio-option input:checked+.radio-card {
    border-color: #C9A227;
    ;
    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,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-success {
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    color: white;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}


/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 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(255, 215, 0, 0.3);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #C9A227;
    ;
    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: #C9A227;
    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
**********************/

/*********************
* Survey IKM
**********************/
/* Step Progress */
.step-progress {
    display: flex;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.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;
}

.step.active .step-circle {
    background-color: #C9A227;
    ;
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.25);
}


.step-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.step.active .step-label {
    color: #C9A227;
    ;
    font-weight: 600;
}

.step-connector {
    width: 80px;
    height: 2px;
    background-color: #e9ecef;
    margin: 0 10px;
}

/* Form Elements */
.form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #C9A227;
    ;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
}

.card-option {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
}

.card-option:hover {
    border-color: #C9A227;
    ;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.2em;
}

.form-check-input:checked {
    background-color: #C9A227;
    border-color: #C9A227;
}

/* Rating Options */
.rating-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #C9A227 !important;
    border-color: #C9A227 !important;
}

.btn-primary:hover {
    background-color: #C9A227 !important;
    border-color: #C9A227 !important;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
}

/* Card Styling */
.card {
    border-radius: 12px;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/*********************
* End Survey IKM
**********************/


/***********************
* Css Footer
***********************/
.footer-widget a {
    text-decoration: none !important;
    color: inherit;
    /* biar warnanya ikut teks default/footer */
}

.footer-widget a:hover {
    color: #C9A227 !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: #C9A227;
    ;
    border: 1px solid #C9A227;
    ;
    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: #C9A227 !important;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: left 20px bottom 0px;
}

.footer-container {

    background-color: #C9A227;
    ;
    color: #ffffff;

    padding: 1.5rem 0;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.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, 215, 0, 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
***********************/

/* Button Pengumuman */
.btn-custom-lihat {
    --warna-biru: #C9A227;
    --warna-biru-2: #C9A227;
    color: white;
    background-color: var(--warna-biru);
    border-color: var(--warna-biru);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-custom-lihat:hover {
    color: #fff;
    background-color: var(--warna-biru-2);
    border-color: var(--warna-biru-2);
}

.btn-custom-unduh {
    --warna-hijau: #C9A227;
    ;
    color: #fff;
    background-color: var(--warna-hijau);
    border-color: var(--warna-hijau);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-custom-unduh:hover {
    background-color: #C9A227;
    ;
    border-color: #C9A227;
    ;
    color: #fff;
}

.d-flex.gap-2 {
    gap: 0.5rem;
}

/* Statistik */
.disdik-footer-stats {
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(255, 215, 0, 0.1);
}

.disdik-footer-stats-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.15rem;
}

.disdik-footer-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.disdik-footer-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 215, 0, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
}

.disdik-footer-stat-item:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.disdik-footer-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #C9A227;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.disdik-footer-stat-content {
    display: flex;
    flex-direction: column;
}

.disdik-footer-stat-value {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.disdik-footer-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Bottom */
.disdik-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, 215, 0, 0.1);
    color: #fff;
}

.disdik-footer-copy,
.disdik-footer-dev {
    font-size: 0.85rem;
}

.list-unstyled li a {
    color: #ddd !important;
    /* warna default */
    transition: 0.3s;
}

.list-unstyled li a:hover {
    color: #fff !important;
    /* putih saat hover */
}




/* Responsive */
@media (max-width: 1200px) {
    .disdik-footer-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .disdik-footer-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .disdik-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .disdik-footer-stats-grid {
        grid-template-columns: 1fr;
    }
}


/*********************
* Css Contact Us
**********************/
/* Main Container */
.main-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 20px 15px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.08);
    overflow: hidden;
}

/* Header */
.header-section {
    background: linear-gradient(135deg,
            #BFA046,
            #C9A227,
            #E1C16E,
            #F1E3A0);
    padding: 15px;
    text-align: center;
}

.header-image img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 15px 30px;
    background: #f8f9fa;
    font-size: 14px;
    color: #6c757d;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-section a {
    color: #C9A227;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-section a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 8px;
}

/* Title Section */
.title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: #C9A227;
    margin: 0;
    flex: 1;
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #C9A227;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-admin:hover {
    background: #C9A227;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Statistics Section */
.stats-container {
    padding: 0 30px 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.stat-card-large {
    grid-row: span 2;
}

.stat-card-wide {
    grid-column: span 2;
}

.stat-card-inner {
    padding: 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-content {
    flex: 1;
    z-index: 2;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.stat-icon {
    font-size: 48px;
    opacity: 0.3;
    z-index: 1;
}

/* Form Container */
.form-container {
    padding: 30px;
}

.complaint-form {
    width: 100%;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
    font-size: 16px;
    margin-bottom: 12px;
}

.info-header i {
    font-size: 20px;
}

.info-list {
    list-style: none;
    padding-left: 30px;
    margin: 10px 0;
    color: #856404;
}

.info-list li {
    position: relative;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: -15px;
    font-weight: bold;
}

.info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: #856404;
    font-size: 14px;
}

.info-note i {
    margin-top: 2px;
    font-size: 16px;
}

/* Form Rows and Groups */
.form-row {
    margin-bottom: 25px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #C9A227;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.required {
    color: #dc3545;
    font-size: 16px;
}

.optional {
    color: #C9A227;
    font-weight: 400;
    font-size: 12px;
}

.help-text {
    display: block;
    font-size: 12px;
    color: #C9A227;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #C9A227;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-input.is-invalid {
    border-color: #dc3545;
}

.form-input-file {
    width: 100%;
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-input-file:hover {
    border-color: #C9A227;
    background-color: #f8f9fa;
}

textarea.form-input {
    resize: vertical;
    min-height: 60px;
}

/* Error Messages */
.error-message {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

/* Upload Section */
.upload-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #C9A227;
    margin: 0 0 20px 0;
}

.file-list,
.file-info {
    margin-top: 10px;
}

.file-size-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
    font-weight: 500;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #C9A227;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #C9A227;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.form-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #C9A227;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background: #bfa046;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        border-radius: 0;
    }

    .title-section {
        padding: 20px 20px 15px;
    }

    .page-title {
        font-size: 22px;
    }

    .stats-container {
        padding: 0 20px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card-large,
    .stat-card-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .form-container {
        padding: 20px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .breadcrumb-section {
        padding: 12px 20px;
        font-size: 12px;
    }

    .upload-section {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0;
    }

    .stat-value {
        font-size: 28px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/*********************
* End Css Contact Us
**********************/


/*********************
* Chatbot - Modern & Clean Design
**********************/

/* Chat Button - Floating Action Button */
.chat-button {
    position: fixed;
    top: 310px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            #C9A227 0%,
            #E1C16E 40%,
            #F1E3A0 70%,
            #FFFFFF 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4), 0 4px 12px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1040;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.chat-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A227 0%, #E1C16E 40%, #F1E3A0 70%, #FFFFFF 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chat-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5), 0 6px 16px rgba(255, 215, 0, 0.4);
}

.chat-button:hover::before {
    opacity: 1;
    animation: pulse-ring 1.5s infinite;
}

.chat-button.active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #C9A227 0%, #E1C16E 100%);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Chat Modal - Glassmorphism Design */
.chat-modal {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15),
        0 10px 30px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 1050;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-modal.active {
    display: flex;
}

@keyframes slideUpScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Chat Header - Modern Gradient */
.chat-modal-header {
    background: linear-gradient(135deg, #BFA046, #C9A227, #E1C16E, #F1E3A0);
    color: white;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.chat-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Chat Header Info Wrapper */
.chat-header-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.chat-modal-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 215, 0, 0.18);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    width: fit-content;
}

.chat-status-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    /* hijau */
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: pulseOnline 1.6s infinite ease-in-out;
}

@keyframes pulseOnline {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.chat-modal-close {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.chat-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

/* Chat Messages Area - Clean Background */
.chat-modal-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    background: linear-gradient(to bottom, #f8f9fc 0%, #ffffff 100%);
    position: relative;
}

.chat-modal-messages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(128, 0, 0, 0.03), transparent);
    pointer-events: none;
}

/* Chat Message Bubbles - Modern Design */
.chat-message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    animation: messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-message-content {
    max-width: 78%;
    padding: 14px 18px;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.6;
    font-size: 14.5px;
    white-space: pre-wrap;
    position: relative;
    transition: all 0.3s ease;
}

/* User Message - Gradient Bubble */
.user-message {
    justify-content: flex-end;
}

.user-message .chat-message-content {
    background: linear-gradient(135deg, #BFA046, #C9A227, #E1C16E, #F1E3A0);
    color: white;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3),
        0 2px 6px rgba(160, 0, 0, 0.2);
}

.user-message .chat-message-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid #C9A227;
    border-bottom: 6px solid transparent;
}

/* Assistant Message - Clean White Bubble */
.assistant-message {
    justify-content: flex-start;
}

.assistant-message .chat-message-content {
    background: white;
    color: #1f2937;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(128, 0, 0, 0.08);
}

.assistant-message .chat-message-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    width: 0;
    height: 0;
    border-right: 6px solid white;
    border-bottom: 6px solid transparent;
}

/* Typing Indicator - Animated Dots */
.typing-indicator {
    display: none;
    padding: 16px 20px;
    background: white;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 0 20px 0;
    border: 1px solid rgba(128, 0, 0, 0.08);
}

.typing-indicator.active {
    display: flex;
    align-items: center;
    gap: 6px;
    animation: messageSlideIn 0.3s ease;
}

.typing-indicator span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #BFA046, #C9A227, #E1C16E, #F1E3A0);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    30% {
        transform: translateY(-12px) scale(1.1);
        opacity: 1;
    }
}

/* Chat Input Area - Modern Design */
.chat-modal-input {
    padding: 18px 20px 20px;
    background: white;
    border-top: 1px solid rgba(128, 0, 0, 0.1);
    display: flex;
    gap: 12px;
    align-items: flex-end;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.chat-modal-input textarea {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    resize: none;
    min-height: 44px;
    max-height: 120px;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #1f2937;
    line-height: 1.5;
}

.chat-modal-input textarea::placeholder {
    color: #9ca3af;
}

.chat-modal-input textarea:focus {
    border-color: #C9A227;
    ;
    background: white;
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.08);
}

/* Send Button - Gradient with Icon */
.chat-send-btn {
    background: linear-gradient(135deg, #BFA046, #C9A227, #E1C16E, #F1E3A0);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
    font-size: 18px;
}

.chat-send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(128, 0, 0, 0.4);
    background: linear-gradient(135deg, #C9A227 0%, #E1C16E 100%);
}

.chat-send-btn:active {
    transform: translateY(0) scale(0.98);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(128, 0, 0, 0.2);
}

/* Custom Scrollbar - Modern Style */
.chat-modal-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-modal-messages::-webkit-scrollbar-track {
    background: rgba(128, 0, 0, 0.05);
    border-radius: 10px;
    margin: 8px 0;
}

.chat-modal-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #BFA046, #C9A227);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.chat-modal-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #C9A227, #E1C16E);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-modal {
        width: calc(100% - 24px);
        height: calc(100vh - 140px);
        right: 12px;
        bottom: 90px;
        border-radius: 20px;
    }

    .chat-button {
        bottom: 24px;
        right: 24px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .chat-modal-header {
        padding: 20px 16px;
    }

    .chat-modal-messages {
        padding: 20px 16px;
    }

    .chat-modal-input {
        padding: 16px;
    }

    .chat-message-content {
        max-width: 85%;
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .chat-modal {
        width: calc(100% - 16px);
        height: calc(100vh - 120px);
        right: 8px;
        bottom: 80px;
    }

    .chat-button {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.modal-box {
    background: white;
    padding: 18px 20px;
    border-radius: 14px;
    width: 320px;
    text-align: center;
    animation: pop .25s ease;
}

.modal-box h4 {
    margin: 0 0 10px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.btn-primary {
    background: #C9A227;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-secondary {
    background: #e5e7eb;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
}

@keyframes pop {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/*********************
* End Chatbot
**********************/