/*
 * Stylesheet for the Rebuild Life Capital Academy Bootcamp landing page.
 *
 * The palette is inspired by the organisation’s logo: warm gold
 * tones paired with deep navy and soft neutrals. Global CSS
 * variables are declared on :root to allow easy updates.
 */

:root {
  --primary-color: #c39a36;        /* warm gold for buttons and highlights */
  --primary-dark: #a27824;         /* darker gold for hover states */
  --secondary-color: #0d1b2a;      /* deep navy for backgrounds and text */
  --light-bg: #f5f2ea;             /* soft neutral background */
  --text-color: #262626;           /* default dark text */
  --light-text: #ffffff;           /* white for dark sections */
  --muted-text: #666666;           /* muted grey for secondary copy */
  --border-radius: 8px;
  --max-width: 1200px;

  --accent-red: #b20000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Top announcement bar */
.top-bar {
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--secondary-color);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-content {
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem 3rem;
  border-radius: var(--border-radius);
  max-width: 700px;
  margin: 0 1rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--muted-text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-secondary:hover {
  background-color: #162a40;
}

/* Features section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature {
  flex: 1 1 250px;
  text-align: center;
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted-text);
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Section titles */
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.section-title.light {
  color: var(--light-text);
}

/* Curriculum overview */
.curriculum {
  background-color: var(--light-bg);
  padding: 4rem 1rem;
}

.curriculum-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  justify-content: center;
}

.curriculum-item {
  flex: 1 1 300px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.curriculum-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.curriculum-item p {
  color: var(--muted-text);
  font-size: 0.95rem;
}

/* Included materials */
.included {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 4rem 1rem;
}

.included-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  justify-content: center;
}

.included-item {
  flex: 1 1 280px;
  text-align: center;
  padding: 2rem;
}

.included-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.included-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.included-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

/* For-you section */
.for-you {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

.for-you-content {
  max-width: 800px;
  margin: 0 auto;
}

.checklist {
  list-style: none;
  margin-top: 1.5rem;
}

.checklist li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  color: var(--muted-text);
}



/* Testimonials */
.testimonials {
  background-color: var(--light-bg);
  padding: 4rem 1rem;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  justify-content: center;
}

.testimonial {
  flex: 1 1 300px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.testimonial .quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.testimonial .author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Students count */
.students-count {
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-align: center;
  padding: 3rem 1rem;
}

.students-count h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.students-count p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

/* Pricing comparison section */
.pricing-comparison {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 4rem 1rem;
  text-align: center;
}

.comparison-inner {
  max-width: 600px;
  margin: 0 auto;
}

.comparison-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.comparison-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.option i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.option p {
  font-weight: 600;
}

.and {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--secondary-color);
  line-height: 1;
}

.vs {
  font-family: 'Playfair Display', serif;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.invest {
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  color: var(--secondary-color);
}

/* FAQ */
.faq {
  background-color: var(--light-bg);
  padding: 4rem 1rem;
}

.faq-item {
  max-width: 800px;
  margin: 0.5rem auto 1.5rem;
}

.faq-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.faq-item p {
  color: var(--muted-text);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .features {
    gap: 1.5rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .pricing-comparison .comparison-options {
    flex-direction: column;
  }
  .and {
    margin: 0.5rem 0;
  }
}
/* Remove vertical line from checklist bullets */
.checklist li {
  
  padding-left: 0;         /* reset if extra space */
}
.checklist li span {
  margin-left: 0.5rem;     /* keep gap from icon */
}

/* ===== Refined bullet icon size & color ===== */


.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.checklist li span {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

/* Disable legacy pseudo icon to remove stray vertical line */


/* ===== Bullet icon styling: red checkmark ===== */


.bullet-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--accent-red);
  stroke: var(--accent-red);
}



.bullet-icon polyline {
  stroke: var(--accent-red);
}

/* === Improve readability for Testimonials and FAQ === */
.testimonials, .faq {
  color: #333333;       /* darker body text for contrast */
}

.testimonials .section-title,
.faq .section-title {
  color: var(--secondary-color, #1d3557);
}

/* === Feature Cards === */
.features {
  background-color: var(--secondary-color); /* soft pink */
}

.feature-card {
  background-color: #ffffff; /* white inside for contrast */
  border: 2px solid #ffd6e0; /* light pink border */
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  margin: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .feature-card {
    margin: 1rem 0;
  }
}

/* === Override features section for full-bleed background === */
.features {
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Centered CTA container */
.cta-center {
  text-align: center;
  margin: 2rem 0;
}

/* Centered CTA inside sections */
.cta-container {
  text-align: center;
  margin-top: 2rem;
}

.hero-cta {
  text-align: center;
  margin-top: 2rem;
}
.hero-cta .btn-primary {
  display: inline-block;
}


/* ensure spacing for hero CTA */



/* Top CTA section under hero */



/* CTA inside hero-content */
.hero-content .cta-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}


/* Logo styling */
.hero {
  position: relative;
}
.site-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 120px;
  max-width: 25%%;
  height: auto;
  z-index: 10;
}
@media (max-width: 600px) {
  .site-logo {
    width: 90px;
    top: 0.5rem;
    right: 0.5rem;
  }
}


/* Feature icons */
.feature-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 1rem;
}


/* Features color tweak to match 'What's Included' */
.feature-card {
  background-color: var(--secondary-color);
  color: var(--light-text);
  border: none;
}

.feature-card h3,
.feature-card p {
  color: var(--light-text);
}

/* ===== FAQ Slider ===== */
.faq { padding: 64px 0; background: #faf7fb; }
.faq .section-title { text-align: center; margin-bottom: 24px; }

.faq-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 12px;
}

.faq-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.faq-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.faq-slide {
  min-width: 100%;
  background: #fff;
  border: 1px solid #ece9f1;
  border-radius: 16px;
  padding: 22px;
  box-sizing: border-box;
}

.faq-q { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.faq-a { color: #444; line-height: 1.6; }

.faq-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 44px; width: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.faq-prev { left: -18px; }
.faq-next { right: -18px; }
.faq-arrow:disabled { opacity: .5; cursor: default; }

@media (max-width: 768px) {
  .faq-prev { left: -8px; }
  .faq-next { right: -8px; }
}

.faq-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.faq-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #d9d3e3;
  cursor: pointer;
}
.faq-dot.is-active { background: #6a55ff; } /* tweak to your brand color */
.faq-cta { text-align: center; margin-top: 1.25rem; }
@media (min-width: 768px) { .faq-cta { margin-top: 2rem; } }

/* FAQ arrows pushed further to page edges + larger hit area on desktop */
.faq-arrow { z-index: 2; }

@media (min-width: 992px) {
  .faq-arrow { height: 56px; width: 56px; font-size: 24px; }
  .faq-prev { left: -64px; }
  .faq-next { right: -64px; }
}

@media (min-width: 1280px) {
  .faq-prev { left: -72px; }
  .faq-next { right: -72px; }
}

/* Keep arrows closer in on small screens */
@media (max-width: 768px) {
  .faq-prev { left: -8px; }
  .faq-next { right: -8px; }
}

/* Match FAQ arrows + slide to section background */
.faq { --faq-bg: #faf7fb; background: var(--faq-bg); }

.faq-slide {
  background: var(--faq-bg);
  border: 1px solid transparent;   /* remove white edge */
  box-shadow: none;                 /* keep it flat like the section */
}

.faq-arrow {
  background: var(--faq-bg);
  border-color: transparent;        /* remove ring */
  box-shadow: none;
  color: #333;                      /* keep the arrow visible */
}

/* Bigger FAQ arrows, like the reference site */
.faq-arrow {
  height: 72px;              /* was 56px */
  width: 72px;               /* was 56px */
  font-size: 30px;           /* makes the chevron icon larger */
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation; /* better tap target */
  z-index: 2;
}

.faq-prev { left: -72px; }   /* push to edges */
.faq-next { right: -72px; }

.faq-arrow i,
.faq-arrow svg {             /* if you’re using <i> or an SVG icon */
  width: 1.2em;
  height: 1.2em;
}

/* Subtle hover so it feels clickable */
.faq-arrow:hover { transform: scale(1.06); }

/* Keep arrows usable on small screens */
@media (max-width: 768px) {
  .faq-arrow { height: 56px; width: 56px; font-size: 24px; }
  .faq-prev { left: -8px; }
  .faq-next { right: -8px; }
}


/* === PATCH: FAQ arrows size + hover fix (2025-08-08) === */
.faq-arrow {
  /* Make arrows ~2x larger */
  height: 88px !important;
  width: 88px !important;
  font-size: 44px !important;
  /* Smooth hover and keep scaling centered */
  transition: transform .15s ease;
  transform-origin: center;
}
/* Keep vertical centering on hover while scaling slightly */
.faq-arrow:hover {
  transform: translateY(-50%) scale(1.06) !important;
}
/* Ensure focus styles don't shift position */
.faq-arrow:focus {
  outline: none;
  transform: translateY(-50%) scale(1.04) !important;
}






.hero-text {
    background-color: #fff7f9; /* dark blue like What's Included */
    display: flex;
    justify-content: center;
    color: #000000; /* white text */
}



.hero-text .hero-content p { color: #000000; }


.hero-text .hero-content {
    background-color: #fff7f9; /* match section background */
    padding: 2rem 3rem;
    border-radius: var(--border-radius);
}

.features h3, .features p {
    color: var(--light-text);
}


/* === Centering overrides for 'Rebuild Your Financial Future' section === */
section.hero-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

section.hero-text .hero-content {
    margin: 0 auto !important;
    text-align: center !important;
}

section.hero-text .cta-container {
    display: flex;
    justify-content: center;
}


/* Position hero CTA halfway between middle and bottom */
.hero .cta-container {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* =====================
   FINAL OVERRIDES (2025-08-09)
   - Pin hero CTA lower
   - Center the section below
   ===================== */

/* Avoid vertical centering from any theme rules */
header.hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: flex-start !important; /* stop middle centering */
  text-align: center;
}

/* Ensure hero background sits behind */
header.hero .hero-bg { z-index: -2; }

/* Place CTA ~75% down the hero */
header.hero > .cta-container {
  position: absolute !important;
  top: 75% !important;
  left: 50% !important;
  transform: translateX(-50%) !important; /* do not pull it up */
  margin: 0 !important;
  z-index: 5;
}

/* Give the CTA a little breathing room on very short viewports */
@media (max-height: 640px) {
  header.hero > .cta-container {
    top: 70% !important;
  }
}

/* Center the section immediately below the hero */
section.hero-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 3rem 1rem;
}

/* Keep content centered and constrained */
section.hero-text .hero-content {
  margin: 0 auto !important;
  max-width: 800px;
}

/* Optional: ensure the features section that follows stays centered */
section.features { margin-left: auto; margin-right: auto; }
