:root {
    --primary-color: #0d47a1;
    --accent-color: #4facfe;
    --text-dark: #2c3e50;
    --card-bg: #ffffff;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.about-page {
    overflow-x: hidden;
    margin-top: 0;
}

/* HERO SECTION */
.hero-section {
    margin-top: 0;
    background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.95)), url('/img/bnnbersama.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0 140px;
    color: white;
    border-radius: 0 0 50% 50% / 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 20px auto;
    opacity: 0.9;
}

/* CONTENT WRAPPER */
.content-wrapper {
    margin-top: -60px;
    margin-bottom: 50px;
}

/* INFO CARDS */
.info-card {
    background: var(--card-bg);
    border: none;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* KONTAK */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    text-align: center;
}

/* MEDIA SOSIAL (Kembali ke Animasi Awal Anda) */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-grid a {
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-grid a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1); /* Animasi membesar saat hover */
}

/* =============================================
   PERBAIKAN MAP SECTION (SEJAJAR & PANJANG)
   ============================================= */

/* Row pembungkus menggunakan flexbox agar kolom sejajar tinggi */
.maps-container .row {
    display: flex;
    flex-wrap: wrap;
}

/* Kotak Peta (Map Box) */
.map-box {
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column; /* Menyusun vertikal agar peta bisa 'grow' */
    height: 100%; /* Memaksa box mengikuti tinggi kolom */
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    min-height: 40px;
}

.map-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Elemen Map (Canvas Leaflet) */
.map-element {
    flex-grow: 1;      /* Memaksa peta mengisi sisa ruang bawah agar sejajar */
    min-height: 420px; /* Menambah panjang peta ke bawah sesuai permintaan */
    border-radius: 12px;
    z-index: 1;
}

/* USER LOCATION MARKER */
.user-location {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #000000;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    display: block;
    z-index: 500;
}

.user-location::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .content-wrapper { margin-top: -40px; }
    .map-element { min-height: 350px; }
}