:root{
  --bg:#f7faf7;
  --surface:#ffffff;
  --soft:#eef7f1;
  --text:#102016;
  --muted:#68766d;
  --line:#dce8df;
  --primary:#166534;
  --primary-2:#15803d;
  --primary-soft:#e8f6ed;
  --dark:#0d1f14;
  --shadow:0 18px 45px rgba(16,32,22,.08);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Poppins",sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* ================= NAVBAR ================= */

.navbar{
  width:100%;
  padding:14px 8%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(12px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand img{
  width:54px;
  height:54px;
  object-fit:contain;
}

.brand strong{
  display:block;
  color:var(--primary);
  font-size:18px;
  font-weight:800;
}

.brand span{
  display:block;
  color:var(--muted);
  font-size:13px;
}

nav{
  display:flex;
  align-items:center;
  gap:26px;
}

nav a{
  position:relative;
  color:var(--text);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}

nav a:hover,
nav a.active{
  color:var(--primary);
}

nav a.active::after,
nav a:hover::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width:100%;
  height:2px;
  background:var(--primary);
}

.menu-toggle{
  display:none;
  border:none;
  background:var(--primary-soft);
  color:var(--primary);
  width:48px;
  height:48px;
  border-radius:16px;
  font-size:28px;
  cursor:pointer;
}

/* ================= HERO ================= */

.hero{
  min-height:75vh;
  padding:70px 8%;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:50px;
  align-items:center;
  background:
    linear-gradient(135deg,rgba(13,31,20,.94),rgba(22,101,52,.86)),
    radial-gradient(circle at top left,rgba(255,255,255,.14),transparent 36%);
  color:white;
}

.hero-logo-wrap{
  text-align:center;
}

.hero-logo{
  width:240px;
  opacity:0;
  transform:translateY(20px) scale(.94);
  animation:logoReveal 1.5s ease forwards;
  filter:drop-shadow(0 20px 28px rgba(0,0,0,.28));
}

@keyframes logoReveal{
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.label{
  color:#bde8c9;
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.label.green{
  color:var(--primary);
}

.hero h1{
  font-size:48px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.04em;
  margin-bottom:12px;
}

.hero h2{
  font-size:22px;
  font-weight:700;
  color:#e9f7ee;
  margin-bottom:18px;
}

.hero p{
  max-width:640px;
  color:#d8eadf;
  line-height:1.8;
  font-size:16px;
}

.hero-mini-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:26px;
  max-width:560px;
}

.hero-mini-stats div{
  padding:16px 10px;
  border-radius:20px;
  text-align:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(10px);
}

.hero-mini-stats strong{
  font-size:34px;
  font-weight:800;
  display:block;
  color:white;
}

.hero-mini-stats span{
  font-size:13px;
  color:#d8eadf;
}

/* ================= SECTION ================= */

.section{
  padding:75px 8%;
}

.soft-section{
  background:var(--soft);
}

.section-heading{
  text-align:center;
  margin-bottom:36px;
}

.section-heading p{
  color:var(--primary);
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.section-heading h2{
  font-size:34px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.03em;
}

.slide-hint{
  display:none;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin-top:-18px;
  margin-bottom:18px;
}

.slide-hint i{
  color:var(--primary);
  margin-right:4px;
}

/* ================= ABOUT ================= */

.about-card{
  max-width:1080px;
  margin:0 auto;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:28px;
  padding:36px;
  display:grid;
  grid-template-columns:90px 1fr;
  gap:26px;
  align-items:start;
  box-shadow:var(--shadow);
}

.about-icon{
  width:76px;
  height:76px;
  border-radius:22px;
  background:var(--primary-soft);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:38px;
}

.about-card h2{
  font-size:30px;
  line-height:1.25;
  margin-bottom:14px;
  color:var(--text);
}

.about-card p{
  color:var(--muted);
  line-height:1.8;
}

/* ================= INFO CARDS ================= */

.info-grid{
  max-width:1080px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  align-items:stretch;
}

.info-card{
  height:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  padding:30px;
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.info-card:hover{
  transform:translateY(-5px);
  border-color:#b8dec4;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.info-card i{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:30px;
  margin-bottom:20px;
}

.info-card h3{
  font-size:20px;
  margin-bottom:10px;
}

.info-card p{
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
  margin-bottom:18px;
}

.info-card a{
  color:var(--primary);
  text-decoration:none;
  font-weight:800;
}

/* ================= STATISTICS ================= */

.stat-grid{
  max-width:1080px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.stat-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:22px;
  padding:26px;
  text-align:center;
  box-shadow:var(--shadow);
}

.stat-card i{
  width:52px;
  height:52px;
  margin:0 auto 14px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:28px;
}

.stat-card strong{
  display:block;
  color:var(--primary);
  font-size:30px;
  font-weight:800;
  margin-bottom:4px;
}

.stat-card span{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

/* ================= ANNOUNCEMENT ================= */

.announcement-grid{
  max-width:1080px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.announcement-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:var(--shadow);
}

.announcement-card i{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:26px;
  margin-bottom:18px;
}

.announcement-card small{
  display:block;
  color:var(--primary);
  font-weight:800;
  margin-bottom:8px;
}

.announcement-card h3{
  font-size:19px;
  line-height:1.35;
  margin-bottom:10px;
}

.announcement-card p{
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

/* ================= PAGE ================= */

.page{
  max-width:900px;
  margin:auto;
  padding:70px 20px;
}

.content-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:26px;
  padding:36px;
  box-shadow:var(--shadow);
}

.page-title{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--primary);
  font-size:30px;
  font-weight:800;
  margin-bottom:18px;
}

.page-title i{
  font-size:34px;
}

.page p,
.page li{
  color:var(--muted);
  line-height:1.8;
}

.info-box{
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  margin:24px 0;
}

.info-box h3{
  margin-bottom:10px;
}

.info-box ul{
  margin-left:20px;
}

/* ================= ACCORDION ================= */

.accordion{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:18px;
  margin-bottom:14px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(16,32,22,.05);
}

.accordion summary{
  list-style:none;
  cursor:pointer;
  padding:18px 20px;
  font-weight:800;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.accordion summary::-webkit-details-marker{
  display:none;
}

.accordion summary::after{
  content:"+";
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--primary-soft);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:800;
  flex-shrink:0;
}

.accordion[open] summary{
  color:var(--primary);
}

.accordion[open] summary::after{
  content:"−";
  background:var(--primary);
  color:white;
}

.accordion ul{
  padding:0 22px 20px 42px;
  color:var(--muted);
}

.accordion li{
  margin-bottom:9px;
  line-height:1.7;
}

/* ================= BUTTON ================= */

.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  width:100%;
  padding:15px 18px;
  margin-top:14px;
  background:var(--primary);
  color:white;
  border:none;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.btn:hover{
  background:var(--primary-2);
}

/* ================= SEARCH ================= */

.search-box{
  display:flex;
  gap:12px;
  margin:24px 0 16px;
}

.search-box input{
  flex:1;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  outline:none;
  font-size:14px;
  background:white;
  color:var(--text);
}

.search-box input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(22,101,52,.12);
}

.search-box button{
  padding:15px 24px;
  border:none;
  border-radius:14px;
  background:var(--primary);
  color:white;
  font-weight:800;
  cursor:pointer;
}

.result{
  margin-top:18px;
}

.search-header{
  color:var(--primary);
  font-weight:800;
  margin-bottom:12px;
}

.search-card{
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  margin-bottom:10px;
  cursor:pointer;
  transition:.2s;
}

.search-card:hover{
  background:var(--primary-soft);
  border-color:var(--primary);
}

.search-name{
  font-weight:800;
  color:var(--text);
  margin-bottom:6px;
}

.search-meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:7px;
  color:var(--muted);
  font-size:13px;
}

.search-meta span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}

.search-meta i{
  color:var(--primary);
}

.empty-state,
.loading{
  background:var(--primary-soft);
  color:var(--primary);
  border-radius:14px;
  padding:18px;
  text-align:center;
  font-weight:800;
}

/* ================= MODAL DETAIL ================= */

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.56);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}

.modal-card{
  width:100%;
  max-width:680px;
  max-height:88vh;
  overflow-y:auto;
  background:#fff;
  border-radius:24px;
  padding:28px;
  position:relative;
  box-shadow:0 25px 80px rgba(0,0,0,.25);
  animation:modalShow .25s ease;
}

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

.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  background:#eef7f1;
  color:var(--primary);
  cursor:pointer;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-title{
  color:var(--primary);
  font-size:22px;
  line-height:1.35;
  margin:0 48px 20px 0;
}

.detail-section{
  margin-top:18px;
}

.detail-section h4{
  font-size:14px;
  color:var(--primary);
  margin-bottom:10px;
  font-weight:800;
}

.detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.detail-item{
  padding:14px;
  border:1px solid #edf3ee;
  border-radius:16px;
  background:#fbfdfb;
}

.detail-item span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:6px;
}

.detail-item span i{
  color:var(--primary);
  font-size:17px;
}

.detail-item strong{
  color:var(--text);
  font-size:15px;
}

.status-area{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}

.badge-green{
  background:#e8f6ed;
  color:#166534;
}

.badge-yellow{
  background:#fff7d6;
  color:#9a6700;
}

.badge-red{
  background:#fdecec;
  color:#b42318;
}

.badge-gray{
  background:#f1f5f9;
  color:#475569;
}

/* ================= FOOTER ================= */

.footer-pro{
  width:100%;
  background:#f7faf7;
  color:var(--muted);
  padding:42px 20px;
  text-align:center;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.footer-pro strong{
  display:block;
  color:var(--primary);
  font-size:19px;
  font-weight:800;
}

.footer-pro span{
  display:block;
  color:var(--muted);
  font-size:14px;
}

.footer-pro small{
  display:block;
  width:100%;
  color:var(--muted);
  font-size:13px;
  margin-top:10px;
  text-align:center;
}

.footer-wa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  width:auto;
  max-width:90%;
  margin:14px auto 6px;
  padding:12px 20px;

  border-radius:999px;
  background:var(--primary);
  color:white;

  text-decoration:none;
  font-weight:800;
  font-size:14px;
}

.footer-wa i{
  font-size:18px;
}

.footer-wa:hover{
  background:var(--primary-2);
}

/* ================= MOBILE ================= */

@media(max-width:768px){

  .navbar{
    padding:14px 18px;
    flex-direction:row;
    align-items:center;
  }

  .brand img{
    width:58px;
    height:58px;
  }

  .brand strong{
    font-size:19px;
  }

  .brand span{
    font-size:13px;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
  }

  .navbar nav{
    position:absolute;
    top:88px;
    left:18px;
    right:18px;
    display:none;
    flex-direction:column;
    gap:0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:10px;
    box-shadow:var(--shadow);
    z-index:200;
  }

  .navbar nav.show{
    display:flex;
  }

  .navbar nav a{
    padding:14px;
    border-radius:12px;
    font-size:14px;
  }

  .navbar nav a:hover,
  .navbar nav a.active{
    background:var(--primary-soft);
  }

  .navbar nav a::after{
    display:none;
  }

  .hero{
    min-height:auto;
    grid-template-columns:1fr;
    text-align:center;
    padding:46px 20px 58px;
    gap:26px;
  }

  .hero-logo{
    width:170px;
  }

  .hero h1{
    font-size:38px;
    line-height:1.1;
  }

  .hero h2{
    font-size:19px;
    line-height:1.35;
  }

  .hero p{
    font-size:16px;
    line-height:1.8;
  }

  .hero-mini-stats{
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    max-width:100%;
  }

  .hero-mini-stats div{
    padding:14px 8px;
  }

  .hero-mini-stats strong{
    font-size:30px;
  }

  .hero-mini-stats span{
    font-size:12px;
  }

  .section{
    padding:52px 18px;
  }

  .soft-section{
    padding-top:52px;
    padding-bottom:60px;
  }

  .section-heading{
    margin-bottom:24px;
  }

  .section-heading p{
    font-size:12px;
    letter-spacing:.12em;
  }

  .section-heading h2{
    font-size:28px;
    line-height:1.25;
  }

  .slide-hint{
    display:block;
    margin-top:-8px;
    margin-bottom:18px;
    font-size:13px;
  }

  .about-card{
    grid-template-columns:1fr;
    padding:26px;
  }

  .about-card h2{
    font-size:24px;
  }

  .info-grid{
    grid-template-columns:1fr;
  }

  .stat-grid{
    display:flex;
    overflow-x:auto;
    gap:16px;
    padding:4px 0 18px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .stat-grid::-webkit-scrollbar{
    display:none;
  }

  .stat-card{
    min-width:210px;
    scroll-snap-align:start;
  }

  .announcement-grid{
    display:flex;
    overflow-x:auto;
    gap:16px;
    padding:4px 0 18px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .announcement-grid::-webkit-scrollbar{
    display:none;
  }

  .announcement-card{
    min-width:82%;
    padding:24px;
    scroll-snap-align:start;
  }

  .announcement-card h3{
    font-size:20px;
    line-height:1.35;
  }

  .announcement-card p{
    font-size:15px;
    line-height:1.7;
  }

  .page{
    padding:56px 18px;
  }

  .content-card{
    padding:24px;
  }

  .page-title{
    font-size:25px;
  }

  .search-box{
    flex-direction:column;
  }

  .search-box button{
    width:100%;
  }
}

@media(max-width:600px){

  .modal-overlay{
    align-items:flex-end;
    padding:0;
  }

  .modal-card{
    max-height:88vh;
    padding:22px 18px;
    border-radius:24px 24px 0 0;
  }

  .modal-title{
    font-size:21px;
    line-height:1.25;
    margin-bottom:18px;
  }

  .detail-section{
    margin-top:16px;
  }

  .detail-section h4{
    font-size:16px;
    margin-bottom:10px;
  }

  .modal-card .detail-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .modal-card .detail-item{
    padding:13px 15px;
    border-radius:16px;
  }

  .modal-card .detail-item span{
    font-size:13px;
    margin-bottom:6px;
  }

  .modal-card .detail-item strong{
    font-size:15px;
  }

  .status-badge{
    font-size:13px;
    padding:7px 12px;
  }
}

@media(max-width:420px){

  .hero h1{
    font-size:34px;
  }

  .hero-mini-stats strong{
    font-size:26px;
  }

  .hero-mini-stats span{
    font-size:11px;
  }

  .stat-card{
    min-width:200px;
  }

  .announcement-card{
    min-width:86%;
  }
}
/* ================= STATUS DETAIL IN MODAL ================= */

.status-detail-section{
  background:#fbfdfb;
  border:1px solid #edf3ee;
  border-radius:18px;
  padding:16px;
}

.status-detail-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #edf3ee;
}

.status-detail-row:last-child{
  border-bottom:none;
}

.status-detail-row span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}

.status-detail-row span i{
  color:var(--primary);
  font-size:17px;
}

.status-note{
  margin-top:12px;
  padding:12px;
  background:var(--primary-soft);
  border-radius:14px;
}

.status-note span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--primary);
  font-size:13px;
  font-weight:800;
  margin-bottom:6px;
}

.status-note p{
  color:var(--text);
  font-size:14px;
  line-height:1.6;
}

@media(max-width:420px){
  .status-detail-row{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
}
/* ================= FIX POPUP SANTRI COMPACT ================= */

.modal-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
  margin-bottom:18px;
  padding-right:48px;
}

.compact-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:18px;
}

.compact-item{
  background:#fbfdfb;
  border:1px solid #edf3ee;
  border-radius:16px;
  padding:14px;
}

.compact-item span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:6px;
}

.compact-item span i{
  color:var(--primary);
  font-size:17px;
}

.compact-item strong{
  display:block;
  color:var(--text);
  font-size:15px;
  font-weight:800;
}

.compact-section{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.compact-section h4{
  color:var(--primary);
  font-size:17px;
  font-weight:800;
  margin-bottom:12px;
}

.compact-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid #edf3ee;
}

.compact-row:last-child{
  border-bottom:none;
}

.compact-row span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
}

.compact-row span i{
  color:var(--primary);
  font-size:17px;
}

.compact-row strong{
  color:var(--text);
  font-size:14px;
  font-weight:800;
  text-align:right;
}

/* Status & rekom tetap informatif */
.status-detail-section{
  background:#fbfdfb;
  border:1px solid #edf3ee;
  border-radius:18px;
  padding:16px;
}

.status-detail-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #edf3ee;
}

.status-detail-row:last-child{
  border-bottom:none;
}

.status-detail-row span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.status-detail-row span i{
  color:var(--primary);
  font-size:17px;
}

/* Mobile */
@media(max-width:420px){
  .compact-detail-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .compact-item{
    padding:12px;
  }

  .compact-item span{
    font-size:12px;
  }

  .compact-item strong{
    font-size:14px;
  }

  .status-detail-row{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
}
.about-logo{
  width:70px;
  height:70px;
  object-fit:contain;
}
