.menu-utama {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.menu-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: none;       /* hilangkan background */
  padding: 10px;
  border: none;           /* hilangkan border */
}

.menu-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}

.menu-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  min-height: 32px; /* agar semua teks sejajar rata */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

@media (max-width: 480px) {
  .menu-item img {
    width: 80px;
    height: 80px;
  }
  .menu-item span {
    font-size: 0.75rem;
    min-height: 5px;
  }
}

/*Nav Atas*/
.bg {
    background-color: #830116;
    
}

/* navigasi */

  .bottom-nav {
    background-color: #830116;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 5px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  }

  .bottom-nav .nav-link {
    color: #f8f9fa;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
  }

  .bottom-nav .nav-link i {
    font-size: 1.4rem;
    margin-bottom: 3px;
  }

  .bottom-nav .nav-link.active {
    color: #ffd700; /* emas untuk aktif */
  }

  .bottom-nav .nav-link:hover {
    color: #ffcccb; /* merah muda terang saat hover */
  }

      
.lambang img{
            display: flex;
            width: auto;
            height: 95%;
            
        }
        
        .tag {
            margin-top:15px;
        }
        .tag a{
            font-size: 15px;
            margin-top:-40px;
        }
        
        .tag h1{
            margin-bottom: 30px;
        }
        .tag h3{
            font-family: 'Archivo', sans-serif;
            font-size: 1.3rem;
            
        }
        
        
        .dasar{
        display: grid;
        grid-template-columns: 50% auto;
        margin-top: -20px;
        }

        
        .dasar img {
        width:100px;
        justify-self:center;
        margin-bottom: -20px;
        }
                
        ul{
        margin-left: -15px;
        display:grid;
        list-style-type:none;
        grid-template-columns: repeat(3, 66%);
        grid-template-rows: repeat(2, 50%);
        }
    
    li{
        margin-bottom: 20px;
        
    }
    
    li a{
        font-weight: bold;
        color: black;
        font-size: 12px;
        
    }
    #button {
    white-space: nowrap;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

}


            
            
    
        
            .isi-menu {
        	display: table-cell;
        	text-align: center;
        	vertical-align: middle;
        	display: flex;
        	right: 10%;
        	left: 10%;
        	
            }
    .isi-menu h3 {
        font-size: 12px;
    }
        .isi-menu a {
        font-size: 12px;
        color: black;
    }
    
    #home #homeContent #homeContentBottom a {
    font-size: .12em;
    margin-top: 20px;
    line-height: 1.2;
    margin-left: -20px;
}

#home #homeContent #homeContentBottom a {
    position: relative;
    text-decoration: none;
    display: block;
    color: #ffffff;
    font-size: .2em;
    text-shadow: 1px 1px 1px rgb(255 0 0 / 60%);
    cursor: pointer;
}


    .menu1 {
    text-align: center;
    }
    
    
    .list-berita img{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
        
    }
    
    .jdl{
        font-size: 18px;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
    }
        
    .galeri img{
        width: 100%;
        margin-top: 3px;
    }
   
   
       .integrasi {
        margin-bottom: 20px;
    }
    
    .integrasi h1{
        font-size: 20px;
        color: #ffffff;
        
        
    }
    
           .pelayanan {
        margin-bottom: 20px;
    }
    
    .pelayanan h1{
        font-size: 10px;
        color: black;
        
        
    }
    
        .pelayanan h3{
        font-size: 10px;
        color: black;
        
        
    }
    
    .halaman a{
    color: white;
    background-color: #b30505;
    border-radius: 2px;
    margin-left: 5px;
    font-weight: bold;
    font-size: 20px;
}

.halaman b{
    margin-left: 5px;
    font-size: 20px;
}

.qr {
    margin: 30px auto;
    margin-bottom: 100px;
    
}

.qr img{
    width: 70%;
    height: 70%;
}

.isi table tr td{
    align-items: center;
    
}

.isi h1{
    font-size: 15px;
    
    
}

.isi h2{
    text-align: center;
    font-size: 25px;
    
}

.isi h3{
    text-align: center;
    font-size: 12px;
    margin-top: 50px;
}

.isi h4{
    text-align: center;
    font-size: 25px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.isi h5{
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    
}

.cari{
    margin-top: 50px;
}

.cari h3{
    text-align: center;
    font-size: 12px;
    margin-top: 50px;
}

.popup{
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    opacity: 0;
    transition: all .2s ease-in;
    
}

.popup__content{
    width: 300px;
    text-align: center;
    position: relative;
    margin: 20vh auto;
}

.popup__content2{
    width: 300px;
    text-align: center;
    position: relative;
    margin: 5vh auto;
}

.popup__img{
    width: 100%;
    margin-bottom: 10px;
    box-shadow: 5px 5px 5px #333;
}



.popup__dismiss{
    width: 30px;
    position: absolute;
    top: -12px;
    right: -12px;
}

.popup__wa{
    width: 60%;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #333;
}

.popup__launch{
    width: 100%;

}

.popup--show{
    opacity: 1;
    
}

.popup--dismiss{
    display: none;
    transition: all .2s ease-out;
    
}

.produk {
    margin-bottom: 60px;
}

.isi-berita {
    margin-bottom: 60px;
    text-align: justify;
}

.isi-berita h5{
    text-align: left;
    font-size: 19px;
}

.halaman{
    margin-top: 20px;
}

/* Accordion Futuristik dengan teks terang */
.accordion .card {
  background: linear-gradient(145deg, #7f1d1d, #a83232); /* maroon lebih terang */
  border: none;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 0 12px rgba(128, 0, 0, 0.6), 0 0 25px rgba(255, 120, 120, 0.3);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.accordion .card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 18px rgba(180, 0, 0, 0.8), 0 0 35px rgba(255, 100, 100, 0.5);
}

.accordion .card-header {
  background: rgba(0,0,0,0.15);
  border: none;
  padding: 0;
}

.accordion .btn-link {
  color: #ffffff !important; /* putih murni */
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion .btn-link:hover {
  color: #ffcccc; /* sedikit merah muda saat hover */
  text-decoration: none;
}

.accordion .btn-link::after {
  content: '\f107'; /* panah bawah */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: transform 0.3s ease;
  color: #ffffff; /* panah juga putih */
}

.accordion .btn-link[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.accordion .card-body {
  background: #5c0a0a;
  color: #ffe6e6; /* teks isi lebih terang */
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  animation: fadeIn 0.5s ease;
  border-radius: 0 0 15px 15px;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}

                  /* Button Modern Maroon */
                  .btn-modern {
                    width: 90%;
                    max-width: 350px;
                    margin: 12px auto;
                    padding: 15px;
                    border-radius: 50px;
                    font-size: 1.1rem;
                    font-weight: 600;
                    background: linear-gradient(135deg, #800000, #a83232);
                    border: none;
                    color: white;
                    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
                    transition: all 0.3s ease-in-out;
                  }
                  .btn-modern:hover {
                    background: linear-gradient(135deg, #a83232, #cc4444);
                    transform: translateY(-3px) scale(1.02);
                    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.4);
                  }
                  .btn-modern i {
                    margin-right: 8px;
                    font-size: 1.2rem;
                  }
    