:root{
  --primary:#223a54;
  --accent:#f5c23a;
  --glass:rgba(255,255,255,0.12);
  --card-border:rgba(255,255,255,0.14);
  --muted:#6b7785;
  /* optional themeable variables */
  --bg-default: #f4f6f8;
  --text-default: #102029;
  --color-kuning: #e5cc41;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* global */
*{box-sizing:border-box}

body{
  margin:0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  background:var(--bg-default);
  color:var(--text-default);
  overflow-x:hidden;
  transition: background .22s ease, color .22s ease;
}

a{
  color:inherit;
  text-decoration:none;
}

/* NAVBAR */
.navbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  background:var(--primary);
  color:#fff;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition: background .22s ease, color .22s ease;
}
.nav-left{
  display:flex;
  align-items:center;
  gap:14px;
}
.menu-toggle{
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}
.brand{font-weight:500}
.lang-switch{
  background:#fff;
  color:#102029;
  padding:6px 10px;
  border-radius:8px;
}

/* OFFCANVAS MENU + SUBMENU PANEL */
.offcanvas-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.4);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s;
  z-index:40;
}
.offcanvas{
  position:fixed;
  left:0;
  top:0;
  height:100vh;
  width:320px;
  background:var(--primary);
  color:#fff;
  transform:translateX(-100%);
  transition:transform .28s;
  z-index:50;
  display:flex;
  flex-direction:column;
  padding:18px;
}
.offcanvas.open{transform:translateX(0)}
.offcanvas-backdrop.show{
  opacity:1;
  pointer-events:auto;
}
.offcanvas .close{
  margin-left:auto;
  background:transparent;
  border:0;
  color:#fff;
  font-size:22px;
  cursor:pointer;
}
.offcanvas .menu-list{
  margin-top:18px;
  padding:6px 4px;
}

.menu-item{
  padding:16px 14px;
  border-radius:6px;
  margin-bottom:6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
}
.menu-item:hover{background: rgba(255,255,255,0.18);}

.menu-item.active{
  background:var(--color-kuning);
  color:#102029;
}
.submenu{
  opacity:0.95;
  color:rgba(255,255,255,0.85);
}



/* right-side submenu panel (desktop/wide) */
.submenu-panel{
  position:fixed;
  left:320px;
  top:72px;
  width:340px;
  height:calc(100vh - 140px);
  background:var(--primary);
  color:#fff;
  border-radius:8px;
  box-shadow:0 18px 40px rgba(2,6,23,0.6);
  opacity:0;
  pointer-events:none;
  transform:translateY(-6px);
  transition:opacity .22s,transform .22s;
  z-index:48;
  padding:18px;
}
.submenu-panel.open{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.submenu-panel h4{
  margin:0 0 12px;
}
.submenu-panel ul{
  list-style:none;
  padding:0;
  margin:0;
}
.submenu-panel li{
  padding:12px;
  border-radius:6px;
  margin-bottom:8px;
  background:rgba(255,255,255,0.03);
}

.submenu-item:hover,
.submenu-mobile-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateX(2px);
}

/*BANNER*/




    /* hero banner */
    .hero-banner{ position:relative !important; width:100vw; left:50%; transform:translateX(-50%); overflow:hidden; z-index:0; }
    .hero-track{ display:flex; transition: transform .6s cubic-bezier(.2,.9,.2,1); will-change: transform; }

    .hero-slide{
      position:relative !important;
      display:block !important;
      flex:0 0 100vw;
      width:100vw;
      min-height:80vh;
      overflow:hidden;
    }

    .slide-bg{ position:absolute; top:0; left:50%; transform:translateX(-50%); width:100vw; height:100%; z-index:0; overflow:hidden; pointer-events:none; }
    .slide-bg img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
    .hero-slide::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(2,6,23,0.12), rgba(2,6,23,0.06)); z-index:1; pointer-events:none; }

    .hero-inner{ position:relative; z-index:2; width:100%; max-width:1180px; margin:0 auto; padding:0 18px; text-align:center }
    .hero-title{ color:#fff; font-size:40px; margin:6px 0 18px; text-shadow:0 6px 18px rgba(0,0,0,0.45) }
    /*.search-row{ margin:18px 0 28px; display:flex; justify-content:center }*/
    /*.search{ display:flex; gap:12px; align-items:center; background:rgba(255,255,255,0.85); padding:14px; border-radius:18px; max-width:980px; width:100% }*/
    /*.search input{ flex:1; border:0; outline:none; background:transparent; padding:10px; font-size:15px }*/
    /*.search button{ background:#fff;border:0;padding:8px 14px;border-radius:10px;cursor:pointer }*/

    .cards{ display:flex; gap:22px; justify-content:center; flex-wrap:wrap; margin-top:6px }
    .card{ background: rgba(255,255,255,0.95); padding:22px; border-radius:14px; max-width:360px; box-shadow:0 10px 25px rgba(0,0,0,0.12); color:#0b1620; text-align:left; z-index:2 }
    .card h3{ margin:0 0 10px }
    .card p{ margin:0 0 18px; color:#4a5561 }
    .card-btn{ display:inline-block; background:#fff; padding:10px 20px; border-radius:10px; text-decoration:none; color:#0b1620 }

    /* arrows */
    .hero-btn{ position:absolute; top:50%; transform:translateY(-50%); width:46px; height:46px; border-radius:50%; border:0; background:#fff; display:flex; align-items:center; justify-content:center; z-index:90; box-shadow:0 6px 18px rgba(0,0,0,0.2); cursor:pointer }
    .hero-prev{ left:18px } .hero-next{ right:18px }

    /* hero-dots top-right */
    /*.hero-dots{*/
    /*  position:absolute;*/
    /*  top:20px;*/
    /*  right:24px;*/
    /*  display:flex;*/
    /*  gap:10px;*/
    /*  background: rgba(0,0,0,0.45);*/
    /*  padding:8px 12px;*/
    /*  border-radius:22px;*/
    /*  z-index:110;*/
    /*  box-shadow:0 6px 16px rgba(0,0,0,0.25);*/
    /*}*/
    
    .hero-dots{
      position: absolute;
      bottom: 5px;                 /* pindah ke bawah */
      left: 50%;                    /* tengah horizontal */
      transform: translateX(-50%);  /* benar-benar tengah */
    
      display: flex;
      gap: 10px;
    
      background: rgba(0,0,0,0.45);
      padding: 8px 14px;
      border-radius: 22px;
    
      z-index: 110;
      box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }
    
    .hero-dots button{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: 
    width .3s ease,
    background .3s ease,
    transform .2s ease;
}

/* DOT AKTIF MEMANJANG */
.hero-dots button.active{
  width: 24px;                 /* ⬅️ ini yang bikin memanjang */
  border-radius: 10px;         /* pill shape */
  background: #fff;
}


@media screen and (max-width: 768px) {
  .hero .hero-dots {
    bottom: 10px !important;
    padding: 6px 10px !important;
    gap: 6px !important;
  }

  .hero .hero-dots span,
  .hero .hero-dots button {
    width: 8px !important;
    height: 8px !important;
  }
}

    
    /*.hero-dots button{ width:10px; height:10px; border-radius:50%; border:0; background:rgba(255,255,255,0.6); cursor:pointer }*/
    /*.hero-dots button.active{ background:#fff; transform:scale(1.2) }*/

    /* bottom panel — now content aligned left */
    .bottom-panel{
      position:absolute !important;
      left:0 !important;
      right:0 !important;
      width:100vw !important;
      bottom:20px !important;
      top:auto !important;
      z-index:95 !important;
      pointer-events:none;
    }
    .bottom-panel-inner{
      /*max-width:1180px;*/
      margin:0 auto;
      padding:12px 18px;
      display:flex;
      align-items:center;
      justify-content:flex-start; /* left align */
      gap:12px;
      pointer-events:auto;
    }

    .panel-caption{
      /* left aligned caption */
      flex:0 0 auto;
      background:rgba(0,0,0,0.55);
      color:#fff;
      padding:12px 18px;
      border-radius:10px;
      text-align:left; /* left */
      box-shadow:0 8px 24px rgba(0,0,0,0.35);
      min-width: 320px;
      max-width: 80%;
    }
    .panel-caption h3{ margin:0 0 6px; font-size:20px;}
    .panel-caption p{ margin:0; font-size:13px; opacity:0.95 }

    /* remove panel-controls (hidden) */
    .panel-controls{ display:none !important; }

    /* caption-bottom fallback if present */
    .caption-bottom{
      position:absolute !important;
      left:20px !important;
      right:auto !important;
      bottom:20px !important;
      top:auto !important;
      z-index:85 !important;
      background: rgba(0,0,0,0.55);
      color:#fff;
      padding:14px 18px;
      border-radius:10px;
      text-align:left;
      box-shadow:0 8px 24px rgba(0,0,0,0.35);
      min-width: 320px;
    }

    /* responsive */
    /*@media (max-width:900px){*/
    /*  .hero-title{ font-size:30px }*/
    /*  .panel-caption{ min-width:220px; max-width: 90%; }*/
    /*  .panel-caption h3{ font-size:18px }*/
    /*}*/
    /*@media (max-width:520px){*/
    /*  .hero-dots{ top:12px; right:12px; padding:6px 8px }*/
    /*  .bottom-panel-inner{ padding:10px 12px; flex-direction:column; align-items:flex-start; gap:8px }*/
    /*  .panel-caption{ width:100%; min-width: unset; max-width: unset; }*/
    /*  .caption-bottom{ left:12px; bottom:14px; min-width: unset; width: calc(100% - 24px) }*/
    /*}*/

/* HERO with search + cards */
.hero{
  background-image:url('../img/hero-bg.png');
  background-size:cover;
  background-position:center;
  min-height:66vh;
  position:relative;
  display:flex;
  align-items:flex-start;
    display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .hero-title {
    margin-bottom:30px;
}


.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(2,6,23,0.45), rgba(2,6,23,0.25));
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:28px auto;
  padding:20px;
  width:100%;
}

.text-center {
  text-align: center;
}

.hero-title{
  color:#fff;
  font-size:38px;
  margin:6px 0 16px;
  text-shadow:0 6px 18px rgba(0,0,0,0.45);
}

.search-row{
  display:flex;
  gap:12px;
  align-items:center;
  background: linear-gradient(
    180deg,
    #eef3ff 0%,
    #f5f7fb 100%
  );

}

/*.search {*/
/*  flex: 1;*/
/*  background: rgba(255, 255, 255, 0.70);*/
/*  padding: 16px 20px;*/
/*  border-radius: 18px;*/

/*  backdrop-filter: blur(18px) saturate(180%);*/
/*  -webkit-backdrop-filter: blur(18px) saturate(180%);*/

/*  border: 1px solid rgba(255, 255, 255, 0.55);*/
/*  box-shadow: 0 8px 22px rgba(0,0,0,0.06);      */

/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 14px;*/
/*}*/

/*.search input {*/
/*  flex: 1;*/
/*  border: 0;*/
/*  background: transparent;*/
/*  color: #2b2b2b;*/
/*  outline: none;*/
/*  font-size: 15px;*/
/*}*/

.search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;

  padding: 14px 16px;
  font-size: 16px;
  color: #2b2b2b;
}

.search input::placeholder {
  color: #8e97a3;
}

.search button {
  border: none;
  cursor: pointer;

  padding: 12px 26px;
  border-radius: 16px;

  background: var(--primary);
  color: #ffffff;

  font-size: 14px;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 79, 216, 0.35);
}



.search .cta {
  background: rgba(255,255,255,0.25);
  color: #333;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.search strong {
  background: linear-gradient(90deg, #6a5af9, #ff7b5d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  gap: 20px;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 30px;
}

.hero-inner, .hero-top {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


:root {
  --card-width: 360px;   
  --card-gap: 28px;      
  --cols: 3;             
}

.hero-inner {
  display: flex !important;
  flex-direction: column;
  align-items: center;   
  width: 100%;
  box-sizing: border-box;
  padding-left: 18px;    
  padding-right: 18px;
}

/*.search {*/
  /* total width = cols * card-width + (cols - 1) * gap */
/*  width: calc(var(--card-width) * var(--cols) + var(--card-gap) * (var(--cols) - 1));*/
/*  max-width: 95%;*/
/*  margin: 18px 0 28px 0;*/
/*  box-sizing: border-box;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 14px;*/
/*}*/

.search {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 50px;

  display: flex;
  align-items: center;
  gap: 12px;

  background: #ffffff;
  padding: 16px 18px;
  border-radius: 22px;

  border: 2px solid rgba(31, 79, 216, 0.2);
  box-shadow: 0 18px 48px rgba(31, 79, 216, 0.18);

  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 480px) {
  .search {
    gap: 1px;
  }

  .search button {
    padding: 10px 10px;
    font-size: 13px;
    height: 40px;
    border-radius: 12px;
  }
}


/*.search-row { width:100%; display:flex; justify-content:center; }*/

.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--card-width));
  gap: var(--card-gap);
  width: max-content;       
  margin: 0 auto 36px auto; /* center horizontal */
  justify-items: center;
  align-items: start;
  box-sizing: content-box;
}

.card {
  width: var(--card-width);
  max-width: var(--card-width);
  box-sizing: border-box;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  min-height: 210px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}

/* teks */
.card h3 { font-size:20px; margin-bottom:12px; color:#111; }
.card p  { color:#333; line-height:1.45; }

/* RESPONSIVE: ubah kolom & ukuran pada layar lebih kecil */
@media (max-width: 1100px) {
  :root { --cols: 2; }
  .cards {
    width: 100% !important;
    max-width: calc(var(--card-width) * 2 + var(--card-gap));
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    margin: 0 auto 28px;
    justify-items: center;
  }
  .search {
    width: min(95%, calc(var(--card-width) * 2 + var(--card-gap)));
  }
  .card { width: 100%; max-width: 520px; min-height: 200px; }
}

@media (max-width: 640px) {
  :root { --cols: 1; }
  .cards {
    width: 100% !important;
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 18px;
    margin: 12px auto 24px;
  }
  .search { width: min(95%, 420px); margin-bottom: 18px; }
  .card { width: 100%; padding: 20px; min-height: 170px; }
}

/* SAFETY: override any parent flex rules that might push .cards left/right */
.hero-top, .hero-inner, main {
  display: block; /* ensure normal block flow for contained centering */
}

.card-btn {
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-size:15px;
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  text-align: center;
  transition: 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.card-btn:hover {
  background: #4c7fb6;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}


/* floating accessibility icons + chat */
.float-left,.float-right{
  position:fixed;
  z-index:60;
}
.float-left{
  left:14px;
  top:160px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.float-right{
  right:14px;
  top:220px;
}
.icon{
  width:44px;
  height:44px;
  border-radius:10px;
  background:rgba(255,255,255,0.95);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 14px rgba(2,6,23,0.2);
}

/* running marquee */
.running{
  --marquee-duration: 50s;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  text-align: left;
  overflow: hidden;
  position: relative;
  height: 42px;
  display: block;
}

.running .marquee{
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) translateX(0);
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: marquee var(--marquee-duration) linear infinite;
  padding-right: 2rem;
}

@keyframes marquee{
  0%   { transform: translateY(-50%) translateX(0); }
  100% { transform: translateY(-50%) translateX(calc(-100% - 100vw)); }
}

@media (prefers-reduced-motion: reduce){
  .running .marquee {
    animation: none;
    position: static;
    transform: none;
  }
}

.running:hover .marquee,
.running:focus-within .marquee {
  animation-play-state: paused;
}

.section{
  max-width:1180px;
  margin:26px auto;
  padding:10px 16px;
}
.berita{
  display:flex;
  gap:18px;
}
.berita .main{
  flex:2;
  background:#fff;
  padding:18px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(16,32,41,0.06);
}
.berita .side{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.berita .item{
  background:#fff;
  padding:12px;
  border-radius:8px;
}

/* stacked blocks */
.stack{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:18px;
}
.stack .block{
  background:#fff;
  padding:34px;
  border-radius:8px;
  text-align:center;
  color:var(--primary);
  box-shadow:0 6px 18px rgba(16,32,41,0.06);
}

/* statistik + footer */
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:18px;
}
.stat{
  background:#fff;
  padding:18px;
  border-radius:8px;
  text-align:center;
}


/* responsive */
@media (max-width:1024px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .hero-title{font-size:30px}
  .submenu-panel{display:none}
}
@media (max-width:640px){
  .cards{grid-template-columns:1fr}
  .berita{flex-direction:column}
  .stats{grid-template-columns:repeat(2,1fr)}
  .offcanvas{width:86vw}
}

/* lang switch */

.lang-switch-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* CONTAINER SWITCH */
.lang-switch {
  position: relative;
  display: inline-flex;
  width: 70px;
  height: 32px;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  align-items: center;
  justify-content: space-between; 
  padding: 0 6px;
}

.lang-switch input {
  display: none;
}

.lang-switch .label-id,
.lang-switch .label-en {
  width: 20px;           
  height: 20px;
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontal center */
  font-size: 12px;
  z-index: 3;
  transition: color .25s ease;
}

.lang-switch .slider {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  transition: transform .25s ease;
  left: 3px;
  top: 2px;
  z-index: 2;
}

/* WARNA TEKS SAAT ID AKTIF */
#langToggle:not(:checked) ~ .label-id { color: #fff; } 
#langToggle:not(:checked) ~ .label-en { color: #102029; }

/* WARNA TEKS SAAT EN AKTIF */
#langToggle:checked ~ .label-id { color: #102029; }
#langToggle:checked ~ .label-en { color: #fff; }

/* PERGERAKAN SLIDER */
#langToggle:checked + .slider {
  transform: translateX(38px);
}

/* =====================================================
   NIGHT MODE / THEME SWITCH
   - apply by toggling <body class="dark">
   - theme toggle control styles (#themeToggle used)
   ===================================================== */

/* Dark theme overrides */
body.dark {
  --bg-default: #071226;
  color: #dbe9f5;
  background: #071226;
}

body.dark .card h3 {
  color: #f4f9ff;
}

body.dark .card p {
  color: #c7d6e6;
}

body.dark .slide {
  background: rgba(10, 18, 32, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
}

body.dark .slide-link {
  color: #e6f0f9;
}

/* ICON WRAPPER */
body.dark .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* FONT ICON (Font Awesome, Bootstrap Icon, dll) */
body.dark .icon i {
  color: #ffffff !important;
  font-size: 28px;
}

/* SVG ICON */
body.dark .icon svg {
  width: 28px;
  height: 28px;
  fill: #ffffff !important;
}


body.dark .h {
  color: #ffffff;
}

body.dark .desc {
  color: #c7d6e6;
}

body.dark .arrow {
  background: #ffffff;
}

body.dark .arrow svg {
  fill: #071226;
}

/* ===== ACTIVE SLIDE ===== */
.slide.active {
  transform: scale(1.04);
}

body.dark .navbar {
  background: #071b2b;
  color: #e6f0f9;
}

body.dark .offcanvas,
body.dark .submenu-panel {
  background: #082232;
  color: #e6f0f9;
  border-color: rgba(255,255,255,0.04);
}

body.dark .card,
body.dark .berita .main,
body.dark .berita .item,
body.dark .stack .block,
body.dark .stat {
  background: rgba(8,14,22,0.55);
  color: #e6f0f9;
  box-shadow: none;
}

body.dark .hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.45));
}

body.dark .running {
  background: #0b2233;
  color: #d7f7ff;
}

body.dark footer {
  background: #05121a;
  color: #bcd8ea;
}

/* keep language switch readable in dark mode */
body.dark .lang-switch {
  background: #f3f5f7;
  color: #102029;
}
body.dark .lang-switch .slider {
  background: #f6c23a;
}

body.dark .search-row {
  display: flex;
  gap: 12px;
  align-items: center;

  background: linear-gradient(
    180deg,
    #121826 0%,
    #0b0f1a 100%
  );

  border-radius: 20px;
  padding: 16px;

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


/* Theme toggle control styles (simple circle slider) */
.theme-switch {
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
}
.theme-switch input { display:none; }

/* slider track */
.theme-switch .theme-slider {
  width:36px;
  height:20px;
  border-radius:20px;
  background:#cfd8dc;
  position:relative;
  transition:background .22s ease;
  flex: 0 0 auto;
}
.theme-switch .theme-slider::after {
  content:'';
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff;
  top:2px;
  left:2px;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
  transition:transform .22s ease;
}

/* checked -> dark mode */
#themeToggle:checked + .theme-slider {
  background:#334e66;
}
#themeToggle:checked + .theme-slider::after {
  transform: translateX(16px);
}

/* small emoji/label next to toggle */
.theme-switch .theme-label {
  font-size:14px;
  line-height:1;
  pointer-events:none;
  margin-left:4px;
}

/* focus style for accessibility */
.theme-switch input:focus + .theme-slider {
  outline: 3px solid rgba(99, 132, 180, 0.18);
  outline-offset: 3px;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.brand-header .brand-logo {
  height: 52px;
  width: auto;
}

@media (max-width: 980px) {
  .brand-header .brand-logo {
    display: none !important;
    visibility: hidden !important;
  }

  .brand-header .brand-text {
    font-size: 14px;
  }
}

.brand-header .brand-text {
  color: #ffffff;
  line-height: 1.2;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Agar tetap rapi di layar kecil */
@media (max-width: 600px) {
  .brand-header .brand-text {
    font-size: 11px;
  }
  .brand-header .brand-logo {
    height: 34px;
  }
}



/* optional: smooth color transitions for many elements */
.navbar,
.offcanvas,
.submenu-panel,
.card,
.hero,
.footer,
.running,
.lang-switch,
.theme-switch {
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}

/* === Mega-menu (scoped, safe) === */

/* wrapper */
.nav-center {
  display: flex;
  align-items: center;
}

/* menu list */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-item {
  position: relative;
}

/* === unified styling for ALL menu items (a + button) === */
.nav-list a,
.nav-list .nav-btn {
  font-size: 15px;        
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 10px 5px;
  display: inline-block;
  cursor: pointer;

  text-decoration: none;  
  line-height: 1.2;
}

.nav-btn {
  appearance: none;
  -webkit-appearance: none;
}

/* hover + focus style */
.nav-list a:hover,
.nav-list .nav-btn:hover,
.nav-list a:focus,
.nav-list .nav-btn:focus {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  outline: none;
}

/* ---------- Mega panel (uniform size with main menu) ---------- */
.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(10px);
  background: #123B53;
  padding: 20px 22px;
  /*min-width: 700px;*/
  display: flex;
  gap: 26px;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 80;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega[aria-open="true"] .mega-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Columns inside mega */
.mega-col {
  min-width: 200px;
  color: #fff;
}

/* Submenu section title */
.mega-title {
  color: #ffd86b;
  font-size: 14px;
  margin-bottom: 10px;
}


/* Menu list inside mega */
.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-col li {
  margin: 6px 0;
}

/* ---------- Make submenu links same size as main menu ---------- */
.mega-col a {
  color: #ffffff;
  text-decoration: none;

  font-size: 15px;       

  padding: 8px 0;       
  display: block;

  line-height: 1.2;
  border-radius: 4px;
  transition: background .15s ease;
}

.mega-col a:hover,
.mega-col a:focus {
  background: rgba(255,255,255,0.06);
  outline: none;
}

/* ---------- Responsive: hide mega on mobile ---------- */
@media (max-width: 980px) {
  .mega-menu {
    display: none !important;
  }
  .nav-list {
    display: none;
  }
  .menu-toggle,
  #mobileMenuBtn {
    display: inline-block !important;
  }
}

/* ---------- Mobile offcanvas ---------- */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 70;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-offcanvas {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: #0F3B55;
  color: #fff;
  transform: translateX(-110%);
  transition: transform .22s ease;
  z-index: 80;
  padding: 12px;
}

.mobile-offcanvas.open {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.mobile-menu a,
.mobile-menu button {
  color: #fff;
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 8px;
  border: 0;
  background: transparent;
}

.mobile-sub {
  display: none;
  padding-left: 12px;
}

.mobile-sub.open {
  display: block;
}

.nav-right {
  display: flex;           
  align-items: center;
  gap: 12px;
}

@media (max-width: 980px) {
  .nav-right {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.nav-right .lang-switch input {
  display: none;
}


.mobile-offcanvas {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: #123B53;
  color: #ffffff;
  transform: translateX(-110%);
  transition: transform .22s ease;
  z-index: 140;
  padding: 12px 12px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* opened state */
.mobile-offcanvas.open {
  transform: translateX(0);
}

/* header inside offcanvas */
.mobile-offcanvas .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* menu list */
.mobile-vertical-menu ul { list-style:none; padding:12px 8px; margin:0; }
.mobile-vertical-menu .m-item { margin: 6px 0; }

/* main links */
.mobile-vertical-menu a {
  display:block;
  padding:12px;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
}

/* top-level accordion toggle */
.mobile-vertical-menu .m-toggle {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  background:transparent;
  border:0;
  color:#fff;
  padding:12px;
  font-size: 17px !important;
  text-align:left;
  cursor:pointer;
  border-radius:6px;
}

/* submenu */
.mobile-vertical-menu .m-sub {
  display:none;
  padding-left:10px;
  margin-top:6px;
  margin-bottom:8px;
}
.mobile-vertical-menu .m-sub.open { display:block; }

/* submenu links slightly lighter */
.mobile-vertical-menu .m-sub a {
  padding:8px 12px;
  background:transparent;
}

/* small visual separators */
.mobile-vertical-menu .m-item + .m-item { border-top: 1px solid rgba(255,255,255,0.03); }

/* backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 130;
}
.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 981px) {
  .mobile-offcanvas { display: none !important; }
  .menu-backdrop { display: none !important; }
}

.mobile-vertical-menu .m-sub a.m-title,
.mobile-vertical-menu a.m-title {
  color: #FFD86B !important;    /* kuning */
  font-size: 17px !important;   /* ukuran judul */
  padding: 12px 8px !important;
  margin-top: 8px !important;
  display: block !important;
  text-transform: none !important;
}

.mobile-vertical-menu .m-sub a.m-title {
  border-top: 6px solid transparent;
}

.mobile-vertical-menu .m-sub a.m-title[aria-disabled="true"] {
  pointer-events: none;
  opacity: 1;
}


.floating-icons {
  position: fixed;
  right: 25px;
  bottom: 100px;
  display: flex;
  flex-direction: column-reverse; /* plus button at bottom */
  gap: 10px;
  z-index: 2000;
  align-items: flex-end;
  pointer-events: none; /* children control pointer-events */
}

/* icon circle base */
.ficon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2,6,23,0.24);
  cursor: pointer;
  border: none;
  padding: 8px;
  pointer-events: auto;
  transform-origin: right center;
  transition: transform .28s cubic-bezier(.2,.9,.3,1), opacity .22s ease;
}

/* plus button style (initial visible) */
.ficon-toggle {
  background: #123B53;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

/* hidden state for action icons */
.floating-icons .ficon-action {
  opacity: 0;
  transform: translateX(18px) scale(.96);
  pointer-events: none;
}

/* visible/expanded state */
.floating-icons.expanded .ficon-action {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

/* stagger animation for nicer effect */
.floating-icons.expanded .ficon-action:nth-child(1){ transition-delay: 0.02s; }
.floating-icons.expanded .ficon-action:nth-child(2){ transition-delay: 0.06s; }
.floating-icons.expanded .ficon-action:nth-child(3){ transition-delay: 0.10s; }

/* smaller icons on tablets */
@media (max-width: 768px) {
  .ficon { width:46px; height:46px; }
}

/* optional hide on very small phones */
@media (max-width: 420px) {
  .floating-icons { display: none !important; }
}

/* make images/svg scale nicely */
.ficon svg { width:22px; height:22px; display:block; fill:#123B53; }
.ficon-action svg { fill:#123B53; }
.ficon-toggle svg { fill: #fff; }

.container{position:relative}
h2{margin:12px 0 6px}
h3{margin:6px 0 10px}

.slideshow{position:relative; height:460px; border-radius:12px; overflow:hidden; background:#ddd}
.fade-slide{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1s ease}
.fade-slide.active{opacity:1}

.slideshow .caption{
position:absolute;
left:0;
right:0;
bottom:0;
padding:14px 20px;
background:rgba(0,0,0,0.55);
color:#fff;
z-index:75;
text-align:left;
box-sizing:border-box;
}
.slideshow .caption h3{
margin:0;
font-size:18px;
color:#fff;
}
.slideshow .caption .caption-sub{
margin:4px 0 0;
font-size:13px;
opacity:0.9;
color:#f1f1f1;
}

.slideshow .indicators{position:absolute; top:12px; right:12px; left:auto; bottom:auto; transform:none; display:flex; gap:12px; z-index:60; background:rgba(0,0,0,0.55); padding:8px 14px; border-radius:12px; align-items:center; box-shadow:0 6px 14px rgba(0,0,0,0.2)}
.slideshow .indicators .dot{width:12px; height:12px; border-radius:50%; border:none; background:rgba(255,255,255,0.8); cursor:pointer; padding:0}
.slideshow .indicators .dot.active-dot{transform:scale(1.25); background:#fff}


.slide-arrow{position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.5); border:none; color:white; font-size:28px; line-height:1; padding:8px 12px; cursor:pointer; z-index:80; border-radius:8px; display:flex; align-items:center; justify-content:center}
.slide-arrow:focus{outline:2px solid rgba(255,255,255,0.2)}
.prev-btn{left:12px}
.next-btn{right:12px}
.slide-arrow:hover{background:rgba(0,0,0,0.7)}

.buttons{margin-top:12px; text-align:center}
.buttons button{padding:10px 18px; border-radius:6px; border:none; background:#0b57d0; color:#fff; cursor:pointer; margin:0 6px}

@media (max-width:480px){ .slideshow{height:220px} .slide-arrow{font-size:20px; padding:6px 8px} }

.berita-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  align-items: start;
}

.berita-left .slideshow {
  position: relative;
  width: 100%;
}

.berita-right .services-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive untuk HP */
@media (max-width: 768px) {
  .berita-grid {
    grid-template-columns: 1fr;
  }
}


.services-news-list{ display:flex; flex-direction:column; gap:16px; }
.news-item{
    background: #fff;
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:8px 6px;
  border-radius:8px;
  transition:background .12s ease, transform .06s ease;
}
.news-item:hover{ background: rgba(11,87,208,0.03); transform: translateY(-2px); }

.news-thumb{
  width:72px;
  height:56px;
  object-fit:cover;
  border-radius:8px;
  flex:0 0 72px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* teks */
.news-body{ flex:1 1 auto; min-width:0; }
.badge{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  font-size:12px;
  padding:4px 8px;
  border-radius:16px;
  margin-bottom:6px;
}

.news-body .news-title,
.news-title {
  display: -webkit-box;           
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2 !important;       
  overflow: hidden;              
  text-overflow: ellipsis;       
  white-space: normal;            
  word-break: break-word;        
  line-height: 1.25;              
  max-height: calc(1.25em * 2);  
  margin: 0;
  font-size: 15px;
  color: #0f1720;
 
}

.news-date {
   font-size: 13px; 
}

.article .news-body .news-title {}

/* mobile tweak */
@media (max-width:640px){
  .news-body .news-title { font-size:16px; line-height:1.2; max-height: calc(1.2em * 2); }
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


.title{text-align:center; font-size:30px; margin-bottom:25px}

  .carousel-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    gap:18px;
  }

  .carousel{
    overflow:hidden;
    width:100%;
    padding:10px 0;
  }

  .track{
    display:flex;
    gap:18px;
    transition:transform .45s ease;
  }

  .slide{
    flex:0 0 calc(100% / 3 - 12px);
    background:var(--card);
    border-radius:14px;
    padding:22px;
    box-shadow:0 6px 18px rgba(16,24,40,.08);
    text-align:center;
    min-height:260px;
    
      position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
    
  }
  

.icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}


  .h{font-size:18px; color:var(--brand); margin-bottom:6px}
  .desc{font-size:14px; color:var(--muted); line-height:1.5}

  /* arrows */
  .arrow{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    display:grid;
    place-items:center;
    cursor:pointer;
    flex-shrink:0;
  }
  .arrow svg{width:22px; height:22px; fill:var(--accent)}

  /* responsive */
  @media(max-width:900px){
    .slide{flex:0 0 calc(100% / 2 - 10px)}
  }
  @media(max-width:650px){
    .slide{flex:0 0 100%}
  }
  
 
    .inovasi{max-width:1200px;margin:0 auto;padding:0}
    .inovasi h1{font-size:20px;margin:0 0 18px;}

    .inovasi .grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
      gap:12px;
      justify-items:center;
      align-items:start;
    }

    /* Outer card (white panel) */
    .inovasi .card{
      width:100%;
      max-width:100%;
      background:#fff;
      border-radius:calc(18px + 6px);
      box-shadow: 0 8px 18px rgba(6,10,15,0.06);
      transition:transform .18s ease, box-shadow .18s ease;
      cursor:pointer;
      text-align:center;
    }
    .inovasi .card:hover{ transform:translateY(-6px); box-shadow:0 22px 50px rgba(6,10,15,0.10) }
    .inovasi .card:focus{ outline:3px solid rgba(14,165,165,0.10) }

    /* Inner image box (fills the padded area) */
    .inovasi .card .img{
      width:100%;
      height:calc(220px * 1.35);
      border-radius:12px;           /* rounded image corners inside the white frame */
      overflow:hidden;
      position:relative;
      background-position:center;
      background-size:cover;        /* Make image cover the box */
      display:block;
    }

    /* overlay lives inside the image box */
    .inovasi .img .overlay{
      position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:center; padding:14px; pointer-events:none;
    }
    .inovasi .img .desc{
      width:100%;
      background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(6,10,15,0.78) 60%);
      color:#fff; padding:12px; border-radius:0 0 12px 12px; font-size:13px; line-height:1.35;
      opacity:0; transform:translateY(8px);
      transition:opacity .18s ease, transform .18s ease; pointer-events:auto;
      backdrop-filter: blur(4px);
    }
    /* show overlay when card hovered or focused */
    .inovasi .card:hover .desc,
    .inovasi .card:focus .desc,
    .inovasi .card:focus-within .desc {
      opacity:1; transform:none;
    }

    /* small label under the white panel */
    .inovasi .label{
      margin-top:12px;
      font-size:13px;
      letter-spacing:.6px;
      text-transform:uppercase;
      color:#071427;
    }
    
    body.dark .inovasi .label {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #e6f0f9; /* terang & terbaca */
}

    

    /* tiny NEW tag */
    .inovasi .tag{
      position:absolute;
      top:10px; left:10px;
      background:#fff; padding:6px 8px; border-radius:999px; font-size:11px;
      box-shadow:0 4px 10px rgba(6,10,15,0.08);
    }

    /* modal (ke dalam scope inovasi) */
    .inovasi .modal-backdrop{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(7,12,18,0.6); z-index:60; opacity:0; pointer-events:none; transition:opacity .18s}
    .inovasi .modal-backdrop.open{ opacity:1; pointer-events:auto }
    .inovasi .modal{ background:#fff; border-radius:12px; width:min(920px,94%); max-height:86vh; overflow:auto; box-shadow:0 30px 80px rgba(3,7,18,0.5) }
    .inovasi .modal .content{ display:flex; gap:18px; padding:18px; align-items:flex-start }
    .inovasi .modal img{ width:48%; border-radius:8px; object-fit:cover; max-height:68vh }
    .inovasi .modal .meta{ width:52%; padding:8px 4px; color:#0b1220 }
    @media (max-width:720px){ .inovasi .modal .content{flex-direction:column} .inovasi .modal img{width:100%;max-height:40vh} .inovasi .modal .meta{width:100%} }

    @media (min-width:600px){
      .inovasi .card{
        max-width:220px;
      }
    } 

/* reset kecil supaya tidak ada margin/padding tersembunyi */
.majalah, .majalah * { box-sizing: border-box; }

/* container utama */
.majalah .carousel.multi {
  position: relative;           /* penting: nav pos relatif ke sini */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  overflow: hidden;
  /* buat garis bantu saat debugging (hapus jika sudah ok) */
  /* outline: 1px dashed rgba(0,0,0,0.06); */
  display: flex;
  align-items: center;          /* pastikan track vert-center */
}

/* TRACK: tampilkan flex row */
.majalah .carousel-track {
  display: flex;
  gap: 16px;
  width: 100%;
  transition: transform .35s ease;
  align-items: center;          /* penting: item vert-center */
}

/* ITEM: semua punya tinggi yg sama */
.majalah .item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  /* existing rules like min-width and height remain intact */
}

.majalah .caption {
  height: 28px;            /* jangan ubah kecuali mau ubah total height item */
  line-height: 1.1;
  padding: 4px 6px 0 6px;
  font-size: 13px;
  text-align: center;
  color: #333;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.dark .majalah .caption {
  color: #e2edf7;          /* terang & kontras */
}

/* img-wrap mengambil sisa tinggi .item (totalHeight - captionHeight) */
.majalah .item .img-wrap {
  height: calc(100% - 28px); /* 28px sama seperti .caption height */
  overflow: hidden;
  border-radius: 10px; /* jaga agar image rounded sama seperti sebelumnya */
}

/* gambar tetap cover dan memenuhi area */
.majalah .item .img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

/* GAMBAR: block, tidak ada margin, cover */
.majalah .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  user-select: none;
  -webkit-user-drag: none;
}

/* NAV: dibuat square & absolut relatif ke .carousel */
.majalah .nav {
  position: absolute;
  top: 50%;                     /* baseline: center */
  transform: translateY(-50%);  /* center secara vertikal */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: background .18s ease, transform .08s ease;
}

/* pastikan icon di tengah (jika ada font-size berbeda) */
.majalah .nav > * { line-height: 1; }

/* posisi sisi */
.majalah .prev { left: 10px; }
.majalah .next { right: 10px; }

/* hover */
.majalah .nav:hover { background: rgba(0,0,0,0.65); transform: translateY(-50%) scale(1.03); }
   

/*paspor*/

 /* WRAPPER */
    .paspor .wrap{
      width:100%;
      max-width: 1200px;
      margin: auto;
      border-radius:18px;
      padding:28px;
      box-shadow:0 6px 18px rgba(12,36,63,0.08);;
      display:flex;
      gap:20px;
    }

    /* LEFT SECTION */
    .paspor .intro{
      flex:2;
      padding:22px;
      display:flex;
      flex-direction:column;
      gap:18px;
    }

    .paspor .intro h1{
      margin:0;
      font-size:28px;
      color:#08334a;
    }

    .paspor .intro .lead{
      margin:0;
      color:#6b7280;
      line-height:1.45;
    }

    .paspor .photo-card{
      margin-top:8px;
      max-width:100%;     
      width:100%;
      padding:8px;
      border-radius:12px;
      background:#ffffffaa;
      box-shadow:0 8px 28px rgba(7,23,34,0.06);
    }

    .paspor .photo-card img{
      width:100%;
      height:280px;
      object-fit:cover;
      border-radius:10px;
    }

    /* RIGHT PANEL */
    .paspor .panel{
      flex:1;
      background:#ffffff;
      border-radius:14px;
      padding:22px;
      box-shadow:0 6px 18px rgba(12,36,63,0.08);
      min-width:320px;
    }

    .paspor .field{
      display:flex;
      flex-direction:column;
      gap:6px;
      margin-bottom:14px;
    }

    .paspor label{
      font-size:13px;
      color:#334155;
    }

    .paspor input[type="text"], 
    .paspor input[type="tel"]{
      padding:10px 12px;
      border-radius:8px;
      border:1px solid #e6eef5;
      font-size:15px;
    }

    .paspor .captcha-row{
      display:flex;
      gap:10px;
      align-items:center;
    }

    .paspor .captcha-box{
      min-width:110px;
      padding:10px;
      border-radius:8px;
      background:#f3f7fb;
      border:1px solid #e3eef8;
      text-align:center;
      letter-spacing:1px;
    }

    .paspor .btn{
      width:100%;
      padding:12px;
      border-radius:10px;
      border:none;
      background:var(--primary);
      color:white;
      cursor:pointer;
      margin-top:6px;
    }

    .paspor .note{
      margin-top:12px;
      font-size:13px;
      color:var(--muted);
    }

    /* RESPONSIVE */
    @media (max-width:900px){
      .paspor .wrap{
        flex-direction:column;
        gap:18px;
      }
      .paspor .photo-card img{
        height:220px;
      }
    }
    
/* HILANGKAN AREA PUTIH */
.info .modal-body {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
}


    
    /* INFO SECTION */
.info .info{
  max-width:1100px;
  margin:20px auto 28px;
  background:#ffffff;
  border-radius:12px;
  padding:20px 22px;
  box-shadow:0 6px 20px rgba(3,7,18,0.08);
  border-left:6px solid #0ea5a5;
}
.info .info .page{
  font-size:16px;
  color:#1e293b;
  margin-bottom:6px;
}
.info .info .subtitle{
  font-size:14px;
  color:#475569;
  line-height:1.5;
}

/* PAGE HEADER */
.info .page{ max-width:1100px; margin:36px auto; padding:24px; text-align:center; }

/* BACKDROP */
.info .modal-backdrop{
  position:fixed; inset:0; background:rgba(4,8,15,0.6);
  display:flex; align-items:center; justify-content:center;
  z-index:9999; opacity:0; pointer-events:none; transition:opacity .22s ease;
}
.info .modal-backdrop.open{ opacity:1; pointer-events:auto; }

/* OUTER DARK FRAME */
.info .modal{
  width:420px; max-width:94%; max-height:86vh;
  border-radius:10px; background:#2b3440; padding:12px;
  position:relative; box-shadow:0 40px 120px rgba(3,7,18,0.6);
}

/* INNER WHITE CARD */
.info .modal-inner{
  width:100%; background:#fff; border-radius:8px;
  overflow:auto; max-height:calc(86vh - 24px);
}

/* NEW: SLIDETAMPIL */
/*.info .slidetampil{*/
/*  position:relative; width:100%;*/
/*  height:70vh; max-height:70vh;*/
/*  background:#000; display:grid; place-items:center;*/
/*  border-top-left-radius:8px; border-top-right-radius:8px;*/
/*  overflow:hidden;*/
/*}*/
/*.info .slidetampil img{*/
/*  width:100%; height:100%; object-fit:cover; display:block;*/
/*}*/


.info .slidetampil{
  width:100%;
  aspect-ratio: 4 / 5;   /* portrait */
  max-height:80vh;
  background:#000;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.info .slidetampil img{
  width:100%;
  height:100%;
  object-fit:contain;   /* penting */
}


/* NAV BUTTONS */
.info .nav-outside{
  position:absolute;
  top:50%; left:0; right:0;
  transform:translateY(-50%);
  display:flex; justify-content:space-between;
  padding:0 8px;
  pointer-events:none;
}
.info .nav-outside button{
  pointer-events:auto;
  width:52px; height:52px;
  border-radius:999px;
  background:#fff; border:0;
  display:grid; place-items:center;
  font-size:24px; color:#0b1220;
  box-shadow:0 12px 30px rgba(2,6,23,0.25);
  cursor:pointer;
  z-index:9999;
}

.info .nav-left{ margin-left:1px; }
.info .nav-right{ margin-right:1px; }

/* CLOSE BUTTON */
.info .close-btn{
  position:absolute; right:1px; top:1px;
  width:40px; height:40px; background:#fff;
  border-radius:999px; border:0; cursor:pointer;
  display:grid; place-items:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.18);
  font-size:18px; z-index:99999;
}

/* BODY CONTENT */
.info .modal-body{ padding:16px 18px 22px; }
.info .modal-body h2{ margin:0 0 6px; font-size:18px; }
.info .modal-body p.lead{ margin:0 0 12px; font-size:14px; color:#374151; line-height:1.45; }

/* RESPONSIVE */
@media(max-width:520px){
  .info .modal{ width:92%; padding:8px; }
  .info .slidetampil{ height:70vh; max-height:70vh; }
  .info .nav-outside button{ width:40px; height:40px; font-size:18px; }
  .info .nav-left{ margin-left:-18px; }
  .info .nav-right{ margin-right:-18px; }
  .info .close-btn{ width:36px; height:36px; }
}

.info button:focus{
  outline:3px solid rgba(14,165,165,0.18);
  outline-offset:2px;
}

/*footer*/

  .site-footer{
    background:#1f3042;
    color:#ffffff;
    padding:40px 16px;
  }

  .footer-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    gap:40px;
    justify-content:space-between;
  }

  .footer-col{
    flex:1;
    min-width:260px;
  }

  .footer-col h3{
    margin-bottom:12px;
    font-size:18px;
    color:#fff;
  }

  .footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
    line-height:1.8;
  }

  .footer-col ul li a{
    color:#fff;
    text-decoration:none;
    opacity:0.85;
    transition:0.2s;
  }

  .footer-col ul li a:hover{
    opacity:1;
    text-decoration: underline;
  }

  .footer-brand img{
    height:70px;
    margin-bottom:15px;
    display:block;
  }

  .footer-contact p{
    margin:0 0 12px 0;
    line-height:1.5;
    opacity:0.85;
  }

  /* Social icons */
  .social-row{
    display:flex;
    gap:12px;
    margin-top:10px;
  }
  .social-row a{
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    text-decoration:none;
  }

  .footer-bottom{
    text-align:center;
    margin-top:40px;
    font-size:14px;
    opacity:0.75;
  }

  /* ========== MOBILE RESPONSIVE ========== */
  @media (max-width: 768px){
    .footer-container{
      flex-direction:column;
      gap:24px;
    }

    .footer-col{
      min-width:100%;
    }

    .footer-brand img{
      height:56px;
    }

    .social-row a{
      width:44px;
      height:44px;
    }

    .footer-bottom{
      margin-top:30px;
      font-size:13px;
    }
  }

  @media (max-width: 420px){
    .footer-col h3{
      font-size:16px;
    }
  }
  
/*medsos*/

  .social-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 22px;
    color: #0f1b26;
  }

  /* GRID 5 KOLOM */
  .social-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  /* CARD */
  .social-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;   /* kotak seragam */
    text-decoration: none;
    background: #ddd;
    display: block;
    color: inherit;
  }

  .social-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
  }

  /* OVERLAY */
  .social-overlay {
    position: absolute;
    inset: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: .25s ease;
  }

  .social-caption {
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    margin-bottom: 8px;
  }

  .social-icon {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.16);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  /* HOVER */
  .social-card:hover img {
    transform: scale(1.06);
  }
  .social-card:hover .social-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  /* RESPONSIVE */
  @media (max-width: 1100px) {
    .social-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 700px) {
    .social-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 480px) {
    .social-grid {
      grid-template-columns: 1fr;
    }
  }
  
  
   .grafik{
      /* Local variables override global ones so .grafik is isolated */
      --card-width: 100%;
      --card-gap: 22px;
      --cols: 2;
      --card-radius: 14px;
      --bg: #f6fbff;
      --card-bg: #ffffff;
      --muted: #6b7280;
      --accent: #0ea5a4;
    }

    .grafik *{ box-sizing:border-box;}

    .grafik .container{ max-width:1200px; margin:0 auto; }
    .grafik h1{ margin:0 0 18px; font-size:20px; color:#083344; }

    .grafik .controls{ display:flex; gap:12px; align-items:center; margin-bottom:18px; flex-wrap:wrap; }
    .grafik select, .grafik button{ padding:8px 10px; border-radius:8px; border:1px solid #e6eef2; background:#fff; }
    .grafik button{ cursor:pointer; }

    /* grid: two columns on desktop, 1 on smaller */
    .grafik .grid{
      display:grid;
      grid-template-columns: repeat(var(--cols), 1fr);
      gap: var(--card-gap);
      align-items:start;
    }

    .grafik .card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


    .grafik .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

    .grafik .card .title{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
    .grafik .card h2{ font-size:16px; margin:0; color:#0f172a; }
    .grafik .meta{ font-size:13px; color:var(--muted); }

    /* chart area: ensure parent has height and canvas fills it */
    .grafik .chart-wrap{ height:300px; position:relative; width:100%; }
    .grafik canvas{ display:block; width:100% !important; height:100% !important; }

    .grafik .footer{ margin-top:10px; font-size:13px; color:var(--muted); display:flex; justify-content:space-between; align-items:center; }

    @media (max-width:1024px){
      .grafik .grid{ grid-template-columns: 1fr; }
      .grafik .chart-wrap{ height:260px; }
    }
  
  
  body.dark .grafik {
  --bg: #071226;
  --card-bg: rgba(10, 18, 32, 0.75);
  --muted: #9fb3c8;
  --accent: #22d3ee;
}

body.dark .grafik h1 {
  color: #e6f0f9;
}

body.dark .grafik .card h2 {
  color: #ffffff;
}

body.dark .grafik .meta,
body.dark .grafik .footer {
  color: var(--muted);
}

body.dark .grafik canvas {
  filter: brightness(1.05);
}

body.dark .grafik .card {
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.section.list-result {
  background: #f5f7fa;
}

.list-result-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.list-left {
  background: #ffffff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.list-title {
  font-size: 18px;
  margin-bottom: 30px;
}

.list-subtitle {
  font-size: 16px;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}

/* LIST BULLET */
.list-left ul {
  padding-left: 20px;
  margin: 0;
}

.list-left ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.list-left ul li a {
  color: #1e88e5;
  text-decoration: none;
}

.list-left ul li a:hover {
  text-decoration: underline;
}

.result-main-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.result-main-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.result-main-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
}

.result-main-card h2 {
  margin: 8px 0;
  font-size: 20px;
}

.tag {
  display: inline-block;
  background: #1f3a5f;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-card {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  align-items: center;
}

.news-card img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

.news-content {
  flex: 1;
}

.news-tag {
  display: inline-block;
  background: #1f3a5f;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.news-content h4 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-content small {
  font-size: 12px;
  color: #666;
}

.no-result {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  font-size: 14px;
  color: #555;
}

.no-result strong {
  display: block;
  margin-bottom: 6px;
  color: #333;
}

@media (max-width: 768px) {

  .list-result-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .list-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .list-left ul {
    padding-left: 18px;
  }

  .list-left ul li {
    margin-bottom: 8px;
  }

  .list-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .news-card {
    padding: 10px;
    gap: 10px;
  }

  .news-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }

  .news-content h4 {
    font-size: 14px;
  }

  .news-content small {
    font-size: 11px;
  }

  .news-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}


.menu-card {
  margin-top: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.menu-card h4 {
  margin: 0 0 16px;
  font-size: 17px;
  color: #1f3a5f;
}

.menu-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-card ul li {
  margin-bottom: 12px;
}

.menu-card ul li a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  color: #1e88e5;
  background: #f4f8fd;
  transition: all .25s ease;
}

.menu-card ul li a:hover {
  background: #1f3a5f;
  color: #ffffff;
  transform: translateX(4px);
}

    .berita-image-wrapper {
  margin: 20px 0;
}

.berita-image {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 420px;
}

.berita-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

    
    .faq-accordion {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  transition: transform .3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  color: #4b5563;
  transition: max-height .3s ease;
  padding-right: 16px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.menu-top-card {
  margin-bottom: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.menu-top-card h4 {
  margin: 0 0 16px;
  font-size: 17px;
  color: #1f3a5f;
}

.menu-top-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-top-card ul li {
  margin-bottom: 12px;
}

.menu-top-card ul li a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  color: #1e88e5;
  background: #f4f8fd;
  transition: all .25s ease;
}

.menu-top-card ul li a:hover {
  background: #1f3a5f;
  color: #ffffff;
  transform: translateX(4px);
}


/* =========================
   RESET
========================= */
.menutop * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.menutop ul {
  list-style: none;
}

/* =========================
   NAVBAR
========================= */
.menutop .nav-center {
  background: #223a54;
  font-family: Arial, sans-serif;
}

.menutop .nav-list {
  display: flex;
  padding: 0 24px;
}

/* =========================
   MENU UTAMA
========================= */
.menutop .nav-list > li {
  position: relative;
}

  .menutop .nav-list > li > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    line-height: 1 !important;
  }

/* HILANGKAN BACKGROUND HOVER */
.menutop .nav-list > li > a:hover {
  background: none;
}

/* =========================
   ANIMASI GARIS BAWAH KUNING
========================= */
.menutop .nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 3px;
  background-color: #f5c542;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menutop .nav-list > li > a:hover::after,
.menutop .nav-list > li > a:focus::after {
  width: 60%;
}

/* =========================
   SUBMENU LEVEL 1
========================= */
.menutop .submenu {
  position: absolute;
  top: calc(100% + 10px); /* JARAK VISUAL */
  left: 0;
  min-width: 260px;
  background-color: #223a54;
  display: none;
  z-index: 1000;
  opacity: 1;
}

/* DROPDOWN */
.menutop .has-sub:hover > .submenu {
  display: block;
}

/* =========================
   🔑 HOVER BRIDGE MENU → SUBMENU
========================= */
.menutop .nav-list > li.has-sub::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

/* =========================
   ITEM SUBMENU
========================= */
.menutop .submenu li {
  position: relative;
}

.menutop .submenu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

/* HOVER SUBMENU */
.menutop .submenu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* PANAH HANYA DI SUBMENU */
.menutop .submenu .has-sub > a::after {
  content: "›";
  margin-left: 8px;
  font-size: 16px;
  opacity: 0.6;
}

/* =========================
   SUBMENU KE KANAN
========================= */
.menutop .submenu .submenu {
  top: 0;
  left: calc(100% + 2px);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* 🔑 HOVER BRIDGE SUBMENU → SUBSUBMENU */
.menutop .submenu li.has-sub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 2px; /* samakan dengan jarak ke kanan */
  height: 100%;
  background: transparent;
}

.menutop .submenu a:hover,
.menutop .submenu a:focus {
  color: #f5c542; /* KUNING */
}

/* JAGA AGAR PANAH IKUT KUNING */
.menutop .submenu .has-sub > a:hover::after {
  color: #f5c542;
  opacity: 1;
}

.mobile-menu-header {
  display: none;
}

/* =========================
   MOBILE SIDEBAR MENU
========================= */
@media (max-width: 992px) {
    
    

  /* PANEL MENU */
  .menutop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    background: #223a54;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  /* AKTIF */
  .menutop.active {
    transform: translateX(0);
  }

  /* LIST MENU */
  .menutop .nav-list {
    display: block;
    padding: 0;
    margin: 0;
  }

  .menutop .nav-list > li {
    height: 48px;
    padding-left: 20px;      /* kiri konsisten */
    padding-right: 50px;     /* ⬅️ dekat ke batas menu */
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

.menutop .nav-list > li > a {
    display: flex;
    align-items: center;     /* baseline sama */
    width: 100%;
    font-size: 15px;
    line-height: 1;          /* buang ruang font ekstra */
    padding: 0;
    margin: 0;
    text-align: left;
  }



  /* SUBMENU */
  .menutop .submenu {
display: none;
  }

  .menutop .has-sub.open > .submenu {
    display: block;
  }

  /* MATIKAN DESKTOP EFFECT */
.menutop .nav-list > li > a::after {
    width: 0 !important;
    height: 0 !important;
    background: none !important;
  }

  .menutop .has-sub:hover > .submenu {
    display: none;
  }
  
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 20px;
    color: #fff;
    box-sizing: border-box;
  }

  .mobile-menu-title {
    font-size: 16px;
    font-weight: 600;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
  }

  .mobile-menu-close:active {
    opacity: 0.6;
  }
  
  
  .menutop .nav-list > li.has-sub > a {
    padding-right: 100px;          /* ⬅️ INI KUNCINYA (indent arrow) */
  }

  /* arrow */
  .menutop .nav-list > li.has-sub > a::after {
    content: "›" !important;
    display: inline-flex !important;
    align-items: center !important;

    margin-left: auto !important;
    margin-right: 6px !important;   /* ⬅️ dekat ke tepi */
    font-size: 20px !important;
    opacity: 0.7 !important;

    transform: translateY(-2px) !important; /* ⬅️ NAIK */
  }

  /* ROTASI SAAT OPEN */
  .menutop .nav-list > li.has-sub.open > a::after {
    transform: translateY(-2px) rotate(90deg);
  }
  
  .menutop .nav-list > li > ul.submenu {
    display: none;
  }

  /* arrow muncul JIKA ada UL setelah A */
  .menutop .nav-list > li > a:has(+ ul.submenu)::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.7;
    pointer-events: none;
    transition: transform .25s ease;
  }

  /* rotate saat open */
  .menutop .nav-list > li.open > a::after {
    transform: translateY(-50%) rotate(90deg);
  }
  
  
}



