
:root {
    --primary-color: #3b6ea5;
    --secondary-color: #1e3a5f;
    --accent-color: #6ba5d7;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #feffff;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

/* Hero Section - Index Page */
.hero-section {
    position: relative;
    overflow: visible;
}

.hero-carousel {
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.hero-carousel .carousel-item {
    height: auto;
    position: relative;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    padding: 0;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-hero {
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Welcome Section - Index Page */
.welcome-section {
    padding: 20px;
    text-align: center;
}

.welcome-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* --- SMOOTH ANIMATION ENHANCEMENTS --- */

/* Smooth dropdown (example class: .dropdown-menu) */
.dropdown-menu {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Smooth spawn/modal (example class: .modal) */
.modal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.modal.show {
    opacity: 1;
    transform: scale(1);
}

/* Smooth scroll for whole page */
html {
    scroll-behavior: smooth;
}

/* Animate elements on scroll (example class: .fade-in) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome-section p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Quick Links - Index Page */
.quick-links {
    margin-top: 0;
    padding-top: 40px;
    position: relative;
    z-index: 10;
}

.quick-link-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.quick-link-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.quick-link-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Services Section - Index Page */
.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.service-card:hover {
    border-color: var(--secondary-color);
    background: white;
    transform: scale(1.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

/* Stats Section - Index Page */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 0.95rem;
    white-space: normal;
    line-height: 1.3;
    flex-shrink: 1;
}

.navbar-brand span {
    display: block;
    margin-top: 2px;
}

.navbar-toggler {
    flex-shrink: 0;
    margin-left: 10px;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

/* Saat dropdown dibuka, panah berputar ke atas (untuk .dropdown.show dan .dropdown-menu.show) */
.navbar .dropdown.show > .dropdown-toggle::after,
.navbar .dropdown-menu.show ~ .dropdown-toggle::after,
.navbar .dropdown-menu.show .dropdown-toggle::after,
.navbar .dropdown-menu.show + .dropdown-toggle::after,
.navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
}

.dropdown-item {
    padding: 10px 20px;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
}

.dropdown-item:hover {
    color: var(--secondary-color);
}

.dropdown-item i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--secondary-color);
    background: rgba(59, 130, 246, 0.1);
}

/* Footer */
/* .footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 700;
} */

/* Header Section - for berita & pengumuman pages */
.header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 50px;
}

.header-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.header-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Search Bar */
.search-bar {
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.search-bar input {
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    background: transparent;
}

.search-bar input:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.search-bar button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Berita Page Styles */
.filter-section {
    margin-bottom: 40px;
}

.filter-pill {
    display: inline-block;
    padding: 10px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.news-views {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.news-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #999;
    font-size: 0.9rem;
}

.news-meta i {
    color: var(--secondary-color);
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    flex-grow: 1;
    
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-title:hover {
    color: var(--secondary-color);
}

.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-btn {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-color);
    gap: 10px;
}

.read-more-btn i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.stats-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stats-card p {
    color: #666;
    margin: 0;
}

/* Pengumuman Page Styles */
.announcement-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary-color);
    display: flex;
    gap: 25px;
    align-items: start;
}

.announcement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.announcement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.announcement-content {
    flex-grow: 1;
}

.announcement-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.announcement-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #999;
    font-size: 0.9rem;
}

.announcement-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.announcement-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.announcement-title:hover {
    color: var(--secondary-color);
}

.announcement-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.announcement-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 10px;
}

.announcement-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-detail,
.btn-download {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.btn-detail {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: white;
}

.btn-detail:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-download {
    background: white;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-download:hover {
    background: var(--secondary-color);
    color: white;
}

/* Stats Info Section - untuk halaman berita/pengumuman */
.stats-info-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    margin: 0;
}

/* Sidebar Styles */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.sidebar-widget h5 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.category-list,
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.category-item,
.popular-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-list li {
    margin-bottom: 12px;
    padding: 0;
    border: none;
}

.category-item:last-child,
.popular-item:last-child {
    border-bottom: none;
}

.category-list a,
.category-link,
.popular-link {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.category-link:hover,
.popular-link:hover,
.category-list a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
    background: rgba(59, 130, 246, 0.1);
}

.category-count,
.category-list .count {
    background: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.popular-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.popular-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.popular-number {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-content h6 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.popular-content small {
    color: #999;
    font-size: 0.8rem;
}

/* Pagination */
.pagination-section {
    margin: 50px 0;
}

.pagination {
    gap: 10px;
}

.page-link {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 18px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.page-item.active .page-link {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design for Mobile */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .dropdown-menu {
        border: 1px solid #e0e0e0;
        box-shadow: none;
    }
    
    .header-section h1 {
        font-size: 2rem;
    }
    
    .header-section p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        max-width: 400px;
    }
    
    .navbar-toggler {
        padding: 6px 10px;
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 10px 15px !important;
    }
    
    .dropdown-menu {
        margin-top: 0;
        border-radius: 0;
    }
    
    .header-section {
        padding: 40px 0 30px;
    }
    
    .header-section h1 {
        font-size: 1.8rem;
    }
    
    .header-section p {
        font-size: 0.95rem;
    }
    
    .search-bar {
        margin-top: 20px;
    }
    
    .search-bar input {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .search-bar button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .top-bar {
        font-size: 0.75rem;
    }
    
    .footer {
        margin-top: 50px;
        padding: 30px 0 20px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        font-size: 0.9rem;
    }
    
    /* Index page specific - 768px */
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .welcome-section p {
        font-size: 1rem;
    }
    
    .welcome-section {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .news-card h5 {
        font-size: 1rem;
    }
    
    .news-card .card-text {
        font-size: 0.9rem;
    }
    
    .service-card h6 {
        font-size: 0.95rem;
    }
    
    .quick-link-card h5 {
        font-size: 1rem;
    }
    
    .quick-link-icon {
        font-size: 2.5rem;
    }
    
    .hero-carousel .carousel-item {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.8rem;
        max-width: 250px;
    }
    
    .top-bar {
        font-size: 0.7rem;
        padding: 6px 0;
    }
    
    /* Berita page mobile optimizations */
    .filter-pills .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin: 3px;
    }
    
    .filter-pill {
        font-size: 0.8rem;
        padding: 8px 15px;
        margin: 5px;
    }
    
    .news-card-img {
        height: 180px;
    }
    
    .news-card-title {
        font-size: 1rem;
    }
    
    .stats-card h3 {
        font-size: 1.5rem;
    }
    
    .stats-card i {
        font-size: 2rem;
    }
    
    /* Pengumuman page mobile optimizations */
    .announcement-item {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .announcement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 0;
    }
    
    .announcement-title {
        font-size: 1rem;
    }
    
    .announcement-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .announcement-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn-detail,
    .btn-download {
        text-align: center;
        justify-content: center;
        width: 100%;
    }
    
    .sidebar-card {
        position: relative;
        top: 0;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    /* List item responsive */
    .list-item {
        padding: 15px;
    }
    
    .list-item h5 {
        font-size: 1rem;
    }
    
    .list-item .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* Stats cards responsive */
    .stats-card {
        margin-bottom: 15px;
        padding: 20px 15px;
    }
    
    /* Search bar mobile */
    .input-group .form-control {
        font-size: 0.9rem;
    }
    
    .input-group .btn {
        padding: 8px 15px;
    }
    
    /* Pagination mobile fix */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .pagination .page-item {
        margin: 0;
    }
    
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin: 0;
        min-width: 40px;
        text-align: center;
    }
    
    /* Index page specific - 576px */
    .welcome-section h1 {
        font-size: 1.5rem;
    }
    
    .welcome-section p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 8px 20px;
        font-size: 0.85rem;
        display: block;
        margin: 10px auto !important;
        width: fit-content;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .quick-links {
        padding-top: 20px;
    }
}

/* Contact Page Styles */
.contact-info-simple {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 28px;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-detail h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-detail p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.social-links-simple {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.social-links-simple a {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
    text-align: center;
    padding: 0;
    line-height: 45px;
}

.social-links-simple a i {
    font-size: 20px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.social-links-simple a:hover {
    background: var(--secondary-color);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.social-links-simple a:hover i {
    color: white !important;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-card .form-label {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-service-card {
    display: block;
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.quick-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.quick-service-card i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.quick-service-card h6 {
    margin: 0;
    font-weight: 600;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-info-simple {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-item i {
        margin-bottom: 10px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Kritik Saran Page Styles */
.kritik-saran-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 35px;
}

.kritik-saran-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.input-icon {
    position: relative;
    display: block;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 16px;
    z-index: 10;
    pointer-events: none;
}

.input-icon .form-control,
.input-icon .form-select {
    padding-left: 48px !important;
    background-color: white;
}

.kritik-saran-card .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.kritik-saran-card .form-control,
.kritik-saran-card .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.kritik-saran-card .form-control:focus,
.kritik-saran-card .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}

.kritik-saran-card textarea.form-control {
    padding-left: 15px;
}

/* Info Box untuk form kritik saran */
.kritik-saran-card .info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
}

.kritik-saran-card .info-box i {
    font-size: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.kritik-saran-card .info-box strong {
    color: var(--primary-color);
}

.kritik-saran-card .info-box p {
    font-size: 0.9rem;
    color: #666;
}

/* Info Box untuk sidebar profil */
.sidebar-card .info-box {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 20px;
}

.sidebar-card .info-box h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
    border: none;
    padding: 0;
}

.sidebar-card .info-box h6 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.sidebar-card .info-box p {
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card .info-box p:last-child {
    margin-bottom: 0;
}

.sidebar-card .info-box p i {
    color: var(--secondary-color);
    font-size: 18px;
    min-width: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.info-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Kritik Saran Responsive */
@media (max-width: 768px) {
    .kritik-saran-card {
        padding: 30px 25px;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .kritik-saran-card h3 {
        font-size: 1.5rem;
    }
}

/* Data Pegawai Table Styles */
.content-card .input-group {
    margin-bottom: 0;
}

.content-card .input-group-text {
    background: white;
    border: 2px solid #e5e7eb;
    border-right: none;
    color: var(--secondary-color);
    font-size: 16px;
}

.content-card .input-group .form-control {
    border: 2px solid #e5e7eb;
    border-left: none;
    padding: 10px 15px;
    font-size: 0.95rem;
}

.content-card .input-group .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

.content-card .input-group:focus-within .input-group-text {
    border-color: var(--secondary-color);
}

.content-card .form-select {
    border: 2px solid #e5e7eb;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #555;
}

.content-card .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

.table-pegawai {
    background: white;
    margin: 0;
    border: 1px solid #e5e7eb;
}

.table-pegawai thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.table-pegawai thead th {
    padding: 15px 12px;
    font-weight: 600;
    border: none;
    font-size: 0.9rem;
    vertical-align: middle;
}

.table-pegawai tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.table-pegawai tbody tr:last-child {
    border-bottom: none;
}

.table-pegawai tbody tr:hover {
    background-color: #f8f9fa;
}

.table-pegawai tbody td {
    padding: 15px 12px;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #333;
}

.table-pegawai tbody td:first-child {
    color: #999;
    font-weight: 500;
}

.table-pegawai tbody td strong {
    color: var(--primary-color);
    font-weight: 600;
}

.table-pegawai .btn-primary {
    background: var(--secondary-color);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
}

.table-pegawai .btn-primary:hover {
    background: var(--primary-color);
}

.table-responsive {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* Pagination styling for data pegawai */
.content-card .pagination {
    margin-bottom: 0;
}

.content-card .pagination .page-link {
    border: 1px solid #e5e7eb;
    color: #666;
    padding: 5px 10px;
    margin: 0 2px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.content-card .pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #d1d5db;
    color: #333;
}

.content-card .pagination .page-item.active .page-link {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #333;
}

.content-card .pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #ccc;
    border-color: #e5e7eb;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 10px;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-list a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    padding-left: 20px;
}

.sidebar-list a.active {
    background: rgba(59, 130, 246, 0.1);
}

.sidebar-list a.active i {
    color: white;
}

.sidebar-list a i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 16px;
}

/* Data Pegawai Responsive */
@media (max-width: 992px) {
    .table-pegawai {
        font-size: 0.85rem;
    }
    
    .table-pegawai thead th,
    .table-pegawai tbody td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .table-pegawai {
        font-size: 0.8rem;
    }
    
    .table-pegawai thead th {
        padding: 10px 6px;
        font-size: 0.75rem;
    }
    
    .table-pegawai tbody td {
        padding: 10px 6px;
    }
    
    .content-card .pagination .page-link {
        padding: 6px 10px;
        font-size: 0.85rem;
        margin: 0 2px;
    }
}

/* Profil Page Specific Styles */
/* Breadcrumb Section */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.breadcrumb-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Page Header (alternative to breadcrumb-section) */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Content Section */
.content-section {
    padding: 40px 0 80px;
}

.content-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    /* margin-bottom: 30px;
    padding-bottom: 15px; */
    /* border-bottom: 3px solid var(--accent-color); */
}

.content-card p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.content-card ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.content-card ul li {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-color);
    font-size: 0.95rem;
}

.article-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.article-meta .meta-item:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.article-meta .meta-item i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.article-meta .meta-text {
    font-weight: 500;
}

.article-meta .meta-divider {
    color: #d1d5db;
    font-weight: 300;
    padding: 0 5px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--primary-color);
}

/* Sidebar Card */
.sidebar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

/* News List in Sidebar */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 18px;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-link {
    text-decoration: none;
    display: flex;
    gap: 12px;
    transition: all 0.3s ease;
}

.news-link:hover {
    transform: translateX(3px);
}

.news-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-link:hover .news-thumbnail {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.news-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
    
    /* Single line with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-link:hover .news-title {
    color: var(--secondary-color);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.news-meta i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.news-meta .meta-date {
    flex-shrink: 0;
}

.news-meta .meta-view {
    flex-shrink: 0;
}

.sidebar-card .sidebar-list a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    padding-left: 15px;
}

.sidebar-card .sidebar-list a i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.sidebar-card .info-box {
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.sidebar-card .info-box h6 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.sidebar-card .info-box p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    text-align: left;
}

.sidebar-card .info-box p:last-child {
    margin-bottom: 0;
}

.sidebar-card .info-box p i {
    margin-right: 12px;
    font-size: 1.2rem;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Profil Page Responsive */
@media (max-width: 768px) {
    .breadcrumb-section h1,
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h2 {
        font-size: 1.5rem;
    }
    
    .content-card p,
    .content-card ul li {
        font-size: 0.95rem;
    }
    
    .sidebar-card {
        position: relative;
        top: 0;
    }
    
    .article-meta {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .article-meta .meta-item {
        gap: 6px;
    }
    
    .article-meta .meta-divider {
        display: none;
    }
    
    .news-thumbnail {
        width: 70px;
        height: 55px;
    }
    
    .news-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .news-meta {
        font-size: 0.7rem;
        gap: 8px;
    }
}