:root {
    --primary-color: #1a5fb4;
    --primary-dark: #0d4d9c;
    --secondary-color: #2d7fd3;
    --accent-color: #4a9df0;
    --light-color: #f8f9fa;
    --dark-color: #1e293b;
    --text-color: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    z-index: 1030;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(26, 95, 180, 0.05);
}

/* Active state for single menu items */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Dropdown menu styling */
.dropdown-toggle {
    padding-right: 1.5rem !important;
    position: relative;
}

/* Style untuk dropdown arrow menggunakan pseudo-element */
.dropdown-toggle::after {
    /* Hapus ikon default Bootstrap */
    display: none !important;
}

/* Tambahkan custom icon dengan ::after - DEFAULT ARROW DOWN */
.navbar .dropdown-toggle::after {
    content: '\f282'; /* Bootstrap icon: bi-chevron-down (arrow down) */
    font-family: 'bootstrap-icons';
    border: none !important;
    vertical-align: middle;
    font-weight: normal;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block !important;
}

/* Rotasi icon saat dropdown terbuka - menjadi ARROW UP */
.navbar .dropdown.show .dropdown-toggle::after {
    content: '\f286'; /* Bootstrap icon: bi-chevron-up (arrow up) */
    color: var(--primary-color);
    /* Tidak perlu transform: rotate karena kita ganti ikonnya */
}

/* Tambahkan sedikit rotasi untuk efek smooth jika ingin */
.navbar .dropdown .dropdown-toggle::after {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown Menu */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    animation: dropdownFadeIn 0.3s ease-out;
}

/* Dropdown toggle aktif */
.navbar .dropdown-toggle.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Dropdown toggle aktif dengan arrow berwarna */
.navbar .dropdown-toggle.active::after {
    color: var(--primary-color) !important;
}

/* Dropdown item aktif dengan background */
.dropdown-item.active {
    background-color: rgba(26, 95, 180, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    position: relative;
}

/* Garis indikator untuk dropdown item aktif */
.dropdown-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    position: relative;
}

.dropdown-item:hover {
    background-color: rgba(26, 95, 180, 0.05);
    color: var(--primary-color);
}

.dropdown-item.active {
    color: var(--primary-color) !important;
    background-color: rgba(26, 95, 180, 0.1) !important;
    font-weight: 600;
}

.dropdown-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

/* =========================================== */
/* HERO SECTION - DIUBAH SEPERTI REFERENSI     */
/* =========================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Banner Swiper Container */
.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: relative;
    width: 100%;
}

.banner-slide {
    width: 100%;
}

.banner-img {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    display: block;
}

/* Desktop (min-width: 992px) - Rasio 16:5 */
@media (min-width: 992px) {
    .hero-section {
        height: auto;
        min-height: 375px; /* 1200px × 375px ratio 16:5 */
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 300px;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .hero-section {
        height: auto;
        min-height: 250px;
    }
}

/* Very Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 200px;
    }
}

@media (min-width: 1400px) {
    .banner-img {
        max-height: 500px;
        margin: 0 auto;
    }
}

/* Swiper Navigation */
.banner-nav {
    color: white;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner-nav::after {
    font-size: 1rem;
    font-weight: bold;
}

.banner-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.banner-pagination {
    bottom: 20px !important;
}

.banner-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.2);
}

/* =========================================== */
/* END HERO SECTION                            */
/* =========================================== */

/* News Section */
.news-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.view-all-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-body {
    padding: 1.2rem;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    -webkit-line-clamp: 2;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.news-card-footer {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.news-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Quick Links Section */
.quick-links-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.quick-links-section .section-header {
    margin-bottom: 2.5rem;
}

.quick-link-card {
    display: block;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.quick-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.quick-link-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.quick-link-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Sejarah Section */
.sejarah-section {
    padding: 5rem 0;
    margin-bottom: 3rem;
    background-color: var(--white);
}

.sejarah-content-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* Styling untuk konten dari text editor */
.editor-content {
    color: var(--text-color);
    line-height: 1.8;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.editor-content h1 { font-size: 2rem; }
.editor-content h2 { font-size: 1.75rem; }
.editor-content h3 { font-size: 1.5rem; }
.editor-content h4 { font-size: 1.25rem; }
.editor-content h5 { font-size: 1.1rem; }
.editor-content h6 { font-size: 1rem; }

.editor-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.editor-content ul,
.editor-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.editor-content li {
    margin-bottom: 0.5rem;
}

.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.editor-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

.editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.editor-content table th,
.editor-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.editor-content table th {
    background-color: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
}

.editor-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.editor-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.editor-content strong,
.editor-content b {
    font-weight: 600;
    color: var(--dark-color);
}

.editor-content em,
.editor-content i {
    font-style: italic;
}

/* Responsive untuk Sejarah Section */
@media (max-width: 768px) {
    .sejarah-section {
        padding: 3rem 0;
    }
    
    .sejarah-content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .editor-content h1 { font-size: 1.75rem; }
    .editor-content h2 { font-size: 1.5rem; }
    .editor-content h3 { font-size: 1.25rem; }
    .editor-content h4 { font-size: 1.1rem; }
}

@media (max-width: 576px) {
    .sejarah-content-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .editor-content {
        font-size: 0.95rem;
    }
}

 /* Profil Bupati & Wakil Section */
 .profil-bupati-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.profil-bupati-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* Foto Bersama Section */
.foto-bersama-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.foto-bersama {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-bersama img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 15px;
}

.foto-bersama-info {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 1.5rem;
    text-align: center;
}

.foto-bersama-title {
    color: var(--dark-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.foto-bersama-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.foto-bersama-period {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Individual Profile Cards */
.pejabat-profile-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 100%;
}

.pejabat-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.pejabat-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pejabat-photo-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.pejabat-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
    max-width: 350px;
    margin: 0 auto;
}

.pejabat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pejabat-info-card {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.pejabat-name {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    text-align: center;
}

.pejabat-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.pejabat-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pejabat-detail-item:last-child {
    border-bottom: none;
}

.pejabat-detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.pejabat-detail-item>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.status-text-active {
    color: #10b981;
}

.status-text-inactive {
    color: #ef4444;
}

/* Content Section with Collapse */
.pejabat-content-section {
    margin-top: 2rem;
}

.collapse-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 95, 180, 0.2);
}

.collapse-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 95, 180, 0.3);
}

.collapse-header-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.collapse-header-content i {
    font-size: 1.5rem;
}

.collapse-header-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.collapse-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.collapse-icon.rotated {
    transform: rotate(180deg);
}

.collapse-body {
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Styling untuk konten editor */
.collapse-body .editor-content {
    background: transparent;
    padding: 0;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

.collapse-body .editor-content p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.collapse-body .editor-content ul {
    list-style: none;
    padding-left: 0;
}

.collapse-body .editor-content ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.collapse-body .editor-content ul li:last-child {
    border-bottom: none;
}

.collapse-body .editor-content ul li::before {
    content: '\f5ed';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.collapse-body .editor-content strong {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .pejabat-profile-card {
        margin-bottom: 2rem;
    }

    .foto-bersama {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .profil-bupati-section {
        padding: 3rem 0;
    }

    .profil-bupati-card {
        padding: 1.5rem;
    }

    .pejabat-profile-card {
        padding: 1.5rem;
    }

    .pejabat-name {
        font-size: 1.1rem;
    }

    .pejabat-title {
        font-size: 0.9rem;
    }

    .foto-bersama-title {
        font-size: 1.1rem;
    }

    .foto-bersama-subtitle {
        font-size: 0.9rem;
    }

    .content-section-title {
        font-size: 1.1rem;
    }

    .collapse-header-title {
        font-size: 1rem;
    }

    .collapse-body {
        padding: 1rem;
    }

    .collapse-body .editor-content {
        padding-left: 1rem;
    }

    .foto-bersama {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .profil-bupati-card {
        padding: 1rem;
    }

    .pejabat-profile-card {
        padding: 1rem;
    }

    .foto-bersama-info {
        padding: 1rem;
    }
}

 /* Profil Sekretaris Daerah Section */
 .profil-sekda-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.profil-sekda-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Foto dan Info Sekda */
.sekda-photo-wrapper {
    position: relative;
}

.sekda-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    aspect-ratio: 3/4;
}

.sekda-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Card */
.sekda-info-card {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sekda-name {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.sekda-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sekda-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sekda-detail-item:last-child {
    border-bottom: none;
}

.sekda-detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.sekda-detail-item>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.status-text-active {
    color: #10b981;
}

.status-text-inactive {
    color: #ef4444;
}

/* Content Section */
.sekda-content-section {
    margin-bottom: 2.5rem;
}

.sekda-content-section:last-child {
    margin-bottom: 0;
}

.content-section-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
}

.content-section-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Styling untuk konten editor di profil sekda */
.sekda-content-section .editor-content {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

.sekda-content-section .editor-content p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.sekda-content-section .editor-content ul {
    list-style: none;
    padding-left: 0;
}

.sekda-content-section .editor-content ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.sekda-content-section .editor-content ul li:last-child {
    border-bottom: none;
}

.sekda-content-section .editor-content ul li::before {
    content: '\f5ed';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.sekda-content-section .editor-content strong {
    color: var(--primary-color);
}

/* Responsive Profil Sekda */
@media (max-width: 991px) {
    .sekda-photo {
        max-width: 400px;
        margin: 0 auto 1.5rem;
    }

    .sekda-info-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .profil-sekda-section {
        padding: 3rem 0;
    }

    .profil-sekda-card {
        padding: 1.5rem;
    }

    .sekda-name {
        font-size: 1.1rem;
    }

    .sekda-title {
        font-size: 0.9rem;
    }

    .content-section-title {
        font-size: 1.1rem;
    }

    .sekda-content-section .editor-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .profil-sekda-card {
        padding: 1rem;
    }

    .sekda-content-section .editor-content {
        padding: 1rem;
    }
}

/* =========================================== */
/* VISI & MISI SECTION */
/* =========================================== */
.visi-misi-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.03), rgba(45, 127, 211, 0.03));
}

/* Container untuk konten dari editor */
.visi-misi-content-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* Header khusus untuk Visi & Misi */
.visi-misi-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.visi-misi-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.visi-title, .misi-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.visi-title::after, .misi-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

/* Content Box untuk Visi dan Misi */
.visi-content-box, .misi-content-box {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.visi-content-box:last-child, .misi-content-box:last-child {
    margin-bottom: 0;
}

/* Visi Content Styling */
.visi-text-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    margin: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 2px dashed var(--accent-color);
}

/* Misi List Styling */
.misi-list {
    counter-reset: misi-counter;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.misi-list li {
    counter-increment: misi-counter;
    padding: 1rem 1.5rem 1rem 4rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.misi-list li:hover {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.misi-list li::before {
    content: counter(misi-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.misi-list li:last-child {
    margin-bottom: 0;
}

/* Responsive Visi & Misi */
@media (max-width: 768px) {
    .visi-misi-section {
        padding: 3rem 0;
    }
    
    .visi-misi-content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .visi-misi-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .visi-title, .misi-title {
        font-size: 1.5rem;
    }
    
    .visi-content-box, .misi-content-box {
        padding: 1.5rem;
    }
    
    .visi-text-highlight {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
    
    .misi-list li {
        padding: 0.8rem 1rem 0.8rem 3.5rem;
        font-size: 0.95rem;
    }
    
    .misi-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .visi-misi-content-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .visi-content-box, .misi-content-box {
        padding: 1rem;
    }
    
    .visi-text-highlight {
        font-size: 1rem;
    }
}

/* Struktur Organisasi Section */
.struktur-organisasi-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.struktur-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.struktur-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.struktur-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 250px;
}

.struktur-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.struktur-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.download-btn i {
    font-size: 1.1rem;
}

/* Struktur Image Wrapper */
.struktur-image-wrapper {
    position: relative;
    background: var(--light-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.struktur-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.struktur-image:hover {
    transform: scale(1.02);
}

.zoom-btn:hover {
    background: rgba(13, 77, 156, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.zoom-btn i {
    font-size: 1.2rem;
}

/* Struktur Footer */
.struktur-footer {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.struktur-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.struktur-note i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Modal Customization */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
    background: var(--light-color);
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 1.5rem;
    background: var(--white);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.zoom-control-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.zoom-control-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.zoom-control-btn:active {
    transform: scale(0.95);
}

/* Panzoom Container */
.panzoom-container {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: var(--light-color);
    border-radius: 8px;
    position: relative;
    cursor: grab;
}

.panzoom-container:active {
    cursor: grabbing;
}

.panzoom-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Zoom Hint */
.zoom-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.05), rgba(45, 127, 211, 0.05));
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.zoom-hint i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Update Modal Body untuk Struktur */
#strukturModal .modal-body {
    padding: 1rem;
    background: var(--light-color);
    position: relative;
}

/* Responsive Zoom Controls */
@media (max-width: 768px) {
    .panzoom-container {
        height: 50vh;
    }
    
    .zoom-controls {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem;
    }
    
    .zoom-control-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .zoom-hint {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}

/* Responsive Visi Misi & Struktur */
@media (max-width: 768px) {
    .visi-misi-section,
    .struktur-organisasi-section {
        padding: 3rem 0;
    }
    
    .visi-card,
    .misi-card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .visi-text {
        font-size: 1.05rem;
    }
    
    .misi-content ol li {
        padding: 1rem 1rem 1rem 3.5rem;
        font-size: 0.95rem;
    }
    
    .misi-content ol li::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .struktur-card {
        padding: 1.5rem;
    }
    
    .struktur-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .zoom-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .visi-card,
    .misi-card,
    .struktur-card {
        padding: 1rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .visi-content {
        padding: 1.5rem;
    }
    
    .struktur-image-wrapper {
        padding: 1rem;
    }
    
    .zoom-btn {
        position: static;
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* =========================================== */
/* GALERI SECTION                              */
/* =========================================== */
.galeri-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.03), rgba(45, 127, 211, 0.03));
}

/* Galeri Cards - Mirip dengan News Cards tapi dengan variasi */
.galeri-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.galeri-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.galeri-image {
    position: relative;
    overflow: hidden;
    height: 200px; /* Sedikit lebih tinggi */
}

.galeri-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-card:hover .galeri-image img {
    transform: scale(1.05);
}

.galeri-card-body {
    padding: 1.2rem;
    flex-grow: 1;
}

.galeri-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.galeri-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    min-width: 200px;
    line-height: 1.4;
}

.galeri-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.galeri-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem; /* Sedikit lebih besar karena tidak ada deskripsi */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.galeri-card-footer {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.galeri-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.galeri-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Count Badge */
.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(26, 95, 180, 0.1);
    padding: 0.25rem 0.75rem; /* Sedikit lebih besar */
    border-radius: 12px;
    font-size: 0.8rem; /* Sedikit lebih besar */
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive Galeri */
@media (max-width: 768px) {
    .galeri-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .galeri-date {
        min-width: unset;
        order: 1;
    }
    
    .galeri-count {
        justify-content: flex-start;
        order: 2;
    }
    .galeri-section {
        padding: 3rem 0;
    }
    
    .galeri-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .galeri-card {
        margin-bottom: 1.2rem;
    }
    .galeri-count {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .count-badge {
        margin-bottom: 0.2rem;
    }
}

 /* =========================================== */
    /* KONTAK SECTION                              */
    /* =========================================== */
    .kontak-section {
        padding: 5rem 0;
        background-color: var(--white);
    }

    /* Kontak Card */
    .kontak-card {
        background: var(--white);
        padding: 2.5rem;
        border-radius: 15px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
    }

    /* Info Kontak */
    .kontak-info-item {
        display: flex;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1.2rem 0;
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .kontak-info-item:hover {
        background: linear-gradient(135deg, rgba(26, 95, 180, 0.03), rgba(45, 127, 211, 0.03));
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 8px;
    }

    .kontak-info-item:last-child {
        border-bottom: none;
    }

    .kontak-info-item i {
        font-size: 1.8rem;
        color: var(--primary-color);
        min-width: 40px;
        text-align: center;
        margin-top: 0.3rem;
    }

    .kontak-info-content {
        flex: 1;
    }

    .kontak-info-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark-color);
        margin-bottom: 0.3rem;
    }

    .kontak-info-value {
        font-size: 1rem;
        color: var(--text-color);
        line-height: 1.5;
    }

    .kontak-info-value a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .kontak-info-value a:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

    /* Media Sosial */
    .media-sosial-section {
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 2px solid var(--border-color);
    }

    .media-sosial-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--dark-color);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .media-sosial-title i {
        color: var(--primary-color);
        font-size: 1.5rem;
    }

    .media-sosial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .media-sosial-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem;
        background: var(--light-color);
        border-radius: 10px;
        text-decoration: none;
        color: var(--text-color);
        transition: all 0.3s ease;
        border: 1px solid var(--border-color);
    }

    .media-sosial-item:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    .media-sosial-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        transition: all 0.3s ease;
    }

    .media-sosial-label {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Warna khusus untuk setiap media sosial */
    .facebook-item:hover .media-sosial-icon {
        color: #1877f2;
    }

    .whatsapp-item:hover .media-sosial-icon {
        color: #25d366;
    }

    .instagram-item:hover .media-sosial-icon {
        color: #e4405f;
    }

    .twitter-item:hover .media-sosial-icon {
        color: #000000;
    }

    .tiktok-item:hover .media-sosial-icon {
        color: #000000;
    }

    .youtube-item:hover .media-sosial-icon {
        color: #ff0000;
    }

    .telegram-item:hover .media-sosial-icon {
        color: #0088cc;
    }

    .linkedin-item:hover .media-sosial-icon {
        color: #0a66c2;
    }

    /* Peta Container */
    .peta-container {
        height: 100%;
        min-height: 500px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
    }

    #petaLeaflet {
        width: 100%;
        height: 100%;
        min-height: 500px;
        border-radius: 12px;
    }

    /* Popup Peta Styling - Simplified */
    .leaflet-popup-content {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        min-width: 200px;
    }

    .popup-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .popup-title i {
        font-size: 1.3rem;
    }

    /* Responsive Kontak */
    @media (max-width: 991px) {
        .kontak-section {
            padding: 4rem 0;
        }

        .kontak-card {
            padding: 2rem;
        }

        .peta-container {
            margin-top: 2rem;
            min-height: 400px;
        }

        #petaLeaflet {
            min-height: 400px;
        }

        .media-sosial-grid {
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .kontak-section {
            padding: 3rem 0;
        }

        .kontak-card {
            padding: 1.5rem;
        }

        .kontak-info-item {
            padding: 1rem 0;
        }

        .media-sosial-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .media-sosial-item {
            padding: 1rem 0.5rem;
        }
    }

    @media (max-width: 576px) {
        .kontak-card {
            padding: 1rem;
        }

        .media-sosial-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
        }

        .media-sosial-icon {
            font-size: 1.8rem;
        }

        .media-sosial-label {
            font-size: 0.85rem;
        }

        .peta-container {
            min-height: 350px;
        }

        #petaLeaflet {
            min-height: 350px;
        }
    }

    @media (max-width: 400px) {
        .media-sosial-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-left {
    margin-bottom: 1.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 500px;
}

.footer-right {
    text-align: right;
}

.social-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .news-section {
        padding: 4rem 0;
    }
    
    .quick-links-section {
        padding: 3rem 0;
    }
    .galeri-section {
        padding: 4rem 0;
    }
    
    .footer-right {
        text-align: left;
        margin-top: 2rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .banner-img {
        object-fit: contain;
        background-color: #fff;
    }
    .hero-section + .news-section {
        padding-top: 1.25rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .news-image {
        height: 160px;
    }
    
    .quick-link-card {
        padding: 1.5rem 1rem;
    }
    .galeri-section {
        padding: 3rem 0;
    }
    .hero-section + .galeri-section {
        padding-top: 1.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
    }
    
    .navbar .dropdown-toggle::after {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .news-section,
    .quick-links-section {
        padding: 3rem 0;
    }
    
    .footer {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .view-all-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .news-card {
        margin-bottom: 1.2rem;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .footer-left {
        text-align: center;
    }
    
    .disclaimer {
        text-align: center;
        margin: 0 auto;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .quick-link-card {
        padding: 1.25rem 0.75rem;
    }
    
    .quick-link-card i {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}