/* ============================================================
   HƯỚNG DẪN NHẬN LỚP GIA SƯ - CSS
   ============================================================ */

:root {
  --hdnl-navy: #0d2251;
  --hdnl-orange: #f47a20;
  --hdnl-orange-light: #fff4eb;
  --hdnl-gray-bg: #f5f7fb;
  --hdnl-text: #222;
  --hdnl-text-light: #666;
  --hdnl-border: #e5e8ef;
}

.hdnl-orange { color: var(--hdnl-orange); }

/* ---- HERO ---- */
.hdnl-hero {
  position: relative;
  background: var(--hdnl-navy);
  overflow: hidden;
  padding: 18px 0 0;
}
.hdnl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(244,122,32,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hdnl-hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.hdnl-hero-text {
  flex: 1;
  color: #fff;
  padding-top: 0;
  padding-bottom: 52px;
}
.hdnl-hero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.hdnl-hero-text h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hdnl-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hdnl-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hdnl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--hdnl-orange);
  color: var(--hdnl-orange);
  background: transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}
.hdnl-btn-outline:hover { background: var(--hdnl-orange); color: #fff; }
.hdnl-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--hdnl-orange);
  color: #fff;
  border: 2px solid var(--hdnl-orange);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.hdnl-btn-solid:hover { background: #d96b10; border-color: #d96b10; }
.hdnl-hero-img {
  flex: 0 0 400px;
  max-width: 400px;
  display: flex;
  align-items: flex-end;
}
.hdnl-hero-img img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  display: block;
  object-fit: cover;
  height: 320px;
  object-position: top center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

/* ---- SECTION TITLE ---- */
.hdnl-section-title {
  text-align: center;
  margin-bottom: 56px;
}
.hdnl-section-title h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--hdnl-navy);
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.hdnl-title-line {
  width: 60px;
  height: 4px;
  background: var(--hdnl-orange);
  margin: 0 auto;
  border-radius: 2px;
}

/* ---- PROCESS SECTION ---- */
.hdnl-process {
  padding: 72px 0 0;
  background: var(--hdnl-gray-bg);
}

/* TIMELINE */
.hdnl-timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 0 18px;
}
.hdnl-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 18px;
  width: 4px;
  background: #112b63;
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 999px;
}
.hdnl-timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 14px;
  border: 3px solid #112b63;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hdnl-step {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  min-height: 96px;
}

.hdnl-step:last-child {
  margin-bottom: 0;
}

.hdnl-step-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px 16px;
  box-shadow: 0 6px 22px rgba(13,34,81,0.08);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  border: 1px solid rgba(17,43,99,0.08);
}
.hdnl-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,34,81,0.14);
}
.hdnl-step-card::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 26px;
  height: 2px;
  background: rgba(17,43,99,0.22);
  transform: translateY(-50%);
}
.hdnl-step-left .hdnl-step-card::before {
  right: -26px;
}
.hdnl-step-right .hdnl-step-card::before {
  left: -26px;
}
.hdnl-step-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hdnl-orange);
  font-size: 24px;
  border: 2px solid #f3c9a6;
}
.hdnl-step-content h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--hdnl-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hdnl-step-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hdnl-step-content ul li {
  font-size: 13px;
  color: var(--hdnl-text-light);
  padding: 2px 0 2px 16px;
  position: relative;
}
.hdnl-step-content ul li::before {
  content: '�';
  position: absolute;
  left: 0;
  color: var(--hdnl-orange);
  font-size: 14px;
  line-height: 1.4;
}

.hdnl-step-content ul li::before {
  content: '\2022';
}

.hdnl-step-num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: var(--hdnl-orange);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(244,122,32,0.32);
  border: 3px solid #fff;
  margin: auto 20px;
}

.hdnl-step-empty { flex: 1; }

/* Left: card | num | empty */
.hdnl-step-left .hdnl-step-card  { order: 1; }
.hdnl-step-left .hdnl-step-num   { order: 2; }
.hdnl-step-left .hdnl-step-empty { order: 3; }

/* Right: empty | num | card */
.hdnl-step-right .hdnl-step-empty { order: 1; }
.hdnl-step-right .hdnl-step-num   { order: 2; }
.hdnl-step-right .hdnl-step-card  { order: 3; }

/* ---- STATS BAR ---- */
.hdnl-stats-bar {
  background: var(--hdnl-navy);
  padding: 28px 0;
  margin-top: 60px;
}
.hdnl-stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.hdnl-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.hdnl-stat-icon {
  width: 46px;
  height: 46px;
  background: rgba(244,122,32,0.18);
  border: 1.5px solid var(--hdnl-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hdnl-orange);
  font-size: 18px;
  flex-shrink: 0;
}
.hdnl-stat-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.hdnl-stat-text span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
  max-width: 180px;
}

/* ---- FAQ ---- */
.hdnl-faq {
  padding: 72px 0 50px;
  background: #fff;
}

/* All answers hidden by default; active items show them */
.hdnl-faq-a {
  display: none;
  padding: 0 18px 18px 47px;
}
.hdnl-faq-item.hdnl-faq-active .hdnl-faq-a {
  display: block;
}

.hdnl-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 10px;
  align-items: start;
}
.hdnl-faq-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 10px;
  align-items: start;
}
.hdnl-faq-extra .hdnl-faq-item:nth-child(n+4) {
  display: none;
}
.hdnl-faq-extra.hdnl-faq-extra-visible {
  display: grid;
}
.hdnl-faq-extra.hdnl-faq-extra-visible .hdnl-faq-item {
  display: block;
}

.hdnl-faq-item {
  background: var(--hdnl-gray-bg);
  border-radius: 10px;
  border: 1.5px solid var(--hdnl-border);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  align-self: start;
}
.hdnl-faq-item.hdnl-faq-active {
  border-color: var(--hdnl-orange);
  background: #fff;
  box-shadow: 0 4px 16px rgba(244,122,32,0.1);
}
.hdnl-faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--hdnl-navy);
  user-select: none;
}
.hdnl-faq-q i:first-child {
  color: var(--hdnl-orange);
  font-size: 17px;
  flex-shrink: 0;
}
.hdnl-faq-q span { flex: 1; }
.hdnl-faq-arrow {
  color: var(--hdnl-orange);
  font-size: 13px;
  flex-shrink: 0;
}

.hdnl-faq-a p {
  font-size: 13.5px;
  color: var(--hdnl-text-light);
  line-height: 1.65;
  margin: 0;
}

.hdnl-faq-more { text-align: center; margin-top: 28px; }
.hdnl-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border: 2px solid var(--hdnl-orange);
  color: var(--hdnl-orange);
  background: transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}
.hdnl-btn-outline-dark:hover { background: var(--hdnl-orange); color: #fff; }

/* ---- CTA BANNER ---- */
.hdnl-cta {
  background: linear-gradient(135deg, var(--hdnl-navy) 60%, #1a3a7c 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hdnl-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(244,122,32,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hdnl-cta-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hdnl-cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(244,122,32,0.16);
  border: 2px solid rgba(244,122,32,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hdnl-orange);
  font-size: 32px;
  flex-shrink: 0;
}
.hdnl-cta-text { flex: 1; min-width: 200px; }
.hdnl-cta-text h2 {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hdnl-cta-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
}
.hdnl-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.hdnl-cta-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--hdnl-orange);
  color: #fff;
  border: 2px solid var(--hdnl-orange);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.hdnl-cta-btn-solid:hover { background: #d96b10; border-color: #d96b10; }
.hdnl-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.hdnl-cta-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hdnl-timeline {
    max-width: 100%;
    padding-bottom: 0;
  }
  .hdnl-timeline::after {
    left: 23px;
  }
  .hdnl-hero-text {
      padding-bottom:0 !important;
}
  .hdnl-hero-inner { flex-direction: column; align-items: flex-start; }
  .hdnl-hero-img { max-width: 100%; flex: 1; width: 100%; }
  .hdnl-hero-img img { height: 200px; border-radius: 8px 8px 0 0; }
  .hdnl-faq-grid,
  .hdnl-faq-extra { grid-template-columns: 1fr; }
  .hdnl-timeline::before { left: 23px; }
  .hdnl-step {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 56px;
    position: relative;
  }
  .hdnl-step-card::before {
    display: none;
  }
  .hdnl-step-left .hdnl-step-card,
  .hdnl-step-right .hdnl-step-card { order: 2; width: 100%; }
  .hdnl-step-left .hdnl-step-num,
  .hdnl-step-right .hdnl-step-num { order: 1; position: absolute; left: 0; top: 0; margin: 0; }
  .hdnl-step-left .hdnl-step-empty,
  .hdnl-step-right .hdnl-step-empty { display: none; }
}
@media (max-width: 600px) {
  .hdnl-hero-text h1 { font-size: 26px; }
  .hdnl-section-title h2 { font-size: 20px; }
  .hdnl-stats-inner { flex-direction: column; align-items: flex-start; padding: 0 16px; }
  .hdnl-cta-inner { flex-direction: column; text-align: center; }
  .hdnl-cta-btns { justify-content: center; }
  .hdnl-hero-btns { flex-direction: row; }
  .hdnl-btn-outline{padding:12px 10px !important;}
  .hdnl-btn-solid{padding:12px 10px !important;}
}
