/* ================================================
   Help Centre Page — pages/css/help-centre.css
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --hc-bg:          #010e13;
  --hc-card-bg:     #071920;
  --hc-card-border: #0e2e38;
  --hc-green:       #3ddc84;
  --hc-green-dim:   rgba(61, 220, 132, 0.15);
  --hc-text:        #ffffff;
  --hc-text-muted:  #8baab8;
  --hc-divider:     rgba(255,255,255,0.07);
  --hc-icon-bg:     rgba(61, 220, 132, 0.12);
  --hc-icon-color:  #3ddc84;
}

/* ---------- Base ---------- */
body.page-help-centre {
  background-color: var(--hc-bg);
  color: var(--hc-text);
  font-family: 'Inter', sans-serif;
}


/* ================================================
   HERO SECTION
   ================================================ */
.hc-hero-section {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hc-hero-row {
  min-height: 280px;
}

/* Left column */
.hc-hero-left {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Badge */
.hc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #1f4f46;
  background: transparent;
  color: var(--hc-green);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 24px;
}

/* Heading */
.hc-hero-title {
  font-size: 46px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0px;
}

.hc-hero-title span {
  color: var(--hc-green);
}

.hc-hero-sub {
  color: #dde8ec;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
}

/* Search bar */
.hc-search-form {
  position: relative;
  max-width: 480px;
}

.hc-search-inner {
  display: flex;
  align-items: center;
  background: #031415;
  border: 1px solid #1f4f46;
  border-radius: 12px;
  padding: 6px 6px 6px 20px;
  gap: 12px;
}

.hc-search-icon {
  color: #5d7a88;
  font-size: 16px;
  flex-shrink: 0;
}

.hc-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  padding: 8px 0;
  min-width: 0;
  width: 100%;
}

.hc-search-input::placeholder { color: #2e4a4d; }

.hc-search-btn {
  padding: 10px 28px;
  background: linear-gradient(90deg, #3ddc84, #86d65f);
  color: #01151a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  white-space: nowrap;
  transition: filter .2s;
}

.hc-search-btn:hover { filter: brightness(1.1); }

/* Search results dropdown */
.hc-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #0a1f28;
  border: 1px solid #0e3040;
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  display: none;
}

.hc-search-results.is-open { display: block; }

.hc-search-result-item {
  padding: 12px 16px;
  color: #dde8ec;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.hc-search-result-item:last-child { border-bottom: none; }
.hc-search-result-item:hover { background: rgba(61,220,132,.08); color: #3ddc84; }
.hc-search-no-result { padding: 14px 16px; color: #4a6a7a; font-size: 13.5px; }

/* Right column - hero image */
.hc-hero-right {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  height: 100%;
}

.hc-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.hc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  animation: hcFloat 6s ease-in-out infinite;
}

@keyframes hcFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ================================================
   MAIN SECTION (FAQ + CONTACT)
   ================================================ */
.hc-main-section {
  padding: 20px 0 60px;
}

/* ---------- Shared icon circle ---------- */
.hc-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* green filled */
.hc-icon-circle--green {
  width: 40px;
  height: 40px;
  background: var(--hc-green);
  color: #061217;
  font-size: 18px;
  font-weight: 700;
}

/* outline */
.hc-icon-circle--outline {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--hc-green);
  color: var(--hc-green);
  font-size: 18px;
  background: rgba(61, 220, 132, 0.06);
}

/* small */
.hc-icon-circle--sm {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

/* ================================================
   FAQ CARD
   ================================================ */
.hc-faq-card {
  background: #071920;
  border: 1px solid #0d2e38;
  border-radius: 16px;
  padding: 24px 22px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hc-faq-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 0;
}

/* Green circle icon for FAQ */
.hc-icon-circle--green {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #3ddc84;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #071920;
  font-size: 18px;
  font-weight: 700;
}

.hc-faq-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0;
}

/* Accordion */
.hc-accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hc-accordion-item {
  background: #041e24;
  border: 1px solid #0d3d46 !important;
  border-radius: 12px !important;
  overflow: hidden;
}

/* Override bootstrap's default accordion styles */
.hc-accordion-item .accordion-item {
  background: transparent;
  border: none;
}

.hc-accordion-btn {
  background: #041e24 !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 20px;
  border: none;
  box-shadow: none !important;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all .2s;
  border-radius: 12px !important;
}

.hc-accordion-btn:not(.collapsed) {
  color: #3ddc84 !important;
  background: #041e24 !important;
}

.hc-accordion-btn:focus { box-shadow: none !important; }

/* Hide Bootstrap default arrow completely */
.hc-accordion-btn::after {
  display: none !important;
}

/* Simple plain chevron on the right */
.hc-accordion-btn .hc-chevron {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 12px;
  transition: transform .3s, color .2s;
}

.hc-accordion-btn:not(.collapsed) .hc-chevron {
  color: #3ddc84;
  transform: rotate(180deg);
}

.hc-accordion-body {
  padding: 0 20px 18px;
  color: #8baab8;
  font-size: 14px;
  line-height: 1.65;
  background: #041e24;
}

/* View all FAQs link */
.hc-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #3ddc84;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: gap .2s;
}

.hc-view-all-link:hover { gap: 14px; color: #3ddc84; }

/* ================================================
   CONTACT SUPPORT CARD
   ================================================ */
.hc-contact-card {
  background: var(--hc-card-bg);
  border: 1.5px solid var(--hc-card-border);
  border-radius: 18px;
  padding: 26px 24px;
  flex: 1;
}

.hc-contact-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hc-contact-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hc-contact-sub {
  color: var(--hc-text-muted);
  font-size: 13.5px;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 0;
}

.hc-contact-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 18px 0;
}

.hc-contact-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hc-contact-info-text {
  color: #dde8ec;
  font-size: 14px;
  font-weight: 500;
}

/* ================================================
   OTHER WAYS CARD
   ================================================ */
.hc-other-card {
  background: var(--hc-card-bg);
  border: 1.5px solid var(--hc-card-border);
  border-radius: 18px;
  padding: 26px 24px;
  flex: 1;
}

.hc-other-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.hc-other-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hc-other-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 18px 0;
}

.hc-other-method {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hc-other-method-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hc-other-method-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.hc-other-method-value {
  color: var(--hc-text-muted);
  font-size: 13px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991.98px) {
  .hc-hero-title { font-size: 38px; }
  .hc-hero-section { padding: 32px 0 24px; }
  .hc-hero-right { margin-top: 28px; }
  .hc-hero-img { border-radius: 12px; }
}

@media (max-width: 767.98px) {
  .hc-hero-title { font-size: 32px; }
  .hc-hero-sub { font-size: 15px; }
  .hc-search-form { max-width: 100%; }
  .hc-search-inner { padding: 4px 4px 4px 14px; gap: 8px; }
  .hc-search-btn { padding: 10px 20px; font-size: 14px; }
  .hc-faq-card { padding: 20px 16px; }
  .hc-contact-card, .hc-other-card { padding: 20px 16px; }
}
