body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

@media (min-width: 992px) {
  .navbar-nav .dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .navbar-nav .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-item{
	padding: 10px 10px 10px 10px;
}

.dropdown-menu{
	font-size: 0.875rem;
    text-transform: capitalize;
    font-weight: 600;
	border: 1px solid #ddd; /* Tambahkan border di sini */
    border-radius: 0.25rem;  /* Opsional: membuat sudut sedikit melengkung */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Opsional: agar dropdown lebih menonjol */
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
}

.navbar-nav li .dropdown-menu li {
    border-bottom: 1px solid #ddd !important;
}

.navbar-nav li .dropdown-menu li:last-child {
    border-bottom: none !important;
}

.top-bar {
	padding: .3rem 0;
	background: #eee; 
	font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
	position: relative;
    z-index: 99999;
}

.top-bar a {
    color: #666666;
	text-decoration: none;
}
	
.float-right {
    float: right !important;
}

/* slider */
.masthead {
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    /*height: 100vh;  Make the images take up full viewport height */
}

.carousel-caption {
    bottom: 24%;
	background: #ffffff7d;
    color: #333;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Change color of navigation arrows */
}

/* end */

/* media query */
@media screen and (max-width: 480px) {
	.garisBatasAlamat, .garisBatasFollow, .garisBatas{
		border-bottom: 1px dashed #ababab;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	header.masthead {
        padding-top: 72px;
	}
}
@media (min-width: 481px) and (max-width: 768px) {
	.garisBatasAlamat, .garisBatasFollow, .garisBatas{
		border-bottom: 1px dashed #ababab;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media (min-width: 769px) and (max-width: 991px) {
	.garisBatas{
		border-left: 1px dashed #ababab;
	}
	.garisBatasFollow{
		border-top: 1px dashed #ababab;
		padding-top: 15px;
	}

}
@media (min-width: 992px) {
	.garisBatas{
		border-left: 1px dashed #ababab;
		border-right: 1px dashed #ababab;
	}
}

@media (min-width: 992px) {
	/* Styling ketika tidak di-scroll */
	#mainNav {
		padding-top: 3rem !important;
		transition: padding-top 0.3s ease;
	}

	/* Styling ketika di-scroll */
	#mainNav.scrolled {
		padding-top: 1rem !important;
	}
	
	.profil img{
		width: 100%;
	}
	
}

#services{
	padding-top: 20px;
	padding-bottom: 15px;
	background: linear-gradient(to bottom, rgb(221 221 221 / 80%) 0%, rgb(221 221 221 / 80%) 100%), url("../assets/img/bg-masthead.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

/* Section Layanan */

#services h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

#services .box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0px 0px 30px 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
	margin-bottom: 25px;
}

#services .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

#services .box a {
	font-size: 11px;
	text-transform: uppercase;
}

#services .box img {
    width: 100%;
    height: auto; 
    border-radius: 10px 10px 0px 0px; 
    object-fit: cover; 
}

#services .box i {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

#services .box:hover i {
    color: #007bff;
}

#services .box h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
	text-transform: uppercase;
}

#services .box p {
    font-size: 0.9rem;
    color: #777;
	margin-bottom: 20px !important;
	padding: 0px 10px 0px 10px;
}

@media (max-width: 991px) {
    #services .col-md-6 {
        margin-bottom: 30px;
    }
	
	#services .box p {
		font-size: 1rem;
		color: #777;
		margin-bottom: 20px !important;
	}
	
	#services .box {
		margin-bottom: 0px;
	}
	
	.boxAbout {
        flex-direction: column;
        text-align: center;
    }
	
	.top-bar{
		display: none;
	}

}

@media (max-width: 576px) {
    #services h2 {
        font-size: 2rem;
    }

    #services .box {
        padding: 30px;
    }

    #services .box i {
        font-size: 2.5rem;
    }

    #services .box h3 {
        font-size: 1.3rem;
    }
}

.boxAbout{
	background: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 4px 1px rgb(0 0 0 / 12%);
    padding: 10px 10px 15px 10px;
    align-items: center;
    text-align: left;
    margin-bottom: 25px;
    flex-direction: column;
	gap: 15px;
}

.boxAbout i {
    font-size: 60px; 
	float: left;
    margin-right: 7px;
    color: #cdcdcd;
}

.boxAbout h4 {
    font-weight: 700;
	font-size: 28px;
	margin: 0;
}

.boxAbout p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.head-info{
	background: linear-gradient(to bottom, rgb(219 0 0 / 80%) 0%, rgb(211 0 0 / 80%) 100%), url("../assets/img/mijo.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px 5px 0px 0px;
	display: flex; 
	justify-content: center; 
	align-items: center; 
	color: #fff; 
	text-shadow: 1px 1px 8px #575757;
}

.card-info-title p{
	font-size: 12px;
	margin-bottom: 0px;
}

.card-info-title h4{
	font-weight: bold; 
	font-size: 20px;
	margin-bottom: 0px;
}

.card-info-number{
	font-weight: bold; 
	font-size: 36px; 
	margin-left: 20px;
}

.group-list-menu{
	padding: 5px 5px 10px 5px;
}

.group-list-menu a{
	text-decoration: none;
}

a li.side-menu {
	display: block;
    color: inherit;
    transition: 0.1s ease;
    text-decoration: none;
    padding: 20px;
    border: 0px solid #ddd;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    background: #ddd;
    margin: 5px;
    border-radius: 35px;
}

a li.side-menu:hover {
	background-color: #ededed;
}

#news h2{
	font-size: 2.5rem;
    font-weight: 600;
	margin-bottom: 20px;
}

/* ------------ footer ---------- */
.footer-widget-contact ul {
  padding: 0;
  margin: 0;
}

.footer-widget-contact li {
  margin-bottom: 8px;
}

.alamatFooter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
}

.logo-footer {
  text-align: center;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-widget-menu ul {
  padding-left: 0;
}

.footer-widget-menu li {
  margin-bottom: 5px;
}

.footer-widget-menu a {
  color: #ff0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menuTelusur a {
  font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-widget-menu a:hover {
  color: #850000;
}

.menuTelusur i {
  margin-right: 8px;
  color: #ff0000;
  font-size: 8px;
}

.copyright-text{
	font-size: 12px;
	text-transform: uppercase;
}

.copyright-text span{
	color: #ff0000;
	font-weight: bold;
}

.blog{
	border-bottom: 1px solid #e9e9e9;
}

.blog img, .detail-blog img{
	width: 100%;
}

.blog small{
    font-size: 10px;
    text-transform: uppercase;
}

a.btn-blog{
	font-size: 10px;
    text-transform: uppercase;
}

.blog p{
	font-size: 14px;
}

.blog h1{
	margin-bottom: 0px;
    font-size: 1rem;
}

.blog h1 a{
	text-decoration: none;
    text-transform: uppercase;
}

.page-link {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 20px;
}

.box-laporan{
	border: 1px solid #ddd;
    box-shadow: 2px 2px 9px #ddd;
}

.box-laporan p{
    font-size: 13px;
}

.box-laporan h4{
    color: #ff0000;
    font-size: 18px;
    text-transform: uppercase;
}

/* ============= SLIDER LAYANAN =============== */

@media (max-width: 767.98px) {
	.items-per-slide::after { content: "1"; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.items-per-slide::after { content: "3"; }
}
@media (min-width: 992px) {
	.items-per-slide::after { content: "4"; }
}

.items-per-slide {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.items-per-slide::after {
  display: none !important;
}


/* ============= SLIDER MITRA =============== */

.mitra-img {
    object-fit: contain;
    /*max-height: 100px;*/
    display: block;
    margin: 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    display: flex !important;
    align-items: center;
}

/* POPUP LAYANAN 24 JAM */
/* Popup box */
    .chat-popup {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 300px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      z-index: 1000;
      display: none; /* disembunyikan dulu */
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(10px);}
      to {opacity: 1; transform: translateY(0);}
    }

    .chat-header {
      background-color: #00b050;
      color: white;
      padding: 10px 15px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      font-weight: 600;
    }

    .chat-body {
      background: white;
      padding: 10px 15px;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
    }

    .chat-item {
      display: flex;
      align-items: center;
      border: 1px solid #f0f0f0;
      border-radius: 8px;
      padding: 8px;
      margin-bottom: 8px;
      transition: background 0.2s;
    }

    .chat-item:hover {
      background: #f9f9f9;
      cursor: pointer;
    }

    .chat-item img {
      width: 45px;
      height: 45px;
      margin-right: 10px;
    }

    .status-online {
      font-size: 12px;
      color: green;
      background: #e6ffe6;
      border-radius: 10px;
      padding: 2px 8px;
    }

    /* Tombol hijau */
    .whatsapp-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #00b050;
      color: white;
      border: none;
      border-radius: 50px;
      padding: 10px 20px;
      font-weight: 600;
      display: flex;
      align-items: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      cursor: pointer;
    }

    .whatsapp-btn i {
      font-size: 20px;
      margin-right: 8px;
    }


/* pustaka */
.section-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #c00;
    font-weight: bold;
}
.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 40px;
}

/* Struktur utama */
.card-custom {
    color: #fff;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}
.card-custom:hover {
    transform: translateY(-5px);
}

/* Tinggi seragam */
.tall-card {
    height: 325px; /* tinggi sama dengan 2 kartu di tengah */
}

.short-card {
    height: 150px;
}

/* Warna kategori */
.media { background: linear-gradient(135deg, #8b0000, #b30000); }
.ebook { background: linear-gradient(135deg, #330000, #550000); }
.dokumen { background: linear-gradient(135deg, #3a0a0a, #704040); }
.audio { background: linear-gradient(135deg, #2c3e50, #34495e); }

.card-body i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 10px;
}
					  
.linkTo a{
    text-decoration: none;
}
