/* SRJ - Synergy Research Journal */
/* Design System & Synergistic Multidisciplinary Styling */

:root {
  --primary-dark: #134E4A;
  --primary: #0F766E;
  --secondary: #0D9488;
  --secondary-light: #CCFBF1;
  --accent-purple: #7C3AED;
  --accent-purple-light: #EDE9FE;
  --accent-gold: #D97706;
  --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: #0D9488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0F766E;
}

/* Badges and Highlights */
.teal-badge {
  background-color: rgba(13, 148, 136, 0.1);
  color: #0F766E;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.purple-badge {
  background-color: rgba(124, 58, 237, 0.1);
  color: #6D28D9;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

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

/* Synergistic Visual Grid Background */
.hero-grid-bg {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 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(15, 118, 110, 0.12);
  border-color: rgba(13, 148, 136, 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: #CCFBF1;
  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, #0F766E 0%, #134E4A 100%);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #134E4A 0%, #042F2C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19, 78, 74, 0.25);
}

.btn-teal {
  background-color: var(--secondary);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-teal:hover {
  background-color: #0F766E;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.btn-purple {
  background-color: var(--accent-purple);
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.btn-purple:hover {
  background-color: #6D28D9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 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;
}
