@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

:root{
  --purple:#596bcc;
  --purple-dark:#4a5ab3;
  --cream:#f3f0e2;
  --sage:#b9c48a;
  --lime:#dee96e;
  --lime-soft:#e9f0a6;
  --ink:#151515;
  --dark:#161616;
  --white:#ffffff;
  --radius-lg:28px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Quicksand',sans-serif;
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
}
h1,h2,h3,.brand,.headline{
  font-family:'Fredoka',sans-serif;
  font-weight:600;
  margin:0;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 40px;
}

/* NAV */
header.site-nav{
  position:absolute;
  top:0;left:0;right:0;
  z-index:50;
  padding:28px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
header.site-nav.dark-text a, header.site-nav.dark-text .brand{color:var(--ink);}
header.site-nav.light-text a, header.site-nav.light-text .brand{color:var(--cream);}
.brand{
  font-size:22px;
  font-weight:700;
  letter-spacing:.5px;
}
nav.links{display:flex;gap:34px;font-weight:600;font-size:16px;}
nav.links a{opacity:.9;border-bottom:2px solid transparent;padding-bottom:4px;}
nav.links a.active,nav.links a:hover{border-bottom-color:currentColor;}

/* MOBILE MENU TOGGLE */
.menu-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  z-index:60;
  position:relative;
}
.menu-toggle span{
  display:block;
  width:26px;height:3px;
  margin:5px 0;
  border-radius:2px;
  background:currentColor;
  transition:transform .25s ease, opacity .2s ease;
}
.menu-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* BUTTON */
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid currentColor;
  border-radius:999px;
  padding:14px 36px;
  font-weight:700;
  font-family:'Quicksand',sans-serif;
  background:transparent;
  cursor:pointer;
  transition:all .2s ease;
}
.btn-outline:hover{background:currentColor;}
.btn-outline:hover span{color:var(--ink);}
.btn-outline span{color:inherit;}

/* MARQUEE */
.marquee{
  overflow:hidden;
  white-space:nowrap;
  font-family:'Fredoka',sans-serif;
  font-weight:600;
  color:var(--cream);
  opacity:.85;
  font-size:20px;
  padding:18px 0;
}
.marquee span{display:inline-block;padding-right:24px;animation:scroll 28s linear infinite;}
@keyframes scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

/* HERO (home) */
.hero-home{
  background:var(--sage);
  padding-top:140px;
  padding-bottom:0;
}
.hero-home .hero-img{
  width:100%;
  height:340px;
  object-fit:cover;
  margin-top:40px;
}
.hero-copy{
  background:var(--lime);
  padding:80px 0 60px;
}
.hero-copy .grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:start;
}
.hero-copy h1{
  font-size:52px;
  line-height:1.08;
  color:var(--purple);
}
.hero-copy p{
  font-size:19px;
  line-height:1.5;
  color:var(--purple);
  font-weight:600;
}
.social-row{display:flex;gap:16px;margin-top:28px;}
.social-row a{
  width:38px;height:38px;border-radius:50%;
  border:1.5px solid var(--ink);
  display:flex;align-items:center;justify-content:center;
}

/* TESTIMONIALS */
.testimonials{
  background:linear-gradient(180deg,var(--lime) 0%,var(--cream) 100%);
  padding:70px 0 90px;
  text-align:center;
}
.testimonials h2{
  color:var(--purple);
  font-size:44px;
  margin-bottom:50px;
}
.students-row{
  display:flex;
  justify-content:center;
  gap:40px;
  margin-bottom:40px;
  flex-wrap:wrap;
}
.hex{
  width:220px;height:280px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  object-fit:cover;
}
.quotes-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
  text-align:left;
  margin-bottom:40px;
}
.quote p{
  font-style:italic;
  color:var(--purple);
  line-height:1.5;
}
.quote cite{
  display:block;
  margin-top:14px;
  font-style:normal;
  font-weight:700;
  color:var(--purple);
}

/* VIDEO STRIP */
.video-strip{background:#000;}
.video-strip video, .video-strip img{width:100%;display:block;max-height:520px;object-fit:cover;}

/* SERVICES SECTION */
.services{
  background:var(--purple);
  color:var(--cream);
  padding:80px 0;
  text-align:center;
}
.services h2{font-size:44px;margin-bottom:50px;}
.services-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}
.service-card img{
  width:100%;height:260px;object-fit:cover;
  border-radius:50% 50% 8% 8% / 60% 60% 8% 8%;
  margin-bottom:36px;
}
.service-card h3{color:var(--purple-dark);background:var(--cream);display:inline-block;padding:6px 18px;border-radius:20px;font-size:30px;}
.service-copy-block{
  background:var(--cream);
  color:var(--purple);
  padding:60px 0;
  text-align:center;
}
.service-copy-block .services-grid p{font-size:17px;line-height:1.5;margin-bottom:26px;}
.service-copy-block .btn-outline{color:var(--lime);border-color:var(--lime);}
.service-copy-block .btn-outline span{color:var(--purple-dark);}

/* ABOUT SECTION (home) */
.about-home{
  background:var(--cream);
  padding:90px 0;
}
.about-home .grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.about-home h2{font-size:48px;color:var(--purple);margin-bottom:24px;}
.about-home p{color:var(--purple);line-height:1.6;margin-bottom:18px;font-weight:600;}
.about-home .photo-wrap{position:relative;}
.about-home .photo-wrap img{border-radius:8px;}

/* FOOTER */
footer.site-footer{
  background:var(--lime);
  padding:60px 40px 50px;
}
footer.site-footer .top{
  display:flex;
  justify-content:flex-end;
  gap:0;
}
footer.site-footer .explore{text-align:right;}
footer.site-footer .explore .label{
  font-size:13px;letter-spacing:2px;color:var(--purple);opacity:.7;margin-bottom:14px;
}
footer.site-footer .explore a{
  display:block;color:var(--purple);font-weight:700;font-size:18px;margin-bottom:10px;
}
footer.site-footer .socials{display:flex;justify-content:flex-end;gap:14px;margin-top:10px;}
footer.site-footer .beyond-line{
  font-family:'Fredoka',sans-serif;
  font-weight:700;
  color:var(--purple);
  font-size:64px;
  margin-top:20px;
  line-height:1;
}

/* generic page hero (inner pages) */
.page-hero{
  padding:160px 40px 90px;
  background:var(--lime);
}
.page-hero h1{
  font-size:50px;
  color:var(--purple);
  max-width:900px;
}
.page-hero.dark{background:var(--dark);}
.page-hero.dark h1{color:var(--cream);}
.page-hero.dark p{color:var(--lime);font-weight:700;font-size:19px;max-width:600px;margin-top:18px;}
.page-hero.sage{background:var(--sage);}

/* generic content section */
.section{padding:80px 40px;}
.section.cream{background:var(--cream);}
.section.purple{background:var(--purple);color:var(--cream);}
.section.lime{background:var(--lime);}

/* students grid (our-students page) */
.students-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;
  text-align:center;
}
.students-grid .student h4{color:var(--purple);font-size:18px;margin-bottom:6px;}
.students-grid .student .uni{font-style:italic;color:var(--purple);font-size:14px;margin-bottom:6px;}
.students-grid .student .prog{color:var(--purple);font-weight:700;font-size:14px;}

.quote-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:50px;
}
.quote-cards .card{
  background:var(--white);
  border-radius:20px;
  padding:28px;
}
.quote-cards .card h4{color:var(--purple);margin-bottom:6px;}
.quote-cards .card .meta{font-size:13px;color:var(--purple-dark);margin-bottom:14px;opacity:.8;}
.quote-cards .card p{font-style:italic;line-height:1.5;color:var(--ink);font-size:15px;}

/* about us page */
.founders{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top:50px;
}
.founder{
  background:var(--white);
  border-radius:20px;
  padding:30px;
  text-align:center;
}
.founder h4{color:var(--purple);font-size:20px;}
.founder .role{font-size:12px;letter-spacing:2px;color:var(--purple-dark);margin:6px 0 16px;}
.founder p{font-style:italic;color:var(--ink);line-height:1.5;}

.gallery-strip{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:40px 0;
}
.gallery-strip figure{margin:0;flex:0 0 auto;width:220px;}
.gallery-strip img{width:220px;height:280px;object-fit:cover;border-radius:14px;}
.gallery-strip figcaption{font-size:13px;color:var(--purple);margin-top:8px;font-weight:600;}

/* contact page */
.contact-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:60px;
  margin-top:20px;
}
.contact-form label{
  display:block;
  font-weight:700;
  margin:18px 0 6px;
  color:var(--purple);
}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--purple);
  border-radius:10px;
  font-family:'Quicksand',sans-serif;
  font-size:15px;
}
.contact-form .name-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.contact-form button{
  margin-top:26px;
  background:var(--purple);
  color:var(--cream);
  border:none;
  border-radius:999px;
  padding:14px 40px;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
}
.contact-info h3{color:var(--purple);font-size:26px;margin-bottom:20px;}
.contact-info p{margin:10px 0;font-weight:700;color:var(--purple);}

/* responsive */
@media(max-width:900px){
  .hero-copy .grid,.about-home .grid,.services-grid,.contact-grid,.founders{grid-template-columns:1fr;}
  .quotes-row,.quote-cards{grid-template-columns:1fr;}
  .students-grid{grid-template-columns:repeat(2,1fr);}
  .hero-copy h1,.page-hero h1{font-size:36px;}
  footer.site-footer .beyond-line{font-size:38px;}

  .menu-toggle{display:block;}
  nav.links{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:30px;
    font-size:24px;
    position:fixed;
    inset:0;
    top:0;
    background:var(--purple);
    transform:translateX(100%);
    transition:transform .3s ease;
    z-index:55;
  }
  nav.links.open{transform:translateX(0);}
  nav.links a{color:var(--cream)!important;opacity:1;}
  body.nav-open{overflow:hidden;}
}

@media(max-width:600px){
  .container{padding:0 20px;}
  .section{padding:50px 20px;}
  header.site-nav{padding:20px 22px;}
  .hero-copy h1,.page-hero h1{font-size:28px;}
  .testimonials h2,.services h2{font-size:28px;}
  .about-home h2{font-size:30px;}
  .page-hero{padding:120px 20px 55px;}
  .students-row .hex{width:140px;height:180px;}
  .students-grid{grid-template-columns:repeat(2,1fr);gap:16px;}
  .gallery-strip figure{width:150px;}
  .gallery-strip img{width:150px;height:190px;}
  footer.site-footer{padding:50px 20px 40px;}
  footer.site-footer .top{justify-content:flex-start;}
  footer.site-footer .explore{text-align:left;}
  footer.site-footer .socials{justify-content:flex-start;}
  footer.site-footer .beyond-line{font-size:26px;}
  .contact-form .name-row{grid-template-columns:1fr;}
}
