: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: 10px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
:root {
  /* Vision 2027 Brand Colors */
  --color-brand-orange: #FF7600;
  --color-brand-blue: #00204A;
  --color-brand-white: #FFFFFF;
  --color-brand-orange-light: #FF9533;
  --color-brand-blue-light: #E8F1FF;
  --color-brand-orange-dark: #E66800;
  --color-brand-blue-dark: #001633;
  --color-dark-text: #2C3E50;
  --color-light-text: #6C757D;
  
  /* 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-brand-orange-rgb: 255, 118, 0;
  --color-brand-blue-rgb: 0, 32, 74;
  --color-brand-white-rgb: 255, 255, 255;
  --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 (Orange-Blue Theme) */
  --color-bg-1: rgba(var(--color-brand-blue-rgb), 0.08);
  --color-bg-2: rgba(var(--color-brand-orange-rgb), 0.08);
  --color-bg-3: rgba(var(--color-brand-blue-rgb), 0.05);
  --color-bg-4: rgba(var(--color-brand-orange-rgb), 0.05);
  --color-bg-5: rgba(var(--color-brand-blue-rgb), 0.12);
  --color-bg-6: rgba(var(--color-brand-orange-rgb), 0.12);
  --color-bg-7: rgba(var(--color-brand-blue-rgb), 0.15);
  --color-bg-8: rgba(var(--color-brand-orange-rgb), 0.15);

  /* Semantic Color Tokens (Orange-Blue Theme) */
  --color-background: var(--color-brand-white);
  --color-surface: var(--color-brand-white);
  --color-text: var(--color-brand-blue);
  --color-text-secondary: rgba(var(--color-brand-blue-rgb), 0.7);
  --color-primary: var(--color-brand-orange);
  --color-primary-hover: var(--color-brand-orange-dark);
  --color-primary-active: var(--color-brand-orange-dark);
  --color-secondary: var(--color-brand-blue);
  --color-secondary-hover: var(--color-brand-blue-light);
  --color-secondary-active: var(--color-brand-blue-dark);
  --color-border: rgba(var(--color-brand-blue-rgb), 0.2);
  --color-btn-primary-text: var(--color-brand-white);
  --color-card-border: rgba(var(--color-brand-blue-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-brand-blue-rgb), 0.1);
  --color-error: var(--color-red-500);
  --color-success: var(--color-brand-orange);
  --color-warning: var(--color-brand-orange);
  --color-info: var(--color-brand-blue);
  --color-focus-ring: rgba(var(--color-brand-orange-rgb), 0.4);
  --color-select-caret: rgba(var(--color-brand-blue-rgb), 0.8);

  /* 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;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);

  /* 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;
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* 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;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-16);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-32);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: clamp(36px, 5vw, 48px);
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
}

h3 {
  font-size: var(--font-size-3xl);
}

p {
  margin: 0;
  line-height: var(--line-height-normal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-24);
  border: none;
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-brand-white);
  border: 2px solid var(--color-brand-white);
}

.btn--outline:hover {
  background: var(--color-brand-white);
  color: var(--color-brand-blue);
}

.btn--sm {
  padding: var(--space-8) var(--space-16);
  font-size: var(--font-size-sm);
}

.btn--large {
  padding: var(--space-16) var(--space-32);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-brand-blue);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-brand-orange);
  /*padding: var(--space-16) 0;*/
  box-shadow: 0 4px 20px rgba(var(--color-brand-blue-rgb), 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-base);
  background: var(--color-brand-orange);
}

.brand-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav-links a {
  color: var(--color-brand-white);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--duration-fast);
}

.nav-links a:hover {
  color: var(--color-brand-orange);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-4);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-brand-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    padding: var(--space-12) 0;
  }
  
  .navbar .container {
    position: relative;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-brand-blue);
    flex-direction: column;
    padding: var(--space-16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-standard);
    z-index: 1000;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    display: block;
    padding: var(--space-12) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--font-size-lg);
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .nav-links .btn {
    margin-top: var(--space-12);
    width: 100%;
    justify-content: center;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .logo1 {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: var(--space-8) 0;
  }
  
  .nav-links {
    padding: var(--space-12);
  }
  
  .nav-links a {
    padding: var(--space-10) 0;
    font-size: var(--font-size-base);
  }
  
  .logo1 {
    font-size: 16px !important;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-80) 0 var(--space-64);
  overflow: hidden;
  background: #1a1d2e;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-48);
  max-width: 1200px;
  width: 100%;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 400px;
    gap: var(--space-64);
    align-items: start;
  }
}

/* Hero Main Content */
.hero-main-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  text-align: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-main-content {
    text-align: left;
    align-items: flex-start;
  }
}

/* Hero Stats Column */
.hero-stats-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-32);
  gap: var(--space-16);
}

@media (min-width: 1024px) {
  .hero-stats-column {
    align-items: flex-end;
    margin-top: var(--space-48);
  }
}

/* Registration Button */
.registration-btn {
  background: linear-gradient(135deg, var(--color-brand-orange), var(--color-brand-orange-light));
  color: var(--color-brand-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-24);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(var(--color-brand-orange-rgb), 0.4), 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--duration-normal) var(--ease-standard);
  min-width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 480px) {
  .registration-btn { min-width: 280px; }
}
@media (min-width: 768px) {
  .registration-btn { min-width: 220px; }
}

.registration-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.registration-btn:hover::before {
  left: 100%;
}

.registration-btn:hover {
  background: linear-gradient(135deg, var(--color-brand-orange-dark), var(--color-brand-orange));
  color: var(--color-brand-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(var(--color-brand-orange-rgb), 0.5), 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.registration-btn:active {
  transform: translateY(-1px) scale(1.01);
}

/* Registration Section */
.registration-section {
  display: flex;
  flex-direction: row;
  gap: var(--space-16);
  align-items: stretch;
  text-align: center;
  margin-bottom: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.registration-list {
  display: flex;
  flex-direction: row;
  gap: var(--space-16);
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
}

.registration-item {
  display: flex;
  align-items: stretch;
}

@media (min-width: 768px) {
  .registration-section {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-20);
    flex-wrap: nowrap;
  }
}

@media (min-width: 1024px) {
  .registration-section {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
  }
}

/* Scholarship Button */
.scholarship-btn {
  background: linear-gradient(135deg, var(--color-brand-blue), var(--color-brand-blue-light));
  color: var(--color-brand-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-20);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(var(--color-brand-blue-rgb), 0.3), 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--duration-normal) var(--ease-standard);
  min-width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.scholarship-btn:hover {
  background: linear-gradient(135deg, var(--color-brand-blue-dark), var(--color-brand-blue));
  color: var(--color-brand-white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(var(--color-brand-blue-rgb), 0.4), 0 4px 15px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.scholarship-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.scholarship-icon {
  font-size: var(--font-size-lg);
}

.scholarship-text {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
}

/* QET Section */
.qet-section {
  background: linear-gradient(135deg, rgba(var(--color-brand-blue-rgb), 0.15), rgba(var(--color-brand-orange-rgb), 0.08));
  padding: var(--space-20);
  border-radius: var(--radius-lg);
  border: 3px solid var(--color-brand-blue);
  max-width: 300px;
  box-shadow: 0 8px 25px rgba(var(--color-brand-blue-rgb), 0.3), 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-standard);
  min-width: 280px;
}

.qet-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(var(--color-brand-blue-rgb), 0.4), 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--color-brand-blue-light);
}

.qet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-blue), var(--color-brand-orange));
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.qet-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-blue);
  margin: 0 0 var(--space-12) 0;
  text-shadow: 0 2px 4px rgba(var(--color-brand-blue-rgb), 0.3);
  text-align: center;
}

.qet-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-brand-orange);
  margin: 0 0 var(--space-16) 0;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  text-shadow: 0 1px 3px rgba(var(--color-brand-orange-rgb), 0.3);
  text-align: center;
}

.qet-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-brand-blue), var(--color-brand-blue-light));
  color: var(--color-brand-white);
  padding: var(--space-12) var(--space-20);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: 0 4px 15px rgba(var(--color-brand-blue-rgb), 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.qet-link:hover {
  background: linear-gradient(135deg, var(--color-brand-blue-dark), var(--color-brand-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-brand-blue-rgb), 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Badge */
.hero-badge {
  margin-bottom: var(--space-24);
}

.batch-start-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-12) var(--space-24);
  background: #FFB800;
  color: #000000;
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

/* Hero Headings */
.hero-headings {
  margin-bottom: var(--space-24);
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-headings {
    text-align: left;
  }
}

.hero-main-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-white);
  margin-bottom: var(--space-16);
  line-height: 1.1;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-main-title {
    text-align: left;
  }
}

.hero-subtitle-1 {
  font-size: var(--font-size-xl);
  color: var(--color-brand-white);
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-subtitle-1 {
    text-align: left;
  }
}

.hero-subtitle-2 {
  font-size: var(--font-size-lg);
  color: rgba(var(--color-brand-white-rgb), 0.9);
  font-weight: var(--font-weight-normal);
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-subtitle-2 {
    text-align: left;
  }
}

/* Hero Feature Cards */
.hero-feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
  width: 100%;
  max-width: 800px;
  justify-self: center;
}

@media (min-width: 768px) {
  .hero-feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
    justify-self: center;
  }
}

.hero-card {
  background: var(--color-brand-white);
  border-radius: var(--radius-lg);
  padding: var(--space-20);
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--color-brand-orange-rgb), 0.1);
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6600, #FFB800);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 40px rgba(255, 102, 0, 0.25);
  border-color: #FF6600;
}

.hero-card:hover::before {
  transform: scaleX(1);
}

.hero-card-icon {
  font-size: 32px;
  margin-bottom: var(--space-12);
  display: block;
  filter: grayscale(0%) brightness(1.1);
  transition: all var(--duration-normal);
}

.hero-card:hover .hero-card-icon {
  transform: scale(1.05) rotate(3deg);
}

.hero-card-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: #1a1d2e;
  margin-bottom: var(--space-8);
}

.hero-card-description {
  font-size: var(--font-size-sm);
  color: #6C757D;
  line-height: 1.4;
  margin: 0;
}

/* Hero Statistics Card */
.hero-stats-card {
  background: var(--color-brand-white);
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--color-brand-orange-rgb), 0.15);
  max-width: 400px;
  width: 100%;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-standard);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
}

.hero-stats-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(var(--color-brand-orange-rgb), 0.2);
  border-color: rgba(var(--color-brand-orange-rgb), 0.3);
}

.faculty-avatar {
  margin-bottom: var(--space-12);
  display: flex;
  justify-content: center;
}

.faculty-image {
  width: 252px;
  height: 333px;
  border-radius: 0;
  object-fit: cover;
  border: none;
  box-shadow: none;
  transition: none;
}

.faculty-image:hover {
  transform: none;
  box-shadow: none;
}

.faculty-info {
  margin-bottom: var(--space-16);
  text-align: center;
}

.faculty-name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-blue);
  margin: 0 0 var(--space-8) 0;
}

.faculty-title {
  font-size: var(--font-size-base);
  color: var(--color-brand-orange);
  margin: 0;
  font-weight: var(--font-weight-medium);
}

.stats-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.stat-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-orange);
  line-height: 1;
  text-shadow: 0 1px 3px rgba(var(--color-brand-orange-rgb), 0.2);
  transition: all var(--duration-normal) var(--ease-standard);
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
  color: var(--color-brand-orange-light);
}

/* Special styling for scholarship section */
.stat-item:nth-child(2) .stat-number {
  color: var(--color-brand-blue);
}

.stat-item:nth-child(2) .stat-label {
  color: var(--color-brand-blue);
}

.stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-light-text);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Mobile responsiveness for stats card */
@media (max-width: 768px) {
  .hero-stats-card {
    padding: var(--space-16);
    max-width: 100%;
  }
  
  .stats-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-12);
  }
  
  .stats-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  
  .stat-number {
    font-size: var(--font-size-xl);
  }
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: stretch;
  width: 100%;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-cta-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .hero-cta-buttons {
    justify-content: flex-start;
  }
}

.btn--hero-primary {
  background: #FF6600;
  color: var(--color-brand-white);
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  min-width: 100%;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Mobile-first full width for hero buttons */
@media (min-width: 480px) {
  .btn--hero-primary { min-width: 280px; }
}
@media (min-width: 768px) {
  .btn--hero-primary { min-width: 200px; }
}

.btn--hero-primary:hover {
  background: #E55A00;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

.btn--hero-outline {
  background: transparent;
  color: var(--color-brand-white);
  border: 2px solid var(--color-brand-white);
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  min-width: 200px;
}

.btn--hero-outline:hover {
  background: var(--color-brand-white);
  color: #1a1d2e;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}







/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: var(--space-48);
  font-weight: var(--font-weight-bold);
}

/* USPs Section */
.usps {
  padding: var(--space-80) 0;
  background: linear-gradient(135deg, 
    var(--color-brand-white) 0%, 
    var(--color-brand-blue-light) 100%);
}

.usps-grid {
  display: grid;
  gap: var(--space-32);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .usps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
  }
}

@media (min-width: 1024px) {
  .usps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
  }
}

.usp-card {
  background: var(--color-brand-white);
  border: 1px solid rgba(var(--color-brand-blue-rgb), 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-32);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: 0 4px 20px rgba(var(--color-brand-blue-rgb), 0.08);
  position: relative;
  overflow: hidden;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.usp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(var(--color-brand-orange-rgb), 0.2);
  border-color: rgba(var(--color-brand-orange-rgb), 0.3);
}

.usp-card:hover::before {
  transform: scaleX(1);
}

.usp-icon {
  font-size: 32px;
  margin-bottom: var(--space-16);
  filter: grayscale(0%) hue-rotate(15deg);
}

.usp-card h3 {
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

.usp-card p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* What You Get Section */
.what-you-get {
  padding: var(--space-48) 0;
  background: var(--color-brand-white);
  position: relative;
}

.what-you-get-header {
  text-align: center;
  margin-bottom: var(--space-32);
}

.what-you-get-header .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-top: var(--space-8);
  font-weight: var(--font-weight-normal);
  position: relative;
}

.what-you-get-header .section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
  border-radius: var(--radius-full);
}

.what-you-get-grid {
  display: grid;
  gap: var(--space-20);
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .what-you-get-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16);
  }
}

@media (min-width: 1024px) {
  .what-you-get-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-16);
  }
}

.what-you-get-card {
  background: linear-gradient(135deg, 
    var(--color-brand-white) 0%,
    rgba(var(--color-brand-orange-rgb), 0.02) 100%
  );
  border-radius: var(--radius-xl);
  padding: var(--space-24);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: 0 4px 20px rgba(var(--color-brand-blue-rgb), 0.08);
  border: 1px solid rgba(var(--color-brand-orange-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.what-you-get-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.what-you-get-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(var(--color-brand-orange-rgb), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-standard);
}

.what-you-get-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(var(--color-brand-orange-rgb), 0.2);
  border-color: rgba(var(--color-brand-orange-rgb), 0.3);
  background: linear-gradient(135deg, 
    var(--color-brand-white) 0%,
    rgba(var(--color-brand-orange-rgb), 0.05) 100%
  );
}

.what-you-get-card:hover::before {
  transform: scaleX(1);
}

.what-you-get-card:hover::after {
  opacity: 1;
}

.card-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-12);
}

.card-icon {
  font-size: 40px;
  position: relative;
  z-index: 2;
  animation: gentleFloat 3s ease-in-out infinite;
}

.icon-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(var(--color-brand-orange-rgb), 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  transition: all var(--duration-normal) var(--ease-standard);
}

.what-you-get-card:hover .icon-background {
  background: radial-gradient(circle, rgba(var(--color-brand-orange-rgb), 0.25) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(1.2);
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.what-you-get-card h3 {
  margin-bottom: var(--space-16);
  color: var(--color-text);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  position: relative;
}

.what-you-get-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
  border-radius: var(--radius-full);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.card-list li {
  display: flex;
  align-items: center;
  padding: var(--space-8) 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid rgba(var(--color-brand-blue-rgb), 0.05);
  transition: all var(--duration-normal) var(--ease-standard);
}

.card-list li:last-child {
  border-bottom: none;
}

.card-list li::before {
  content: '✓';
  color: var(--color-brand-orange);
  font-weight: var(--font-weight-bold);
  margin-right: var(--space-10);
  font-size: var(--font-size-base);
  background: rgba(var(--color-brand-orange-rgb), 0.1);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-list li:hover {
  color: var(--color-text);
  transform: translateX(4px);
}

.card-list li:hover::before {
  background: rgba(var(--color-brand-orange-rgb), 0.2);
  transform: scale(1.1);
}

/* Specific card styling */
.student-kit-card {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-orange-rgb), 0.04) 0%,
    var(--color-brand-white) 100%
  );
}

.student-kit-card:hover {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-orange-rgb), 0.08) 0%,
    var(--color-brand-white) 100%
  );
}

.lectures-card {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-blue-rgb), 0.04) 0%,
    var(--color-brand-white) 100%
  );
}

.lectures-card:hover {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-blue-rgb), 0.08) 0%,
    var(--color-brand-white) 100%
  );
}

.study-kit-card {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-orange-rgb), 0.04) 0%,
    var(--color-brand-white) 100%
  );
}

.study-kit-card:hover {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-orange-rgb), 0.08) 0%,
    var(--color-brand-white) 100%
  );
}

/* Responsive Design */
@media (max-width: 768px) {
  .what-you-get-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  
  .card-icon {
    font-size: 28px;
  }
  
  .icon-background {
    width: 40px;
    height: 40px;
  }
}

/* Batch Details Section */
.batch-details {
  padding: var(--space-80) 0;
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-orange-rgb), 0.05) 0%,
    var(--color-brand-white) 50%,
    rgba(var(--color-brand-blue-rgb), 0.03) 100%
  );
}

.batch-grid {
  display: grid;
  gap: var(--space-24);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .batch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32);
  }
}

@media (min-width: 1024px) {
  .batch-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
  }
}

.batch-item {
  background: var(--color-brand-white);
  border: 1px solid rgba(var(--color-brand-blue-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.batch-item:nth-child(odd) {
  background: linear-gradient(135deg, var(--color-brand-white), var(--color-brand-blue-light));
}

.batch-item:nth-child(even) {
  background: linear-gradient(135deg, rgba(var(--color-brand-orange-rgb), 0.05), var(--color-brand-white));
}

.batch-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-brand-orange);
  transform: scaleX(0);
  transition: transform var(--duration-normal);
}

.batch-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(var(--color-brand-orange-rgb), 0.2);
}

.batch-item:hover::before {
  transform: scaleX(1);
}

.batch-icon {
  font-size: 32px;
  margin-bottom: var(--space-16);
  color: var(--color-brand-orange);
}

.batch-item h4 {
  margin-bottom: var(--space-12);
  color: var(--color-brand-blue);
  font-weight: var(--font-weight-bold);
}

.batch-item p {
  color: var(--color-dark-text);
  font-weight: var(--font-weight-medium);
}

/* Daily Routine Section */
.daily-routine {
  padding: var(--space-80) 0;
  background: var(--color-brand-blue);
  position: relative;
}

.daily-routine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--color-brand-orange-rgb), 0.08) 0%,
    transparent 50%,
    rgba(var(--color-brand-orange-rgb), 0.05) 100%
  );
}

.daily-routine .section-title {
  color: var(--color-brand-white);
  position: relative;
  z-index: 2;
}

.routine-grid {
  display: grid;
  gap: var(--space-32);
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .routine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .routine-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
  }
}

.routine-item {
  background: var(--color-brand-white);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  padding: var(--space-32);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.routine-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
  transform: scaleX(0);
  transition: transform var(--duration-normal);
}

.routine-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 40px rgba(var(--color-brand-orange-rgb), 0.25);
  border-color: var(--color-brand-orange);
}

.routine-item:hover::after {
  transform: scaleX(1);
}

.routine-time {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-orange);
  margin-bottom: var(--space-16);
}

.routine-item h4 {
  margin-bottom: var(--space-12);
  color: var(--color-brand-blue);
  font-weight: var(--font-weight-bold);
}

.routine-item p {
  color: var(--color-light-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* Selection Process - Vertical Timeline */
.selection-process {
  padding: var(--space-40) 0;
  background: linear-gradient(135deg, 
    var(--color-brand-white) 0%,
    var(--color-brand-blue-light) 100%
  );
}

.selection-process .section-title {
  color: var(--color-brand-blue);
  margin-bottom: var(--space-16);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-32);
  font-weight: var(--font-weight-medium);
}

/* Timeline Container */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-32) 0;
}

/* Central Timeline Line */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, 
    var(--color-brand-orange) 0%, 
    #0066CC  50%,
    var(--color-brand-orange) 100%);
  transform: translateX(-50%);
  z-index: 1;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.3);
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin-bottom: var(--space-40);
  display: flex;
  align-items: center;
  z-index: 2;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Left Side Items */
.timeline-item.left {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item.left .timeline-card {
  margin-right: auto;
}

/* Right Side Items */
.timeline-item.right {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-item.right .timeline-card {
  margin-left: auto;
}

/* Timeline Badges (Circular) */
.timeline-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  color: var(--color-brand-white);
  z-index: 3;
  border: 4px solid var(--color-brand-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--duration-normal) var(--ease-standard);
}

.timeline-badge.orange {
  background: linear-gradient(135deg, #FF7600, #FF9533);
}

.timeline-badge.blue {
  background: linear-gradient(135deg, #0066CC, #4A90E2);
}

.timeline-badge:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Timeline Cards */
.timeline-card {
  background: var(--color-brand-white);
  border: 2px solid rgba(var(--color-brand-blue-rgb), 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-32);
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(var(--color-brand-blue-rgb), 0.1);
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-blue));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(var(--color-brand-orange-rgb), 0.2);
  border-color: var(--color-brand-orange);
}

.timeline-card:hover::before {
  transform: scaleX(1);
}

/* Timeline Icons */
.timeline-icon {
  font-size: 32px;
  margin-bottom: var(--space-16);
  text-align: center;
  filter: grayscale(20%) brightness(1.1);
  transition: all var(--duration-normal);
}

.timeline-card:hover .timeline-icon {
  transform: scale(1.15) rotate(5deg);
  filter: grayscale(0%) brightness(1.2);
}

/* Timeline Card Content */
.timeline-card h3 {
  color: var(--color-brand-blue);
  margin-bottom: var(--space-12);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.timeline-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-20);
  text-align: center;
  font-size: var(--font-size-base);
  line-height: 1.5;
}

/* Timeline Points List */
.timeline-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding: var(--space-8);
  border-radius: var(--radius-sm);
  background: rgba(var(--color-brand-orange-rgb), 0.05);
  transition: all var(--duration-normal);
}

.timeline-points li:hover {
  background: rgba(var(--color-brand-orange-rgb), 0.1);
  transform: translateX(4px);
}

.timeline-points .check-icon {
  color: var(--color-brand-orange);
  font-weight: var(--font-weight-bold);
  margin-top: 2px;
  font-size: var(--font-size-sm);
  background: rgba(var(--color-brand-orange-rgb), 0.2);
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline-container {
    padding: var(--space-16) 0;
  }
  
  .timeline-line {
    left: 40px;
    transform: none;
  }
  
  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 0;
  }
  
  .timeline-item.left .timeline-card,
  .timeline-item.right .timeline-card {
    margin: 0;
    max-width: none;
  }
  
  .timeline-badge {
    left: 40px;
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xs);
  }
  
  .timeline-card {
    padding: var(--space-24);
  }
  
  .timeline-card h3 {
    font-size: var(--font-size-xl);
    text-align: left;
  }
  
  .timeline-description {
    text-align: left;
  }
  
  .timeline-icon {
    font-size: 24px;
    margin-bottom: var(--space-12);
  }
}

@media (max-width: 480px) {
  .selection-process {
    padding: var(--space-48) 0;
  }
  
  .timeline-item {
    margin-bottom: var(--space-48);
  }
  
  .timeline-badge {
    width: 50px;
    height: 50px;
    left: 30px;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-item.left,
  .timeline-item.right {
    padding-left: 70px;
  }
}

/* Features Section */
.features {
  padding: var(--space-80) 0;
  background: var(--color-brand-blue);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(var(--color-brand-orange-rgb), 0.05) 50%,
    transparent 100%
  );
}

.features .section-title {
  color: var(--color-brand-white);
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  gap: var(--space-24);
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
  }
}

.feature-item {
  background: var(--color-brand-white);
  border: 2px solid rgba(var(--color-brand-orange-rgb), 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-32);
  transition: all var(--duration-normal) var(--ease-standard);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--color-brand-orange-rgb), 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-item:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(var(--color-brand-orange-rgb), 0.2);
}

.feature-item:hover::after {
  display: none;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: var(--space-20);
  display: block;
  /*background: linear-gradient(135deg, var(--color-brand-orange), var(--color-brand-orange-light));*/
  /*background-clip: text;*/
  /*-webkit-background-clip: text;*/
  /*-webkit-text-fill-color: transparent;*/
  filter: drop-shadow(2px 2px 4px rgba(var(--color-brand-orange-rgb), 0.3));
}

.feature-item h4 {
  margin-bottom: var(--space-16);
  color: var(--color-brand-blue);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.feature-item p {
  color: var(--color-light-text);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

/* Eligibility Section */
.eligibility {
  padding: var(--space-80) 0;
  background: var(--color-brand-white);
}

.eligibility-content {
  display: grid;
  gap: var(--space-32);
}

@media (min-width: 1024px) {
  .eligibility-content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.eligibility-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
}

.eligibility-card h3 {
  margin-bottom: var(--space-24);
  color: var(--color-text);
}

.eligibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eligibility-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
  font-size: var(--font-size-base);
}

.check-icon {
  color: var(--color-brand-orange);
  font-weight: var(--font-weight-bold);
  margin-top: 2px;
}

.target-info {
  background: linear-gradient(135deg, 
    rgba(var(--color-brand-blue-rgb), 0.08) 0%, 
    rgba(var(--color-brand-orange-rgb), 0.03) 100%);
  border: 1px solid rgba(var(--color-brand-blue-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
}

.target-info h4 {
  margin-bottom: var(--space-16);
  color: var(--color-text);
}

.target-info p {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand-orange);
  margin-bottom: var(--space-20);
}

.exam-dates {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.exam-date {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Faculty Section */
.faculty {
  padding: var(--space-80) 0;
  background: linear-gradient(135deg, 
    var(--color-brand-blue) 0%,
    var(--color-brand-blue-dark) 100%
  );
  position: relative;
}

.faculty::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(var(--color-brand-orange-rgb), 0.05) 50%,
    transparent 70%
  );
}

.faculty .section-title {
  color: var(--color-brand-white);
  position: relative;
  z-index: 2;
}

.faculty-card {
  display: grid;
  gap: var(--space-48);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--color-brand-white);
  border-radius: var(--radius-xl);
  padding: var(--space-48);
  box-shadow: 0 20px 50px rgba(var(--color-brand-orange-rgb), 0.15);
  border: 2px solid rgba(var(--color-brand-orange-rgb), 0.2);
  position: relative;
  z-index: 2;
}

.faculty-grid {
  display: grid;
  gap: var(--space-24);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .faculty-grid { grid-template-columns: repeat(3, 1fr); }
}

.faculty-card--compact {
  padding: var(--space-20);
  box-shadow: 0 10px 24px rgba(var(--color-brand-orange-rgb), 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  border-radius: var(--radius-lg);
}

.faculty-card--compact .faculty-photo {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 8px 18px rgba(var(--color-brand-orange-rgb), 0.15);
}

.faculty-name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-blue);
  margin: 4px 0;
  text-align: center;
}

.faculty-subject {
  color: var(--color-brand-orange);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  margin-bottom: 2px;
}

.faculty-exp {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .faculty-card {
    grid-template-columns: 0.4fr 1fr;
    grid-template-areas: "image info";
    gap: var(--space-64);
  }
  
  .faculty-image {
    grid-area: image;
  }
  
  .faculty-info {
    grid-area: info;
  }
}

.faculty-image {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faculty-card--wide {
  max-width: 1100px;
}

.faculty-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid #fff;
  box-shadow: 0 18px 40px rgba(var(--color-brand-orange-rgb), 0.25);
}

.faculty-cta {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  flex-wrap: wrap;
}

.instructor-photo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-brand-orange), var(--color-brand-orange-light));
  margin: 0 auto;
  border: 6px solid var(--color-brand-white);
  box-shadow: 0 12px 30px rgba(var(--color-brand-orange-rgb), 0.4);
  position: relative;
}

.instructor-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, var(--color-brand-orange), var(--color-brand-blue), var(--color-brand-orange));
  border-radius: var(--radius-full);
  z-index: -1;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.faculty-info h3 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-12);
  color: var(--color-brand-blue);
  font-weight: var(--font-weight-bold);
}

.faculty-title {
  color: var(--color-brand-orange);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-32);
  font-size: var(--font-size-lg);
}

.faculty-highlights {
  display: grid;
  gap: var(--space-16);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .faculty-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
  }
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-16);
  background: rgba(var(--color-brand-orange-rgb), 0.05);
  border-radius: var(--radius-base);
  border-left: 4px solid var(--color-brand-orange);
  transition: all var(--duration-normal);
}

.highlight:hover {
  background: rgba(var(--color-brand-orange-rgb), 0.1);
  transform: translateX(4px);
}

.highlight-icon {
  font-size: var(--font-size-xl);
  color: var(--color-brand-orange);
  margin-top: var(--space-2);
}

.highlight span:last-child {
  color: var(--color-dark-text);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

/* Final CTA */
.final-cta {
  padding: var(--space-80) 0;
  background: linear-gradient(135deg, 
    var(--color-brand-orange) 0%, 
    var(--color-brand-orange-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(var(--color-brand-blue-rgb), 0.1) 0%,
    transparent 50%,
    rgba(var(--color-brand-blue-rgb), 0.05) 100%
  );
}

.final-cta .cta-content {
  position: relative;
  z-index: 2;
}

.final-cta .cta-content h2 {
  color: var(--color-brand-white);
  margin-bottom: var(--space-20);
  font-weight: var(--font-weight-bold);
}

.final-cta .cta-content > p {
  color: rgba(var(--color-brand-white-rgb), 0.95);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-32);
}

.cta-content h2 {
  margin-bottom: var(--space-16);
  color: var(--color-text);
}

.cta-content > p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-32);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.urgency-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  color: var(--color-brand-orange);
  font-weight: var(--font-weight-medium);
}

/* Footer */
.footer {
  background: var(--color-brand-blue-dark);
  color: rgba(var(--color-brand-white-rgb), 0.8);
  padding: var(--space-64) 0 var(--space-32);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-orange), var(--color-brand-orange-light));
}

.footer-content {
  display: grid;
  gap: var(--space-48);
  margin-bottom: var(--space-48);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-64);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-48);
  }
}

.footer-brand h4 {
  color: var(--color-brand-orange);
  margin-bottom: var(--space-16);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.footer-brand p {
  color: rgba(var(--color-brand-white-rgb), 0.9);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

.footer-contact h5 {
  color: var(--color-brand-white);
  margin-bottom: var(--space-20);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.footer-contact p {
  margin-bottom: var(--space-12);
  font-size: var(--font-size-base);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.footer-bottom {
  border-top: 2px solid rgba(var(--color-brand-orange-rgb), 0.3);
  padding-top: var(--space-32);
  text-align: center;
  font-size: var(--font-size-base);
  color: rgba(var(--color-brand-white-rgb), 0.8);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
  padding: var(--space-16);
}

/* Payment Summary (inline in success modal) */
.payment-summary {
  margin: 12px 0 16px 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--color-brand-white);
  font-size: var(--font-size-sm);
}

/* Enhanced Pricing Modal */
#pricingModal .modal-content {
  max-width: 600px;
  background: #ffffff;
  border: 2px solid #FF7600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh; /* keep footer visible */
}

#pricingModal .modal-header {
  background: #FF7600;
  border-bottom: 2px solid #FF7600;
  position: relative;
  overflow: hidden;
}

#pricingModal .modal-header h3 {
  color: #ffffff;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}
#pricingModal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
}

#pricingModal .modal-footer {
  position: sticky;
  bottom: 0;
  background: #f8f9fa;
}


.price-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 2px solid #e9ecef;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  color: #495057;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.price-row:hover {
  border-color: #FF7600;
  box-shadow: 0 2px 8px rgba(255, 118, 0, 0.1);
}

.price-row.total {
  background: linear-gradient(135deg, #FF7600, #FF9533);
  border: 2px solid #FF7600;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 118, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.price-row.total::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.6s;
}

.price-row.total:hover::before {
  left: 100%;
}

.price-row.total strong {
  color: #000000;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 8px 30px rgba(255, 118, 0, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 12px 40px rgba(255, 118, 0, 0.6);
    transform: scale(1.02);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(-50%) scale(1);
  }
  40% {
    transform: translateY(-60%) scale(1.1);
  }
  60% {
    transform: translateY(-55%) scale(1.05);
  }
}

@keyframes shimmer {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.price-row span:first-child {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
}

.price-row strong {
  font-size: var(--font-size-lg);
  color: #FF7600;
  font-weight: var(--font-weight-bold);
}

.scholarship-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}

.scholarship-control label {
  color: #495057;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

.input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #007bff;
  border-radius: 8px;
  overflow: hidden;
  min-width: 140px;
}

.scholarship-control input {
  background: transparent;
  color: #495057;
  border: none;
  padding: 10px 16px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  flex: 1;
  outline: none;
}

.scholarship-control input::-webkit-outer-spin-button,
.scholarship-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.scholarship-control input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.input-suffix {
  background: #007bff;
  color: #ffffff;
  padding: 10px 12px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border-left: 1px solid #0056b3;
}

.input-group:hover {
  border-color: #0056b3;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.input-group:focus-within {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

#pricingModal .payment-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 24px 20px 24px;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}

#pricingModal .radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #343a40;
}

#pricingModal .radio-option input[type="radio"] {
  accent-color: #FF7600;
}

#pricingModal .radio-option input[type="radio"]:checked + span {
  color: #FF7600;
}

#pricingModal .radio-help {
  margin-top: 6px;
  font-size: 12px;
  color: #6c757d;
}

#pricingModal .modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  gap: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap; /* ensure both buttons fit on narrow widths */
}

#pricingModal .btn {
  min-width: 140px;
  padding: 14px 28px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 12px);
}

#pricingModal .btn--hero-outline {
  background: transparent;
  border: 2px solid #6c757d;
  color: #6c757d;
}

#pricingModal .btn--hero-outline:hover {
  background: #6c757d;
  border-color: #6c757d;
  color: #ffffff;
}

#pricingModal .btn--hero-primary {
  background: #FF7600;
  border: 2px solid #FF7600;
  color: #ffffff;
  border-radius: 12px;
  letter-spacing: 0.8px;
}

#pricingModal .btn--hero-primary:hover {
  background: #E66800;
  border-color: #E66800;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 118, 0, 0.35);
}

/* Phone responsiveness for pricing modal */
@media (max-width: 480px) {
  #pricingModal .modal-content {
    max-width: 92vw;
    width: 92vw;
    border-radius: 12px;
  }

  #pricingModal .modal-header {
    padding: 16px;
  }

  #pricingModal .modal-body {
    padding: 16px;
  }

  #pricingModal .student-details-form {
    padding: 14px;
  }

  #pricingModal .price-summary {
    padding: 16px;
    gap: 12px;
  }

  #pricingModal .price-row {
    padding: 12px 14px;
  }

  #pricingModal .payment-option {
    margin: 0 16px 16px 16px;
    padding: 12px;
    gap: 8px;
  }

  #pricingModal .radio-option {
    gap: 8px;
    font-weight: 600;
  }

  #pricingModal .radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  #pricingModal .modal-footer {
    padding: 16px;
    flex-direction: column;
    gap: 10px;
  }

  #pricingModal .modal-footer .btn {
    width: 100%;
    min-width: 0;
  }

  #pricingModal .modal-footer .btn--hero-primary {
    order: -1; /* show Proceed above */
    height: 54px;
    box-shadow: 0 8px 20px rgba(255, 118, 0, 0.35);
    font-size: 16px;
  }

  #pricingModal .modal-footer .btn--hero-outline {
    order: 0;
  }
}

/* Stack buttons on small tablets too */
@media (max-width: 768px) {
  #pricingModal .modal-footer {
    flex-direction: column;
  }
  #pricingModal .modal-footer .btn {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }

  #pricingModal .modal-footer .btn--hero-primary {
    order: -1;
    height: 54px;
  }

  #pricingModal .modal-footer .btn--hero-outline {
    order: 0;
  }
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--duration-normal);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-24);
  border-bottom: 1px solid var(--color-card-border);
}

.modal-header h3 {
  margin: 0;
  color: var(--color-text);
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: var(--space-4);
  line-height: 1;
}

.modal-body {
  padding: var(--space-24);
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #FF7600 #f1f1f1;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #FF7600;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #E66800;
}

.modal-body p {
  margin-bottom: var(--space-16);
  color: var(--color-text-secondary);
}

.next-steps {
  margin-top: var(--space-20);
}

.next-steps h4 {
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

.next-steps ol {
  margin: 0;
  padding-left: var(--space-20);
}

.next-steps li {
  margin-bottom: var(--space-8);
  color: var(--color-text-secondary);
}

.modal-footer {
  padding: var(--space-24);
  border-top: 1px solid var(--color-card-border);
  text-align: center;
}

/* Mobile Responsiveness for Hero Section */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-64) 0 var(--space-48);
    min-height: auto;
  }
  
  .hero-content {
    gap: var(--space-32);
    text-align: center;
  }
  
  .hero-main-content {
    text-align: center;
    align-items: center;
  }
  
  .hero-main-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: var(--space-12);
  }
  
  .hero-subtitle-1 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
  }
  
  .hero-subtitle-2 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-20);
  }
  
  .registration-section {
    flex-direction: column;
    gap: var(--space-12);
    align-items: center;
  }
  
  .registration-list {
    flex-direction: column;
    gap: var(--space-12);
    width: 100%;
  }
  
  .registration-btn {
    min-width: 100%;
    padding: var(--space-14) var(--space-20);
    font-size: var(--font-size-base);
  }
  
  .scholarship-btn {
    min-width: 100%;
    padding: var(--space-12) var(--space-20);
    font-size: var(--font-size-base);
  }
  
  .hero-feature-cards {
    grid-template-columns: 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-20);
  }
  
  .hero-card {
    padding: var(--space-16);
  }
  
  .hero-card-icon {
    font-size: 28px;
    margin-bottom: var(--space-10);
  }
  
  .hero-card-title {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
  }
  
  .hero-card-description {
    font-size: var(--font-size-xs);
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    gap: var(--space-12);
    width: 100%;
  }
  
  .btn--hero-primary,
  .btn--hero-outline {
    min-width: 100%;
    padding: var(--space-14) var(--space-20);
    font-size: var(--font-size-base);
  }
  
  .hero-stats-column {
    margin-top: var(--space-24);
    align-items: center;
  }
  
  .hero-stats-card {
    max-width: 100%;
    padding: var(--space-16);
    min-height: auto;
  }
  
  .faculty-image {
    width: 180px;
    height: 220px;
  }
  
  .stats-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .stat-number {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-48) 0 var(--space-32);
  }
  
  .hero-main-title {
    font-size: clamp(24px, 10vw, 36px);
  }
  
  .hero-subtitle-1 {
    font-size: var(--font-size-base);
  }
  
  .hero-subtitle-2 {
    font-size: var(--font-size-sm);
  }
  
  .registration-btn {
    padding: var(--space-12) var(--space-16);
    font-size: var(--font-size-sm);
  }
  
  .scholarship-btn {
    padding: var(--space-10) var(--space-16);
    font-size: var(--font-size-sm);
  }
  
  .hero-card {
    padding: var(--space-12);
  }
  
  .hero-card-icon {
    font-size: 24px;
  }
  
  .btn--hero-primary,
  .btn--hero-outline {
    padding: var(--space-12) var(--space-16);
    font-size: var(--font-size-sm);
  }
  
  .hero-stats-card {
    padding: var(--space-12);
  }
  
  .faculty-image {
    width: 160px;
    height: 200px;
  }
}

/* Floating Register Button */
.floating-register-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #FF7600, #FF9533);
  color: #FFFFFF;
  border: none;
  border-radius: 60px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 118, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(120px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-register-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-register-btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 15px 40px rgba(255, 118, 0, 0.6), 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #E66800, #FF7600);
  border-color: rgba(255, 255, 255, 0.3);
}

.floating-register-btn:active {
  transform: translateY(-2px) scale(1.05);
}

.floating-register-btn .btn-icon {
  font-size: 20px;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

/* Mobile responsiveness for floating button */
@media (max-width: 768px) {
  .floating-register-btn {
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    font-size: 14px;
    min-width: 150px;
    border-radius: 50px;
  }
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.zoom-in {
  animation: zoomIn 0.6s ease-out;
}

/* Scroll animations will be handled by JavaScript */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Grid container animations */
.usps-grid .usp-card,
.features-grid .feature-item,
.batch-grid .batch-item,
.routine-grid .routine-item {
  animation-delay: calc(var(--animation-delay, 0) * 0.1s);
}

.process-flow .process-step:nth-child(1) { --animation-delay: 1; }
.process-flow .process-step:nth-child(2) { --animation-delay: 2; }
.process-flow .process-step:nth-child(3) { --animation-delay: 3; }
.process-flow .process-step:nth-child(4) { --animation-delay: 4; }

/* Student Details Form Styles */
.student-details-form {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #FF7600;
    box-shadow: 0 0 0 3px rgba(255, 118, 0, 0.1);
}

/* Inline form error banner and input error styles */
.form-error {
  background: #ffe5e5;
  color: #b00020;
  border: 1px solid #ffb3b3;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 600;
}

.input-error {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.12) !important;
}

/* Validation popup styles */
.validation-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.3s ease;
}

.validation-popup-content {
  background: white;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.validation-popup-header {
  background: #FF7600;
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.validation-popup-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.validation-popup-body {
  padding: 24px;
}

.validation-popup-body p {
  margin-bottom: 16px;
  color: #333;
  line-height: 1.5;
}

.validation-popup-body ul {
  margin: 12px 0;
  padding-left: 20px;
}

.validation-popup-body li {
  color: #b00020;
  font-weight: 600;
  margin-bottom: 8px;
}

.validation-popup-footer {
  padding: 16px 24px 24px;
  text-align: center;
}

.validation-popup-footer .btn {
  background: #FF7600;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.validation-popup-footer .btn:hover {
  background: #E66800;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.form-group input::placeholder {
    color: #6c757d;
}

/* Test dropdown styles */
.test-dropdown {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
    cursor: pointer;
}

.test-dropdown:focus {
    outline: none;
    border-color: #FF7600;
    box-shadow: 0 0 0 3px rgba(255, 118, 0, 0.1);
}

.test-dropdown:hover {
    border-color: #FF7600;
}

.form-help {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* Scholarship percentage field styling */
#scholarshipPercent {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 24px;
    font-weight: 700;
    color: #FF7600;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: not-allowed;
}

#scholarshipPercent:focus {
    outline: none;
    border-color: #FF7600;
    box-shadow: 0 0 0 4px rgba(255, 118, 0, 0.2), inset 0 2px 4px rgba(0,0,0,0.1);
    transform: scale(1.02);
}

#scholarshipPercent:hover {
    border-color: #FF7600;
    transform: scale(1.01);
}

/* Scholarship field container */
.form-group:has(#scholarshipPercent) {
    position: relative;
}

.form-group:has(#scholarshipPercent) label {
    color: #FF7600;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group:has(#scholarshipPercent) label::before {
    content: "📊";
    font-size: 18px;
}

.btn--outline {
    background: transparent;
    border: 2px solid #FF7600;
    color: #FF7600;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn--outline:hover {
    background: #FF7600;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 118, 0, 0.3);
}

.btn--sm {
    padding: 8px 12px;
    font-size: 14px;
}

.btn-icon {
    font-size: 16px;
}

/* Full width verify button */
.btn--verify-full {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    width: 100%;
    justify-content: center;
    margin: 0 auto;
    height: 45px;
}

.btn--verify-full:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.btn--verify-full:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn--verify-full:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.btn--verify {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
    min-width: 60px;
    max-width: 75px;
    flex-shrink: 0;
    justify-content: center;
}

.btn--verify:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.btn--verify:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn--verify:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.btn--verify .btn-icon {
    font-size: 16px;
    animation: none;
}

.btn--verify:disabled .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* Responsive form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .btn--verify-full {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        height: 50px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .btn--verify-full {
        padding: 10px 16px;
        font-size: 12px;
        width: 100%;
        height: 45px;
    }
}