/* IJACER - Custom Styling & Design System */

:root {
  --primary: #163A5F;
  --secondary: #2563EB;
  --accent: #C89B3C;
  --accent-light: #FBF4E8;
  --bg-light: #F8FAFC;
  --surface: #FFFFFF;
  --text-main: #172033;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Accent Gold Highlights */
.gold-badge {
  background-color: rgba(200, 155, 60, 0.1);
  color: #9E7422;
  border: 1px solid rgba(200, 155, 60, 0.3);
}

.gold-accent-line {
  height: 3px;
  width: 48px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(200, 155, 60, 0.2) 100%);
  border-radius: 2px;
}

/* Hero Network Graphic (Pure CSS & SVG Grid Visual) */
.hero-grid-bg {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

.hero-node {
  position: relative;
  transition: all 0.3s ease;
}

.hero-node::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.2);
  animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* Card Hover Elevation */
.academic-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.academic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(22, 58, 95, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Timeline Vertical Line */
.timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--border-color);
}
@media (min-width: 768px) {
  .timeline-line-center::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Guidelines Sidebar Nav */
.sidebar-link {
  position: relative;
  transition: all 0.2s ease;
}
.sidebar-link.active {
  color: var(--primary);
  font-weight: 600;
  background-color: #EFF6FF;
  border-left: 3px solid var(--secondary);
}
.sidebar-link:hover:not(.active) {
  color: var(--secondary);
  background-color: #F8FAFC;
}

/* Clean Button Micro-interactions */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: #0F2A47;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 58, 95, 0.25);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #FFFFFF;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background-color: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-gold {
  background-color: var(--accent);
  color: #FFFFFF;
  transition: all 0.2s ease;
}
.btn-gold:hover {
  background-color: #B2872F;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.3);
}
