: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);

  --nav-bg: #ffffff;
  --nav-border: #e5e7eb;
  --nav-shadow: rgba(0, 0, 0, 0.06);

  --nav-text: #1f2937;
  --nav-text-muted: #6b7280;
  --nav-hover: #2563eb;
  --nav-hover-bg: #eff6ff;

  --dropdown-bg: #ffffff;
  --dropdown-hover-bg: #f3f4f6;

  /* 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;
  margin-top: 0 !important;
}

*,
*::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 */
/* ============================================
   ALPHA EDUWORLD - MAIN STYLESHEET (DESIGN SYSTEM COMPLIANT)
   ============================================ */

/* ============================================
   1. ROOT VARIABLES & GLOBAL STYLES
   ============================================ */

:root {
  /* Light Mode Only - Primary Colors */
  --primary-color: var(--color-primary);
  --secondary-color: var(--color-primary-hover);
  --accent-color: var(--color-orange-500);
  --success-color: var(--color-success);
  --danger-color: var(--color-error);

  /* Neutral Colors - Light Palette */
  --dark-bg: var(--color-slate-900);
  --light-bg: var(--color-background);
  --white: var(--color-cream-100);
  --gray-50: var(--color-cream-50);
  --gray-100: var(--color-cream-100);
  --gray-200: var(--color-gray-200);
  --gray-300: var(--color-gray-300);
  --gray-400: var(--color-gray-400);
  --gray-500: var(--color-slate-500);
  --gray-600: var(--color-brown-600);
  --gray-700: var(--color-slate-900);

  --text-dark: var(--color-text);
  --text-light: var(--color-text-secondary);
  --text-muted: var(--color-text-secondary);
  --border-color: var(--color-border);

  /* Typography */
  --font-primary: var(--font-family-base);
  --font-heading: var(--font-family-base);

  /* Spacing */
  --spacing-xs: var(--space-8);
  --spacing-sm: var(--space-16);
  --spacing-md: var(--space-24);
  --spacing-lg: var(--space-32);
  --spacing-xl: 48px;
  --spacing-2xl: 64px;

  /* Border Radius */
  --radius-sm: var(--radius-sm);
  --radius-md: var(--radius-base);
  --radius-lg: var(--radius-lg);
  --radius-xl: var(--radius-lg);
  --radius-full: var(--radius-full);

  /* Shadows */
  --shadow-sm: var(--shadow-xs);
  --shadow-md: var(--shadow-sm);
  --shadow-lg: var(--shadow-md);
  --shadow-xl: var(--shadow-lg);

  /* Transitions */
  --transition-fast: var(--duration-fast) var(--ease-standard);
  --transition-normal: var(--duration-normal) var(--ease-standard);
  --transition-slow: 500ms var(--ease-standard);

  /* Focus Styles */
  --focus-outline: var(--focus-outline);
  --focus-ring: var(--focus-ring);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  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;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: var(--line-height-normal);
  font-size: var(--font-size-base);
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-24);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: var(--space-24);
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
}

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

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

.caret-icon {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s ease;
}

.menu-item:hover .caret-icon {
  transform: rotate(180deg);
}


/* ============================================
   3. CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-32);
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-24);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-16);
  }
}

/* ============================================
   4. NAVIGATION BAR
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
}

/* Navbar Styles */
.rabbit-navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1400;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 10px rgba(8, 15, 30, 0.03);
}

.rabbit-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 18px 0px 14px;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 50px;
}

.rabbit-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  font-size: 24px;
  font-weight: 700;
  color: #6b5bff;
}

.rabbit-logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.rabbit-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

.rabbit-nav>li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 2px;
}

.rabbit-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  height: auto;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  color: #1f4da8;
  background: none;
  border: none;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
  white-space: nowrap;
}

.rabbit-link:hover {
  background: rgba(107, 91, 255, 0.08);
  color: #6b5bff;
}

.rabbit-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.caret {
  font-size: 12px;
  opacity: 0.85;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.rabbit-login {
  margin-left: auto;
  padding: 9px 18px;
  background: linear-gradient(135deg, #6b5bff, #6a7eff);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 26px rgba(106, 94, 255, 0.14);
  display: flex;
  align-items: center;
  height: auto;
  transition: box-shadow .14s ease, transform .14s ease;
}

.rabbit-login:hover {
  box-shadow: 0 12px 32px rgba(165, 162, 197, 0.24);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  z-index: 9999;
}

.mobile-menu.active {
  max-height: 500px;
  padding: 20px 0;
}

.mobile-menu-item {
  padding: 14px 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-link {
  display: block;
  color: #0f172a;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #6b5bff;
}

.mobile-dropdown {
  margin-top: 12px;
  padding-left: 16px;
}

.mobile-dropdown a {
  display: block;
  padding: 10px 0;
  color: #64748b;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-dropdown a:hover {
  color: #6b5bff;
  padding-left: 8px;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu-header .caret {
  transition: transform 0.3s ease;
}

.mobile-menu-header.active .caret {
  transform: rotate(180deg);
}

/* ---------- HERO: large background + floating form ---------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  /* fallback hero image, keep your existing one if you prefer */
  background-image: linear-gradient(180deg, rgba(7, 18, 22, 0.35), rgba(7, 18, 22, 0.35)), url('assets/images/monuments/russia.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
  color: var(--color-cream-100);
}

/* keep container centered */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  /* left content / right form */
  gap: 40px;
  align-items: center;
  position: relative;
}

/* Left column */
.hero-left {
  max-width: 760px;
}

.kicker {
  display: inline-block;
  background: rgba(239, 233, 233, 0.06);
  color: #e6eef0;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 13px;
}

.hero-heading {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
}

.hero-heading .accent {
  color: var(--primary-color);
  display: inline-block;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-ctas .btn {
  margin-right: 14px;
}

/* small stat row under the CTAs */
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  align-items: center;
}

.hero-stats .stat {
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats .stat strong {
  display: block;
  font-size: 20px;
  color: #fff;
}

/* RIGHT: floating form card (glass) */
.hero-form-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

/* actual form card */
.hero-form {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 30;
}

.country-hero,
.hero-section {
  position: relative;
  z-index: 1;
  /* 👈 explicitly LOW */
}

/* header with gradient */
.hero-form-header {
  background: linear-gradient(135deg, rgba(39, 144, 229, 1), rgba(0, 157, 255, 1));
  color: #fff;
  padding: 22px 20px;
  text-align: center;
}

.hero-form-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.hero-form-header p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.95;
}

/* form body spacing */
.form-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
}

/* inputs using existing .form-control pattern */
.form-control {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(20, 30, 40, 0.08);
  background: #fff;
  font-size: 14px;
  width: 100%;
}

/* submit button with inline spinner */
#heroSubmitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
}

/* spinner style (hidden by default via JS) */
.hero-form .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: spin 0.9s linear infinite;
  display: none;
  /* shown when submitting */
}

/* success message */
.form-success {
  font-size: 14px;
  color: var(--color-success);
  margin-top: 10px;
  text-align: center;
}

/* small animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive: stack on small screens */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-form-wrapper {
    justify-content: center;
  }

  .hero-form {
    max-width: 560px;
    margin: 0 auto;
    transform: translateY(0);
  }

  .hero-heading {
    font-size: 2rem;
  }
}

/* ensure the form floats above everything visually when sticky/overlays are used */
.hero-form {
  z-index: 9999;
}

/*hero section close*/

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 14px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.rabbit-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #0f172a;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(107, 91, 255, 0.08);
  color: #6b5bff;
  padding-left: 20px;
}

.dropdown-menu hr {
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin: 8px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    padding: 40px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 16px;
  }

  .welcome-banner {
    position: absolute;
    /* remove absolute on mobile */
    top: 8%;
    left: 25%;
    transform: none;

    width: 55%;
    /* almost full width */
    max-width: 55%;

    margin: 20px auto;
    /* center + spacing */

    padding: 16px;
    border-radius: 20px;
  }

  .welcome-banner1 {
    position: absolute;
    /* remove absolute on mobile */
    top: 32%;
    left: 25%;
    transform: none;

    width: 55%;
    /* almost full width */
    max-width: 100%;

    margin: 20px auto;
    /* center + spacing */

    padding: 16px;
    border-radius: 20px;
  }


  .welcome-text {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .rabbit-container {
    padding: 0 16px;
  }

  .rabbit-nav {
    display: none;
  }

  .rabbit-login {
    display: none;
  }

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

  .hero-section {
    min-height: auto;
    padding: 40px 16px;
  }

  .hero-container {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 160px);
    gap: 12px;
  }

  .welcome-banner {
    padding: 24px 20px;
    border-radius: 20px;
    width: 92%;
  }

  .welcome-text {
    font-size: 20px;
    letter-spacing: 0.3px;
  }

  .image-card-placeholder {
    font-size: 32px;
  }

  .dropdown-menu {
    min-width: 200px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-banner {
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-card {
  animation: fadeIn 0.6s ease-out backwards;
}

.image-card:nth-child(1) {
  animation-delay: 0.1s;
}

.image-card:nth-child(2) {
  animation-delay: 0.2s;
}

.image-card:nth-child(3) {
  animation-delay: 0.3s;
}

.image-card:nth-child(4) {
  animation-delay: 0.4s;
}

.image-card:nth-child(5) {
  animation-delay: 0.5s;
}




/* ===============================
   LIFE OF STUDENTS – FINAL GRID
================================ */

.student-life-section {
  background: #ffffff;
  /* force white */
  padding: 2px 40px 10px 40px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #0ca7e0;
}

/* DESKTOP GRID */
.student-life-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 24px;
}

/* IMAGE CARD */
.life-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(40px);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.life-card:nth-child(odd) {
  animation-delay: 0.15s;
}

.life-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.life-card:hover img {
  transform: scale(1.06);
}

/* FEATURED BIG TILES */
.life-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.life-card:nth-child(4) {
  grid-column: span 2;
}

/* ANIMATION */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .student-life-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .life-card:nth-child(1),
  .life-card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .student-life-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .life-card {
    grid-column: span 1 !important;
  }
}






/* ============================================
   Destinations SECTION (9 Cards)
   ============================================ */

.offers-section {
  padding: 25px 10px 5px 10px;
  background: #ffffff
    /*linear-gradient(90deg, #03045e 0%, #0096c7 100%);*/
}

@media (max-width: 480px) {
  .offers-section {
    padding: 60px var(--space-16);
  }
}

.offers-section h2 {
  text-align: center;
  margin-bottom: var(--space-16);
  font-size: var(--font-size-4xl);
  color: #0ca7e0;
}

.offers-section .section-subtitle {
  text-align: center;
  margin-bottom: 64px;
  font-size: 24;
  color: #070707;
}

@media (max-width: 480px) {
  .offers-section .section-subtitle {
    margin-bottom: 48px;
  }
}

/* Offers Grid - 3 Columns */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  /* centers cards nicely */
}


@media (max-width: 1024px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
  }
}

@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
  }
}

@media (max-width: 480px) {
  .offers-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
}

.offers-section {
  overflow-x: hidden;
}


.offer-card {
  background: #e0b1cb;
  border-radius: var(--radius-lg);
  padding: 15px 24px 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  border: 2px solid transparent;
  position: relative;
  /* ← Make sure this is relative */
  overflow: hidden;
  min-height: 100px;
  width: 100%;
  max-width: 360px;
  /* keeps cards premium, prevents stretching */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  /* ← Add this */
}


.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  z-index: -1;
  /* ← Changed from 0 to -1 */
  pointer-events: none;
}


.offer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: #5e548e;
}

/* Hidden Cards */
.offer-card.hidden-offer {
  display: none;
  opacity: 0;
  animation: slideInUp 0.6s var(--ease-standard) forwards;
}

.offer-card.hidden-offer.show-offer {
  display: flex;
  opacity: 1;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .offer-card {
    padding: 24px 16px;
    min-height: 240px;
  }
}

/* Flag Badge */
.offer-flag {
  position: relative;
  z-index: 2;
  /* ← Add this */
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: var(--space-16);
  border: 3px solid var(--color-primary);
}

.offer-flag img {
  width: 75%;
  height: 75%;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .offer-flag {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .offer-flag {
    width: 65px;
    height: 65px;
    margin-bottom: var(--space-12);
  }
}

/* Offer Card Title */
.offer-card h3 {
  position: relative;
  z-index: 2;
  /* ← Add this */
  margin: 0;
  margin-bottom: var(--space-12);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .offer-card h3 {
    font-size: var(--font-size-md);
  }
}

@media (max-width: 480px) {
  .offer-card h3 {
    font-size: var(--font-size-base);
  }
}

/* Offer Text */
.offer-card .offer-text {
  position: relative;
  z-index: 2;
  /* ← Add this */
  margin: 0;
  font-size: 20;
  color: #070707;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .offer-card .offer-text {
    font-size: 12px;
  }
}

/* Show More Button */
.show-more-offers-btn {
  display: block;
  margin: 0 auto;
  padding: var(--space-10) var(--space-20);
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.show-more-offers-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.show-more-offers-btn.expanded {
  background-color: var(--color-text-secondary);
}

@media (max-width: 480px) {
  .show-more-offers-btn {
    width: 90%;
    padding: var(--space-10) var(--space-20);
    font-size: 12px;
  }
}

.show-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.show-more-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.show-more-offers-btn {
  margin-inline: auto;
}



/* Add background images to cards */
.offer-card:nth-child(1)::before {
  background-image: url("../assets/images/monuments/india.jpg");
}

.offer-card:nth-child(2)::before {
  background-image: url("../assets/images/monuments/russia.jpg");
}

.offer-card:nth-child(3)::before {
  background-image: url("../assets/images/monuments/kazakhstan.jpg");
}

.offer-card:nth-child(4)::before {
  background-image: url("../assets/images/monuments/kyrgyzstan.jpg");
}

.offer-card:nth-child(5)::before {
  background-image: url("../assets/images/monuments/uzbekistan.jpg");
}

.offer-card:nth-child(6)::before {
  background-image: url("../assets/images/monuments/nepal.jpg");
}

.offer-card:nth-child(7)::before {
  background-image: url("../assets/images/monuments/bangladesh.jpg");
}

.offer-card:nth-child(8)::before {
  background-image: url("../assets/images/monuments/georgia.jpg");
}


/* Know More Button */
.know-more-btn {
  display: inline-block;
  margin-top: var(--space-16);
  padding: var(--space-10) var(--space-20);
  background-color: #003566;
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-standard);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}


.know-more-btn:hover {
  background-color: #264653;
  transform: translateY(-2px);
  box-shadow: #070707;
}

.know-more-btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .know-more-btn {
    font-size: 12.5px;
    padding: 10px 18px;
    border-radius: 999px;

    /* modern depth */
    box-shadow: 0 6px 16px rgba(0, 53, 102, 0.25);

    /* premium feel */
    letter-spacing: 0.3px;

    /* better tap area */
    min-height: 36px;

    /* smoother interaction */
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  }

  .know-more-btn:active {
    transform: scale(0.96);
    box-shadow: 0 3px 8px rgba(0, 53, 102, 0.2);
  }
}


/* Update offer card to include button */
.offer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}



/* ============================================
   SERVICES SECTION (Document Inspired)
   ============================================ */

.services {
  padding: 80px 20px;
  background: #f8f9fa;
}

.services .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.service-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .service-card {
  background-color: #ffffff !important;
  color: #333333;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Inner layout */
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icon */
.service-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f3f5;
}


.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.service-card h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 12px;
}

/* Ensure text is readable */
.services .service-card h3 {
  color: #222222;
}

.service-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}


/* Know More Button */
.service-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px 4px 12px;
  border-radius: 999px;
  background: transparent;
  color: #21808d;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #21808d;
  transition: all 0.25s ease;
}

.service-btn:hover {
  background: #21808d;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .services {
    padding: 60px 16px;
  }

  .service-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .service-btn {
    font-size: 13.5px;
    padding: 8px 18px;
    border-width: 1.5px;

    /* Better tap area */
    min-height: 36px;

    /* Slightly more breathing room */
    margin-top: 16px;
  }

  /* Remove hover jump on touch devices */
  .service-btn:hover {
    transform: none;
  }

  /* Add subtle press feedback instead */
  .service-btn:active {
    transform: scale(0.96);
    background: #21808d;
    color: #ffffff;
  }
}


/* ============================================
   9. CTA FINAL SECTION
   ============================================ */

.cta-final {
  background:
    /*#f0f0f2*/
    linear-gradient(135deg, #d9d9d9 25%, #cce3de);
  color: #070707;
  padding: 24px var(--space-32);
  text-align: center;
}

@media (max-width: 480px) {
  .cta-final {
    padding: 48px var(--space-16);
  }
}

.cta-final h2 {
  color: #000000;
  margin-bottom: var(--space-24);
}

.cta-final p {
  color: #000000;
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .cta-final p {
    margin-bottom: 48px;
  }
}

.cta-buttons {
  display: flex;
  gap: var(--space-32);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    gap: var(--space-16);
  }
}

.cta-button.primary {
  background-color: var(--color-orange-500);
  color: var(--color-btn-primary-text);
}

.cta-button.primary:hover {
  background-color: var(--color-orange-400);
}

.cta-button.secondary {
  background-color: #94d2bd;
  border: 2px solid #005f73;
  color: #0a9396;
}

.cta-button.secondary:hover {
  background-color: var(--color-cream-50);
  color: var(--color-primary);
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, #142952 25%, #23365c);
  color: #f5f2f2;
  padding: 24px;
}

@media (max-width: 480px) {
  .footer {
    padding: 48px var(--space-16) var(--space-16);
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
}

.footer-section h4 {
  color: var(--color-orange-500);
  margin-bottom: var(--space-24);
  font-weight: var(--font-weight-semibold);
  margin-top: 0;
}

.footer-section p {
  color: #cfc5c5;
  margin-bottom: var(--space-16);
  font-size: var(--font-size-sm);
}

.footer-section ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 12px;
  /* row gap | column gap */
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  list-style: none;
}

@supports not ((backdrop-filter: blur(10px))) {
  .country-flag {
    background: rgba(255, 255, 255, 0.85);
  }
}



.footer-section a {
  color: #cfc5c5;
  transition: color var(--duration-fast) var(--ease-standard);
  font-size: var(--font-size-sm);
}

.footer-section a:hover {
  color: var(--color-orange-500);
}

.footer-bottom {
  border-top: 1px solid rgba(125, 121, 121, 0.1);
  padding-top: 10px;
  text-align: center;
  color: rgba(232, 227, 227, 0.5);
  font-size: var(--font-size-sm);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.footer-bottom h2 {
  color: #cfc8c8;
  text-align: center;
  font-size: var(--font-size-sm);
  max-width: var(--container-xl);
  margin: 0 auto;
}




/* ============================================
   MEET OUR STARS SECTION (Infinite Carousel)
   ============================================ */

.stars-section {
  padding: 80px var(--space-32);
  background: #ffffff
    /*linear-gradient(135deg, #03045e 0%, #0096c7 100%)*/
  ;
}

@media (max-width: 480px) {
  .stars-section {
    padding: 60px var(--space-16);
  }
}

.stars-section h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: var(--font-size-4xl);
  color: #070707;
  font-weight: var(--font-weight-bold);
}

/* Tabs/Filter Buttons */
.stars-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: var(--space-10) var(--space-24);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background: rgb(242, 46, 46);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

@media (max-width: 480px) {
  .stars-tabs {
    gap: var(--space-8);
  }

  .tab-btn {
    padding: var(--space-8) var(--space-16);
    font-size: 11px;
  }
}

/* Carousel Wrapper */
.stars-carousel-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.stars-carousel {
  display: flex;
  gap: var(--space-24);
  padding: var(--space-16);
  flex-wrap: nowrap;
  width: max-content;

  will-change: transform;
  transform: translateZ(0);
}

/* Prevent shrinking */
.student-card {
  flex: 0 0 auto;
}

.stars-carousel {
  touch-action: pan-y;
}


/* Responsive gaps */
@media (max-width: 768px) {
  .stars-carousel {
    gap: var(--space-16);
  }
}

@media (max-width: 480px) {
  .stars-carousel {
    gap: var(--space-12);
  }
}



/* Student Card */
.student-card {
  flex: 0 0 280px;
  background: linear-gradient(90deg, #3b0000 0.000%, #00001e 50.000%, #085b63 100.000%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-standard);
  cursor: pointer;
}

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

@media (max-width: 768px) {
  .student-card {
    flex: 0 0 240px;
  }
}

@media (max-width: 480px) {
  .student-card {
    flex: 0 0 200px;
  }
}

/* Student Image */
.student-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
}

.student-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-standard);
}

.student-card:hover .student-image img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .student-image {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .student-image {
    height: 200px;
  }
}

/* Exam Badge */
.exam-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(2, 1, 25, 0.85);
  color: rgb(242, 242, 247);
  padding: var(--space-8) var(--space-12);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 480px) {
  .exam-badge {
    font-size: 11px;
    padding: var(--space-6) var(--space-8);
  }
}

/* Student Info */
.student-info {
  padding: var(--space-16);
  background: linear-gradient(90deg, #3b0000 0.000%, #00001e 50.000%, #085b63 100.000%);
}

.student-info h4 {
  margin: 0 0 var(--space-8) 0;
  font-size: var(--font-size-md);
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 768px) {
  .student-info h4 {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .student-info h4 {
    font-size: 14px;
  }
}

.course-type {
  margin: 0 0 var(--space-12) 0;
  font-size: var(--font-size-sm);
  color: #070707;
}

@media (max-width: 480px) {
  .course-type {
    font-size: 11px;
  }
}

.achievement {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: #023714;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.achievement i {
  font-size: var(--font-size-sm);
  color: #1eaa50;
}

@media (max-width: 480px) {
  .achievement {
    font-size: 14px;
  }

  .achievement i {
    font-size: 10px;
  }
}

/* Hide cards based on filter */
.student-card.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}




/* ============================================
   11. ANIMATIONS
   ============================================ */

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ============================================
   12. UTILITY CLASSES
   ============================================ */

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

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ============================================
   13. RESPONSIVE TWEAKS
   ============================================ */

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  h3 {
    font-size: var(--font-size-xl);
  }

  p {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--font-size-2xl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }

  h3 {
    font-size: var(--font-size-lg);
  }

  p {
    font-size: var(--font-size-sm);
  }

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

/* ============================================
   FLOATING SOCIAL SIDEBAR
   ============================================ */

.social-sidebar {
  position: fixed;
  left: 20px;
  top: 95%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 999;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Instagram */
.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
  opacity: 0.85;
}


/* Twitter */
.social-icon.twitter {
  background-color: #1da1f2;
}

.social-icon.twitter:hover {
  background-color: #1a91da;
}

/* LinkedIn */
.social-icon.linkedin {
  background-color: #0a66c2;
}

.social-icon.linkedin:hover {
  background-color: #095195;
}

/* YouTube */
.social-icon.youtube {
  background-color: #ff0000;
}

.social-icon.youtube:hover {
  background-color: #cc0000;
}

/* WhatsApp */
.social-icon.whatsapp {
  background-color: #25d366;
}

.social-icon.whatsapp:hover {
  background-color: #1eaa50;
}

/* Responsive - Hide on very small screens */
@media (max-width: 480px) {
  .social-sidebar {
    right: 10px;
    gap: 10px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

.university-card,
.benefit-card,
.process-step,
.document-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}


/* ================================
   FORCE FIX: STUDENT CAROUSEL
   ================================ */

/* Wrapper */
.stars-carousel-wrapper {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: 20px 0 !important;
}

/* Horizontal row */
.stars-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 28px !important;
  align-items: stretch !important;
  width: max-content !important;
}

/* Individual card */
.student-card {
  flex: 0 0 280px !important;
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;

  background: #fff !important;
  border-radius: 18px !important;
  overflow: hidden !important;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover animation */
.student-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Image container */
.student-image {
  position: relative !important;
  width: 100% !important;
  height: 300px !important;
  overflow: hidden !important;
}

/* Image */
.student-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Country badge */
.exam-badge {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(8, 15, 40, 0.85) !important;
  color: #fff !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
  text-align: center !important;
}

/* Text area */
.student-info {
  background: #c9aa6f !important;
  padding: 16px !important;
  text-align: left !important;
}

/* Name */
.student-info h4 {
  margin: 0 0 6px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* College */
.student-info .course-type {
  font-size: 14px !important;
  margin-bottom: 6px !important;
}

/* Year */
.student-info .achievement {
  font-weight: 700 !important;
  color: #0b5f2a !important;
}

/* Tabs force style */
.stars-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 30px !important;
}

.tab-btn {
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
}

/* ================================
   FORCE SHOW ALL OFFER CARDS
   ================================ */

.allcountry-page .offer-card {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.allcountry-page .offer-card.hidden {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ============================
   FORCE HERO FORM STYLE
============================ */

.hero-form *,
.hero-form input,
.hero-form select,
.hero-form button {
  box-sizing: border-box;
  font-family: var(--font-family-base);
}

/* FORM CARD */
.hero-form {
  background: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25) !important;
  overflow: hidden;
}

/* HEADER */
.hero-form-header {
  background: linear-gradient(135deg, #1e90ff, #009dff) !important;
  color: #fff !important;
  text-align: center;
  padding: 22px 20px;
}

.hero-form-header h3 {
  color: #fff !important;
  font-size: 20px;
}

.hero-form-header p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px;
}

/* BODY */
.hero-form .form-body {
  background: #ffffff !important;
  padding: 20px !important;
}

/* INPUTS – FORCE WHITE */
.hero-form .form-control {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  color: #0f172a !important;
}

.hero-form .form-control::placeholder {
  color: #94a3b8 !important;
}

/* FOCUS */
.hero-form .form-control:focus {
  border-color: #1e90ff !important;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, .25) !important;
}

/* SUBMIT BUTTON */
.hero-form button,
#heroSubmitBtn {
  background: linear-gradient(135deg, #1e90ff, #009dff) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

/* Spinner animation */
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

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

/* Success message */
.form-success {
  display: none;
  color: #4caf50;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
}

.contact-form button {
  background: linear-gradient(135deg, #28c7ff, #009dff);
}

/* ============================================
   INTEREST MODAL - Modern Form Design
   ============================================ */
.interest-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.interest-modal.show {
  display: flex;
}

.interest-modal-box {
  background: white;
  width: 90%;
  max-width: 480px;
  padding: 2.5rem;
  border-radius: 24px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.interest-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: #667eea;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  transition: all var(--transition-fast);
}

.interest-close:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: rotate(90deg);
}

.hero-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-form-header h3 {
  font-size: 1.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-form-header p {
  color: #4a5568;
  font-size: 0.95rem;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-control {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
  background: #f8f9fb;
}

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

.btn--primary {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.btn--primary.loading {
  pointer-events: none;
  opacity: 0.7;
}

.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn--primary.loading .spinner {
  display: block;
}

.btn--primary.loading .btn-text {
  display: none;
}

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

.form-success {
  text-align: center;
  color: #10b981;
  font-weight: 600;
  margin-top: 1rem;
}

.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;
}
