/* ===================================
   The Policy Hub - Ultra Premium Design System V2
   Sophisticated Teal & Indigo Theme
   =================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ===================================
   Enhanced CSS Variables & Design Tokens
   =================================== */
:root {
  /* Primary Colors - Sophisticated Teal to Indigo */
  --primary-start: #0d9488;
  --primary-mid: #06b6d4;
  --primary-end: #6366f1;
  --primary-dark: #0f766e;
  --primary-light: #5eead4;
  --primary-ultra-light: #ccfbf1;
  
  /* Secondary Colors - Rich Indigo & Purple */
  --secondary-start: #4f46e5;
  --secondary-mid: #7c3aed;
  --secondary-end: #a855f7;
  --secondary-dark: #4338ca;
  
  /* Accent Colors - Vibrant & Modern */
  --accent-gold: #fbbf24;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  
  /* Neutral Colors - Refined Grays */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-mid) 50%, var(--primary-end) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-start) 0%, var(--secondary-mid) 50%, var(--secondary-end) 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #0d9488 100%);
  --gradient-sunset: linear-gradient(135deg, #fbbf24 0%, #f43f5e 50%, #a855f7 100%);
  --gradient-ocean: linear-gradient(135deg, #0d9488 0%, #06b6d4 50%, #4f46e5 100%);
  
  /* Spacing System */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Enhanced Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-glow-teal: 0 0 40px rgba(13, 148, 136, 0.4);
  --shadow-glow-indigo: 0 0 40px rgba(99, 102, 241, 0.4);
  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.4);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===================================
   Base Styles - Enhanced
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--neutral-800);
  background: linear-gradient(180deg, var(--neutral-50) 0%, white 50%, var(--neutral-50) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Animated Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(13, 148, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: backgroundPulse 15s ease-in-out infinite;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 { 
  font-size: clamp(2.5rem, 6vw, 4rem); 
  font-weight: 800;
}
h2 { 
  font-size: clamp(2rem, 5vw, 3rem); 
  font-weight: 700;
}
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a {
  text-decoration: none;
  transition: all var(--transition-base);
}

/* ===================================
   Navigation Bar - Ultra Premium
   =================================== */
.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 1.25rem 0;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
  position: relative;
  z-index: 1000;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.navbar.scrolled::after {
  transform: scaleX(1);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-base);
  letter-spacing: -0.5px;
  position: relative;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: var(--gradient-ocean);
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-base);
  z-index: -1;
}

.navbar-brand:hover::before {
  opacity: 0.3;
}

.navbar-brand i {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  margin-right: 0.75rem;
  filter: drop-shadow(0 4px 8px rgba(13, 148, 136, 0.3));
  animation: shieldPulse 3s ease-in-out infinite;
}

.navbar-brand:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.navbar-dark .navbar-nav .nav-link,
.navbar .navbar-nav .nav-link {
  color: var(--neutral-700) !important;
  font-weight: 600;
  padding: 0.75rem 1.25rem !important;
  margin: 0 0.25rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.navbar-dark .navbar-nav .nav-link::before,
.navbar .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-ocean);
  opacity: 0;
  border-radius: var(--radius-lg);
  transition: opacity var(--transition-base);
  z-index: -1;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link:hover::before {
  opacity: 1;
}

/* ===================================
   Hero Section - Stunning Redesign
   =================================== */
.hero-section {
  background: var(--gradient-ocean);
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

/* Animated Gradient Overlay */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  animation: heroGradientShift 10s ease-in-out infinite;
  pointer-events: none;
}

/* Geometric Pattern Overlay */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 150px;
  background: 
    linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), white);
  pointer-events: none;
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-section h1 {
  color: white;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-section .lead {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 400;
  max-width: 600px;
}

.hero-section .btn {
  animation: fadeInUp 0.8s ease-out 0.4s both;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced Hero Illustration */
.hero-section .col-md-6:last-child > div {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-2xl) !important;
  padding: 4rem !important;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: float 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero-section .col-md-6:last-child > div::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.hero-section .col-md-6:last-child i {
  font-size: 140px !important;
  opacity: 0.6 !important;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
  animation: pulse 3s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Buttons - Ultra Premium
   =================================== */
.btn {
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  border: none;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary {
  background: var(--gradient-ocean);
  color: white;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(13, 148, 136, 0.5);
  filter: brightness(1.1);
}

.btn-light {
  background: white;
  color: var(--primary-start);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn-light:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: var(--neutral-50);
  color: var(--primary-dark);
}

.btn-outline-primary {
  border: 2px solid var(--primary-start);
  color: var(--primary-start);
  background: transparent;
  font-weight: 700;
}

.btn-outline-primary:hover {
  background: var(--gradient-ocean);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
}

/* ===================================
   Cards - Modern & Sophisticated
   =================================== */
.card {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  background: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(13, 148, 136, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-ocean);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 30px 60px rgba(13, 148, 136, 0.2),
    0 0 0 1px rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 0.03;
}

.card-body {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--neutral-900);
  font-size: 1.35rem;
}

.card-text {
  color: var(--neutral-600);
  line-height: 1.8;
  font-size: 1rem;
}

/* Enhanced Icon Cards */
.card .fa, .card .fas, .card .fab {
  transition: all var(--transition-bounce);
}

.card:hover .fa-check-circle {
  transform: scale(1.2) rotate(15deg);
  color: var(--success) !important;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.4));
}

.card:hover .fa-bolt {
  transform: scale(1.2) rotate(-15deg);
  color: var(--accent-amber) !important;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.4));
}

.card:hover .fa-headset {
  transform: scale(1.2);
  color: var(--accent-cyan) !important;
  filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.4));
}

/* ===================================
   Statistics Section - Enhanced
   =================================== */
.bg-light {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.03) 0%, white 50%, rgba(99, 102, 241, 0.03) 100%) !important;
  position: relative;
}

section.bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(13, 148, 136, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

section.bg-light .col-md-3 {
  position: relative;
}

section.bg-light h3 {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  animation: countUp 2s ease-out;
  filter: drop-shadow(0 4px 12px rgba(13, 148, 136, 0.2));
  font-family: 'Playfair Display', serif;
}

section.bg-light p {
  color: var(--neutral-600);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ===================================
   Section Headings - Premium Style
   =================================== */
section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 3.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-full);
}

section h2::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

/* ===================================
   CTA Section - Eye-Catching
   =================================== */
.bg-primary {
  background: var(--gradient-ocean) !important;
  position: relative;
  overflow: hidden;
}

.bg-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

.bg-primary::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite reverse;
}

.bg-primary .container {
  position: relative;
  z-index: 1;
}

.bg-primary h2 {
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bg-primary h2::after,
.bg-primary h2::before {
  background: white;
}

/* ===================================
   Footer - Elegant & Modern
   =================================== */
footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%) !important;
  border-top: 4px solid transparent;
  border-image: var(--gradient-ocean) 1;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-ocean);
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.5);
}

footer h5, footer h6 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 1.75rem;
  position: relative;
  display: inline-block;
}

footer h5::after, footer h6::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-full);
}

footer .text-muted {
  color: var(--neutral-400) !important;
}

footer a {
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
}

footer a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-ocean);
  transition: width var(--transition-base);
}

footer a:hover {
  color: var(--primary-light) !important;
  transform: translateX(8px);
}

footer a:hover::before {
  width: 100%;
}

footer .fab, footer .fas {
  font-size: 1.75rem;
  transition: all var(--transition-bounce);
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

footer a:hover .fab,
footer a:hover .fas {
  transform: translateY(-5px) scale(1.1) rotate(5deg);
  background: var(--gradient-ocean);
  border-color: transparent;
  box-shadow: var(--shadow-glow-teal);
}

/* ===================================
   Utility Classes
   =================================== */
.text-primary {
  color: var(--primary-start) !important;
}

.text-gradient {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* ===================================
   Advanced Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(2deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes shieldPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 8px rgba(13, 148, 136, 0.3));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(13, 148, 136, 0.5));
  }
}

@keyframes heroGradientShift {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===================================
   Responsive Design - Enhanced
   =================================== */
@media (max-width: 992px) {
  .hero-section {
    min-height: 600px;
    padding: 4rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 550px;
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .hero-section .col-md-6:last-child > div {
    margin-top: 2.5rem;
    padding: 2.5rem !important;
  }
  
  .hero-section .col-md-6:last-child i {
    font-size: 100px !important;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  section.bg-light h3 {
    font-size: 2.5rem;
  }
  
  .card-body {
    padding: 2rem;
  }
  
  .btn {
    padding: 0.875rem 2rem;
  }
  
  .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
  }
  
  .navbar {
    padding: 1rem 0;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.35rem;
  }
  
  .navbar-brand i {
    font-size: 1.75rem;
  }
  
  section.bg-light h3 {
    font-size: 2rem;
  }
  
  .hero-section .col-md-6:last-child > div {
    padding: 2rem !important;
  }
  
  .hero-section .col-md-6:last-child i {
    font-size: 80px !important;
  }
}

/* ===================================
   Loading State
   =================================== */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary-start);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===================================
   Accessibility
   =================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enhanced Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-start);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  .navbar,
  footer,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-ocean);
  border-radius: var(--radius-full);
  border: 2px solid var(--neutral-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

/* ===================================
   Selection Styling
   =================================== */
::selection {
  background: var(--primary-start);
  color: white;
}

::-moz-selection {
  background: var(--primary-start);
  color: white;
}
/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
       P a g e   H e a d e r   -   S u b p a g e s  
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /  
 . p a g e - h e a d e r   {  
     b a c k g r o u n d :   v a r ( - - g r a d i e n t - o c e a n ) ;  
     p o s i t i o n :   r e l a t i v e ;  
     m i n - h e i g h t :   4 0 0 p x ;  
     d i s p l a y :   f l e x ;  
     a l i g n - i t e m s :   c e n t e r ;  
     j u s t i f y - c o n t e n t :   c e n t e r ;  
     p a d d i n g :   4 r e m   0   8 r e m   0 ;   / *   E x t r a   p a d d i n g   b o t t o m   f o r   o v e r l a p   * /  
     o v e r f l o w :   h i d d e n ;  
 }  
  
 . p a g e - h e a d e r : : b e f o r e   {  
     c o n t e n t :   ' ' ;  
     p o s i t i o n :   a b s o l u t e ;  
     t o p :   0 ;  
     l e f t :   0 ;  
     r i g h t :   0 ;  
     b o t t o m :   0 ;  
     b a c k g r o u n d :    
         r a d i a l - g r a d i e n t ( c i r c l e   a t   2 0 %   3 0 % ,   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 5 )   0 % ,   t r a n s p a r e n t   4 0 % ) ,  
         r a d i a l - g r a d i e n t ( c i r c l e   a t   8 0 %   7 0 % ,   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 )   0 % ,   t r a n s p a r e n t   4 0 % ) ;  
     p o i n t e r - e v e n t s :   n o n e ;  
 }  
  
 . p a g e - h e a d e r   h 1   {  
     c o l o r :   w h i t e ;  
     f o n t - w e i g h t :   8 0 0 ;  
     m a r g i n - b o t t o m :   1 r e m ;  
     t e x t - s h a d o w :   0   4 p x   2 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ;  
 }  
  
 . p a g e - h e a d e r   . l e a d   {  
     c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 9 5 ) ;  
     f o n t - s i z e :   1 . 2 5 r e m ;  
     m a x - w i d t h :   7 0 0 p x ;  
     m a r g i n :   0   a u t o ;  
 }  
  
 / *   C o n t e n t   O v e r l a p   U t i l i t y   * /  
 . c o n t e n t - o v e r l a p   {  
     m a r g i n - t o p :   - 6 r e m ;  
     p o s i t i o n :   r e l a t i v e ;  
     z - i n d e x :   1 0 ;  
 }  
  
 / *   A c c o r d i o n   C u s t o m i z a t i o n   * /  
 . a c c o r d i o n - i t e m   {  
     b o r d e r :   n o n e ;  
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - l g ) ;  
     o v e r f l o w :   h i d d e n ;  
     b o x - s h a d o w :   0   4 p x   6 p x   - 1 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ;  
     b a c k g r o u n d :   w h i t e ;  
 }  
  
 . a c c o r d i o n - b u t t o n   {  
     f o n t - w e i g h t :   6 0 0 ;  
     p a d d i n g :   1 . 5 r e m ;  
     b a c k g r o u n d :   w h i t e ;  
     c o l o r :   v a r ( - - n e u t r a l - 8 0 0 ) ;  
     b o r d e r :   n o n e ;  
     b o x - s h a d o w :   n o n e   ! i m p o r t a n t ;  
 }  
  
 . a c c o r d i o n - b u t t o n : n o t ( . c o l l a p s e d )   {  
     c o l o r :   v a r ( - - p r i m a r y - d a r k ) ;  
     b a c k g r o u n d :   v a r ( - - n e u t r a l - 5 0 ) ;  
     b o x - s h a d o w :   n o n e ;  
 }  
  
 . a c c o r d i o n - b u t t o n : : a f t e r   {  
     b a c k g r o u n d - i m a g e :   u r l ( " d a t a : i m a g e / s v g + x m l , % 3 c s v g   x m l n s = ' h t t p : / / w w w . w 3 . o r g / 2 0 0 0 / s v g '   v i e w B o x = ' 0   0   1 6   1 6 '   f i l l = ' % 2 3 0 d 9 4 8 8 ' % 3 e % 3 c p a t h   f i l l - r u l e = ' e v e n o d d '   d = ' M 1 . 6 4 6   4 . 6 4 6 a . 5 . 5   0   0   1   . 7 0 8   0 L 8   1 0 . 2 9 3 l 5 . 6 4 6 - 5 . 6 4 7 a . 5 . 5   0   0   1   . 7 0 8 . 7 0 8 l - 6   6 a . 5 . 5   0   0   1 - . 7 0 8   0 l - 6 - 6 a . 5 . 5   0   0   1   0 - . 7 0 8 z ' / % 3 e % 3 c / s v g % 3 e " ) ;  
 }  
  
 . a c c o r d i o n - b o d y   {  
     p a d d i n g :   1 . 5 r e m ;  
     c o l o r :   v a r ( - - n e u t r a l - 6 0 0 ) ;  
     l i n e - h e i g h t :   1 . 7 ;  
 }  
  
 / *   F i x   f o r   w e i r d   u n d e r l i n e s / s h a d o w s   i f   a n y   * /  
 . a c c o r d i o n   *   {  
     t e x t - d e c o r a t i o n :   n o n e   ! i m p o r t a n t ;  
 }  
 