/* =====================================================
   Guide Page – redesigned
===================================================== */

/* ---- Full-width hero ---- */
.guide-hero-wrap {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  margin-top: 0px;
}
.guide-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: #0d1b35;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.guide-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  opacity: 1;
}
.guide-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5, 15, 35, .78) 0%,
    rgba(5, 15, 35, .60) 38%,
    rgba(5, 15, 35, .25) 65%,
    transparent 100%
  );
}
.guide-hero-body {
  position: relative; z-index: 2;
  padding: 58px 0 52px; max-width: 620px;
}
.guide-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
  color: #93c5fd; border-radius: 20px; padding: 5px 15px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 18px;
}
.guide-hero-body h1 {
  font-size: 36px; font-weight: 800; color: #fff;
  margin: 0 0 12px; line-height: 1.2; letter-spacing: -.3px;
}
.guide-hero-body h1 .accent { color: #60a5fa; }
.guide-hero-body p {
  font-size: 15px; color: rgba(255,255,255,.80);
  margin: 0; line-height: 1.7; max-width: 500px;
}

/* ---- Quick nav tabs ---- */
.guide-tabs-wrap {
  background: #fff;
  border-bottom: 2px solid #e2e8f0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.guide-tabs {
  display: flex; gap: 0; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.guide-tabs::-webkit-scrollbar { display: none; }
.guide-tab-link {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 20px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #64748b;
  text-decoration: none; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.guide-tab-link i { font-size: 14px; }
.guide-tab-link:hover { color: #1a3a6b; text-decoration: none; }
.guide-tab-link.active { color: #1a3a6b; border-bottom-color: #1a3a6b; }

/* ---- Section wrapper ---- */
.guide-section {
  padding: 48px 0 12px;
}

/* ---- Section heading ---- */
.guide-sec-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 800; color: #0f172a;
  margin: 0 0 28px; padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}
.guide-sec-head .sec-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; flex-shrink: 0;
}
.si-blue   { background: linear-gradient(135deg,#1a3a6b,#2563a8); }
.si-teal   { background: linear-gradient(135deg,#0d7e6a,#10b981); }
.si-amber  { background: linear-gradient(135deg,#b45309,#f59e0b); }
.si-red    { background: linear-gradient(135deg,#b91c1c,#e53e3e); }
.si-purple { background: linear-gradient(135deg,#6d28d9,#8b5cf6); }
.si-green  { background: linear-gradient(135deg,#065f46,#059669); }
.si-gray   { background: linear-gradient(135deg,#374151,#6b7280); }

/* ---- Step cards ---- */
.guide-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.guide-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}
.guide-step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: #1a3a6b; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0;
  position: relative; z-index: 1;
}
.guide-step::before {
  content: ''; position: absolute;
  left: 17px; top: 56px; bottom: -1px; width: 2px;
  background: #e2e8f0; z-index: 0;
}
.guide-step:last-child::before { display: none; }
.step-body { flex: 1; padding-top: 6px; }
.step-body h4 {
  font-size: 15px; font-weight: 700; color: #1e293b;
  margin: 0 0 6px;
}
.step-body p, .step-body ul { font-size: 13.5px; color: #475569; line-height: 1.7; margin: 0; }
.step-body ul { padding-left: 18px; }
.step-body ul li { margin-bottom: 4px; }
.step-body a { color: #1a3a6b; font-weight: 600; }
.step-body a:hover { text-decoration: underline; }

/* ---- Alert / Notice boxes ---- */
.guide-alert {
  border-radius: 10px; padding: 14px 18px;
  display: flex; gap: 11px; align-items: flex-start;
  margin: 16px 0; font-size: 13.5px; line-height: 1.65;
}
.guide-alert i { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.guide-alert-info  { background:#eff6ff; border:1px solid #bfdbfe; border-left:4px solid #1a3a6b; color:#1e3a5f; }
.guide-alert-info i { color:#1a3a6b; }
.guide-alert-warn  { background:#fffbeb; border:1px solid #fde68a; border-left:4px solid #f59e0b; color:#78350f; }
.guide-alert-warn i { color:#f59e0b; }
.guide-alert-danger{ background:#fff5f5; border:1px solid #fecaca; border-left:4px solid #e53e3e; color:#7f1d1d; }
.guide-alert-danger i{ color:#e53e3e; }

/* ---- CTA button ---- */
.guide-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #1a3a6b; color: #fff !important;
  padding: 10px 20px; border-radius: 8px;
  font-size: 13.5px; font-weight: 700;
  text-decoration: none;
  transition: opacity .18s, transform .1s;
  margin-top: 8px;
}
.guide-btn:hover { opacity:.88; transform:translateY(-1px); text-decoration:none; color:#fff; }
.guide-btn.red { background:#e53e3e; }

/* ---- Carrier table ---- */
.carrier-table { width:100%; border-collapse:collapse; font-size:13px; margin:16px 0 24px; }
.carrier-table th {
  background:#1a3a6b; color:#fff;
  padding:10px 14px; text-align:left; font-weight:700;
}
.carrier-table td { padding:10px 14px; border-bottom:1px solid #e2e8f0; color:#334155; }
.carrier-table tr:nth-child(even) td { background:#f8fafd; }
.carrier-table tr:hover td { background:#eff6ff; }

/* ---- Video embed ---- */
.guide-video { margin:20px 0; }
.guide-video iframe {
  width:100%; max-width:560px; height:315px;
  border-radius:10px; box-shadow:0 4px 20px rgba(0,0,0,.12);
}

/* ---- Accordion panels (override Bootstrap) ---- */
.guide-accordion { margin-bottom: 48px; }
.guide-panel {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  margin-bottom: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.guide-panel .panel-heading {
  background: #fff !important;
  border: none !important;
  padding: 0 !important;
}
.guide-panel .panel-title a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 18px 22px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-decoration: none !important;
  transition: background .15s !important;
}
.guide-panel .panel-title a:hover { background: #f8fafd !important; }
.guide-panel .panel-title a .panel-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; flex-shrink: 0;
}
.guide-panel .panel-title a .panel-arrow {
  margin-left: auto; color: #94a3b8; font-size: 13px;
  transition: transform .2s;
}
.guide-panel .panel-title a.collapsed .panel-arrow { transform: rotate(-90deg); }
.guide-panel .panel-body { padding: 8px 24px 24px !important; background: #fff; }
.guide-panel .panel-collapse { border-top: 1px solid #f1f5f9; }

/* ---- Divider ---- */
.guide-divider {
  border: none; border-top: 2px solid #e2e8f0;
  margin: 36px 0 28px;
}

/* ---- Responsive ---- */
@media (max-width:767px) {
  .guide-hero-body h1 { font-size: 26px; }
  .guide-hero-body p  { font-size: 13.5px; }
  .guide-hero-body    { padding: 40px 0 36px; }
  .guide-tab-link     { padding: 12px 14px; font-size: 12px; }
  .guide-video iframe { height: 200px; }
}
