@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap&family=Lexend:wght@100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Hind+Siliguri:wght@300;400;500;600;700&family=Bitter:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap");

/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
} */

body {
  background-color: #ffffff;
  font-family: "Barlow", sans-serif;
  line-height: 1.7;
  color: #0a0e11;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  color: #092032;
}

a {
  color: #092032;
  text-decoration: none;
  transition: all 0.4s ease;
  font-weight: 500;
}

img {
  width: 100%;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.bg-cover {
  background-position: center !important;
  background-size: cover !important;
  background-position: center !important;
}

.fontis p {
  font-family: "Lexend", sans-serif;
  text-align: center;
  color: #000000;
  font-size: 19px;
  text-shadow: 0px 6px 30px rgba(0, 0, 0, 0.185);
}

.fontis span {
  color: #2b3b65;
}

.texty a {
  font-family: "Lexend", sans-serif;
  color: #4d4747;
}

.texty a:hover {
  color: #db1c1c;
}

/* DETAIL ADUAN - MATIKAN HOVER CARD */
.detail-card,
.custom-card {
  transition: none !important;
  transform: none !important;
}

.detail-card:hover,
.custom-card:hover {
  transform: none !important;
  box-shadow: 0 6px 20px rgba(157, 157, 157, 0.08) !important;
}

/* NAVBAR */

.top-nav {
  background: #2b3b65;
  padding-top: 5px;
  padding-bottom: 5px;
}

.top-nav p {
  font-family: "Lexend", sans-serif;
  margin-bottom: 0;
  display: inline-block;
  margin-right: 16px;
  color: #ffffff;
}

.top-nav i,
.top-nav span {
  vertical-align: middle;
}

.navbar {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.navbar-brand img {
  transition: transform 0.3s ease;
  width: 150px;
  height: auto;
}

.logo-sragen {
  display: block;
  width: 180px;
  height: 55px;

  background-image: url("../assets/img/logosragen.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  margin-left: 15px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #2b3b65;
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #2b3b65;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.nav-link.active {
  color: #2b3b65 !important;
  font-weight: bold;
}

.nav-link.active::after {
  width: 100%;
}

/* BTN */

.btn {
  padding: 9px 24px;
  font-weight: 500;
}

.btn-brand {
  background-color: #2b3b65;
  color: #ffffff;
  border-color: #2b3b65;
  border-radius: 100px !important;
  font-family: "Ubuntu", sans-serif;
}

.btn-brand:hover {
  color: #4d4747;
  background-color: #ffffff;
}

/* SLIDER */

.slide1 {
  background:
    linear-gradient(rgba(6, 22, 34, 0.13), rgba(6, 22, 34, 0.13)),
    url(../assets/img/bupatiwabup.jpg);
}

.slide2 {
  background:
    linear-gradient(rgba(6, 22, 34, 0.13), rgba(6, 22, 34, 0.13)),
    url(../assets/img/foto1.jpeg);
}

.slide1 .bg-dark {
  border-radius: 10px !important;
  font-family: "Bitter", sans-serif;
}

.slide2 .bg-dark {
  border-radius: 50px !important;
}

/* OWL CAROUSEL */

.owl-prev,
.owl-next {
  position: absolute;
  top: 50%;
  width: 60px !important;
  height: 60px !important;
  display: grid;
  place-items: center;
  background-color: rgba(255, 255, 255, 0.003) !important;
  margin-top: -30px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border-radius: 100px !important;
}

.owl-prev {
  left: 0;
}

.owl-next {
  right: 0;
}

.owl-next:hover,
.owl-prev:hover {
  background-color: #120252 !important;
}

/* INFOBOX */

.info-box {
  display: flex;
  align-items: center;
}

.info-box img {
  width: 60px;
  margin-right: 20px;
}

.btn-login {
  background: #2b3b65;
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-login:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* MOBILE */

@media (max-width: 991px) {
  .nav-box {
    padding: 20px;
    display: block;
  }

  .navbar-brand img {
    height: 55px;
  }

  .navbar-nav {
    margin-top: 20px;
    gap: 10px;
  }

  .btn-login-modern,
  .btn-user {
    margin-top: 15px;
    display: inline-block;
  }
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

#hero-slider .slide1,
#hero-slider .slide2 {
  margin-top: -40px;
}

/* Batasi lebar konten dalam slider */
.slider-wrapper .bg-dark {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1px;
  padding-right: 1px;
}

/* ======= Gambar Slider/Carousel ======= */
.slider-wrapper {
  max-width: 100%; /* Pastikan slider mengambil seluruh lebar yang tersedia */
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* Menghindari gambar atau konten meluap */
}

.owl-carousel .item {
  max-width: 100%; /* Pastikan gambar carousel tidak melebar lebih dari 100% */
  width: 100%;
}

/* Gambar slider agar tidak terlalu tinggi atau lebar */
.slide1,
.slide2 {
  background-size: cover; /* Gambar tetap menutupi area */
  background-position: center center; /* Pastikan gambar terpusat */
  width: 100%;
  height: 20vh; /* Mengatur tinggi gambar slider supaya lebih kompak */
}

/* Tambahkan batasan agar gambar slider tidak terlalu besar di layar besar */
@media (min-width: 1200px) {
  .slide1,
  .slide2 {
    max-width: 100%; /* Membatasi lebar gambar */
    margin-left: auto;
    margin-right: auto;
    height: 10vh; /* Mengurangi tinggi gambar pada layar besar */
  }
}

/* INFOBOX */

.info-box {
  display: flex;
  align-items: center;
}

.info-box img {
  width: 60px;
  margin-right: 20px;
}

/*--------------------------------------------------------------
# BERITA
--------------------------------------------------------------*/

.portfoio .portfolio-item img {
  position: relative;
  top: 0;
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.portfoio .portfolio-item .portfolio-info {
  opacity: 0;
  position: relative;
  left: 0px;
  right: 5px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(201, 23, 23, 0.761);
  padding: 15px 20px;
}

.portfoio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.portfoio .portfolio-item .portfolio-info p {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
}

.portfoio .portfolio-item .portfolio-info .preview-link,
.portfoio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: white;
  transition: ease-in-out 0.3s;
}

.portfoio .portfolio-item .portfolio-info .preview-link:hover,
.portfoio .portfolio-item .portfolio-info .details-link:hover {
  color: #ccc691;
}

.portfoio .portfolio-item .portfolio-info .details-link {
  right: 15px;
}

.portfoio .portfolio-item:hover img {
  top: 50px;
}

.portfoio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Sections Tittle All
--------------------------------------------------------------*/

section {
  padding: 10px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f8ff;
}

.section-title {
  text-align: left;
  padding-bottom: 2px;
  margin-top: -30px;
}

.section-title h2 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 30px;
  font-weight: 200;
  text-transform: none;
  margin-bottom: 10px;
  padding-bottom: 0;
  color: #000082;
}

.section-title p {
  font-family: "Lexend", sans-serif;
  margin-bottom: 0;
  font-style: normal;
  font-size: 15px;
  color: #6d6c6c;
}

.section-title a {
  font-family: "Lexend", sans-serif;
  margin-bottom: 0;
  font-style: normal;
  font-size: 15px;
  color: #6392ff;
}

/*--------------------------------------------------------------
  # Icon Boxes
  --------------------------------------------------------------*/

.icon-boxes {
  padding-top: 0;
  position: relative;
  z-index: 100;
}

.icon-boxes .icon-box {
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 5px 10px 29px 0 rgba(68, 88, 144, 0.2);
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}

.icon-boxes .icon {
  margin: 0 auto 20px auto;
  display: inline-block;
  text-align: center;
}

.icon-boxes .icon i {
  font-size: 36px;
  line-height: 1;
  color: #f6b024;
}

.icon-boxes .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.icon-boxes .title a {
  color: #05579e;
}

.icon-boxes .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
  color: #777777;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services-ic {
  padding: 20px 0;
}

.services-ic .card {
  border-radius: 16px;
  transition: 0.3s;
  background: #fff;
}

.services-ic .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.services-ic img {
  display: block;
  margin: auto;
}

/*--------------------------------------------------------------
# Services Blog Hal apk
--------------------------------------------------------------*/

.services-blog .service-item-ic {
  text-align: center;
  padding: 9px;
  transition: all ease-in-out 0.3s;
  height: 69%;
  width: 60%;
  background-color: color-mix(in srgb, #e1d9d965, transparent 40%);
  border-radius: 10px;
}

.page-title .heading {
  padding: 50px 0;
  border-top: 1px solid color-mix(in srgb, #9a0404, transparent 90%);
  background-color: #1f3160;

  background-image:
    linear-gradient(rgba(31, 49, 96, 0.75), rgba(31, 49, 96, 0.75)),
    url("../assets/img/batik.jpg");
  background-size: cover;
  background-position: center;
}

/* .page-title .heading {
  padding: 50px 0;
  border-top: 1px solid color-mix(in srgb, #9a0404, transparent 90%);
  background-color: #1f3160;

} */

.services-blog .service-item-ic .icon-a {
  background-color: #0bb6c5;
  color: #fff;
  margin: 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: 0.3s;
  font-size: 23px;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 0 25px rgba(212, 207, 207, 0.1);
}

.services-blog .service-item-ic h3 {
  font-weight: 600;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 15px;
  transition: 0.3s;
  position: relative;
  color: #fff;
}

.services-blog .service-item-ic h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.services-blog .service-item-ic p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services-blog .service-item-ic:hover .icon-a {
  color: #f9f8f8;
  background-color: #ffcd29;
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

.services .service-item-ic:hover h3 {
  color: #c71111;
}

/*--------------------------------------------------------------
# BLOG HOME
--------------------------------------------------------------*/

.features {
  background-color: #fff;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

.services .cardk {
  padding: 10px 0px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0px 5px 90px 0px rgba(212, 85, 85, 0.034);
}

.services .cardk h4 {
  font-family: "Poppins", sans-serif;
  font-size: 23px;
}

.services .cardk .list-group-flush a {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
}

.services .cardbd {
  padding: 10px 0px;
  background: #fff;
  border-color: 5px solid #db1d1d;
  border-style: outset;
  border-radius: 25px;
  box-shadow: 0px 5px 90px 0px rgba(212, 85, 85, 0.034);
  padding-bottom: 35px;
}

.services .cardbd .cardap {
  padding-top: 8px;
}

.services .cardbd h4 {
  font-family: "Poppins", sans-serif;
  font-size: 23px;
}

.services .cardhd {
  padding-bottom: 0px;
}

.services .cardbd p {
  font-size: 14px;
  padding-top: 0px;
  font-family: "Poppins", sans-serif;
  color: #757373;
}

/* .services .cardbd .cardhd {} */

.services .icon-box {
  padding: 20px 30px;
  transition: all ease-in-out 0.3s;
  background: #fefefe;
  /* box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1); */
  border-radius: 18px;
  /* border-bottom: 20px solid #fff; */
  border-color: 5px solid #db1d1d;
  border-style: outset;
}

.services .icon-box .icon {
  width: 64px;
  height: 64px;
  background: #009961;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: ease-in-out 0.3s;
  color: #fff;
}

.services .icon-box .icon i {
  font-size: 28px;
}

.services .icon-box h4 {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 24px;
}

.services .icon-box a h4 {
  color: #504e4e;
  transition: ease-in-out 0.3s;
}

.services .icon-box .textp {
  line-height: 30px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: #919191;
}

/* .services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
} */

.services .icon-box .textd {
  font-size: 17px;
  font-family: "Outfit", sans-serif;
  color: #666060;
}

.services .icon-box:hover {
  transform: translateY(-10px);
  border-color: #f6b024;
}

.services .icon-box:hover a h4 {
  color: #0c65ca;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  background-color: #001e6a;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-section h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #d9f0ff;
}

.footer-section img {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 30px;
  width: 200px;
}

.footer-section p,
.footer-section li,
.footer-section a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.footer-section a:hover {
  color: #f9d342;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

/* Logo di kiri */
.footer-logo-left {
  width: 120px;
  margin-bottom: 15px;
}

/* Contact & Social Media */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.social-icons a:hover svg {
  transform: scale(1.2);
}

.footer-section.contact h2 {
  color: #e2effe;
}

.footer-section.contact p {
  color: #f9d342;
}

/* Quotes */
.footer-section.quotes {
  align-items: center;
  font-style: italic;
  font-size: 14px;
  color: #ccc;
}

/* Footer bawah */
.footer-bottom {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #444;
  margin-top: 20px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive - Tablet dan HP */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-left {
    margin: 0 auto;
  }

  .footer-section {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Responsive ekstra kecil */
@media (max-width: 480px) {
  .footer {
    padding: 30px 15px 15px;
  }

  .footer-section h2 {
    font-size: 16px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# jelajah sragen
--------------------------------------------------------------*/
.about .inner-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 30px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #c71111;
}

@media (min-width: 991px) {
  .about .inner-title {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}

.about .our-story {
  padding: 40px;
  background-color: #f6f4f4;
}

@media (min-width: 991px) {
  .about .our-story {
    padding-right: 35%;
  }
}

.about .our-story h4 {
  text-transform: uppercase;
  font-size: 15px;
  color: #b90000;
}

.about .our-story h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  color: #585858;
}

.about .our-story .visimisi h4 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 25px;
  font-weight: 200;
  text-transform: none;
  margin-bottom: 10px;
  padding-bottom: 0;
  color: #c50b0b;
}

.about .our-story .visimisi P {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 200;
  text-transform: none;
  margin-bottom: 10px;
  padding-bottom: 20px;
  color: #000000;
}

.about .our-story p:last-child {
  margin-bottom: 0;
}

.about .our-story .visimisi ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.about .our-story .visimisi ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  color: var(--accent-color);
}

.about .watch-video i {
  font-size: 2rem;
  transition: 0.3s;
  color: var(--accent-color);
}

.about .watch-video a {
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-left: 8px;
  transition: 0.3s;
}

.about .watch-video:hover a {
  color: var(--accent-color);
}

.about .about-img {
  min-height: 400px;
  position: relative;
}

@media (min-width: 992px) {
  .about .about-img {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 600px;
  }
}

.about .about-img img {
  position: absolute;
  padding-top: 5px;
  inset: 0;
  display: block;
  width: 98%;
  height: 98%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.service-details {
  padding-top: 60px;
  padding-bottom: 90px;
}

.service-details .service-box {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.service-details .service-box + .service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, #092032, transparent 91%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: #fff;
}

.service-details .services-list a {
  color: color-mix(in srgb, #666461, transparent 7%);
  background-color: color-mix(in srgb, #cdcbcbbb, transparent 60%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
  font-family: "Raleway", sans-serif;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 15px;
  margin-right: 8px;
  color: #666461;
}

.service-details .services-list a.active {
  color: #666461;
  background-color: #deddd84f;
}

.service-details .services-list a.active i {
  color: #666461;
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: #bb0404;
}

.service-details .download-catalog a {
  color: #666461;
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, #092032, transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: #f89602;
}

.service-details .download-catalog a:hover {
  color: #f89602;
}

.service-details .help-box {
  background-color: #8ddaf1;
  color: #2c2c2c;
  margin-top: 30px;
  padding: 30px 15px;
  border-radius: 10px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4 {
  color: #454546;
}

.service-details .help-box a,
.service-details .help-box p {
  color: #6e6b67;
}

.service-details .help-box a:hover {
  color: #381c0b;
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details .news-box {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.service-details .news-box h3 {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, #092032, transparent 91%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details p {
  color: #434347;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

.service-details li {
  color: #434347;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

.service-details p a {
  color: #f39507;
}

.service-details p a:hover {
  color: color-mix(in srgb, #f39507, transparent 35%);
}

.service-details h6 {
  list-style: none;
  padding: 0;
  font-size: 17px;
  padding-top: 12px;
  font-family: "Raleway", sans-serif;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 50px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .news-box .judul {
  color: #0c0c0c;
  font-family: "Barlew", sans-serif;
  font-weight: 800;
  font-size: 10px;
}

.service-details .news-box h3 {
  padding-top: 5px;
  font-size: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #9f0707df;
  text-align: center;
}

.service-details .news-box p {
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #434347;
}

.service-details .news-box .text-misi {
  padding-top: 30px;
  font-size: 35px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #333335;
}

.service-details .news-box .text-misi p {
  font-weight: 400;
  color: #434347;
}

/* .service-details .news-box li {
  font-weight: 400;
  color: #606064;
} */

/*--------------------------------------------------------------
# About Sragen
--------------------------------------------------------------*/

.page-title {
  color: #504d4d;
  background-color: #ffffff;
  position: relative;
}

.page-title .heading h1 {
  font-size: 45px;
  font-weight: 700;
  margin: 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
}

.page-title .heading h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 20px;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  color: #fee246;
}

.page-title nav {
  background-color: color-mix(in srgb, #092032, transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol a {
  color: #f89602;
}

.page-title nav ol a:hover {
  color: #e05c0f;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, #1b0c04, transparent 50%);
}

/*--------------------------------------------------------------
# PEJABAT
--------------------------------------------------------------*/

.service-details .news-box .text-struktur {
  padding-top: 10px;
  padding-bottom: 25px;
  font-size: 35px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #333335;
}

.service-details .news-box .poto img {
  border-radius: 5px;
  padding-top: 10px;
  width: 100%;
  transition: ease-in-out 0.3s;
}

.service-details .news-box .service-item {
  background-color: #f9fafc;
  text-align: center;
  border: 1px solid color-mix(in srgb, #092032, transparent 85%);
  padding: 30px 20px;
  border-radius: 10px;
  height: 100%;
  transition: all ease-in-out 0.3s;
}

.service-details .news-box .service-item .icon {
  /* background: #092032;
  color: #fff; */
  margin: 0 auto;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.service-details .news-box .service-item .icon img {
  border-radius: 5px;
  padding-top: 5px;
  width: 75%;
  transition: ease-in-out 0.3s;
}

.service-details .news-box .service-item h3 {
  font-weight: 100;
  margin: 10px 0 15px 0;
  font-size: 18px;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
  color: #373f47;
}

.service-details .news-box .service-item p {
  line-height: 20px;
  font-size: 15px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color:  #5d6063;
}

.card-body i {
  font-size: 50px;
  border-radius: 60px;
}

.card-body p {
  font-size: 15px;
  border-radius: 60px;
  color: #0606be;
}

/* Berita*/

/* General */
body {
  font-family: "Segoe UI", sans-serif;
}

.berita-section {
  background: #f8f9fa;
}

/* News Card */
.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-img {
  background-size: cover;
  background-position: center;
  height: 200px;
  transition: 0.3s;
}

.news-body {
  padding: 15px;
}

.news-body h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.news-body p {
  color: #666;
  font-size: 0.95rem;
}

.read-more {
  color: #007bff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* Popup */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.popup-box {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  animation: popupFade 0.3s ease;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-box img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin: 20px 0;
  border-radius: 8px;
}

.popup-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
}

/* =====================================
   HALAMAN ADUAN
====================================== */

/* Judul */
.aduan-title {
  margin-bottom: 45px;
}

.aduan-title h2 {
  font-size: 38px;
  font-weight: 700;
  color: #1e3369;
  margin-bottom: 8px;
}

.aduan-title p {
  color: #7b7b7b;
  font-size: 16px;
}

/* Card Aduan */
.aduan-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s ease;
  box-shadow: 0 8px 25px rgba(173, 172, 172, 0.08);
  height: 100%;
}

.aduan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(111, 110, 110, 0.15);
}

/* Gambar */
.aduan-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.aduan-card:hover img {
  transform: scale(1.05);
}

/* Badge */
.aduan-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Isi Card */
.aduan-card .card-body {
  padding: 14px;
}
.aduan-ticket {
  font-size: 16px;
  font-weight: 700;
  color: #1e3369;
  margin-bottom: 6px;
}

.aduan-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 15px;
}

.aduan-date i {
  margin-right: 5px;
}

.aduan-text {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer Card */
.aduan-footer {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e3369;
  font-size: 14px;
  font-weight: 600;
}

.aduan-footer i {
  transition: 0.3s;
}

.aduan-card:hover .aduan-footer i {
  transform: translateX(5px);
}

/* Tombol */
.aduan-action {
  margin-top: 45px;
}

.aduan-action .btn {
  min-width: 190px;
  height: 48px;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
}

.aduan-action .btn:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .aduan-title h2 {
    font-size: 30px;
  }

  .aduan-card img {
    height: 170px;
  }

  .aduan-action {
    flex-direction: column;
  }

  .aduan-action .btn {
    width: 100%;
  }
}

/* ====== Global Layout ====== */
body {
  background: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ====== Card Styling ====== */
.card {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-in-out;
  margin-top: -30px;
}

.card:hover {
  transform: translateY(-3px);
}

/* ====== Card Header ====== */
.card-header {
  background: linear-gradient(135deg, #358edc, #20b4e1);
  border-bottom: none;
  padding: 1rem 1.5rem;
  text-align: center;
}

.card-header h5 {
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

/* ====== Form Input ====== */
.form-control,
.form-select {
  border-radius: 2px;
  border: 1px solid #ced4da;
  padding: 0.7rem 1rem;
  transition:
    border 0.3s,
    box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #4635dc;
  box-shadow: 0 0 0 0.2rem rgba(53, 84, 220, 0.25);
}

/* ====== Labels ====== */
label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
}

/* ====== File Upload ====== */
input[type="file"] {
  padding: 0.5rem;
  background-color: #fff;
}

/* ====== Textarea ====== */
textarea.form-control {
  resize: none;
}

/* ====== Button ====== */
.btn.bg-buat {
  background: linear-gradient(135deg, #5135dc, #4d6bff);
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  transition:
    background 0.3s,
    transform 0.2s;
}

.btn.bg-buat:hover {
  background: linear-gradient(135deg, #010fa7, #0205b1);
  transform: translateY(-2px);
}

/* ====== Alert Styling ====== */
.alert {
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .card {
    margin: 1rem;
  }
}

/* Container Map */
.map-container {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Info Lokasi */
.location-info {
  background: #f0f8ff; /* biru muda */
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* Checkbox Rahasia */
.secret-checkbox {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 12px 15px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline {
  border-left: 2px solid #0d6efd;
  margin-left: 20px;
  padding-left: 20px;
}
.timeline-step {
  margin-bottom: 20px;
  position: relative;
}
.timeline-step::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #0d6efd;
  border-radius: 50%;
  position: absolute;
  left: -28px;
  top: 4px;
}
.timeline-content {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 6px;
}

/* BACKGROUND HALAMAN */
body {
  background: #f5f7fa;
}

/* CARD FORM */
/* .main .container > div {
  transition: all 0.3s ease;
}

.main .container > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.815);
} */

/* JUDUL */
h3 {
  letter-spacing: 0.5px;
}

/* INPUT & SELECT */
.form-control,
.form-select {
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid #dcdfe6;
  transition: all 0.2s ease;
  font-size: 14px;
}

/* FOCUS EFFECT */
.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

/* LABEL */
.form-label {
  font-size: 14px;
  color: #333;
}

/* BUTTON */
button[type="submit"] {
  transition: all 0.25s ease;
  font-weight: 500;
}

button[type="submit"]:hover {
  background: #0b5ed7 !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* MAP */
#map {
  border: 1px solid #dee2e6;
}

/* TEXT KECIL */
small {
  font-size: 13px;
}

/* ALERT FLOAT */
.alert {
  border-radius: 10px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .main .container > div {
    padding: 20px !important;
  }
}

::placeholder {
  color: #aaa !important;
  font-size: 13px;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.search-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.search-container form {
  width: 45%;
  max-width: 450px;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.search-container input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 16px;
  color: #555;
}

.search-container input::placeholder {
  color: #999;
}

.search-container button {
  width: 50px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  color: #3d30e9;
  transition: 0.3s;
}

.search-container button:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .search-container form {
    width: 90%;
  }

  .search-container input {
    font-size: 16px;
    padding: 15px 20px;
  }

  .search-container button {
    width: 60px;
    font-size: 24px;
  }
}

/* SEARCH INDEX */

.search-container-index {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 10px;
  margin-top: -30px;
}

.search-container-index form {
  width: 100%;
  max-width: 1300px;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.836);
  border: 1px solid #1e3369;
}

.search-container-index input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 25px;
  font-size: 22px;
  color: #555;
}

.search-container-index input::placeholder {
  color: #eeeeee;
}

.search-container-index button {
  width: 80px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 32px;
  color: #2f1ee5;
  transition: 0.3s;
}

.search-container-index button:hover {
  color: #2f1ee5;
}

@media (max-width: 768px) {
  .search-container-index form {
    width: 90%;
  }

  .search-container-index input {
    font-size: 16px;
    padding: 15px 20px;
  }

  .search-container-index button {
    width: 60px;
    font-size: 24px;
  }
}

/* Animasi */
body {
  transition: 0.3s;
}

body.dark-mode {
  background: #121212 !important;
  color: #ffffff;
}

body.dark-mode .navbar {
  background: #1c1c1c !important;
}

body.dark-mode .top-nav {
  background: #111827 !important;
}

body.dark-mode .footer {
  background: #111827 !important;
}

body.dark-mode .service-item-ic,
body.dark-mode .card,
body.dark-mode .news-card,
body.dark-mode .service-box,
body.dark-mode .news-box {
  background: #1f2937 !important;
  color: #fff !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode a,
body.dark-mode label {
  color: #fff !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: #374151 !important;
  color: #fff !important;
  border-color: #4b5563 !important;
}

body.dark-mode .navbar-nav .nav-link {
  color: #fff !important;
}

body.dark-mode .fontis p {
  color: #fff !important;
}

#hero-slider .slide1,
#hero-slider .slide2 {
  margin-top: 1px; /* makin besar = makin turun */
}

/* WRAPPER SLIDER */
#hero-slider {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
}

#hero-slider .slide1,
#hero-slider .slide2 {
  margin-top: 1px; /* makin besar = makin turun */
}

/* SLIDE 1 & 2 (SESUAI HTML KAMU) */
#hero-slider {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

#hero-slider .slide1,
#hero-slider .slide2 {
  height: 520px;
}

/* OVERLAY GELAP */
#hero-slider .slide1::before,
#hero-slider .slide2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* ISI DI ATAS OVERLAY */
#hero-slider .container {
  position: relative;
  z-index: 2;
}

/* HAPUS BOOTSTRAP YANG BIKIN KELEBARAN */
#hero-slider .col-6,
#hero-slider .col-7 {
  max-width: 650px;
}

/* =========================
   TEXT BOX (POJOK KIRI)
========================= */
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;

  padding: 25px 30px;

  border-left: 5px solid #1e006b; /* aksen khas */
  border-radius: 0 10px 10px 0;

  margin-left: 0;
}

/* TEXT STYLE */
.hero-text p {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

/* =========================
   CONTAINER FULL WIDTH FEEL
========================= */
#hero-slider .container {
  position: relative;
  z-index: 2;
}

/* HAPUS CENTER BOOTSTRAP YANG GANGGU */
#hero-slider .row {
  justify-content: flex-start;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  #hero-slider .slide1,
  #hero-slider .slide2 {
    height: 380px;
  }

  .hero-text {
    max-width: 90%;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 26px;
  }
}

/* RESPONSIVE HP */
@media (max-width: 768px) {
  #hero-slider .slide1,
  #hero-slider .slide2 {
    height: 380px;
  }

  #hero-slider .col-6,
  #hero-slider .col-7 {
    width: 90%;
    margin: auto;
  }
}

/* =========================
  DARK MODE
========================= */

#theme-toggle {
  border: none;
  background: #f1f1f1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#theme-toggle:hover {
  transform: scale(1.1);
  background: #ddd;
}

body.dark-mode #theme-toggle {
  background: #2c2c2c;
  color: #fff;
}

body.dark-mode {
  background: #121212 !important;
  color: #fff !important;
}

body.dark-mode .navbar {
  background: #1c1c1c !important;
}

body.dark-mode .top-nav {
  background: #111827 !important;
}

body.dark-mode .nav-link {
  color: #fff !important;
}

/* SECTION */
.services-modern {
  padding: 60px 0;
  background: #f6f8fc;
  margin-top: -60px;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

/* CARD */
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px 15px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* hover animasi */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(30, 51, 105, 0.2);
}

/* ICON */
.icon-box {
  width: 70px;
  height: 70px;
  margin: auto;
  background: #eef3ff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.service-card:hover .icon-box {
  background: #1e3369;
}

.icon-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* TEXT */
.service-name {
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #1e3369;
}

/* MOBILE */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SECTION */
.kategori-section {
  padding: 40px 0;
  background: #f6f8fc;
}

.container-kategori {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.kategori-content {
  min-width: 0;
}

/* LAYOUT */
.kategori-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  align-items: start;
}

/* SIDEBAR */
.sidebar-card {
  position: sticky;
  top: 90px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
  margin-bottom: 15px;
  color: #1e3369;
}

/* KATEGORI LIST */
.kategori-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kategori-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
  background: #f8f9ff;
}

.kategori-item i {
  color: #ffcd29;
}

.kategori-item:hover {
  background: #1e3369;
  color: #fff;
  transform: translateX(5px);
}

.kategori-item.active {
  background: #1e3369;
  color: #fff;
  font-weight: 600;
  transform: translateX(5px);
}

.kategori-item.active i {
  color: #fff;
}

/* HEADER */
.content-header {
  padding: 20px 25px;
  border-bottom: 1px solid #eaeaea;
}

.content-header h2 {
  color: #1e3369;
  font-weight: 700;
}

.content-header p {
  color: #777;
  margin: 0;
}

/* GRID APP */
.app-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* penting biar garis & radius rapi */
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  gap: 20px;
  justify-content: center;
  padding: 25px;
}

/* CARD APP */
.app-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(30, 51, 105, 0.2);
}

/* ICON */
.app-icon {
  text-align: center;
  margin-bottom: 10px;
}

.app-icon img {
  height: 60px;
  object-fit: contain;
}

/* TEXT */
.app-category {
  font-size: 12px;
  color: #777;
  text-align: center;
}

.app-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e3369;
  text-align: center;
  margin-top: 5px;
}

.app-desc {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kategori-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: relative;
    top: 0;
  }
}

.categorySwiper {
  margin-top: 60px;
  padding-bottom: 40px;
}

.swiper {
  width: 100%;
  overflow: hidden;
}

.categorySwiper {
  margin-top: 40px;
  padding-bottom: 50px;
}

/* penting biar shadow tidak kepotong */
.categorySwiper,
.swiper {
  overflow: visible;
}

.swiper-wrapper {
  align-items: stretch;
}

/* ===================== CARD ===================== */
.kategori-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  /* box-shadow: 0 6px 15px rgba(0,0,0,.08); */
  height: 200px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* hover (tanpa naik) */
.kategori-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* ===================== ICON ===================== */
.kategori-card .service-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3369, #0d6efd);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 15px;
  transition: 0.3s;
}

/* icon animasi halus */
.kategori-card:hover .service-icon {
  transform: rotate(6deg) scale(1.1);
}

/* ===================== TEXT ===================== */
.kategori-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e3369;
}

.kategori-card span {
  font-size: 13px;
  color: #777;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .kategori-card {
    height: 190px;
    padding: 20px;
  }

  .kategori-card h5 {
    font-size: 14px;
  }
}

.categorySwiper {
  margin-top: 40px;
  padding-bottom: 40px;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  flex-shrink: 0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none; /* Hilangkan icon bawaan Swiper */
}

.swiper-button-prev,
.swiper-button-next {
  color: #666;
  font-size: 18px;
  width: 28px;
  height: 28px;
  transition: 0.2s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #1e3369;
}

/* ==========================
   MODAL KATEGORI
========================== */

#kategoriModal .modal-dialog {
  max-width: 900px;
}

#kategoriModal .modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#kategoriModal .modal-header {
  position: relative;
}

#kategoriModal .modal-title {
  margin: 0 auto;
  font-size: 22px;
  font-weight: 700;
  color: #140051;
  text-align: center;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#kategoriModal .btn-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  filter: brightness(0) invert(1);
}

/* Tombol Close */
#kategoriModal .btn-close-custom {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);

  border: none;
  background: transparent;
  padding: 0;

  font-size: 20px;
  color: #8b8b8b; /* Warna ikon */
  cursor: pointer;
  transition: 0.3s;
}

#kategoriModal .btn-close-custom:hover {
  color: #22009b;
  transform: translateY(-50%) scale(1.1);
}

/* Body */
#kategoriModal .modal-body {
  padding: 30px;
  background: #f8fafc;
  max-height: 70vh;
  overflow-y: auto;
}

/* Scrollbar */
#kategoriModal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#kategoriModal .modal-body::-webkit-scrollbar-thumb {
  background: #cfd8e3;
  border-radius: 20px;
}

#kategoriModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #9aa9bf;
}

/* Animasi */
#kategoriModal.fade .modal-dialog {
  transform: scale(0.95);
  transition: all 0.25s ease;
}

#kategoriModal.show .modal-dialog {
  transform: scale(1);
}

.kategori-app-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
  height: 100%;
}

.kategori-app-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.kategori-app-icon {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 8px;
}

.kategori-app-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e3369;
  margin-bottom: 4px;
}

.kategori-app-desc {
  font-size: 11px;
  color: #777;
}

.shake-effect {
  animation: shake 0.4s;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-8px);
  }
  50% {
    transform: translateX(8px);
  }
  75% {
    transform: translateX(-6px);
  }
  100% {
    transform: translateX(0);
  }
}
