/* =========================================================
   TruFinds — Grow For Real  |  style.css
   Bootstrap 5 + Montserrat + Roboto
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --tf-blue:      #006CB6;
  --tf-dark-blue: #002D51;
  --tf-navy:      #02082B;
}

/* ---- Base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 2;
  color: #000;
  margin: 0;
}
p { margin-top: 0; margin-bottom: 1rem; }
strong { font-weight: 500; }

/* ---- Site Header ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.logo-bar {
  padding: 16px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.logo-bar img { height: 65px; }

.site-nav { background: #fff; }
.site-nav .navbar { padding: 0; }
.site-nav .navbar-collapse { justify-content: center; }
.site-nav .navbar-nav .nav-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #333;
  padding: .7rem 1.2rem;
  letter-spacing: .02em;
  transition: color .15s;
}
.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .nav-link.active { color: var(--tf-blue); }

/* ---- Hero ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--tf-navy);
  background-image: url('https://trufinds.co/wp-content/uploads/2021/12/AdobeStock_451360564-scaled.jpeg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(0,45,81,.85) 60%, rgba(2,8,43,.88) 100%);
}
.hero > .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Semi-transparent content box */
.hero-box {
  background: rgba(245,245,245,0.73);
  border-left: 15px solid rgba(255,255,255,.22);
  border-right: 15px solid rgba(255,255,255,.22);
  padding: 35px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.hero-box h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: .5rem;
}
.hero-box .hero-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--tf-blue);
  margin: 0;
}

/* Hero variant — plain centered white text (companies page) */
.hero-plain { text-align: center; }
.hero-plain h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,255,255,.3);
  margin-bottom: .5rem;
}
.hero-plain .hero-sub-plain {
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  opacity: .9;
  margin: 0;
}

/* ---- Page Header (inner pages, no hero image) ------------ */
.page-header {
  background: linear-gradient(135deg, var(--tf-dark-blue) 0%, var(--tf-blue) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

/* ---- Sections -------------------------------------------- */
.section { padding: 70px 0; }
.section-alt { background: #f4f7fb; }

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--tf-blue);
  margin-bottom: 1.5rem;
}
.section-title-white {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ---- Background-image section (About plan, Companies CTA) */
.section-bg {
  position: relative;
  padding: 80px 0;
  background-color: var(--tf-navy);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.70);
}
.section-bg > .container {
  position: relative;
  z-index: 2;
}

/* Semi-transparent box used inside .section-bg */
.plan-box {
  background: rgba(255,248,248,.74);
  padding: 35px 40px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  color: #000;
}

/* ---- Dark Blue CTA Section ------------------------------- */
.section-dark {
  background: var(--tf-blue);
  color: #fff;
  padding: 70px 0;
}

/* ---- Opportunity badge ----------------------------------- */
.opportunity-badge {
  display: inline-block;
  background: var(--tf-blue);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .55rem 2rem;
  border-radius: 2px;
  text-decoration: none;
}

/* ---- Steps ----------------------------------------------- */
.step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.step-num {
  min-width: 44px; height: 44px;
  background: var(--tf-blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Check list ------------------------------------------ */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: .5rem 0 .5rem 2rem;
  position: relative;
  border-bottom: 1px solid #dde3ea;
  font-size: 18px;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tf-blue);
  font-weight: 700;
}

/* ---- Stat Box -------------------------------------------- */
.stat-box {
  background: #fff;
  border-left: 5px solid var(--tf-blue);
  padding: 1.25rem 1.5rem;
  border-radius: 3px;
}
.stat-box .amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tf-blue);
  line-height: 1.2;
}

/* ---- Mission boxes (companies page) ---------------------- */
.mission-box {
  border: 2px solid var(--tf-blue);
  padding: 1.75rem;
  height: 100%;
}
.mission-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tf-blue);
  letter-spacing: .08em;
  font-size: .85rem;
  margin-bottom: .5rem;
}

/* ---- Team Cards ------------------------------------------ */
.team-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}
.team-card-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--tf-blue);
  flex-shrink: 0;
}
.team-card-body h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--tf-blue);
  font-weight: 600;
  margin-bottom: .2rem;
}
.team-card-body .role {
  font-weight: 500;
  color: #555;
  margin-bottom: .65rem;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.team-card-body p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ---- Buttons --------------------------------------------- */
.btn-tf {
  background: var(--tf-blue);
  color: #fff !important;
  border: 2px solid var(--tf-blue);
  padding: .7rem 2.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: background .15s, border-color .15s;
}
.btn-tf:hover { background: var(--tf-dark-blue); border-color: var(--tf-dark-blue); }

/* White outline — for use on dark/colored backgrounds */
.btn-tf-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
  padding: .7rem 2.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: background .15s, color .15s;
}
.btn-tf-outline:hover { background: #fff; color: var(--tf-blue) !important; }

/* Blue outline — for use on light/white backgrounds */
.btn-tf-outline-blue {
  background: transparent;
  color: var(--tf-blue) !important;
  border: 2px solid var(--tf-blue);
  padding: .7rem 2.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: background .15s, color .15s;
}
.btn-tf-outline-blue:hover { background: var(--tf-blue); color: #fff !important; }

/* ---- Why TruFinds icons ---------------------------------- */
.why-icon { font-size: 2.6rem; margin-bottom: .75rem; }
.why-title {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--tf-blue);
  margin-bottom: .5rem;
}

/* ---- Footer ---------------------------------------------- */
footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 2.5rem 0;
  text-align: center;
  font-size: .9rem;
  font-weight: 400;
}
footer a { color: #ccc; text-decoration: none; margin: 0 .75rem; }
footer a:hover { color: #fff; }
.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: .7;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Responsive ------------------------------------------ */
@media (max-width: 767px) {
  .hero, .section-bg { background-attachment: scroll; }
  .hero-box {
    border-left: 8px solid rgba(255,255,255,.2);
    border-right: 8px solid rgba(255,255,255,.2);
    padding: 22px 24px;
  }
  .hero-box h1 { font-size: 26px; }
  .hero-box .hero-sub { font-size: 20px; }
  .hero-plain h1 { font-size: 28px; }
  .hero-plain .hero-sub-plain { font-size: 18px; }
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-card-img { width: 140px; height: 140px; }
  .plan-box { padding: 22px 20px; }
}
