
html, body { max-width: 100%; overflow-x: hidden; }

/* ---------- caption banner (bayangan dari .css3-gradient1) ---------- */
#bannerCaption {
    text-align: center;
    font-size: 19px;
    padding: 15px;
    text-transform: uppercase;
}

/* ---------- judul section ---------- */
.section-title { margin: 3rem 0 2rem; color: #444; text-align: center; }

/* ---------- menu 4 ikon ---------- */
.menu-icons { padding: 2.5rem 0 1rem; text-align: center; }
.menu-icons a { display: block; }
.menu-icons .icon { position: relative; display: inline-block; }
.menu-icons .fa { color: #444; }
.menu-badge {
    position: absolute; top: -10px; left: 100%; margin-left: -8px;
    padding: 3px 10px; background: #696969; color: #fbff00;
    font-size: 15px; font-weight: 700; line-height: 1.5;
}
.menu-label { margin-top: .5rem; }

/* ---------- foto profil: kotak 1:1, tampil bulat ---------- */
.testimonials .testimonial-item img.profile-photo {
    display: block; margin-left: auto; margin-right: auto;
    width: 110px; height: 110px; max-width: 110px;
    aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%;
    pointer-events: none; user-select: none;
}
.testimonial-item h6 { margin: 0; }

/* ---------- SDGs ---------- */
.sdg-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 20px; max-width: 700px; }
.sdg-item { position: relative; text-align: center; }
.sdg-item img { display: block; width: 100%; height: auto; opacity: .85; transition: opacity .2s, transform .2s; }
.sdg-item a:hover img { opacity: 1; transform: scale(1.1); }
.sdg-count {
    position: absolute; top: -8px; right: -8px; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%;
    background: #000; color: yellow; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: font-size .3s, transform .3s; cursor: pointer;
}
.sdg-count:hover {
    background: #fff; color: #000; font-size: 16px;
    width: 60px; height: 60px; border-radius: 10%; border: 2px solid #000;
    transform: rotate(20deg);
}
.sdgs-text {
    padding: 15px; background: #f9f9f9; border-radius: 10px;
    font-size: 15px; line-height: 1.6; text-align: left;
}

/* ---------- peta ---------- */
#map {
    height: 650px; width: 100%; max-width: 1200px; margin: 20px auto;
    border-radius: 10px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,.2);
}
.leaflet-container { font-family: inherit; }
.leaflet-control-attribution .leaflet-attribution-flag { display: none !important; }

/* ---------- footer ---------- */
footer.footer .list-inline a { text-decoration: none; }

/* ---------- responsif ---------- */
@media (max-width: 991px) {
    #map { height: 420px; }
}
@media (max-width: 575px) {
    .sdg-grid { grid-template-columns: repeat(3, 1fr); padding: 12px; }
    #bannerCaption { font-size: 15px; }
}