:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
  
  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  
  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* 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-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Enhanced Cybersecurity Portfolio CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family-base);
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Particles.js Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Enhanced Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 245, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.1);
    position: relative;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), transparent, rgba(0, 102, 204, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: subtract;
    z-index: -1;
}

/* Advanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-standard);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-16) var(--space-32);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: #00f5ff;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.nav-menu {
    display: flex;
    gap: var(--space-32);
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--duration-normal) var(--ease-standard);
    position: relative;
    padding: var(--space-8) var(--space-12);
    border-radius: var(--radius-base);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #0066cc);
    transition: width var(--duration-normal) var(--ease-standard);
}

.nav-link:hover,
.nav-link.active {
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-8);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #00f5ff;
    margin: 3px 0;
    transition: all var(--duration-fast) var(--ease-standard);
    border-radius: 2px;
}

/* Hero Section with Advanced Animations */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--space-32);
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: var(--space-8) var(--space-16);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-24);
    animation: slideInDown 1s ease-out 0.2s both;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge i {
    color: #00f5ff;
    animation: spin 3s linear infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-16);
    line-height: 1.1;
}

.name-primary {
    background: linear-gradient(45deg, #00f5ff 0%, #ffffff 50%, #0066cc 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    display: inline-block;
}

.name-secondary {
    background: linear-gradient(45deg, #0066cc 0%, #ffffff 50%, #00f5ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite reverse;
    display: inline-block;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    color: #00f5ff;
    margin-bottom: var(--space-12);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-32);
    animation: slideInUp 1s ease-out 0.6s both;
}

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

.typing-container {
    height: 80px;
    margin-bottom: var(--space-32);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    animation: slideInUp 1s ease-out 0.8s both;
}

.typing-prefix {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
}

.typing-text {
    font-size: var(--font-size-xl);
    color: #00f5ff;
    min-width: 350px;
    text-align: left;
    font-weight: var(--font-weight-semibold);
}

.cursor {
    color: #00f5ff;
    animation: blink 1s infinite;
    font-weight: var(--font-weight-normal);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: var(--space-16);
    margin-bottom: var(--space-32);
    flex-wrap: wrap;
    justify-content: center;
    animation: slideInUp 1s ease-out 1s both;
}

.floating-btn {
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-standard);
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease-in-out;
}

.floating-btn:hover::before {
    left: 100%;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 245, 255, 0.3);
}

.social-links {
    display: flex;
    gap: var(--space-20);
    justify-content: center;
    animation: slideInUp 1s ease-out 1.2s both;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    color: #00f5ff;
    font-size: var(--font-size-xl);
    transition: all var(--duration-normal) var(--ease-standard);
    overflow: hidden;
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    opacity: 0;
    transition: all var(--duration-fast) var(--ease-standard);
    pointer-events: none;
    white-space: nowrap;
}

.social-link:hover::before {
    opacity: 1;
    bottom: -35px;
}

.social-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: all var(--duration-normal) var(--ease-standard);
}

.social-link:hover .social-ripple {
    width: 120%;
    height: 120%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(0, 245, 255, 0.2);
    border-color: #00f5ff;
    box-shadow: 0 15px 30px rgba(0, 245, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-32);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(0, 245, 255, 0.5);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #00f5ff;
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Enhanced Section Styles */
.section-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-16);
}

.title-number {
    font-size: var(--font-size-lg);
    color: #00f5ff;
    font-weight: var(--font-weight-bold);
    opacity: 0.7;
}

.title-decoration {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f5ff, transparent);
    border-radius: 1px;
    max-width: 100px;
}

/* About Section */
.about-section {
    padding: 8rem var(--space-32);
    background: rgba(16, 21, 62, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.profile-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-24);
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #00f5ff;
    position: relative;
    overflow: hidden;
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, #00f5ff, #0066cc, #00f5ff);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.image-glow::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 50%;
}

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

.about-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    padding: var(--space-16);
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: var(--radius-base);
    transition: all var(--duration-normal) var(--ease-standard);
}

.highlight-item:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.2);
    transform: translateX(10px);
}

.highlight-item i {
    color: #00f5ff;
    font-size: var(--font-size-xl);
    width: 24px;
}

.highlight-item h4 {
    color: #00f5ff;
    margin-bottom: var(--space-4);
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.about-stats {
    display: flex;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: var(--space-24);
    transition: all var(--duration-normal) var(--ease-standard);
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto var(--space-16);
    color: #00f5ff;
    font-size: var(--font-size-xl);
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: #00f5ff;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    margin-bottom: var(--space-8);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Section */
.experience-section {
    padding: 8rem var(--space-32);
    background: rgba(10, 10, 10, 0.5);
}

.experience-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00f5ff, #0066cc);
    border-radius: 1px;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-32);
    margin-bottom: 4rem;
    padding: var(--space-32);
    position: relative;
    transition: all var(--duration-normal) var(--ease-standard);
}

.experience-item:hover {
    transform: translateX(10px);
}

.timeline-dot {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 245, 255, 0.1);
    border: 3px solid #00f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f5ff;
    font-size: var(--font-size-xl);
    position: relative;
    z-index: 2;
}

.experience-content {
    flex: 1;
}

.experience-header {
    margin-bottom: var(--space-16);
}

.experience-header h3 {
    color: #ffffff;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
}

.company {
    color: #00f5ff;
    font-weight: var(--font-weight-semibold);
    margin-right: var(--space-16);
}

.year {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    padding: var(--space-4) var(--space-8);
    background: rgba(0, 245, 255, 0.1);
    border-radius: var(--radius-sm);
}

.experience-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-16);
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.tech-tag {
    background: rgba(0, 102, 204, 0.2);
    color: #0066cc;
    padding: var(--space-4) var(--space-12);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(0, 102, 204, 0.3);
}

.tech-tag.primary {
    background: rgba(0, 245, 255, 0.2);
    color: #00f5ff;
    border-color: rgba(0, 245, 255, 0.3);
}

/* Skills Section */
.skills-section {
    padding: 8rem var(--space-32);
    background: rgba(16, 21, 62, 0.1);
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 3rem;
}

.skills-category {
    padding: 3rem;
    transition: all var(--duration-normal) var(--ease-standard);
}

.skills-category:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    margin-bottom: 2rem;
}

.category-header i {
    font-size: var(--font-size-2xl);
    color: #00f5ff;
}

.category-header h3 {
    font-size: var(--font-size-xl);
    color: #ffffff;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.skill-name {
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
}

.skill-percentage {
    font-size: var(--font-size-sm);
    color: #00f5ff;
    font-weight: var(--font-weight-bold);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--space-8);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #0066cc);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
    position: relative;
}

.skill-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #00f5ff, #0066cc);
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

.skill-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Projects Section */
.projects-section {
    padding: 8rem var(--space-32);
    background: rgba(10, 10, 10, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    padding: 0;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-standard);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.3);
}

.featured-project {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.project-badge {
    position: absolute;
    top: var(--space-16);
    right: var(--space-16);
    background: linear-gradient(45deg, #00f5ff, #0066cc);
    color: #000000;
    padding: var(--space-4) var(--space-12);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    z-index: 3;
}

.project-image {
    background: rgba(0, 245, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #00f5ff;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-standard);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: var(--space-16);
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.2);
    border: 2px solid #00f5ff;
    border-radius: 50%;
    color: #00f5ff;
    font-size: var(--font-size-lg);
    transition: all var(--duration-fast) var(--ease-standard);
}

.project-link:hover {
    background: #00f5ff;
    color: #000000;
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    color: #ffffff;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-16);
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-20);
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.project-category {
    display: inline-block;
    background: rgba(0, 245, 255, 0.1);
    color: #00f5ff;
    padding: var(--space-4) var(--space-12);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

/* Education Section */
.education-section {
    padding: 8rem var(--space-32);
    background: rgba(16, 21, 62, 0.1);
}

.education-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.education-card {
    padding: 3rem;
    transition: all var(--duration-normal) var(--ease-standard);
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid #00f5ff;
    border-radius: 50%;
    color: #00f5ff;
    font-size: var(--font-size-2xl);
    margin-bottom: 2rem;
    position: relative;
}

.icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00f5ff, transparent, #00f5ff) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: subtract;
    animation: rotate 3s linear infinite;
}

.education-details h3 {
    color: #ffffff;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-12);
}

.institution {
    color: #00f5ff;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-8);
}

.duration {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-16);
}

.education-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-24);
}

.coursework h4 {
    color: #ffffff;
    margin-bottom: var(--space-12);
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.course-tag {
    background: rgba(0, 102, 204, 0.2);
    color: #0066cc;
    padding: var(--space-6) var(--space-12);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    border: 1px solid rgba(0, 102, 204, 0.3);
}

.certifications-section {
    padding: 3rem;
    transition: all var(--duration-normal) var(--ease-standard);
}

.certifications-section:hover {
    transform: translateY(-5px);
}

.cert-header {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    margin-bottom: 2rem;
}

.cert-header i {
    font-size: var(--font-size-2xl);
    color: #00f5ff;
}

.cert-header h3 {
    color: #ffffff;
    font-size: var(--font-size-xl);
}

.cert-list {
    margin-bottom: 2rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-12) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration-fast) var(--ease-standard);
}

.cert-item:hover {
    color: #00f5ff;
    padding-left: var(--space-12);
}

.cert-item i {
    color: #00f5ff;
    width: 20px;
}

.cert-commitment {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(15, 15, 25, 0.98) 50%,
        rgba(10, 10, 10, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 245, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact Introduction Banner */
.contact-intro {
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f5ff, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.intro-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(0, 245, 255, 0.3);
}

.intro-icon i {
    font-size: 32px;
    color: #00f5ff;
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 245, 255, 0.5);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.intro-text h3 {
    color: #00f5ff;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.intro-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.intro-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 25px;
    color: #00f5ff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 245, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.header-icon i {
    font-size: 20px;
    color: #00f5ff;
}

.header-text h3 {
    color: #00f5ff;
    font-size: 22px;
    margin-bottom: 5px;
}

.header-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    border-color: rgba(0, 245, 255, 0.3);
    background: rgba(0, 245, 255, 0.05);
    transform: translateY(-3px);
}

.contact-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 18px;
    color: #00f5ff;
    transition: all 0.3s ease;
    z-index: 2;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.label {
    color: #00f5ff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.4;
}

.contact-action {
    width: 35px;
    height: 35px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f5ff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.contact-action:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: scale(1.1);
}

.timezone-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 245, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    margin-top: 30px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #00f5ff;
    border-radius: 50%;
    position: relative;
}

.status-indicator.pulsing::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #00f5ff;
    animation: status-pulse 2s ease-out infinite;
}

@keyframes status-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.status-content {
    display: flex;
    flex-direction: column;
}

.status-text {
    color: #00f5ff;
    font-weight: 500;
    font-size: 16px;
}

.status-detail {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 2px;
}

/* Enhanced Contact Form */
.contact-form {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 245, 255, 0.1);
    backdrop-filter: blur(20px);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
}

.form-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.form-icon i {
    font-size: 20px;
    color: #00f5ff;
}

.form-title h3 {
    color: #00f5ff;
    font-size: 22px;
    margin-bottom: 5px;
}

.form-title p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00f5ff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-label i {
    font-size: 12px;
}

.form-control {
    width: 100%;
    padding: 15px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: rgba(0, 245, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00f5ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.form-group.focused .input-line {
    transform: scaleX(1);
}

.char-counter {
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 5px;
}

.btn--enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #00f5ff, #0066cc);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn--enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.btn--enhanced.loading {
    animation: btn-loading 1.5s ease-in-out infinite;
}

@keyframes btn-loading {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.btn--enhanced.success {
    background: linear-gradient(45deg, #00ff88, #00cc66);
}

.btn--enhanced.error {
    background: linear-gradient(45deg, #ff5555, #cc4444);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.security-note,
.response-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.security-note i,
.response-time i {
    color: #00f5ff;
}

/* Quick Actions */
.quick-actions {
    margin-top: 60px;
    text-align: center;
}

.quick-actions-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #00f5ff;
    font-size: 24px;
    margin-bottom: 30px;
}

.quick-actions-title i {
    font-size: 20px;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

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

@media (min-width: 1024px) {
    .action-cards {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .action-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    background: rgba(0, 245, 255, 0.05);
    transform: translateY(-3px);
}

.card-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.card-icon i {
    font-size: 18px;
    color: #00f5ff;
}

.card-content {
    flex: 1;
    text-align: left;
}

.card-content h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 4px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

.card-arrow {
    color: #00f5ff;
    transition: transform 0.3s ease;
}

/* Form Validation States */
.form-control.error {
    border-color: #ff5555;
    background: rgba(255, 85, 85, 0.1);
}

.form-control.success {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.form-message.error {
    background: rgba(255, 85, 85, 0.1);
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
}

/* Enhanced Contact Section Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .intro-badges {
        justify-content: center;
    }
    
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-intro,
    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 3rem;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h3 {
    color: #ffffff;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-12);
}

.contact-header p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-20);
    margin-bottom: var(--space-24);
    transition: all var(--duration-fast) var(--ease-standard);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    color: #00f5ff;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.label {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.value {
    color: #ffffff;
    font-weight: var(--font-weight-medium);
}

.availability-status {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-16);
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: var(--radius-base);
    color: #00f5ff;
    font-weight: var(--font-weight-medium);
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #00f5ff;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.contact-form {
    padding: 3rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    color: #ffffff;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-12);
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all var(--duration-fast) var(--ease-standard);
}

.form-control:focus {
    border-color: #00f5ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.btn--hire {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #ffffff;
    border: none;
}

.btn--hire:hover {
    background: linear-gradient(45deg, #e55a2b, #de7f1a);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.form-message {
    margin-top: var(--space-16);
    padding: var(--space-16);
    border-radius: var(--radius-base);
    text-align: center;
}

.form-message.success {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: #00f5ff;
}

.form-message.error {
    background: rgba(255, 84, 89, 0.1);
    border: 1px solid rgba(255, 84, 89, 0.3);
    color: #ff5459;
}

/* Footer */
.footer {
    padding: 3rem var(--space-32) 2rem;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--space-16);
}

.footer-logo .logo-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: #00f5ff;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: var(--space-32);
}

.footer-links {
    display: flex;
    gap: var(--space-24);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-links a:hover {
    color: #00f5ff;
}

.footer-social {
    display: flex;
    gap: var(--space-16);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--duration-fast) var(--ease-standard);
}

.footer-social a:hover {
    background: rgba(0, 245, 255, 0.2);
    color: #00f5ff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .contact-content,
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-project {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: left var(--duration-normal) var(--ease-standard);
        z-index: 999;
        border-top: 1px solid rgba(0, 245, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        margin: 1rem 0;
        font-size: var(--font-size-lg);
        padding: var(--space-12) var(--space-24);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 250px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-24);
        text-align: center;
    }
    
    .section-title {
        flex-direction: column;
        gap: var(--space-8);
    }
    
    .title-decoration {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .about-section,
    .experience-section,
    .skills-section,
    .projects-section,
    .education-section,
    .contact-section {
        padding: 4rem var(--space-16);
    }
    
    .nav-container {
        padding: var(--space-12) var(--space-16);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .typing-text {
        min-width: 280px;
        font-size: var(--font-size-lg);
    }
    
    .social-links {
        gap: var(--space-12);
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Smooth Transitions */
* {
    transition: color var(--duration-fast) var(--ease-standard),
                background-color var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                opacity var(--duration-fast) var(--ease-standard);
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Enhanced Contact Section Improvements */
.contact-section {
    background: linear-gradient(135deg, 
        rgba(0, 10, 20, 0.95) 0%, 
        rgba(0, 30, 40, 0.98) 25%,
        rgba(10, 40, 60, 0.95) 50%,
        rgba(0, 20, 35, 0.98) 75%,
        rgba(5, 15, 25, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 245, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Contact Introduction Banner */
.contact-intro {
    background: linear-gradient(135deg, 
        rgba(0, 245, 255, 0.08) 0%, 
        rgba(0, 102, 204, 0.12) 50%,
        rgba(0, 245, 255, 0.08) 100%
    );
    border: 1px solid rgba(0, 245, 255, 0.2);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-intro:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(0, 245, 255, 0.1);
}

.intro-content {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.intro-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, rgba(0, 102, 204, 0.2) 100%);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.intro-icon i {
    font-size: 2.5rem;
    color: #00f5ff;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
}

.intro-text h3 {
    background: linear-gradient(135deg, #00f5ff 0%, #ffffff 50%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.intro-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.intro-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: #00f5ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

.badge i {
    font-size: 0.8rem;
}

/* Enhanced Contact Items */
.contact-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(0, 245, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 245, 255, 0.1) 50%, 
        transparent 100%
    );
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 245, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(0, 245, 255, 0.08) 0%, 
        rgba(0, 102, 204, 0.05) 50%,
        rgba(0, 245, 255, 0.08) 100%
    );
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 245, 255, 0.1);
}

.contact-action {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-action {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced Subject Field Styling */
.subject-group {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.03) 0%, rgba(0, 102, 204, 0.03) 100%);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    transition: all 0.3s ease;
}

.subject-group:hover {
    border-color: rgba(0, 245, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.1);
}

.subject-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.subject-label .label-text {
    font-size: 16px;
    font-weight: 600;
}

.required-indicator {
    color: #ff5459;
    font-size: 14px;
    font-weight: 700;
}

.subject-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.subject-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid rgba(0, 245, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.subject-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.subject-select option {
    background: var(--color-surface);
    color: var(--color-text);
    padding: 12px;
    font-size: 14px;
}

.subject-select option:first-child {
    color: rgba(var(--color-text-secondary), 0.7);
    font-style: italic;
}

.subject-icon {
    position: absolute;
    right: 15px;
    pointer-events: none;
    color: var(--color-primary);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.subject-group:hover .subject-icon {
    transform: translateY(-2px);
}

.subject-hint {
    font-size: 12px;
    color: rgba(var(--color-text-secondary), 0.8);
    margin-top: 8px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}

.subject-hint::before {
    content: "💡";
    font-size: 14px;
}

/* Priority Indicators */
.priority-indicator {
    margin-top: 10px;
    animation: slideInUp 0.3s ease;
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--color-primary);
    backdrop-filter: blur(10px);
}

.priority-badge.priority-high-priority {
    background: linear-gradient(135deg, rgba(255, 84, 89, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border-color: rgba(255, 84, 89, 0.3);
    color: #ff5459;
}

.priority-badge.priority-medium-priority {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 213, 79, 0.1) 100%);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.subject-group.selected {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.08) 0%, rgba(0, 102, 204, 0.08) 100%);
}

/* Enhanced Form Styling */
.contact-form {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(0, 245, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00f5ff 20%, 
        #0066cc 50%, 
        #00f5ff 80%, 
        transparent 100%
    );
    animation: formGlow 3s ease-in-out infinite alternate;
}

@keyframes formGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 
        0 0 20px rgba(0, 245, 255, 0.2),
        inset 0 1px 3px rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Quick Action Cards */
.action-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(0, 245, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 245, 255, 0.1) 0%, 
        rgba(0, 102, 204, 0.08) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover::after {
    opacity: 1;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 245, 255, 0.15);
}

.card-icon {
    position: relative;
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.action-card:hover .card-arrow {
    transform: translateX(5px);
}

/* Enhanced Button Styles */
.btn--enhanced {
    background: linear-gradient(135deg, #00f5ff 0%, #0066cc 100%);
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn--enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    transition: left 0.6s ease;
}

.btn--enhanced:hover::before {
    left: 100%;
}

.btn--enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 245, 255, 0.4);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .intro-icon {
        width: 60px;
        height: 60px;
    }
    
    .intro-icon i {
        font-size: 2rem;
    }
    
    .intro-text h3 {
        font-size: 1.5rem;
    }
    
    .intro-badges {
        justify-content: center;
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
    }
}