/* =============================================
   PMB S2 Kesmas - Main CSS
   ============================================= */

:root {
  --primary: #1a6f9c;
  --primary-dark: #0d4f74;
  --primary-light: #3a9fd1;
  --secondary: #2ecc8a;
  --secondary-dark: #1fa870;
  --accent: #f59e0b;
  --danger: #ef4444;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --navbar-h: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: var(--navbar-h);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--navbar-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
  transition: transform 0.3s ease;
}

.nav-brand:hover .logo-img {
  transform: scale(1.08);
}

.logo-img-sm {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.4rem;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-top {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--text);
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary);
  color: white;
}

.nav-btn {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
  color: white !important;
  font-weight: 600;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(46, 204, 138, 0.35);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 100;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text);
  transition: all 0.15s;
}

.dropdown-menu li a:hover {
  background: var(--bg);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0d4f74 0%, #1a6f9c 40%, #2ecc8a 100%);
}

.hero-bg::after {
  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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%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/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 4rem 0;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.78rem;
  opacity: 0.8;
  font-weight: 500;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 138, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
  color: white;
}

.mt-2 {
  margin-top: 0.5rem;
}

/* ---- SECTIONS ---- */
.section {
  padding: 5rem 0;
}

.bg-light {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- PENGUMUMAN ---- */
.pengumuman-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card-pengumuman {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.card-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 5rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 6rem 0 3rem;
  margin-top: var(--navbar-h);
}

.page-hero-sm {
  padding: 4.5rem 0 2rem;
}

.page-title {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: white;
}

/* ---- CONTENT LAYOUT ---- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card,
.sidebar-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-card h2,
.info-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.info-card p {
  color: var(--text-muted);
}

.info-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(26, 111, 156, 0.1);
  color: var(--primary);
}

.badge-success {
  background: rgba(46, 204, 138, 0.12);
  color: var(--secondary-dark);
}

.badge-info {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-list a {
  color: var(--primary);
}

.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.sidebar-nav-list a:hover {
  background: var(--bg);
  color: var(--primary);
}

.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.cta-card h3 {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

.whitespace-pre {
  white-space: pre-line;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* ---- VISI MISI ---- */
.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.vm-visi {
  border-top: 4px solid var(--primary);
}

.vm-misi {
  border-top: 4px solid var(--secondary);
}

.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vm-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.tujuan-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.tujuan-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ---- KURIKULUM ---- */
.kurikulum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.kurikulum-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.kurikulum-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kurikulum-num {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kurikulum-header h3 {
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.kurikulum-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.kurikulum-body ul {
  padding-left: 1.25rem;
}

.kurikulum-body li {
  margin-bottom: 0.35rem;
}

/* ---- DOSEN ---- */
.dosen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.dosen-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
  padding: 2rem 1.5rem;
}

.dosen-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.dosen-avatar {
  margin: 0 auto 1.25rem;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary);
}

.dosen-avatar-placeholder {
  font-size: 2.5rem;
}

.dosen-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dosen-nama {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.dosen-jabatan {
  display: inline-block;
  background: rgba(26, 111, 156, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.dosen-pendidikan {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.dosen-keahlian {
  display: inline-block;
  background: rgba(46, 204, 138, 0.1);
  color: var(--secondary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

/* ---- FASILITAS ---- */
.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.fasilitas-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
}

.fasilitas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fasilitas-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.fasilitas-body {
  padding: 1.5rem;
}

.fasilitas-body h3 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ---- PROSEDUR ---- */
.prosedur-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
}

.prosedur-content ul,
.prosedur-content ol {
  padding-left: 1.5rem;
}

.prosedur-content li {
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ---- FORM ---- */
.form-container {
  max-width: 900px;
  margin: 0 auto;
}

.form-pendaftaran {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-section {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-control {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  background: white;
  color: var(--text);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 111, 156, 0.12);
}

.required {
  color: var(--danger);
}

.form-submit-area {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.form-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* ---- SUCCESS PAGE ---- */
.success-card {
  background: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.no-pendaftaran-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.no-pendaftaran-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.no-pendaftaran-value {
  display: block;
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.next-steps {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.next-steps h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.next-steps ol {
  padding-left: 1.25rem;
}

.next-steps li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CEK STATUS ---- */
.cek-status-container {
  max-width: 700px;
  margin: 0 auto;
}

.status-result {
  margin-top: 2rem;
}

.status-result h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.status-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.status-no {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.status-nama {
  font-size: 1.3rem;
  font-weight: 800;
}

.status-badge {
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-Baru {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-Direview {
  background: #fef3c7;
  color: #92400e;
}

.status-Diterima {
  background: #d1fae5;
  color: #065f46;
}

.status-Ditolak {
  background: #fee2e2;
  color: #991b1b;
}

.status-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-info-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.info-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-val {
  font-size: 0.93rem;
  font-weight: 600;
}

.catatan-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* ---- FOOTER ---- */
.footer {
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-admin-link {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-admin-link:hover {
  color: white;
}

/* ---- CAROUSEL ---- */
.carousel-section {
  position: relative;
  width: 100%;
  background: #0d1b2a;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72);
  transition: transform 8s ease;
}

.carousel-slide.active .carousel-img {
  transform: scale(1.05);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.2) 60%, transparent 100%);
}

.carousel-caption {
  padding: 3rem 4rem;
  color: white;
  max-width: 680px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.3s;
}

.carousel-slide.active .carousel-caption {
  transform: translateY(0);
  opacity: 1;
}

.carousel-tag {
  display: inline-block;
  background: var(--secondary);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.carousel-caption h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
  font-size: 0.95rem;
  opacity: 0.88;
  line-height: 1.65;
  max-width: 520px;
}

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 1.5rem;
}

.carousel-next {
  right: 1.5rem;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--secondary);
  width: 28px;
  border-radius: 5px;
}


.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

/* ---- BERITA LIST ---- */
.berita-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.berita-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: all 0.3s;
}

.berita-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.berita-img-link {
  display: block;
  overflow: hidden;
}

.berita-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.4s;
}

.berita-card:hover .berita-img {
  transform: scale(1.04);
}

.berita-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg), var(--border));
  font-size: 3rem;
  min-height: 200px;
}

.berita-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.berita-kategori {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  width: fit-content;
}

.berita-kategori-berita {
  background: rgba(26, 111, 156, 0.1);
  color: var(--primary);
}

.berita-kategori-pengumuman {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.berita-judul {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.berita-judul a {
  color: var(--text);
  transition: color 0.2s;
}

.berita-judul a:hover {
  color: var(--primary);
}

.berita-tanggal {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.berita-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.berita-excerpt p,
.berita-excerpt ul,
.berita-excerpt h4 {
  margin: 0;
}

.btn-baca {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  transition: gap 0.2s;
}

.btn-baca:hover {
  color: var(--primary-dark);
}

/* ---- BERITA DETAIL ---- */
.artikel-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.artikel-main {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.artikel-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.artikel-body {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text);
}

.artikel-body h2,
.artikel-body h3,
.artikel-body h4 {
  margin: 1.5rem 0 0.5rem;
  color: var(--primary-dark);
}

.artikel-body p {
  margin-bottom: 1rem;
}

.artikel-body ul,
.artikel-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.artikel-body li {
  margin-bottom: 0.4rem;
}

.artikel-body strong {
  color: var(--text);
}

.artikel-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}

.berita-sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.berita-sidebar-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.berita-sidebar-item:hover {
  background: var(--bg);
}

.berita-sidebar-kategori {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.berita-sidebar-judul {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.berita-sidebar-tgl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .content-grid,
  .visi-misi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .status-info-grid {
    grid-template-columns: 1fr;
  }

  .berita-card {
    grid-template-columns: 1fr;
  }

  .berita-img {
    min-height: 160px;
  }

  .section {
    padding: 3rem 0;
  }
}