/* ==========================================================================
   UniversityJano.com - Design System & Modern CSS Framework
   Brand: Sahi University Jano, Sahi Career Chuno
   Color Theme matched to Official Logo: Deep Navy (#0B1B3D), Royal Blue (#1A56DB), Vibrant Orange (#FF7A00)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Navy Colors (from Logo Text "University" & Graduation Cap) */
  --navy-950: #060e22;
  --navy-900: #0b1b3d;
  --navy-800: #0d224e;
  --navy-700: #132f6b;
  --navy-600: #1a3d8b;
  
  /* Brand Royal Blue Colors */
  --blue-600: #1a56db;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  /* Brand Vibrant Orange Colors (from Logo "Jano", Paper Plane & Cap Tassel) */
  --orange-600: #e06000;
  --orange-500: #ff7a00;
  --orange-400: #ff9100;
  --orange-300: #ffa500;
  --orange-100: #ffedd5;
  --orange-50:  #fff7ed;

  /* Accent Emerald (for UGC-DEB Verified Badges & Placements) */
  --accent-emerald: #059669;
  --accent-emerald-light: #10b981;
  --accent-emerald-bg: #ecfdf5;

  /* Primary Theme Aliases */
  --primary-900: var(--navy-900);
  --primary-800: var(--navy-800);
  --primary-700: var(--navy-700);
  --primary-600: var(--blue-600);
  --primary-500: var(--blue-500);

  /* Neutrals & Surfaces */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-dark-card: #0b1b3d;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: var(--orange-500);

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 2px 0 rgba(11, 27, 61, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(11, 27, 61, 0.08), 0 1px 2px -1px rgba(11, 27, 61, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(11, 27, 61, 0.08), 0 2px 4px -2px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(11, 27, 61, 0.08), 0 4px 6px -4px rgba(11, 27, 61, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(11, 27, 61, 0.12), 0 8px 10px -6px rgba(11, 27, 61, 0.08);
  --shadow-glow-orange: 0 0 25px rgba(255, 122, 0, 0.35);
  --shadow-glow-blue: 0 0 25px rgba(26, 86, 219, 0.25);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--orange-500);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-full);
  color: var(--orange-600);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-tag.blue {
  background-color: var(--blue-50);
  border-color: var(--blue-100);
  color: var(--blue-600);
}

.section-tag.green {
  background-color: var(--accent-emerald-bg);
  border-color: #a7f3d0;
  color: var(--accent-emerald);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  line-height: 1;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

/* Brand Primary Button (Vibrant Orange Gradient from Logo) */
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.45);
  transform: translateY(-1px);
}

/* Navy Button */
.btn-navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 27, 61, 0.3);
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  box-shadow: 0 6px 20px rgba(11, 27, 61, 0.4);
  transform: translateY(-1px);
}

/* Blue Button */
.btn-blue {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--navy-700) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.3);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  transform: translateY(-1px);
}

/* Accent Emerald Button */
.btn-accent {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-emerald-light) 0%, var(--accent-emerald) 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--navy-900);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--orange-50);
  border-color: var(--orange-400);
  color: var(--orange-600);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  line-height: 1.2;
}

.badge-orange {
  background-color: var(--orange-100);
  color: var(--orange-600);
  border: 1px solid #fed7aa;
}

.badge-success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-blue {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.badge-purple {
  background-color: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.badge-amber {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-danger {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Floating Compare Tray */
.compare-floating-tray {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: rgba(11, 27, 61, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 990;
  transition: transform 350ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.compare-floating-tray.active {
  transform: translateX(-50%) translateY(0);
}

.compare-tray-thumbnails {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--orange-500);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  position: relative;
}

.compare-thumb-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange-400);
}
