/* IJACER - International Journal of Advanced Computer Engineering and Research */
/* Design System & Computer Engineering Styling */

:root {
  --primary-dark: #0F172A;
  --primary: #1E293B;
  --secondary: #2563EB;
  --secondary-light: #DBEAFE;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FEF3C7;
  --bg-light: #F8FAFC;
  --surface: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-color: #E2E8F0;
}

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

/* Universal Scholarly Text Justification */
p, 
li,
.guideline-section p, 
.academic-card p, 
.content-paragraph, 
.leading-relaxed,
article p,
main p,
section p {
  text-align: justify;
  text-justify: inter-word;
}

.text-justify {
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #2563EB;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1E293B;
}

/* Badges and Highlights */
.blue-badge {
  background-color: rgba(37, 99, 235, 0.1);
  color: #1D4ED8;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.amber-badge {
  background-color: rgba(245, 158, 11, 0.12);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.accent-line {
  height: 3.5px;
  width: 54px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent-amber) 100%);
  border-radius: 2px;
}

/* Visual Grid Background */
.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.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

/* Card Elevation & Hover Effects */
.academic-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}
.academic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Guidelines Sidebar Links */
.sidebar-link {
  position: relative;
  transition: all 0.2s ease;
}
.sidebar-link.active {
  color: var(--primary-dark);
  font-weight: 700;
  background-color: #DBEAFE;
  border-left: 4px solid var(--secondary);
}
.sidebar-link:hover:not(.active) {
  color: var(--secondary);
  background-color: #F1F5F9;
}

/* Micro-interactions & Buttons */
.btn-primary {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

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

.btn-amber {
  background-color: var(--accent-amber);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-amber:hover {
  background-color: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

/* Hero Slider Animation */
.hero-slide {
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
