/* Landing PMB UT Telogorejo — hijau #76B900 */
:root {
  --ut-green: #76b900;
  --ut-green-dark: #5f9400;
  --ut-green-soft: rgba(118, 185, 0, 0.12);
  --ut-text: #2d3436;
  --ut-muted: #636e72;
  --ut-radius: 18px;
  --ut-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --ut-shadow-nav: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Sticky footer landing: topbar di luar .landing-public, jadi body flex + area utama flex:1 */
html {
  height: 100%;
}

body.landing-body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.landing-body > .landing-topbar {
  flex-shrink: 0;
}

.landing-public {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--ut-text);
  background: #f8faf8;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.landing-public .landing-nav-wrap {
  flex-shrink: 0;
}

.landing-public .landing-footer {
  flex-shrink: 0;
}

/* Konten utama memenuhi sisa tinggi kolom flex (area kosong di bawah konten, footer tetap di bawah layar) */
.landing-public > main {
  flex: 1 0 auto;
  width: 100%;
}

.landing-public a {
  color: inherit;
  text-decoration: none;
}

.landing-topbar {
  background: var(--ut-green);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.landing-topbar a {
  color: #fff;
  opacity: 0.95;
}

.landing-topbar a:hover {
  opacity: 1;
  text-decoration: underline;
}

.landing-topbar .social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  margin-left: 0.35rem;
  transition: background 0.2s, transform 0.2s;
}

.landing-topbar .social a:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

.landing-topbar .btn-daftar-top {
  background: #fff;
  color: var(--ut-green) !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8125rem;
  text-decoration: none !important;
  transition: box-shadow 0.2s, transform 0.2s;
}

.landing-topbar .btn-daftar-top:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.landing-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0 0;
  margin-top: -0.25rem;
}

.landing-nav {
  background: #fff;
  border-radius: var(--ut-radius);
  box-shadow: var(--ut-shadow-nav);
  padding: 0.65rem 1.25rem;
  align-items: center;
}

.landing-nav .logo img {
  height: 48px;
  width: auto;
}

.landing-nav .nav-link-main {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ut-text) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.landing-nav .nav-link-main:hover {
  color: var(--ut-green) !important;
  background: var(--ut-green-soft);
}

.landing-nav .nav-link-main.active {
  color: var(--ut-green) !important;
  box-shadow: inset 0 -2px 0 var(--ut-green);
  border-radius: 8px 8px 0 0;
}

.landing-nav .dropdown-item.active,
.landing-nav .dropdown-item:active {
  background: var(--ut-green-soft);
  color: var(--ut-green-dark) !important;
  font-weight: 600;
}

.landing-nav .btn-search-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e9ecef;
  background: #fff;
  color: var(--ut-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.landing-nav .btn-search-nav:hover {
  border-color: var(--ut-green);
  color: var(--ut-green);
  background: var(--ut-green-soft);
}

.hero-section {
  position: relative;
  padding: 1.75rem 0 4.25rem;
  overflow: visible;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 1rem 0 3rem;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 45%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    rgba(118, 185, 0, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-headline .text-highlight {
  color: var(--ut-green);
}

.hero-lead {
  color: var(--ut-muted);
  font-size: 1rem;
  max-width: 32rem;
  line-height: 1.65;
}

.btn-ut-primary {
  background: var(--ut-green);
  border: none;
  color: #fff !important;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-ut-primary:hover {
  background: var(--ut-green-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(118, 185, 0, 0.35);
}

.btn-ut-outline {
  background: #fff;
  border: 2px solid var(--ut-green);
  color: var(--ut-green) !important;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
}

.btn-ut-outline:hover {
  background: var(--ut-green-soft);
  color: var(--ut-green-dark) !important;
}

.hero-visual-wrap {
  position: relative;
  min-height: 320px;
}

/* Breakout: gambar hero full width sampai tepi layar (seperti topbar) */
@media (min-width: 992px) {
  /* baris hero: tinggi ditentukan kolom kiri (tombol) */
  .hero-row {
    position: relative;
  }

  /* kolom gambar dibuat absolute agar tidak menambah tinggi baris */
  .hero-visual-col {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
  }

  .hero-visual-col,
  .hero-visual-wrap--full {
    height: 100%;
  }

  /* pastikan tinggi benar-benar mengikuti kolom kiri */
  .hero-visual-wrap {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .hero-visual-wrap--full {
    width: calc(40vw );
    margin-right: calc(10vw);
  }
}

.hero-visual-wrap .hero-shape {
  position: absolute;
  inset: 8% 5% auto 15%;
  background: linear-gradient(
    135deg,
    rgba(118, 185, 0, 0.25) 0%,
    rgba(118, 185, 0, 0.05) 100%
  );
  border-radius: 32% 68% 65% 35% / 42% 35% 65% 58%;
  z-index: 0;
}

.hero-visual-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  box-shadow: var(--ut-shadow);
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

/* Hero image blend: menyatu dengan background (feather edge) */
.hero-visual-wrap .hero-visual-img {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: cover;
  /* Geser fokus gambar sedikit ke kiri */
  object-position: 55% 50%;
  width: 100%;
  height: 100%;
  max-height: none;
  /* hindari terlihat lebih tinggi karena drop-shadow */
  filter: none;
  -webkit-mask-image: radial-gradient(ellipse at 55% 50%, #000 78%, transparent 96%);
  mask-image: radial-gradient(ellipse at 55% 50%, #000 78%, transparent 96%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (min-width: 1200px) {
  .hero-visual-wrap .hero-visual-img {
    object-position: 55% 50%;
  }
}

.stats-bar {
  margin-top: 1.5rem;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--ut-radius);
  box-shadow: var(--ut-shadow);
  padding: 0.85rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-bar .stat-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  padding: 0.4rem 0.5rem;
}

.stats-bar .stat-icon {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
  background: var(--ut-green-soft);
  color: var(--ut-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.stats-bar .stat-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ut-text);
}

.stats-bar .stat-label {
  font-size: 0.74rem;
  color: var(--ut-muted);
  margin-top: 0.1rem;
}

.stats-bar .stat-text {
  min-width: 0;
}

.card-pendaftaran-side {
  background: #fff;
  border-radius: var(--ut-radius);
  box-shadow: var(--ut-shadow);
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(118, 185, 0, 0.15);
}

.card-pendaftaran-side .gelombang-box {
  background: var(--ut-green-soft);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.card-pendaftaran-side .gelombang-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ut-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.features-grid .feature-card {
  background: #fff;
  border-radius: var(--ut-radius);
  box-shadow: var(--ut-shadow-nav);
  padding: 1.5rem 1.35rem;
  height: 100%;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.features-grid .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.features-grid .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ut-green-soft);
  color: var(--ut-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.features-grid .feature-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.features-grid .feature-text {
  font-size: 0.875rem;
  color: var(--ut-muted);
  line-height: 1.55;
}

.features-grid .feature-arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ut-green);
  transition: background 0.2s, border-color 0.2s;
}

.features-grid .feature-card:hover .feature-arrow {
  background: var(--ut-green);
  border-color: var(--ut-green);
  color: #fff;
}

/* Halaman kontak — baris tautan WhatsApp */
.pmb-kontak-wa:hover {
  background: rgba(118, 185, 0, 0.08);
}

.landing-footer {
  background: radial-gradient(1200px 420px at 15% 0%, rgba(118, 185, 0, 0.25), transparent 60%),
    radial-gradient(900px 380px at 85% 20%, rgba(118, 185, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #131a20 0%, #0f1419 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.landing-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.landing-footer strong {
  color: rgba(255, 255, 255, 0.95);
}

.section-tentang {
  padding: 3rem 0;
}

.tentang-card {
  background: #fff;
  border-radius: var(--ut-radius);
  box-shadow: var(--ut-shadow-nav);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .stats-bar {
    /* sedikit overlap ke gambar (seperti contoh) */
    margin-top: -4rem;
    z-index: 7;
  }

  .landing-card-float {
    position: absolute;
    top: auto;
    bottom: -3.25rem;
    right: 0.75rem;
    width: min(280px, 92%);
    z-index: 9; /* selalu di atas stats-bar */
  }
}

@media (max-width: 991.98px) {
  .hero-order-visual {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .card-pendaftaran-side {
    margin-top: 1.5rem;
    position: relative !important;
    max-width: 100% !important;
  }

  .stats-bar .stat-item {
    border-bottom: 1px solid #f1f3f4;
  }

  .stats-bar .stat-item:last-child {
    border-bottom: none;
  }
}
