.title-map {
    font-weight: bold;
}
.desc-map {
    margin-left: 5rem;
    margin-right: 5rem;
}
.hero {
    position: relative;
    background: url("/img/bg about.webp") center/cover no-repeat;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(250, 241, 241);
    font-size: 30px;
    font-weight: bold;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 2;
}

.hero .overlay {
    position: relative;
    z-index: 3;
    text-align: center;
}

.container-map {
    text-align: center;
    padding: 50px 0;
}

#map {
    margin-top: 3rem;
    height: 600px;
    width: 70%;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right: auto;
}

.overlay h2 {
    font-size: 50px;
    font-weight: bold;
}

/* Style untuk garis penghubung */
.leaflet-popup-content {
    max-width: 250px !important;
}

.map-image-popup {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}
.map-address-popup {
    color: #1c5072;
    text-decoration: none;
}
.buttonPrograms {
    width: 100%;
    justify-content: center;
    display: flex;
    
}
.buttonPrograms button {
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-right: 1px solid white;

}

@media screen and (min-width: 1025px) {
    #map {
        margin-top: 3rem;
        height: 600px;
        width: 70%;
        border-radius: 15px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
        margin-left: auto;
        margin-right: auto;
    }
    .leaflet-control-zoom {
        display: none;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #map {
        height: 500px;
        margin-left: 3rem;
        margin-right: 3rem;
        width: auto;
    }
}
@media screen and (max-width: 767px) {
    /* Styles for mobile */
    .hero {
        height: 300px;
        font-size: 20px;
    }

    .hero p {
        font-size: 15px;
    }

    .container-map {
        padding: 20px 0;
    }

    #map {
        height: 400px;
        margin-left: 1rem;
        margin-right: 1rem;
        width: auto;
    }

    .overlay h2 {
        font-size: 30px;
    }
    .title-map {
        margin-right: 2rem;
        margin-left: 2rem;
    }
    .desc-map {
        margin-right: 2rem;
        margin-left: 2rem;
    }
}
