/* IJMRI - International Journal of Multidisciplinary Research and Innovation */
/* Design System & Multidisciplinary Academic Styling */

:root {
  --primary-dark: #1E1B4B;
  --primary: #312E81;
  --secondary: #4338CA;
  --secondary-light: #E0E7FF;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FEF3C7;
  --accent-rose: #E11D48;
  --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: #4338CA;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #312E81;
}

/* Badges and Highlights */
.indigo-badge {
  background-color: rgba(67, 56, 202, 0.1);
  color: #3730A3;
  border: 1px solid rgba(67, 56, 202, 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;
}

/* Multidisciplinary Visual Grid Background */
.hero-grid-bg {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(67, 56, 202, 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(49, 46, 129, 0.12);
  border-color: rgba(67, 56, 202, 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: #E0E7FF;
  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, #312E81 0%, #1E1B4B 100%);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F0E2A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 27, 75, 0.25);
}

.btn-indigo {
  background-color: var(--secondary);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-indigo:hover {
  background-color: #3730A3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(67, 56, 202, 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);
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}
