/* ============================================================
   STIBA Malang - Website Styles (v2.0 - Matched to HTML)
   Navy #1a3a5c | Gold #c9a227 | Fonts: Playfair + Poppins
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #1a3a5c;
  --navy-light: #2c5282;
  --navy-dark: #0d1f33;
  --gold: #c9a227;
  --gold-light: #e0b83d;
  --gold-dark: #a8831e;
  --text: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --bg: #f8fafc;
  --bg-cream: #faf8f5;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.13);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: all .3s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); line-height: 1.7; background: var(--white); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; color: var(--navy-dark); }
a { text-decoration: none; color: inherit; transition: var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font-sans); }
input, select, textarea { font-family: var(--font-sans); }

/* ---- Preloader ---- */
#preloader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-logo { width: 100px; height: 100px; margin: 0 auto 20px; animation: preloaderPulse 2s ease-in-out infinite; }
.preloader-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.preloader-text { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.preloader-subtext { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 32px; }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.preloader-fill { height: 100%; width: 0; background: var(--gold); border-radius: 2px; animation: preloaderFill 2s ease forwards; }
@keyframes preloaderPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
@keyframes preloaderFill { to { width: 100%; } }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(201,162,39,.12); color: var(--gold-dark);
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 16px;
  border: 1px solid rgba(201,162,39,.25);
}
.section-header h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 16px; }
.section-header p { color: var(--text-mid); font-size: 16px; max-width: 580px; margin: 0 auto; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--navy-dark); line-height: 1.2; }
.logo-subtitle { font-size: 10px; color: var(--text-light); letter-spacing: .5px; }

.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; font-size: 13.5px; font-weight: 500;
  color: var(--text-mid); border-radius: var(--radius);
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: rgba(26,58,92,.06); }
.dropdown-arrow { font-size: 10px; transition: transform .3s; }
.nav-item:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 8px;
  min-width: 220px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s ease; z-index: 100;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-link { display: block; padding: 9px 14px; font-size: 13.5px; color: var(--text-mid); border-radius: var(--radius); }
.dropdown-link:hover, .dropdown-link.active { background: rgba(26,58,92,.06); color: var(--navy); }

.nav-cta { flex-shrink: 0; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; cursor: pointer; background: none; border: none; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--ease); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--ease); border: 2px solid transparent;
  font-family: var(--font-sans); white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.35); }
.btn-secondary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-lg { padding: 14px 34px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 12.5px; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1e4976 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-block; background: rgba(201,162,39,.18); color: var(--gold-light);
  border: 1px solid rgba(201,162,39,.35); padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero-text h1 { font-size: clamp(30px, 4.5vw, 56px); color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.hero-text h1 span { color: var(--gold); }
.hero-text p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 36px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-img-wrapper { position: relative; width: 100%; }
.hero-img-wrapper img { width: 100%; max-width: 480px; filter: drop-shadow(0 20px 60px rgba(0,0,0,.4)); margin: 0 auto; }
.hero-badge-float {
  position: absolute; bottom: 24px; right: 0;
  background: var(--white); border-radius: var(--radius-lg); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
}
.badge-number { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1; }
.badge-label { font-size: 11px; color: var(--text-mid); line-height: 1.4; }

/* ---- About ---- */
.about { background: var(--bg-cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-text .lead { font-size: 17px; color: var(--navy); font-weight: 500; margin-bottom: 16px; line-height: 1.7; }
.about-text p { color: var(--text-mid); margin-bottom: 14px; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--ease); }
.feature-item:hover { border-color: rgba(201,162,39,.4); box-shadow: var(--shadow-sm); }
.feature-icon { width: 42px; height: 42px; background: rgba(201,162,39,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature-content h4 { font-size: 14px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 3px; color: var(--navy-dark); }
.feature-content p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ---- Programs ---- */
.programs { background: var(--bg); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.program-card { background: var(--white); border-radius: var(--radius-xl); padding: 32px 28px; border: 1px solid var(--border); transition: var(--ease); position: relative; overflow: hidden; }
.program-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--border); }
.program-card.featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase; }
.badge-active { background: rgba(45,106,79,.1); color: #2d6a4f; }
.badge-soon { background: rgba(201,162,39,.1); color: var(--gold-dark); }
.program-icon { font-size: 40px; margin-bottom: 18px; }
.program-card h3 { font-size: 21px; margin-bottom: 12px; }
.program-card > p { color: var(--text-mid); font-size: 14px; margin-bottom: 18px; }
.program-features { margin-bottom: 24px; }
.program-features li { font-size: 13px; color: var(--text-mid); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.program-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ---- Facilities ---- */
.facilities { background: var(--navy-dark); }
.facilities .section-tag { background: rgba(201,162,39,.15); color: var(--gold); }
.facilities .section-header h2 { color: var(--white); }
.facilities .section-header p { color: rgba(255,255,255,.6); }
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.facility-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); overflow: hidden; transition: var(--ease); }
.facility-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(201,162,39,.4); }
.facility-card img { width: 100%; height: 170px; object-fit: cover; }
.facility-content { padding: 18px; }
.facility-content h4 { color: var(--white); font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.facility-content p { color: rgba(255,255,255,.55); font-size: 13px; }

/* ---- News ---- */
.news { background: var(--bg-cream); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); overflow: hidden; transition: var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 200px; overflow: hidden; background: var(--bg); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 22px; }
.news-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; }
.news-card-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.news-card-body h3 a:hover { color: var(--navy); }
.news-card-body p { font-size: 13.5px; color: var(--text-mid); margin-bottom: 14px; }
.news-meta { font-size: 12px; color: var(--text-light); }

/* ---- CTA ---- */
.cta-section { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: clamp(26px, 4vw, 42px); color: var(--navy-dark); margin-bottom: 14px; }
.cta-section p { font-size: 17px; color: rgba(13,31,51,.72); margin-bottom: 32px; }

/* ---- Contact ---- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: rgba(26,58,92,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); }
.contact-item h4 { font-size: 13px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--text-mid); }
.contact-item a:hover { color: var(--navy); }
.map-embed { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 120px 0 70px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 50px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.35); }
.page-hero h1 { color: var(--white); font-size: clamp(26px, 4vw, 46px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 15px; }

/* ---- Content Section ---- */
.content-section { padding: 60px 0 100px; background: var(--bg); }
.content-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-menu { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); overflow: hidden; }
.sidebar-menu h4 { padding: 16px 22px; background: var(--navy); color: var(--white); font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.sidebar-menu ul li a { display: block; padding: 11px 22px; font-size: 13.5px; color: var(--text-mid); border-bottom: 1px solid var(--border); transition: var(--ease); }
.sidebar-menu ul li:last-child a { border-bottom: none; }
.sidebar-menu ul li a:hover, .sidebar-menu ul li a.active { background: rgba(26,58,92,.05); color: var(--navy); }
.sidebar-menu ul li a.active { font-weight: 600; border-left: 3px solid var(--gold); padding-left: 19px; }
.main-content { background: var(--white); border-radius: var(--radius-xl); padding: 44px; border: 1px solid var(--border); }
.main-content h2 { font-size: 26px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.main-content p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.85; }
.main-content h3 { font-size: 19px; margin: 26px 0 12px; color: var(--navy); }
.main-content ul, .main-content ol { padding-left: 24px; margin-bottom: 16px; }
.main-content li { color: var(--text-mid); margin-bottom: 8px; line-height: 1.75; }
.main-content a { color: var(--navy); border-bottom: 1px dashed var(--navy); }
.main-content a:hover { color: var(--gold-dark); }

/* Sambutan */
.sambutan-wrapper { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.sambutan-photo { text-align: center; }
.sambutan-photo img { width: 180px; height: 220px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: 10px; }
.sambutan-photo .caption { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.sambutan-content h3 { font-size: 17px; color: var(--navy); margin-bottom: 14px; font-family: var(--font-sans); font-weight: 600; }
.sambutan-content .ttd { margin-top: 24px; padding: 14px 18px; background: var(--bg); border-left: 3px solid var(--gold); border-radius: var(--radius); }

/* Timeline */
.timeline-content .lead { margin-bottom: 32px; }
.timeline { position: relative; padding: 8px 0; }
.timeline::before { content: ''; position: absolute; left: 76px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--navy)); }
.timeline-item { display: grid; grid-template-columns: 76px 1fr; gap: 28px; margin-bottom: 28px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 70px; top: 8px; width: 13px; height: 13px; background: var(--gold); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 3px rgba(201,162,39,.25); z-index: 1; }
.timeline-year { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--gold-dark); padding-top: 4px; text-align: right; padding-right: 14px; }
.timeline-body { background: var(--bg); border-radius: var(--radius-lg); padding: 18px 20px; border: 1px solid var(--border); }
.timeline-body h4 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.timeline-body p { font-size: 13.5px; color: var(--text-mid); margin: 0; }

/* Visi Misi */
.visi-misi-wrapper { display: flex; flex-direction: column; gap: 28px; }
.visi-box { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: var(--white); border-radius: var(--radius-xl); padding: 40px; text-align: center; }
.visi-icon { font-size: 44px; margin-bottom: 14px; }
.visi-box h3 { color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-sans); font-weight: 700; }
.visi-box p { font-size: 18px; font-family: var(--font-serif); font-style: italic; color: var(--white); line-height: 1.6; }
.misi-box, .tujuan-box { background: var(--white); border-radius: var(--radius-xl); padding: 32px; border: 1px solid var(--border); }
.misi-box h3, .tujuan-box h3 { color: var(--navy); font-size: 20px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.misi-box ol, .tujuan-box ol { padding-left: 20px; }
.misi-box li, .tujuan-box li { margin-bottom: 12px; color: var(--text-mid); line-height: 1.7; }

/* ---- PMB Register ---- */
.register-section { background: var(--bg); padding: 60px 0 100px; }
.register-wrapper { max-width: 820px; margin: 0 auto; }
.progress-bar-wrapper { margin-bottom: 44px; }
.progress-steps {
  display: flex; justify-content: space-between; position: relative;
  padding: 0 20px;
}
.progress-steps::before { content: ''; position: absolute; top: 19px; left: 60px; right: 60px; height: 2px; background: var(--border); z-index: 0; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 1; }
.step-circle { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--text-light); transition: var(--ease); }
.progress-step.active .step-circle { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.progress-step.done .step-circle { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step-label { font-size: 11.5px; color: var(--text-light); font-weight: 500; white-space: nowrap; }
.progress-step.active .step-label, .progress-step.done .step-label { color: var(--navy); font-weight: 600; }
.form-panel { background: var(--white); border-radius: var(--radius-xl); padding: 44px; border: 1px solid var(--border); }
.form-title { font-size: 22px; margin-bottom: 6px; }
.form-subtitle { color: var(--text-mid); margin-bottom: 32px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label, .form-label { font-size: 13px; font-weight: 600; color: var(--navy-dark); display: block; margin-bottom: 6px; }
.form-group label .required { color: #e53e3e; margin-left: 2px; }
.form-control {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: var(--font-sans);
  border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--text);
  background: var(--white); transition: var(--ease); outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,92,.1); }
.form-control::placeholder { color: var(--text-light); }
.form-actions { display: flex; gap: 14px; justify-content: flex-end; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.prodi-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.prodi-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 18px 22px; cursor: pointer; transition: var(--ease); display: flex; align-items: center; gap: 14px; }
.prodi-card.selected, .prodi-card:hover { border-color: var(--gold); background: rgba(201,162,39,.03); }
.prodi-card input[type="radio"] { width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; }
.prodi-card-info h4 { font-size: 15px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 3px; }
.prodi-card-info p { font-size: 12.5px; color: var(--text-mid); }
.success-panel { text-align: center; padding: 56px 44px; }
.success-icon { font-size: 68px; margin-bottom: 20px; }
.success-panel h2 { color: var(--navy); margin-bottom: 10px; }
.no-reg { font-size: 26px; font-weight: 700; color: var(--gold-dark); font-family: var(--font-sans); letter-spacing: 2px; margin: 16px auto; background: var(--bg); padding: 12px 24px; border-radius: var(--radius); border: 2px dashed var(--gold); display: inline-block; }

/* ---- Biaya Table ---- */
.biaya-table-wrapper { overflow-x: auto; }
.biaya-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.biaya-table th { background: var(--navy); color: var(--white); padding: 13px 18px; text-align: left; font-size: 13px; font-weight: 600; }
.biaya-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-mid); }
.biaya-table tr:last-child td { border-bottom: none; }
.biaya-table tr:hover td { background: rgba(26,58,92,.025); }
.biaya-table td:last-child { font-weight: 600; color: var(--navy); }
.biaya-note { background: rgba(201,162,39,.07); border: 1px solid rgba(201,162,39,.25); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); padding: 18px 22px; font-size: 14px; color: var(--text-mid); }
.biaya-note strong { color: var(--gold-dark); }

/* ---- Jadwal ---- */
.jadwal-table { width: 100%; border-collapse: collapse; }
.jadwal-table th { background: var(--navy); color: var(--white); padding: 13px 18px; text-align: left; font-size: 13px; font-weight: 600; }
.jadwal-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-mid); }
.jadwal-table tr:hover td { background: var(--bg); }
.badge-gelombang { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.badge-1 { background: rgba(45,106,79,.1); color: #2d6a4f; }
.badge-2 { background: rgba(26,58,92,.1); color: var(--navy); }
.badge-3 { background: rgba(201,162,39,.1); color: var(--gold-dark); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--ease); }
.faq-item.open { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--navy-dark); gap: 14px; text-align: left; background: none; width: 100%; }
.faq-icon { width: 26px; height: 26px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--ease); font-size: 18px; line-height: 1; }
.faq-item.open .faq-icon { background: var(--navy); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; padding: 16px 22px 20px; font-size: 14px; color: var(--text-mid); line-height: 1.8; border-top: 1px solid var(--border); }
.faq-answer strong { color: var(--navy); }

/* ---- Berita ---- */
.article-content { line-height: 1.9; }
.article-content p { margin-bottom: 18px; color: var(--text-mid); }
.article-content h2 { margin: 30px 0 14px; }
.article-content img { border-radius: var(--radius-lg); margin: 22px 0; }
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.article-meta span { font-size: 13px; color: var(--text-light); }

/* ---- Admin CMS ---- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 256px; flex-shrink: 0; background: var(--navy-dark); color: var(--white);
  display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0;
  z-index: 100; overflow-y: auto;
  transition: transform 0.3s ease;
}
.admin-sidebar-logo { padding: 22px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 12px; }
.admin-sidebar-logo img { width: 34px; height: 34px; object-fit: contain; }
.admin-sidebar-logo span { font-family: var(--font-serif); font-size: 16px; font-weight: 700; }
.admin-nav { padding: 14px 0; flex: 1; }
.admin-nav-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); padding: 14px 22px 6px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 22px; font-size: 13.5px; color: rgba(255,255,255,.65); transition: var(--ease); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: var(--white); border-right: 3px solid var(--gold); }
.admin-main { margin-left: 256px; flex: 1; min-height: 100vh; background: #eef2f7; display: flex; flex-direction: column; }
.admin-topbar { background: var(--white); padding: 0 28px; height: 62px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.admin-topbar h1 { font-size: 19px; font-family: var(--font-sans); font-weight: 600; color: var(--navy-dark); }
.admin-topbar-right { display: flex; align-items: center; gap: 14px; }
.admin-content { padding: 28px; flex: 1; }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy-dark); }
.mobile-menu-toggle:hover { color: var(--gold); }

.admin-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 26px; margin-bottom: 22px; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.admin-card-header h2 { font-size: 17px; font-family: var(--font-sans); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 50px; height: 50px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-card h3 { font-size: 26px; font-family: var(--font-sans); font-weight: 700; margin-bottom: 3px; }
.stat-card p { font-size: 12.5px; color: var(--text-light); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { padding: 11px 14px; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-light); border-bottom: 2px solid var(--border); }
.admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: .3px; }
.badge-success { background: rgba(45,106,79,.1); color: #2d6a4f; }
.badge-warning { background: rgba(201,162,39,.1); color: var(--gold-dark); }
.badge-danger { background: rgba(229,62,62,.1); color: #e53e3e; }
.badge-info { background: rgba(26,58,92,.1); color: var(--navy); }
.form-admin { display: flex; flex-direction: column; gap: 0; }
.admin-editor { min-height: 280px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-sans); font-size: 13.5px; padding: 14px; width: 100%; resize: vertical; outline: none; transition: var(--ease); }
.admin-editor:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,92,.1); }
.alert { padding: 13px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 18px; }
.alert-success { background: rgba(45,106,79,.1); border: 1px solid rgba(45,106,79,.3); color: #2d6a4f; }
.alert-error { background: rgba(229,62,62,.1); border: 1px solid rgba(229,62,62,.3); color: #e53e3e; }
.alert-info { background: rgba(26,58,92,.1); border: 1px solid rgba(26,58,92,.3); color: var(--navy); }

/* ---- Login ---- */
.login-card { background: var(--white); border-radius: var(--radius-xl); padding: 44px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 12px; }
.login-logo h1 { font-size: 22px; color: var(--navy-dark); margin-bottom: 4px; }
.login-logo p { font-size: 13px; color: var(--text-light); }

/* ---- Footer ---- */
.footer { background: var(--navy-dark); position: relative; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; display: block; }
.footer-body { padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .footer-logo img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand .footer-logo span { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--white); }
.footer-brand > p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; transition: var(--ease); }
.social-btn:hover { background: var(--gold); color: var(--navy-dark); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-family: var(--font-sans); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: var(--ease); }
.footer-col ul li a:hover { color: var(--white); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 12px; }
.contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.contact-list li a { color: rgba(255,255,255,.5); }
.contact-list li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Scroll Top ---- */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--ease); z-index: 500;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); transform: translateY(-3px); }

/* ---- AOS Animations ---- */
[data-aos] { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(26px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(-26px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.lead { font-size: 17px; color: var(--navy); font-weight: 500; line-height: 1.7; }
.info-box { background: rgba(26,58,92,.05); border: 1px solid rgba(26,58,92,.12); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 18px 22px; margin: 18px 0; font-size: 14px; color: var(--text-mid); }
.mt-4 { margin-top: 16px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-8 { margin-bottom: 32px; }

/* ============================================================
   PMB DAFTAR LAYOUT
   ============================================================ */
.pmb-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; max-width: 1100px; margin: 0 auto; }
.pmb-sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.pmb-sidebar-sticky { position: sticky; top: 90px; }
.pmb-sidebar-box + .pmb-sidebar-box { margin-top: 20px; }

/* ============================================================
   LAMBANG LAYOUT
   ============================================================ */
.lambang-grid { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; margin: 24px 0; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .pmb-layout { grid-template-columns: 1fr; }
  .pmb-sidebar-box { position: static; }
  .pmb-sidebar-sticky { position: static; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sambutan-wrapper { grid-template-columns: 1fr; }
  .sambutan-photo { display: flex; align-items: center; gap: 20px; text-align: left; }
  .sambutan-photo img { width: 120px; height: 150px; }
}

@media (max-width: 768px) {
  .nav-container { flex-wrap: nowrap; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); display: none; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-link { justify-content: space-between; padding: 12px 10px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg); padding: 4px 0 4px 14px; display: none; border-radius: 0; min-width: auto; }
  .nav-item.open .dropdown-menu { display: block; }
  /* nav-cta: selalu tampil di mobile, compact */
  .nav-cta { display: flex; align-items: center; margin-left: auto; }
  .nav-cta .btn { padding: 8px 16px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
  /* hamburger di paling kanan setelah nav-cta */
  .mobile-toggle { display: flex; margin-left: 8px; }
  .section { padding: 56px 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lambang-grid { grid-template-columns: 1fr; text-align: center; }
  .lambang-grid img { margin: 0 auto; }
  .main-content { padding: 24px 18px; }
  .form-panel { padding: 24px 18px; }
  
  /* Admin Mobile - Sidebar hidden by default */
  .admin-layout { 
    display: block; 
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .admin-sidebar { 
    display: flex !important;
    transform: translateX(-100%);
    position: fixed !important;
    z-index: 200;
    width: 280px !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
  }
  .admin-sidebar.active { transform: translateX(0); }
  .sidebar-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 199; }
  .sidebar-overlay.active { display: block; }
  .admin-main { 
    margin-left: 0 !important; 
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 100vw;
  }
  .admin-topbar {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .admin-topbar > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .admin-content {
    padding: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .mobile-menu-toggle { display: flex !important; align-items: center; justify-content: center; }
  .sidebar-close-btn { display: block !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .progress-steps { gap: 0; }
  .step-label { font-size: 10px; }
  .timeline::before { left: 46px; }
  .timeline-item { grid-template-columns: 46px 1fr; gap: 16px; }
  .timeline-item::before { left: 40px; }
  .timeline-year { font-size: 14px; }
  .hero-inner { padding: 60px 20px; }
  /* contact responsive */
  .contact-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .map-embed iframe { height: 280px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 12px; }
  .logo-subtitle { display: none; }
  .hero-text h1 { font-size: 26px; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 24px; }
  .facilities-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-body { padding: 36px 0 20px; }
  .admin-content { padding: 14px; width: 100%; margin: 0; box-sizing: border-box; }
  .admin-main { margin-left: 0 !important; width: 100% !important; }
  .admin-layout { width: 100%; overflow-x: hidden; }
  .success-panel { padding: 28px 14px; }
  .footer-grid { gap: 24px; }
  .section-header { margin-bottom: 36px; }
}
