/* ==========================================================================
   TPO-DEMO.CSS — dsat/dsatexam-tour.php ("Take a Tour" page)
   Prefix: dtd-   |   Hero base: dsatexam.css (dst-*)   |   global.css NOT modified
   ========================================================================== */

/* ============================================================
   1. SMALL HERO
   ============================================================ */
.dcd-page .dtd-hero { padding: 40px 0 44px; }

.dtd-hero-title {
  color: #FFFFFF;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 6px 0 8px;
}

.dtd-hero-title .dst-hero-title-accent { display: inline; }

.dtd-hero-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dst-hero-text);
}

/* ============================================================
   2. TOUR STEPS (vertical timeline)
   ============================================================ */
.dtd-tour { background: var(--bg-main); }

.dtd-steps {
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.dtd-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
}

/* line connecting the step numbers */
.dtd-step::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  width: 2px;
  background: var(--border-color);
}

.dtd-step:last-child { padding-bottom: 0; }
.dtd-step:last-child::before { display: none; }

.dtd-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--dst-blue);
  box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.12);
}

.dtd-step-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dtd-step-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dtd-step-text p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.dtd-step-text p strong { color: var(--text-primary); }

/* ---- Step 1 : browser link mock ---- */
.dtd-browser {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-section);
}

.dtd-browser-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border-color); }
.dtd-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.dtd-browser-bar i:nth-child(2) { background: #FEBC2E; }
.dtd-browser-bar i:nth-child(3) { background: #28C840; }

.dtd-browser-url {
  margin: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.84rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.dtd-browser-url i { color: #16A34A; margin-right: 6px; }
.dtd-browser-url strong { color: var(--dst-blue); }

/* ---- Step 2 : form mock ---- */
.dtd-form {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-section);
}

.dtd-form-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }

.dtd-form-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  margin-bottom: 6px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-card);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.dtd-form-field i { width: 40%; height: 6px; border-radius: var(--radius-full); background: var(--border-color); }

.dtd-form-btn {
  margin-top: 10px;
  padding: 8px;
  text-align: center;
  border-radius: 6px;
  background: var(--dst-blue);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---- Step 3 : demo note ---- */
.dtd-note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.07);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.dtd-note i { color: #D97706; margin-top: 2px; }
.dtd-note strong { color: var(--text-primary); }

/* ---- Step 4 : result goes to ---- */
.dtd-result-to { display: grid; gap: 12px; }

.dtd-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-section);
}

.dtd-result-item i { font-size: 1.5rem; color: var(--dst-blue); }
.dtd-result-item .bi-whatsapp { color: #16A34A; }
.dtd-result-item strong { display: block; font-size: 0.92rem; color: var(--text-primary); }
.dtd-result-item span { font-size: 0.84rem; color: var(--text-secondary); }

/* ---- Step 5 : what is inside the PDF ---- */
.dtd-pdf-list {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-section);
}

.dtd-pdf-list li { padding: 4px 0; font-size: 0.88rem; color: var(--text-secondary); }
.dtd-pdf-list i { color: #16A34A; margin-right: 8px; }

/* ============================================================
   3. CTA
   ============================================================ */
.dtd-cta {
  max-width: 1000px;
  margin: 44px auto 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px dashed var(--dst-blue);
  border-radius: var(--radius-md);
  background: rgba(47, 107, 255, 0.06);
}

.dtd-cta p { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text-primary); }

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .dtd-step-body { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 575px) {
  .dtd-step { gap: 14px; }
  .dtd-step-num { width: 38px; height: 38px; font-size: 0.95rem; }
  .dtd-step::before { left: 18px; top: 38px; }
  .dtd-step-body { padding: 18px; }
  .dtd-cta { padding: 20px; }
}
