/* ============================================================
   PRESENTASI AKREDITASI PROGRAM STUDI
   Design System — Premium Modern Glassmorphism
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables (Design Tokens) ── */
/* ── CSS Variables (Design Tokens — Light & Bright Modern Theme) ── */
:root {
  /* Primary Gradient */
  --color-primary-start: #f8fafc;
  --color-primary-mid: #f1f5f9;
  --color-primary-end: #e2e8f0;

  /* Accent Colors (Vibrant for Light Backdrop) */
  --accent-blue: #0284c7;
  --accent-purple: #7c3aed;
  --accent-cyan: #0284c7;
  --accent-magenta: #c026d3;
  --accent-teal: #0d9488;
  --accent-gold: #b45309;

  /* Gradient Presets */
  --gradient-hero: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.85) 60%, rgba(226, 232, 240, 0.78) 100%);
  --gradient-blue-purple: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
  --gradient-cyan-blue: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.88) 100%);
  --gradient-text: linear-gradient(135deg, #0284c7 0%, #6d28d9 50%, #1d4ed8 100%);

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(2, 132, 199, 0.2);
  --glass-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --glass-blur: blur(16px);

  /* Text (Ultra Dark Pitch Black & High Contrast for Projector Visibility) */
  --text-primary: #020617;
  --text-secondary: #0f172a;
  --text-muted: #1e293b;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing (compact for fullscreen slides) */
  --space-xs: 0.2rem;
  --space-sm: 0.4rem;
  --space-md: 0.7rem;
  --space-lg: 1rem;
  --space-xl: 1.25rem;
  --space-2xl: 1.5rem;
  --space-3xl: 2rem;
  --space-4xl: 2.5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-background: -1;
  --z-base: 0;
  --z-content: 10;
  --z-overlay: 100;
  --z-navigation: 200;
  --z-modal: 300;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) transparent;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  border-radius: var(--radius-full);
}

/* ── Three.js Canvas ── */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-background);
  pointer-events: none;
}

/* ── Navigation Bar (High Contrast Light Theme — Ultra Compact) ── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-navigation);
  padding: 6px 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 2px 15px rgba(15, 23, 42, 0.05);
  transition: var(--transition-normal);
}

.nav-bar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 4px 1.5rem;
  box-shadow: 0 3px 20px rgba(15, 23, 42, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 26px;
  height: 26px;
  background: var(--gradient-blue-purple);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.nav-logo-text span {
  font-weight: 700;
  color: #0284c7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #0284c7;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #0284c7;
  font-weight: 800;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── Slide Progress Indicator ── */
.slide-progress {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.slide-progress .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.slide-progress .dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.slide-progress .dot:hover::before {
  opacity: 1;
}

.slide-progress .dot.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px var(--accent-blue);
  transform: scale(1.3);
}

.slide-progress .line {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Sections / Slides ── */
.slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 2.5rem 35px;
  overflow: hidden;
  will-change: transform;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-inner {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: 1200px;
  max-height: calc(100vh - 110px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Slide backgrounds */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.slide:nth-child(odd)::before {
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}

.slide:nth-child(even)::before {
  background: radial-gradient(ellipse at 70% 50%, rgba(123, 47, 247, 0.08) 0%, transparent 60%);
}

/* ── Hero Slide (#1) ── */
.slide-hero {
  text-align: left;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.90) 0%, rgba(241, 245, 249, 0.84) 50%, rgba(226, 232, 240, 0.78) 100%),
              url('../images/gedung.jpg') center/cover no-repeat !important;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -1px;
  color: #0f172a;
}

.hero-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-high-contrast {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* ── Asesor High-Contrast Card for Projector (Light Theme) ── */
.asesor-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(2, 132, 199, 0.4);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12), 0 0 25px rgba(2, 132, 199, 0.15);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-top: 1.2rem;
}

.asesor-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.9rem;
  border-bottom: 1.5px solid rgba(2, 132, 199, 0.2);
  padding-bottom: 0.5rem;
}

.asesor-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.asesor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.asesor-item .badge-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

.asesor-item .asesor-name {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.accreditation-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(245, 158, 11, 0.08));
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #b45309;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-hex-frame {
  position: relative;
  width: 440px;
  height: 500px;
}

.hero-hex-frame .hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-hex-frame .hex-main {
  width: 365px;
  height: 415px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-blue-purple);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
}

.hero-hex-frame .hex-main img.hex-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hex-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.5rem;
  text-align: center;
}

/* ── Hexagon Slow Orbit Animation Around Main Hexagon ── */
.hex-orbit-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: orbitRotate 22s linear infinite;
  z-index: 1;
}

.hex-orbit-ring-reverse {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: orbitRotateReverse 30s linear infinite;
  z-index: 1;
}

@keyframes orbitRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbitRotateReverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.hero-hex-frame .hex-accent-1 {
  width: 85px;
  height: 98px;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.6), rgba(124, 58, 237, 0.6));
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
  animation: counterRotate 22s linear infinite;
}

.hero-hex-frame .hex-accent-2 {
  width: 65px;
  height: 75px;
  bottom: 25px;
  left: 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(219, 39, 119, 0.5));
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.3);
  animation: counterRotate 22s linear infinite;
}

.hero-hex-frame .hex-accent-3 {
  width: 50px;
  height: 58px;
  top: 45px;
  left: 30px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.5), rgba(2, 132, 199, 0.5));
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.3);
  animation: counterRotateReverse 30s linear infinite;
}

.hero-hex-frame .hex-accent-4 {
  width: 55px;
  height: 64px;
  bottom: 50px;
  right: 35px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.5), rgba(2, 132, 199, 0.5));
  box-shadow: 0 0 15px rgba(217, 119, 6, 0.3);
  animation: counterRotateReverse 30s linear infinite;
}

@keyframes counterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes counterRotateReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-blue-purple);
  color: white;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* ── Section Headers (Ultra-Compact & Sleek Layout) ── */
.section-header {
  text-align: center;
  margin-bottom: 0.35rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-blue);
  margin-bottom: 0px;
}

.section-tag .line {
  width: 14px;
  height: 1.5px;
  background: var(--accent-blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.1rem;
}

.section-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 0.7rem;
  color: #475569;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.3;
}

/* ── Glass Cards ── */
.glass-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.glass-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.1);
}

/* ── Stat Cards ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
}

.stat-card {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.stat-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 247, 0.2));
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Visi Misi & Keunggulan ── */
.visi-misi-grid,
.visi-misi-keunggulan-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  align-items: stretch;
}

.left-visi-keunggulan-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Visi Misi & Keunggulan Theme Combinations ── */
.visi-card-themed {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.92) 100%) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.1) !important;
}

.keunggulan-card-themed {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98) 0%, rgba(209, 250, 229, 0.92) 100%) !important;
  border: 2px solid rgba(5, 150, 105, 0.4) !important;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.12) !important;
}

.misi-card-themed {
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%) !important;
  border: 1.5px solid rgba(124, 58, 237, 0.35) !important;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1) !important;
}

/* ── Herbal Biomedicine Visual Pillars ── */
.herbal-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.herbal-pillar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
  transition: var(--transition-fast);
}

.herbal-pillar-item:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 150, 105, 0.5);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.pillar-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pillar-icon.emerald {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}

.pillar-icon.teal {
  background: rgba(13, 148, 136, 0.15);
  color: #0d9488;
}

.pillar-icon.amber {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
}

.pillar-icon.violet {
  background: rgba(124, 58, 237, 0.15);
  color: #7c3aed;
}

.pillar-info {
  display: flex;
  flex-direction: column;
}

.pillar-info strong {
  font-size: 0.74rem;
  font-weight: 800;
  color: #020617;
  line-height: 1.2;
}

.pillar-info span {
  font-size: 0.65rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Organizational Chart (Slide 3) ── */
.org-chart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.org-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transition: var(--transition-fast);
  position: relative;
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.org-card.level-kaprodi {
  border: 2px solid #0284c7;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.95) 100%);
  width: 400px;
}

.org-card.level-sekprodi {
  border: 1.5px solid #0d9488;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.98) 0%, rgba(204, 251, 241, 0.92) 100%);
  width: 350px;
}

.org-card.level-bidang {
  border: 1.5px solid rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%);
}

.org-card.level-bidang.blue-theme {
  border-color: rgba(2, 132, 199, 0.4);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.92) 100%);
}

.org-card.level-bidang.emerald-theme {
  border-color: rgba(5, 150, 105, 0.4);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98) 0%, rgba(209, 250, 229, 0.92) 100%);
}

.org-card.level-bidang.purple-theme {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%);
}

.org-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.org-role-badge.kaprodi {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.org-role-badge.sekprodi {
  background: rgba(13, 148, 136, 0.15);
  color: #0d9488;
  border: 1px solid rgba(13, 148, 136, 0.35);
}

.org-role-badge.bidang-blue {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.org-role-badge.bidang-emerald {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.35);
}

.org-role-badge.bidang-purple {
  background: rgba(124, 58, 237, 0.15);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.org-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 900;
  color: #020617;
}

.org-subtext {
  font-size: 0.74rem;
  color: #0f172a;
  font-weight: 700;
  margin-top: 1px;
}

/* Connecting lines between org chart nodes */
.org-line-vertical {
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, #0284c7, #0d9488);
}

.org-branch-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.org-branch-line-top {
  width: 2px;
  height: 14px;
  background: #0d9488;
}

.org-branch-line-horizontal {
  width: 68%;
  height: 2px;
  background: linear-gradient(90deg, #0284c7 0%, #059669 50%, #7c3aed 100%);
  position: relative;
}

.org-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin-top: 14px;
}

.org-branch-grid .org-card {
  position: relative;
}

.org-branch-grid .org-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: #cbd5e1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  color: #020617;
}

.card-text {
  color: #020617;
  line-height: 1.6;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.misi-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #020617;
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 600;
}

.misi-list .num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

/* ── Kurikulum / Grid Layouts (Slide 4) ── */
.kurikulum-obe-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.1rem;
  align-items: stretch;
}

.obe-info-card {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.92) 100%) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sks-summary-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.sks-pill-item {
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}

.sks-pill-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: #0284c7;
  line-height: 1;
}

.sks-pill-item span {
  font-size: 0.64rem;
  color: #020617;
  font-weight: 800;
}

.obe-system-showcase {
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(13, 148, 136, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

.obe-system-showcase-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 0.25rem;
}

.obe-system-showcase-badge {
  background: rgba(13, 148, 136, 0.15);
  color: #0f766e;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.mk-keunggulan-card {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98) 0%, rgba(209, 250, 229, 0.92) 100%) !important;
  border: 2px solid rgba(5, 150, 105, 0.4) !important;
  padding: 0.85rem 1.1rem;
}

.mk-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.55rem;
  margin-top: 0.45rem;
}

.mk-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid rgba(5, 150, 105, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.32rem 0.55rem;
  font-size: 0.72rem;
  color: #020617;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.1);
}

.mk-card-item .mk-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-sks-tag {
  background: linear-gradient(135deg, #059669, #0d9488);
  color: white;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.3);
}

/* ── Slide 6: Dosen Homebase Grid Layout ── */
.dosen-homebase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.dosen-hb-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dosen-hb-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 72%;
  margin: 0 auto;
}

.dosen-hb-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.09);
  border: 1.8px solid rgba(2, 132, 199, 0.3);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 175px;
}

.dosen-hb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.dosen-hb-card.gold-theme {
  border-color: rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%);
}

.dosen-hb-card.emerald-theme {
  border-color: rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%);
}

.dosen-hb-card.purple-theme {
  border-color: rgba(124, 58, 237, 0.45);
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%);
}

.dosen-hb-card.blue-theme {
  border-color: rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%);
}

.dosen-hb-card.teal-theme {
  border-color: rgba(13, 148, 136, 0.45);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.98) 0%, rgba(153, 246, 228, 0.92) 100%);
}

.dosen-hb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.dosen-hb-nidn {
  font-size: 0.72rem;
  font-weight: 900;
  color: #020617;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.dosen-hb-jabatan {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.dosen-hb-jabatan.lektor-kepala {
  background: #d97706;
  color: white;
}

.dosen-hb-jabatan.lektor {
  background: #0284c7;
  color: white;
}

.dosen-hb-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.dosen-hb-edu-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
}

.dosen-hb-edu-item {
  font-size: 0.82rem;
  font-weight: 800;
  color: #020617;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Slide 11: Fasilitas Carousel Slider ── */
.fasilitas-slider-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fasilitas-track-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.fasilitas-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
  width: 100%;
}

.fasilitas-slide-item {
  min-width: 100%;
  box-sizing: border-box;
}

.fasilitas-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #090d16;
}

.fasilitas-img-box::before {
  content: '';
  position: absolute;
  inset: -15px; /* slight overflow to prevent white edges when blurred */
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(25px) brightness(0.6);
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
}

.fasilitas-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.8s ease;
}

.fasilitas-slide-item:hover .fasilitas-img {
  transform: scale(1.02);
}

.fasilitas-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 60%, transparent 100%);
  padding: 1.5rem 2rem 1.25rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  z-index: 3;
}

.fasilitas-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
}

.fasilitas-badge.emerald { background: #059669; color: white; }
.fasilitas-badge.gold { background: #d97706; color: white; }
.fasilitas-badge.blue { background: #0284c7; color: white; }
.fasilitas-badge.teal { background: #0d9488; color: white; }
.fasilitas-badge.purple { background: #7c3aed; color: white; }

.fasilitas-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.fasilitas-desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.4;
  margin: 0;
  max-width: 900px;
}

/* Nav Buttons */
.slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  color: #020617;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.slider-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  color: #0284c7;
}

.prev-btn { left: -22px; }
.next-btn { right: -22px; }

/* Control Dots & Counter */
.fasilitas-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.85rem;
}

.fasilitas-dots {
  display: flex;
  gap: 0.5rem;
}

.fasilitas-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.fasilitas-dot.active {
  width: 26px;
  border-radius: var(--radius-full);
  background: #0284c7;
}

.fasilitas-counter {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  color: #020617;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.15);
}

/* ── Slide 10: Luaran Riset, HKI & PkM Layout ── */
.luaran-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.luaran-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.luaran-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 72%;
  margin: 0 auto;
}

.luaran-card {
  border-radius: var(--radius-md);
  padding: 1.05rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.09);
  border: 1.8px solid;
  transition: var(--transition-fast);
  min-height: 175px;
}

.luaran-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.luaran-card.blue-theme {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%);
  border-color: #0284c7;
}

.luaran-card.gold-theme {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%);
  border-color: #d97706;
}

.luaran-card.emerald-theme {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%);
  border-color: #059669;
}

.luaran-card.purple-theme {
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%);
  border-color: #7c3aed;
}

.luaran-card.teal-theme {
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.98) 0%, rgba(153, 246, 228, 0.92) 100%);
  border-color: #0d9488;
}

.luaran-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.luaran-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.luaran-tag {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

.luaran-tag.blue { background: rgba(2, 132, 199, 0.2); color: #0369a1; border: 1px solid rgba(2, 132, 199, 0.4); }
.luaran-tag.gold { background: rgba(217, 119, 6, 0.2); color: #92400e; border: 1px solid rgba(217, 119, 6, 0.4); }
.luaran-tag.emerald { background: rgba(5, 150, 105, 0.2); color: #047857; border: 1px solid rgba(5, 150, 105, 0.4); }
.luaran-tag.purple { background: rgba(124, 58, 237, 0.2); color: #6d28d9; border: 1px solid rgba(124, 58, 237, 0.4); }
.luaran-tag.teal { background: rgba(13, 148, 136, 0.2); color: #0f766e; border: 1px solid rgba(13, 148, 136, 0.4); }

.luaran-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 0.2rem;
}

.luaran-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #020617;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.luaran-pill-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  color: #020617;
}

/* ── Slide 9: Penelitian Dosen Layout ── */
.penelitian-dosen-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.riset-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.riset-stat-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  transition: var(--transition-fast);
}

.riset-stat-card.gold {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%);
  border-color: #d97706;
}

.riset-stat-card.blue {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%);
  border-color: #0284c7;
}

.riset-stat-card.emerald {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%);
  border-color: #059669;
}

.riset-stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #020617;
  line-height: 1;
}

.riset-stat-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #020617;
}

.riset-card-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.riset-card-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  width: 72%;
  margin: 0 auto;
}

.riset-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border: 1.8px solid rgba(2, 132, 199, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
  min-height: 165px;
}

.riset-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.riset-card-author {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.riset-badge {
  font-size: 0.6rem;
  font-weight: 900;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.riset-badge.amber { background: #d97706; color: white; }
.riset-badge.blue { background: #0284c7; color: white; }
.riset-badge.purple { background: #7c3aed; color: white; }
.riset-badge.teal { background: #0d9488; color: white; }
.riset-badge.emerald { background: #059669; color: white; }

.riset-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #020617;
  line-height: 1.4;
  margin-bottom: 0.45rem;
  font-style: italic;
}

.riset-focus-box {
  background: rgba(248, 250, 252, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem;
  border: 1.2px solid rgba(15, 23, 42, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f172a;
}

/* ── Slide 8: Tenaga Kependidikan (Tendik) Layout ── */
.tendik-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.tendik-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.tendik-stat-pill {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  transition: var(--transition-fast);
}

.tendik-stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.tendik-stat-pill.gold {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%);
  border-color: #d97706;
}

.tendik-stat-pill.blue {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%);
  border-color: #0284c7;
}

.tendik-stat-pill.emerald {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%);
  border-color: #059669;
}

.tendik-stat-pill.purple {
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%);
  border-color: #7c3aed;
}

.tendik-stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #020617;
  line-height: 1;
}

.tendik-stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #020617;
}

.tendik-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.tendik-column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tendik-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.tendik-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  border-color: #0284c7;
}

.tendik-card.highlight-lab {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%);
  border-color: #059669;
}

.tendik-card-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tendik-unit-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  color: #020617;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tendik-qual {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
}

.tendik-count-badge {
  font-size: 0.68rem;
  font-weight: 900;
  color: white;
  background: #0284c7;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.tendik-count-badge.emerald {
  background: #059669;
}

/* ── Slide 7: Prestasi Dosen Layout ── */
.prestasi-dosen-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.prestasi-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.prestasi-stat-card {
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border: 1.8px solid;
  transition: var(--transition-fast);
}

.prestasi-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.prestasi-stat-card.gold {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%);
  border-color: #d97706;
}

.prestasi-stat-card.blue {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%);
  border-color: #0284c7;
}

.prestasi-stat-card.emerald {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%);
  border-color: #059669;
}

.prestasi-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}

.prestasi-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #020617;
  line-height: 1;
}

.prestasi-stat-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #020617;
  margin-top: 0.2rem;
}

.prestasi-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.prestasi-detail-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
  border: 1.8px solid rgba(2, 132, 199, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.prestasi-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.prestasi-card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.prestasi-card-badge.blue {
  background: #0284c7;
  color: white;
}

.prestasi-card-badge.emerald {
  background: #059669;
  color: white;
}

.prestasi-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.prestasi-card-desc {
  font-size: 0.84rem;
  font-weight: 700;
  color: #020617;
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.prestasi-point-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(248, 250, 252, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
}

.prestasi-point-item {
  font-size: 0.8rem;
  font-weight: 800;
  color: #020617;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ── Slide 5: Layanan Mahasiswa 8 Enlarged Colorful Cards ── */
.layanan-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.layanan-card {
  border-radius: var(--radius-md);
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  min-height: 145px;
}

.layanan-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.layanan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.layanan-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.layanan-tag {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
}

.layanan-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  color: #020617;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.layanan-desc {
  font-size: 0.78rem;
  color: #020617;
  font-weight: 700;
  line-height: 1.4;
}

/* 8 Theme Combinations for Non-Monotonous Vibrancy */
.layanan-card.theme-amber {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%) !important;
  border: 1.5px solid #d97706 !important;
}
.layanan-icon.amber { background: rgba(217, 119, 6, 0.2); }
.layanan-tag.amber { background: rgba(217, 119, 6, 0.2); color: #92400e; border: 1px solid rgba(217, 119, 6, 0.4); }

.layanan-card.theme-blue {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98) 0%, rgba(186, 230, 253, 0.92) 100%) !important;
  border: 1.5px solid #0284c7 !important;
}
.layanan-icon.blue { background: rgba(2, 132, 199, 0.2); }
.layanan-tag.blue { background: rgba(2, 132, 199, 0.2); color: #0369a1; border: 1px solid rgba(2, 132, 199, 0.4); }

.layanan-card.theme-purple {
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.92) 100%) !important;
  border: 1.5px solid #7c3aed !important;
}
.layanan-icon.purple { background: rgba(124, 58, 237, 0.2); }
.layanan-tag.purple { background: rgba(124, 58, 237, 0.2); color: #6d28d9; border: 1px solid rgba(124, 58, 237, 0.4); }

.layanan-card.theme-emerald {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.98) 0%, rgba(167, 243, 208, 0.92) 100%) !important;
  border: 1.5px solid #059669 !important;
}
.layanan-icon.emerald { background: rgba(5, 150, 105, 0.2); }
.layanan-tag.emerald { background: rgba(5, 150, 105, 0.2); color: #047857; border: 1px solid rgba(5, 150, 105, 0.4); }

.layanan-card.theme-rose {
  background: linear-gradient(135deg, rgba(255, 228, 230, 0.98) 0%, rgba(254, 205, 211, 0.92) 100%) !important;
  border: 1.5px solid #e11d48 !important;
}
.layanan-icon.rose { background: rgba(225, 29, 72, 0.2); }
.layanan-tag.rose { background: rgba(225, 29, 72, 0.2); color: #be123c; border: 1px solid rgba(225, 29, 72, 0.4); }

.layanan-card.theme-teal {
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.98) 0%, rgba(153, 246, 228, 0.92) 100%) !important;
  border: 1.5px solid #0d9488 !important;
}
.layanan-icon.teal { background: rgba(13, 148, 136, 0.2); }
.layanan-tag.teal { background: rgba(13, 148, 136, 0.2); color: #0f766e; border: 1px solid rgba(13, 148, 136, 0.4); }

.layanan-card.theme-orange {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.98) 0%, rgba(254, 215, 170, 0.92) 100%) !important;
  border: 1.5px solid #ea580c !important;
}
.layanan-icon.orange { background: rgba(234, 88, 12, 0.2); }
.layanan-tag.orange { background: rgba(234, 88, 12, 0.2); color: #c2410c; border: 1px solid rgba(234, 88, 12, 0.4); }

.layanan-card.theme-indigo {
  background: linear-gradient(135deg, rgba(224, 231, 255, 0.98) 0%, rgba(199, 210, 254, 0.92) 100%) !important;
  border: 1.5px solid #4338ca !important;
}
.layanan-icon.indigo { background: rgba(67, 56, 202, 0.2); }
.layanan-tag.indigo { background: rgba(67, 56, 202, 0.2); color: #3730a3; border: 1px solid rgba(67, 56, 202, 0.4); }

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.curriculum-card {
  padding: var(--space-lg);
  position: relative;
}

.curriculum-card .semester-tag {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-blue);
  margin-bottom: var(--space-xs);
}

.curriculum-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.curriculum-card .sks {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.curriculum-card .course-list {
  list-style: none;
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.curriculum-card .course-list li {
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding-left: var(--space-md);
  position: relative;
}

.curriculum-card .course-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
}

/* ── Dosen Cards ── */
.dosen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.dosen-card {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.dosen-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  background: var(--gradient-blue-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.dosen-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.dosen-title {
  font-size: 0.7rem;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.dosen-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Chart / Data Visualization ── */
.data-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: center;
}

.chart-container {
  padding: var(--space-lg);
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.bar-label {
  width: 80px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-blue-purple);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--space-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  min-width: 40px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.data-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.highlight-item {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.highlight-icon.cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan);
}

.highlight-icon.purple {
  background: rgba(123, 47, 247, 0.15);
  color: var(--accent-purple);
}

.highlight-icon.gold {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-gold);
}

.highlight-icon.teal {
  background: rgba(0, 229, 193, 0.15);
  color: var(--accent-teal);
}

.highlight-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.highlight-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ── Facilities Grid ── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.facility-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.facility-img {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 247, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
}

.facility-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 39, 0.8), transparent);
}

.facility-info {
  padding: var(--space-sm) var(--space-md);
}

.facility-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.facility-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Achievement / Timeline ── */
.achievements-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.achievement-card {
  padding: var(--space-md);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.achievement-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.achievement-content h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.achievement-content .year {
  font-size: 0.65rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 2px;
}

.achievement-content p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Contact / Footer Slide ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent-blue);
  flex-shrink: 0;
}

.contact-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.contact-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 1px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-link-card {
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--text-primary);
}

.contact-link-card:hover {
  border-color: var(--accent-blue);
}

.contact-link-card .icon {
  font-size: 1rem;
}

.contact-link-card span {
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Animated Elements (Ultra-Smooth & Slow Projector Reveal) ── */

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-70px) scale(0.96);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(70px) scale(0.96);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8) translateY(25px);
  filter: blur(12px);
  will-change: opacity, transform, filter;
  transition: opacity 1.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 1.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 1.25s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0px);
}

.reveal-drop {
  opacity: 0;
  transform: translateY(-130px) scale(0.82) rotate(-4deg);
  filter: blur(14px);
  will-change: opacity, transform, filter;
  transition: opacity 1.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 1.5s ease;
}

.reveal-drop.active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: blur(0px);
}

/* Stagger delays (Slow & Elegant Entrance) */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.45s; }
.delay-3 { transition-delay: 0.7s; }
.delay-4 { transition-delay: 0.95s; }
.delay-5 { transition-delay: 1.2s; }
.delay-6 { transition-delay: 1.45s; }

/* ── Hexagon Decorations ── */
.hex-decoration {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.1;
  z-index: 0;
}

/* ── Glow Orbs ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.glow-orb.blue {
  background: var(--accent-blue);
}

.glow-orb.purple {
  background: var(--accent-purple);
}

.glow-orb.magenta {
  background: var(--accent-magenta);
}

/* ── Penelitian Grid ── */
.penelitian-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.penelitian-card {
  padding: var(--space-lg);
}

.penelitian-card .category {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-blue);
  margin-bottom: var(--space-xs);
}

.penelitian-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
}

.penelitian-card p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.penelitian-card .meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--glass-border);
}

.penelitian-card .meta span {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Slide Counter ── */
.slide-counter {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: var(--glass-blur);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
}

.slide-counter .current {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.slide-counter .separator {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.slide-counter .total {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slide-counter .progress-bar {
  width: 100px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-left: var(--space-sm);
}

.slide-counter .progress-fill {
  height: 100%;
  background: var(--gradient-blue-purple);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .data-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .achievements-container {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dosen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .penelitian-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .slide {
    padding: 60px 1.5rem 50px;
  }
}

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

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .dosen-grid {
    grid-template-columns: 1fr;
  }

  .achievements-container {
    grid-template-columns: 1fr;
  }

  .slide-progress {
    display: none;
  }

  .slide {
    padding: 50px 1rem 50px;
    overflow-y: auto;
  }

  .slide-inner {
    max-height: none;
  }

  .nav-bar {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ── Fullscreen & Widescreen Scaling (Large Monitors & Projectors) ── */
@media (min-width: 1400px) and (min-height: 750px) {
  .slide-inner {
    max-width: 1380px;
  }

  .section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }

  .hero-title {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  }

  .hero-subtitle-high-contrast {
    font-size: 1.4rem;
  }

  .asesor-card {
    padding: 1.6rem 2rem;
  }

  .asesor-item {
    font-size: 1.3rem;
  }

  .asesor-item .badge-num {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .accreditation-date-badge {
    font-size: 1.05rem;
    padding: 0.6rem 1.4rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .misi-list li {
    font-size: 0.9rem;
  }

  .dosen-name {
    font-size: 0.95rem;
  }

  .dosen-desc {
    font-size: 0.8rem;
  }

  .hero-hex-frame {
    width: 420px;
    height: 480px;
  }

  .hero-hex-frame .hex-main {
    width: 350px;
    height: 400px;
  }
}

/* ============================================================
   BIOMEDICAL FRAME OVERLAY
   ============================================================ */
.biomedical-frame {
  position: absolute;
  inset: 0;
  z-index: 1; /* Sits behind content, above background */
  pointer-events: none; /* Allows interactions with slides */
  overflow: hidden;
}

/* Corner diagonal shapes */
.frame-corner {
  position: absolute;
  width: 20vw;
  height: 20vw;
  min-width: 180px;
  min-height: 180px;
}

.frame-corner.top-right {
  top: 0;
  right: 0;
}

.frame-corner.top-right .diagonal-block {
  width: 100%;
  height: 100%;
  background: #0ea5e9;
  clip-path: polygon(100% 0, 100% 65%, 35% 0);
}

.frame-corner.top-right .diagonal-border {
  position: absolute;
  inset: 0;
  border-top: 5px solid #ffffff;
  border-right: 5px solid #ffffff;
  clip-path: polygon(100% 0, 100% 67%, 33% 0);
  transform: scale(0.985) translate(1px, -1px);
}

.frame-corner.top-right .circular-molecule {
  position: absolute;
  top: 35%;
  left: 65%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0ea5e9;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-corner.top-right .circular-molecule::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.frame-corner.bottom-left {
  bottom: 0;
  left: 0;
}

.frame-corner.bottom-left .diagonal-block {
  width: 100%;
  height: 100%;
  background: #0ea5e9;
  clip-path: polygon(0 100%, 0 35%, 65% 100%);
}

.frame-corner.bottom-left .diagonal-border {
  position: absolute;
  inset: 0;
  border-bottom: 5px solid #ffffff;
  border-left: 5px solid #ffffff;
  clip-path: polygon(0 100%, 0 33%, 67% 100%);
  transform: scale(0.985) translate(-1px, 1px);
}

.frame-corner.bottom-left .circular-molecule {
  position: absolute;
  bottom: 35%;
  right: 65%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0ea5e9;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-corner.bottom-left .circular-molecule::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Floating motifs */
.frame-motif {
  position: absolute;
  pointer-events: none;
}

.top-left-motif {
  top: 75px;
  left: 30px;
  width: 120px;
  height: 120px;
}

.bottom-center-motif {
  bottom: 25px;
  left: 35%;
  width: 160px;
  height: 80px;
}

.bottom-right-pattern {
  bottom: 0;
  right: 0;
  width: 220px;
  height: 220px;
}

.svg-chemical, .svg-biological, .svg-pattern {
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .nav-logo-text span {
    display: none;
  }
}

/* ============================================================
   ASPECT RATIO & RESOLUTION OPTIMIZATIONS (16:9 & 4:3)
   ============================================================ */

/* 1. Standard / Square Screen Optimization (Aspect ratio 4:3 or narrower, e.g. 1024x768) */
@media (max-aspect-ratio: 14/10) {
  .slide {
    padding: 60px 1.5rem 30px;
  }
  .slide-inner {
    max-height: calc(100vh - 80px);
  }
  .visi-misi-keunggulan-grid {
    gap: 0.75rem;
  }
  .layanan-grid-8 {
    gap: 0.6rem;
  }
  .layanan-card {
    min-height: 125px;
    padding: 0.65rem 0.8rem;
  }
  .layanan-title {
    font-size: 0.88rem;
  }
  .dosen-homebase-wrapper {
    gap: 0.6rem;
  }
  .dosen-homebase-grid-top, 
  .dosen-homebase-grid-bottom {
    gap: 0.6rem;
  }
  .dosen-card {
    min-height: 150px;
    padding: 0.7rem 0.85rem;
  }
  .dosen-name {
    font-size: 0.95rem;
  }
  .dosen-edu-list li {
    font-size: 0.75rem;
  }
  .tendik-grid-12 {
    gap: 0.5rem;
  }
  .tendik-card {
    padding: 0.5rem 0.75rem;
  }
  .riset-card-row-top,
  .riset-card-row-bottom {
    gap: 0.65rem;
  }
  .riset-card {
    min-height: 145px;
    padding: 0.65rem 0.85rem;
  }
  .luaran-row-top,
  .luaran-row-bottom {
    gap: 0.75rem;
  }
  .luaran-card {
    min-height: 155px;
    padding: 0.85rem 1.05rem;
  }
  .fasilitas-slider-container {
    max-width: 760px;
  }
}

/* 2. Vertically Short Screen / Projector Optimization (e.g. 16:9 widescreen but low height, like 1366x768 or 1280x720) */
@media (max-height: 720px) {
  .slide {
    padding: 55px 2rem 25px;
  }
  .slide-inner {
    max-height: calc(100vh - 75px);
  }
  .section-header {
    margin-bottom: 0.2rem;
  }
  .section-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
  }
  .section-desc {
    font-size: 0.74rem;
  }
  .layanan-card {
    min-height: 110px;
    padding: 0.6rem 0.8rem;
  }
  .dosen-card {
    min-height: 135px;
    padding: 0.6rem 0.8rem;
  }
  .riset-card {
    min-height: 125px;
    padding: 0.6rem 0.8rem;
  }
  .luaran-card {
    min-height: 135px;
    padding: 0.75rem 0.95rem;
  }
  .fasilitas-slider-container {
    max-width: 700px;
  }
}

/* ============================================================
   3x3 GRID GALLERY & LIGHTBOX MODAL
   ============================================================ */
.fasilitas-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.35, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
  border-color: #0284c7;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 3;
}

.gallery-card:hover .gallery-card-overlay {
  background: rgba(2, 132, 199, 0.9);
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  color: white;
  margin: 0;
  text-align: left;
  letter-spacing: -0.1px;
}

.gallery-card-subtitle {
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 2px;
  text-align: left;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-content {
  max-width: 90%;
  max-height: 75%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  animation: lightboxZoom 0.35s cubic-bezier(0.25, 1, 0.35, 1);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #f1f5f9;
  font-size: 44px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
  line-height: 1;
}

.lightbox-close:hover {
  color: #0284c7;
  transform: scale(1.1);
}

@keyframes lightboxZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Gallery responsive grid columns */
@media (max-width: 992px) {
  .fasilitas-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-height: 750px) {
  .fasilitas-gallery-grid {
    max-width: 760px;
    gap: 8px;
  }
  .gallery-card-title {
    font-size: 0.68rem;
  }
  .gallery-card-subtitle {
    font-size: 0.5rem;
    margin-bottom: 1px;
  }
  .gallery-card-overlay {
    padding: 0.35rem 0.55rem;
  }
}
