/* Custom styles for the modal */
#offcanvasWithBothOptions .modal-content {
    border-radius: 0; /* Remove rounded corners for fullscreen */
}

#offcanvasWithBothOptions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Hover effect for buttons */
    color: white; /* Ensure text stays white on hover */
}

#offcanvasWithBothOptions .modal-header,
#offcanvasWithBothOptions .modal-footer {
    padding: 1rem; /* Consistent padding */
}

/* Custom hover effect for the download button */
#downloadBtn:hover {
    background-color: rgba(255, 255, 255, 0.2) !important; /* Lighten background on hover */
    transform: scale(1.1); /* Slightly enlarge the button */
    transition: all 0.2s ease-in-out; /* Smooth transition */
    color:white;
}

* {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: black;
}

.footer {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

.footer h1 {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #343a40;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.footer h5 {
    font-size: 1.2rem;
    color: #495057;
    font-family: 'Arial', sans-serif;
}

.footer small {
    color: #6c757d;
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}

.footer .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.footer a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

#googleMap {
    width: 100%;
    height: 100%;
    /* Use viewport height to fill the screen */
}

body {
    overflow-x: hidden;
    background-color: white;
}

.box {
    width: 250px;
    height: 250px;
    background-color: blue;
    overflow: hidden;
    transition: .3s ease-in-out;
}

.navigasi a {
    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.navigasi .home {
    background-image: url(/image/Kbupati.jpg);
    background-size: cover;
    background-position-y: 140px;
    /* filter: brightness(50%); */

}

.navigasi .About {
    background-image: url(/image/alfalah.jpeg);
    background-size: cover;
    background-position-y: -50px;
    /* filter: brightness(50%); */

}

.navigasi .PAdm {
    background-image: url(/image/jamtangan.jpeg);
    background-size: cover;
    background-position-y: -50px;
    /* filter: brightness(50%); */

}

.navigasi .PTm {
    background-image: url(/image/mgr.jpg);
    background-size: cover;
    background-position-y: -50px;
    /* filter: brightness(50%); */

}

.navigasi .PTr {
    background-image: url(/image/mgr2.jpg);
    background-size: cover;
    background-position-y: -50px;
    /* filter: brightness(50%); */

}

.navigasi .About,
.PTm,
.home,
.PAdm,
.PTr {
    transition: .2s ease-in-out;
}

.navigasi .About:hover,
.PTm:hover,
.home:hover,
.PAdm:hover,
.PTr:hover {
    transform: scale(1.1);
    font-size: 17px;
}

/* .boxHover h3 {
    visibility: hidden;
} */
.boxHover {
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, .0) 0%, rgb(12, 12, 12) 100%);
    transform: translateY(150px);
    transition: .5s ease-in-out;
    display: flex;
    box-sizing: border-box;
    padding: 5px;
    padding-left: 10px;
}

.box img {
    position: absolute;
    width: 400px;
    transition: .2s ease-in-out;

}

.box:hover>img {
    transform: scale(1.2);
    transition: .2s ease-in-out;
}

.box {
    transform: scale(.92);
    border-radius: 10px;

    transition: .2s ease-in-out;
    cursor: pointer;
}

.box:hover>.boxHover {
    transform: translateY(100px);
    justify-content: center;
    transition: .5s ease-in-out;
}

.myButton {
    margin-top: 10px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    background-color: blue;
    border-radius: 50px;
}

.myButton span {
    background-color: black;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;

}

.pDasar span {
    padding-bottom: 2px;
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    border-radius: 10px;
}

.line {
    background-color: rgb(133, 133, 133);
    width: 5px;
    height: 250px;
    border-radius: 10px;
}

/* .box:hover>.boxHover h3 {
    visibility: visible;
    transition: .5s ease-in-out;
}
 */

model-viewer {
    width: 700px;
    height: 700px;
}

.hero {
    width: 100%;
    background-image: url(/image/blueabstract1.jpg);
    background-size: cover;

}

.hero h1 {
    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.fs-madimi {
    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footer {
    width: 100%;
}

.glass_color_white {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass_color_white_noShadow {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-go {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 39%, rgba(11, 187, 255, 0.9416141456582633) 100%);
}

.gradasi-dasar {
    background: rgb(255, 255, 255);
    background: linear-gradient(360deg, rgba(255, 255, 255, 1) 20%, rgba(11, 187, 255, 0.9416141456582633) 100%);
}

.card-gr {
    background-color: white;
    height: 400px;
    background-size: cover;
}

.dot-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: white;
    transition: 0.3s ease-in-out;
    border: 3px solid;
    border-color: black;
}

.dot-container-in {
    background-color: brown;
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.dot-container:has(.dot-container-in:hover) {
    transform: scale(.8);
}

.img-button-scale {
    transition: 0.1s ease-in-out;
}

.img-button-scale:hover {
    transform: scale(1.2);
}

.offcanvas-end {
    width: 1000px !important;
}

/* card slider */

.mgtop {
    margin-top: 150px !important;
}

.fp {
    padding: 100px;
}

.statistik-highlight {
    background: linear-gradient(120deg, rgba(255,255,255,0.92) 60%, rgba(11,187,255,0.13) 100%);
    backdrop-filter: blur(8px) saturate(1.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(11,187,255,0.10);
    padding: 2.5rem 1.5rem;
    margin-bottom: 2.5rem;
    border: 1.5px solid #b6e6fa;
    position: relative;
    overflow: hidden;
}
.statistik-highlight h2 {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1976d2;
    text-shadow: 0 2px 8px rgba(11,187,255,0.08);
}
.statistik-highlight .card-go {
    background: transparent;
    box-shadow: none;
    gap: 2rem !important;
}
.statistik-highlight .card-gr {
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 4px 16px 0 rgba(11,187,255,0.10);
    border: 1.5px solid #b6e6fa;
    transition: box-shadow 0.25s, transform 0.18s, background 0.25s;
    position: relative;
}
.statistik-highlight .card-gr:hover {
    box-shadow: 0 8px 32px 0 rgba(11,187,255,0.18);
    background: rgba(11,187,255,0.08);
    transform: translateY(-6px) scale(1.04);
    z-index: 2;
}
.statistik-highlight .card-gr img {
    margin-bottom: 0.7rem;
    filter: drop-shadow(0 2px 8px rgba(11,187,255,0.10));
}
.statistik-highlight .fw-bold {
    color: #1976d2;
    text-shadow: 0 2px 8px rgba(11,187,255,0.08);
}

.statistik-abu {
    color: #495057 !important;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(11,187,255,0.08);
    font-size: 1.04rem;
    letter-spacing: 0.2px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #1976d2;
    animation: typing-abu 2.2s steps(40, end), blink-caret-abu 0.7s step-end infinite;
}
@keyframes typing-abu {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes blink-caret-abu {
    from, to { border-color: transparent; }
    50% { border-color: #1976d2; }
}
