/* ================= VARIABLES ================= */
:root {
  --color-primary: #004b76;
  --color-accent: #f47a00;
  --color-dark: #111827;
  --color-text: #4b5563;
  --color-bg-alt: #f4f8fb;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1400px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 40px -10px rgba(0,75,118,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-dark); background: var(--color-white); line-height: 1.6; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.25; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.text-highlight { color: var(--color-accent); }
.text-center { text-align: center; }
.text-white { color: white !important; }
.text-white-70 { color: rgba(255,255,255,0.85) !important; }
.align-left { text-align: left !important; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(244, 122, 0, 0.3);
}
.btn-primary:hover {
  background: #d96d00;
  border-color: #d96d00;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(5px);
}
.btn-ghost:hover { background: white; color: var(--color-primary); }
.btn-large { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; display: flex; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
}
.logo-image { height: 42px; }
.main-nav ul { display: flex; gap: 25px; align-items: center; }
.main-nav a { font-weight: 500; color: var(--color-text); font-size: 0.9rem; }
.main-nav a:hover { color: var(--color-accent); }

/* Hide Mobile Nav Button on Desktop */
.mobile-nav-btn-container { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
}
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 75, 118, 0.85), rgba(0, 21, 40, 0.95));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}
.hero-subtitle {
  max-width: 700px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ================= SECTIONS ================= */
.section { padding: 90px 0; background: white; }
.section-alt { background: var(--color-bg-alt); padding: 90px 0; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.section-title { font-size: 2.3rem; font-weight: 700; margin-bottom: 15px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.highlight-box {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  border-top: 4px solid #ddd;
  transition: 0.3s;
}
.highlight-box:hover { transform: translateY(-5px); }
.highlight-box.accent-blue { border-top-color: var(--color-primary); }
.highlight-box.accent-orange { border-top-color: var(--color-accent); }
.icon-circle {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Why Germany */
.why-oc-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  margin-top: 30px;
}
.why-oc-text p { margin-bottom: 20px; font-size: 1.05rem; }

.why-oc-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 75, 118, 0.08);
  border: 1px solid #e0f2fe;
}
.highlight-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 15px;
}
.pulse-icon {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(244, 122, 0, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 122, 0, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(244, 122, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 122, 0, 0); }
}
.why-oc-highlight h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.stat-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.stat-row:last-child { margin-bottom: 0; }
.stat-icon {
  font-size: 1.8rem;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
}
.stat-info { display: flex; flex-direction: column; }
.stat-info strong { color: var(--color-primary); font-size: 1.1rem; }
.stat-info span { font-size: 0.9rem; color: var(--color-text); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}
.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  transition: 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { font-size: 2rem; margin-bottom: 15px; }

/* MODERN SYSTEM */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.comparison-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  height: 100%;
}
.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-primary);
}
.comp-header {
  background: var(--color-primary);
  color: white;
  padding: 15px;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-body {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comp-old, .comp-new {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.comp-old { background: #fee2e2; color: #991b1b; }
.comp-new { background: #dcfce7; color: #166534; }
.comp-footer {
  padding: 12px;
  background: #f8fafc;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  border-top: 1px solid #eee;
  margin-top: auto;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CHALLENGES */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.challenge-card {
  background: white;
  padding: 40px 30px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid var(--color-border);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-number {
  font-size: 5rem;
  font-weight: 900;
  color: #f1f5f9;
  position: absolute;
  top: -10px;
  right: -10px;
  line-height: 1;
  z-index: 0;
}
.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.check-list { margin: 15px 0; flex-grow: 1; }
.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.check-list li::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.card-note {
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 10px;
  font-weight: 600;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag-cloud span {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Pathways */
.pathways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.path-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  position: relative;
}
.path-card-accent { border-color: var(--color-accent); }
.path-label {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eff6ff;
  color: var(--color-primary);
  padding: 5px 12px;
  border-radius: 20px;
}
.path-label-accent { background: #fff7ed; color: var(--color-accent); }
.path-list {
  margin-top: 20px;
  list-style: disc;
  padding-left: 20px;
  color: var(--color-text);
}

/* Key Requirements */
.requirements-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(rgba(0, 75, 118, 0.9), rgba(0, 21, 40, 0.95)), url("assets/Img3.png");
  background-size: cover;
  background-position: center;
}
.requirements-inner { position: relative; z-index: 2; text-align: center; }
.section-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  color: var(--color-accent) !important;
}
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}
.req-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.3s;
}
.req-card:hover { transform: translateY(-5px); }
.req-emoji {
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: block;
}

/* ================= WIZARD CALCULATOR ================= */
.calculator-wizard-container {
  background: var(--color-primary);
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  color: white;
  min-height: 550px;
}
.wizard-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: 100%;
  min-height: 550px;
}
.wizard-main {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wizard-step { display: none !important; animation: fadeIn 0.5s; }
.wizard-step.active { display: block !important; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-header h3 { color: white; font-size: 1.5rem; }
.progress-container {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  margin: 15px 0 10px;
}
.progress-bar {
  height: 100%;
  background: var(--color-accent);
  transition: width 0.4s ease;
}
.step-indicator {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-align: right;
  margin-bottom: 20px;
}
.q-title {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-group label {
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
  display: block;
}
.wizard-input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.2);
  font-size: 1rem;
  margin-top: 5px;
  background: rgba(255,255,255,0.05);
  color: white;
  outline: none;
  transition: 0.3s;
}
.wizard-input option { background: var(--color-primary); color: white; }
.wizard-input:focus {
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.1);
}
.wizard-options {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.wiz-card {
  flex: 1;
  position: relative;
  cursor: pointer;
  min-width: 100px;
}
.wiz-card input { position: absolute; opacity: 0; }
.wiz-card span {
  display: block;
  padding: 15px;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s;
  color: rgba(255,255,255,0.8);
}
.wiz-card input:checked + span {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: white;
}
.checkbox-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.wiz-check {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.wiz-check:hover { background: rgba(255,255,255,0.1); }
.wiz-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
}
.wiz-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}
.wizard-sidebar {
  background: rgba(0,0,0,0.2);
  padding: 40px 30px;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.live-score-box { text-align: center; margin-bottom: 40px; }
.score-label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.score-val {
  font-size: 5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: block;
}
.score-req { color: var(--color-accent); font-weight: 600; }
.score-breakdown { list-style: none; padding: 0; }
.score-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.score-breakdown li span { font-weight: 700; color: white; }
.result-box { text-align: center; padding: 20px; color: white; }
.score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 3rem;
  font-weight: 800;
}
.result-box h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
}
.result-box p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Timeline (desktop) */
.timeline-section { background: var(--color-bg-alt); padding: 90px 0; }
.timeline-scroll {
  position: relative;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0px;
}

.timeline-track {
  position: absolute;
  top: 0;
  bottom: 60px;
  left: 50%;
  width: 4px;
  background: rgba(0,0,0,0.1);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-plane {
  position: sticky;
  top: 300px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
}
.plane-img { width: 30px; height: auto; display: block; }

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  gap: 0;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}
.timeline-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.timeline-card--left { text-align: right; margin-right: 20px; }
.timeline-card--right { margin-left: 20px; }

.timeline-end-text {
  padding: 10px 20px;
  font-weight: 700;
  color: var(--color-primary);
}

/* --- FIXED DESKTOP CRASH --- */
/* Added background and higher z-index so the plane slides BEHIND the end flag */
.timeline-row.timeline-end {
  margin-top: 80px;
  position: relative;
  z-index: 20; /* Higher than plane's 10 */
  background: var(--color-bg-alt); /* Matches background to mask the plane */
  padding-top: 20px;
}
.timeline-node-end {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 21; /* Sit above the row background */
}
/* --------------------------- */

.flag-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    #000000 33.33%,
    #dd0000 33.33%,
    #dd0000 66.66%,
    #ffce00 66.66%
  );
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 3px solid white;
  position: relative;
  z-index: 20;
}

/* Why DEIN Talents */
.dt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.dt-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  background: white;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-dark);
}
.faq-icon-wrapper {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.faq-icon {
  width: 12px;
  height: 2px;
  background: white;
  position: relative;
}
.faq-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  transform: rotate(90deg);
  transition: 0.3s;
}
.faq-item.active .faq-icon::after { transform: rotate(0deg); }
.faq-answer {
  display: none;
  padding: 0 25px 25px;
  color: var(--color-text);
  font-size: 0.95rem;
  border-top: 1px solid #f0f0f0;
  margin-top: -10px;
  padding-top: 15px;
}
.faq-item.active .faq-answer { display: block; }

/* Footer */
.site-footer {
  background: #f8fafc;
  padding: 60px 0 20px;
  border-top: 1px solid #eee;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Floating Buttons */
.floating-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-accent);
  color: white;
  padding: 15px 28px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 90; /* LOWERED TO BE BELOW MENU */
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.floating-contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  background: #d96d00;
}
.floating-hiring-btn {
  position: fixed;
  bottom: 95px;
  right: 30px;
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 90; /* LOWERED TO BE BELOW MENU */
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.floating-hiring-btn:hover {
  transform: translateY(-5px);
  background: var(--color-primary);
  color: white;
}

/* IT PROFESSIONALS */
.it-intro-text { max-width: 800px; margin: 0 auto 40px; }
.it-intro-text p { font-size: 1.05rem; }
.it-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.it-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: 0.3s;
  position: relative;
  border: 1px solid #eee;
  overflow: hidden;
}
.it-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.card-blue-top { border-top: 4px solid var(--color-primary); }
.card-orange-top { border-top: 4px solid var(--color-accent); }
.it-card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.it-card h3 {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}
.it-list { list-style: none; padding: 0; }
.it-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}
.it-list li::before {
  content: "✓";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* OTHER PROFESSIONS */
.other-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
.other-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 300px;
}
.other-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}
.other-icon-box {
  width: 50px;
  height: 50px;
  background: #f0f9ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.other-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.other-desc {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 15px;
  min-height: 40px;
}
.other-list {
  list-style: none;
  padding: 0;
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}
.other-list li {
  font-size: 0.85rem;
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
  color: #555;
}
.other-list li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* JOBS PAGE */
.job-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.job-card {
  background: white;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 450px;
  overflow: hidden;
  transition: 0.3s;
}
.job-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}
.job-header {
  background: var(--color-primary);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.job-header h3 { color: white; margin: 0; font-size: 1.1rem; }
.job-tag {
  background: var(--color-accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.job-body { padding: 25px; }
.job-role {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 10px;
  font-weight: 700;
}
.job-desc {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 20px;
}
.job-reqs {
  background: #f9fafb;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
}
.job-reqs h5 {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--color-dark);
}
.job-reqs ul {
  padding-left: 20px;
  list-style: disc;
  color: var(--color-text);
  font-size: 0.9rem;
}
.job-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: white;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  color: #999;
}
.modal-title { margin-bottom: 25px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app-form .form-group { margin-bottom: 20px; }
.app-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
  color: var(--color-dark);
}
.modal-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.radio-group { display: flex; flex-wrap: wrap; gap: 15px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #111827 !important;
}
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  margin: 0;
}
.checkbox-group .check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827 !important;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  margin-top: 2px;
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 1100px) {
  .other-card { flex: 0 0 calc((100% - 30px) / 2); }
}

@media (max-width: 900px) {

  /* Header & nav */
  .header-inner { padding: 0 15px; }
  .logo-text { font-size: 1rem; }
  .logo-image { height: 30px; }
  .header-cta { display: none !important; }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .nav-toggle { display: flex; margin-left: auto; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(0, 75, 118, 0.96);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 2000; /* MENU ABOVE ALL */
  }
  .main-nav.active { display: block; }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
  }
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    color: #fff;
  }
  .main-nav a:hover { color: var(--color-accent); }

  .mobile-nav-btn-container {
    display: block;
    padding: 15px 20px;
  }
  .mobile-nav-btn {
    width: 100%;
    background: var(--color-accent);
    color: #fff !important;
    text-align: center;
    justify-content: center;
    border: none;
  }

  /* Timeline – mobile: left-aligned, plane sticky logic corrected */
  .timeline-section { padding: 60px 0; }
  .timeline-scroll {
    max-width: 100%;
    margin: 40px 0 0;
  }

  .timeline-row {
    display: flex;
    flex-direction: column;
    padding-left: 70px;   /* space for track + plane on the left */
    margin-bottom: 40px;
    position: relative;
  }

  .timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px; /* Track line is exactly at 30px from left */
    width: 4px;
    background: rgba(0,0,0,0.1);
    transform: translateX(-50%);
    z-index: 1;
  }

  /* CORRECTED PLANE LOGIC */
  .timeline-plane {
    position: sticky;
    top: 50vh;               /* Centers vertically in viewport */
    left: 48px;              /* MOVED RIGHT: 30px (track) + 18px offset to center body */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Centers element on the point defined by left */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;               /* Remove auto margins */
  }
  .plane-img { width: 40px; height: auto; }

  .timeline-node {
    position: absolute;
    left: 30px;
    top: 0;
    transform: translateX(-50%);
    z-index: 5;
  }

  .timeline-card {
    width: 100%;
    margin: 0 !important;
    text-align: left !important;
  }

  .timeline-row > div:empty { display: none; }

  /* MASKING TRICK: The final row (Flag) has a background color and higher z-index */
  /* This makes the sticky plane slide "behind" it and disappear */
  .timeline-row.timeline-end {
    margin-top: 40px;
    padding-left: 70px;
    position: relative;
    z-index: 50; /* HIGHER than plane (10) to cover it */
    background: var(--color-bg-alt); /* Matches section background to hide plane */
    padding-top: 20px; /* Add some space so the flag doesn't look cut off */
  }

  .timeline-node-end {
    position: absolute;
    left: 30px;
    top: 20px; /* Aligned with the new padding */
    transform: translateX(-50%);
    z-index: 55;
  }

  .timeline-end-text {
    margin-top: 16px;
    padding-left: 0; /* Already inside padded container */
    text-align: left;
  }

  /* Layout stacks */
  .hero-content { padding: 3rem 1rem; }
  .hero-title { font-size: 2rem; line-height: 1.2; }

  .about-grid,
  .why-oc-intro,
  .highlights-row,
  .challenges-grid,
  .requirements-grid,
  .dt-grid,
  .footer-grid,
  .feature-grid,
  .pathways-grid,
  .it-grid,
  .other-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section,
  .section-alt { padding: 50px 0; }

  .wizard-layout { display: flex; flex-direction: column; }
  .wizard-sidebar {
    padding: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
  }
  .live-score-box { margin-bottom: 0; text-align: left; }
  .score-breakdown { display: none; }

  .floating-contact-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .floating-hiring-btn {
    bottom: 80px;
    right: 20px;
    padding: 10px 18px;
  }

  .other-card { flex: 0 0 100%; }
}
