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

/* Color Themes Definitions */
:root {
  /* 1. Corporate Blue (Default) */
  --color-primary: 37 99 235;        /* #2563eb */
  --color-primary-dark: 29 78 216;   /* #1d4ed8 */
  --color-accent: 245 158 11;        /* #f59e0b */
  --color-accent-dark: 217 119 6;    /* #d97706 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.1) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%);
}

[data-theme="emerald"] {
  /* 2. Emerald Green */
  --color-primary: 16 185 129;       /* #10b981 */
  --color-primary-dark: 5 150 105;   /* #059669 */
  --color-accent: 245 158 11;        /* #f59e0b */
  --color-accent-dark: 217 119 6;    /* #d97706 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%);
}

[data-theme="navy-gold"] {
  /* 3. Navy & Gold */
  --color-primary: 30 41 59;         /* #1e293b (Slate 800) */
  --color-primary-dark: 15 23 42;    /* #0f172a (Slate 900) */
  --color-accent: 217 119 6;         /* #d97706 */
  --color-accent-dark: 180 83 9;     /* #b45309 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(30, 41, 59, 0.2) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(217, 119, 6, 0.1) 0px, transparent 50%);
}

[data-theme="teak-slate"] {
  /* 4. Teak & Slate */
  --color-primary: 133 77 14;        /* #854d0e */
  --color-primary-dark: 113 63 4;    /* #713f04 */
  --color-accent: 71 85 105;         /* #475569 */
  --color-accent-dark: 51 65 85;     /* #334155 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(133, 77, 14, 0.1) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(71, 85, 105, 0.1) 0px, transparent 50%);
}

[data-theme="crimson-executive"] {
  /* 5. Crimson Executive */
  --color-primary: 153 27 27;        /* #991b1b */
  --color-primary-dark: 127 29 29;   /* #7f1d1d */
  --color-accent: 107 114 128;       /* #6b7280 */
  --color-accent-dark: 75 85 99;     /* #4b5563 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(153, 27, 27, 0.1) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(107, 114, 128, 0.05) 0px, transparent 50%);
}

[data-theme="deep-amber"] {
  /* 6. Deep Amber */
  --color-primary: 234 88 12;        /* #ea580c */
  --color-primary-dark: 194 65 12;   /* #c2410c */
  --color-accent: 30 41 59;          /* #1e293b */
  --color-accent-dark: 15 23 42;     /* #0f172a */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(234, 88, 12, 0.1) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(30, 41, 59, 0.1) 0px, transparent 50%);
}

[data-theme="royal-violet"] {
  /* 7. Royal Violet */
  --color-primary: 109 40 217;       /* #6d28d9 */
  --color-primary-dark: 91 33 182;   /* #5b21b6 */
  --color-accent: 236 72 153;        /* #ec4899 (Pink-500) */
  --color-accent-dark: 219 39 119;   /* #db2777 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(109, 40, 217, 0.1) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(236, 72, 153, 0.05) 0px, transparent 50%);
}

[data-theme="midnight-cyan"] {
  /* 8. Midnight Cyan */
  --color-primary: 8 145 178;        /* #0891b2 */
  --color-primary-dark: 13 116 139;  /* #0d748b */
  --color-accent: 245 158 11;        /* #f59e0b */
  --color-accent-dark: 217 119 6;    /* #d97706 */
  --color-bg-mesh: radial-gradient(at 0% 0%, rgba(8, 145, 178, 0.15) 0px, transparent 50%), radial-gradient(at 50% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%);
}

/* Global Reset & Base Customizations */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgb(241, 245, 249);
}
.dark ::-webkit-scrollbar-track {
  background: rgb(15, 23, 42);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--color-primary), 0.4);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--color-primary), 0.7);
}

/* Premium Utilities */
.bg-mesh-gradient {
  background-image: var(--color-bg-mesh);
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.dark .glass {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.dark .glass-nav {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Card hover animation */
.hover-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.dark .hover-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Header transition active border */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: rgb(var(--color-primary));
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Micro-animations for card icons on hover */
.hover-card:hover .icon-animate-pulse {
  animation: keyframe-pulse 1s ease-in-out infinite;
}
.hover-card:hover .icon-animate-sway {
  animation: keyframe-sway 1.5s ease-in-out infinite;
  transform-origin: bottom center;
}
.hover-card:hover .icon-animate-grow {
  animation: keyframe-grow 1s ease-in-out infinite;
  transform-origin: bottom center;
}
.hover-card:hover .icon-animate-float {
  animation: keyframe-float 1.2s ease-in-out infinite;
}
.hover-card:hover .icon-animate-bounce {
  animation: keyframe-bounce 1s ease-in-out infinite;
}
.hover-card:hover .icon-animate-rotate {
  animation: keyframe-rotate 2s linear infinite;
}
.hover-card:hover .icon-animate-draw {
  stroke-dasharray: 100;
  animation: keyframe-draw 1.5s ease-in-out;
}

@keyframes keyframe-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes keyframe-sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}
@keyframes keyframe-grow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.2); }
}
@keyframes keyframe-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes keyframe-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes keyframe-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes keyframe-draw {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

