/* =========================================================
   Innovative Pathfinders — Design System
   Colors sourced from current innovativepathfinders.com
   ========================================================= */

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

:root {
  --teal:        #00557c;
  --teal-light:  #006a9e;
  --teal-dark:   #003f5e;
  --gold:        #edc225;
  --gold-dark:   #c9a81e;
  --white:       #ffffff;
  --off-white:   #f4f8fb;
  --text:        #1a1a2e;
  --gray:        #4e6478;
  --border:      #c8d8ea;
  --font-sans:   'Poppins', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* Poppins from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================================================
   Container
   ========================================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Nav
   ========================================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--teal);
  transition: box-shadow 0.2s;
}

nav.nav-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: #59a7d6;
  letter-spacing: 0.03em;
}

.nav-logo-text span:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.btn-portal {
  background: var(--gold);
  color: var(--text) !important;
  padding: 7px 16px;
  border-radius: 3px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: background 0.15s !important;
}

.btn-portal:hover {
  background: var(--gold-dark) !important;
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: 0.2s;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  min-height: 100vh;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0.42)),
                    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
}

.hero-inner {
  max-width: 680px;
}

.hero-logo {
  height: 140px;
  width: auto;
  margin-bottom: 32px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  font-size: 1.0rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 3px;
  transition: background 0.15s;
}

.hero-cta:hover { background: var(--gold-dark); }

/* =========================================================
   Page header (inner pages)
   ========================================================= */

.page-header {
  background: var(--teal);
  padding: 100px 24px 52px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header .subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto;
}

/* =========================================================
   Gold bar (stat strip)
   ========================================================= */

.gold-bar {
  background: var(--gold);
  padding: 24px;
}

.gold-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.gold-bar-item {
  text-align: center;
}

.gold-bar-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(0,0,0,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gold-bar-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

/* =========================================================
   Sections
   ========================================================= */

section {
  padding: 72px 24px;
}

section.section-alt {
  background: var(--off-white);
}

section.section-dark {
  background: var(--teal);
  color: var(--white);
}

section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  line-height: 1.25;
}

section.section-dark h2 {
  color: var(--white);
}

section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}

section.section-dark h3 {
  color: var(--gold);
}

.section-intro {
  font-size: 0.97rem;
  color: var(--gray);
  max-width: 660px;
  margin-bottom: 40px;
}

/* =========================================================
   Two-column layout
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* =========================================================
   FAQ / Accordion-style cards
   ========================================================= */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 2px;
  padding: 28px 24px;
}

.faq-card h3 {
  margin-bottom: 12px;
}

.faq-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* =========================================================
   Benefits grid
   ========================================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold);
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

/* =========================================================
   Bio section
   ========================================================= */

.bio-photo {
  width: 100%;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

.bio-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.bio-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.bio-role {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.bio-body p {
  font-size: 0.97rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* =========================================================
   Credentials
   ========================================================= */

.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cred-group h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 10px;
  font-weight: 600;
}

.cred-list {
  list-style: none;
}

.cred-list li {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.cred-list li:last-child { border-bottom: none; }

/* =========================================================
   Values grid
   ========================================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 16px;
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: block;
  object-fit: contain;
}

.value-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

/* =========================================================
   Service cards
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px 24px;
  border-top: 4px solid var(--teal);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* =========================================================
   Testimonial
   ========================================================= */

.testimonial-section {
  background: var(--teal-dark);
  padding: 72px 24px;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: left;
}

.testimonial-quote {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
}

.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* =========================================================
   CTA bar
   ========================================================= */

.cta-bar {
  background: var(--gold);
  padding: 52px 24px;
  text-align: center;
}

.cta-bar h2 {
  color: var(--text) !important;
  margin-bottom: 8px;
}

.cta-bar p {
  color: rgba(0,0,0,0.65);
  font-size: 0.97rem;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--teal-light); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: 3px;
  border: 2px solid var(--teal);
  transition: background 0.15s, color 0.15s;
}

.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
}

/* =========================================================
   Contact form
   ========================================================= */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* =========================================================
   Service cards — extended
   ========================================================= */

.service-icon {
  color: var(--teal);
  margin-bottom: 16px;
}

.service-detail {
  margin-top: 10px;
}

.service-who {
  margin-top: 10px;
  font-size: 0.86rem !important;
  color: var(--text) !important;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* =========================================================
   Process steps
   ========================================================= */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* =========================================================
   Contact layout
   ========================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-sidebar h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 24px;
}

.contact-sidebar h4:first-child { margin-top: 0; }

.calendly-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 3px;
  padding: 20px 20px 18px;
  margin-bottom: 20px;
}

.calendly-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
}

.calendly-desc {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.6;
}

.calendly-box p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.6;
}

.connect-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.connect-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.connect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.connect-link:hover { color: var(--teal-light); }

.contact-note {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
  background: var(--teal-dark);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--gold); }

/* =========================================================
   Utilities
   ========================================================= */

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.section-label-teal {
  color: var(--teal);
}

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.flip { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--teal-dark);
    padding: 16px 24px;
    gap: 12px;
  }
  .nav-toggle { display: flex; }
  .benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gold-bar-inner { gap: 24px; }
  .process-steps { grid-template-columns: 1fr; }
}
