: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 5px 5px 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: 100vw;
  --container-md: 100vw;
  --container-lg: 90vw;
  --container-xl: 90vw;
}

/* 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 */
/* Custom spiritual color scheme */
:root {
  --color-saffron: #FF9933;
  --color-saffron-light: #FFB366;
  --color-saffron-dark: #E6851F;
  --color-spiritual-blue: #1E3A8A;
  --color-spiritual-blue-light: #3B82F6;
  --color-divine-gold: #FFD700;
  --color-divine-gold-light: #FFED4E;
  --color-om-orange: #FF6B35;
  
  /* Override primary colors for spiritual theme */
  --color-primary: var(--color-saffron);
  --color-primary-hover: var(--color-saffron-dark);
  --color-primary-active: var(--color-saffron-dark);
  --color-accent: var(--color-spiritual-blue);
  --color-gold: var(--color-divine-gold);
}

/* Base styles with custom font */
body {
  font-family: 'Poppins', var(--font-family-base);
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-spiritual-blue) 0%, var(--color-saffron) 50%, var(--color-divine-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--color-white);
}

.loading-logo {
  /* font-size: 80px; */
  /* border:2px solid black; */
  width:40vw;
  margin-bottom: var(--space-20);
  animation: pulse 2s ease-in-out infinite;
}
.loading-logo img {
  width: 100%;
}

.loading-text {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-24);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--color-white);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom button styles for spiritual theme */
.btn--primary {
  background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.btn--primary::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;
}

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

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-saffron-dark) 0%, var(--color-saffron) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header with Smart Scroll */
.header {
  /* background: var(--color-surface); */
  /* background-color: transparent; */
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.header.header-hidden {
  transform: translateY(-100%);
}

.header.header-shadow {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: var(--space-16) 0; */
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.logo__icon {
  width:fit-content;
  height: fit-content;
}


/* Logo Image Styling - For when custom logo is added */
.logo__image {
  width: 100px;
  height: 70px;
  /* object-fit: contain; */
}

.logo:hover .logo__icon {
  transform: rotate(360deg);
}

.logo__text {
  display: none;
  /* display: flex; */
  flex-direction: column;
}

.logo__name {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-spiritual-blue);
  margin: 0;
  line-height: 1;
}

.logo__tagline {
  font-size: var(--font-size-sm);
  color: var(--color-divine-gold);
  font-weight: var(--font-weight-medium);
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-32);
}

.nav__link {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
  position: relative;
  padding: var(--space-8) 0;
}

.nav__link:hover {
  color: var(--color-saffron);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-saffron);
  transition: width var(--duration-normal) var(--ease-standard);
}

.nav__link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--space-4);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--duration-fast) var(--ease-standard);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, var(--color-spiritual-blue) 0%, var(--color-saffron) 50%, var(--color-divine-gold) 100%); */
  opacity: 0.9;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./img/krishnaleelabanner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.8;
}

/* Dark overlay for text readability */
.hero__overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero__overlay {
        background-attachment: scroll;
        background-image: url('./img/krishnaleelabanner-mobile.jpg');
    }
}


.hero__content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  z-index: 10;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title {
  font-size: clamp(var(--font-size-3xl), 5vw, 60px);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-20);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-32);
  opacity: 0.95;
  line-height: var(--line-height-normal);
}

.hero__cta {
  font-size: var(--font-size-lg);
  padding: var(--space-16) var(--space-32);
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-32);
}

.section-title {
  font-size: var(--font-size-3xl);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-16);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-saffron);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Packages Section - Now appears first */
.packages {
  padding: var(--space-32) 0;
  background: var(--color-bg-1);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-24);
}

.package-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-standard);
  border: 1px solid var(--color-card-border);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package-card__image {
  height: 200px;
  background: linear-gradient(45deg, var(--color-spiritual-blue), var(--color-saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  color: var(--color-white);
  position: relative;
}
.package-card__image img {
  width: 100%;
  height: 100%;
}
.package-card__badge {
  position: absolute;
  top: var(--space-12);
  right: var(--space-12);
  background: var(--color-error);
  color: var(--color-white);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

.package-card__content {
  padding: var(--space-20);
}

.package-card__header {
  margin-bottom: var(--space-16);
  margin-bottom: var(--space-5);

}

.package-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-4);
}

.package-card__duration {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-5);
  /* margin-top: var(--space-5); */
}

.package-card__pricing {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-5);
  margin-top: var(--space-5);

}

.package-card__price {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-saffron);
}

.package-card__original-price {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

.package-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.package-card__stars {
  color: var(--color-divine-gold);
  margin-bottom: var(--space-0);

}

.package-card__reviews {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-0);

}

.package-card__highlights {
  margin-bottom: var(--space-8);
}

.package-card__highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-sm);
}

.package-card__highlight-item::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
}

.package-card__button {
  width: 100%;
}

/* Services Section - Now appears after packages */
.services {
  padding: var(--space-32) 0;
  background: var(--color-bg-2);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-24);
}

.service-card {
  background: var(--color-surface);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
  border: 1px solid var(--color-card-border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  font-size: 48px;
  margin-bottom: var(--space-16);
  color: var(--color-saffron);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__icon {
  transform: scale(1.2);
}

.service-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-12);
}

.service-card__description {
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* Statistics Section */
.statistics {
  padding: var(--space-32) 0;
  background: var(--color-spiritual-blue);
  color: var(--color-white);
}

.statistics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-32);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(var(--font-size-4xl), 4vw, 60px);
  font-weight: var(--font-weight-bold);
  color: var(--color-divine-gold);
  margin-bottom: var(--space-8);
}

.stat-label {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose {
  padding: var(--space-32) 0;
  background: var(--color-bg-3);
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-24);
}

.feature-card {
  background: var(--color-surface);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
  border: 1px solid var(--color-card-border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  font-size: 48px;
  margin-bottom: var(--space-16);
  color: var(--color-saffron);
}

.feature-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-12);
}

.feature-card__description {
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-32) 0;
  background: var(--color-bg-4);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-24);
}

.testimonial-card {
  background: var(--color-surface);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-card-border);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-standard);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-20);
  font-size: 60px;
  color: var(--color-saffron);
  line-height: 1;
}

.testimonial-card__rating {
  color: var(--color-divine-gold);
  margin-bottom: var(--space-12);
}

.testimonial-card__comment {
  font-style: italic;
  margin-bottom: var(--space-16);
  color: var(--color-text);
}

.testimonial-card__author {
  font-weight: var(--font-weight-semibold);
  color: var(--color-spiritual-blue);
}

.testimonial-card__location {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Gallery Section */
.gallery {
  padding: var(--space-32) 0;
  background: var(--color-bg-5);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-20);
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-standard);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-spiritual-blue), var(--color-saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  color: var(--color-white);
}

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

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  text-align: center;
}

/* FAQ Section */
.faq {
  padding: var(--space-32) 0;
  background: var(--color-bg-6);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-base);
  margin-bottom: var(--space-16);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-20);
  background: none;
  border: none;
  text-align: left;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-spiritual-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--duration-fast) var(--ease-standard);
}

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

.faq-icon {
  font-size: var(--font-size-xl);
  color: var(--color-saffron);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: var(--color-bg-1);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: var(--space-20);
}

.faq-answer p {
  color: var(--color-text);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* Newsletter Section */
.newsletter {
  padding: var(--space-32) 0;
  background: var(--color-saffron);
  color: var(--color-white);
}

.newsletter__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-12);
}

.newsletter__description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-24);
  opacity: 0.9;
}

.newsletter__form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter__input-group {
  display: flex;
  gap: var(--space-12);
}

.newsletter__input {
  flex: 1;
  border: none;
  background: var(--color-white);
  color: var(--color-text);
}

.newsletter__button {
  background: var(--color-spiritual-blue);
  color: var(--color-white);
  white-space: nowrap;
}

.newsletter__button:hover {
  background: var(--color-spiritual-blue-light);
}

/* Contact Section */
.contact {
  padding: var(--space-32) 0;
  background: var(--color-bg-7);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  max-width: 1000px;
  margin: 0 auto;
}

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

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

.contact__icon {
  font-size: var(--font-size-2xl);
  color: var(--color-saffron);
}

.contact__item h4 {
  font-size: var(--font-size-lg);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-4);
}

.contact__item p {
  color: var(--color-text);
  margin: 0;
}

.contact__form {
  background: var(--color-surface);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-error {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
  display: none;
}

.form-error.show {
  display: block;
}

/* About Section */
.about {
  padding: var(--space-32) 0;
  background: var(--color-bg-8);
}

.about__content {
  max-width: 1000px;
  margin: 0 auto;
}

.about__title {
  font-size: var(--font-size-3xl);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-20);
  text-align: center;
}

.about__description {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  margin-bottom: var(--space-32);
  text-align: center;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-24);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
}

.feature__icon {
  font-size: var(--font-size-2xl);
  color: var(--color-saffron);
  flex-shrink: 0;
}

.feature__content h4 {
  font-size: var(--font-size-lg);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-8);
}

.feature__content p {
  color: var(--color-text-secondary);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--color-spiritual-blue);
  color: var(--color-white);
  padding: var(--space-32) 0 var(--space-16);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-32);
  margin-bottom: var(--space-24);
}

.footer__section h4 {
  color: var(--color-divine-gold);
  margin-bottom: var(--space-16);
}

.footer__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__section ul li {
  margin-bottom: var(--space-8);
}

.footer__section a {
  color: var(--color-white);
  opacity: 0.8;
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.footer__section a:hover {
  opacity: 1;
  color: var(--color-divine-gold);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-16);
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-12);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-base);
  transition: background var(--duration-fast) var(--ease-standard);
  text-decoration: none;
  font-size: var(--font-size-sm);
}

.social-link:hover {
  background: var(--color-saffron);
}

.social-icon {
  font-size: var(--font-size-lg);
}

.contact-info p {
  margin-bottom: var(--space-8);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-16);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform var(--duration-fast) var(--ease-standard);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--color-white);
}

.whatsapp-icon {
  font-size: var(--font-size-2xl);
}

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--color-saffron);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) var(--ease-standard);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;

}

.back-to-top:hover {
  background: var(--color-saffron-dark);
  transform: translateY(-2px);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all var(--duration-normal) var(--ease-standard);
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal__content {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.modal:not(.hidden) .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--color-text-secondary);
  z-index: 10;
}

.modal__close:hover {
  color: var(--color-text);
}

.modal__body {
  padding: var(--space-32);
}

.modal__package-title {
  font-size: var(--font-size-2xl);
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-16);
}

.modal__package-image {
  height: 200px;
  background: linear-gradient(45deg, var(--color-spiritual-blue), var(--color-saffron));
  border-radius: var(--radius-base);
  margin-bottom: var(--space-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  color: var(--color-white);
}
.modal__package-image img{
  width:100%;
  height:100%;
}

.modal__section {
  margin-bottom: var(--space-20);
}

.modal__section h4 {
  color: var(--color-spiritual-blue);
  margin-bottom: var(--space-12);
}

.modal__highlights,
.modal__inclusions {
  list-style: none;
  padding: 0;
}

.modal__highlights li,
.modal__inclusions li {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.modal__highlights li::before {
  content: '⭐';
}

.modal__inclusions li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all var(--duration-normal) var(--ease-standard);
}

.lightbox.hidden {
  opacity: 0;
  visibility: hidden;
}

.lightbox__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-base);
}

.lightbox__caption {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  margin-top: var(--space-16);
}

.lightbox__close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  font-size: var(--font-size-4xl);
  color: var(--color-white);
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: var(--font-size-4xl);
  color: var(--color-white);
  cursor: pointer;
  padding: var(--space-16);
  border-radius: var(--radius-base);
  transition: background var(--duration-fast) var(--ease-standard);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__prev {
  left: -60px;
}

.lightbox__next {
  right: -60px;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-standard);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    padding: var(--space-20);
    gap: var(--space-16);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-lg);
  }

  .contact__content {
    grid-template-columns: 1fr;
  }

  .packages__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .logo__name {
    font-size: var(--font-size-xl);
  }

  .statistics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter__input-group {
    flex-direction: column;
  }

  .whatsapp-float,
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    bottom: 90px;
  }

  .lightbox__nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-12);
    padding-right: var(--space-12);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .packages__grid {
    grid-template-columns: 1fr;
  }

  .modal__content {
    width: 95vw;
  }

  .modal__body {
    padding: var(--space-20);
  }

  .statistics__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}
.back-button {
  margin-left: auto;
  background-color: transparent;
  color: var(--color-primary);
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.back-button:hover {
  text-decoration: underline;
}

.product-detail {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.product-image-large {
  width: 100%;
  max-width: 400px;
  margin: 20px 0;
  border-radius: 4px;
}

/* ========== ENHANCED PACKAGES PAGE STYLES ========== */

/* Packages Hero Section */
.packages-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.packages-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/krishnaleelabanner.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.packages-hero__content {
    position: relative;
    z-index: 2;
}

.packages-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.packages-hero__subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Packages Section */
.packages-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

.packages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Enhanced Package Cards */
.enhanced-package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.enhanced-package-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Popular Package Badge */
.popular-package::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-top: 80px solid #ff6b6b;
    z-index: 10;
}

.package-badge {
    position: absolute;
    top: 15px;
    right: -20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 35px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 11;
    box-shadow: 0 4px 15px rgba(238,90,36,0.4);
}

.enhanced-package-card__image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.enhanced-package-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.enhanced-package-card:hover .enhanced-package-card__image img {
    transform: scale(1.15);
}

.enhanced-package-card__price {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    backdrop-filter: blur(10px);
}

.enhanced-package-card__content {
    padding: 2rem;
}

.enhanced-package-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.enhanced-package-card__duration {
    color: #718096;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.enhanced-package-card__description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.enhanced-package-card__features {
    margin-bottom: 2rem;
    display: grid;
    gap: 0.6rem;
}

.enhanced-package-card__feature {
    display: flex;
    align-items: center;
    color: #38a169;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px 0;
}

.enhanced-package-card__feature::before {
    content: '✓';
    margin-right: 12px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.enhanced-package-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Custom Tour Section */
.custom-tour-section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
}

.custom-tour-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.custom-tour__header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.custom-tour__title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-tour__description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.custom-tour__form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.98);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

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

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #a0aec0;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Enhanced Footer */
.enhanced-footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.enhanced-footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.enhanced-footer__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.enhanced-footer__logo-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}

.enhanced-footer__logo-title {
    font-size: 1.8rem;
    margin: 0;
    color: white;
    font-weight: 700;
}

.enhanced-footer__logo-subtitle {
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 500;
}

.enhanced-footer__description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.enhanced-footer__features {
    display: grid;
    gap: 0.8rem;
}

.enhanced-footer__feature {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.enhanced-footer__title {
    color: #ffd700;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.enhanced-footer__contact-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.enhanced-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.enhanced-footer__contact-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

.enhanced-footer__contact-details strong {
    display: block;
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.enhanced-footer__contact-details p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.enhanced-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.enhanced-footer__link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.enhanced-footer__link:hover {
    color: #ffd700;
}

.enhanced-footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.enhanced-footer__copyright {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse-float 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

@keyframes pulse-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Navigation Active Link */
.nav__link--active {
    color: #667eea !important;
    font-weight: 600;
    position: relative;
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
}

/* Header Scroll Effects */
.header-hidden {
    transform: translateY(-100%);
}

.header-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Button Enhanced Styles for Packages */
.btn--large {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .packages-hero__title {
        font-size: 2.5rem;
    }

    .packages-hero {
        padding: 100px 0 60px;
    }

    .packages__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .enhanced-package-card__actions {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .custom-tour__title {
        font-size: 2.2rem;
    }

    .custom-tour__form {
        margin: 0 1rem;
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .enhanced-footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .enhanced-footer__links {
        justify-content: center;
    }

    .package-badge {
        font-size: 0.7rem;
        padding: 6px 25px;
    }
}

@media (max-width: 480px) {
    .packages-hero__title {
        font-size: 2rem;
    }

    .enhanced-package-card__content {
        padding: 1.5rem;
    }

    .custom-tour__form {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }

    .enhanced-package-card__price {
        font-size: 1.1rem;
        padding: 8px 15px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        font-size: 1.2rem;
    }
}

/* ========== END ENHANCED PACKAGES PAGE STYLES ========== */
