/* =====================
ABOUT PAGE – HARD CENTERED
===================== */

.about-page {
  width: 100%;
  margin: 32px auto 48px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.about-page h2 {
  margin-bottom: 6px;
}

.about-page .subtitle {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
}

.about-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  box-sizing: border-box;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about-card p {
  margin: 0;
  line-height: 1.65;
  color: #333;

  /* keeps about text nicely readable */
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Image card */
.image-card {
  padding: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* =====================
PAGE HERO (ADD-ON ONLY)
===================== */

.page-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-bottom: 6px solid #ff7c10;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(1.05);
}

/* Dark overlay so text is readable */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.55)
  );
}

/* Text inside hero */
.page-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-hero-text h1 {
  margin: 0 0 6px;
  font-size: 36px;
}

.page-hero-text p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

/* =====================
CENTRES PAGE ONLY
===================== */

.centres-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.centres-input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  min-width: 220px;
  font: inherit;
  box-sizing: border-box;
}

.centres-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-sizing: border-box;
}

/* =====================
CENTRE CARD WITH IMAGE (SINGLE SOURCE OF TRUTH)
===================== */

.centre-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;

  /* HERO-like shadow */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.centre-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.22),
    0 12px 24px rgba(0, 0, 0, 0.14);
}

/* Image section */
.centre-img {
  height: 180px;
  overflow: hidden;
}

.centre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95) saturate(1.05);
}

/* Content section */
.centre-content {
  padding: 18px 22px;
  text-align: center;
  box-sizing: border-box;
}

.centre-content h3 {
  margin: 0 0 6px;
}

.centre-meta {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

/* =====================
PRICING PAGE
===================== */

.pricing-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 22px 22px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.pricing-featured {
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.18),
    0 10px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

@media (max-width: 980px) {
  .pricing-featured {
    transform: none;
  }
}

.pricing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff7c10;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pricing-top h3 {
  margin: 6px 0 6px;
}

.pricing-desc {
  margin: 0 0 14px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 13.5px;
}

.pricing-price {
  font-size: 34px;
  font-weight: 900;
  margin: 8px 0 16px;
}

.pricing-currency {
  font-size: 16px;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-period {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  margin-left: 6px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
}

.pricing-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.pricing-list li:first-child {
  border-top: none;
}

.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f0b35b;
  color: #000;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.pricing-btn:hover {
  background: #ff7c10;
  color: #fff;
}

.pricing-btn-strong {
  background: #ff7c10;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.pricing-btn-strong:hover {
  filter: brightness(0.95);
}

.pricing-note {
  margin-top: 18px;
}

/* =====================
LEGAL PAGES (PRIVACY + TERMS)
Clean + stable centering
===================== */

.legal-page {
  width: 100%;
  padding: 32px 24px 48px;
  margin: 0 auto;
  box-sizing: border-box;
}

.legal-page .about-card {
  max-width: 900px; /* override about default 720 for legal */
}

.legal-intro {
  text-align: center;
}

.legal-intro p {
  margin: 10px 0;
}

.legal-muted {
  font-size: 12.5px;
  color: rgba(0, 0, 0, 0.55);
}

.legal-doc {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  text-align: left;
  padding: 18px 22px;
  box-sizing: border-box;
}

.legal-section {
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-section:first-child {
  border-top: none;
  padding-top: 6px;
}

.legal-section h3 {
  margin: 0 0 8px;
}

.legal-section p {
  margin: 0 0 10px;
  line-height: 1.75;
}

.legal-doc ul {
  margin: 8px 0 10px;
  padding-left: 18px;
  line-height: 1.75;
}

.legal-doc li {
  margin: 4px 0;
}

/* IMPORTANT: undo about-page paragraph centering inside legal doc */
.legal-doc p,
.legal-doc li {
  max-width: none;
}

.legal-link-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  background: #ff7c10;
  color: #fff;
}

.legal-link-btn:hover {
  filter: brightness(0.95);
}

/* =====================
LEGAL PAGE POLISH (privacy / terms)
Paste at bottom of footer.css
===================== */

/* Make the legal content slightly narrower + nicer spacing */
.legal-page {
  padding: 28px 24px 52px;
}

/* Make both cards consistent width */
.legal-page .about-card,
.legal-doc {
  max-width: 860px; /* was 900 */
}

/* Overview card: less tall + nicer reading */
.legal-intro {
  padding: 18px 22px;
}

.legal-intro p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-size: 14.5px;
}

/* Legal document typography */
.legal-doc {
  padding: 22px 26px;
  border-radius: 18px;
}

.legal-section h3 {
  font-size: 16px;
}

.legal-section p,
.legal-doc li {
  font-size: 14.5px;
  line-height: 1.8;
}

/* List bullets slightly nicer spacing */
.legal-doc ul {
  padding-left: 20px;
}

.legal-doc li {
  margin: 6px 0;
}

/* CTA button a bit nicer */
.legal-link-btn {
  padding: 11px 16px;
  border-radius: 999px;
}

/* =====================
HERO: better responsive behaviour
===================== */
@media (max-width: 640px) {
  .page-hero {
    height: 260px;
  }

  .page-hero-text h1 {
    font-size: 26px;
  }

  .page-hero-text p {
    font-size: 14px;
  }

  .legal-page {
    padding: 20px 14px 44px;
  }

  .legal-doc {
    padding: 18px 16px;
  }
}
/* =====================
HELP CENTRE + CONTACT US (single clean block)
===================== */

/* shared link style */
.helpInlineLink {
  color: #ff7c10;
  font-weight: 800;
  text-decoration: none;
}
.helpInlineLink:hover {
  text-decoration: underline;
}

/* ---------- HELP CENTRE (search + chips + accordion) ---------- */

.helpControls {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

/* search input */
.helpInput {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: none;
  font: inherit;
  box-sizing: border-box;
}

.helpInput:focus {
  border-color: rgba(255, 124, 16, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 124, 16, 0.12);
}

/* filter chips */
.helpFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.chip:hover {
  background: rgba(0, 0, 0, 0.03);
}

.chip.isActive {
  border-color: rgba(255, 124, 16, 0.55);
  background: rgba(255, 124, 16, 0.12);
}

/* FAQ list */
.faqList {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

/* each FAQ card — you can use about-card on it too */
.faqItem {
  text-align: left; /* important because about-card is centered in your pages */
}

/* question button */
.faqQ {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

/* + / – icon bubble */
.faqIcon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

/* answer */
.faqA {
  margin-top: 10px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.72);
}

/* ---------- CONTACT US (form) ---------- */

.contactForm {
  margin-top: 12px;
  text-align: left;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.label {
  font-weight: 900;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: none;
  font: inherit;
  box-sizing: border-box;
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.input:focus {
  border-color: rgba(255, 124, 16, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 124, 16, 0.12);
}

.err {
  min-height: 16px;
  font-size: 12.5px;
  color: rgba(200, 0, 0, 0.85);
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btnPrimary {
  border: 0;
  background: #ff7c10;
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.btnPrimary:hover {
  filter: brightness(0.95);
}

.btnGhost {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: rgba(0, 0, 0, 0.75);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btnGhost:hover {
  background: rgba(0, 0, 0, 0.03);
}

.successBox {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 160, 80, 0.12);
  border: 1px solid rgba(0, 160, 80, 0.22);
  font-weight: 900;
}

@media (max-width: 640px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

/* Simple accordion styling (safe, minimal) */
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  margin-top: 10px;
  display: none;
  line-height: 1.7;
}

.faq-btn span {
  font-size: 20px;
  font-weight: 900;
}

/* Info tooltip (ⓘ) for Help Centre */

.helpTitleWithTip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.infoTip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;
  border-radius: 50%;

  font-size: 13px;
  font-weight: 900;
  cursor: default;

  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.7);
}

.infoTip:hover {
  background: rgba(255, 124, 16, 0.15);
  color: #ff7c10;
}

/* Tooltip box */
.infoTipBox {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%);

  min-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

  font-size: 13px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}

/* Small arrow */
.infoTipBox::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* Show on hover */
.infoTip:hover .infoTipBox {
  opacity: 1;
}
