/* update sapta: CSS Modern dengan warna brand #6C757D, animasi & efek dinamis */

/* Ultra Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Override for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --brand: #6c757d;
  --brand-dark: #5a6268;
  --brand-light: #868e96;
  --brand-lighter: #adb5bd;
  --brand-gradient: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  --brand-gradient-glossy: linear-gradient(145deg, #7d868f 0%, #5a6268 100%);
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --border: #e5e7eb;
  --muted: #6b7280;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(108, 117, 125, 0.1);
  --shadow-md: 0 4px 6px rgba(108, 117, 125, 0.1);
  --shadow-lg: 0 10px 25px rgba(108, 117, 125, 0.15);
  --shadow-xl: 0 20px 40px rgba(108, 117, 125, 0.2);
  --transition: all 0.25s ease;
  --transition-fast: all 0.15s ease;
}

/* buttons */

/* Base Button Reset & Style */
button,
input[type="submit"],
input[type="button"],
.btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

/* Primary Glossy Button */
.btn-primary,
button[type="submit"]:not(.btn-secondary):not(.btn-danger):not(.btn-outline),
input[type="submit"]:not(.btn-secondary):not(.btn-danger) {
  background: var(--brand-gradient-glossy);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow:
    0 4px 15px rgba(108, 117, 125, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
button[type="submit"]:not(.btn-secondary):not(.btn-danger):not(.btn-outline)::before,
input[type="submit"]:not(.btn-secondary):not(.btn-danger)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.btn-primary:hover,
button[type="submit"]:not(.btn-secondary):not(.btn-danger):not(.btn-outline):hover,
input[type="submit"]:not(.btn-secondary):not(.btn-danger):hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(108, 117, 125, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:active,
button[type="submit"]:not(.btn-secondary):not(.btn-danger):not(.btn-outline):active,
input[type="submit"]:not(.btn-secondary):not(.btn-danger):active {
  transform: translateY(0);
  box-shadow:
    0 2px 10px rgba(108, 117, 125, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Secondary Glossy Button */
.btn-secondary {
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--brand-dark);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: linear-gradient(145deg, #ffffff 0%, #f1f3f4 100%);
  transform: translateY(-2px);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Danger Glossy Button */
.btn-danger {
  background: linear-gradient(145deg, #f87171 0%, #dc2626 100%);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow:
    0 4px 15px rgba(220, 38, 38, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-danger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(220, 38, 38, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Success Glossy Button */
.btn-success {
  background: linear-gradient(145deg, #34d399 0%, #059669 100%);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow:
    0 4px 15px rgba(5, 150, 105, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(5, 150, 105, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--brand);
  padding: 11px 23px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--brand);
  position: relative;
  overflow: hidden;
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Small Button */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Large Button */
.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* form elements */

/* Input, Textarea, Select */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  color: var(--text);
  transition: var(--transition);
  width: 100%;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(108, 117, 125, 0.1),
    inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Custom Select Arrow */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Custom Checkbox */
input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  vertical-align: middle;
}

input[type="checkbox"]:checked {
  background: var(--brand-gradient-glossy);
  border-color: var(--brand);
  box-shadow:
    0 2px 8px rgba(108, 117, 125, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.15);
}

/* Custom Radio */
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  vertical-align: middle;
}

input[type="radio"]:checked {
  border-color: var(--brand);
  box-shadow:
    0 2px 8px rgba(108, 117, 125, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient-glossy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.15);
}

/* File Input */
input[type="file"] {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 10px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

input[type="file"]:hover {
  border-color: var(--brand);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

input[type="file"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.1);
}

input[type="file"]::file-selector-button {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  margin-right: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient-glossy);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow:
    0 2px 8px rgba(108, 117, 125, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

input[type="file"]::file-selector-button:hover {
  background: linear-gradient(145deg, #868e96 0%, #6c757d 100%);
}

/* Range Input */
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 100%);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-gradient-glossy);
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(108, 117, 125, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow:
    0 4px 12px rgba(108, 117, 125, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--brand-gradient-glossy);
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(108, 117, 125, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* scrollbar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* scrollbar webkit */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #868e96 0%, #6c757d 50%, #5a6268 100%);
  border-radius: 10px;
  border: 3px solid #f1f1f1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7d868f 0%, #5a6268 50%, #495057 100%);
  border-color: #e8e8e8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 3px 6px rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #6c757d 0%, #495057 50%, #343a40 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-corner {
  background: #f1f1f1;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #6c757d #f1f1f1;
}

/* Smooth scrollbar on hover */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for specific containers */
.admin-main,
.modal-body,
.table-responsive {
  scrollbar-width: thin;
  scrollbar-color: #6c757d #f1f1f1;
}

.admin-main::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.admin-main::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

/* gpu optim */
.card,
.btn,
.news-card-modern,
.lecturer-card-modern,
.announcement-card-modern,
.publication-card-modern,
.hero-shape,
.cta-shape {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-shape,
  .cta-shape,
  .scroll-line {
    animation: none !important;
  }
}

/* Selection */
::selection {
  background: var(--brand);
  color: white;
}

::-moz-selection {
  background: var(--brand);
  color: white;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: var(--brand);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  background: rgba(108, 117, 125, 0.95);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand .logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.navbar-brand .logo-wrapper {
  display: inline-block;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 0 20px rgba(108, 117, 125, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  animation: floatLogo 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-4px) rotate(1deg);
  }

  50% {
    transform: translateY(-8px) rotate(0deg);
  }

  75% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

.navbar-brand .logo-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(134, 142, 150, 0.4),
      transparent);
  transform: rotate(45deg);
  animation: shine 4s linear infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

.navbar-brand .logo-wrapper::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg,
      rgba(108, 117, 125, 0.7),
      rgba(134, 142, 150, 0.6),
      rgba(90, 98, 104, 0.7),
      rgba(108, 117, 125, 0.6));
  background-size: 400% 400%;
  border-radius: 16px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  animation: gradientShift 6s ease infinite;
  filter: blur(10px);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.navbar-brand .logo:hover .logo-wrapper {
  transform: translateY(-10px) rotate(-3deg) scale(1.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 0 60px rgba(108, 117, 125, 0.7),
    0 0 100px rgba(134, 142, 150, 0.5);
  border-color: rgba(134, 142, 150, 0.9);
  animation: none;
}

.navbar-brand .logo:hover .logo-wrapper::after {
  opacity: 1;
}

.navbar-brand .logo-wrapper img {
  width: 45px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, filter;
}

.navbar-brand .logo:hover .logo-wrapper img {
  filter: drop-shadow(0 8px 20px rgba(108, 117, 125, 0.9)) drop-shadow(0 0 30px rgba(134, 142, 150, 0.8)) drop-shadow(0 0 40px rgba(90, 98, 104, 0.6));
  transform: rotate(360deg) scale(1.15);
}

.navbar-brand .logo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.navbar-brand .logo-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(108, 117, 125, 0.2);
  line-height: 1.2;
  text-transform: uppercase;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  background: linear-gradient(90deg, #fff, #868e96, #fff, #868e96, #fff);
  background-size: 300% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShimmer 4s linear infinite;
  will-change: transform, letter-spacing;
}

@keyframes textShimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 300% center;
  }
}

.navbar-brand .logo:hover .logo-title {
  letter-spacing: 3.5px;
  text-shadow: 0 4px 15px rgba(108, 117, 125, 0.8),
    0 0 35px rgba(134, 142, 150, 0.6), 0 0 60px rgba(90, 98, 104, 0.5);
  transform: translateX(8px) scale(1.02);
}

.navbar-brand .logo-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.85;
  will-change: transform, letter-spacing, opacity;
}

.navbar-brand .logo:hover .logo-subtitle {
  letter-spacing: 2.5px;
  color: rgba(134, 142, 150, 1);
  text-shadow: 0 3px 10px rgba(108, 117, 125, 0.7),
    0 0 20px rgba(134, 142, 150, 0.5), 0 0 30px rgba(90, 98, 104, 0.4);
  transform: translateX(10px) scale(1.03);
  opacity: 1;
}

@keyframes glitchText {

  0%,
  100% {
    transform: translateX(5px);
  }

  25% {
    transform: translateX(3px) skewX(-2deg);
  }

  50% {
    transform: translateX(7px) skewX(2deg);
  }

  75% {
    transform: translateX(4px) skewX(-1deg);
  }
}

.navbar-brand .logo-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.85;
}

.navbar-brand .logo:hover .logo-subtitle {
  letter-spacing: 2px;
  color: rgba(255, 215, 0, 0.95);
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5),
    0 0 15px rgba(138, 43, 226, 0.3);
  transform: translateX(8px);
  opacity: 1;
}

@media (max-width: 768px) {
  .navbar-brand .logo-title {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .navbar-brand .logo-subtitle {
    font-size: 0.6rem;
  }

  .navbar-brand .logo-wrapper img {
    width: 35px;
  }
}

.navbar-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-menu.active {
    display: block;
  }
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.card-image {
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-title a {
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(to right, var(--brand), var(--brand)) no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-size 0.3s ease;
}

.card-title a:hover {
  color: var(--brand);
  background-size: 100% 2px;
}

.card-meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.card-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

/* Grids */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.lecturers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out;
}

.lead {
  font-size: 1.25rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* Page Header */
.page-header {
  background: var(--bg-gray);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--brand-light);
  color: white;
}

.badge-success {
  background: var(--success);
}

.badge-danger {
  background: var(--danger);
}

.badge-warning {
  background: var(--warning);
}

.badge-info {
  background: var(--info);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  background: var(--bg-gray);
  font-weight: 600;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
}

.form-text {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.required {
  color: var(--danger);
}

/* Pagination */
.pagination {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.pagination li a,
.pagination li span {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}

.pagination li.active span {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.pagination li.disabled span {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Flash Messages */
.flash-message {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 100;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.flash-success {
  background: var(--success);
  color: white;
}

.flash-error {
  background: var(--danger);
  color: white;
}

.flash-warning {
  background: var(--warning);
  color: white;
}

.flash-info {
  background: var(--info);
  color: white;
}

.flash-close {
  float: right;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Login Page */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-gray);
}

.login-box {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-footer {
  text-align: center;
  margin-top: 1rem;
}

/* Admin Layout */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  background: var(--text);
  color: white;
  padding: 2rem 0;
}

.sidebar-header {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-main {
  flex: 1;
  background: var(--bg-gray);
}

.admin-header {
  background: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.admin-content {
  padding: 2rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

.separator {
  margin: 0 0.5rem;
}

/* hero */

.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 50%, #495057 100%);
  overflow: hidden;
  color: white;
}

/* Animated gradient overlay */
.hero-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(108, 117, 125, 0.8) 0%,
      rgba(90, 98, 104, 0.8) 25%,
      rgba(73, 80, 87, 0.8) 50%,
      rgba(90, 98, 104, 0.8) 75%,
      rgba(108, 117, 125, 0.8) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.6;
  z-index: 1;
}

/* Cyber grid effect */
.cyber-grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: floatShape 20s ease-in-out infinite;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.12),
      transparent);
  animation: floatShape 25s ease-in-out infinite;
}

.hero-shape-2 {
  width: 450px;
  height: 450px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.1),
      transparent);
  animation: floatShape 30s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.08),
      transparent);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.7;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

/* floating icons */

.tech-icons-float {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.tech-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  animation: float-smooth 20s ease-in-out infinite;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(2px);
}

.tech-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.tech-icon:hover {
  color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2) translateY(-8px);
  filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.3));
}

.tech-icon:hover::after {
  opacity: 1;
  animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Positioning each icon */
.tech-icon-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.tech-icon-2 {
  top: 15%;
  right: 8%;
  animation-delay: -3s;
}

.tech-icon-3 {
  top: 60%;
  left: 10%;
  animation-delay: -6s;
}

.tech-icon-4 {
  top: 70%;
  right: 15%;
  animation-delay: -9s;
}

.tech-icon-5 {
  top: 35%;
  left: 15%;
  animation-delay: -12s;
}

.tech-icon-6 {
  top: 45%;
  right: 10%;
  animation-delay: -15s;
}

.tech-icon-7 {
  top: 85%;
  left: 20%;
  animation-delay: -18s;
}

.tech-icon-8 {
  top: 25%;
  right: 20%;
  animation-delay: -2s;
}

/* Smooth floating animation */
@keyframes float-smooth {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) translateX(10px) rotate(5deg);
  }

  50% {
    transform: translateY(-10px) translateX(-10px) rotate(-5deg);
  }

  75% {
    transform: translateY(-25px) translateX(5px) rotate(3deg);
  }
}

/* Pulse glow effect for tech vibe */
@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }

  50% {
    opacity: 0.25;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
  }
}

.tech-icon-1,
.tech-icon-4,
.tech-icon-7 {
  animation: float-smooth 20s ease-in-out infinite,
    pulse-glow 4s ease-in-out infinite;
}

.tech-icon-2,
.tech-icon-5,
.tech-icon-8 {
  animation: float-smooth 25s ease-in-out infinite,
    pulse-glow 5s ease-in-out infinite;
}

.tech-icon-3,
.tech-icon-6 {
  animation: float-smooth 22s ease-in-out infinite,
    pulse-glow 4.5s ease-in-out infinite;
}

/* particles */

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: particle-float 15s linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-duration: 12s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-duration: 15s;
  animation-delay: -2s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-duration: 18s;
  animation-delay: -4s;
}

.particle:nth-child(4) {
  left: 40%;
  animation-duration: 14s;
  animation-delay: -6s;
}

.particle:nth-child(5) {
  left: 50%;
  animation-duration: 16s;
  animation-delay: -8s;
}

.particle:nth-child(6) {
  left: 60%;
  animation-duration: 13s;
  animation-delay: -10s;
}

.particle:nth-child(7) {
  left: 70%;
  animation-duration: 17s;
  animation-delay: -12s;
}

.particle:nth-child(8) {
  left: 80%;
  animation-duration: 14s;
  animation-delay: -14s;
}

.particle:nth-child(9) {
  left: 90%;
  animation-duration: 19s;
  animation-delay: -16s;
}

.particle:nth-child(10) {
  left: 15%;
  animation-duration: 11s;
  animation-delay: -18s;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* Hide particles on mobile for performance */
@media (max-width: 768px) {
  .particle:nth-child(n + 6) {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: contentFadeIn 1s ease-out;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
  animation: titleSlideIn 0.8s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Styling untuk "Selamat Datang di" - Tech font */
.hero-title-intro {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 8px;
  font-family: "Rajdhani", "Exo 2", sans-serif;
  text-transform: uppercase;
  opacity: 0.92;
  display: block;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeInDown 0.8s ease-out;
  margin-bottom: 0.3rem;
}

/* Efek garis bawah animasi untuk intro text */
.hero-title-intro::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  animation: lineExpand 1.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 0.92;
    transform: translateY(0);
  }
}

@keyframes lineExpand {
  from {
    width: 0%;
    opacity: 0;
  }

  to {
    width: 60%;
    opacity: 1;
  }
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-highlight {
  color: #ffffff;
  font-family: "Audiowide", "Orbitron", sans-serif;
  font-weight: 400;
  font-size: 4.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  text-shadow: none;
  letter-spacing: 12px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding: 0 15px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero-title-highlight::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: translateY(-50%);
  animation: scanline 2s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes scanline {
  0% {
    opacity: 0;
    transform: translateX(-100%) translateY(-50%);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(100%) translateY(-50%);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  opacity: 0.95;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out 0.3s backwards;
  color: rgba(255, 255, 255, 0.98);
}

.hero-description {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-out 0.5s backwards;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.7s backwards;
}

.hero-buttons .btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn svg {
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover svg {
  transform: translateX(5px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: white;
  color: var(--brand);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--brand);
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.95);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0);
  font-size: 0;
  z-index: 3;
  animation: fadeIn 1s ease-out 1s backwards;
}

.scroll-line {
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), transparent);
  margin: 0 auto;
  animation: scrollDown 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0.3));
  border-radius: 10px;
  animation: scrollPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes scrollDown {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-25px);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(60px);
    opacity: 0;
  }
}

/* brackets deco */

.hero-brackets {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  font-family: "Courier New", monospace;
  pointer-events: none;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  animation: bracketFloat 4s ease-in-out infinite;
}

.hero-bracket-left {
  left: 2%;
  animation: bracketFloatLeft 4s ease-in-out infinite;
}

.hero-bracket-right {
  right: 2%;
  animation: bracketFloatRight 4s ease-in-out infinite;
}

/* Glowing effect on brackets */
.hero-brackets::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  color: rgba(108, 117, 125, 0.8);
}

@keyframes bracketFloatLeft {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
    opacity: 0.08;
    text-shadow: 0 0 30px rgba(108, 117, 125, 0.3);
  }

  50% {
    transform: translateY(-50%) translateX(10px);
    opacity: 0.15;
    text-shadow: 0 0 50px rgba(108, 117, 125, 0.5);
  }
}

@keyframes bracketFloatRight {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
    opacity: 0.08;
    text-shadow: 0 0 30px rgba(108, 117, 125, 0.3);
  }

  50% {
    transform: translateY(-50%) translateX(-10px);
    opacity: 0.15;
    text-shadow: 0 0 50px rgba(108, 117, 125, 0.5);
  }
}

/* Animated dots around brackets */
.hero-bracket-left::after,
.hero-bracket-right::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(108, 117, 125, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(108, 117, 125, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-bracket-left::after {
  right: -30px;
  top: 50%;
}

.hero-bracket-right::after {
  left: -30px;
  top: 50%;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-modern {
    min-height: 90vh;
  }

  .hero-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
    gap: 0.3rem;
  }

  .hero-title-intro {
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-bottom: 0.2rem;
  }

  .hero-title-intro::after {
    width: 50%;
  }

  .hero-title-highlight {
    letter-spacing: 4px;
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Hide some tech icons on mobile for better performance */
  .tech-icon-3,
  .tech-icon-5,
  .tech-icon-7,
  .tech-icon-8 {
    display: none;
  }

  /* Make remaining icons smaller on mobile */
  .tech-icon {
    width: 35px;
    height: 35px;
  }

  .tech-icon svg {
    width: 35px;
    height: 35px;
  }

  /* Smaller shapes on mobile */
  .hero-shape-1 {
    width: 350px;
    height: 350px;
  }

  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }

  .hero-shape-3 {
    width: 180px;
    height: 180px;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }

  .scroll-line {
    height: 45px;
  }

  /* Smaller brackets on mobile */
  .hero-brackets {
    font-size: 6rem;
  }

  .hero-bracket-left {
    left: -5%;
  }

  .hero-bracket-right {
    right: -5%;
  }

  .hero-bracket-left::after,
  .hero-bracket-right::after {
    display: none;
  }
}

/* stats section */

.stats-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8d9b8 50%, #f5f0e8 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%,
      rgba(194, 163, 96, 0.15) 0%,
      transparent 50%),
    radial-gradient(circle at 80% 50%,
      rgba(212, 175, 55, 0.12) 0%,
      transparent 50%);
  animation: denyutNadi 8s ease-in-out infinite;
}

@keyframes denyutNadi {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(160, 130, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(212, 175, 55, 0.15),
      transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card-glow {
  animation: animasiKartuBersinar 3s ease-in-out infinite;
}

.stat-card-glow:nth-child(1) {
  animation-delay: 0s;
}

.stat-card-glow:nth-child(2) {
  animation-delay: 0.5s;
}

.stat-card-glow:nth-child(3) {
  animation-delay: 1s;
}

.stat-card-glow:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes animasiKartuBersinar {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(160, 130, 60, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 rgba(212, 175, 55, 0);
  }

  50% {
    box-shadow: 0 8px 32px rgba(160, 130, 60, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 40px rgba(212, 175, 55, 0.2),
      0 0 80px rgba(194, 163, 96, 0.1);
  }
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 60px rgba(160, 130, 60, 0.2),
    0 0 60px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stat-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #d4af37 0%, #c2a360 50%, #b8860b 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
  box-shadow: 0 10px 40px rgba(180, 140, 50, 0.3),
    0 0 30px rgba(212, 175, 55, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: animasiIkonBercahaya 3s ease-in-out infinite;
  filter: brightness(1.1);
}

.stat-icon i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes animasiIkonBercahaya {

  0%,
  100% {
    box-shadow: 0 10px 40px rgba(180, 140, 50, 0.3),
      0 0 30px rgba(212, 175, 55, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.4),
      inset 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 10px 50px rgba(180, 140, 50, 0.45),
      0 0 50px rgba(212, 175, 55, 0.25), 0 0 80px rgba(194, 163, 96, 0.15),
      inset 0 2px 0 rgba(255, 255, 255, 0.5),
      inset 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
}

.stat-card:hover .stat-icon {
  transform: scale(1.15) rotateY(360deg);
  transition: transform 0.6s ease;
  filter: brightness(1.2);
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg,
      #8b6914 0%,
      #b8860b 20%,
      #d4af37 40%,
      #8b6914 60%,
      #c2a360 80%,
      #8b6914 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
  animation: pergeseranGradienTerang 4s ease infinite;
  letter-spacing: 2px;
  filter: drop-shadow(0 2px 4px rgba(139, 105, 20, 0.3));
  position: relative;
}

@keyframes pergeseranGradienTerang {

  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 2px 4px rgba(139, 105, 20, 0.3));
  }

  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 2px 6px rgba(139, 105, 20, 0.5));
  }
}

.stat-label {
  font-size: 1.15rem;
  color: #5a4a2a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  opacity: 0.95;
}

/* section headers */

.section-header-modern {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--brand-gradient);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header-modern .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* announcements */

.announcements-section {
  background: linear-gradient(to bottom, white, var(--bg-gray));
}

.announcements-modern {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.announcement-card-modern {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--danger);
  transition: var(--transition);
  position: relative;
}

.announcement-card-modern:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.announcement-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.announcement-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.announcement-content {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.announcement-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* news */

.news-section-modern {
  margin-top: 4rem;
}

.news-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card-modern {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.news-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--bg-gray);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-modern:hover .news-image img {
  transform: scale(1.08);
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 100%);
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.news-date,
.news-author {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.news-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-title a {
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(to right, var(--brand), var(--brand)) no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.3s ease;
  display: inline;
}

.news-title a:hover {
  color: var(--brand);
  background-size: 100% 2px;
}

.news-excerpt {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.news-link:hover {
  gap: 0.75rem;
  color: var(--brand-dark);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
}

.empty-state svg {
  margin-bottom: 1rem;
}

/* lecturers */

.lecturers-section {
  background: linear-gradient(135deg, var(--bg-gray) 0%, white 100%);
}

.lecturers-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.lecturer-card-modern {
  perspective: 1000px;
  height: 400px;
}

.lecturer-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.lecturer-card-modern:hover .lecturer-card-inner {
  transform: rotateY(180deg);
}

.lecturer-card-front,
.lecturer-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lecturer-card-front {
  background: white;
  border: 1px solid var(--border);
}

.lecturer-card-back {
  background: var(--brand-gradient);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lecturer-photo-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bg-gray);
}

.lecturer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lecturer-card-modern:hover .lecturer-photo {
  transform: scale(1.05);
}

.lecturer-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.5) 100%);
}

.lecturer-photo-placeholder {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gray);
  color: var(--muted);
}

.lecturer-info {
  padding: 1.5rem;
  text-align: center;
}

.lecturer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.lecturer-title {
  font-size: 0.95rem;
  color: var(--text-light);
}

.expertise-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.expertise-tags-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.expertise-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* publications */

.publications-section {
  background: white;
}

.publications-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.publication-card-modern {
  display: flex;
  gap: 1.5rem;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.publication-card-modern:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--brand-dark);
}

.publication-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.publication-content {
  flex: 1;
}

.publication-header-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.publication-indexer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.publication-year-badge {
  padding: 0.35rem 0.75rem;
  background: rgba(108, 117, 125, 0.1);
  color: var(--brand);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
}

.publication-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.publication-title-modern a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.publication-title-modern a:hover {
  color: var(--brand);
}

.publication-title-modern svg {
  opacity: 0.5;
  transition: var(--transition);
}

.publication-title-modern a:hover svg {
  opacity: 1;
  transform: translate(3px, -3px);
}

.publication-authors-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.publication-journal-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.publication-journal-modern em {
  font-style: italic;
}

/* cta section */

.cta-section-modern {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.cta-shape-2 {
  width: 250px;
  height: 250px;
  bottom: -125px;
  left: -75px;
}

.cta-shape-3 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 20%;
  opacity: 0.3;
}

.cta-content-modern {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-buttons-modern {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons-modern .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-title {
    font-size: 1.8rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons-modern {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons-modern .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* aos fallback */

[data-aos] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade"] {
  transform: none;
}

[data-aos="zoom-in"] {
  transform: scale(0.95);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos].aos-animate,
[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade"].aos-animate {
  opacity: 1;
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Section Alternate Background */
.section-alt {
  background: linear-gradient(to bottom, var(--bg-gray), var(--bg));
  position: relative;
  overflow: hidden;
}

/* Lecturer Cards */
.lecturer-photo {
  background: var(--bg-gray);
}

.lecturer-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.expertise-tags {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Publications List */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-card {
  border-left: 4px solid var(--brand);
  transition: var(--transition);
}

.publication-card:hover {
  border-left-color: var(--brand-dark);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.publication-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.publication-year {
  font-weight: 600;
  color: var(--brand);
}

.publication-authors {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.publication-journal {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: var(--brand-gradient);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Announcements Highlight */
.announcements-highlight {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  border-left: 4px solid var(--danger);
}

.announcement-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.announcement-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.announcement-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.announcement-meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.announcement-content {
  color: var(--text-light);
  line-height: 1.7;
}

/* animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ultra smooth scroll reveal class */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }
}

/* Scroll Reveal Classes */
.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

/* Hover Effects - Simplified */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* Smooth Transitions untuk semua interactive elements */
a,
button,
.card,
.btn,
input,
textarea,
select {
  transition: var(--transition);
}

/* effects */
@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.gradient-animated {
  background: linear-gradient(270deg, #6c757d, #868e96, #6c757d, #5a6268);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

/* Neon glow effect for CTAs */
@keyframes neon-pulse {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(108, 117, 125, 0.5),
      0 0 10px rgba(108, 117, 125, 0.3), 0 0 15px rgba(108, 117, 125, 0.2);
  }

  50% {
    box-shadow: 0 0 10px rgba(108, 117, 125, 0.8),
      0 0 20px rgba(108, 117, 125, 0.5), 0 0 30px rgba(108, 117, 125, 0.3);
  }
}

.btn-primary:hover {
  animation: neon-pulse 2s ease-in-out infinite;
}

/* Glassmorphism effect for modern cards */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Parallax layers for depth */
.parallax-layer {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* Shimmer loading effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Cyber grid background pattern */
.cyber-grid {
  background-image: linear-gradient(rgba(108, 117, 125, 0.05) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(108, 117, 125, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: -1px -1px;
}

/* Gradient Text */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating Animation - Optimized */
@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* Improved Card Hover - Simplified */
.card {
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card:hover .card-title {
  color: var(--brand);
}

/* Badge Modern */
.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 50px;
  transition: var(--transition);
}

/* Button Ripple Effect - Removed for performance */

/* Improved Form Focus */
input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
  outline: none;
}

/* Parallax Section - Removed for performance */

/* Stats Counter Animation - menggunakan styling dari section utama */

/* Timeline Modern */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid white;
  box-shadow: var(--shadow);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}

@media print {

  .navbar,
  .footer,
  .btn {
    display: none;
  }
}

/* article detail */
.breadcrumb-nav {
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  font-size: 1.25rem;
  color: var(--border);
  margin-left: 0.5rem;
}

.breadcrumb-list li:last-child {
  color: var(--brand);
  font-weight: 500;
}

.breadcrumb-list a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--brand);
}

.breadcrumb-list svg {
  opacity: 0.7;
}

/* Article Layout */
.article-detail-modern {
  padding: 2rem 0 4rem;
  background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 50%);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-top: 2rem;
}

/* Main Content */
.article-main {
  min-width: 0;
}

/* Article Header */
.article-header-modern {
  margin-bottom: 2.5rem;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg,
      rgba(108, 117, 125, 0.1),
      rgba(108, 117, 125, 0.05));
  border: 1px solid rgba(108, 117, 125, 0.15);
  border-radius: var(--radius);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.article-category-badge svg {
  opacity: 0.8;
}

.article-title-modern {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.article-meta-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9375rem;
}

.meta-item svg {
  color: var(--brand);
  flex-shrink: 0;
  opacity: 0.8;
}

.meta-item time,
.meta-item span {
  font-weight: 500;
}

/* Featured Image */
.article-featured-image {
  position: relative;
  width: 100%;
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-gray);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.article-featured-image:hover img {
  transform: scale(1.02);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Article Content */
.article-content-modern {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  margin: 2.5rem 0;
}

.article-content-modern p {
  margin-bottom: 1.5rem;
}

.article-content-modern h2,
.article-content-modern h3,
.article-content-modern h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.article-content-modern h2 {
  font-size: 1.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--brand);
}

.article-content-modern h3 {
  font-size: 1.5rem;
}

.article-content-modern h4 {
  font-size: 1.25rem;
}

.article-content-modern ul,
.article-content-modern ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content-modern li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.article-content-modern blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg,
      rgba(108, 117, 125, 0.05),
      rgba(108, 117, 125, 0.02));
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

.article-content-modern img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.article-content-modern a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(108, 117, 125, 0.3);
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.article-content-modern a:hover {
  color: var(--brand-dark);
  text-decoration-color: var(--brand-dark);
}

.article-content-modern code {
  padding: 0.25rem 0.5rem;
  background: rgba(108, 117, 125, 0.08);
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "Courier New", monospace;
  color: var(--brand-dark);
}

.article-content-modern pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.article-content-modern pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Share Section */
.article-share-section {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg,
      rgba(108, 117, 125, 0.05),
      rgba(108, 117, 125, 0.02));
  border: 2px dashed rgba(108, 117, 125, 0.2);
  border-radius: var(--radius-lg);
}

.share-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.share-title svg {
  color: var(--brand);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-facebook {
  background: #1877f2;
  color: white;
}

.share-facebook:hover {
  background: #0c63d4;
}

.share-twitter {
  background: #1da1f2;
  color: white;
}

.share-twitter:hover {
  background: #0d8bd9;
}

.share-whatsapp {
  background: #25d366;
  color: white;
}

.share-whatsapp:hover {
  background: #1fb855;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.sidebar-card-header svg {
  color: var(--brand);
  flex-shrink: 0;
}

.sidebar-card-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.related-news-modern {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.related-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-link {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.related-link:hover {
  transform: translateX(4px);
}

.related-link:hover .related-title {
  color: var(--brand);
}

.related-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow);
}

.related-content {
  flex: 1;
  min-width: 0;
}

.related-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.related-date svg {
  opacity: 0.6;
  flex-shrink: 0;
}

.sidebar-btn-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.sidebar-btn-all:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sidebar-btn-all svg {
  transition: transform 0.3s ease;
}

.sidebar-btn-all:hover svg {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-title-modern {
    font-size: 1.875rem;
  }

  .article-meta-modern {
    gap: 1rem;
  }

  .meta-item {
    font-size: 0.875rem;
  }

  .article-content-modern {
    font-size: 1rem;
  }

  .article-content-modern h2 {
    font-size: 1.5rem;
  }

  .article-content-modern h3 {
    font-size: 1.25rem;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    width: 100%;
    justify-content: center;
  }

  .breadcrumb-list {
    font-size: 0.8125rem;
  }
}