/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: 'Open Sans', Arial, sans-serif; color: #333; background: #fff; }
a { color: #8B0000; }
a:hover { color: #5c0000; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== TOP BAR ===== */
#tb {
  background: #1a1a1a;
  padding: 6px 0;
  font-size: 12px;
}
#tb ul { margin: 0; padding: 0; list-style: none; }
#tb ul li { display: inline-block; }
#tb ul li + li::before { content: '|'; color: #555; margin: 0 6px; }
#tb ul li a { color: #aaa; text-decoration: none; }
#tb ul li a:hover { color: #FFD700; }

/* ===== SITE HEADER ===== */
.site-header.nav-stie {
  background: linear-gradient(135deg, #0d3b66 0%, #1b4965 100%);
  position: relative;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: all .3s ease;
}
.site-header.nav-stie.sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  box-shadow: 0 3px 16px rgba(0,0,0,.3);
}
/* Header inner layout */
.site-header.nav-stie .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Logo */
.site-header .logo { margin: 0; line-height: 0; }
.site-header .logo a { display: block; padding: 10px 0; }
.site-header .logo img { height: 60px; width: auto; }
.site-header .logo2 { display: none; }

/* Mobile toggle */
.mmenu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  margin-left: auto;
}
.mmenu-toggle:hover { background: rgba(255,255,255,.1); }

/* Main nav */
nav.main-menu { display: block; }
.sf-menu { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.sf-menu > li { position: relative; }
.sf-menu > li > a {
  display: block;
  padding: 22px 14px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s, background .2s;
}
.sf-menu > li > a:hover,
.sf-menu > li.active > a {
  color: #FFD700;
  background: rgba(255,255,255,.07);
}
.sf-menu > li.active > a {
  border-bottom: 3px solid #FFD700;
}

/* Dropdown */
.sf-menu .dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #0d3b66;
  min-width: 190px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 9999;
  border-top: 3px solid #FFD700;
}
.sf-menu > li:hover .dropdown { display: block; }
.sf-menu .dropdown li a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sf-menu .dropdown li a:hover { background: rgba(255,255,255,.1); color: #FFD700; }

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; background: #0d3b66; padding: 10px 0; }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu ul li a {
  display: block; padding: 10px 20px;
  color: rgba(255,255,255,.85); font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Sticky offset for page content */
body.sticky-active { padding-top: 80px; }

/* ===== FOOTER ===== */
.site-footer-top {
  background: #111;
  color: #aaa;
}
.footer-top { padding: 50px 0 30px; }
.footer-widget h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FFD700;
}
.footer-logo img { max-height: 60px; margin-bottom: 14px; }
.social-icons-bar { display: flex; gap: 8px; margin-top: 8px; }
.social-icons-bar li a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  color: #aaa;
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.social-icons-bar li a:hover { background: #FFD700; color: #222; }
.footer-bottom {
  background: #0a0a0a;
  text-align: center;
  padding: 14px 0;
  font-size: 12px;
  color: #666;
}
#back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #8B0000;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  z-index: 9998;
}
#back-to-top:hover { background: #5c0000; color: #fff; }

/* ===== MAIN WRAPPER ===== */
.main { min-height: 400px; }

/* ===== MPO HERO ===== */
.mpo-hero {
  background: linear-gradient(135deg, #0d3b66 0%, #1b4965 40%, #8B0000 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}
.mpo-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,215,0,.07) 0%, transparent 60%);
  pointer-events: none;
}
.mpo-hero .badge-mpo {
  display: inline-block;
  background: rgba(255,215,0,.15);
  border: 1px solid rgba(255,215,0,.4);
  color: #FFD700;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.mpo-hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.mpo-hero p {
  font-size: 16px;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.btn-hero-primary {
  background: #FFD700;
  color: #0d3b66 !important;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 4px;
  font-size: 14px;
  border: none;
  margin: 4px 6px;
  text-decoration: none !important;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-hero-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.6);
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 4px;
  font-size: 14px;
  margin: 4px 6px;
  text-decoration: none !important;
  display: inline-block;
  transition: background .2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.15); }
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #FFD700;
}
.hero-stat span { font-size: 12px; opacity: .75; }

/* ===== SECTION COMMON ===== */
.mpo-section { padding: 60px 0; }
.mpo-section-alt { background: #f5f5f5; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 28px; font-weight: 800; color: #222; margin: 0 0 8px; }
.section-head p { font-size: 14px; color: #666; max-width: 550px; margin: 0 auto; }
.section-head .line {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, #8B0000, #FFD700);
  border-radius: 2px;
  margin: 0 auto 10px;
}

/* ===== ABOUT ===== */
.about-text h3 { font-size: 22px; font-weight: 800; color: #0d3b66; margin: 0 0 12px; }
.about-text p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.vm-box {
  background: linear-gradient(135deg, #0d3b66, #1b4965);
  color: #fff;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
}
.vm-box h4 { color: #FFD700; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.vm-box p { font-size: 13px; opacity: .9; margin: 0; line-height: 1.7; }

/* ===== STRUKTUR ===== */
.struktur-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(0,0,0,.08);
  text-align: center;
  padding: 28px 20px 22px;
  margin-bottom: 20px;
  border-top: 4px solid #8B0000;
  transition: transform .2s, box-shadow .2s;
}
.struktur-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.struktur-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d3b66, #1b4965);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px; color: #FFD700;
}
.struktur-card .jabatan { font-size: 11px; font-weight: 700; color: #8B0000; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.struktur-card .nama { font-size: 15px; font-weight: 700; color: #222; }
.struktur-card .prodi { font-size: 12px; color: #888; margin-top: 2px; }

/* ===== ORGANISASI ===== */
.org-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,.07);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.org-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.11); }
.org-icon {
  width: 54px; height: 54px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
}
.org-info h4 { font-size: 15px; font-weight: 700; color: #222; margin: 0 0 4px; }
.org-info p { font-size: 12px; color: #777; margin: 0; line-height: 1.5; }
.org-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 2px 9px; border-radius: 10px;
  text-transform: uppercase; margin-top: 6px;
}
.tag-bem { background: #e3f0ff; color: #0056b3; }
.tag-hmj { background: #f3e5f5; color: #6a1b9a; }
.tag-ukm { background: #e8f5e9; color: #2e7d32; }

/* ===== PROGRAM KERJA ===== */
.proker-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  border-left: 4px solid #0d3b66;
  transition: border-color .2s, transform .2s;
}
.proker-card:hover { border-color: #FFD700; transform: translateX(3px); }
.proker-card .pk-num { font-size: 11px; font-weight: 700; color: #8B0000; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.proker-card h4 { font-size: 15px; font-weight: 700; color: #0d3b66; margin: 0 0 8px; }
.proker-card p { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }
.proker-card .pk-period { font-size: 11px; color: #888; margin-top: 10px; }

/* ===== KEGIATAN ===== */
.kegiatan-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  overflow: hidden;
  margin-bottom: 22px;
  transition: box-shadow .2s;
}
.kegiatan-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.12); }
.kegiatan-thumb {
  height: 155px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(255,255,255,.7);
}
.kegiatan-body { padding: 16px 18px; }
.kegiatan-cat {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 2px 10px; border-radius: 10px; margin-bottom: 8px; display: inline-block;
}
.kegiatan-body h4 { font-size: 14px; font-weight: 700; color: #222; margin: 0 0 6px; line-height: 1.4; }
.kegiatan-body p { font-size: 12px; color: #777; margin: 0 0 10px; }
.kegiatan-meta { font-size: 11px; color: #aaa; display: flex; justify-content: space-between; align-items: center; }
.kegiatan-meta a { color: #0d3b66; text-decoration: none; font-weight: 600; font-size: 12px; }

/* ===== CTA ===== */
.mpo-cta {
  background: linear-gradient(135deg, #0d3b66, #1b4965);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.mpo-cta h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 10px; }
.mpo-cta p { opacity: .85; font-size: 15px; margin: 0 auto 24px; max-width: 500px; }
.btn-cta {
  background: #FFD700; color: #0d3b66 !important;
  font-weight: 700; padding: 13px 32px;
  border-radius: 4px; font-size: 14px;
  text-decoration: none !important; display: inline-block;
  margin: 4px 6px; transition: transform .2s;
}
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta-ghost {
  background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,.5);
  font-weight: 600; padding: 11px 30px;
  border-radius: 4px; font-size: 14px;
  text-decoration: none !important; display: inline-block;
  margin: 4px 6px;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  nav.main-menu { display: none; }
  .mmenu-toggle { display: block; }
  .site-header.nav-stie .header-inner { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .mpo-hero { padding: 50px 0 40px; }
  .mpo-hero h1 { font-size: 26px; }
  .hero-stats { gap: 20px; }
  .mpo-section { padding: 40px 0; }
  .section-head h2 { font-size: 22px; }
  .org-card { flex-direction: column; }
}
