/* ==========================================================================
   FAKULTAS HUKUM UNIVERSITAS BENGKULU (FH UNIB) - DESIGN SYSTEM
   Inspirasi: law.uii.ac.id | Elevated Red & Gold Institutional Academic Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  /* Official FH UNIB Academic Red Colorway */
  --primary: #8B0000;
  --primary-hover: #730000;
  --primary-dark: #550000;
  --primary-deep: #3b0000;
  --primary-crimson: #a61c1c;
  --primary-light: #fff1f2;
  --primary-subtle: #ffe4e6;
  
  /* Prestigious Royal Gold Accents */
  --gold: #c59b27;
  --gold-hover: #ab851e;
  --gold-light: #fef8eb;
  --gold-border: #e6cb7a;
  
  /* Neutral Slate Palette */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --shadow-red: 0 10px 30px rgba(139, 0, 0, 0.25);
  --shadow-gold: 0 8px 25px rgba(197, 155, 39, 0.3);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.15s ease;
  --trans-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--trans-normal);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

.container-fluid {
  width: 100%;
  padding: 0 2rem;
}

/* ==========================================================================
   TOP BAR (University & Quick Access Navigation)
   ========================================================================== */
.top-bar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}

.top-bar .container,
.site-header .container,
.main-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.top-bar .container {
  min-height: 40px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.top-bar-links a {
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.top-bar-links a:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-socials a {
  color: var(--slate-400);
  font-size: 0.875rem;
}

.top-socials a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.lang-switch-wrapper {
  position: relative;
  display: inline-block;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--white);
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  display: inline-block;
  vertical-align: middle;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 155px;
  padding: 0.35rem;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
  border: 1px solid #e2e8f0;
}

.lang-switch-wrapper:hover .lang-dropdown,
.lang-switch-wrapper:focus-within .lang-dropdown {
  display: flex;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-dropdown-item:hover {
  background: #f1f5f9;
  color: #990000;
}

.lang-dropdown-item.active {
  background: #fef2f2;
  color: #990000;
}

.lang-dropdown-item .check-icon {
  margin-left: auto;
  font-size: 0.75rem;
  color: #990000;
}

.btn-admin-pill {
  background: var(--primary);
  color: var(--white) !important;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all var(--trans-normal);
}

.btn-admin-pill:hover {
  background: var(--primary-crimson);
  transform: translateY(-1px);
}

/* ==========================================================================
   MAIN BRANDING HEADER
   ========================================================================== */
.site-header {
  background: var(--white);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-200);
  position: relative;
  z-index: 40;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  transition: opacity var(--trans-fast);
}

.brand-wrapper:hover {
  opacity: 0.95;
}

.brand-wrapper img.unib-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.brand-divider {
  width: 2px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--slate-300), transparent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text .faculty-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-text .university-sub {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all var(--trans-fast);
}

.badge-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.badge-card.badge-gold {
  background: #fffdf5;
  border: 1px solid #f3e6be;
}

.badge-card.badge-blue {
  background: #f4f8ff;
  border: 1px solid #cde0fc;
}

.badge-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-card.badge-gold .badge-icon-box {
  background: #fdf1d6;
  color: #b45309;
}

.badge-card.badge-blue .badge-icon-box {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.badge-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-card.badge-gold .badge-label {
  color: #92400e;
}

.badge-card.badge-blue .badge-label {
  color: #1e40af;
}

.badge-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-card.badge-gold .badge-status {
  color: #78350f;
}

.badge-card.badge-blue .badge-status {
  color: #1e3a8a;
}

/* ==========================================================================
   NAVIGATION BAR (Inspired by Law.uii.ac.id with Red Heritage)
   ========================================================================== */
.main-navbar {
  background: linear-gradient(90deg, #7a0000 0%, #8B0000 50%, #700000 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--trans-normal);
}

.main-navbar.scrolled {
  background: rgba(122, 0, 0, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.85rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  position: relative;
  transition: all var(--trans-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active,
.nav-item:hover > .nav-link {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform var(--trans-normal);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item:hover > .nav-link::after {
  transform: scaleX(1);
}

.nav-link i.fa-chevron-down {
  font-size: 0.6rem;
  opacity: 0.75;
  transition: transform var(--trans-fast);
  margin-left: 0.1rem;
}

.nav-item:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--gold);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--trans-fast);
  z-index: 120;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  color: var(--slate-700);
  font-size: 0.825rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--trans-fast);
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 1.45rem;
}

.dropdown-item .badge-pill {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--gold-light);
  color: #92400e;
  font-weight: 700;
  margin-left: 0.75rem;
}

/* Nav Actions (CTA Button) */
.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.btn-nav-cta {
  background: linear-gradient(135deg, #dfb136 0%, #b8860b 100%);
  color: #111827 !important;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, #f0c346 0%, #c89516 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  color: #000000 !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO BANNER SECTION (Law Carousel)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: var(--slate-900);
  overflow: hidden;
  color: var(--white);
  min-height: 540px;
}

.hero-slide {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(70, 0, 0, 0.94) 0%, rgba(90, 5, 5, 0.85) 50%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-crimson);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(166, 28, 28, 0.4);
  transition: all var(--trans-normal);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 28, 28, 0.6);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--trans-normal);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--slate-900) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Quick Floating Bar Under Hero */
.quick-portal-bar {
  position: relative;
  margin-top: -3.8rem;
  z-index: 25;
  margin-bottom: 4rem;
}

.quick-portal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
}

.quick-card {
  background: var(--white);
  padding: 1.25rem 1rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--slate-800);
  position: relative;
  overflow: hidden;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top accent dual shimmer highlight */
.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.quick-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 32px -8px rgba(139, 0, 0, 0.16), 0 8px 14px -4px rgba(0, 0, 0, 0.05);
  border-color: rgba(197, 155, 39, 0.45);
}

.quick-card:hover::before {
  height: 4.5px;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(197, 155, 39, 0.5);
}

/* Icon Box - Distinct Harmonious Theme Gradients */
.quick-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-card-blue .quick-icon-box {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.32);
}
.quick-card-crimson .quick-icon-box {
  background: linear-gradient(135deg, #8B0000 0%, #dc2626 100%);
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.32);
}
.quick-card-amber .quick-icon-box {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.32);
}
.quick-card-emerald .quick-icon-box {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.32);
}
.quick-card-purple .quick-icon-box {
  background: linear-gradient(135deg, #581c87 0%, #8b5cf6 100%);
  box-shadow: 0 6px 14px rgba(139, 92, 246, 0.32);
}
.quick-card-rose .quick-icon-box {
  background: linear-gradient(135deg, #881337 0%, #e11d48 100%);
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.32);
}

.quick-card:hover .quick-icon-box {
  transform: scale(1.12) rotate(-4deg);
}

/* Card Text Info */
.quick-card-info {
  flex: 1;
  min-width: 0;
}

.quick-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.quick-card:hover .quick-card-title {
  color: var(--primary);
}

.quick-card-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Subtle Interactive Slide Arrow */
.quick-card-arrow {
  font-size: 0.75rem;
  color: #cbd5e1;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-4px);
}

.quick-card:hover .quick-card-arrow {
  opacity: 1;
  color: var(--gold);
  transform: translateX(0);
}

@media (max-width: 1200px) {
  .quick-portal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .quick-portal-bar {
    margin-top: -2.5rem;
    margin-bottom: 3rem;
  }
  .quick-portal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .quick-portal-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   DEAN'S WELCOME / SAMBUTAN DEKAN
   ========================================================================== */
.section-dean {
  padding: 4.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.dean-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.dean-image-card {
  position: relative;
  text-align: center;
}

.dean-frame {
  position: relative;
  display: inline-block;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--primary) 100%);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.18);
}

.dean-photo {
  width: 320px;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  display: block;
}

.dean-caption-badge {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--slate-900);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--gold);
  z-index: 5;
}

.dean-content .section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.dean-content .section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.dean-speech-quote {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.8;
  position: relative;
  margin-bottom: 1.75rem;
  font-style: italic;
  padding-left: 1.5rem;
  border-left: 4px solid var(--gold);
}

.dean-signature-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
  gap: 1rem;
}

.dean-identity h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
}

.dean-identity p {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   PROGRAM STUDI SECTION
   ========================================================================== */
.section-programs {
  padding: 5rem 0;
  background: var(--slate-50);
}

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

.section-header .section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-header .section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-header .section-desc {
  font-size: 1rem;
  color: var(--slate-600);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.program-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -8px rgba(128, 0, 0, 0.18), 0 0 0 1px rgba(128, 0, 0, 0.15);
  border-color: #fca5a5;
}

.program-card-header {
  background: linear-gradient(145deg, #7a0000 0%, #4a0000 100%);
  color: var(--white);
  padding: 1.6rem 1.4rem 1.4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

/* Elegant Background Watermark */
.card-watermark {
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 5.5rem;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  transform: rotate(-10deg);
  transition: transform 0.4s ease, color 0.4s ease;
}

.program-card:hover .card-watermark {
  transform: rotate(0deg) scale(1.08);
  color: rgba(255, 215, 0, 0.09);
}

.program-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.program-degree-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.program-degree-badge.badge-s1 {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #78350f;
}

.program-degree-badge.badge-s2 {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
}

.program-degree-badge.badge-s2-kn {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #ffffff;
}

.program-degree-badge.badge-s3 {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  color: #ffffff;
}

.program-gelar-tag {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  color: #fef08a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
}

.program-card-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  position: relative;
  z-index: 2;
  margin: 0;
  min-height: 3.3rem;
  display: flex;
  align-items: center;
}

.program-card-body {
  padding: 1.35rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.program-pills {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.pill-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.pill-accreditation i {
  color: #f59e0b;
}

.pill-intl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.pill-intl i {
  color: #16a34a;
}

.program-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Kaprodi / Leader Box */
.program-leader {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.program-card:hover .program-leader {
  background: #fdf2f2;
  border-color: #fecaca;
}

.leader-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #800000;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.leader-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.leader-label {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.leader-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Program Card Action Button */
.btn-program-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #f8fafc;
  color: #800000;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-program-detail i {
  transition: transform 0.25s ease;
  font-size: 0.75rem;
}

.btn-program-detail:hover {
  background: #800000;
  color: #ffffff;
  border-color: #800000;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.25);
}

.btn-program-detail:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   BERITA & PENGUMUMAN SECTION
   ========================================================================== */
.section-news-events {
  padding: 5rem 0;
  background: var(--white);
}

.news-events-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.news-column-header, .announcements-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--slate-200);
}

.column-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--slate-900);
  position: relative;
}

.column-title::after {
  content: '';
  position: absolute;
  bottom: -0.85rem;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.btn-link-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-link-all:hover {
  text-decoration: underline;
}

/* News Cards */
.news-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--slate-300);
}

.news-thumb-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--slate-100);
}

.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.news-card:hover .news-thumb {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.news-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: 0.65rem;
  transition: color var(--trans-fast);
}

.news-card:hover .news-title {
  color: var(--primary);
}

.news-excerpt {
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

/* Announcement List Cards */
.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.announcement-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  gap: 1rem;
  transition: all var(--trans-normal);
  text-decoration: none;
  color: var(--slate-800);
  border-left: 4px solid var(--gold);
}

.announcement-item:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.announcement-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  color: var(--primary);
  flex-shrink: 0;
}

.announcement-day {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.announcement-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-content {
  flex: 1;
}

.announcement-ref {
  font-size: 0.7rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.announcement-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  transition: color var(--trans-fast);
}

.announcement-item:hover .announcement-title {
  color: var(--primary);
}

/* ==========================================================================
   STATISTICS COUNTER SECTION
   ========================================================================== */
.section-stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  transition: transform 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2.25rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  transition: transform 0.25s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-number {
  font-family: var(--font-main);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   FEATURED FACULTY / DOSEN UNGGULAN
   ========================================================================== */
.section-faculty {
  padding: 5rem 0;
  background: var(--slate-50);
}

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

.faculty-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  text-align: center;
  padding: 1.5rem 1.25rem 1.25rem;
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-height: 330px;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(128, 0, 0, 0.12), 0 0 0 1px rgba(197, 155, 39, 0.4);
  border-color: var(--gold-border);
}

.faculty-avatar-box {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  border: 3.5px solid var(--gold);
  background: var(--slate-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover .faculty-avatar-box {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.22);
}

.faculty-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.faculty-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  text-align: center;
  transition: color var(--trans-fast);
}

.faculty-card:hover .faculty-name {
  color: var(--primary);
}

.faculty-title-sub {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-align: center;
}

.faculty-expertise-badge {
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.35rem;
  text-align: center;
}

.faculty-nip {
  font-size: 0.72rem;
  color: var(--slate-400);
  font-weight: 500;
  margin: 0.15rem 0 0.4rem 0;
  letter-spacing: 0.2px;
  text-align: center;
}

.faculty-prodi-label {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-align: center;
}

.faculty-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}

.faculty-pub-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.pub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.pub-chip.scholar {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.pub-chip.scholar:hover {
  background: #2563eb;
  color: #ffffff;
}

.pub-chip.sinta {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.pub-chip.sinta:hover {
  background: #b45309;
  color: #ffffff;
}

.pub-chip.scopus {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.pub-chip.scopus:hover {
  background: #c2410c;
  color: #ffffff;
}

/* Hover Animation: Klik Detail */
.faculty-hover-cta {
  position: relative;
  z-index: 2;
  pointer-events: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8B0000;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faculty-card:hover .faculty-hover-cta {
  opacity: 1;
  transform: translateY(0);
  background: #8B0000;
  color: #ffffff;
  border-color: #8B0000;
  box-shadow: 0 4px 14px rgba(139, 0, 0, 0.28);
}

.faculty-hover-cta i {
  transition: transform 0.2s ease;
  font-size: 0.72rem;
}

.faculty-card:hover .faculty-hover-cta i {
  animation: bounceRight 0.6s infinite alternate ease-in-out;
}

@keyframes bounceRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(4px);
  }
}

/* ==========================================================================
   FACULTY DETAIL STICKY SIDEBAR LAYOUT
   ========================================================================== */
.faculty-detail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .faculty-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.faculty-detail-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 10;
  align-self: start;
}

@media (max-width: 992px) {
  .faculty-detail-sidebar {
    position: static;
    top: auto;
  }
}

.faculty-sidebar-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faculty-photo-frame {
  width: 220px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3.5px solid var(--gold);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-photo-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.15);
}

/* ==========================================================================
   JURNAL & PUBLIKASI HUKUM
   ========================================================================== */
.section-journals {
  padding: 4.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.journals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.journal-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--trans-normal);
  text-decoration: none;
  color: var(--slate-800);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.journal-cover {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.journal-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--slate-900);
}

.journal-meta {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER (Academic Prestige Footer)
   ========================================================================== */
/* ==========================================================================
   FOOTER (Academic Prestige Footer)
   ========================================================================== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-brand-title {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.footer-brand-sub {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0.2rem 0 0;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all var(--trans-fast);
}

.footer-social-btn:hover {
  background: var(--gold);
  color: var(--slate-900);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.footer-accordion-header {
  display: block;
}

.footer-accordion-icon {
  display: none;
}

.footer-accordion-body {
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--slate-300);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--trans-fast);
}

.footer-links a i {
  font-size: 0.65rem;
  color: var(--gold);
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--slate-300);
  line-height: 1.5;
}

.footer-contact-link {
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer-contact-link:hover {
  color: var(--gold);
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 0.25rem;
  font-size: 0.95rem;
  min-width: 16px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--slate-400);
  text-decoration: none;
  transition: color var(--trans-fast);
}

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

/* ==========================================================================
   PAGE HERO / BANNER HEADER UNTUK HALAMAN DALAM (11 MENU)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-deep) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

/* ==========================================================================
   INNER PAGE COMPONENTS & UTILITIES
   ========================================================================== */
.content-section {
  padding: 4.5rem 0;
}

.card-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.card-box img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-red {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-gold {
  background: var(--gold-light);
  color: #92400e;
}

.badge-green {
  background: #ecfdf5;
  color: #065f46;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--slate-800);
  transition: all var(--trans-normal);
}

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

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Flash Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .site-header .container,
  .main-navbar .container {
    padding: 0 1rem;
  }
  .mobile-toggle {
    display: block;
  }
  .main-navbar .container {
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: #6b0000;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    padding: 0.8rem 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .nav-link::after {
    display: none;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.22);
    display: none;
  }
  .nav-item.open > .dropdown-menu {
    display: block;
  }
  .dropdown-item {
    color: var(--white);
    padding-left: 2.25rem;
  }
  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
  }
}

@media (max-width: 1024px) {
  .news-events-grid {
    grid-template-columns: 1fr;
  }
  .dean-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dean-speech-quote {
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header-badges {
    display: none;
  }
  .brand-wrapper img.unib-logo {
    height: 46px;
  }
  .brand-divider {
    height: 36px;
  }
  .brand-text .faculty-title {
    font-size: 1.2rem;
  }
  .brand-text .university-sub {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Mobile Responsive Footer */
  .site-footer {
    padding: 3rem 0 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .footer-col-brand {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-brand-header {
    justify-content: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-col-accordion {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
  }
  .footer-col-accordion.open {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(197, 155, 39, 0.4);
  }
  .footer-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-col-title {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1.05rem;
    color: var(--white);
  }
  .footer-col-title::after {
    display: none;
  }
  .footer-accordion-icon {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
  }
  .footer-col-accordion.open .footer-accordion-icon {
    transform: rotate(180deg);
  }
  .footer-accordion-body {
    display: none;
    padding: 0 1.25rem 1.25rem;
  }
  .footer-col-accordion.open .footer-accordion-body {
    display: block;
  }
  .footer-links a,
  .footer-contact-item {
    min-height: 44px;
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.875rem;
  }
  .footer-links li:last-child a,
  .footer-contact-list a:last-child {
    border-bottom: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }
  .footer-bottom-links {
    justify-content: center;
    gap: 0.5rem;
  }
  .footer-bottom-links a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    display: inline-block;
  }
}
