/* UPGS Punukkonnoor - Minimalist White Editorial Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@700;800;900&display=swap');

:root {
  /* Primary Color Palette */
  --primary-navy:     #0a192f; /* Deep Navy Text */
  --brand-blue:       #1e3a8a;
  --accent-coral:     #ff4e31; /* Vibrant Accent */
  --accent-blue:      #2563eb;
  
  /* Rich Category Color Accents */
  --accent-gold:      #d97706;
  --accent-emerald:   #059669;
  --accent-purple:    #7c3aed;
  --accent-cyan:      #0284c7;
  --accent-rose:      #e11d48;

  /* Vibrant Multi-Stop Linear Gradients */
  --gradient-gold:    linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --gradient-blue:    linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  --gradient-purple:  linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #5b21b6 100%);
  --gradient-coral:   linear-gradient(135deg, #ff6b4a 0%, #ff4e31 50%, #dc2626 100%);
  --gradient-cyan:    linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
  --gradient-amber:   linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);

  /* Colored Background Tints */
  --bg-white:         #ffffff;
  --bg-slate:         #f8fafc;
  --bg-card:          #ffffff;
  --bg-tint-gold:     #fffbeb;
  --bg-tint-blue:     #eff6ff;
  --bg-tint-emerald:  #ecfdf5;
  --bg-tint-purple:   #f5f3ff;
  --bg-tint-coral:    #fff1f2;

  /* Borders & Glows */
  --border-light:     #e2e8f0;
  --border-subtle:    #f1f5f9;
  --gold-border:      #fde68a;
  --blue-border:      #bfdbfe;
  --emerald-border:   #a7f3d0;
  --purple-border:    #ddd6fe;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Radius & Elevation */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-pill:9999px;

  --shadow-sm: 0 4px 14px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 12px 32px rgba(10, 25, 47, 0.09);
  --shadow-lg: 0 24px 60px rgba(10, 25, 47, 0.15);
  --shadow-glow-gold: 0 10px 25px rgba(217, 119, 6, 0.25);
  --shadow-glow-blue: 0 10px 25px rgba(37, 99, 235, 0.25);
  --shadow-glow-emerald: 0 10px 25px rgba(5, 150, 105, 0.25);
  --shadow-glow-purple: 0 10px 25px rgba(124, 58, 237, 0.25);

  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--primary-navy);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Badge Utilities */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background-color: var(--bg-tint-gold);
  color: var(--accent-gold);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
}

.pill-badge.badge-blue {
  background-color: var(--bg-tint-blue);
  color: var(--accent-blue);
  border-color: var(--blue-border);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.pill-badge.badge-emerald {
  background-color: var(--bg-tint-emerald);
  color: var(--accent-emerald);
  border-color: var(--emerald-border);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

.pill-badge.badge-purple {
  background-color: var(--bg-tint-purple);
  color: var(--accent-purple);
  border-color: var(--purple-border);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.12);
}

/* Background Gradients */
.bg-gradient-soft {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 50%, #f8fafc 100%);
}

.bg-gradient-warm {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 50%, #ffffff 100%);
}

.bg-gradient-cool {
  background: linear-gradient(180deg, #f8fafc 0%, #f5f3ff 50%, #f8fafc 100%);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem auto;
}

.section-header .tag {
  color: var(--accent-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: var(--bg-tint-blue);
  border-radius: var(--radius-pill);
  border: 1px solid var(--blue-border);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #64748b;
  font-size: 1.1rem;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 2rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
}
