@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box
  }

body{
font-family: "Montserrat";
 line-height: 1.5;
 overflow-x: hidden;
}

/* BUTTON */
.navbar-toggler {
    padding: 10px;
}

/* ICON CONTAINER */
.animated-icon {
    width: 26px;
    height: 22px;
    position: relative;
    cursor: pointer;
    transition: .5s ease-in-out;
}

/* GARIS */
.animated-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;;
    border-radius: 10px;
    opacity: 1;
    left: 0;
    transition: .25s ease-in-out;
}

/* POSISI GARIS */
.animated-icon span:nth-child(1) {
    top: 0px;
}

.animated-icon span:nth-child(2) {
    top: 10px;
}

.animated-icon span:nth-child(3) {
    top: 20px;
}

/* SAAT ACTIVE */
.animated-icon.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.animated-icon.active span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.animated-icon.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}


.nav-item .nav-link{
 font-family: 'Montserrat', sans-serif;
font-weight: 600;
text-transform: uppercase;
letter-spacing: -0.2px;
  color: #141414;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
}
.scroll-nav-active{
    background-color:#1976d2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.text-nav-active{
  color: #111111;
}

#hero{
    background-image: url('../image/gambar1.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    width: 100%;
    height: 100vh;
}
 

/* PENDUDUK */
/* CARD */
.card-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 30px;
  border-radius: 18px;

  background: #fff;

  box-shadow: 0 5px 15px rgba(0,0,0,0.08);

  min-height: 180px;

  transition: 0.3s;
}

.card-custom:hover {
  transform: translateY(-5px);
}

/* TEXT */
.card-custom h5 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-custom h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-custom small {
  font-size: 14px;
}

/* ICON */
.icon-big {
  width: 100px;
  height: auto;
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {

  .card-custom {
    padding: 25px;
    min-height: 160px;
  }

  .card-custom h2 {
    font-size: 32px;
  }

  .icon-big {
    width: 80px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {
   .logo-navbar{
        display: none;
    }

 #hero{
        height: 31vh;
        background-size: contain;
    }

  .card-custom {
    flex-direction: column;
    text-align: center;
    gap: 20px;

    padding: 25px;
  }

  .card-custom h5 {
    font-size: 20px;
  }

  .card-custom h2 {
    font-size: 30px;
  }

  .icon-big {
    width: 70px;
  }
}

/* Header Tanggal */
        .date-header-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 3rem;
        }

        .date-line {
            flex-grow: 1;
            height: 2px;
            background-color: #1b365d;
            max-width: 150px;
            position: relative;
        }

        .date-line::before {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            background-color: #1b365d;
            border-radius: 50%;
            top: -3px;
        }
        
        .date-line.left::before { right: -4px; }
        .date-line.right::before { left: -4px; }

        .date-badge {
            background: white;
            padding: 0.6rem 2.5rem;
            border-radius: 30px;
            font-family: 'Oswald', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #1b365d;
            margin: 0 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            text-transform: uppercase;
        }

        /* Main Card Container */
        .main-card {
            border: 4px solid white;
            border-radius: 16px;
            padding: 2rem 1.5rem;
            height: 100%;
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
            color: white;
            position: relative;
            transition: transform 0.3s ease;
        }

        .main-card:hover {
            transform: translateY(-5px);
        }

        .card-ktp {
            background: linear-gradient(180deg, #3a68d8 0%, #294eb5 100%);
        }

        .card-kia {
            background: linear-gradient(180deg, #e75066 0%, #cf3249 100%);
        }

        .card-title-main {
            font-size: 1.3rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 2rem;
            letter-spacing: 0.5px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }

        /* Stock Info Styles */
        .stock-section {
            text-align: center;
        }

        .stock-label {
            font-size: 1rem;
            font-weight: 700;
            border-bottom: 2px solid rgba(255,255,255,0.4);
            padding-bottom: 5px;
            margin-bottom: 5px;
            display: inline-block;
            letter-spacing: 1px;
        }

        .stock-number {
            font-family: 'Oswald', sans-serif;
            font-size: 4.5rem;
            font-weight: 700;
            line-height: 1;
            margin: 15px 0;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
        }

        .stock-unit {
            font-size: 0.95rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            letter-spacing: 1px;
        }
        
        .stock-unit::before, .stock-unit::after {
            content: '';
            height: 2px;
            width: 25px;
            background-color: white;
            display: inline-block;
        }

        /* Mockup ID Card */
        .mockup-id {
            border-radius: 12px;
            padding: 12px;
            box-shadow: inset 0 0 10px rgba(255,255,255,0.4), 0 6px 12px rgba(0,0,0,0.15);
        }

        .mockup-ktp { background-color: #dceafc; color: #1a365d; }
        .mockup-kia { background-color: #fce4e8; color: #7a1d29; }

        .mockup-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .mockup-logo { font-size: 1.6rem; line-height: 1; }

        .mockup-title {
            font-size: 0.65rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .mockup-body {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .mockup-lines {
            flex-grow: 1;
            margin-right: 10px;
        }

        .m-line {
            height: 4px;
            border-radius: 2px;
            margin-bottom: 6px;
        }
        .mockup-ktp .m-line { background-color: #3a68d8; }
        .mockup-kia .m-line { background-color: #e75066; }

        .m-line:nth-child(1) { width: 100%; }
        .m-line:nth-child(2) { width: 80%; }
        .m-line:nth-child(3) { width: 95%; }
        .m-line:nth-child(4) { width: 65%; }

        .mockup-avatar {
            width: 65px;
            height: 80px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.8rem;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .mockup-ktp .mockup-avatar { background-color: #5c8df6; }
        .mockup-kia .mockup-avatar { background-color: #ff8fa3; }


 
/* persyaratan */
/* SECTION */
.pelayanan {
  background: #5b74b8;
  color: white;
  padding: 80px 40px;
  text-align: center;
}

h2 {
  letter-spacing: 3px;
}

/* LAYOUT */
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

/* LEFT */
.left h1 {
            text-align: left;
            font-size: clamp(28px, 6vw, 40px);
            line-height: 1.3;
}

/* DIVIDER */
.divider {
  width: 2px;
  height: 200px;
  background: white;
}

 @media (max-width: 768px) {
            .divider {
                display: none;
            }
            .left h1 {
                text-align: center;
            }
        }

/* RIGHT */
.right {
            position: relative;
            width: 100%;
            max-width: 600px;
            overflow: hidden;
        }

/* SLIDER */
.slider {
  display: flex;
  transition: transform 0.5s ease;
}


.card.pelayanan {
  width: 150px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.9);
  border-radius: 15px;
  padding: 20px;
  margin: 0 10px;
  backdrop-filter: blur(5px);
}

.card.pelayanan img {
  width: 90px;
  margin-bottom: 10px;
  
}

.card.pelayanan p {
  font-size: 14px;
  opacity: 0.8;
}

/* NAV */
.nav {
position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            color: black;
            border: none;
            padding: clamp(8px, 2vw, 12px);
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: clamp(16px, 4vw, 20px);
}

.prev { left: 10px; }
.next { right: 10px; }

 @media (max-width: 480px) {
            .nav {
                display: none;
            }
        }


/* DESC */
.desc {
  margin-top: 40px;
  opacity: 0.8;
}

/* BUTTON */
.btn {
  margin-top: 20px;
  padding: 15px 30px;
  border-radius: 30px;
  border: none;
  background: white;
  font-weight: bold;
  cursor: pointer;
}

/* FOOTER */
.desc {
  margin-top: 40px;
  font-size: 14px;
}

.btn {
  margin-top: 20px;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  background: #ddd;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: rgb(224, 6, 6);
}

/* video */
.video-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0d47a1, #1976d2, #42a5f5);
  color: white;
}

.sub-title {
  letter-spacing: 3px;
  font-size: 14px;
  opacity: 0.8;
}

.title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* CARD VIDEO */
.video-card {
  overflow: hidden;

  border-radius: 15px;

  background: rgba(255,255,255,0.1);

  backdrop-filter: blur(10px);

  transition: .3s;

  box-shadow: 0 10px 25px rgba(0,0,0,.3);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

/* HOVER EFFECT */
.video-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* BUTTON */
.btn-video {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 30px;
  background: white;
  color: #1976d2;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-video:hover {
  background: #e3f2fd;
  transform: scale(1.05);
}

/* GALERI */
/* Container Utama Galeri */
.galeri {
    padding: 40px 20px;
    background-color: #f9f9f9; /* Opsional: warna latar belakang */
}

.galeri .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Wrapper Slider untuk posisi tombol berdampingan */
.slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin: 20px auto;
    gap: 15px;
}

/* Track Slider (Jendela yang memotong gambar meluap) */
.slider-track {
    overflow: hidden;
    width: 100%;
    border-radius: 8px; /* Sudut melengkung halus */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Barisan Slide (Flexbox) */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* Setiap Item Slide */
.slide {
    min-width: 100%; /* Default: 1 gambar per baris di HP */
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 400px; /* Tinggi konstan untuk desktop */
    object-fit: cover; /* Gambar terpotong rapi, tidak maksa/gepeng */
    display: block;
}

/* Tombol Navigasi */
.nav {
    background: #333;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.nav:hover {
    background: #555;
    transform: scale(1.1);
}

/* Indikator Dots */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #333; /* Warna dot aktif */
}

/* RESPONSIVE BREAKPOINTS (Media Queries) */
@media (max-width: 768px) {
    .slide img {
        height: 250px; /* Tinggi gambar lebih pendek di HP */
    }
    
    .nav {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .slider-wrapper {
        gap: 5px; /* Sempitkan jarak tombol di HP */
    }
}


        

/* SIDEBAR */
body {
  background: #fff;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: #fff;
  border-right: 2px solid #ddd;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.sidebar li:hover {
  background: #f0f0f0;
}

.sidebar .active {
  border-left: 4px solid #1e3a8a;
  background: #eaf0ff;
  font-weight: bold;
}

/* PROFILE */
.profile {
  width: 300px;
  text-align: center;
}

.profile img {
  width: 100%;
  border-radius: 10px;
}

.profile h2 {
  margin-top: 15px;
  font-size: 18px;
}

.profile p {
  font-size: 14px;
  color: #555;
}

.visi {
  width: 300px;
  text-align: center;
}

.visi img {
  width: 100%;
  border-radius: 10px;
}

/* CONTENT */
.content {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}



body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.footer {
  background: linear-gradient(to right, #0d47a1, #1976d2);
  color: white;
  padding: 40px 20px;
}

.container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.logo {
  font-size: 28px;
  margin-bottom: 10px;
}

h3 {
  margin-bottom: 10px;
  border-bottom: 2px solid #b4d455;
  display: inline-block;
  padding-bottom: 5px;
}

.stats {
  list-style: none;
  padding: 0;
}

.stats li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.survey-text {
  margin: 15px 0;
}

 /* ===== MEDIA QUERIES ===== */
        @media (max-width: 768px) {
            .cards {
                flex-direction: column;
            }
            
            .card {
                min-width: auto;
            }
            
            .wrapper {
                flex-direction: column;
            }
            
            .right {
                max-width: 100%;
            }
        }


        @media (max-width: 480px) {
            .card h1 {
                font-size: 22px;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
            }
            
            .pelayanan {
                padding: 40px 15px;
            }
        }