/* =========================================================
   Nova Minds Homeschool & Tuition — About Us Page Styles
   ========================================================= */

:root{
  --purple:#5A189A;
  --purple-dark:#3E0F72;
  --purple-tint:#7A3FC0;
  --amber:#FFB703;
  --amber-dark:#E29E00;
  --lavender:#E9D8FD;
  --charcoal:#2D2D2D;
  --white:#FFFFFF;
  --gray:#F8F9FA;
  --line:#EAE2F5;
  --shadow:0 10px 30px rgba(90,24,154,.10);
  --shadow-lg:0 20px 50px rgba(90,24,154,.16);
  --radius:20px;
  --font-display:'Poppins',sans-serif;
  --font-body:'Inter',sans-serif;

  --container: 1180px;
  --gap-section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.22,1,.36,1);
}

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

html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--charcoal);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--charcoal);
  margin:0 0 .5em;
  line-height:1.2;
}

p{ margin:0 0 1em; color:#4A4553; }

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

img{ max-width:100%; display:block; }

ul{ margin:0; padding:0; list-style:none; }

button{ font-family:var(--font-body); cursor:pointer; border:none; background:none; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-size:13px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--purple);
  background:var(--lavender);
  padding:8px 16px;
  border-radius:999px;
  margin-bottom:20px;
}

.section{
  padding:var(--gap-section) 0;
}

.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 56px;
}

.section-head p{ font-size:17px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  padding:16px 32px;
  border-radius:999px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space:nowrap;
}

.btn-primary{
  background:linear-gradient(135deg,var(--amber),var(--amber-dark));
  color:var(--purple-dark);
  box-shadow:0 12px 24px rgba(226,158,0,.30);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 18px 32px rgba(226,158,0,.4); }

.btn-secondary{
  background:var(--white);
  color:var(--purple);
  border:2px solid var(--purple);
}
.btn-secondary:hover{ background:var(--purple); color:var(--white); transform:translateY(-3px); }

.btn-outline-light{
  background:transparent;
  color:var(--white);
  border:2px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover{ background:var(--white); color:var(--purple-dark); border-color:var(--white); }

/* ---------- Navigation ---------- */
 /* Logo Image */
.logo img{
    height:60px;
    width:auto;
    transition:all .3s ease;
}

/* Hover Effect */
.logo img:hover{
    transform:scale(1.05);
}

/* Responsive */
@media(max-width:768px){
    .logo img{
        height:48px;
    }
}

@media(max-width:480px){
    .logo img{
        height:42px;
    }
}
  header{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    background:rgba(255,255,255,0.85); backdrop-filter:blur(14px);
    border-bottom:1px solid transparent;
    transition:border-color .3s ease, box-shadow .3s ease;
  }
  header.scrolled{ border-color:var(--line); box-shadow:0 4px 24px rgba(90,24,154,0.06); }
  .nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; max-width:1200px; margin:0 auto; }
  .logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--purple-dark); }
  .logo .spark{ color:var(--amber); width:26px; height:26px; animation:spin-slow 14s linear infinite; }
  .nav-links{ display:flex; align-items:center; gap:34px; }
  .nav-links a{ font-family:var(--font-display); font-weight:500; font-size:15px; color:var(--charcoal); position:relative; padding:4px 0; }
  .nav-links a::after{ content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--amber); transition:width .25s ease; }
  .nav-links a:hover::after{ width:100%; }
  .nav-links a.current::after{ width: 100%;}
  .nav-links a.current{ color:var(--purple); }
  .nav-cta-wrap{ display:flex; align-items:center; gap:22px; }
  .nav-cta-wrap .btn{ padding:12px 22px; font-size:14px; }
  .btn-nav-primary{ background:var(--purple); color:var(--white); box-shadow:0 6px 16px rgba(90,24,154,0.25); }
  .btn-nav-primary:hover{ background:var(--purple-dark); transform:translateY(-2px); }
  .burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px; }
  .burger span{ width:24px; height:2px; background:var(--purple-dark); border-radius:2px; transition:.25s; }
  .mobile-menu{ display:none; flex-direction:column; gap:2px; background:var(--white); border-top:1px solid var(--line); padding:12px 24px 20px; }
  .mobile-menu a{ padding:12px 0; font-family:var(--font-display); font-weight:500; border-bottom:1px solid var(--line); }
  .mobile-menu.open{ display:flex; }
  @media(max-width:900px){
    .nav-links{ display:none; }
    .nav-cta-wrap .btn-nav-primary{ display:none; }
    .burger{ display:flex; }
  }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:80px 0 60px;
  background:
    radial-gradient(600px 400px at 88% -10%, rgba(90,24,154,.10), transparent 60%),
    radial-gradient(500px 380px at 100% 100%, rgba(255,183,3,.14), transparent 60%),
    var(--white);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}

.hero-heading{
  font-size:clamp(34px,4.6vw,54px);
  letter-spacing:-.01em;
}

.hero-para{ font-size:18px; max-width:520px; }

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:32px;
}

.hero-visual{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/3.4;
}
.hero-visual img{ width:100%; height:100%; object-fit:cover; }

.hero-shape{
  position:absolute;
  border-radius:50%;
  z-index:-1;
}
.hero-shape.s1{
  width:220px; height:220px;
  background:var(--lavender);
  top:-60px; right:60px;
}
.hero-shape.s2{
  width:140px; height:140px;
  background:var(--amber);
  opacity:.18;
  bottom:-30px; left:-40px;
}

.hero-float-card{
  position:absolute;
  bottom:20px;
  left:-24px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-radius:16px;
  padding:14px 18px;
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:14px;
  color:var(--purple-dark);
}
.hero-float-card .dot{
  width:38px; height:38px;
  border-radius:10px;
  background:var(--lavender);
  color:var(--purple);
  display:flex; align-items:center; justify-content:center;
}

/* ---------- Two column (Story / alternating) ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split.reverse .split-copy{ order:1; }

.split-media img{
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  width:100%;
  aspect-ratio:5/4;
  object-fit:cover;
}

.split-copy h2{ font-size:clamp(28px,3.2vw,38px); }

.curricula-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0;
}
.curricula-tags span{
  font-family:var(--font-display);
  font-weight:600;
  font-size:13.5px;
  background:var(--gray);
  border:1px solid var(--line);
  color:var(--purple-dark);
  padding:8px 16px;
  border-radius:999px;
}

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

/* ---------- Mission / Vision / Values cards ---------- */
.mvv-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.mvv-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:36px 30px;
  box-shadow:var(--shadow);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mvv-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }

.icon-tile{
  width:56px; height:56px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--purple),var(--purple-tint));
  color:var(--white);
  margin-bottom:22px;
}
.icon-tile svg{ width:26px; height:26px; }

.mvv-card h3{ font-size:20px; }

.value-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.value-badges span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:600;
  font-family:var(--font-display);
  background:var(--lavender);
  color:var(--purple-dark);
  padding:7px 14px;
  border-radius:999px;
  transition:transform .25s var(--ease), background .25s var(--ease);
}
.value-badges span:hover{ background:var(--amber); color:var(--purple-dark); transform:translateY(-3px); }

/* ---------- Why choose (purple band) ---------- */
.band-purple{
  background:linear-gradient(160deg,var(--purple-dark),var(--purple));
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.band-purple::before{
  content:"";
  position:absolute;
  width:420px; height:420px;
  border-radius:50%;
  background:rgba(255,255,255,.05);
  top:-160px; right:-120px;
}
.band-purple .section-head h2,
.band-purple .section-head p{ color:var(--white); }
.band-purple .section-head p{ color:rgba(255,255,255,.78); }

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

.feature-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:30px 26px;
  backdrop-filter:blur(6px);
  transition:transform .3s var(--ease), background .3s var(--ease);
}
.feature-card:hover{ transform:translateY(-6px); background:rgba(255,255,255,.14); }

.feature-card .icon-tile{
  background:var(--amber);
  color:var(--purple-dark);
}

.feature-card h3{ color:var(--white); font-size:18px; }
.feature-card p{ color:rgba(255,255,255,.78); margin:0; font-size:14.5px; }

/* ---------- Teaching approach timeline ---------- */
.timeline{
  position:relative;
  max-width:760px;
  margin:0 auto;
}
.timeline::before{
  content:"";
  position:absolute;
  left:29px;
  top:8px; bottom:8px;
  width:2px;
  background:var(--line);
}
.timeline-step{
  position:relative;
  display:flex;
  gap:26px;
  padding-bottom:44px;
}
.timeline-step:last-child{ padding-bottom:0; }

.timeline-num{
  flex:none;
  width:60px; height:60px;
  border-radius:50%;
  background:var(--white);
  border:2px solid var(--purple);
  color:var(--purple);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-weight:700;
  font-size:18px;
  box-shadow:var(--shadow);
  z-index:1;
}
.timeline-step.active .timeline-num{
  background:linear-gradient(135deg,var(--purple),var(--purple-tint));
  color:var(--white);
}

.timeline-content{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px 26px;
  box-shadow:var(--shadow);
  flex:1;
}
.timeline-content h3{ font-size:18px; margin-bottom:6px; }
.timeline-content p{ margin:0; font-size:14.5px; }

/* ---------- Stats ---------- */
.stats-band{
  background:var(--gray);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;
  text-align:center;
}
.stat-num{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(30px,3.4vw,42px);
  color:var(--purple);
}
.stat-label{
  font-family:var(--font-display);
  font-weight:500;
  font-size:14px;
  color:var(--charcoal);
  margin-top:6px;
}

/* ---------- Subjects ---------- */
.subject-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.subject-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px 20px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.subject-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:var(--purple-tint);
}
.subject-card .icon-tile{
  margin:0 auto 16px;
  background:var(--lavender);
  color:var(--purple);
}
.subject-card h3{ font-size:16px; margin:0; }

/* ---------- Curricula ---------- */
.curricula-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.curric-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 26px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.curric-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.curric-card h3{ font-size:17px; }
.curric-card p{ font-size:14px; flex:1; }
.curric-card .btn{ align-self:flex-start; padding:10px 20px; font-size:13.5px; margin-top:10px; }

/* ---------- Team ---------- */
.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.team-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.team-photo{
  aspect-ratio:1/1;
  overflow:hidden;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.team-card:hover .team-photo img{ transform:scale(1.06); }
.team-body{ padding:24px 24px 26px; }
.team-role{
  font-family:var(--font-display);
  font-weight:600;
  font-size:13px;
  color:var(--purple);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:4px;
}
.team-body h3{ font-size:19px; margin-bottom:10px; }
.team-body p{ font-size:14px; }
.team-social{
  display:flex; gap:10px; margin-top:14px;
}
.team-social a{
  width:34px; height:34px;
  border-radius:50%;
  background:var(--lavender);
  color:var(--purple);
  display:flex; align-items:center; justify-content:center;
  transition:background .25s, color .25s;
}
.team-social a:hover{ background:var(--purple); color:var(--white); }

/* ---------- Testimonials ---------- */
.testimonial-track{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.testimonial-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 28px;
  box-shadow:var(--shadow);
}
.stars{ color:var(--amber); font-size:16px; letter-spacing:2px; margin-bottom:14px; }
.testimonial-quote{ font-size:15px; color:#4A4553; margin-bottom:22px; }
.testimonial-person{ display:flex; align-items:center; gap:12px; }
.testimonial-person img{
  width:46px; height:46px; border-radius:50%; object-fit:cover;
}
.testimonial-person strong{ font-family:var(--font-display); font-size:14.5px; display:block; }
.testimonial-person span{ font-size:13px; color:#7A7684; }

.testimonial-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:32px;
}
.testimonial-dots button{
  width:9px; height:9px;
  border-radius:50%;
  background:var(--line);
  transition:background .25s, transform .25s;
}
.testimonial-dots button.active{ background:var(--purple); transform:scale(1.3); }

/* ---------- CTA ---------- */
.cta{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--purple-dark),var(--purple) 60%,var(--purple-tint));
  color:var(--white);
  border-radius:var(--radius);
  padding:72px 40px;
  text-align:center;
  margin:0 24px;
}
.cta h2{ color:var(--white); font-size:clamp(28px,3.6vw,40px); }
.cta p{ color:rgba(255,255,255,.85); max-width:560px; margin:0 auto 30px; font-size:16.5px; }
.cta-actions{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }

.cta-float{
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}
.cta-float.f1{ width:180px; height:180px; top:-60px; left:-40px; }
.cta-float.f2{ width:120px; height:120px; bottom:-40px; right:10%; }
.cta-float.f3{ width:70px; height:70px; top:20px; right:6%; background:rgba(255,183,3,.25); }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--charcoal);
  color:rgba(255,255,255,.75);
  padding:72px 0 28px;
  margin-top:var(--gap-section);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand .brand{ color:var(--white); margin-bottom:14px; }
.footer-brand p{ color:rgba(255,255,255,.6); font-size:14px; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  transition:background .25s;
}
.footer-social a:hover{ background:var(--amber); color:var(--purple-dark); }

.footer-col h4{
  font-family:var(--font-display);
  font-size:15px;
  color:var(--white);
  margin-bottom:18px;
}
.footer-col li{ margin-bottom:12px; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,.65); transition:color .25s; }
.footer-col a:hover{ color:var(--amber); }
.footer-col p{ font-size:14px; color:rgba(255,255,255,.65); margin-bottom:10px; }

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:24px;
  font-size:13px;
  color:rgba(255,255,255,.5);
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom a{ color:rgba(255,255,255,.5);margin-left:18px; transition:color .25s; }
.footer-bottom a:hover{ color:var(--amber); }

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }

/* stagger children */
.stagger > *{ transition-delay:calc(var(--i, 0) * 80ms); }

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:520px; margin:0 auto; }
  .split{ grid-template-columns:1fr; }
  .split.reverse .split-media,
  .split.reverse .split-copy{ order:initial; }
  .mvv-grid,.feature-grid{ grid-template-columns:repeat(2,1fr); }
  .subject-grid{ grid-template-columns:repeat(3,1fr); }
  .curricula-grid,.team-grid,.testimonial-track{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(3,1fr); row-gap:32px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:760px){
  .nav-links,.nav-actions .btn-secondary{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-actions{ gap:10px; }

  body.nav-open .nav-links{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--white);
    padding:24px;
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
    gap:18px;
  }

  .mvv-grid,.feature-grid,.subject-grid,.curricula-grid,.team-grid,.testimonial-track{
    grid-template-columns:1fr;
  }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; }
  .cta{ padding:52px 24px; margin:0 16px; }
  .section{ padding:56px 0; }
}
