/* Professional Gradient Color Theme - Blue, Green, Yellow Mix */
:root {
  /* Primary Brand Colors - Professional Blue to Green Gradient */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;

  /* Secondary Colors - Professional Green to Teal */
  --secondary-50: #f0fdfa;
  --secondary-100: #ccfbf1;
  --secondary-200: #99f6e4;
  --secondary-300: #5eead4;
  --secondary-400: #2dd4bf;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --secondary-700: #0f766e;
  --secondary-800: #115e59;
  --secondary-900: #134e4a;

  /* Accent Colors - Light Green Shades */
  --accent-50: #f0fdf4;
  --accent-100: #dcfce7;
  --accent-200: #bbf7d0;
  --accent-300: #86efac;
  --accent-400: #4ade80;
  --accent-500: #22c55e;
  --accent-600: #16a34a;
  --accent-700: #15803d;
  --accent-800: #166534;
  --accent-900: #14532d;

  /* Professional Gradients - Blue to Green Only */
  --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-500) 0%, var(--accent-500) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--primary-500) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 50%, var(--accent-600) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

  /* Neutral Colors with slight blue tint */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* Dark Mode Colors */
  --dark-bg-primary: #0f172a;
  --dark-bg-secondary: #1e293b;
  --dark-text-primary: #f8fafc;
  --dark-text-secondary: #cbd5e1;

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* Professional Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);
}

/* Professional Theme Classes */
.theme-gradient-primary {
  background: var(--gradient-primary);
}

.theme-gradient-secondary {
  background: var(--gradient-secondary);
}

.theme-gradient-accent {
  background: var(--gradient-accent);
}

.theme-gradient-hero {
  background: var(--gradient-hero);
}

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

.theme-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px);
  border-radius: 16px;
}

.theme-button-primary {
  background: var(--gradient-primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
}

.theme-button-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-xl) !important;
  color: white !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%) !important;
}

.theme-button-secondary {
  background: var(--gradient-secondary) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
}

.theme-button-secondary:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-xl) !important;
  color: white !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #0d9488 0%, #16a34a 100%) !important;
}

/* Light mode specific styles */
.theme-button-light {
  background: var(--gradient-primary);
  color:white !important;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-button-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: white !important;
  border-color: var(--primary-300);
}

/* Dark Mode Support */
.dark {
  --glass-bg: rgba(30, 41, 59, 0.8);
  --glass-border: rgba(148, 163, 184, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Professional Animation Classes */
.theme-fade-in {
  animation: themefadeIn 0.6s ease-out;
}

.theme-slide-up {
  animation: themeSlideUp 0.8s ease-out;
}

.theme-scale-in {
  animation: themeScaleIn 0.5s ease-out;
}

@keyframes themefadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes themeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes themeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Professional Hover Effects */
.theme-hover-lift {
  transition: all 0.3s ease;
}

.theme-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.theme-hover-glow {
  transition: all 0.3s ease;
}

.theme-hover-glow:hover {
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

/* Professional Navigation Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  min-width: 280px;
  max-width: 400px;
}

.nav-dropdown-trigger {
  position: relative;
}
.nav-dropdown-trigger > button {
  z-index: 10000;
  position: relative;
}
.nav-dropdown-trigger:hover .nav-dropdown,
.nav-dropdown-trigger:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Add padding to prevent gap issues */
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  z-index: 9998;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 16px;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 4px 0;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.nav-dropdown-link:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-600);
  transform: translateX(4px);
  border-left-color: var(--primary-500);
}

.dark .nav-dropdown {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(148, 163, 184, 0.2);
}

.dark .nav-dropdown-link {
  color: #cbd5e1;
}

.dark .nav-dropdown-link:hover {
  background: var(--primary-900);
  color: var(--primary-300);
}

/* Dropdown heading styles */
.nav-dropdown h3 {
  color: var(--primary-600);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

.dark .nav-dropdown h3 {
  color: var(--primary-400);
  border-bottom-color: rgba(14, 165, 233, 0.3);
}