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

:root {
  /* Primary Color Palette */
  --primary-navy: #1E3A5F;
  --primary-royal: #2F80ED;
  --primary-sky: #4AA3D9;
  
  /* Accent Palette */
  --accent-yellow: #F4B400;
  --accent-orange: #C65A1E;
  
  /* Neutral Palette & Backgrounds */
  --dark-accent: #2B1B12;
  --bg-soft-white: #F8FAFC;
  --bg-light-gray: #EEF2F7;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --border-color: rgba(226, 232, 240, 0.8);
  
  /* Light Transparency/Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(30, 58, 95, 0.08);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 15px -3px rgba(30, 58, 95, 0.05), 0 4px 6px -2px rgba(30, 58, 95, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(30, 58, 95, 0.1), 0 10px 10px -5px rgba(30, 58, 95, 0.04);
  --shadow-glow: 0 0 25px rgba(47, 128, 237, 0.25);
  --shadow-yellow-glow: 0 0 25px rgba(244, 180, 0, 0.35);
  
  /* Typographical & Visual Settings */
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1280px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-soft-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
  width: 100%;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Styling */
section {
  padding: 5rem 0;
  position: relative;
}

.section-bg-gray {
  background-color: var(--bg-light-gray);
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Grid & Flex Utilities */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.grid-2, .grid-3, .grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Gradient Texts & Accent Badges */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-royal) 50%, var(--primary-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: rgba(47, 128, 237, 0.1);
  color: var(--primary-royal);
}

.badge-yellow {
  background-color: rgba(244, 180, 0, 0.15);
  color: var(--accent-orange);
}

/* Custom Page Transitions & Skeletal Loaders */
.page-fade-enter {
  opacity: 0;
  transform: translateY(10px);
  animation: pageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
  border: 2px solid var(--bg-soft-white);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-sky);
}
