/* ============================================================
   internship_form.css — Internship Application Form
   Redesigned to match main website theme (Teal + Orange)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700&display=swap");

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg-main: #f4faf9;
  --bg-section: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-primary: #2a3a3f;
  --text-secondary: #5f7a80;
  --text-muted: #8fa3a8;

  --primary: #3aafa0;
  --primary-dark: #2f9c8f;
  --primary-hover: #ffa94d;
  --primary-glow: rgba(58, 175, 160, 0.15);
  --primary-light: rgba(58, 175, 160, 0.08);

  --accent: #ffb86b;
  --accent-hover: #ffa94d;
  --accent-light: rgba(255, 184, 107, 0.15);
  --accent-border: rgba(255, 184, 107, 0.35);

  --danger: #e55c5c;
  --danger-glow: rgba(229, 92, 92, 0.12);
  --success: #3aafa0;

  --border: rgba(58, 175, 160, 0.15);
  --border-soft: #e6f0ef;
  --border-focus: var(--primary);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-xs: 0 2px 8px rgba(42, 58, 63, 0.06);
  --shadow-sm: 0 4px 16px rgba(42, 58, 63, 0.08);
  --shadow-md: 0 8px 32px rgba(42, 58, 63, 0.1);
  --shadow-lg: 0 20px 60px rgba(42, 58, 63, 0.13);
  --shadow-teal: 0 8px 28px rgba(58, 175, 160, 0.22);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset / Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background Decoration ─────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 0% 0%,
      rgba(58, 175, 160, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 55% 45% at 100% 100%,
      rgba(255, 184, 107, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 35% at 55% 50%,
      rgba(58, 175, 160, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

/* ── Floating blob decoration ──────────────────────────────── */
body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(58, 175, 160, 0.06) 0%,
    transparent 70%
  );
  top: -120px;
  right: -140px;
  pointer-events: none;
  z-index: 0;
  animation: blobDrift 14s ease-in-out infinite alternate;
}

@keyframes blobDrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-30px, 40px) scale(1.06);
  }
}

/* ── App Shell ─────────────────────────────────────────────── */
.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.app-header {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 0 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.app-header .logo-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-teal);
  transition: transform var(--transition-bounce);
}

.app-header .logo-mark:hover {
  transform: rotate(-6deg) scale(1.08);
}

.app-header h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.app-header p {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════════════════════ */
.progress-wrap {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0 0;
  position: sticky;
  top: 96px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(42, 58, 63, 0.05);
}

.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding: 0 12px 14px;
  scrollbar-width: none;
}
.progress-steps::-webkit-scrollbar {
  display: none;
}

/* ── FIX: Equal-width step nodes, no label overlap ──────────── */
.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0; /* equal share of container width */
  min-width: 72px; /* prevents extreme compression on small screens */
  position: relative;
  text-align: center;
}

/* Connector line */
.step-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 19px);
  width: calc(100% - 18px);
  height: 2px;
  background: var(--border-soft);
  transition: background 0.5s ease;
  min-width: 24px;
}

.step-node.completed:not(:last-child)::after {
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    rgba(58, 175, 160, 0.4) 100%
  );
}

/* Bubbles */
.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-soft);
  background: var(--bg-section);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition-bounce);
  position: relative;
  z-index: 1;
  cursor: default;
}

.step-node.active .step-bubble {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow:
    0 0 0 5px var(--primary-glow),
    var(--shadow-teal);
  transform: scale(1.12);
}

.step-node.completed .step-bubble {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: scale(1.02);
}

.step-node.completed .step-bubble::after {
  content: "✓";
  position: absolute;
  font-size: 13px;
  font-weight: 800;
}

.step-node.completed .step-bubble {
  font-size: 0;
}

/* ── FIX: Labels wrap properly, no overlap ───────────────────── */
.step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 5px;
  text-align: center;
  max-width: unset; /* removed old 62px cap */
  width: 100%;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: normal; /* allow wrapping */
  word-break: break-word;
  padding: 0 4px;
}

.step-node.active .step-label {
  color: var(--primary);
}
.step-node.completed .step-label {
  color: var(--primary-dark);
}

/* Track bar */
.progress-bar-track {
  height: 3px;
  background: var(--border-soft);
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  position: relative;
}

.progress-bar-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  transition: opacity var(--transition);
}

/* ══════════════════════════════════════════════════════════════
   MAIN / FORM CONTAINER
══════════════════════════════════════════════════════════════ */
main {
  flex: 1;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 20px 100px;
  width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   FORM STEPS
══════════════════════════════════════════════════════════════ */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   STEP HEADER
══════════════════════════════════════════════════════════════ */
.step-header {
  margin-bottom: 36px;
  text-align: center;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  border: 1px solid rgba(58, 175, 160, 0.25);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.step-badge i {
  font-size: 12px;
}

.step-header h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.step-header p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════════ */
.form-card {
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
  overflow: hidden;
}

/* Top accent strip */
.form-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.form-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 175, 160, 0.25);
  transform: translateY(-2px);
}

.form-card:hover::before {
  opacity: 1;
}

/* Card section title */
.card-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.01em;
}

.card-section-title i {
  color: var(--primary);
  font-size: 1rem;
  background: var(--primary-light);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   FORM CONTROLS
══════════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.form-label .req {
  color: var(--accent-hover);
  margin-left: 2px;
  font-size: 13px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-main);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-control:hover,
.form-select:hover {
  border-color: rgba(58, 175, 160, 0.35);
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 92px;
  line-height: 1.65;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238FA3A8' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-hint i {
  font-size: 10px;
  color: var(--primary);
}

/* ── Error States ──────────────────────────────────────────── */
.field-error {
  font-size: 11.5px;
  color: var(--danger);
  margin-top: 5px;
  display: none;
  font-weight: 500;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
  background: rgba(229, 92, 92, 0.03);
  box-shadow: 0 0 0 4px var(--danger-glow);
}

/* ══════════════════════════════════════════════════════════════
   INSTRUCTIONS STEP
══════════════════════════════════════════════════════════════ */
.instructions-card {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-md);
  padding: 40px 36px;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}

.instructions-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.instructions-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 260px;
  height: 260px;
  background: rgba(255, 184, 107, 0.12);
  border-radius: 50%;
}

.instructions-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.instructions-card h3 i {
  color: var(--accent);
}

.inst-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.inst-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 10px;
  font-weight: 400;
}

.inst-list li:last-child {
  margin-bottom: 0;
}

.inst-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 13px;
}

/* Agree box */
.agree-box {
  background: var(--bg-section);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.agree-box:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.agree-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.agree-box label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   TOGGLE SWITCH (Steps 3 & 4 + NA toggles)
══════════════════════════════════════════════════════════════ */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all var(--transition);
}

.toggle-wrap:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.toggle-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.toggle-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.toggle-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-soft);
  border-radius: 100px;
  transition: background var(--transition);
  cursor: pointer;
  border: 1.5px solid var(--border-soft);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-bounce);
  box-shadow: 0 2px 6px rgba(42, 58, 63, 0.18);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
  border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* ══════════════════════════════════════════════════════════════
   SIBLINGS INFO TOOLTIP
══════════════════════════════════════════════════════════════ */
.info-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.info-tooltip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 1px solid rgba(58, 175, 160, 0.3);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.info-tooltip-icon:hover,
.info-tooltip-wrap.active .info-tooltip-icon {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.info-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text-primary);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
  z-index: 200;
  box-shadow: var(--shadow-md);
}

.info-tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text-primary);
}

.info-tooltip-wrap:hover .info-tooltip-bubble,
.info-tooltip-wrap.active .info-tooltip-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   PROFILE PHOTO UPLOAD & PREVIEW
══════════════════════════════════════════════════════════════ */
.photo-upload-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.photo-preview-box {
  width: 108px;
  height: 108px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(58, 175, 160, 0.4);
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition-bounce);
  position: relative;
}

.photo-preview-box:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  animation: photoReveal 0.32s ease both;
}

@keyframes photoReveal {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 8px;
  pointer-events: none;
}

.photo-placeholder i {
  font-size: 26px;
  color: var(--primary);
  opacity: 0.55;
}

.photo-size-hint {
  font-size: 10.5px;
  color: var(--text-muted);
  text-align: center;
}

.photo-error-msg {
  font-size: 11.5px;
  color: var(--danger);
  font-weight: 600;
  display: none;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   NOT APPLICABLE TOGGLE CARD (Steps 5–9)
══════════════════════════════════════════════════════════════ */
.na-toggle-card {
  margin-bottom: 16px;
  background: var(--bg-section);
  border: 1.5px dashed rgba(58, 175, 160, 0.3);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: none;
  transition: border-color var(--transition);
  /* reset form-card styles that don't apply here */
  overflow: visible;
}

.na-toggle-card:hover {
  border-color: var(--primary);
  box-shadow: none;
  transform: none;
}

.na-toggle-card::before {
  display: none;
}

.na-toggle-card .toggle-wrap {
  margin-bottom: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
}

.na-toggle-card .toggle-wrap:hover {
  background: var(--primary-light);
}

/* ══════════════════════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════════════════════ */
.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 22px 0;
}

/* ══════════════════════════════════════════════════════════════
   ACTIVITY BUILDER (Step 6)
══════════════════════════════════════════════════════════════ */
.activity-row {
  background: var(--bg-main);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  transition: all var(--transition);
}

.activity-row:hover {
  border-color: rgba(58, 175, 160, 0.3);
  background: rgba(58, 175, 160, 0.02);
  box-shadow: var(--shadow-xs);
}

.activity-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.activity-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(58, 175, 160, 0.2);
  padding: 3px 12px;
  border-radius: 100px;
}

.btn-remove {
  background: none;
  border: 1.5px solid var(--border-soft);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.btn-remove:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-glow);
}

/* Add button */
.btn-add {
  background: var(--primary-light);
  border: 2px dashed rgba(58, 175, 160, 0.35);
  color: var(--primary-dark);
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.btn-add:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  border-style: solid;
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

/* ══════════════════════════════════════════════════════════════
   SKILL ROWS (Step 7 — Digital Education)
══════════════════════════════════════════════════════════════ */
.skill-row {
  background: var(--bg-main);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  transition: all var(--transition);
}

.skill-row:hover {
  border-color: rgba(58, 175, 160, 0.3);
  background: rgba(58, 175, 160, 0.02);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background var(--transition);
}

.skill-header:hover {
  background: var(--primary-light);
}

.skill-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.skill-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  cursor: pointer;
}

.skill-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(58, 175, 160, 0.2);
  padding: 3px 9px;
  border-radius: 100px;
}

.skill-detail {
  display: none;
  padding: 0 18px 16px;
}

.skill-detail.visible {
  display: block;
  animation: revealDown 0.22s ease both;
}

@keyframes revealDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   BIO ROWS (Step 9 — Bio/Chemo Informatics)
══════════════════════════════════════════════════════════════ */
.bio-row {
  background: var(--bg-main);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  transition: all var(--transition);
}

.bio-row:hover {
  border-color: rgba(58, 175, 160, 0.3);
  background: rgba(58, 175, 160, 0.02);
}

.bio-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background var(--transition);
}

.bio-header:hover {
  background: var(--primary-light);
}

.bio-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.bio-detail {
  display: none;
  padding: 0 18px 16px;
}

.bio-detail.visible {
  display: block;
  animation: revealDown 0.22s ease both;
}

/* ══════════════════════════════════════════════════════════════
   DIGITAL PRESENCE (Step 8)
══════════════════════════════════════════════════════════════ */
.platform-row {
  background: var(--bg-main);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: all var(--transition);
}

.platform-row:hover {
  border-color: rgba(58, 175, 160, 0.3);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-xs);
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.platform-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    rgba(255, 184, 107, 0.1) 100%
  );
  border: 1px solid rgba(58, 175, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--primary);
  transition: transform var(--transition-bounce);
}

.platform-row:hover .platform-icon {
  transform: scale(1.1) rotate(-5deg);
}

.platform-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION BUTTONS
══════════════════════════════════════════════════════════════ */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-bounce);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::after {
  opacity: 1;
}

.btn-back {
  background: var(--bg-section);
  border: 1.5px solid var(--border-soft);
  color: var(--text-secondary);
}

.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateX(-3px);
}

.btn-next {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #fff;
  box-shadow: var(--shadow-teal);
}

.btn-next:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #e8962e 100%);
  box-shadow: 0 8px 28px rgba(255, 169, 77, 0.32);
  transform: translateY(-2px);
}

.btn-submit {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #fff;
  box-shadow: var(--shadow-teal);
  padding: 13px 36px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #e8962e 100%);
  box-shadow: 0 8px 28px rgba(255, 169, 77, 0.32);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   SUCCESS SCREEN
══════════════════════════════════════════════════════════════ */
#success-screen {
  display: none;
  text-align: center;
  padding: 70px 20px;
}

.success-icon {
  width: 84px;
  height: 84px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: white;
  margin: 0 auto 28px;
  animation: popIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: var(--shadow-teal);
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#success-screen h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

#success-screen p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

.app-id-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--accent-light) 100%
  );
  border: 1.5px solid rgba(58, 175, 160, 0.25);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 11px 30px;
  border-radius: 100px;
  margin: 22px 0 8px;
  letter-spacing: 0.05em;
  font-family: "Sora", sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   LOADER
══════════════════════════════════════════════════════════════ */
.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════════════════════════
   AOS OVERRIDES
══════════════════════════════════════════════════════════════ */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ══════════════════════════════════════════════════════════════
   BOOTSTRAP OVERRIDES
══════════════════════════════════════════════════════════════ */
.row {
  --bs-gutter-x: 20px;
}

/* ══════════════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════════════ */
.text-accent {
  color: var(--accent);
}
.text-muted {
  color: var(--text-muted) !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .form-card {
    padding: 22px 18px;
  }
  .instructions-card {
    padding: 28px 22px;
  }
  .form-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .btn-back {
    order: 2;
  }
  .btn-next,
  .btn-submit {
    order: 1;
  }
}

@media (max-width: 576px) {
  .progress-steps {
    gap: 0;
  }
  .step-label {
    display: none;
  }
  .instructions-card {
    padding: 22px 16px;
  }
  .form-card {
    padding: 18px 14px;
  }
  .card-section-title {
    font-size: 0.95rem;
  }
  .step-header h2 {
    font-size: 1.45rem;
  }
  .toggle-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .app-header {
    padding: 14px 0 12px;
  }
  .progress-wrap {
    top: 82px;
  }
  .photo-preview-box {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 400px) {
  .form-container {
    padding: 28px 14px 80px;
  }
  .step-bubble {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
}

.terms-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
}

.terms-content {
  max-height: 200px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
  padding-right: 10px;
}
