
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: rgba(255, 255, 255, 0);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
  }

  .header .header-container {
    /* background: var(--surface-color); */
    border-radius: 50px;
    padding: 5px 25px;
    box-shadow: 0px 2px 15px rgba(2, 225, 255, 0.194);
  }

  .scrolled .header .header-container {
    background: color-mix(in srgb, var(--surface-color), transparent 5%);
  }

  .header .logo {
    line-height: 1;
    padding-left: 5px;
  }

  .header .logo img {
    max-height: 36px;
    margin-right: 8px;
    margin-left: 8px;
  }

  .header .logo h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 500;
    color: var(--heading-color);
  }

  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 20px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
  }

  .header .btn-getstarted:hover,
  .header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
  }

  @media (max-width: 1200px) {
    .header {
      padding-top: 10px;
    }

    .header .header-container {
      /* margin-left: 10px; */
      margin-right: 10px;
      padding: 10px 5px 10px 15px;
    }

    /* .header .logo {
      order: 1;
    } */

    .header .btn-getstarted {
      order: 2;
      margin: 0 10px 0 0;
      padding: 6px 15px;
    }

    .header .navmenu {
      order: 3;
    }
  }

  .header {
    background: rgba(255, 255, 255, 0); /* Transparan di awal */
    transition: background 0.3s ease-in-out;
}

.header-container{
    backdrop-filter: blur(10px);
    background: rgb(102 226 231 / 26%);
}

.header.scrolled {
    background: rgba(255, 255, 255, 1); /* Solid saat scroll */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Efek bayangan */
}
         /* Fullscreen Hero Section */
         .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/img/bupati.png') center/cover no-repeat;
            color: rgba(255, 255, 255, 0);
            text-align: center;
            position: relative;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0);
        }
        .hero-content {
            position: relative;
            z-index: 1;
        }


        .stat-item {
            background: #fff;
            border: 2px solid #f8d775; /* Warna border */
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Efek shadow */
            transition: 0.3s ease-in-out;
        }

        .stat-item:hover {
            transform: translateY(-5px); /* Efek hover */
            box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
        }

        .stat-icon i {
            font-size: 40px;
            color: #f39c12; /* Warna ikon */
        }

        .stat-content h4 {
            font-weight: bold;
            color: #333;
            margin-top: 10px;
        }

        .stat-content p {
            color: #666;
            font-size: 14px;
        }

         /* Fullscreen Carousel */
         .carousel-item {
            height: 100vh;
            min-height: 600px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        /* Overlay */
        .carousel-caption {
            background: rgb(84, 145, 143);
            padding: 20px;
            border-radius: 10px;
        }

        .carousel-caption h2 {
            font-size: 36px;
            font-weight: bold;
        }

        .carousel-caption p {
            font-size: 18px;
            color: #ddd;
        }

        /* Tombol navigasi */
        .carousel-control-prev, .carousel-control-next {
            width: 5%;
        }

        /* Animasi teks */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        .active .fade-in {
            opacity: 1;
            transform: translateY(0);
        }

        .service-card {
            border-radius: 10px;
            border: 2px solid #f8d775; /* Border hijau */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
            background-color: white;
        }
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
        }
        .service-icon {
            font-size: 40px;
            color: #f8d775;
        }
