/* ===== MODERN THEME & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #0b3d91;
  --primary-light: #1a5dbd;
  --primary-dark: #062557;
  --accent-color: #00a8e8;
  --success-color: #06a77d;
  --warning-color: #ff9800;
  --danger-color: #e63946;
  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* ===== TYPOGRAPHY ===== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--neutral-800);
  background-color: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p { 
  font-size: 0.95rem;
  color: var(--neutral-600);
}

small { font-size: 0.875rem; }

/* ===== BUTTONS ===== */
.btn {
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
}

.btn-secondary {
  background: var(--neutral-100);
  color: var(--primary-color);
  border: 1px solid var(--neutral-200);
  padding: 0.875rem 2rem;
}

.btn-secondary:hover {
  background: var(--neutral-200);
}

/* ===== NAVBAR ===== */
nav {
  background: white;
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--neutral-600);
  transition: var(--transition-base);
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-title {
  color: var(--primary-color);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.card-body {
  padding: 1.5rem;
}

/* ===== BADGES ===== */
.badge {
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
}

/* ===== SECTIONS ===== */
section {
  padding: 3.5rem 0;
}

section.bg-light {
  background-color: var(--neutral-50);
}

/* ===== CONTAINER & GRID ===== */
.container {
  max-width: 1200px;
}

.row {
  display: grid;
  gap: var(--spacing-xl);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  
  section {
    padding: 2rem 0;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  
  .nav-link {
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
}
