
  :root {
   --brand: #34acb0;
   --brands: #ffc107;
    --brand-light: #34acb0;
    --brand-dark: #5ce1e6;
    --bg: #f4f8fa;
    --card: #ffffff;
    --text: #1a202c;
    --muted: #4a5568;
    --accent: #0000;
    --white: #fff;
    --radius: 8px;
    --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.12);
  }

  * { box-sizing: border-box; margin:0; padding:0; }
  body { 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s;
  }
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');
  a { text-decoration: none; color: var(--brand); }
  h1, h2, h3 { color: var(--text); font-weight: 700; }
header {
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 01px 8px rgba(0,0,0,0.2);
  z-index: 100;
  position: sticky;
  top: 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
/* Saat di-scroll: efek transparan + ubah warna teks & ikon */
header.scrolled {
  background: rgba(255, 255, 255, 0.1); /* semi-transparan */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Ubah warna teks dan logo di dalam header */
/* Hanya ubah logo dan hamburger */
header.scrolled .logo {
  color: var(--brand) !important;
}

/* Tetap jaga warna menu tetap putih */
header.scrolled nav ul li a {
  color: #34acb0 !important;
}

/* Tapi saat hover, boleh sedikit transparan */
header.scrolled nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hamburger berubah jadi warna brand */
header.scrolled .hamburger div {
  background: var(--brand);
}


  .nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin:auto;}
  .logo { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: 1px;}
  nav ul { display: flex; gap: 30px; list-style: none;}
  nav ul li { position: relative; }
  nav ul li a { 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
    padding: 10px 15px; 
    display: block; 
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.2s;
  }
  nav ul li:hover > a { background: var(--brand-light); transform: translateY(-1px); }
  
  nav ul li ul { 
    display: none; 
    position: absolute; 
    top: 50px;
    left:0; 
    background: var(--brand-dark); 
    border-radius: var(--radius); 
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 10;
    padding: 8px 0;
  }
  nav ul li:hover ul { display:block; }
  nav ul li ul li a { 
    color: #fff;
    padding: 10px 20px; 
    font-weight: 500;
  }
  nav ul li ul li a:hover {
    background: var(--brand);
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap:6px;
    color: white;
    cursor: pointer;
    padding: 8px;
  }
  .hamburger div {
    width: 30px;
    height:3px;
    background:white;
    border-radius:2px;
    transition: all 0.3s;
  }

  main { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding:0 20px; /* Hapus padding-top */
  }
  
  /* Jarak antar Section */
  #layanan, #laporan, #informasi, #tutorial {
      margin-top: 60px;
  }

  h2 { 
    font-size: 2rem; 
    margin-bottom: 30px; 
    color: var(--brand-dark);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-top: 0; /* Hapus margin-top di sini, gunakan pada #layanan */
  }
  h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  /* --- Perubahan pada Card Layanan --- */
  .card { 
    background: var(--card); 
    border-radius: var(--radius); 
    box-shadow: var(--shadow); 
    transition: all 0.3s;
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
  }
  .card:hover {
    box-shadow: var(--shadow-hover);
  }
  
  .card-content {
    padding: 30px 30px 20px;
    flex-grow: 1; 
  }

  .card h3 { 
    margin-bottom: 15px; 
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
  }
  .card h3 i {
    color: var(--brand);
    margin-right: 15px;
    font-size: 1.8rem;
  }
  
  .card p, .card li { color: var(--muted); font-size: 1.05rem;}
  .card ul { list-style: none; padding-left: 0;}
  .card li { 
    margin-bottom: 10px;
    border-left: 3px solid var(--brand-light);
    padding-left: 10px;
  }

  /* Gaya untuk Action Link pada Layanan Utama */
  .card-action {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--brand); 
    color: white;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
    border-top: 1px solid var(--brand-light);
  }
  .card-action:hover {
    background-color: var(--brand-dark);
    transform: translateY(0); 
  }
  .card-action i {
    margin-right: 10px;
    color: white; 
    font-size: 1.1rem;
  }

  footer { 
    text-align:center; 
    padding: 40px 20px; 
    background: var(--brand-light); 
    color: #ffff; 
    margin-top: 80px;
    font-size: 1rem;
  }
  footer a { color: var(--text); text-decoration: none; transition: color 0.2s;}
  footer a:hover { color: #000;}

  /* --- HERO SLIDER: FULL-WIDTH --- */
  .hero-slider {
      position: relative;
      width: 100%;
      margin: 0; 
      overflow: hidden;
      box-shadow: var(--shadow-hover);
  }
.slides {
  display: flex;
  width: 100%;
  height: 350px;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

  .slide.active {
      opacity: 1;
      z-index: 2;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* --- DOT NAVIGATIONS --- */
  .slider-dots {
      text-align: center;
      padding: 10px 0;
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 20px;
      margin-top: 0; 
  }

  .dot {
      height: 8px;
      width: 8px;
      margin: 0 4px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
      transition: background-color 0.3s, transform 0.2s, border-color 0.3s;
      border: 2px solid #bbb;
  }

  .dot.active {
      background-color: var(--brand); 
      border-color: var(--brand);
      transform: scale(1.2);
  }

  /* --- CAPTION DI BAWAH SLIDER (PERBAIKAN UKURAN H1) --- */
  .slider-captions {
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 60px; /* Jarak yang cukup di bawah caption */
    padding: 0 20px;
  }

  .slider-captions .caption {
      position: relative;
      padding: 0;
      background: none; 
      color: var(--text); 
      display: none; 
      transition: opacity 0.3s ease-in-out;
      text-align: center;
      z-index: 1;
  }

  .slider-captions .caption.active {
      display: block; 
  }

 .slider-captions .caption h2 { /* Catatan: Saya ubah dari h1 ke h2 karena di HTML Anda menggunakan h2 */
      color: var(--brand-dark); 
      /* PERBAIKAN: Mengurangi ukuran H1, max 2.5rem (desktop) dan 1.6rem (mobile) */
      font-size: clamp(1.5rem, 3vw, 2rem); /* Ukuran disesuaikan agar lebih besar */
      margin-bottom: 5px; /* <--- Diubah menjadi 5px untuk jarak yang sangat tipis */
      font-weight: 800;
      text-shadow: none; 
  }

  .slider-captions .caption p {
      color: var(--muted); 
      font-size: clamp(1rem, 1.5vw, 1.4rem);
      max-width: 700px;
      font-weight: 400;
      text-shadow: none; 
      margin: 0 auto;
  }
  
  .info-panel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f0faff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(2, 8, 23, 0.08);
    margin: 60px auto 60px;
    transition: transform 0.2s;
    max-width: 1300px;
    
  }
  .info-panel:hover {
    transform: translateY(-3px);
  }
  .info-icon i {
    font-size: 36px;
  }
  .info-content h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
  }
  .info-content p {
    margin: 0;
    color: #475569;
  }


  @media(max-width:900px){
    .hamburger.open div:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
    .hamburger.open div:nth-child(2) { opacity: 0; }
    .hamburger.open div:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }

    nav ul { 
      display: none; 
      flex-direction: column; 
      background: var(--brand); 
      position: absolute; 
      top: 65px; 
      right: 20px; 
      border-radius: var(--radius); 
      overflow: hidden; 
      width: 280px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      padding: 10px 0;
      gap: 0;
      z-index: 110; 
    }
    nav ul.show { display:flex; }
    .hamburger { display:flex; }
    nav ul li a { padding: 14px 25px; border-radius: 0; }
    nav ul li:hover > a { background: var(--brand-dark); transform: none; }
    
    nav ul li ul {
      position: static;
      background: var(--brand-dark);
      box-shadow: none;
      border-radius: 0;
      padding: 0;
      width: 100%;
      margin-top: 0;
      
    }
    nav ul li ul li a:hover { background: var(--brand-light); }

    .card-grid {
      grid-template-columns: 1fr;
    }
    h2 {
      font-size: 1.5rem;
    }
    
    /* Penyesuaian Mobile untuk Slider */
    .hero-slider {
        margin: 0;
    }
    .slides {
        height: 250px; 
    }
    .slider-captions .caption h1 {
        font-size: 1.6rem;
    }
    .slider-captions .caption p {
        font-size: 1.1rem;
    }
    main { 
        padding-top: 0;
    }
    header.scrolled nav ul li a {
    color: white !important;
    
  }
  header.scrolled nav ul li a i {
    color: white !important;
    

  }
  }
  /* Tombol panah slider (versi clean) */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1.5rem;
  pointer-events: none;
}

.arrow {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: all;
  cursor: default;
  user-select: none;
  transition: all 0.3s ease;
}

.arrow:hover {
  color: #ffffff;
  transform: scale(1.15);
}

  .intro-text {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.rules-list {
  margin: 0 0 15px 0;
  padding-left: 20px;
}

.rules-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}
.subtext {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.summary-top {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 20px 0;
    flex-wrap: wrap;
  }


  .summary-item {
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
    transition: transform 0.2s ease;
  }

  .summary-item:hover {
    transform: scale(1.03);
  }

  .summary-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
  }

  .summary-item h3 {
    margin: 5px 0 0;
    color: #222;
  }

  .icon-green {
    color: #16a34a;
    font-size: 28px;
  }

  .icon-blue {
    color: #2563eb;
    font-size: 28px;
  }

.summary-box {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.summary-box.green { border-left: 5px solid #22c55e; }
.summary-box.red { border-left: 5px solid #ef4444; }

.data-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}
.data-list li {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.lihat-container {
  display: flex;
  gap: 10px;
}
.lihat-btn {
  background-color: #e5e7eb;
  color: #333;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.lihat-btn:hover {
  background-color: #d1d5db;
}
/* Pastikan warna primer dan sekunder sudah didefinisikan di :root atau sejenisnya */
:root {
    --primary-color: #34acb0; /* Biru/Warna Utama Anda */
    --secondary-color: #28a745; /* Hijau/Warna Kontras */
    --text-light: #ffffff;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-digipan-section {
    padding: 30px 20px;
    background-color: #f0f4f8; /* Background ringan */
    border-bottom: 1px solid var(--primary-color);
     border-top: 1px solid var(--primary-color);
}

.about-card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* Untuk responsif */
}

.about-card {
    flex: 1 1 45%; /* Fleksibel, maksimal 45% lebar */
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    color: var(--text-light); /* Default text color putih */
    min-width: 300px;
}

.about-card.primary-bg {
    background: var(--primary-color);
    background: linear-gradient(135deg, #5ce1e6, #34acb0); /* Gradien */
}

.about-card.secondary-bg {
    background: var(--secondary-color);
    background: linear-gradient(135deg, #28a745, #5ce1e6);
}

.about-card h3 {
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-light);
}

.about-card p {
    font-size: 1em;
    line-height: 1.6;
    opacity: 0.9;
}

.icon-large {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #ffc107; /* Warna kuning sebagai aksen */
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1em;
}

.feature-item i {
    margin-right: 10px;
    color: #ffc107; /* Warna kuning untuk ikon checklist */
}

.card-action-link {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.card-action-link:hover {
    background-color: rgba(255, 255, 255, 0.4);
}
