/***********************
* SETDA Custom CSS - Coastal Blue & Green Theme
* Tema Biru Laut & Hijau untuk Sekretariat Daerah Pesisir Selatan
* Primary Color: #1976d2 (Ocean Blue - dari logo)
* Secondary Color: #43a047 (Nature Green - dari logo)
* Accent Color: #fbc02d (Golden Yellow - dari logo)
***********************/

/***********************
* CSS VARIABLES
***********************/
:root {
    --primary-blue: #1976d2;
    --secondary-green: #43a047;
    --accent-yellow: #fbc02d;
    --dark-blue: #0d47a1;
    --light-blue: #e3f2fd;
    --light-green: #e8f5e9;
}

/***********************
* ANNOUNCEMENT BAR STYLING
***********************/
.announcement-bar {
    font-size: 1rem;
    background: linear-gradient(135deg, #0d47a1, #1976d2) !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.announcement-bar .fa-bullhorn {
    color: #fbc02d;
    animation: bellShake 2s ease-in-out infinite;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.announcement-bar a {
    color: #ffffff !important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.announcement-bar a:hover {
    color: #fbc02d !important;
}

.announcement-bar .btn-light {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1976d2 !important;
    border: none;
    transition: all 0.3s ease;
}

.announcement-bar .btn-light:hover {
    background: #ffffff !important;
    color: #43a047 !important;
    transform: scale(1.05);
}

/***********************
* TOPBAR STYLING
***********************/
.topbar {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
    border-bottom: 1px solid rgba(25, 118, 210, 0.1);
    padding: 0.75rem 0;
    margin: inherit;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 1rem;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1.5rem;
    border-right: 2px solid rgba(25, 118, 210, 0.15);
}

.logo-section img {
    width: 4.5rem;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-section img:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 2px;
    line-height: 1.3;
}

.logo-text p {
    font-size: 0.85rem;
    color: #1976d2;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: -1.5rem;
    padding-left: 1rem;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #1976d2;
    border: 2px solid rgba(25, 118, 210, 0.2);
    border-radius: 12px;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    min-width: 175px;
    position: relative;
    top: -1px;
}

.contact-button:hover {
    background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
    border-color: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
}

.icon-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.contact-button:hover .icon-circle {
    transform: rotate(360deg);
}

.contact-text h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d47a1;
    line-height: 1;
}

.contact-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #1976d2;
    line-height: 1.2;
    font-weight: 500;
}

/***********************
* MAIN HEADER STYLING
***********************/
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(25, 118, 210, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/***********************
* DESKTOP NAVIGATION
***********************/
.desktop-nav {
    display: flex;
    gap: 0.5rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #0d47a1;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(67, 160, 71, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    z-index: -1;
}

.nav-link:hover::before,
.dropdown:hover > .nav-link::before {
    opacity: 1;
}

.nav-link:hover {
    color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.15);
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

/***********************
* DROPDOWN MENU STYLING
***********************/
.dropdown {
    position: relative;
}

.dropdown > .nav-link::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 10px 40px rgba(25, 118, 210, 0.15);
    min-width: 15rem;
    border-radius: 12px;
    padding: 0.75rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(25, 118, 210, 0.1);
}

@media (hover: hover) and (pointer: fine) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.2rem;
    color: #0d47a1;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1976d2, #43a047);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.dropdown-item:hover::before {
    opacity: 1;
}

/***********************
* SUBMENU STYLING
***********************/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item::after {
    content: '›';
    position: absolute;
    right: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-item::after {
    opacity: 1;
    right: 0.75rem;
}

.dropdown-submenu .dropdown-menu {
    top: -0.5rem;
    left: calc(100% + 8px);
}

@media (hover: hover) and (pointer: fine) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/***********************
* SEARCH STYLING
***********************/
.search-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.search-container {
    width: 100%;
    max-width: 32rem;
    position: relative;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.7rem 3rem 0.7rem 1.2rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    color: #0d47a1;
    border: 2px solid rgba(25, 118, 210, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-input:focus {
    background: #ffffff;
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.15);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.search-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.popular-tags {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.popular-tags .font-medium {
    color: #64748b;
    font-weight: 500;
}

.tag-link {
    color: #1976d2;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    background: rgba(25, 118, 210, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tag-link:hover {
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

/***********************
* MOBILE MENU BUTTON
***********************/
.mobile-menu-button {
    display: none;
    background: linear-gradient(135deg, #1976d2, #43a047);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.mobile-menu-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
}

.mobile-menu-button i {
    font-size: 1.4rem;
}

/***********************
* RESPONSIVE STYLING
***********************/
@media (max-width: 1200px) {
    .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .topbar-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .logo-section {
        padding-right: 1rem;
        gap: 0.75rem;
    }

    .search-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-buttons {
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .logo-section {
        border-right: none;
    }

    .logo-section img {
        width: 4rem;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.8rem;
    }

    .contact-button {
        min-width: 155px;
        padding: 0.4rem 0.75rem;
    }

    .icon-circle {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 0.5rem;
    }

    .logo-section img {
        width: 3.5rem;
    }

    .search-container {
        max-width: 100%;
    }

    .contact-button {
        min-width: 100%;
    }
}

/***********************
* CONTAINER
***********************/
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Continue with remaining CSS from original file... */
/* ============================================
   MAIN MENU IMPROVEMENTS
   ============================================ */

.main-menu-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px !important; /* Perbesar padding */
    min-height: 64px !important; /* Tingkatkan height */
    background: #ffffff;
    border-bottom: 1px solid rgba(25, 118, 210, 0.1);
}

.main-menu-left {
    display: flex;
    align-items: center;
    gap: 2rem; /* Perbesar gap dari 1px */
}

.main-menu-logo {
    min-width: 240px; /* Lebarkan dari 220px */
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 10px 16px; /* Perbesar padding */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
    margin-right: 1rem; /* Tambah margin kanan */
}

.main-menu-logo img {
    height: 52px; /* Perbesar dari 50px */
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.1);
    margin-right: 12px; /* Perbesar dari 10px */
}

/* ============================================
   NAVIGATION MENU - SPACING IMPROVEMENTS
   ============================================ */

.navigation ul.main-menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Perbesar gap dari 8px */
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation ul.main-menu-list li {
    position: relative;
}

.navigation ul.main-menu-list > li > a {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem !important; /* Perbesar padding */
    font-size: 0.95rem !important;
    font-weight: 600;
    color: #1976d2 !important;
    text-decoration: none;
    border-radius: 8px; /* Perbesar radius dari 6px */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px; /* Tambah letter spacing untuk jarak antar huruf */
    white-space: nowrap; /* Cegah text wrap */
}

/* Nav Link - Menu Utama dengan spacing lebih baik */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Perbesar gap */
    padding: 0.85rem 1.5rem; /* Perbesar padding */
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
    letter-spacing: 2.3px; /* Tambah letter spacing */
    line-height: 1.5; /* Tambah line height */
    white-space: nowrap;
}

/* Button Login dengan spacing yang lebih baik */
.btn-login {
    padding: 8px 20px; /* Perbesar padding dari 4px 6px */
    background: #1976d2;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    margin-left: 0.75rem; /* Tambah margin kiri */
    letter-spacing: 0.3px;
}

/* ============================================
   DROPDOWN ITEM - SPACING IMPROVEMENTS
   ============================================ */

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem; /* Perbesar gap untuk icon/text */
    padding: 1rem 1.8rem; /* Perbesar padding untuk jarak lebih lega */
    color: var(--gray-700);
    font-size: 1rem; /* Sedikit lebih besar */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0.5rem;
    margin: 0.35rem 0; /* Perbesar margin untuk jarak antar item */
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.3px; /* Tambah letter spacing */
    line-height: 1.6; /* Perbesar line height */
    white-space: nowrap;
}

/* Dropdown Menu dengan spacing lebih baik */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px); /* Perbesar gap dari 4px */
    left: 0;
    background-color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 
                0 2px 8px rgba(0, 0, 0, 0.06);
    min-width: 15rem; /* Lebarkan dari 13rem */
    border-radius: 0.75rem;
    padding: 0.85rem; /* Perbesar padding dari 0.5rem */
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Submenu dengan spacing lebih baik */
.dropdown-submenu > .dropdown-item {
    padding-right: 3rem; /* Perbesar dari 2.5rem */
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 1200px) {
    .main-menu-inner {
        padding: 8px 20px !important;
    }
    
    .navigation ul.main-menu-list {
        gap: 10px;
    }
    
    .navigation ul.main-menu-list > li > a {
        padding: 0.6rem 0.9rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 992px) {
    .topbar-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .logo-section {
        padding-right: 1rem;
    }
    
    .search-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .contact-buttons {
        gap: 0.5rem;
        padding-left: 0.5rem;
    }
    
    .main-menu-inner {
        padding: 8px 16px !important;
    }
}

@media (max-width: 768px) {
    .topbar-content {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .logo-section {
        gap: 0.75rem;
        padding-right: 0.75rem;
        border-right: none;
    }
    
    .logo-section img {
        width: 4rem;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    .search-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .contact-buttons {
        margin-top: 0.5rem;
    }
    
    .contact-button {
        min-width: 155px;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 0.5rem;
    }
    
    .logo-section img {
        width: 3.5rem;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .contact-button {
        min-width: 100%;
    }
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #1976d2;
    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;
}

.contact-button:hover {
    background-color: #f0f6ff;
    border-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 15px 40px #FFD70033;
}

.icon-circle {
    width: 26px;
    height: 26px;
    background-color: #1976d2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.contact-text h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1976d2;
    line-height: 1;
}

.contact-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #555;
    line-height: 1.2;
}


/* ===== MAIN NAVIGATION ===== */
.main-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 30px rgba(67, 160, 71, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(67, 160, 71, 0.06);
}

.main-menu-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 18px !important;
    min-height: 60px !important;
    background: #ffffff;
    border-bottom: 1px solid rgba(25, 118, 210, 0.1);
}

.main-menu-left {
    display: flex;
    align-items: center;
    gap: 1px;
}

.main-menu-logo {
    min-width: 220px;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

.main-menu-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.1);
    margin-right: 10px;
}

.main-menu-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

/* ===== NAVIGATION MENU ===== */
.navigation ul.main-menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation ul.main-menu-list li {
    position: relative;
}

.navigation ul.main-menu-list > li > a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    color: #1976d2 !important;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navigation ul.main-menu-list > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(67, 160, 71, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.navigation ul.main-menu-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1976d2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.navigation ul.main-menu-list > li > a:hover::before,
.navigation ul.main-menu-list > li.active > a::before {
    opacity: 1;
}

.navigation ul.main-menu-list > li > a:hover::after,
.navigation ul.main-menu-list > li.active > a::after {
    width: 80%;
}

.navigation ul.main-menu-list > li > a:hover,
.navigation ul.main-menu-list > li.active > a {
    color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.15);
}

.btn-login {
    padding: 4px 6px;  
    background: #1976d2;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-login:hover {
    border: 1px solid #1976d2;
    background-color: #fff;
    color: #1976d2!important;
    transform: translateY(-2px);
}

/* ============================================
   DROPDOWN MENU SYSTEM - HOVER FIXED
   ============================================ */

/* Dropdown Container */
.dropdown {
    position: relative;
}

/* SOLUSI: Tambahkan area hover invisible */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px; /* Area jembatan hover */
    background: transparent;
    z-index: 99;
}

/* Nav Link - Menu Utama */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    user-select: none;
    border-radius: 0.5rem;
}

/* Hover effect untuk nav-link */
.nav-link:hover {
    color: #1976d2;
    background-color: rgba(201, 162, 39, 0.05);
}

/* Underline animation */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1976d2, #d4ae3a);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.dropdown:hover > .nav-link::after,
.dropdown.active > .nav-link::after {
    width: 80%;
}

/* Active State */
.dropdown-item.active,
.dropdown.active > .nav-link,
.dropdown:hover > .nav-link {
    color: #1976d2;
    background-color: rgba(201, 162, 39, 0.08);
    font-weight: 600;
}

/* Dropdown indicator (panah) */
.dropdown > .nav-link::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: auto;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.dropdown:hover > .nav-link::before,
.dropdown.active > .nav-link::before {
    transform: rotate(180deg);
    opacity: 1;
}

/* ============================================
   DROPDOWN MENU - HOVER AREA EXTENDED
   ============================================ */

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px); /* Kurangi gap dari 8px ke 4px */
    left: 0;
    background-color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 
                0 2px 8px rgba(0, 0, 0, 0.06);
    min-width: 13rem;
    border-radius: 0.75rem;
    padding: 0.5rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* CRITICAL: Tambahkan hover bridge area di dropdown-menu */
.dropdown-menu::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px; /* Sama dengan dropdown::after */
    background: transparent;
}

/* Show state - Desktop Hover */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        animation: dropdownFadeIn 0.25s ease-out;
    }
}

/* Show state - Mobile Click */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

@media (hover: none) or (pointer: coarse) {
    .dropdown.active > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
}

/* ============================================
   DROPDOWN ITEM
   ============================================ */

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0.5rem;
    margin: 0.125rem 0;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

/* Hover Background Effect */
.dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1976d2 0%, #d4ae3a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.2);
}

.dropdown-item:hover::before {
    opacity: 1;
}

/* Active State untuk dropdown-item */
.dropdown-item.active {
    color: #1976d2;
    background-color: rgba(201, 162, 39, 0.08);
    font-weight: 600;
}

/* ============================================
   SUBMENU - LEVEL 2
   ============================================ */

.dropdown-submenu {
    position: relative;
}

/* SOLUSI: Hover bridge untuk submenu */
.dropdown-submenu::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 12px; /* Area jembatan hover horizontal */
    background: transparent;
    z-index: 199;
}

/* Submenu Indicator */
.dropdown-submenu > .dropdown-item {
    padding-right: 2.5rem;
}

.dropdown-submenu > .dropdown-item::after {
    content: "›";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-item::after,
.dropdown-submenu.active > .dropdown-item::after {
    opacity: 1;
    right: 0.75rem;
}

/* Submenu dropdown */
.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: -0.5rem;
    left: calc(100% + 4px); /* Kurangi gap */
    background-color: var(--white);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 
                0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 13rem;
    border-radius: 0.75rem;
    padding: 0.5rem;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hover bridge area untuk submenu */
.dropdown-submenu .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 12px;
    background: transparent;
}

/* Desktop: Hover support untuk submenu */
@media (hover: hover) and (pointer: fine) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1);
        pointer-events: auto;
        animation: dropdownSlideRight 0.25s ease-out;
    }
}

/* Mobile: Click support untuk submenu */
.dropdown-submenu .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

@media (hover: none) or (pointer: coarse) {
    .dropdown-submenu.active > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1);
        pointer-events: auto;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dropdownSlideRight {
    0% {
        opacity: 0;
        transform: translateX(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ============================================
   DIVIDER
   ============================================ */

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gray-200) 20%,
        var(--gray-200) 80%,
        transparent
    );
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 11rem;
        font-size: 0.8125rem;
    }

    .dropdown-item {
        padding: 0.625rem 0.875rem;
    }
    
    /* Submenu di mobile */
    .dropdown-submenu .dropdown-menu {
        position: static;
        transform: none;
        margin-left: 1rem;
        margin-top: 0.25rem;
        box-shadow: none;
        border-left: 2px solid rgba(201, 162, 39, 0.3);
        border-radius: 0.5rem;
    }
    
    .dropdown-submenu .dropdown-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    /* Hilangkan hover bridge di mobile */
    .dropdown::after,
    .dropdown-submenu::after,
    .dropdown-menu::before {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.dropdown-item:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Touch feedback */
.dropdown-item:active,
.nav-link:active {
    transform: scale(0.98);
}

/* Reduce motion untuk accessibility */
@media (prefers-reduced-motion: reduce) {
    .dropdown-menu,
    .dropdown-item,
    .nav-link {
        transition: none;
        animation: none;
    }
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

@keyframes dropdownSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownSlideRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==== Hover SUB MENU ==== */
.navigation ul.sub-menu li a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: white;
    z-index: 1;
}

.navigation ul.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #1976d2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* shimmer layer */
.navigation ul.sub-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    z-index: 0;
    transition: none;
    pointer-events: none;
}

/* trigger hover */
.navigation ul.sub-menu li a:hover::before {
    transform: scaleX(1);
}

.navigation ul.sub-menu li a:hover::after {
    animation: shimmer 2s infinite;
}

/* keyframes shimmer */
@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}
/* === End Hover Sub menu=== */

.navigation ul.sub-menu li a:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    color: #f8f8f8 !important;
    padding-left: 32px;
}

.navigation ul.sub-menu li a:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.navigation ul.sub-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: #1976d2 !important;
}

.navigation ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.navigation ul li {
    position: relative;
}
/* =============================
   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: #1976d2;
    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: #1976d2;
    ;
    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: #1976d2;
    ;
    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: #1976d2;
        ;
    }

    .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;
    }
}


/* ===== SMALLER DEVICES ===== */
@media (max-width: 768px) {
    .main-menu-inner { padding: 0 16px; height: 64px; }
    .main-menu-logo img { height: 36px; }
    .navigation { top: 64px; height: calc(100vh - 64px); }
}

@media (max-width: 480px) {
    .main-menu-inner { padding: 0 12px; height: 56px; }
    .main-menu-logo img { height: 32px; }
    .navigation { top: 56px; height: calc(100vh - 56px); }
}

/* ===== SMOOTH ANIMATION ===== */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.navigation ul.sub-menu li a { animation: slideDown 0.3s ease; }

@media (max-width: 992px) {
    .navigation {
      display: none;
      position: absolute;
      top: 72px;
      left: 0;
      width: 100%;
      background: #fff;
      flex-direction: column;
      padding: 1rem;
    }
  
    .navigation.active {
      display: flex;
    }
}
  
/***********************
* End Css Mobile Nav
***********************/

/***********************
* Css Hero
***********************/
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 15px;
}
.hero-content {
    text-align: center;
    color: white;
    min-width: 900px;
    padding: 40px 20px 80px 20px;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 37px;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.6;
    animation: slideUp 1s ease-out 0.4s both;
}

.hero-subtitle p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
}

/* Search Box */
.hero-search {
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease-out 0.6s both;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(67, 160, 71, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #43a047;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 25px 80px rgba(67, 160, 71, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #1976d2;
    border: none;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 16px;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 0.8s both;
}

.quick-link {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.quick-link:hover::before {
    left: 100%;
}

.quick-link:hover {
    background: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(67, 160, 71, 0.2);
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animations */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }

    .search-input {
        padding: 15px 50px 15px 20px;
        font-size: 14px;
    }

    .quick-links {
        gap: 10px;
    }

    .quick-link {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Popular Searches */
.popular-searches {
    margin-top: 15px;
    animation: slideUp 1s ease-out 1s both;
}

.popular-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.popular-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.popular-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(25, 118, 210, 0.3);
}

#searchResults .suggestion-item {
    color: black;
    padding: 8px 10px;
    cursor: pointer;
}

#searchResults .suggestion-item:hover {
    background-color: #f2f2f2;
}

.social-icons {
    position: fixed;
    left: 0;
    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;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-icons a:hover {
    background: #1976d2;
    color: #fff;
    transform: translateX(5px);
}

.hero-widgets {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.hero-widgets .widget-card {
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 45px;
    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;
    opacity: 0;
    white-space: nowrap;
    background: #1976d2;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: opacity 0.3s ease, right 0.3s ease;
    pointer-events: none;
}

.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 #1976d2;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

.hero-widgets .widget-card:hover {
    background: #1976d2;
}

.hero-widgets .widget-card:hover span {
    opacity: 1;
    right: 60px;
}

.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;
    height: 140px;
    overflow: hidden;
    z-index: 10;
    background-color: transparent;
}

.custom-curved-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* === Layanan Publik === */
.lp-wrapper {
    --lp-green: #1976d2;
    --lp-dark-green: #43a047;
    --lp-light-green: #f8f9fa;
    --lp-white: #ffffff;
    --lp-light-gray: #f8f9fa;
    --lp-dark-text: #212529;
    --lp-gray-text: #6c757d;
}

.lp-wrapper {
    background-color: var(--lp-light-gray);
    padding: 2rem 0;
}

.lp-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.lp-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lp-dark-green);
    position: relative;
}

.lp-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-green), var(--lp-dark-green));
    border-radius: 2px;
}

.lp-service-category {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.lp-service-category:hover {
    transform: translateY(-5px);
}

.lp-service-card {
    background: var(--lp-white);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    border: none;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.lp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-green), var(--lp-dark-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lp-service-card:hover::before {
    transform: scaleX(1);
}

.lp-service-card:hover {
    box-shadow: 0 15px 40px rgba(25, 118, 210, 0.2);
}

.lp-service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--lp-green), var(--lp-dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.lp-service-card:hover .lp-service-icon {
    transform: rotate(360deg) scale(1.1);
}

.lp-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lp-dark-green);
    margin-bottom: 1rem;
    text-align: center;
}

.lp-service-description {
    color: var(--lp-gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

.lp-service-btn {
    background: linear-gradient(135deg, var(--lp-green), var(--lp-dark-green));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.lp-service-btn:hover {
    background: linear-gradient(135deg, var(--lp-dark-green), var(--lp-green));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.3);
}

.lp-floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.lp-floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(25, 118, 210, 0.05);
    animation: lp-float 6s ease-in-out infinite;
}

.lp-circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.lp-circle-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.lp-circle-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
    .lp-section-title h2 {
        font-size: 2rem;
    }
    .lp-service-card {
        padding: 1.5rem;
    }
}

/***********************
* CSS Berita Section - Modern & Clean Design
* Tema Hitam-Putih SETDA
***********************/

/* === Section Berita === */
.berita-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Header Berita */
.berita-header {
    position: relative;
}

.berita-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.berita-main-title .text-highlight {
    color: #1976d2;
    position: relative;
}

.berita-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.btn-lihat-semua-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.btn-lihat-semua-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
    color: white;
}

.btn-lihat-semua-modern i {
    transition: transform 0.3s ease;
}

.btn-lihat-semua-modern:hover i {
    transform: translateX(4px);
}

/* === Berita Featured Card (Slider) === */
.berita-featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(67, 160, 71, 0.08);
    position: relative;
    height: 100%;
    min-height: 600px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.featured-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-featured-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(67, 160, 71, 0.7), transparent);
}

.featured-content {
    padding: 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.meta-item i {
    color: #1976d2;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.featured-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #1976d2;
}

.featured-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #1976d2;
}

.author-info {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.author-info i {
    color: #1976d2;
    margin-right: 6px;
    font-size: 16px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #1976d2;
    color: white;
    transform: translateX(3px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* ===== CAROUSEL CONTROLS - MATCHING STYLE ===== */
.custom-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1976d2, #43a047);  
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}


.berita-featured-card:hover .custom-carousel-btn {
    opacity: 1;
}

.carousel-control-prev.custom-carousel-btn {
    left: 20px;
}

.carousel-control-next.custom-carousel-btn {
    right: 20px;
}

.custom-carousel-btn:hover {
    background: linear-gradient(135deg, #43a047, #1976d2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(25, 118, 210, 0.5);
}

.custom-carousel-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.custom-carousel-btn:hover i {
    transform: scale(1.1);
}

/* Responsive Carousel Controls */
@media (max-width: 768px) {
    .custom-carousel-btn {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .carousel-control-prev.custom-carousel-btn {
        left: 10px;
    }

    .carousel-control-next.custom-carousel-btn {
        right: 10px;
    }
    
    .custom-carousel-btn i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .custom-carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-control-prev.custom-carousel-btn {
        left: 8px;
    }

    .carousel-control-next.custom-carousel-btn {
        right: 8px;
    }
}

/* Carousel Indicators */
.custom-indicators {
    bottom: 65px;
}

.custom-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background: #1976d2;
    width: 40px;
}
.featured-content {
    padding: 16px;
    padding-bottom: 70px;
}

/* === Berita List Card === */
.berita-list-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(67, 160, 71, 0.08);
    height: 100%;
    min-height: 600px;
}

/* Tabs Navigation */
.berita-tabs {
    border: none;
    gap: 8px;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 12px;
}

.berita-tabs .nav-item {
    flex: 1;
}

.berita-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    transition: all 0.3s ease;
}

.berita-tabs .nav-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.berita-tabs .nav-link:hover {
    color: #1976d2;
    background: white;
}

.berita-tabs .nav-link.active {
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.berita-tabs .nav-link.active i {
    transform: scale(1.1);
}

/* Berita List Wrapper */
.berita-list-wrapper {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom Scrollbar */
.berita-list-wrapper::-webkit-scrollbar {
    width: 6px;
}

.berita-list-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.berita-list-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1976d2, #43a047);
    border-radius: 10px;
}

.berita-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: #43a047;
}

/* Berita List Item */
.berita-list-item {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.berita-list-item:last-child {
    margin-bottom: 0;
}

.berita-item-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.berita-item-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1976d2, #43a047);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.berita-item-link:hover::before {
    transform: scaleY(1);
}

.berita-item-link:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.1);
    transform: translateX(4px);
}

.berita-item-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.berita-item-number.popular {
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
}

.berita-item-link:hover .berita-item-number {
    transform: scale(1.1);
}

.berita-item-content {
    flex: 1;
    min-width: 0;
}

.berita-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.berita-item-link:hover .berita-item-title {
    color: #1976d2;
}

.berita-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
}

.meta-date,
.meta-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-views.popular {
    color: #1976d2;
    font-weight: 600;
}

.meta-views.popular i {
    color: #ef4444;
}

.berita-item-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 118, 210, 0.1);
    color: #1976d2;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.berita-item-link:hover .berita-item-arrow {
    background: #1976d2;
    color: white;
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .berita-featured-card {
        padding-bottom: 65px;
    }
    
    .berita-list-card {
        min-height: 550px;
    }
}

@media (max-width: 768px) {
    .berita-main-title {
        font-size: 2rem;
    }

    .berita-featured-card {
        min-height: auto;
        margin-bottom: 24px;
    }

    .featured-image-wrapper {
        height: 250px;
    }

    .featured-title {
        font-size: 1.25rem;
    }

    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .berita-list-card {
        min-height: auto;
    }

    .berita-list-wrapper {
        max-height: 400px;
    }

    .custom-carousel-btn {
        width: 36px;
        height: 36px;
        opacity: 12;
    }

    .carousel-control-prev.custom-carousel-btn {
        left: 10px;
    }

    .carousel-control-next.custom-carousel-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .berita-main-title {
        font-size: 1.75rem;
    }

    .btn-lihat-semua-modern {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .berita-tabs {
        flex-direction: column;
    }

    .berita-tabs .nav-link {
        font-size: 13px;
        padding: 10px 16px;
    }

    .featured-content {
        padding: 16px;
    }

    .berita-item-link {
        padding: 12px;
        gap: 12px;
    }

    .berita-item-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .berita-item-title {
        font-size: 13px;
    }

    .berita-item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.berita-featured-card,
.berita-list-card {
    animation: fadeInUp 0.6s ease both;
}

.berita-list-card {
    animation-delay: 0.2s;
}

/* === Agenda & Pejabat === */
.agenda-pejabat-section .card-body {
    padding: 1rem !important;
}

.agenda-pejabat-section .bg-primary {
    background-color: #1976d2 !important;
}

.agenda-pejabat-section .text-primary {
    color: #1976d2 !important;
}

.agenda-pejabat-section .border-primary {
    border-color: #1976d2 !important;
}

.agenda-pejabat-section .btn-primary {
    background-color: #1976d2 !important;
    border-color: #1976d2 !important;
    transition: all 0.2s ease-in-out;
}

.agenda-pejabat-section .btn-primary:hover {
    background-color: #43a047 !important;
    border-color: #43a047 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 118, 210, 0.5) !important;
    transform: translateY(-1px);
}

.agenda-pejabat-section .modern-position-badge {
    background: rgba(25, 118, 210, 0.05) !important;
    transition: all 0.3s ease;
}

.agenda-pejabat-section .modern-position-badge:hover {
    background: rgba(25, 118, 210, 0.1) !important;
    transform: scale(1.02);
}

.calendar-day:hover {
    background-color: rgba(25, 118, 210, 0.1); 
    color: #1976d2 !important; 
}

.calendar-day.active {
    background: #1976d2;
    color: #fff !important;
    border-radius: 10%;
}

/***********************
* 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: #1976d2;
    ;
    outline: none;
    box-shadow: 0 15px 40px #FFD70033;
}


.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1976d2;
    ;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.search-button:hover {
    color: #1976d2;
    ;
}

/* 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%;
}

/***********************
* Informasi Publik PPID - Desain Baru
***********************/
.ppid-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.ppid-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header PPID */
.ppid-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.ppid-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom:16px;
    letter-spacing: -0.02em;
}

.ppid-highlight {
    color: #1976d2;
}

.ppid-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* PPID Grid */
.ppid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .ppid-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* PPID Card */
.ppid-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(67, 160, 71, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.ppid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #43a047);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ppid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(25, 118, 210, 0.15);
    border-color: rgba(25, 118, 210, 0.2);
}

.ppid-card:hover::before {
    transform: scaleX(1);
}

/* PPID Icon */
.ppid-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #1976d2, #43a047);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ppid-card:hover .ppid-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
}

/* PPID Card Title */
.ppid-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* PPID Card Description */
.ppid-card-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 80px;
}

/* PPID Card Button */
.ppid-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #1976d2, #43a047);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.ppid-card-button i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.ppid-card-button:hover {
    background: linear-gradient(135deg, #43a047, #1976d2);
    color: white;
    transform: translateX(3px);
    box-shadow: 0 6px 25px rgba(25, 118, 210, 0.3);
}

.ppid-card-button:hover i {
    transform: translateX(4px);
}
/* =========================================
   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;
    color: #1976d2
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .ppid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    .searcj-input {
        padding: 15px 50px 15px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .ppid-section {
        padding: 60px 0;
    }
    
    .ppid-title {
        font-size: 2rem;
    }
    
    .ppid-header {
        margin-bottom: 40px;
    }
    
    .ppid-card {
        padding: 30px 25px;
    }
    
    .ppid-card-description {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .ppid-title {
        font-size: 1.75rem;
    }
    
    .ppid-icon {
        width: 70px;
        height: 70px;
    }
    
    .ppid-icon img {
        width: 40px;
        height: 40px;
    }
}

/* Animation on scroll */
.ppid-card {
    animation: fadeInUp 0.6s ease both;
}

.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; }

/* === Tombol "Lihat Semua" === */
.btn.btn-lihat-semua {
    color: #1976d2;
    border: 1px solid #1976d2;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.btn-lihat-semua:hover {
    background-color: #1976d2;
    color: #ffffff;
    border: 1px solid #1976d2;
}

/*********************
* Css Page
**********************/
.content-box-depth {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(67, 160, 71, 0.1);
    border: 1px solid #dcdcdc;
    padding: 24px;
    margin-bottom: 1.5rem;
}

.custom-card-depth {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.08);
    border: 1px solid #dcdcdc;
    margin-bottom: 1.5rem;
    padding: 16px;
}

/*********************
* Css General
**********************/
.text-kominfo {
    color: #1976d2 !important;
    border-color: #1976d2 !important;
}

.pagination .page-link {
    color: #1976d2;
    border-color: #1976d2;
}

.pagination .page-link:hover {
    background-color: #1976d2;
    color: #fff;
}

.pagination .active .page-link {
    background-color: #1976d2;
    border-color: #1976d2;
    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(25, 118, 210, 0.12);
    background-color: #f9f9f9;
}

.news-details-socials a:hover {
    background: #1976d2;
    color: #fff;
}

.btn-kominfo {
    background: #1976d2 !important;
    color: #fff !important;
}

.btn-kominfo:hover {
    background: #43a047 !important;
}

.form-control {
    border: 2px solid #1976d2;
}

.form-control:focus {
    border-color: #1976d2;
}

/*********************
* End CSS
**********************/