.logo-image {
  width: 90px;
  /* Adjust as needed */
  height: 90px;
  object-fit: contain;
  transition: transform 0.3s ease;
  position: relative;
  /* Position relative to its normal place */
  left: 5px;
}

.logo-image:hover {
  transform: scale(1.00);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15);
    /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15);
    /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15);
    /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15);
    /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15);
    /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15);
    /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15);
    /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15);
    /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

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

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

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

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15);
  /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15);
  /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15);
  /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15);
  /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15);
  /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15);
  /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15);
  /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15);
  /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

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

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

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

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

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

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

body {
  margin: 0;
  padding: 0;
}

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

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

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

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

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

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 */
/* Advanced SIB Erode Website Styles - 2025 Edition */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Enhanced Color System */
:root {
  /* Premium Color Palette */
  --royal-blue: #002349;
  --warm-gold: #BFA181;
  --cream: #F2F0EA;
  --deep-navy: #001a36;
  --light-gold: #D4B896;
  --accent-blue: #0056b3;
  --glass-white: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--royal-blue) 0%, var(--accent-blue) 100%);
  --gradient-gold: linear-gradient(135deg, var(--warm-gold) 0%, var(--light-gold) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-hero: linear-gradient(135deg, var(--royal-blue) 0%, var(--deep-navy) 50%, var(--accent-blue) 100%);

  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 20px 60px rgba(0, 35, 73, 0.15);
  --shadow-glow: 0 0 40px rgba(191, 161, 129, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Animation Variables */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: 'Inter', var(--font-family-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var ();
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background: white;
}

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

.loader-content {
  text-align: center;
  color: white;
}

.loader-logo {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s infinite;
}

.loader-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 3px;
  animation: loading 10s ease-in-out infinite;
}

.loader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="1.5" fill="rgba(191,161,129,0.4)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.2)"/></svg>');
  animation: float 6s ease-in-out infinite;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.7rem 0;
  background: rgba(242, 240, 234, 0.218);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(191, 161, 129, 0.1);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 40px;
  margin: 0.5rem 2rem;
}

.header.scrolled {
  background: rgba(242, 240, 234, 0.218);
  backdrop-filter: blur(25px);
  box-shadow: var(--shadow-glass);
  padding: 0.5rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container {
  position: relative;
}

.logo-placeholder {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth);
}

/* .logo-placeholder:hover {
  transform: scale(1.00) rotate(5deg);
} */

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
  font-family: 'Anton', sans-serif;
  /* Use Anton font, fallback to sans-serif */
  /*font-size: 64px;  Adjust font size as needed */
  text-transform: uppercase;
  /* Ensures the text is in uppercase */
  /* This adds the thin black outline, similar to the logo */
  stroke: #000000;
  stroke-width: 1.5px;
}

/* .logo-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(191, 161, 129, 0.3) 0%, transparent 70%);
} */

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 590;
  color: var(--royal-blue);
  line-height: 1.2;
  font-family: 'Anton';

}

.brand-location {
  font-size: 0.9rem;
  color: var(--warm-gold);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--royal-blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
  overflow: hidden;
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease-smooth);
  border-radius: 8px;
}

.nav-link:hover::before {
  transform: translateY(0);
}

.nav-link:hover {
  color: transparent;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
}

.line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--royal-blue);
  border-radius: 3px;
  transition: all 0.3s var(--ease-smooth);
}

.line1 {
  top: 0;
}

.line2 {
  top: 50%;
  transform: translateY(-50%);
}

.line3 {
  bottom: 0;
}

.nav-toggle.active .line1 {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .line2 {
  opacity: 0;
}

.nav-toggle.active .line3 {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: url('assets/Bg.png') no-repeat center center/cover;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="30" cy="40" r="2" fill="rgba(191,161,129,0.3)"/><circle cx="170" cy="30" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="60" cy="160" r="1" fill="rgba(191,161,129,0.4)"/><circle cx="150" cy="120" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="180" r="1.5" fill="rgba(191,161,129,0.2)"/></svg>');
  animation: float 10s ease-in-out infinite;
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(191, 161, 129, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.shape2 {
  width: 150px;
  height: 150px;
  bottom: 30%;
  left: 5%;
  animation-delay: 2s;
}

.shape3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 30%;
  animation-delay: 4s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgb(234, 234, 234);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}


.hero-title {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1.5px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  padding-top: 50px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line {
  margin-right: 20px;
  display: block;
  overflow: hidden;
  font-size: 90%;
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

/* Premium Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  overflow: hidden;
  min-width: 160px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-premium);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

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

.btn:hover .btn-glow {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.ripple-btn {
  overflow: hidden;
}

.magnetic-btn:hover {
  transform: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(-3px) scale(1.02);
}

/* Section Styles */
section {
  position: relative;
  padding: 6rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgb(82, 80, 80);
  max-width: 700px;
  margin: 0 auto ;
}

/* Glass Card Effect */
.glass-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s var(--ease-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

/* About Section */
.about {
  background: var(--cream);
  position: relative;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-shape {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.floating-shape:nth-child(3) {
  bottom: 30%;
  left: 30%;
  animation-delay: 6s;
}


.about-timeline {
  /*display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;*/
  display: flex;
  flex-direction: column;
  gap: 3rem;
  /* Adds space between the vision and mission cards */
  padding: 2rem 0;
  overflow-x: hidden;
}

.timeline-item-container {
  width: 100%;
  display: flex;
  justify-content: center;
  /* Centers the card within the container */
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  /* Increased the gap for more breathing room */
  width: 85%;
  /* Slightly increased width percentage */
  max-width: 1100px;
  /* --- MAJOR CHANGE: Increased max-width from 900px to 1100px --- */
  position: relative;
  padding: 2.5rem;
  /* Slightly increased padding */
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.glass-card {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.33);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 340px;
  max-width: 40000px;
  height: auto;
  margin: 0 1rem;
  position: relative;
  transition: box-shadow 0.35s, transform 0.32s;
  overflow: hidden;
  border: 1.5px solid rgba(180, 180, 230, 0.12);
  z-index: 1;
}

@media (max-width: 730px) {
  .timeline-item.glass-card.vision-card {
    display: flex;
    flex-direction: column-reverse;
    width: 150%;
  }

  .timeline-item.glass-card.vision-card img {
    height: 250px;
    width: 350px;
  }

  .timeline-item.glass-card.mission-card {
    display: flex;
    flex-direction: column-reverse;
    width: 150%;
  }

  .timeline-item.glass-card.mission-card img {
    height: 250px;
    width: 350px;
  }
}

.timeline-item:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 22px 38px rgba(63, 108, 182, 0.21), 0 1.5px 15px 1.6px #fbbf24;
}

.timeline-item:hover .timeline-glow {
  opacity: 1;
}

/* Content and Image styling */
.timeline-content {
  flex: 2;
}

.timeline-image {
  flex: 1;
  max-width: 100%;
  /* Adjust image size as needed */
}

.timeline-image img {
  width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-glow {
  position: absolute;
  top: -12%;
  left: 60%;
  width: 88px;
  height: 88px;
  background: radial-gradient(circle, #fbbf24cc 0%, #1e40af33 100%);
  filter: blur(44px);
  opacity: 0.33;
  z-index: -1;
  pointer-events: none;
}

.timeline-icon {
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1e40af;
  animation: icon-pop 0.7s cubic-bezier(.23, 1.1, .32, 1) backwards;
}

@keyframes icon-pop {
  0% {
    transform: scale(0.7) rotate(-15deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.18) rotate(10deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.timeline-item h3 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 800;
  color: #193c6d;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  text-align: center;
}

.timeline-item p {
  font-size: 1.09rem;
  color: #6b6a7a;
  line-height: 1.65;
  margin: 0.31rem 0;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.013em;
}

.timeline-item p.tamil {
  font-family: 'Noto Sans Tamil', 'Tiro Tamil', Arial, sans-serif;
  font-weight: 1000;
  /* adjust weight */
}

.timeline-item p.en {
  color: #a18f57;
  font-size: 1rem;
  margin-top: 1.1rem;
}

.vision-card .timeline-glow {
  left: 15%;
  background: radial-gradient(circle, #fbbf24cc 6%, #3b82f6 100%);
}

.mission-card {
  flex-direction: row-reverse;
  /* This flips the order of content and image */
}

.mission-card .timeline-glow {
  left: 70%;
  background: radial-gradient(circle, #1e40afbb 5%, #fbbf24aa 100%);
}

/* =================================== */
/* Our Objectives Section         */
/* =================================== */

.objectives-section {
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #002366;
  /* Using a direct color, replace with your variable if needed */
  margin-bottom: 2.5rem;
  font-weight: 700;
}

/* NEW: Main container for the two-column layout */
.objectives-container {
  display: flex;
  align-items: center;
  /* Vertically aligns the image and the grid */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  /* Centers the container */
}

/* NEW: Styling for the image container */
.objectives-image {
  flex: 1;
  /* Takes up 1 part of the available space */
}

.objectives-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 15px;
}

/* UPDATED: The grid now takes up more space and is a strict 3x3 */
.objectives-grid {
  flex: 1.5;
  /* Takes up 1.5 parts of the space, giving it more room */
  display: grid;
  /* This forces a 3-column layout */
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* UPDATED: The individual card with alignment fix */
.objective-card {
  font-family: 'Noto Sans Tamil', 'Tiro Tamil', Arial, sans-serif;
  position: relative;
  /* FIX: Force all cards to have the same aspect ratio */
  aspect-ratio: 4 / 3;
  display: flex;
  /* We keep flex to center the content */
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-8px);
  /* Changed to translateY for a smoother lift */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: -10px;
  margin-bottom: 0px !important;
}

/* The keyword container */
.objective-keyword {
  text-align: center;
  transition: opacity 0.3s ease;
}

/* UPDATED: Keyword text styling */
.objective-keyword h4 {
  font-size: 1.1rem;
  /* Adjusted size for better fit */
  color: #002366;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.objective-keyword span {
  font-size: 0.8rem;
  color: #6c757d;
}

.objective-card:hover .objective-keyword {
  opacity: 0;
}

/* The details panel (on hover) */
.objective-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.objective-card:hover .objective-details {
  opacity: 1;
  transform: translateY(0);
}

.objective-details p {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 0px !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .objectives-container {
    flex-direction: column;
    /* Stack image and grid on smaller screens */
    gap: 3rem;
  }

  .objectives-grid {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .objectives-grid {
    /* Change to a 2-column layout on very small screens */
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Business Verticals */
/* MODIFIED: Define a fixed height for the image's container */
.vertical-image {
  position: relative;
  width: 100%;
  min-height: 70%;
  /* Adjust this height to your liking */
}

/* BLUE THEME ADDITION: Pseudo-element for the blue overlay */
/* 2. The overlay is a pseudo-element of the IMAGE CONTAINER, not the whole card */


/* MODIFIED: The magic happens here! */
.vertical-image img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  /* This scales the image to fill the container, cropping instead of stretching */
  object-fit: cover;
  display: block;
  /* Removes any extra space below the image */
  position: relative;
  /* Ensures image is below the pseudo-element but still positioned */
  z-index: 0;
}

.verticals {
  background: linear-gradient(135deg, var(--cream) 0%, rgba(242, 240, 234, 0.5) 100%);
  position: relative;
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s var(--ease-smooth);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6px;
}

.flip-card-front {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  flex-direction: column;
  /* Stack image and text vertically */
  overflow: hidden;
  text-align: center;
}

.flip-card-back {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(180deg);
}



.flip-card-front h3 {
  color: var(--royal-blue);
  font-size: 1rem;
  font-weight: 600;
  text-wrap: nowrap;
  margin: 6px;
}

.member-badge {
  background: var(--gradient-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.flip-card-back h4 {
  color: var(--warm-gold);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}



.stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat {
  font-weight: 600;
}

.growth {
  color: var(--warm-gold);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Leadership Section */
.leadership {
  background: var(--royal-blue);
  color: white;
  position: relative;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,30 100,100 0,70" fill="rgba(191,161,129,0.05)"/></svg>');
  animation: parallax 10s ease-in-out infinite;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.premium-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s var(--ease-smooth);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--warm-gold);
  box-shadow: 0 20px 60px rgba(191, 161, 129, 0.3);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--warm-gold) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.premium-card:hover .card-glow {
  opacity: 0.1;
}

.leader-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.avatar-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--warm-gold);
  border-radius: 50%;
  opacity: 0;
  animation: ring-pulse 2s ease-in-out infinite;
}

.premium-card:hover .avatar-ring {
  opacity: 1;
}

.position {
  color: var(--warm-gold);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.name {
  font-size: 1.8rem;
  font-weight: 700;
}

.business {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.phone {
  color: var(--warm-gold);
  font-weight: 500;
  font-family: 'Monaco', monospace;
}

/* Contact Section */
.contact {
  background: var(--cream);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  position: relative;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  min-width: 50px;
}

.contact-details h4 {
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-details a {
  color: var(--warm-gold);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--royal-blue);
}

.item-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.contact-item:hover .item-glow {
  opacity: 0.05;
}

/* Contact Form */
.contact-form-container {
  position: relative;
}

.contact-form {
  padding: 3rem;
  position: relative;
}

.contact-form h3 {
  color: var(--royal-blue);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

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

.form-group {
  position: relative;
}

.form-label {
  display: block;
  color: var(--royal-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0, 35, 73, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: var(--warm-gold);
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(191, 161, 129, 0.15);
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

.form-input:focus+.input-border {
  width: 100%;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1.2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--royal-blue);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 50px;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 50px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,30 Q50,0 100,30 L100,100 L0,100 Z" fill="rgba(191,161,129,0.05)"/></svg>');
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--warm-gold);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--warm-gold);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.3rem 0;
  position: relative;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--warm-gold);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--warm-gold);
  padding-left: 1rem;
}

.footer-link:hover::before {
  width: 20px;
}

.footer-info p {
  margin-bottom: 0.5rem !important;
  font-size: 0.9rem;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--warm-gold), transparent);
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-premium);
  opacity: 0;
  transform: translateY(100px);
}

.fab.visible {
  opacity: 1;
  transform: translateY(0);
}

.fab:hover {
  transform: translateY(-5px) scale(1.1);
}

.fab-icon {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.fab-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient-gold);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Animations */
@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

@keyframes bounce-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

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

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes parallax {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}

/* Animation Classes */
.animate-slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.8s ease forwards;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

/* --- Scroll Animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


.animate-typewriter {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  animation: typewriter 2s steps(40) forwards, blink 1s step-end infinite;
}

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

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

@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--warm-gold);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(242, 240, 234, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats {
    gap: 2rem;
  }


}

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

  section {
    padding: 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .verticals-grid {
    grid-template-columns: 1fr 1fr;
    font-size: smaller;
  }

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

  .about-timeline {
    grid-template-columns: 1fr;
  }

  .brand-info {
    display: none;
  }

  .fab {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

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

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .premium-card {
    padding: 2rem 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
  .hero-title{
      margin-top: 50px;
  }
  .title-line{
    font-size: 1.7rem;
    font-weight: bold;
  }
}

/* Premium Leader Card Styles */
.new-leader-card {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px;
  width: 320px;
  height: 400px;
  margin: 20px auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

.new-leader-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--warm-gold);
  box-shadow: 0 20px 60px rgba(191, 161, 129, 0.3);
}

.new-premium-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
}

/* Glowing Effect */
.new-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  animation: glow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Avatar Section */
.new-leader-avatar {
  text-align: center;
  position: relative;
}

.new-leader-avatar::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 120px;
  border-radius: 15px;
  z-index: -1;
}

.new-leader-avatar img {
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: 10% 20%;
}

.new-leader-avatar img:hover {
  transform: scale(1.05);
}

/* Leader Information */
.new-leader-info {
  text-align: center;
  color: white;
}

.new-position {
  background: linear-gradient(90deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  top: -6px ;
}

.new-position::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #feca57);
  border-radius: 1px;
}

.new-name {
  font-size: 20px;
  font-weight: 800;
  margin: 15px 0 10px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  position: relative;
  top: -14px;
}

.new-business {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  position: relative;
  top : -20px ;
}

/* Contact Information */
.new-contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: inline-block;
  position: relative;
  top : -30px ;
  height : 40px ;
  padding: 8px;
}

.new-phone {
  font-size: 16px;
  font-weight: 600;
  color:#feca57;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
}

.new-phone::before {
  content: '📞';
  margin-right: 10px;
  font-size: 12px;
}

.new-phone:hover {
  color: #feca57;
  transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 480px) {
  .new-leader-card {
    max-width: 320px;
    padding: 20px;
    margin: 15px;
  }

  .new-name {
    font-size: 24px;
  }

  .new-leader-avatar::before {
    width: 180px;
    height: 110px;
  }

  .contact-info{
    width : 100% ;
    overflow: hidden;
  }
}