*{
    padding: 0;
    margin: 0;
  }
  body{
    font-size: 14px;
    font-family: 'Roboto', serif;
    background-color: #fafafa;
  }

  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    position: relative;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(35, 84, 147, 0.85) 0%, rgba(0, 20, 45, 0.75) 100%);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }

  /* Hover Effects */
  .hover-lift {
    transition: all 0.3s ease;
  }

  .hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
  }

  .hover-text-primary:hover {
    color: #3C6AA6 !important;
    transition: color 0.3s ease;
  }

  /* Animate Bounce */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  .animate-bounce {
    animation: bounce 2s infinite;
  }

  /* Badges */
  .badge {
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .badge.bg-light:hover {
    background: #3C6AA6 !important;
    color: white !important;
    transform: translateY(-2px);
  }

  /* Navigation */
  .bg-nav-swl{
    background-color: #3C6AA6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .title-pemerintah {
    font-family: 'Roboto', serif;
    font-size: 16px;
    font-weight: lighter;
    letter-spacing: 2px;
  }

  .title-sawahlunto{
    font-family: 'Roboto', serif;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 2px;
  }

  a.nav-link{
    font-size: 16px;
    width: 150px;
    height:60px;
    color: white;
    transition: all 0.3s ease;
  }

  a.nav-link:hover{
    background-color: #235493;
    color: white;
    font-weight: bold;
    transform: translateY(-2px);
  }

  a.nav-link.active{
    background-color: #235493 !important;
    color: white !important;
    font-weight: bold;
  }

  /* Cards & Service Items */
  .card {
    border: none;
    transition: all 0.3s ease;
  }

  .icon-box {
    transition: all 0.3s ease;
  }

  .card:hover .icon-box {
    transform: scale(1.1);
  }

  /* Remove old styles */
  #carouselSlides{
    height: 100%;
  }

  .search-box {
    animation: fadeInUp 0.6s ease;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Input Focus */
  .form-control:focus {
    border-color: #3C6AA6;
    box-shadow: 0 0 0 0.2rem rgba(60, 106, 166, 0.25);
  }

  /* Buttons */
  .btn-primary {
    background: linear-gradient(135deg, #3C6AA6 0%, #235493 100%);
    border: none;
    transition: all 0.3s ease;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 84, 147, 0.4);
  }

  .btn-outline-primary {
    border-color: #3C6AA6;
    color: #3C6AA6;
    transition: all 0.3s ease;
  }

  .btn-outline-primary:hover {
    background: linear-gradient(135deg, #3C6AA6 0%, #235493 100%);
    border-color: transparent;
    transform: translateY(-2px);
  }

  .slogan{
    font-family: 'Poppins', sans-serif;
  }

  a.popular-search{
    text-decoration: none;
    color: #303030;
  }

  a.popular-search .card{
    transition: 0.4s;
  }

  a.popular-search:hover .card{
    background-color: #3c6aa6;
    transition: 0.4s;
    color: white;
  }

  .news-sidebar{
    background-color: #FAFAFA;
    transition: 0.6s;
  }

  .news-sidebar:hover{
    background-color: rgba(34, 86, 148, 0.3);
    transition: 0.4s;
  }

  .news-sidebar a {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
  }

  .link-berita-utama{
    position:absolute;
    height: 40%;
    background-color: rgba(0, 20, 45, 0.5) ;
    bottom:0 ;
    left:12px;
    right: 12px;
    overflow: hidden;
  }

  a.link-berita-utama{
    color: #e3e3e3;
    text-decoration: none;
    transition: 0.8s;
  }

  a.link-berita-utama:hover{
    background-color: rgba(0, 20, 45, 0.9) ;
    transition: 0.5s;
  }

  .btn-outline-primary:hover {
    background-color: #235493 !important;
  }

  .btn-outline-primary{
    color:  #235493;
  }

  div.card-body > .btn-primary {
    background-color: #3c6aa6 !important;
    border: 1px solid #3c6aa6;
  }

  div.card-body > .btn-primary:hover {
    background-color: #235493 !important;
    border: 1px solid #235493;
  }

  footer {
    background-color: #3C6AA6;
  }

  .footer-icon,
  .footer-desc {
    color: rgb(240, 240, 240);
  }

  .btn-search{
    background-color: #3c6aa6 !important;
    border: 1px solid #3c6aa6;
  }

  .btn-search:hover{
    background-color: #235493 !important;
    border: 1px solid #235493;
  }

  .berita-terkini{
    transition: 0.6s;
  }

  .berita-terkini:hover{
    background-color: #fafafa;
    border-radius: 6px;
    transition: 0.4s;
  }

  .border-primary{
    border-color: #3c6aa6 !important;
  }

  /* profil sidebar menu */

  ul.sidebar-menu{
    border: 1px solid #dadada;
    margin-top: 35px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 10px;
    font-size: 15px;
  }

  ul.sidebar-menu li{
    list-style-type: none;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
  }
  ul.sidebar-menu li > ul li a.active{
    color: #cc3035;
  }
  ul.sidebar-menu li a{
    text-decoration: none;
    color: #333;
  }

  ul.sidebar-menu li a:hover{
    text-decoration: none;
    color: #cc3035;
  }

  ul.sidebar-menu li.active{
    color: #235493;
  }

  /* end of profil sidebar menu */

  ol.misi li{
    margin-top: 5px;
    margin-bottom: 5px;
  }

  ul.sidebar-responsive-menu li{
    list-style-type: none;
    color: #333;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    letter-spacing: 1px;
  }

  ul.sidebar-responsive-menu li a{
    text-decoration: none;
    color: #333;
  }

  ul.sidebar-responsive-menu li a.active{
    color: #cc3035;
  }

  .box-pimpinan{
    min-width: 25%;
    border-radius: 10px;
  }


  .box-pimpinan-title{
    color: #555;
    /* font-weight: lighter; */
  }

  .box-pimpinan-name{
    font-weight: bold;
    font-size: 15px;
    /* margin-bottom: 10px; */
  }

  .box-pimpinan-image{
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .box-pimpinan-button > button{
    background-color: #3c6aa6 !important;
    border: 1px solid #3c6aa6;
  }

  .box-pimpinan-button > button:hover{
    background-color: #235493 !important;
  }

  .button-close-detail{
    background-color: #3c6aa6 !important;
    border: 1px solid #3c6aa6;
  }

  .button-close-detail:hover{
    background-color: #235493 !important;
  }

  @media (max-width: 576px) {
    .box-pimpinan{
      min-width: 50%;
    }
  }

  @media (max-width: 768px) {
    .box-pimpinan{
      min-width: 50%;
    }
  }

  .box-name-prev{
    font-weight: bold;
    font-size: 15px;
  }

  .box-title-prev{
    color: #555;
  }
