@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, sans-serif;

  /* Official Brand Palette */
  --color-navy: #12233F;
  --color-navy-dark: #0b172a;
  --color-navy-light: #1e355b;
  --color-teal: #0F9D8A;
  --color-teal-hover: #0c8272;
  --color-teal-light: #e6f6f4;
  --color-bg-light: #F4F7FB;
  --color-white: #FFFFFF;

  --color-navy-50: #F4F7FB;
  --color-navy-100: #e2eaf4;
  --color-navy-200: #c2d3e5;
  --color-navy-300: #93b2d2;
  --color-navy-400: #5887b8;
  --color-navy-500: #35679d;
  --color-navy-600: #255081;
  --color-navy-700: #1d3e66;
  --color-navy-800: #183353;
  --color-navy-900: #12233F;
  --color-navy-950: #0b172a;

  /* Teal as primary brand color */
  --color-brand-50: #e6f6f4;
  --color-brand-100: #ceece7;
  --color-brand-200: #a4ddd4;
  --color-brand-300: #6ec4b8;
  --color-brand-400: #3aa699;
  --color-brand-500: #0F9D8A;
  --color-brand-600: #0c8272;
  --color-brand-700: #0a695d;
  --color-brand-800: #0a544b;
  --color-brand-900: #0c463f;

  --color-teal-50: #e6f6f4;
  --color-teal-100: #ceece7;
  --color-teal-200: #a4ddd4;
  --color-teal-300: #6ec4b8;
  --color-teal-400: #3aa699;
  --color-teal-500: #0F9D8A;
  --color-teal-600: #0c8272;
  --color-teal-700: #0a695d;
  --color-teal-800: #0a544b;

  --color-placed-50: #e6f6f4;
  --color-placed-100: #ceece7;
  --color-placed-500: #0F9D8A;
  --color-placed-600: #0c8272;
  --color-placed-700: #0a695d;

  --shadow-card: 0 1px 3px rgba(18, 35, 63, 0.05), 0 12px 32px -12px rgba(18, 35, 63, 0.12);
  --shadow-tile: 0 6px 20px -6px rgba(15, 157, 138, 0.35);
  --shadow-soft: 0 4px 20px rgba(18, 35, 63, 0.06);

  --animate-rise: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  --animate-marquee: marquee 32s linear infinite;
}

/* Custom Palette Utilities */
.bg-navy-main { background-color: #12233F !important; }
.text-navy-main { color: #12233F !important; }
.border-navy-main { border-color: #12233F !important; }

.bg-teal-main { background-color: #0F9D8A !important; }
.text-teal-main { color: #0F9D8A !important; }
.border-teal-main { border-color: #0F9D8A !important; }

.bg-canvas { background-color: #F4F7FB !important; }

.btn-teal {
  background-color: #0F9D8A !important;
  color: #FFFFFF !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-teal:hover {
  background-color: #0c8272 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -4px rgba(15, 157, 138, 0.4);
}

.btn-navy {
  background-color: #12233F !important;
  color: #FFFFFF !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-navy:hover {
  background-color: #1c355e !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -4px rgba(18, 35, 63, 0.35);
}

.btn-outline-navy {
  border: 1.5px solid #12233F !important;
  color: #12233F !important;
  background-color: #FFFFFF;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-outline-navy:hover {
  background-color: #F4F7FB !important;
  border-color: #0F9D8A !important;
  color: #0F9D8A !important;
}

.badge-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #e6f6f4;
  color: #0c8272;
  border: 1px solid rgba(15, 157, 138, 0.25);
}

.badge-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #e2eaf4;
  color: #12233F;
  border: 1px solid rgba(18, 35, 63, 0.2);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background-color: #ffffff;
  color: var(--color-navy-700);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.container-page {
  margin-inline: auto;
  width: 100%;
  max-width: 78rem;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.animate-marquee {
  animation: marquee 32s linear infinite;
}

.animate-rise {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Toast notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(15, 39, 68, 0.25);
  animation: rise 0.4s ease-out;
  max-width: 420px;
}

/* Professional Form Enhancements */
.pro-field-wrap {
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-input {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 16px 13px 44px;
  font-size: 0.925rem;
  font-weight: 500;
  color: #0f2744;
  outline: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.03);
}

.pro-input-no-icon {
  padding-left: 16px;
}

.pro-input:focus {
  border-color: #1b5cf6;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(27, 92, 246, 0.12), 0 2px 4px rgba(27, 92, 246, 0.04);
}

.pro-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.pro-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.pro-field-wrap:focus-within .pro-icon-left {
  color: #1b5cf6;
}

/* Form Section Subcards */
.form-step-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px -2px rgba(15, 39, 68, 0.04);
}

.form-step-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px -4px rgba(15, 39, 68, 0.07);
}

/* Skill Chip Tag */
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.skill-chip:hover {
  background: #eef3ff;
  color: #1b5cf6;
  border-color: #bcd0ff;
  transform: translateY(-1px);
}

/* Upload Dropzone */
.pro-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.pro-dropzone:hover,
.pro-dropzone.drag-active {
  border-color: #1b5cf6;
  background: #eef3ff;
  box-shadow: 0 8px 24px -6px rgba(27, 92, 246, 0.15);
}

/* Work mode radio buttons */
.mode-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.mode-pill {
  display: block;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background-color: #ffffff;
  padding: 10px 14px;
  text-align: center;
  font-size: 0.825rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.mode-option input[type="radio"]:checked + .mode-pill {
  border-color: #1b5cf6;
  background-color: #eef3ff;
  color: #1246d8;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(27, 92, 246, 0.15);
}

.mode-pill:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

/* Professional Gradient Submit Button */
.btn-primary-gradient {
  background: linear-gradient(135deg, #1b5cf6 0%, #1246d8 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 6px 20px -4px rgba(27, 92, 246, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #2563eb 0%, #0f3cb5 100%);
  box-shadow: 0 8px 25px -4px rgba(27, 92, 246, 0.6);
  transform: translateY(-1.5px);
}

/* Sidebar Gradient Card */
.sidebar-dark-card {
  background: linear-gradient(145deg, #0f2744 0%, #0a1a30 100%);
  color: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Layout grid for Apply Page */
.apply-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .apply-layout-grid {
    grid-template-columns: 360px 1fr;
  }
}
/* Responsive Navbar System */
.nav-desktop-menu {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop-actions {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}

.nav-mobile-toggle {
  display: none !important;
}

.nav-item-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #12233F;
  transition: all 0.2s ease;
  padding-block: 0.25rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-item-link:hover {
  color: #0F9D8A;
}
.nav-item-link.active {
  color: #0F9D8A;
  font-weight: 700;
  border-bottom: 2px solid #0F9D8A;
}

@media (max-width: 1023px) {
  .nav-desktop-menu {
    display: none !important;
  }
  .nav-desktop-actions {
    display: none !important;
  }
  .nav-mobile-toggle {
    display: grid !important;
    place-items: center;
  }
}

/* Global Multi-step Wizard & Form Utilities */
.hidden {
  display: none;
}
.is-hidden {
  display: none !important;
}

.form-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 22px !important;
  margin-bottom: 30px !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
}
.form-section-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}
.form-section-num {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background-color: #eef3ff !important;
  color: #1b5cf6 !important;
  border: 1.5px solid #bcd0ff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(27, 92, 246, 0.1) !important;
}
.form-section-title {
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  color: #0f2744 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
.form-section-subtitle {
  font-size: 0.825rem !important;
  color: #64748b !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}
.form-section-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #1b5cf6 !important;
  background-color: #eef3ff !important;
  border: 1px solid #bcd0ff !important;
  white-space: nowrap !important;
}

.form-grid-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 26px !important;
  row-gap: 24px !important;
  margin-bottom: 24px !important;
}
.form-grid-2:last-child {
  margin-bottom: 0 !important;
}
@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    row-gap: 20px !important;
  }
}

.form-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.form-field-group {
  margin-bottom: 24px !important;
}
.form-field-group:last-child {
  margin-bottom: 0 !important;
}

.mode-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
}
@media (max-width: 640px) {
  .mode-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

.form-footer-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 26px !important;
  margin-top: 32px !important;
  border-top: 1.5px solid #f1f5f9 !important;
}
