/* ==========================================================================
   Pathfinder Academy — Template 29
   Christian School / Academy Landing Page
   Palette: Deep Slate-Blue #1e293b · Warm Ivory #faf8f5 · Warm Gold #b8860b / #d4a017
   Fonts : Plus Jakarta Sans (display) · Spectral (body serif)
   Prefix: pa-
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --pa-slate:        #1e293b;
  --pa-slate-light:  #334155;
  --pa-slate-dark:   #0f172a;
  --pa-ivory:        #faf8f5;
  --pa-ivory-dark:   #f0ece6;
  --pa-gold:         #b8860b;
  --pa-gold-light:   #d4a017;
  --pa-gold-pale:    #f5e6c8;
  --pa-white:        #ffffff;
  --pa-text:         #1e293b;
  --pa-text-light:   #64748b;
  --pa-border:       #e2e0db;

  --pa-font-display: 'Plus Jakarta Sans', sans-serif;
  --pa-font-body:    'Spectral', Georgia, serif;

  --pa-radius:       8px;
  --pa-radius-lg:    12px;
  --pa-shadow:       0 2px 12px rgba(0,0,0,.08);
  --pa-shadow-hover: 0 8px 28px rgba(0,0,0,.12);
  --pa-transition:   .3s ease;

  --pa-container:    1200px;
  --pa-nav-height:   72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--pa-font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--pa-text);
  background: var(--pa-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pa-font-display);
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- Utilities ---------- */
.pa-container {
  width: 100%;
  max-width: var(--pa-container);
  margin: 0 auto;
  padding: 0 24px;
}
.pa-section {
  padding: 100px 0;
}
.pa-eyebrow {
  font-family: var(--pa-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pa-gold);
  margin-bottom: 14px;
  display: block;
}
.pa-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.pa-section-header h2 {
  font-size: 40px;
  margin-bottom: 18px;
  color: var(--pa-slate);
}
.pa-section-header h2 em {
  font-family: var(--pa-font-body);
  font-style: italic;
  font-weight: 600;
  color: var(--pa-gold);
}
.pa-section-header p {
  font-size: 18px;
  color: var(--pa-text-light);
  line-height: 1.75;
}
.pa-gold-rule {
  width: 60px;
  height: 3px;
  background: var(--pa-gold);
  border: none;
  margin: 24px auto;
  border-radius: 2px;
}
.pa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pa-font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--pa-radius);
  transition: var(--pa-transition);
  letter-spacing: .3px;
}
.pa-btn-primary {
  background: var(--pa-gold);
  color: var(--pa-white);
}
.pa-btn-primary:hover {
  background: var(--pa-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,134,11,.3);
}
.pa-btn-outline {
  border: 2px solid var(--pa-white);
  color: var(--pa-white);
}
.pa-btn-outline:hover {
  background: var(--pa-white);
  color: var(--pa-slate);
}
.pa-btn-dark {
  background: var(--pa-slate);
  color: var(--pa-white);
}
.pa-btn-dark:hover {
  background: var(--pa-slate-dark);
  transform: translateY(-2px);
}

/* ---------- Scroll Reveal ---------- */
.pa-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.pa-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   DEMO BANNER
   ========================================================================== */
.pa-demo-banner {
  background: var(--pa-slate-dark);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--pa-font-display);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}
.pa-demo-banner a {
  color: var(--pa-gold-light);
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 600;
}
.pa-demo-banner a:hover {
  color: var(--pa-gold-pale);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.pa-nav {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--pa-nav-height);
  transition: background .35s ease, box-shadow .35s ease;
  background: transparent;
}
.pa-nav.scrolled {
  background: var(--pa-white);
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
}
.pa-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--pa-container);
  margin: 0 auto;
  padding: 0 24px;
}
.pa-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pa-font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--pa-white);
  transition: color var(--pa-transition);
}
.pa-nav.scrolled .pa-nav-logo { color: var(--pa-slate); }
.pa-nav-logo svg { width: 36px; height: 36px; }
.pa-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.pa-nav-links a {
  font-family: var(--pa-font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color var(--pa-transition);
  letter-spacing: .2px;
}
.pa-nav.scrolled .pa-nav-links a { color: var(--pa-text-light); }
.pa-nav-links a:hover { color: var(--pa-gold-light); }
.pa-nav-cta {
  font-family: var(--pa-font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--pa-radius);
  background: var(--pa-gold);
  color: var(--pa-white) !important;
  transition: background var(--pa-transition), transform var(--pa-transition);
}
.pa-nav-cta:hover {
  background: var(--pa-gold-light);
  transform: translateY(-1px);
}
/* Hamburger */
.pa-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1002;
}
.pa-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--pa-white);
  border-radius: 2px;
  transition: var(--pa-transition);
}
.pa-nav.scrolled .pa-hamburger span { background: var(--pa-slate); }
.pa-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.pa-hamburger.active span:nth-child(2) { opacity: 0; }
.pa-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.pa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--pa-slate-dark);
}
.pa-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pa-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,.75) 0%,
    rgba(30,41,59,.8) 50%,
    rgba(15,23,42,.85) 100%
  );
}
.pa-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}
.pa-hero-content .pa-eyebrow {
  color: var(--pa-gold-light);
  margin-bottom: 20px;
}
.pa-hero-content h1 {
  font-size: 58px;
  font-weight: 800;
  color: var(--pa-white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.pa-hero-content h1 em {
  font-family: var(--pa-font-body);
  font-style: italic;
  font-weight: 600;
  color: var(--pa-gold-light);
}
.pa-hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.7;
}
.pa-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   PHILOSOPHY
   ========================================================================== */
.pa-philosophy {
  background: var(--pa-ivory);
  text-align: center;
}
.pa-philosophy-inner {
  max-width: 720px;
  margin: 0 auto;
}
.pa-philosophy blockquote {
  font-family: var(--pa-font-body);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--pa-slate);
  line-height: 1.6;
  margin-bottom: 12px;
}
.pa-philosophy cite {
  font-family: var(--pa-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--pa-gold);
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pa-philosophy .pa-philosophy-text {
  font-size: 18px;
  color: var(--pa-text-light);
  line-height: 1.8;
  margin-top: 32px;
}

/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.pa-programs {
  background: var(--pa-white);
}
.pa-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pa-program-card {
  background: var(--pa-white);
  border-radius: var(--pa-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pa-border);
  transition: transform var(--pa-transition), box-shadow var(--pa-transition);
}
.pa-program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pa-shadow-hover);
}
.pa-program-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.pa-program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pa-program-card:hover .pa-program-card-img img {
  transform: scale(1.05);
}
.pa-program-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--pa-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--pa-gold);
  color: var(--pa-white);
  padding: 5px 14px;
  border-radius: 4px;
}
.pa-program-card-body {
  padding: 28px;
}
.pa-program-card-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--pa-slate);
}
.pa-program-card-body p {
  font-size: 16px;
  color: var(--pa-text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.pa-program-link {
  font-family: var(--pa-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--pa-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--pa-transition);
}
.pa-program-link:hover { gap: 10px; }
.pa-program-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   ACADEMICS
   ========================================================================== */
.pa-academics {
  background: var(--pa-ivory);
}
.pa-academics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pa-academics-img {
  border-radius: var(--pa-radius-lg);
  overflow: hidden;
  box-shadow: var(--pa-shadow);
}
.pa-academics-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.pa-academics-content h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: var(--pa-slate);
}
.pa-academics-content h2 em {
  font-family: var(--pa-font-body);
  font-style: italic;
  font-weight: 600;
  color: var(--pa-gold);
}
.pa-academics-content > p {
  font-size: 17px;
  color: var(--pa-text-light);
  margin-bottom: 36px;
  line-height: 1.75;
}
.pa-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pa-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pa-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pa-gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pa-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--pa-gold);
}
.pa-feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--pa-slate);
  margin-bottom: 4px;
}
.pa-feature-text p {
  font-size: 14px;
  color: var(--pa-text-light);
  line-height: 1.6;
}

/* ==========================================================================
   ADMISSIONS
   ========================================================================== */
.pa-admissions {
  background: var(--pa-ivory);
}
.pa-admissions-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
/* Connecting line between steps */
.pa-admissions-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--pa-gold-pale);
}
.pa-step {
  text-align: center;
  position: relative;
}
.pa-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pa-white);
  border: 3px solid var(--pa-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pa-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--pa-gold);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.pa-step h3 {
  font-size: 20px;
  color: var(--pa-slate);
  margin-bottom: 10px;
}
.pa-step p {
  font-size: 15px;
  color: var(--pa-text-light);
  line-height: 1.65;
}

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.pa-testimonial {
  background: var(--pa-slate);
  color: var(--pa-white);
  text-align: center;
}
.pa-testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
}
.pa-testimonial-quote-icon {
  color: var(--pa-gold);
  margin-bottom: 28px;
}
.pa-testimonial-quote-icon svg {
  width: 48px;
  height: 48px;
}
.pa-testimonial blockquote {
  font-family: var(--pa-font-body);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 32px;
  color: rgba(255,255,255,.92);
}
.pa-testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pa-testimonial-author strong {
  font-family: var(--pa-font-display);
  font-size: 16px;
  font-weight: 700;
}
.pa-testimonial-author span {
  font-size: 14px;
  color: var(--pa-gold-light);
  font-family: var(--pa-font-display);
  font-weight: 500;
}

/* ==========================================================================
   CAMPUS LIFE
   ========================================================================== */
.pa-campus {
  background: var(--pa-white);
}
.pa-campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pa-campus-item {
  position: relative;
  border-radius: var(--pa-radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.pa-campus-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pa-campus-item:hover img {
  transform: scale(1.08);
}
.pa-campus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .4s ease;
}
.pa-campus-item:hover .pa-campus-overlay {
  opacity: 1;
}
.pa-campus-overlay span {
  font-family: var(--pa-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--pa-white);
  letter-spacing: .3px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.pa-cta {
  background: var(--pa-gold);
  text-align: center;
  padding: 80px 0;
}
.pa-cta h2 {
  font-size: 38px;
  color: var(--pa-slate-dark);
  margin-bottom: 16px;
}
.pa-cta h2 em {
  font-family: var(--pa-font-body);
  font-style: italic;
  font-weight: 600;
}
.pa-cta p {
  font-size: 18px;
  color: var(--pa-slate-light);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.pa-cta .pa-btn-dark {
  font-size: 16px;
  padding: 16px 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.pa-footer {
  background: var(--pa-slate-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.pa-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pa-footer-brand .pa-nav-logo {
  color: var(--pa-white);
  margin-bottom: 16px;
}
.pa-footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.pa-footer-social {
  display: flex;
  gap: 12px;
}
.pa-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--pa-transition);
}
.pa-footer-social a:hover {
  background: var(--pa-gold);
  border-color: var(--pa-gold);
  color: var(--pa-white);
}
.pa-footer-social a svg { width: 18px; height: 18px; }
.pa-footer-col h4 {
  font-family: var(--pa-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pa-gold-light);
  margin-bottom: 20px;
}
.pa-footer-col ul li { margin-bottom: 12px; }
.pa-footer-col ul a {
  font-size: 15px;
  transition: color var(--pa-transition);
}
.pa-footer-col ul a:hover { color: var(--pa-white); }
.pa-footer-col address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
}
.pa-footer-col address a { transition: color var(--pa-transition); }
.pa-footer-col address a:hover { color: var(--pa-white); }
.pa-footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-family: var(--pa-font-display);
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ==========================================================================
   MOBILE NAV OVERLAY
   ========================================================================== */
.pa-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--pa-slate-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.pa-mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}
.pa-mobile-menu a {
  font-family: var(--pa-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--pa-white);
  transition: color var(--pa-transition);
}
.pa-mobile-menu a:hover { color: var(--pa-gold-light); }

/* ==========================================================================
   RESPONSIVE — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  .pa-hero-content h1 { font-size: 46px; }
  .pa-section-header h2 { font-size: 34px; }
  .pa-academics-grid { gap: 40px; }
  .pa-academics-content h2 { font-size: 32px; }
  .pa-programs-grid { gap: 24px; }
  .pa-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pa-campus-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   RESPONSIVE — 768px
   ========================================================================== */
@media (max-width: 768px) {
  .pa-nav-links { display: none; }
  .pa-hamburger { display: flex; }
  .pa-mobile-menu { display: flex; }

  .pa-hero-content h1 { font-size: 38px; }
  .pa-hero-content p { font-size: 18px; }
  .pa-section { padding: 70px 0; }
  .pa-section-header h2 { font-size: 30px; }

  .pa-programs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pa-academics-grid { grid-template-columns: 1fr; }
  .pa-academics-img { order: -1; }
  .pa-academics-img img { height: 320px; }
  .pa-features { gap: 20px; }
  .pa-admissions-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .pa-admissions-steps::before { display: none; }
  .pa-philosophy blockquote { font-size: 22px; }
  .pa-testimonial blockquote { font-size: 22px; }
  .pa-campus-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-cta h2 { font-size: 30px; }
  .pa-footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   RESPONSIVE — 480px
   ========================================================================== */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .pa-hero-content h1 { font-size: 30px; }
  .pa-hero-content p { font-size: 16px; }
  .pa-hero-buttons { flex-direction: column; align-items: center; }
  .pa-btn { width: 100%; justify-content: center; padding: 14px 24px; }
  .pa-section { padding: 56px 0; }
  .pa-section-header h2 { font-size: 26px; }
  .pa-section-header { margin-bottom: 40px; }
  .pa-features { grid-template-columns: 1fr; }
  .pa-admissions-steps { grid-template-columns: 1fr; }
  .pa-campus-grid { grid-template-columns: 1fr; }
  .pa-cta h2 { font-size: 26px; }
  .pa-cta { padding: 56px 0; }
  .pa-philosophy blockquote { font-size: 20px; }
  .pa-testimonial blockquote { font-size: 20px; }
  .pa-program-card-img { height: 180px; }
  .pa-academics-content h2 { font-size: 28px; }
}
