:root {
    --primary: #1a56db;
    --primary-dark: #1441a0;
    --primary-light: #e8f0fe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-100);
    color: var(--dark);
    overflow-x: hidden;
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-custom.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.3rem 0;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark) !important;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand-custom img {
    width: 34px;
    height: auto;
    flex-shrink: 0;
}

.navbar-brand-custom span {
    color: var(--primary);
}

/* Nav links — compact so all items fit on one row */
.nav-link-custom {
    color: var(--gray-700) !important;
    font-weight: 500;
    font-size: 0.82rem;
    padding: 0.4rem 0.55rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.btn-survey {
    background: var(--gradient-accent);
    border: none;
    color: var(--dark) !important;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
}

.btn-survey:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Medium screens — slightly bigger font when space allows */
@media (min-width: 1280px) {
    .nav-link-custom {
        font-size: 0.88rem;
        padding: 0.45rem 0.75rem !important;
    }

    .btn-survey {
        font-size: 0.88rem;
        padding: 0.45rem 1.2rem;
    }

    .navbar-brand-custom {
        font-size: 1.1rem;
    }

    .navbar-brand-custom img {
        width: 38px;
    }
}

/* ========== HERO SLIDER ========== */
.hero-carousel {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.15) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 0;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.carousel-indicators-custom {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    border-color: var(--white);
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow.prev {
    left: 1.5rem;
}

.carousel-arrow.next {
    right: 1.5rem;
}

/* ========== SECTIONS ========== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .badge-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.section-title p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* ========== INFO CARDS ========== */
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.info-card .icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.icon-orange {
    background: #ffedd5;
    color: #ea580c;
}

.icon-rose {
    background: #ffe4e6;
    color: #e11d48;
}

.icon-teal {
    background: #ccfbf1;
    color: #0d9488;
}

/* ========== VISI MISI ========== */
.visi-section {
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.visi-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(26, 86, 219, 0.1);
}

.visi-section .section-title .badge-label {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

.visi-section .section-title h2 {
    color: var(--white);
}

.motto-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.visi-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.visi-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.visi-card p,
.visi-card div {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== PELAYANAN SLIDER ========== */
.pelayanan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    cursor: pointer;
}

.pelayanan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pelayanan-card .p-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: white;
}

.pelayanan-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

/* ========== JP DETAIL MODAL ========== */
.jp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.jp-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.jp-modal {
    background: var(--white);
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s ease;
}

.jp-modal-overlay.show .jp-modal {
    transform: scale(1) translateY(0);
}

.jp-modal-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.jp-modal-header .jp-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.jp-modal-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.jp-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jp-modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.jp-modal-body {
    padding: 0 2rem 2rem;
    text-align: center;
}

.jp-modal-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin: 0;
}

.jp-modal-body .jp-no-desc {
    color: var(--gray-400);
    font-style: italic;
}

/* ========== LINK PILIHAN ========== */
.link-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.link-card img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
    margin: 0 auto;
}

/* ========== BERITA ========== */
.berita-section {
    background: var(--gray-100);
}

.berita-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.berita-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.berita-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

.berita-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-card:hover .berita-card-img img {
    transform: scale(1.08);
}

.berita-card-img .berita-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(26, 86, 219, 0.3);
}

.berita-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.berita-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--gray-500);
}

.berita-meta-item i {
    font-size: 0.72rem;
    color: var(--primary);
}

.berita-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card-body p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.berita-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.berita-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.berita-read-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.berita-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.berita-empty i {
    font-size: 3rem;
    color: var(--gray-300);
    display: block;
    margin-bottom: 1rem;
}

.berita-empty h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.berita-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    color: var(--primary);
    font-size: 2.5rem;
}

/* ========== BERITA DETAIL MODAL ========== */
.berita-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.berita-modal-overlay.show {
    display: flex;
}

.berita-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 720px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: beritaModalIn 0.35s ease;
    margin: auto;
}

@keyframes beritaModalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.berita-modal-img {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
}

.berita-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-modal-img .bm-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.4;
}

.berita-modal-img .bm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--dark);
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.berita-modal-img .bm-close:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.berita-modal-body {
    padding: 2rem 2.5rem;
}

.berita-modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.bm-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.bm-meta-tag.date {
    background: var(--primary-light);
    color: var(--primary);
}

.bm-meta-tag.author {
    background: #dcfce7;
    color: #16a34a;
}

.bm-meta-tag.day {
    background: #ffedd5;
    color: #ea580c;
}

.berita-modal-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.berita-modal-content {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 2;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.berita-modal-footer {
    padding: 1.25rem 2.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
}

.bm-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1.5rem;
    border: 1.5px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bm-close-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ========== GALERI ========== */
.galeri-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.galeri-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.galeri-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gray-200);
}

.galeri-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-card:hover .galeri-img-wrapper img {
    transform: scale(1.05);
}

.galeri-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.galeri-body {
    padding: 1.25rem 1.5rem;
}

.galeri-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.galeri-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.galeri-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ========== GOOGLE MAPS ========== */
.lokasi-section {
    background: var(--white);
}

.maps-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.maps-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    min-height: 420px;
}

.maps-embed {
    position: relative;
    background: var(--gray-200);
    min-height: 420px;
}

.maps-embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

.maps-info-panel {
    background: var(--gradient-dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.maps-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.maps-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.maps-info-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.maps-info-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.maps-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.maps-info-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.maps-info-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    margin-bottom: 2px;
}

.maps-info-value {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.maps-info-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-accent);
    color: var(--dark) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ========== FOOTER ========== */
.footer-main {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
}

.footer-main h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-main a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-main a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== VISITOR COUNTER ========== */
.visitor-counter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.visitor-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.visitor-stat-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}

.visitor-stat-item .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1.2;
}

.visitor-stat-item .stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.country-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.country-list li:last-child {
    border-bottom: none;
}

.country-list .country-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-list .country-flag {
    font-size: 1.1rem;
}

.country-list .visit-count {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-carousel {
        height: 350px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .maps-container {
        grid-template-columns: 1fr;
    }

    .maps-embed {
        min-height: 300px;
    }

    .maps-info-panel {
        padding: 1.5rem;
    }

    .berita-modal-overlay {
        padding: 1rem 0.5rem;
    }

    .berita-modal-img {
        height: 200px;
    }

    .berita-modal-body {
        padding: 1.5rem;
    }

    .berita-modal-body h2 {
        font-size: 1.2rem;
    }

    .berita-modal-footer {
        padding: 1rem 1.5rem;
    }
}