@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Sora:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* Dark Tech Palette */
  --background: hsl(222, 47%, 6%);
  --background-secondary: hsl(222, 40%, 8%);
  --foreground: #f4f6ff;

  --card: hsl(222, 40%, 10%);
  --card-foreground: #f4f6ff;

  /* Primary - JRecruits Violet */
  --primary: #7a78ff;
  --primary-rgb: 122, 120, 255;
  --primary-glow: rgba(var(--primary-rgb), 0.4);
  --primary-foreground: #0b1023;

  /* Secondary - Soft Indigo */
  --secondary: #8aa3ff;
  --secondary-rgb: 138, 163, 255;
  --secondary-glow: rgba(var(--secondary-rgb), 0.35);

  /* Accent - Cool Blue */
  --accent: #6ad1ff;
  --accent-rgb: 106, 209, 255;
  --accent-glow: rgba(var(--accent-rgb), 0.35);

  --muted: hsl(222, 30%, 15%);
  --muted-foreground: hsl(215, 20%, 55%);

  --border: hsl(222, 30%, 18%);
  --input: hsl(222, 30%, 15%);
  --ring: var(--primary);

  --radius: 0.75rem;

  /* Slate colors */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --white: #ffffff;
  --black: #000000;

  /* Blue accents */
  --blue-100: #dbeafe;
  --purple-100: #f3e8ff;
  --purple-600: #9333ea;
  --teal-100: #ccfbf1;
  --teal-600: #0d9488;
}

/* ===== Base Styles ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 16, 35, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: -25px;
}

.brand-code {
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

.brand-binary {
  color: var(--muted-foreground);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  opacity: 0.6;
}

.btn-signin {
  color: var(--primary-foreground) !important;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav a {
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  font-size: 0.9375rem;
}

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

.navbar-nav .btn {
  margin-left: 1rem;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--foreground);
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  box-shadow: 0 0 24px var(--primary-glow), 0 4px 16px rgba(5, 8, 20, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--primary-glow), 0 10px 28px rgba(5, 8, 20, 0.55);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  background: var(--background);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(var(--primary-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: var(--primary-glow);
  opacity: 0.4;
}

.hero-glow-2 {
  bottom: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: var(--secondary-glow);
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-tagline {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-tagline {
    font-size: 4.5rem;
  }
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--white);
  max-width: 38rem;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

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

.section-white {
  background-color: var(--background-secondary);
  color: var(--foreground);
}

.section-white .section-header h2 {
  color: var(--foreground);
}

.section-slate {
  background-color: var(--background-secondary);
}

.section-dark {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.section-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(var(--primary-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: var(--primary-glow);
  border-radius: 50%;
  filter: blur(100px);
  transform: translate(50%, -50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

/* ===== About Section ===== */
.about-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

/* ===== Why JRecruits Grid ===== */
.why-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.why-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }
.why-card:nth-child(4) { transition-delay: 0.4s; }

.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
  transform: translateY(-5px);
}

.why-icon {
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-icon svg {
  transition: transform 0.3s ease, color 0.3s ease;
}

.why-card:hover .why-icon svg {
  transform: scale(1.1);
  color: var(--foreground);
}

.why-card h3 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.service-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(5, 8, 20, 0.5);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.employers-card .service-icon {
  color: var(--primary);
}

.candidates-card .service-icon {
  color: var(--secondary);
}

.service-icon svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: gap 0.3s ease;
}

.employers-card .service-link {
  color: var(--primary);
}

.candidates-card .service-link {
  color: var(--secondary);
}

.service-card:hover .service-link {
  gap: 0.75rem;
}

.arrow {
  transition: transform 0.3s ease;
}

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

/* ===== Employer Details Panel ===== */
.employer-details-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  background: var(--background);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.employer-details-panel.active {
  max-height: none;
  overflow: visible;
  opacity: 1;
  margin-top: 2rem;
}

.employer-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--background-secondary);
  border-radius: 1rem 1rem 0 0;
}

.employer-details-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.employer-details-title svg {
  color: var(--primary);
}

.employer-details-title h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.close-details-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-details-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--foreground);
}

.employer-details-content {
  padding: 2rem;
}

.details-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.details-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.details-section h4 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.details-section h5 {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.details-section p.section-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.details-section p.closing-statement {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-top: 1.25rem;
  font-style: italic;
}

.details-columns {
  display: grid;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .details-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.details-column h5 {
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

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

.details-section li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.details-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.pricing-box {
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.pricing-box h5 {
  margin-bottom: 0.75rem;
}

/* Expanded state for employers card */
.employers-card.expanded {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}


.employers-card.expanded .service-link::after {
  content: ' ▲';
  font-size: 0.75rem;
}

.employers-card:not(.expanded) .service-link::after {
  content: ' ▼';
  font-size: 0.75rem;
}

/* Expanded state for candidates card */
.candidates-card.expanded {
  border-color: var(--secondary);
  box-shadow: 0 0 30px var(--secondary-glow);
}

.candidates-card.expanded .service-link::after {
  content: ' ▲';
  font-size: 0.75rem;
}

.candidates-card:not(.expanded) .service-link::after {
  content: ' ▼';
  font-size: 0.75rem;
}

/* ===== Candidate Details Panel ===== */
.candidate-details-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  background: var(--background);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-details-panel.active {
  max-height: none;
  overflow: visible;
  opacity: 1;
  margin-top: 2rem;
}

.candidate-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--background-secondary);
  border-radius: 1rem 1rem 0 0;
}

.candidate-details-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.candidate-details-title svg {
  color: var(--secondary);
}

.candidate-details-title h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 0;
}

.candidate-details-content {
  padding: 2rem;
}

.candidate-service-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.candidate-service-item:last-child {
  margin-bottom: 0;
}

.candidate-arrow {
  color: var(--secondary);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.candidate-service-item h5 {
  font-size: 1rem;
  color: var(--foreground);
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.candidate-service-item p {
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ===== Process Timeline ===== */
.process-timeline {
  display: grid;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.process-step.in-view {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }
.process-step:nth-child(4) { transition-delay: 0.4s; }

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Vision & Mission ===== */
.vm-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.vm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.vm-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.vm-card:nth-child(1) { transition-delay: 0.1s; }
.vm-card:nth-child(2) { transition-delay: 0.2s; }

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.vision-card::before {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.mission-card::before {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vm-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-card .vm-icon {
  color: var(--primary);
}

.mission-card .vm-icon {
  color: var(--secondary);
}

.vm-icon svg {
  transition: transform 0.3s ease;
}

.vm-card:hover .vm-icon svg {
  transform: scale(1.1);
}

.vm-card h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.vm-card p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.section-cta {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--primary-glow), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

/* ===== Contact Grid ===== */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
  justify-items: center;
}

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

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  width: 100%;
  max-width: 20rem;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.contact-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-card:nth-child(3) { transition-delay: 0.3s; }

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

.contact-icon {
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-icon svg {
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon svg {
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.contact-link {
  color: var(--primary);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: -10px;
}

.footer-company-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

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

.social-icon {
  color: var(--muted-foreground);
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  transform: scale(1.1);
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
}

/* ============================================
   EXISTING PAGES STYLES (Jobs, Employers, etc.)
   ============================================ */

/* ===== Forms ===== */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--foreground);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ===== Cards ===== */
.card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(5, 8, 20, 0.55);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.card-body {
  padding: 1.5rem;
}

/* ===== Page Headers (for jobs.html, employers.html) ===== */
.page-header {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-header.dark {
  background: var(--background);
  color: var(--foreground);
}

.page-header .container {
  position: relative;
  z-index: 10;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

/* ===== Jobs Page ===== */
.jobs-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
}

.jobs-header h1 {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .jobs-header h1 {
    font-size: 3rem;
  }
}

.jobs-header > .container > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.search-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .search-wrapper {
    flex-direction: row;
  }
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
}

.search-box input {
  width: 100%;
  height: 3.5rem;
  padding-left: 3rem;
  border-radius: 9999px;
  font-size: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.search-box input::placeholder {
  color: var(--muted-foreground);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
  outline: none;
}

/* ===== Job Cards ===== */
.job-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .job-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.job-card:hover {
  box-shadow: 0 10px 25px -5px rgba(5, 8, 20, 0.6);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.job-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .job-meta {
    margin-bottom: 0;
  }
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.job-card .btn {
  white-space: nowrap;
}

/* ===== Job Detail Page ===== */
.job-detail-header {
  background: var(--background-secondary);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.job-detail-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .job-detail-title {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.job-detail-title h1 {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.job-detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-detail-meta svg {
  color: var(--primary);
}

.job-content {
  padding: 3rem 0;
  max-width: 56rem;
  margin: 0 auto;
  background: var(--background);
}

.job-content h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.job-content h3:first-child {
  margin-top: 0;
}

.job-content p {
  color: var(--muted-foreground);
  line-height: 1.8;
  white-space: pre-wrap;
}

.job-content ul {
  color: var(--muted-foreground);
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.job-content li {
  margin-bottom: 0.5rem;
}

.apply-cta {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .apply-cta {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.apply-cta h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin: 0 0 0.25rem 0;
}

.apply-cta p {
  color: var(--muted-foreground);
  margin: 0;
}

/* ===== Form Panel (Employers Page) ===== */
.form-panel {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(5, 8, 20, 0.55);
  border: 1px solid var(--border);
}

.form-panel h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

/* ===== Two Column Layout ===== */
.two-col-layout {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .two-col-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Benefits List (Employers Page) ===== */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon.blue {
  background: rgba(var(--primary-rgb), 0.18);
  color: var(--primary);
}

.benefit-icon.purple {
  background: rgba(var(--secondary-rgb), 0.18);
  color: var(--secondary);
}

.benefit-icon.teal {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent);
}

.benefit-item h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--muted-foreground);
}

/* ===== Trusted By Section ===== */
.section-trusted-by {
  background: var(--background-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.trusted-by-content {
  text-align: center;
}

.trusted-by-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0 0 1.5rem;
}

.trusted-by-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.trusted-by-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.trusted-by-logos img {
  max-height: 112px;
  width: auto;
  opacity: 1;
  filter: none;
}

@media (max-width: 600px) {
  .section-trusted-by {
    padding: 2.5rem 0;
  }

  .trusted-by-logos {
    gap: 1.5rem;
  }

  .trusted-by-logos img {
    max-height: 84px;
  }
}

/* ===== Modal / Dialog ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card);
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(5, 8, 20, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--background);
  border-radius: 1rem 1rem 0 0;
}

.modal-header h2 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.modal-header p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.modal-body {
  padding: 1.5rem;
  background: var(--card);
}

/* ===== Hiring Type Modal ===== */
.hiring-modal {
  background: var(--card);
  border-radius: 1.5rem;
  max-width: 720px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(5, 8, 20, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .hiring-modal {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--foreground);
}

.hiring-modal-title {
  font-size: 2rem;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.hiring-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hiring-option-card {
  background: var(--background);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-decoration: none;
}

.hiring-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.fulltime-card {
  border-color: rgba(var(--primary-rgb), 0.45);
}

.fulltime-card:hover {
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.25);
}

.contract-card {
  border-color: rgba(var(--accent-rgb), 0.45);
}

.contract-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(var(--accent-rgb), 0.25);
}

.hiring-option-icon {
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fulltime-icon {
  color: var(--primary);
}

.contract-icon {
  color: var(--accent);
}

.hiring-checkmark {
  position: absolute;
  bottom: -5px;
  right: calc(50% - 45px);
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiring-clock {
  position: absolute;
  bottom: -5px;
  right: calc(50% - 50px);
  width: 32px;
  height: 32px;
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiring-option-card h3 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.hiring-option-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.hiring-or {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hiring-modal {
    padding: 1.5rem;
  }
  
  .hiring-modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hiring-options {
    flex-direction: column;
  }
  
  .hiring-option-card {
    max-width: 100%;
    width: 100%;
  }
  
  .hiring-or {
    margin: 0.5rem 0;
  }
}

/* ===== File Upload ===== */
.file-upload {
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--slate-50);
  transition: border-color 0.2s ease;
}

.file-upload:hover {
  border-color: var(--primary);
}

.file-upload svg {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.file-upload p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin: 0;
}

.file-upload span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Spinner ===== */
.spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== Print Styles ===== */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
}

/* ===== Legacy Support for Other Pages ===== */

/* Image Card (used in original index) */
.image-card {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-card-inner {
  aspect-ratio: 16 / 9;
  background: var(--slate-900);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6), transparent);
}

.image-card-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 10;
}

.image-card-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.image-card-content p {
  color: var(--slate-200);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  gap: 2rem;
}

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

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 25px 50px -12px rgba(5, 8, 20, 0.6);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.feature-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.1);
}

.feature-card-icon.blue {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
}

.feature-card-icon.purple {
  background: rgba(var(--secondary-rgb), 0.12);
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.feature-card .link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .link {
  transform: translateX(4px);
}

.feature-card .link.blue {
  color: var(--primary);
}

.feature-card .link.purple {
  color: var(--secondary);
}

/* Split Section */
.split-section {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split-section img {
  max-width: 32rem;
  margin: 0 auto;
  border-radius: 1rem;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

.split-section h2 {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.split-section > div > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

.check-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Guarantee Section */
.guarantee-section {
  padding: 6rem 0;
}

.guarantee-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

.guarantee-badge {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.guarantee-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .guarantee-section h2 {
    font-size: 3rem;
  }
}

.guarantee-section > .container > div > div > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.guarantee-image-wrapper {
  position: relative;
}

.guarantee-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), 0.2);
  filter: blur(32px);
  border-radius: 50%;
}

.guarantee-image-wrapper img {
  position: relative;
  z-index: 10;
  width: 75%;
  margin: 0 auto;
  display: block;
  border-radius: 1rem;
  transition: transform 0.5s ease;
}

.guarantee-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Footer Grid (for other pages) */
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: left;
    justify-items: stretch;
  }
}

.footer-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

/* ===== Contract Modal ===== */
.contract-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(5, 8, 20, 0.6);
}

.contract-modal .modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.contract-modal .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--foreground);
  border-color: var(--border);
}

.contract-modal-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.contract-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 30px var(--primary-glow);
}

.contract-modal-header h2 {
  font-size: 1.75rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contract-modal-header p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.contract-modal .modal-body {
  padding: 1.5rem 2rem 2rem;
}

.contract-modal .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .contract-modal .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contract-modal .form-group {
  margin-bottom: 1rem;
}

.contract-modal .form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}

.contract-modal .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  color: var(--foreground);
}

.contract-modal .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  background: var(--background);
}

.contract-modal .form-input::placeholder {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.btn-contract-submit {
  width: 100%;
  height: 3.25rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: var(--primary-foreground) !important;
  box-shadow: 0 0 24px var(--primary-glow), 0 4px 16px rgba(5, 8, 20, 0.45) !important;
}

.btn-contract-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--primary-glow), 0 10px 28px rgba(5, 8, 20, 0.55) !important;
}

.contract-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 0 30px var(--primary-glow) !important;
}

.contract-icon {
  color: var(--primary) !important;
}

.hiring-clock svg circle {
  fill: var(--primary) !important;
}

.contract-modal-header {
  border-bottom: 1px solid var(--border) !important;
}

.contract-modal-icon {
  color: var(--white) !important;
}

.fulltime-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(5, 8, 20, 0.6);
}

.fulltime-modal .modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.fulltime-modal .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--foreground);
  border-color: var(--border);
}

.fulltime-modal-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border) !important;
  background: var(--background);
}

.fulltime-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 30px var(--primary-glow);
}

.fulltime-modal-header h2 {
  font-size: 1.75rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.fulltime-modal-header p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.fulltime-modal .modal-body {
  padding: 1.5rem 2rem 2rem;
}

.fulltime-modal .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .fulltime-modal .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.fulltime-modal .form-group {
  margin-bottom: 1rem;
}

.fulltime-modal .form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}

.fulltime-modal .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  color: var(--foreground);
}

.fulltime-modal .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  background: var(--background);
}

.fulltime-modal .form-input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.8;
}

.fulltime-modal .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  color: var(--foreground);
  min-height: 120px;
  resize: vertical;
}

.fulltime-modal .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2), 0 0 20px rgba(var(--primary-rgb), 0.15);
  background: var(--background);
}

.contract-modal::-webkit-scrollbar {
  width: 8px;
}

.contract-modal::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 0 1.5rem 1.5rem 0;
}

.contract-modal::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.contract-modal::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

@media (max-width: 640px) {
  .contract-modal {
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }
  
  .contract-modal-header {
    padding: 1.5rem 1.25rem 1rem;
  }
  
  .contract-modal-header h2 {
    font-size: 1.5rem;
  }
  
  .contract-modal .modal-body {
    padding: 1rem 1.25rem 1.5rem;
  }
  
  .contract-modal-icon {
    width: 56px;
    height: 56px;
  }
  
  .contract-modal-icon svg {
    width: 28px;
    height: 28px;
  }

  .fulltime-modal {
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }

  .fulltime-modal-header {
    padding: 1.5rem 1.25rem 1rem;
  }

  .fulltime-modal-header h2 {
    font-size: 1.5rem;
  }

  .fulltime-modal .modal-body {
    padding: 1rem 1.25rem 1.5rem;
  }

  .fulltime-modal-icon {
    width: 56px;
    height: 56px;
  }

  .fulltime-modal-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ===== Responsive Refinements (Large Mobile + Phones) ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-logo {
    width: 72px;
    height: 72px;
  }

  .brand-name {
    font-size: 1.125rem;
    margin-left: -20px;
  }

  .navbar-nav.active {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .hero {
    padding: 7.25rem 0 4rem;
  }

  .hero-tagline {
    font-size: 2.75rem;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 7vw, 3rem);
    max-width: none;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .about-text {
    font-size: 1.125rem;
    line-height: 1.7;
  }

  .why-grid,
  .services-grid,
  .process-timeline,
  .guarantee-grid {
    gap: 1.25rem;
  }

  .why-card {
    padding: 1.75rem;
  }

  .service-card {
    padding: 2rem;
  }

  .guarantee-section {
    padding: 4.5rem 0;
  }

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

  .guarantee-grid .btn {
    margin: 0 auto;
  }

  .guarantee-image-wrapper img {
    width: 85%;
  }
}

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

  .navbar {
    padding: 0.65rem 0;
  }

  .navbar-logo {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 1rem;
    margin-left: -18px;
  }

  .hero {
    padding: 6.75rem 0 3.5rem;
  }

  .hero-tagline {
    font-size: 2.25rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.5rem);
  }

  .hero-line {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2.25rem;
  }

  .btn-lg {
    height: 3.125rem;
    padding: 0 2rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .why-grid,
  .services-grid,
  .process-timeline,
  .guarantee-grid {
    gap: 1rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .jobs-header {
    padding: 3.25rem 0;
  }

  .jobs-header h1 {
    font-size: 2rem;
  }

  .job-detail-title h1 {
    font-size: 2rem;
  }

  .job-content {
    padding: 2.5rem 0;
  }

  .apply-cta {
    padding: 1.5rem;
  }

  .contract-modal-header,
  .fulltime-modal-header {
    padding: 1.25rem 1rem 0.875rem;
  }

  .contract-modal .modal-body,
  .fulltime-modal .modal-body {
    padding: 1rem;
  }
}
