/* ============================================
   STIA BAYUANGGA — Landing Page (Professional)
   Design System: Dribbble / Figma Inspired
   ISO 9241 Usability Compliant
   ============================================ */

/* ======= TOP BAR ======= */
.topbar {
  background: hsl(215 55% 12%);
  color: hsl(0 0% 100% / 0.6);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.topbar.hidden { transform: translateY(-100%); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left, .topbar-right { display: flex; gap: 1.5rem; }
.topbar a {
  display: inline-flex; align-items: center; gap: 5px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.topbar a:hover { color: hsl(42 92% 60%); }
.topbar svg { width: 13px; height: 13px; opacity: 0.5; }
@media (max-width: 768px) { .topbar { display: none; } }

/* ======= NAVIGATION ======= */
.main-nav {
  position: fixed; top: 30px; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-nav.scrolled {
  top: 0;
  background: hsl(215 55% 12% / 0.97);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 8px 0;
  box-shadow: 0 1px 0 hsl(0 0% 100% / 0.06);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(0 0% 100% / 0.12);
  transition: transform 0.3s;
}
.nav-brand:hover .nav-brand-logo { transform: scale(1.06); }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: 0.5px; }
.nav-brand-sub { font-size: 0.68rem; color: hsl(42 92% 60%); font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item {
  color: hsl(0 0% 100% / 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.84rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  letter-spacing: 0.01em;
}
.nav-item:hover { background: hsl(0 0% 100% / 0.08); color: #fff; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%; transform: translate(-50%, 8px);
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px hsl(215 40% 10% / 0.15), 0 0 0 1px hsl(0 0% 0% / 0.04);
  padding: 6px;
  opacity: 0; visibility: hidden;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1010;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown-panel a {
  display: block;
  color: hsl(215 30% 30%);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.15s;
}
.nav-dropdown-panel a:hover {
  background: hsl(215 60% 96%);
  color: hsl(215 55% 30%);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: hsl(42 92% 56%);
  color: hsl(215 55% 12%);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700; font-size: 0.84rem;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 2px 8px hsl(42 92% 56% / 0.3);
}
.nav-cta:hover {
  background: hsl(42 92% 62%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px hsl(42 92% 56% / 0.4);
}
.nav-cta svg { width: 15px; height: 15px; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 1020;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile */
.mobile-overlay {
  position: fixed; inset: 0; background: hsl(0 0% 0% / 0.5);
  z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: -280px; width: 270px; height: 100vh;
  background: hsl(215 55% 12%);
  z-index: 999; padding: 20px;
  display: flex; flex-direction: column; gap: 2px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-head {
  display: flex; align-items: center; gap: 10px;
  color: #fff; padding-bottom: 16px; margin-bottom: 8px;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}
.mobile-menu a {
  color: hsl(0 0% 100% / 0.8); text-decoration: none;
  padding: 11px 12px; border-radius: 10px; font-size: 0.92rem; font-weight: 500;
  transition: all 0.2s;
}
.mobile-menu a:hover { background: hsl(0 0% 100% / 0.08); }
.mobile-login-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: hsl(42 92% 56%); color: hsl(215 55% 12%);
  border-radius: 10px; padding: 12px; font-weight: 700;
  margin-top: 8px; justify-content: center; text-decoration: none;
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ======= HERO ======= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, hsl(215 55% 10% / 0.94) 0%, hsl(215 45% 18% / 0.88) 50%, hsl(215 40% 14% / 0.92) 100%);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero-chip {
  display: inline-flex; align-items: center;
  background: hsl(42 92% 56% / 0.12);
  color: hsl(42 92% 60%);
  font-size: 0.78rem; font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid hsl(42 92% 56% / 0.18);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-text h1 span { color: hsl(42 92% 60%); }
.hero-text p {
  color: hsl(0 0% 100% / 0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-l {
  display: inline-flex; align-items: center; gap: 8px;
  background: hsl(42 92% 56%);
  color: hsl(215 55% 12%);
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 14px hsl(42 92% 56% / 0.3);
}
.btn-primary-l:hover {
  background: hsl(42 92% 62%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsl(42 92% 56% / 0.4);
}
.btn-primary-l svg { width: 18px; height: 18px; }

.btn-ghost-l {
  display: inline-flex; align-items: center; gap: 8px;
  color: hsl(0 0% 100% / 0.9);
  font-weight: 600; font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid hsl(0 0% 100% / 0.15);
  text-decoration: none;
  transition: all 0.3s;
  background: hsl(0 0% 100% / 0.04);
}
.btn-ghost-l:hover {
  background: hsl(0 0% 100% / 0.1);
  border-color: hsl(0 0% 100% / 0.25);
}
.btn-ghost-l svg { width: 16px; height: 16px; }

/* Hero Logo */
.hero-logo-area { display: flex; justify-content: center; align-items: center; }
.hero-logo-orbit {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.orbit {
  position: absolute; border-radius: 50%;
  border: 1.5px solid hsl(0 0% 100% / 0.06);
}
.orbit.r1 { width: 100%; height: 100%; animation: orbitPulse 5s ease-in-out infinite; }
.orbit.r2 { width: 130%; height: 130%; border-color: hsl(42 92% 56% / 0.04); animation: orbitPulse 5s ease-in-out infinite 0.8s; }
@keyframes orbitPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.hero-logo-img {
  width: 160px; height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px hsl(0 0% 0% / 0.3));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Stats Bar */
.stats-float {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  transform: translateY(50%);
}
.stats-row {
  background: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow:
    0 20px 50px hsl(215 40% 10% / 0.1),
    0 0 0 1px hsl(0 0% 0% / 0.03);
}
.stat-card { text-align: center; padding: 8px 0; }
.stat-card strong {
  display: block;
  font-size: 1.8rem; font-weight: 800;
  color: hsl(215 55% 25%);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card span { font-size: 0.76rem; color: hsl(215 15% 55%); font-weight: 500; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 5rem; }
  .hero-logo-area { display: none; }
  .hero-text p { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 14px; border-radius: 14px; }
  .stat-card strong { font-size: 1.4rem; }
}

/* ======= SECTIONS BASE ======= */
.sec { padding: 80px 0; }
.sec-alt { background: hsl(215 20% 97%); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: hsl(215 55% 20%);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.sec-head p, .sec-head-row p {
  color: hsl(215 15% 55%);
  font-size: 0.95rem;
}
.sec-head-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 36px; flex-wrap: wrap; gap: 12px;
}
.sec-head-row h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: hsl(215 55% 20%);
  margin-bottom: 4px;
}
.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: hsl(215 55% 40%);
  font-weight: 600; font-size: 0.88rem;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.link-btn:hover { background: hsl(215 60% 96%); color: hsl(215 55% 30%); }
.link-btn svg { width: 14px; height: 14px; }

/* ======= LAYANAN ======= */
.layanan-sec { padding-top: 60px; padding-bottom: 40px; position: relative; z-index: 4; }
.layanan-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.layanan-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: hsl(215 30% 30%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.layanan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px hsl(215 40% 10% / 0.1);
  border-color: hsl(215 50% 80%);
}
.layanan-card-img {
  width: 72px; height: 72px; object-fit: contain;
  transition: transform 0.35s;
}
.layanan-card:hover .layanan-card-img { transform: scale(1.08) rotate(2deg); }
.layanan-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(215 60% 95%);
  color: hsl(215 55% 35%);
  transition: background 0.3s;
}
.layanan-icon-wrap.gold { background: hsl(42 80% 92%); color: hsl(42 80% 35%); }
.layanan-card strong { font-size: 0.88rem; font-weight: 700; }
.layanan-card small { font-size: 0.72rem; color: hsl(215 15% 60%); }

@media (max-width: 768px) {
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .layanan-grid > :last-child { grid-column: 1 / -1; }
}

/* ======= ABOUT ======= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.tab-bar { display: flex; gap: 6px; margin-bottom: 20px; }
.tab {
  background: hsl(215 20% 95%);
  border: none; padding: 8px 18px; border-radius: 100px;
  font-weight: 600; font-size: 0.84rem;
  color: hsl(215 20% 50%);
  cursor: pointer;
  transition: all 0.2s;
}
.tab.active { background: hsl(215 55% 25%); color: #fff; }
.tab:hover:not(.active) { background: hsl(215 20% 90%); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-panel p { color: hsl(215 15% 40%); line-height: 1.8; margin-bottom: 12px; font-size: 0.92rem; }
.tab-panel ul { padding-left: 18px; }
.tab-panel li { color: hsl(215 15% 40%); line-height: 1.8; margin-bottom: 6px; font-size: 0.92rem; }

.about-img { position: relative; }
.about-img img {
  width: 100%; border-radius: 20px;
  box-shadow: 0 16px 48px hsl(215 40% 10% / 0.12);
}
.about-badge {
  position: absolute; bottom: -12px; right: 16px;
  background: hsl(42 92% 56%);
  color: hsl(215 55% 12%);
  font-weight: 700; font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 100px;
  box-shadow: 0 4px 12px hsl(42 92% 56% / 0.3);
}

.usp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.usp-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.3s;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px hsl(215 40% 10% / 0.08); }
.usp-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(215 60% 95%);
  color: hsl(215 55% 35%);
  margin-bottom: 16px;
}
.usp-icon.gold { background: hsl(42 80% 92%); color: hsl(42 80% 35%); }
.usp-icon.cyan { background: hsl(190 60% 92%); color: hsl(190 60% 30%); }
.usp-card h3 { font-size: 1rem; font-weight: 700; color: hsl(215 55% 20%); margin-bottom: 8px; }
.usp-card p { font-size: 0.85rem; color: hsl(215 15% 55%); line-height: 1.6; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .usp-row { grid-template-columns: 1fr; }
}

/* ======= PRODI ======= */
.prodi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.prodi-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.3s;
}
.prodi-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px hsl(215 40% 10% / 0.08); }
.prodi-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.prodi-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(215 60% 95%);
  color: hsl(215 55% 35%);
}
.badge-sm {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  background: hsl(215 60% 95%); color: hsl(215 55% 40%);
}
.badge-sm.green { background: hsl(150 50% 92%); color: hsl(150 50% 30%); }
.badge-sm.blue { background: hsl(215 60% 95%); color: hsl(215 55% 40%); }
.badge-sm.gold { background: hsl(42 80% 92%); color: hsl(42 80% 35%); }
.badge-sm.info { background: hsl(200 80% 92%); color: hsl(200 80% 30%); }
.badge-sm.warning { background: hsl(42 80% 92%); color: hsl(42 80% 35%); }
.badge-sm.success { background: hsl(150 50% 92%); color: hsl(150 50% 30%); }
.badge-sm.primary { background: hsl(215 60% 95%); color: hsl(215 55% 40%); }
.badge-sm.danger { background: hsl(0 60% 93%); color: hsl(0 55% 42%); }

/* PMB Management Buttons (BAP Dashboard) */
.pmb-mgmt-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1.5px solid hsl(215 20% 88%);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: hsl(215 15% 45%);
}
.pmb-mgmt-btn:hover { border-color: hsl(215 60% 70%); color: hsl(215 70% 45%); }
.pmb-mgmt-btn.active {
  background: hsl(215 70% 50%);
  color: #fff;
  border-color: hsl(215 70% 50%);
}
.mgmt-action-btn {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid hsl(215 20% 88%);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: hsl(215 15% 40%);
}
.mgmt-action-btn:hover {
  background: hsl(215 80% 96%);
  border-color: hsl(215 60% 75%);
  transform: translateY(-1px);
}

.prodi-card h4 { font-size: 1.05rem; font-weight: 700; color: hsl(215 55% 20%); margin-bottom: 8px; }
.prodi-card p { font-size: 0.84rem; color: hsl(215 15% 55%); line-height: 1.6; margin-bottom: 14px; }
.prodi-meta {
  display: flex; gap: 16px; font-size: 0.78rem; color: hsl(215 15% 60%);
}
.prodi-meta span { display: inline-flex; align-items: center; gap: 4px; }
.prodi-meta svg { width: 14px; height: 14px; opacity: 0.5; }

/* ======= NEWS ======= */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.news-main {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.3s;
}
.news-main:hover { box-shadow: 0 8px 28px hsl(215 40% 10% / 0.08); }
.news-main-thumb {
  position: relative; height: 220px; overflow: hidden;
}
.news-main-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-main:hover .news-main-thumb img { transform: scale(1.04); }
.news-main-thumb .badge-sm { position: absolute; top: 12px; left: 12px; }
.news-main-body { padding: 20px; }
.news-main-body h3 {
  font-size: 1.1rem; font-weight: 700;
  color: hsl(215 55% 20%);
  margin-bottom: 8px; line-height: 1.4;
}
.news-main-body p { font-size: 0.88rem; color: hsl(215 15% 50%); line-height: 1.6; margin-bottom: 12px; }
.news-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: hsl(215 15% 60%);
}
.news-foot span { display: inline-flex; align-items: center; gap: 5px; }
.news-foot svg { width: 14px; height: 14px; opacity: 0.4; }
.news-foot a {
  color: hsl(215 55% 40%); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.news-foot a:hover { color: hsl(42 92% 45%); }

.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.25s;
}
.news-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px hsl(215 40% 10% / 0.06); }
.news-item-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: hsl(215 55% 70%);
  margin-top: 6px; flex-shrink: 0;
}
.news-item-body h4 { font-size: 0.88rem; font-weight: 600; color: hsl(215 55% 22%); margin: 4px 0 3px; line-height: 1.3; }
.text-muted { font-size: 0.75rem; color: hsl(215 15% 60%); }

@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ======= ACHIEVEMENTS ======= */
.achiev-grid {
  display: grid; grid-template-columns: 0.7fr 1.3fr;
  gap: 48px; align-items: center;
}
.achiev-visual { display: flex; justify-content: center; }
.float-3d {
  max-width: 280px; width: 100%;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px hsl(0 0% 0% / 0.12));
}
.float-3d.d2 { animation-delay: 1s; }
.float-3d.d3 { animation-delay: 2s; }

.achiev-list { display: flex; flex-direction: column; gap: 12px; }
.achiev-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.25s;
}
.achiev-item:hover { transform: translateX(5px); box-shadow: 0 4px 16px hsl(215 40% 10% / 0.06); }
.achiev-medal {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.72rem;
  background: hsl(42 80% 92%);
  color: var(--medal-color, hsl(42 80% 40%));
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.achiev-item h4 { font-size: 0.92rem; font-weight: 700; color: hsl(215 55% 22%); margin-bottom: 2px; }
.achiev-item p { font-size: 0.8rem; color: hsl(215 15% 55%); }

@media (max-width: 768px) {
  .achiev-grid { grid-template-columns: 1fr; }
  .achiev-visual { order: -1; }
  .float-3d { max-width: 180px; }
}

/* ======= ALUMNI ======= */
.alumni-top {
  display: grid; grid-template-columns: 0.7fr 1.3fr;
  gap: 48px; align-items: center;
  margin-bottom: 48px;
}
.alumni-visual { display: flex; justify-content: center; }
.alumni-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.num-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.3s;
}
.num-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px hsl(215 40% 10% / 0.06); }
.num-card strong {
  display: block;
  font-size: 1.8rem; font-weight: 800;
  color: hsl(215 55% 25%);
  line-height: 1; margin-bottom: 4px;
}
.num-card span { font-size: 0.78rem; color: hsl(215 15% 55%); font-weight: 500; }

/* Testimonials */
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.3s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px hsl(215 40% 10% / 0.06); }
.testi-card > p {
  font-size: 0.88rem; color: hsl(215 15% 38%);
  line-height: 1.7; font-style: italic;
  margin-bottom: 16px;
}
.testi-author { display: flex; gap: 10px; align-items: center; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: hsl(215 55% 25%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.84rem; color: hsl(215 55% 22%); }
.testi-author span { font-size: 0.72rem; color: hsl(215 15% 60%); }

@media (max-width: 768px) {
  .alumni-top { grid-template-columns: 1fr; }
  .testi-row { grid-template-columns: 1fr; }
}

/* ======= EVENTS ======= */
.events-grid {
  display: grid; grid-template-columns: 0.6fr 1.4fr;
  gap: 48px; align-items: flex-start;
}
.events-visual { display: flex; justify-content: center; }
.events-list { display: flex; flex-direction: column; gap: 12px; }
.event-card {
  display: flex; gap: 14px; align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid hsl(0 0% 0% / 0.04);
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.04);
  transition: all 0.25s;
}
.event-card:hover { transform: translateX(4px); box-shadow: 0 4px 16px hsl(215 40% 10% / 0.06); }
.event-date {
  background: hsl(215 55% 25%);
  color: #fff;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  min-width: 54px; flex-shrink: 0;
}
.event-day { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1; }
.event-month { display: block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; margin-top: 2px; opacity: 0.7; }
.event-body { flex: 1; }
.event-body h4 { font-size: 0.92rem; font-weight: 700; color: hsl(215 55% 22%); margin-bottom: 3px; }
.event-body p {
  font-size: 0.78rem; color: hsl(215 15% 55%);
  display: flex; align-items: center; gap: 3px; flex-wrap: wrap;
}
.event-body svg { width: 12px; height: 12px; opacity: 0.4; }

@media (max-width: 768px) {
  .events-grid { grid-template-columns: 1fr; }
  .events-visual { order: -1; }
}

/* ======= GALLERY ======= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative; border-radius: 14px;
  overflow: hidden; cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item.lg { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(215 55% 10% / 0.75) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 14px;
  color: #fff; font-weight: 600; font-size: 0.85rem;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-cap { opacity: 1; }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ======= CTA ======= */
.cta-sec {
  background: hsl(215 55% 18%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-sec::before {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  background: hsl(42 92% 56% / 0.06);
  border-radius: 50%;
  top: -120px; right: -120px;
}
.cta-sec::after {
  content: ''; position: absolute;
  width: 250px; height: 250px;
  background: hsl(215 55% 40% / 0.08);
  border-radius: 50%;
  bottom: -80px; left: -80px;
}
.cta-inner {
  text-align: center; max-width: 560px;
  margin: 0 auto; position: relative; z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; color: #fff;
  margin-bottom: 12px;
}
.cta-inner p { color: hsl(0 0% 100% / 0.65); margin-bottom: 28px; line-height: 1.7; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ======= FOOTER ======= */
.site-footer {
  background: hsl(215 55% 10%);
  color: hsl(0 0% 100% / 0.6);
  padding-top: 56px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-about p { font-size: 0.82rem; line-height: 1.65; margin-bottom: 10px; }
.footer-about svg { width: 14px; height: 14px; opacity: 0.4; vertical-align: -2px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: hsl(0 0% 100% / 0.06);
  display: flex; align-items: center; justify-content: center;
  color: hsl(0 0% 100% / 0.6);
  transition: all 0.25s;
}
.footer-social a:hover { background: hsl(42 92% 56%); color: hsl(215 55% 12%); transform: translateY(-2px); }

.footer-links h4 {
  color: #fff; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  color: hsl(0 0% 100% / 0.5);
  text-decoration: none; font-size: 0.82rem;
  padding: 4px 0;
  transition: all 0.2s;
}
.footer-links a:hover { color: hsl(42 92% 60%); padding-left: 3px; }

.footer-bottom {
  border-top: 1px solid hsl(0 0% 100% / 0.06);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem;
}
.iso-badges { display: flex; gap: 8px; }
.iso-b {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem;
  padding: 4px 10px;
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 100px;
  color: hsl(0 0% 100% / 0.5);
  font-weight: 500;
}
.iso-b::before { content: '✓'; color: hsl(150 60% 50%); font-weight: 700; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: hsl(0 0% 100% / 0.4); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: hsl(42 92% 60%); }

/* ======= SMALL TABLET (≤ 900px) ======= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .usp-row { grid-template-columns: repeat(2, 1fr); }
  .achiev-grid { grid-template-columns: 1fr; }
  .achiev-visual { order: -1; }
  .float-3d { max-width: 200px; }
  .alumni-top { grid-template-columns: 1fr; }
  .testi-row { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .events-visual { order: -1; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .layanan-grid { grid-template-columns: repeat(3, 1fr); }
  .prodi-row { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 60px 0; }
  .sec-head { margin-bottom: 36px; }
}

/* ======= SMALL MOBILE (≤ 640px) ======= */
@media (max-width: 640px) {
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .layanan-grid > :last-child { grid-column: 1 / -1; }
  .usp-row { grid-template-columns: 1fr; }
  .testi-row { grid-template-columns: 1fr; }
  .prodi-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 50px 0; }
  .hero-cta { flex-direction: column; gap: 8px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 14px; border-radius: 14px; }
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ======= ANIMATIONS ======= */
.anim-up {
  opacity: 0;
  animation: animUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes animUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-up.d2 { animation-delay: 0.15s; }
.anim-up.d3 { animation-delay: 0.3s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======= SMALL MOBILE (≤ 480px) ======= */
@media (max-width: 480px) {
  .hero { padding-top: 80px; padding-bottom: 50px; min-height: auto; }
  .hero-text h1 { font-size: 1.6rem; margin-bottom: 10px; }
  .hero-text p { font-size: 0.85rem; line-height: 1.6; }
  .hero-chip { font-size: 0.68rem; padding: 4px 12px; }
  .hero-cta { flex-direction: column; gap: 8px; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 0; }
  .stat-card { padding: 10px 8px; }
  .stat-card strong { font-size: 1.2rem; }
  .stat-card span { font-size: 0.68rem; }
  .sec { padding: 50px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head p { font-size: 0.82rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-card { padding: 16px 12px; }
  .service-card h3 { font-size: 0.82rem; }
  .service-card p { font-size: 0.68rem; }
  .service-icon img { width: 44px; height: 44px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-img { aspect-ratio: 16/9; border-radius: 14px; }
  .news-grid { grid-template-columns: 1fr; }
  .alumni-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.lg { grid-column: span 1; aspect-ratio: 16/9; }
  .cta-sec { padding: 50px 0; }
  .cta-inner h2 { font-size: 1.3rem; }
  .cta-inner p { font-size: 0.85rem; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; text-align: center; justify-content: center; }
  .footer-top { gap: 20px; }
  .footer-bottom { gap: 8px; }
  .iso-badges { flex-wrap: wrap; gap: 6px; }
  .iso-b { font-size: 0.6rem; padding: 3px 8px; }
  .nav-brand { gap: 8px; }
  .nav-logo { width: 30px; height: 30px; }
  .nav-name { font-size: 0.85rem; }
  .nav-sub { font-size: 0.6rem; }
}

/* ======= TINY MOBILE (≤ 375px) ======= */
@media (max-width: 375px) {
  .hero { padding-top: 70px; padding-bottom: 40px; }
  .hero-text h1 { font-size: 1.35rem; }
  .hero-text p { font-size: 0.8rem; }
  .stats-row { grid-template-columns: 1fr 1fr; padding: 10px; }
  .stat-card strong { font-size: 1.05rem; }
  .stat-card span { font-size: 0.62rem; }
  .sec { padding: 40px 0; }
  .service-grid { gap: 8px; }
  .service-card { padding: 14px 10px; border-radius: 10px; }
  .service-icon img { width: 38px; height: 38px; }
  .service-card h3 { font-size: 0.76rem; }
  .footer-social a { width: 30px; height: 30px; }
}

