:root{
  --page-bg:#ffffff;
  --text:#0f172a;
  --muted:#ffffff;
  --shadow: 0 18px 45px rgba(2, 6, 23, .18);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--page-bg);
  color:var(--text);
}

.page{
  width:100%;
}

/* HERO / SLIDESHOW */
.hero{
  position:relative;
  margin:0;
  padding:26px 0 0;
  overflow:hidden;
}

/* “curved” bagian atas & bawah banner */
.hero-curves{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.hero-curves::before,
.hero-curves::after{
  content:"";
  position:absolute;
  left:50%;
  width:140%;
  transform:translateX(-50%);
  background:transparent;
  z-index:0;
}

/* lengkung bawah: seolah banner menempel ke bawah */
.hero-curves::before{
  top:-60px;
  height:120px;
  background:#fff;
  border-bottom-left-radius: 100% 100px;
  border-bottom-right-radius: 100% 100px;
}

/* lengkung atas: bagian putih di atas banner */
.hero-curves::after{
  bottom:-70px;
  height:140px;
  background:#fff;
  border-top-left-radius: 100% 120px;
  border-top-right-radius: 100% 120px;
}

.hero-slideshow{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:0 auto;
  padding:0 18px 40px;
}

/* ensure full-width feel on mobile */
@media (max-width: 820px){
  .hero-slideshow{ padding-left: 12px; padding-right: 12px; }
}


.hero-track{
  position:relative;
  height:420px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#0b1220;
  width:100%;
}


.hero-slide{


  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.02);
  transition:opacity 520ms ease, transform 720ms ease;
}

.hero-slide.is-active{
  opacity:1;
  transform:scale(1);
}

.hero-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Overlay & text removed: tampilkan foto full tanpa gradasi hitam */
.hero-overlay{
  display:none;
}

.hero-content,
.hero-title,
.hero-subtitle{
  display:none;
}


/* Controls */
.hero-control{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(2, 6, 23, .35);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:6;
  user-select:none;
  padding:0;
  font-size:22px;
  line-height:1;
}

.hero-prev{ left:30px; }
.hero-next{ right:30px; }

.hero-control:hover{
  background:rgba(2, 6, 23, .55);
}



/* Dots */
.hero-dots{
  display:flex;
  gap:10px;
  justify-content:center;
  padding-top:14px;
}

.hero-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(2,6,23,.25);
  cursor:pointer;
}

.hero-dot.is-active{
  background:#3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,.22);
}

/* Responsive */
@media (max-width: 820px){
  .hero{
    padding-top:18px;
  }

  /* Samakan feel desktop: jangan “terkunci” jadi sempit */
  .hero-slideshow{
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0px 12px 10px; /* ada space kiri-kanan, tidak mepet */
  }

  .hero-track{
    width: 100%;
    height:100px; /* small kotak hero di mobile */
    border-radius:18px;
  }

  .hero-prev{ left:8px; }
  .hero-next{ right:8px; }

  /* Hilangkan tampilan kontrol prev/next yang berisi karakter "‹"/"›" jika masih tampil sebagai "<>" */
  .hero-control{ display:none !important; }

  /* Jika atribut disembunyikan tidak bekerja, fallback: sembunyikan isi aksi */
  [data-desktop-only]{ display:none !important; }
}




/* ABOUT / TENTANG KAMI */
.about{
  padding: 26px 18px 60px;
}

.about-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.about-media{
  display:flex;
  justify-content:center;
}

.about-image{
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display:block;
  background:#fff;
}

.about-content{
  padding: 10px 0;
}

.about-title{
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.about-lead{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(15, 23, 42, .86);
}

.about-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
}

.btn-primary{
  /* gradasi biru-hijau seperti awal */
  background:
    radial-gradient(500px 220px at 20% 20%, rgba(59,130,246,.55), transparent 60%),
    radial-gradient(420px 220px at 85% 10%, rgba(16,185,129,.42), transparent 62%),
    linear-gradient(135deg, rgba(37,99,235,.95), rgba(16,185,129,.78));
  color: #fff;
  box-shadow: 0 10px 25px rgba(59,130,246,.22);
  border-color: rgba(255,255,255,.14);
}
 

.btn-primary:hover{
  background:
    radial-gradient(500px 220px at 20% 20%, rgba(59,130,246,.65), transparent 60%),
    radial-gradient(420px 220px at 85% 10%, rgba(16,185,129,.52), transparent 62%),
    linear-gradient(135deg, rgba(37,99,235,1), rgba(16,185,129,.9));
}

.about-full{
  max-width: 1200px;
  margin: 26px auto 0;
  background: #ffffff;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .06);
  padding: 22px;
}

.about-full-title{
  margin: 0 0 10px;
  font-size: 20px;
}

.about-full-text{
  margin: 0;
  color: rgba(15, 23, 42, .86);
  line-height: 1.8;
}

@media (max-width: 820px){
  .about{
    padding: 18px 12px 50px;
  }
  .about-inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-image{
    max-width: 100%;
  }
  .about-title{
    font-size: 28px;
  }

  /* Rapikan teks/box agar rata kiri-kanan (justify) seperti yang diminta */
  .about-content{
    text-align: justify;
  }
  .about-lead{
    text-align: justify;
  }
}


/* PRODUCTS / PREVIEW PRODUK */
.products{
  padding: 8px 18px 56px;
}

.products-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.products-title{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  text-align: center;
}

.products-lead{
  margin: 0 auto 22px;
  max-width: 720px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(15, 23, 42, .86);
}

.products-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  justify-items: center;
}

.product-card{
  width: 100%;
  max-width: 320px;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-image{
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
}

.product-name{
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

@media (max-width: 820px){
  .products{
    padding: 10px 12px 40px;
  }
  .products-title{
    font-size: 28px;
  }
  .products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-image{
    height: 140px;
  }
}

@media (max-width: 420px){
  /* Space kiri-kanan hero versi lebih kecil (lebih rapat) */
  .hero-slideshow{
    padding-left: 4px;
    padding-right: 4px;
  }



  .products-grid{
    grid-template-columns: 1fr;
  }
  .product-card{
    max-width: 420px;
  }
}

/* =========================================================
   NEWS / BERITA
   ========================================================= */

.news {
  width: 100%;
  padding: 70px 18px 100px;
  background: #ffffff;
}

.news-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* =========================================================
   HEADER BERITA
   ========================================================= */

.news-title {
  margin: 0 0 10px;

  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;

  text-align: center;

  color: #0f172a;
}

.news-lead {
  width: 100%;
  max-width: 720px;

  margin: 0 auto 45px;

  font-size: 16px;
  line-height: 1.8;

  text-align: center;

  color: rgba(15, 23, 42, 0.68);
}


/* =========================================================
   GRID BERITA
   ========================================================= */

.news-grid {
  width: 100%;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 26px;

  align-items: stretch;
}


/* =========================================================
   CARD BERITA
   ========================================================= */

.news-card {
  position: relative;

  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  border: 1px solid rgba(15, 23, 42, 0.08);

  border-radius: 20px;

  overflow: hidden;

  padding: 0;

  text-align: left;

  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.07);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12);
}


/* =========================================================
   FOTO BERITA
   ========================================================= */

/*
   FOTO FULL CARD
   Foto tetap menggunakan source/foto yang sama.
   Tidak mengubah gambar aslinya.
*/

.news-image {
  width: calc(100% + 32px);
  height: 185px;

  display: block;

  object-fit: cover;

  /* FULL sampai ujung kiri & kanan card */
  margin: -16px -16px 0 -16px;

  border-radius: 0;

  background: #f3f4f6;
}


/* FOTO BERITA UTAMA */
.news-card-feature .news-image {
  width: calc(100% + 32px);
  height: 270px;

  margin: -16px -16px 0 -16px;

  border-radius: 0;
}


/* =========================================================
   ISI CARD
   ========================================================= */

.news-card > *:not(.news-image) {
  margin-left: 16px;
  margin-right: 16px;
}


/* =========================================================
   META
   ========================================================= */

.news-meta {
  width: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin-top: 17px !important;

  margin-bottom: 0;

  padding: 0;
}


/* BADGE */

.news-badge {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 6px 11px;

  border-radius: 999px;

  background: rgba(37, 99, 235, 0.10);

  color: #2563eb;

  font-size: 12px;
  line-height: 1;

  font-weight: 800;

  white-space: nowrap;
}


/* TANGGAL */

.news-date {
  margin: 0 !important;

  font-size: 12px;

  line-height: 1.4;

  font-weight: 600;

  color: rgba(15, 23, 42, 0.58);

  white-space: nowrap;
}


/* =========================================================
   JUDUL BERITA
   ========================================================= */

.news-name {
  margin-top: 12px !important;
  margin-bottom: 0;

  font-size: 18px;

  line-height: 1.45;

  font-weight: 800;

  color: #0f172a;
}

.news-name a,
.news-card a,
.news-card a:visited,
.news-card a:hover,
.news-card a:active {
  color: #0f172a !important;

  text-decoration: none !important;
}


/* =========================================================
   DESKRIPSI BERITA
   ========================================================= */

.news-excerpt {
  margin-top: 8px !important;
  margin-bottom: 20px !important;

  font-size: 14px;

  line-height: 1.7;

  color: rgba(15, 23, 42, 0.68);

  display: -webkit-box;

  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

/* =========================================================
   TOMBOL LIHAT SEMUA BERITA
   ========================================================= */

.news-more-wrapper {
  width: 100% !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  /* JARAK DARI CARD BERITA */
  margin: 80px auto 0 !important;

  padding: 0 !important;

  text-align: center !important;

  /* Pastikan tidak terdorong ke kiri */
  position: relative !important;
  left: auto !important;
  right: auto !important;
}


/* =========================================================
   TOMBOL
   ========================================================= */

.news-more-button {
  display: inline-flex !important;

  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 180px !important;
  min-height: 48px !important;

  margin: 0 !important;
  padding: 13px 25px !important;

  border-radius: 14px !important;

  background: linear-gradient(
    135deg,
    #2563eb 0%,
    #14b8a6 100%
  ) !important;

  color: #ffffff !important;

  font-size: 14px !important;
  font-weight: 800 !important;

  line-height: 1 !important;

  text-align: center !important;

  text-decoration: none !important;

  box-shadow:
    0 10px 25px rgba(37, 99, 235, 0.20);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.news-more-button:hover {
  color: #ffffff !important;

  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.27);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .news-more-wrapper {
    width: 100% !important;

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    margin: 75px auto 0 !important;

    padding: 0 !important;

    text-align: center !important;
  }

}


/* =========================================================
   HP
   ========================================================= */

@media (max-width: 620px) {

  .news-more-wrapper {
    width: 100% !important;

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    margin: 60px auto 0 !important;

    padding: 0 !important;

    text-align: center !important;
  }

  .news-more-button {
    min-width: 165px !important;
    min-height: 46px !important;

    padding: 12px 22px !important;

    font-size: 13px !important;
  }

}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 420px) {

  .news-more-wrapper {
    margin-top: 55px !important;
  }

}