/* Homepage — CTA Banner + Blog Preview */

/* ══════════════════════════════════════════════
   SECTION A — CTA Banner
   ══════════════════════════════════════════════ */
.hb-cta {
  position: relative;
  background: #FF6B00;
  overflow: hidden;
  padding: 80px 0;
}

.hb-cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hb-cta-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hb-cta-shapes span:nth-child(1) {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
}

.hb-cta-shapes span:nth-child(2) {
  width: 280px;
  height: 280px;
  bottom: -100px;
  left: 10%;
  background: rgba(255, 255, 255, 0.06);
}

.hb-cta-shapes span:nth-child(3) {
  width: 160px;
  height: 160px;
  top: 40%;
  left: -40px;
  background: rgba(255, 255, 255, 0.1);
}

.hb-cta-shapes span:nth-child(4) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  right: 35%;
  background: rgba(255, 255, 255, 0.05);
}

.hb-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hb-cta-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.hb-cta-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hb-cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.hb-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hb-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #FF6B00;
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.hb-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.hb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  transition: all 0.25s ease;
}

.hb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.hb-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
}

.hb-cta-trust li {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mini form card */
.hb-cta-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(10, 31, 68, 0.2);
}

.hb-cta-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0A1F44;
  margin-bottom: 20px;
}

.hb-mini-form .hb-field {
  margin-bottom: 14px;
}

.hb-mini-form label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0A1F44;
  margin-bottom: 6px;
}

.hb-mini-form input,
.hb-mini-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid rgba(10, 31, 68, 0.12);
  border-radius: 10px;
  background: #F4F6F9;
  color: #1A1A2E;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hb-mini-form input:focus,
.hb-mini-form select:focus {
  outline: none;
  border-color: #FF6B00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
  background: #FFFFFF;
}

.hb-mini-form input.is-invalid,
.hb-mini-form select.is-invalid {
  border-color: #DC2626;
}

.hb-btn-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: #FF6B00;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.hb-btn-submit:hover {
  background: #E05E00;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.hb-form-success {
  display: none;
  text-align: center;
  padding: 24px 12px;
}

.hb-form-success.is-visible {
  display: block;
}

.hb-form-success i {
  font-size: 48px;
  color: #16A34A;
  margin-bottom: 12px;
}

.hb-form-success p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0A1F44;
}

.hb-mini-form.is-hidden {
  display: none;
}

/* ══════════════════════════════════════════════
   SECTION B — Blog Preview
   ══════════════════════════════════════════════ */
.hb-blog {
  background: #F4F6F9;
  padding: 90px 0;
}

.hb-blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hb-blog-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.hb-blog-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #0A1F44;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.hb-blog-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: #FF6B00;
  border-radius: 50px;
}

.hb-blog-header p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
}

.hb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.hb-blog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 31, 68, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hb-blog-card:hover {
  box-shadow: 0 16px 40px rgba(10, 31, 68, 0.1);
  transform: translateY(-6px);
}

.hb-blog-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hb-blog-thumb--orange { background: linear-gradient(135deg, #FF6B00 0%, #ff9a4d 100%); }
.hb-blog-thumb--navy { background: linear-gradient(135deg, #0A1F44 0%, #1e4a8a 100%); }
.hb-blog-thumb--teal { background: linear-gradient(135deg, #0D9488 0%, #2dd4bf 100%); }

.hb-blog-thumb i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.35);
}

.hb-blog-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hb-blog-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}

.hb-blog-badge--orange { background: rgba(255, 107, 0, 0.12); color: #FF6B00; }
.hb-blog-badge--navy { background: rgba(10, 31, 68, 0.1); color: #0A1F44; }
.hb-blog-badge--teal { background: rgba(13, 148, 136, 0.12); color: #0D9488; }

.hb-blog-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0A1F44;
  line-height: 1.35;
  margin-bottom: 10px;
}

.hb-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 12px;
}

.hb-blog-meta i {
  margin-right: 4px;
  color: #FF6B00;
  font-size: 11px;
}

.hb-blog-excerpt {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.hb-blog-link {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B00;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
  margin-top: auto;
}

.hb-blog-link:hover {
  gap: 10px;
  color: #E05E00;
}

.hb-blog-cta {
  text-align: center;
}

.hb-btn-blog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0A1F44;
  background: transparent;
  border: 2px solid #0A1F44;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.hb-btn-blog:hover {
  background: #0A1F44;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
  .hb-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hb-cta-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .hb-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hb-cta {
    padding: 56px 0;
  }

  .hb-cta-btns {
    flex-direction: column;
  }

  .hb-btn-white,
  .hb-btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hb-cta-trust {
    flex-direction: column;
    gap: 8px;
  }

  .hb-blog {
    padding: 60px 0;
  }

  .hb-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hb-blog-thumb {
    height: 160px;
  }
}
