/**
 * =========================
 *    GLOBAL
 * =========================
 *
 * @format
 */

/* =========================
   DASDBOARD PENGGUNA
========================= */

body {
  font-family: "Poppins", sans-serif;
  background: #f7f8fa;
}

/*==============================
NAVBAR
==============================*/

.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: black;
  line-height: 1.2;
}

.header-area {
  position: sticky;
  top: 0;
  z-index: 999;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 18px 0;
}

.logo-navbar {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
  color: #166534;
}

.brand-subtitle {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

.nav-link {
  margin: 0 14px;
  font-weight: 600;
  color: #374151 !important;
}

.nav-link.active {
  color: #15803d !important;
}

.nav-link:hover {
  color: #15803d !important;
}

.btn-login {
  background: #15803d;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
}

.btn-login:hover {
  background: #166534;
  color: white;
}

/*==============================
HERO
==============================*/
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
}

/* ===========================
   BACKGROUND IMAGE
=========================== */

.hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(9px);
  transform: scale(1.08);
}

/* Blur diagonal */

.hero-bg::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -120px;

  width: 75%;
  height: 75%;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 25%,
    rgba(241, 248, 240, 0.95) 55%,
    #eef8ee 100%
  );

  transform: rotate(-8deg);
}

/* ===========================
   FRONT IMAGE
=========================== */

.hero-front {
  position: absolute;

  width: 78%;
  height: 72%;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 28px;
  overflow: hidden;

  border: 4px solid #fff;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);

  z-index: 5;
}

.hero-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero {
  padding: 35px 0 70px;
}

.hero .container {
  background: linear-gradient(135deg, #f8fff9, #edf8ef);
  border-radius: 30px;
  padding: 70px;
  overflow: hidden;
  position: relative;
}

.hero .container::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(21, 128, 61, 0.05);
  border-radius: 50%;
  right: -120px;
  top: -120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #e7f9ec;
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  color: #17311e;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: #17311e;
}

.hero-text {
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
}

.hero-button {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: #15803d;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  background: #166534;
  color: white;
}

.btn-outline-custom {
  border: 2px solid #15803d;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
  color: #15803d;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  background: #15803d;
  color: white;
}

/*==============================
STATISTIK
==============================*/

.statistics {
  padding: 70px 0;
}

.stat-card {
  background: #fff;
  border-radius: 22px;
  padding: 35px;
  text-align: center;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.35s;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 75px;
  height: 75px;
  margin: auto;
  margin-bottom: 20px;
  background: #ecfdf5;
  color: #15803d;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.stat-card h2 {
  font-size: 42px;
  font-weight: 800;
  color: #17311e;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/*==============================
KATEGORI
==============================*/

.kategori-section {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #17311e;
}

.section-subtitle {
  color: #6b7280;
  margin-top: 12px;
}

.kategori-card {
  background: white;
  padding: 35px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid #edf2f7;
  transition: 0.35s;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.kategori-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.kategori-icon {
  width: 80px;
  height: 80px;
  margin: auto;
  margin-bottom: 20px;
  background: #ecfdf5;
  color: #15803d;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
}

.kategori-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.kategori-card p {
  color: #6b7280;
  margin-bottom: 18px;
}

.kategori-card a {
  text-decoration: none;
  font-weight: 600;
  color: #15803d;
}

.kategori-card a:hover {
  color: #166534;
}

/*==============================
ABOUT
==============================*/

.about-section {
  padding: 90px 0;
  background: #f8fafc;
}

.about-badge {
  display: inline-block;
  background: #e8f9ed;
  padding: 10px 18px;
  border-radius: 30px;
  color: #15803d;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-title {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #17311e;
}

.about-text {
  font-size: 17px;
  line-height: 1.9;
  color: #6b7280;
  margin-bottom: 30px;
}

.about-button {
  background: #15803d;
  color: white;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.about-button:hover {
  background: #166534;
  color: white;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  height: 100%;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 38px;
  color: #15803d;
  margin-bottom: 18px;
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

/*==============================
KATALOG TERBARU
==============================*/

.katalog-section {
  padding: 90px 0;
  background: #ffffff;
}

.katalog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  height: 100%;
}

.katalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.katalog-image {
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  font-size: 70px;
}

.katalog-body {
  padding: 22px;
}

.katalog-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #15803d;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.katalog-body h5 {
  font-weight: 700;
  color: #17311e;
  margin-bottom: 12px;
}

.katalog-body p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
}

.katalog-link {
  color: #15803d;
  font-weight: 600;
  text-decoration: none;
}

.katalog-link:hover {
  color: #166534;
}

/*==============================
BERITA TERBARU
==============================*/

.berita-section {
  padding: 90px 0;
  background: #f8fafc;
}

.berita-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  height: 100%;
}

.berita-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.berita-image {
  width: 100%;
  height: 220px;
  background: #ecfdf5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
  color: #15803d;
}

.berita-body {
  padding: 22px;
}

.berita-date {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.berita-body h5 {
  font-weight: 700;
  color: #17311e;
  margin-bottom: 12px;
}

.berita-body p {
  color: #6b7280;
  line-height: 1.7;
}

.berita-link {
  text-decoration: none;
  color: #15803d;
  font-weight: 600;
}

/*==============================
FOOTER
==============================*/

.footer {
  background: #14532d;
  color: #fff;
  padding: 70px 0 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.footer-brand h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-logo i {
  margin-right: 8px;
}

.footer p {
  color: #d1d5db;
  line-height: 1.8;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact i {
  color: #4ade80;
  margin-right: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: #d1d5db;
  font-size: 14px;
}
/* =========================
   DASDBOARD PENGGUNA
========================= */

/* =========================
   HALAMAN SITUS(situs.php)
========================= */

/* HERO KHUSUS HALAMAN KATALOG */
.katalog-hero {
  background: url("../img/header4.png") center center/cover no-repeat;
  color: #fff;
  padding: 70px 0;
}

.katalog-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}

.katalog-hero p {
  opacity: 0.95;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 0;
}

/*================================
  FILTER
================================*/

.filter-box {
  background: #fff;
  margin-top: -40px;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/*================================
  CARD SITUS
================================*/

.site-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.site-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.site-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.site-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.site-card:hover .site-image img {
  transform: scale(1.08);
}

.site-category {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #ffffff;
  color: #198754;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/*================================
  ISI CARD
================================*/

.site-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.site-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.site-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #198754;
  font-weight: 600;
  margin-bottom: 15px;
}

.site-content p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 18px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ===============================
   HERO IMAGE SHADOW
================================ */

.hero img,
.hero-image,
.hero-banner img {
  border-radius: 30px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);

  transition: 0.4s ease;
}

/* efek hover */

.hero img:hover,
.hero-image:hover,
.hero-banner img:hover {
  transform: translateY(-8px);

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

/*================================
  TOMBOL DETAIL
================================*/

.btn-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #198754;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.btn-detail:hover {
  background: #157347;
  color: white;
}

/*================================
  PAGINATION
================================*/

.custom-pagination {
  gap: 10px;
}

.custom-pagination .page-link {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: #198754;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.custom-pagination .page-link:hover {
  background: #198754;
  color: white;
  transform: translateY(-3px);
}

.custom-pagination .active .page-link {
  background: #198754;
  color: white;
}

.custom-pagination .disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/*================================
  RESPONSIVE KATALOG
================================*/

@media (max-width: 768px) {
  .katalog-hero {
    padding: 20px 20px;
    text-align: center;
  }

  .katalog-hero h1 {
    font-size: 30px;
  }

  .katalog-hero p {
    font-size: 15px;
  }

  .filter-box {
    margin-top: 20px;
  }
}
@media (max-width: 576px) {
  .navbar-collapse {
    margin-top: 10px;
    padding: 10px 7px 13px;
  }

  .navbar-nav {
    gap: 2px;
  }

  .navbar-nav .nav-link {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .navbar-collapse .btn-login {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
}
/* =========================
   HALAMAN SITUS AkHIR(situs.php)
========================= */
/* =========================
   HALAMAN QUIZ  AWAL (KUIS.php)
========================= */

/* =========================
   HALAMAN QUIZ AKHIR (KUIS.php)
========================= */

/* reset, body, container, dll */

/* =========================
   NAVBAR
========================= */

/* =========================
   HERO
========================= */

/* =========================
   STATISTIK
========================= */

/* =========================
   KATEGORI
========================= */

/* =========================
   TENTANG
========================= */

/* =========================
   KATALOG
========================= */

/* =========================
   BERITA
========================= */

/* =========================
   FOOTER
========================= */

/* =========================
   RESPONSIVE
========================= */

/* =========================
   PUBLIC WEBSITE
========================= */

/* =========================
   ADMIN
========================= */

/* =========================
   PETA
========================= */

/* =========================
   RESPONSIVE
========================= */
