/* =====================================================
   HOME PAGE — home.css
===================================================== */


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  background: #3d5a8a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 80px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  margin: 0 auto;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1.1;
  margin: 0 auto;
}

.hero-daisy {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.hero-girl {
  position: absolute;
  bottom: 26%;
  left: 50%;
  margin-left: -31%;
  width: 62%;
  height: auto;
  display: block;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-name {
  font-family: 'Poppins', 'Comfortaa', sans-serif;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  text-transform: uppercase;
}

.hero-hi {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: #fff;
  letter-spacing: 0.02em;
}

.hero-name-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: #f4c32f;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.75;
  color: #d8e6f5;
  max-width: 420px;
  margin: 0;
}

.hero-copy .section-learn-btn {
  align-self: flex-start;
  width: auto;
  display: inline-block;
}


/* ══════════════════════════════════════════
   PATH SECTION
══════════════════════════════════════════ */
.home-path-section {
  background: #3d5a8a;
  position: relative;
  z-index: 0;
  margin-top: -120px;
}

.path-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 2600;
}

#home-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.path-stop {
  fill: #f28c28;
  opacity: 0.95;
}


/* ══════════════════════════════════════════
   DESKTOP PROJECT CARDS
   uses actual HTML container: .path-cards-mobile
══════════════════════════════════════════ */
.path-cards-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.path-card {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  width: min(46vw, 620px);
  opacity: 1;
  visibility: visible;
  overflow: visible;
  pointer-events: all;
  z-index: 6;
}

/* exact desktop placement closer to wireframe */
.card-1 {
  top: 18.46%;
  left: 26.2%;
  transform: translate(-10%, -68%);
}

.card-2 {
  top: 54.62%;
  left: 75.8%;
  transform: translate(-93%, -65%);
}

.card-3 {
  top: 73.08%;
  left: 34.2%;
  transform: translate(-7%, -60%);
}

.card-4 {
  top: 90.77%;
  left: 57.8%;
  transform: translate(-93%, -65%);
}

/* right-side cards */
.path-card[data-side="right"] {
  flex-direction: row-reverse;
}

.path-card[data-side="right"] .card-copy {
  text-align: right;
}

/* images */
.card-img-wrap {
  flex: 0 0 auto;
  width: clamp(220px, 23vw, 340px);
  position: relative;
  z-index: 6;
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* text */
.card-copy {
  flex: 1;
  color: #fff;
  min-width: 0;
  position: relative;
  z-index: 6;
}

.card-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.6vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 18px;
  color: #fff;
}

.card-copy p {
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.6;
  color: #d8e6f5;
  max-width: 430px;
  margin: 0 0 22px;
}

.path-card[data-side="right"] .card-copy p {
  margin-left: auto;
}

.card-copy .section-learn-btn {
  display: inline-block !important;
  width: auto !important;
}

/* a little tighter tuning to match mockup */
.card-1 .card-copy {
  margin-left: 4px;
}

.card-2 .card-copy {
  margin-right: -2px;
}

.card-3 .card-copy {
  margin-left: 2px;
}

.card-4 .card-copy {
  margin-right: -4px;
}


/* ══════════════════════════════════════════
   END BUTTON
══════════════════════════════════════════ */
.path-end-bottom {
  padding: 60px 0 80px;
  text-align: center;
}

.path-end-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #f4c32f;
  border: 2.5px solid #f4c32f;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}

.path-end-link:hover {
  background: #f4c32f;
  color: #3d5a8a;
  transform: translateY(-3px);
}


/* ══════════════════════════════════════════
   MOBILE + TABLET
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding: 80px 5% 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }

  .hero-art {
    order: 1;
  }

  .hero-copy {
    order: 2;
    align-items: center;
    padding: 24px 0 40px;
  }

  .hero-copy .section-learn-btn {
    align-self: center;
  }

  .hero-sub {
    text-align: center;
    max-width: 100%;
  }

  .hero-img-stack {
    max-width: 300px;
  }

  .home-path-section {
    margin-top: -40px;
  }

  #home-path-svg {
    display: none;
  }

  .path-wrapper {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    position: relative;
  }

  #mobile-path-svg {
    display: block !important;
    width: 20px !important;
    position: absolute !important;
    left: 28px !important;
    top: 0 !important;
    transform: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  .path-cards-mobile {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 20px 5% 40px 64px;
    pointer-events: all;
  }

  .path-card {
    position: relative !important;
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
    margin-bottom: 80px !important;
  }

  .path-card[data-side="right"] {
    flex-direction: column !important;
  }

  .path-card[data-side="right"] .card-copy {
    text-align: center !important;
  }

  .card-img-wrap {
    width: 75% !important;
    max-width: 260px !important;
  }

  .card-copy {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .card-copy h2 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 12px;
  }

  .card-copy p {
    max-width: 100% !important;
    font-size: 0.98rem;
    margin: 0 0 18px;
  }
}

@media (max-width: 480px) {
  .hero-img-stack {
    max-width: 240px;
  }

  .card-img-wrap {
    width: 80% !important;
    max-width: 220px !important;
  }

  .path-cards-mobile {
    padding-left: 56px;
  }
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-section {
  background: #2e4a70;
  padding: 72px 5% 80px;
}

.testimonials-section .grid-con {
  max-width: 1280px;
  margin: 0 auto;
  row-gap: 24px;
  align-items: stretch;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

.section-tagline {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: -4px auto 18px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: #d8e6f5;
}

.testimonial-card {
  background: #3a5580;
  border-radius: 16px;
  padding: 28px 24px 24px;
  border: 1.5px solid rgba(255,255,255,.15);
  min-height: 100%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

.quote-mark {
  font-size: 2.5rem;
  line-height: 0.8;
  color: #f4c32f;
  font-weight: 900;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  display: block;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.78;
  color: #d8e6f5;
  margin: 0 0 22px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f28c28;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.author-info span {
  font-size: 0.82rem;
  color: #9bb8d8;
}

@media (max-width: 900px) {
  .testimonials-section {
    padding: 56px 5% 64px;
  }

  .testimonials-section .grid-con {
    row-gap: 20px;
  }

  .section-tagline {
    margin: 0 auto 10px;
    font-size: 0.95rem;
  }
}

/* ══════════════════════════════════════════
   CONTACT STRIP
══════════════════════════════════════════ */
.contact-strip {
  background: #1fb144;
  padding: 36px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b8f0c8;
  margin: 0 0 4px;
}

.contact-strip h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  margin: 0;
}

.btn-white {
  background: #fff;
  color: #1a6e2e;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: background .2s;
}
.btn-white:hover { background: #e8ffe8; }

@media (max-width: 600px) {
  .contact-strip { flex-direction: column; text-align: center; }
  .contact-strip h3 { font-size: 1.1rem; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#site-footer {
  background: #2a3f60;
  padding: 22px 5%;
  border-top: none;
}

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

.footer-inner p {
  font-family: 'Comfortaa', cursive;
  font-size: 0.76rem;
  color: #f4e7c7;
  margin: 0;
}

.footer-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-icons img {
  height: 24px;
  width: auto;
  opacity: .85;
  transition: opacity .2s;
}

.footer-icons img:hover { opacity: 1; }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
