@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Manrope:wght@400;500;600&display=swap');

    :root {
      --head:#7fc9b9;
      --head2:#0b9c87;
      --teal-light: #22c7a6;
      --teal-dark: #038c7c;
      --teal-solid: #00a88b;
      --hero-yellow: #f6b73c;
      --black: #0c0d0f;
      --projects: #e4c6a0;
      --paper: #f5f4f4;
      --copper: #a67130;
      --white: #ffffff;
      --accent-pill: #fdf5e6;
      --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.16);
      --radius-xl: 26px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      color: #222;
      background: var(--paper);
      line-height: 1.6;
    }

    img { max-width: 100%; display: block; }

    a { color: inherit; text-decoration: none; }

    .wrapper {
      max-width: 1400px;
      width:90%;
      margin: 0 auto;
      padding: 0 1.5rem;
      /* border:2px solid red; */
    }

    /* ---------------- HEADER ---------------- */

.header {
      /* background: linear-gradient(90deg, var(--teal-dark), var(--teal-light)); */
      background-color: rgba(0, 160, 127,0.5);
      /* position:fixed; */
      
      width:100%;
      left:0;
      right: 0;
      background-color: rgba(0, 147, 115, 0.5);
      border-bottom: 2px solid #009373;
      color: var(--black);
      position: sticky;
      backdrop-filter:blur(12px); ;
      top: 0;
      z-index: 1000;
      height:80px;    
    }

   
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.85rem 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-family: "Space Grotesk", system-ui, sans-serif;
    }

    .brand-mark {
      width: 50px;
      font-family: 'Consolas', 'Courier New', monospace; /* wider < > */
      height: 48px;
      font-weight:700;
      letter-spacing:2px; 
      border-radius: 1000px;
      border: 2px solid #009373;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      background:#ffbc42;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }

    .brand-title {
      font-weight: 700;
      /* letter-spacing: 0.01em; */
      font-size: 1.5rem;
    }

    .brand-sub {
      font-size: 0.75rem;
      opacity: 0.9;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      font-size: 16px;
    }

    .nav-links a {
      position: relative;
      font-weight: 500;
      font-size: 16px;
      color:#1f2432;
      padding: 8px 4px;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      background: var(--white);
      border-radius: 999px;
      transition: width 0.2s ease-out;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .btn-login {
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.8);
      padding: 0.45rem 1.1rem;
      font-size: 0.9rem;
      font-weight: 600;
      background: rgba(0,0,0,0.1);
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
    }

    .btn-login:hover {
      background: rgba(0,0,0,0.25);
      transform: translateY(-1px);
    }

    /* hamburger (CSS-only) */
    #nav-toggle { display: none; }

    .hamburger {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid #0f2432;;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .hamburger span,
    .hamburger span::before,
    .hamburger span::after {
      content: "";
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: #1f2432;
      position: relative;
    }

    .hamburger span::before { top: -6px; position: absolute; }
    .hamburger span::after { top: 6px; position: absolute; }



/* Hero========================================== */

/* ---------------- HERO ---------------- */

    .hero {
      background: #ffc656;
      padding: 3.5rem 0 4rem;
    }

    .hero-inner {
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding:0 75px;
      gap: 3rem;
      z-index:1;

      /* border:2px solid red; */
    }

    .hero-copy {
      flex: 1 1 65%;
      /* border:2px solid blue; */
    }

    .hero-eyebrow {
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.8rem;
      margin-bottom: 0.6rem;
    }

    .hero-title {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: clamp(2.3rem, 3.1vw + 1.4rem, 3.6rem);
      font-size: 52px;
      font-weight: 700;
      line-height: 1.05;
      /* margin: 0 0 0.75rem; */
      margin-bottom: 20px;
    }

    .hero-lede {
      font-size: 18px;
      /* max-width: 32rem; */
      margin-bottom: 28px;
    }

    .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.8rem;
    }

    .chip {
      padding: 0.5rem 1rem;
      border-radius: 999px;
      background: var(--accent-pill);
      border: 1px solid rgba(0,0,0,0.05);
      font-size: 0.85rem;
      font-weight: 500;
      box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
      margin-bottom: 0.75rem;
    }

    .btn {
      border-radius: 999px;
      padding: 0.7rem 1.4rem;
      border: none;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      transition: transform 0.1s ease-out, box-shadow 0.15s, background 0.15s, color 0.15s;
      text-align: center;
    }

    .btn-primary {
      background: var(--teal-solid);
      background-color: #009373;
      color: var(--white);
      box-shadow: var(--shadow-soft);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 46px rgba(0,0,0,0.24);
    }

.btn-sec {
      background: var(--teal-solid);
      background-color:#f6b73c;
      color: var(--black);
      box-shadow: var(--shadow-soft);
      border-radius: 10px;
    }

    .btn-sec:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 46px rgba(0,0,0,0.24);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid rgba(0,0,0,0.85);
      color: #111;
    }

    .btn-outline:hover {
      background: rgba(0,0,0,0.85);
      color: var(--white);
    }

    .hero-note {
      font-size: 0.85rem;
      opacity: 0.9;
    }

    .hero-aside {
      flex: 1 1 45%;
      display: flex;
      justify-content: space-evenly;
      /* border:2px solid green; */
    }

    .hero-card {
      background: var(--white);
      border-radius: 16px;
      padding: 1.5rem 2rem;
      box-shadow: var(--shadow-soft);
      /* max-width: 360px; */
      /* width:900px; */
    }

    .hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #f4f7f9;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-highlight-icon {
  font-size: 1rem;
}

/* on very small screens allow wrapping inside */
@media (max-width: 540px) {
  .hero-highlight {
    white-space: normal;
  }
}



    .hero-pill-title {
      font-weight: 600;
    }

    .hero-pill-sub {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #6b7280;
    }

    .hero-pill span:first-child {
      /* display: block;
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.15rem; */
    }

    .hero-pill span:last-child {
      /* font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #666; */
    }

    .hero-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 1rem;
      font-size: 0.9rem;
    }

    .hero-list li::before {
      content: "✔";
      margin-right: 0.4rem;
      color: var(--teal-solid);
      font-weight: 700;
    }



   /* ---------------- SECTIONS ---------------- */

    section {
      padding: 3.5rem 0;
    }

    .section-label {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 0.4rem;
      text-align: center;
    }

    .section-title {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: 2rem;
      text-align: center;
      margin: 0;
    }

    .section-subtitle {
      font-size: 0.95rem;
      opacity: 0.8;
      text-align: center;
      margin-top: 0.35rem;
    } 


/* Courses */

    .courses {
      background: var(--black);
      color: var(--white);
    }

    .course-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-top: 2.3rem;
    }

    .course-card {
      flex: 1 1 min(220px, 100%);
      background: #15171c;
      border-radius: 20px;
      padding: 1.4rem 1.3rem 1.3rem;
      border: 1px solid rgba(255,255,255,0.06);
      box-shadow: 0 16px 36px rgba(0,0,0,0.3);
      position: relative;
      overflow: hidden;
      transition: transform 0.18s ease-out, box-shadow 0.18s, border-color 0.18s;
    }

    .course-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 60%);
      opacity: 0;
      transition: opacity 0.18s;
      pointer-events: none;
    }

    .course-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
      border-color: rgba(255,255,255,0.22);
    }

    .course-card:hover::after { opacity: 1; }

    .course-tag {
      font-size: 0.78rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      opacity: 0.7;
      margin-bottom: 0.5rem;
    }

    .course-name {
      font-family: "Space Grotesk";
      font-size: 1.2rem;
      margin-bottom: 0.4rem;
    }

    .course-body {
      font-size: 0.9rem;
      margin-bottom: 0.7rem;
      opacity: 0.88;
      color: #d1d5db;   
    }

    .course-meta {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.8);
      color: #9ca3af;
    }


    /* project=============================================================== */


/* === Student Projects (home teaser) === */

.projects-home {
  background: var(--projects);         /* #e4c6a0 */
  padding: 3.5rem 0;
  position: relative;              /* NEW */
}

.projects-home .section-title,
.projects-home .section-subtitle {
  text-align: center;
}
/* gradient hint at the far right of the visible area */
.projects-home::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--projects));
}

/* HORIZONTAL SCROLLER ON ALL SCREEN SIZES */
.projects-row {
  position: relative;
  display: flex;
  flex-wrap: nowrap;               /* ⬅ IMPORTANT: no wrapping */
  gap: 1.75rem;
  justify-content: flex-start;     /* left-aligned row */
  padding: 2rem 0 0.75rem;
  overflow-x: auto;                /* horizontal scroll */
  scroll-snap-type: x mandatory;   /* nice snapping */
  -ms-overflow-style: none;        /* hide scrollbar: IE/Edge */
  scrollbar-width: none;           /* hide scrollbar: Firefox */
}

/* Hide scrollbar: Chrome / Safari */
.projects-row::-webkit-scrollbar {
  display: none;
}

/* Subtle gradient hint on the right side */
/* .projects-row::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--projects));
} */

/* Card size (desktop / default) */
.project-card {
  flex: 0 0 360px;          /* width of each card */
  max-width: 360px;
  scroll-snap-align: start; /* snap each card to start */
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 24px;
  padding: 0.75rem 0.75rem 1rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* Slightly narrower cards on small screens */
@media (max-width: 768px) {
  .project-card {
    flex: 0 0 280px;
    max-width: 280px;
  }
}

/* image container with rounded corners */
.project-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

/* base image */
.project-image-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* darken whole image on hover */
.project-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* rectangular text box that appears on hover */
.overlay-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(10px);
  background: rgba(255,255,255,0.95);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  width: 80%;
  max-width: 260px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.overlay-box h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.overlay-box p {
  margin: 0;
  font-size: 0.9rem;
}

/* tags */
.project-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #f6b73c;
  font-size: 0.8rem;
  font-weight: 600;
}

/* hover interactions */
.project-card:hover .project-image-wrap img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.project-card:hover .project-image-wrap::before {
  opacity: 1;
}

.project-card:hover .overlay-box {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* “View all projects” link */
.view-all {
  margin-top: 2rem;
  text-align: center;
}


/* review======================================== */

/* ===================== REVIEWS SLIDER ===================== */

.reviews-section {
  background: #fff;
  padding: 4rem 0;
}

.reviews-section .section-title,
.reviews-section .section-subtitle {
  text-align: center;
}

.review-slider {
  position: relative;
  margin-top: 2.5rem;
  padding: 0 3.5rem;
}

/* horizontal track with scroll-snap */
.review-track {
  display: flex;
  gap: 1.75rem;
  overflow: auto;
  /* scroll-snap-type: x mandatory; */
  padding: 0.5rem 0 2.5rem;
  /* scrollbar-width: none;           Firefox */
}
.review-track::-webkit-scrollbar {
  display: none;                   /* Chrome / Safari */
}

/* each card */
.review-card {
  /* flex: 0 0 360px; */
  flex: 0 0 calc((100% - 5.25rem) / 3);
  /* max-width: 360px; */
  max-width: none;
  background: #f8f7fb;
  border-radius: 24px;
  padding: 1.4rem 1.6rem 1.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  /* scroll-snap-align: center; */
  font-family: "Manrope", system-ui, sans-serif;
  overflow: hidden;   
  min-height: 260px;                

}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  /* margin-bottom: 1.1rem; */
    background: var(--head, #7fc9b9);  
  padding: 0.6rem 1rem;
  margin: -1.4rem -1.6rem 1rem;      
  color: #111827;
  border-radius: 14px; 
}

.review-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.review-parent {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.review-stars {
  color: #f6b73c;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.review-text {
  font-size: 0.95rem;
  margin: 0.5rem 0 0.9rem;
  color: #111827;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #f6b73c;
  font-size: 0.8rem;
  font-weight: 600;
}

/* arrows */

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #1f2933;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  z-index: 5;
}

.review-arrow--prev { left: 0.5rem; }
.review-arrow--next { right: 0.5rem; }

.review-arrow:hover {
  background: #f3f4f6;
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

/* dots */

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: -0.5rem;
}

.review-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.review-dot.is-active {
  width: 22px;
  background: #00a88b;      /* your teal */
}


.review-buttons {
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.review-buttons .btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
}



/* contact================================================= */

/* Contact */

    .contact {
      background: radial-gradient(circle at top left, #23d1b3, #038c7c);
      background: linear-gradient(135deg, #009373 0, #00b894 100%);
      /* background: #ffc656; */

      color: var(--white);
    }

    .contact-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      margin-top: 2.3rem;
      align-items: flex-start;
    }

    .contact-info {
      flex: 1 1 40%;
    }

    .contact-info h3 {
      font-family: "Space Grotesk";
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
    }

    .contact-list {
      list-style: none;
      padding: 0;
      margin: 0 0 1.2rem;
      font-size: 0.92rem;
    }

    .contact-list li {
      margin-bottom: 0.4rem;
    }

    .trial-box {
      background: rgba(0,0,0,0.16);
          backdrop-filter: blur(10px);
    background: #ffffff26;
      border-radius: 18px;
      padding: 0.9rem 1rem;
      font-size: 0.9rem;
    }

    .trial-box ul {
      margin: 0.6rem 0 0;
      padding-left: 1.1rem;
    }

    .trial-box li { margin-bottom: 0.25rem; }

    .contact-form-wrap {
      flex: 1 1 50%;
      background: var(--white);
      color: #222;
      border-radius: var(--radius-xl);
      padding: 1.4rem 1.5rem 1.6rem;
      box-shadow: var(--shadow-soft);
    }

    .form-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem 1rem;
    }

    .field {
      flex: 1 1 100%;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      font-size: 0.85rem;
    }

    .field.half {
      flex: 1 1 calc(50% - 0.5rem);
    }

    label {
      font-weight: 600;
    }

    input, select, textarea {
      font: inherit;
      padding: 0.55rem 0.65rem;
      border-radius: 10px;
      border: 1px solid #d4d7e3;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    input:focus, select:focus, textarea:focus {
      border-color: var(--teal-solid);
      box-shadow: 0 0 0 2px rgba(0,168,139,0.15);
    }

    textarea {
      min-height: 110px;
      resize: vertical;
    }

    .form-submit {
      margin-top: 1.1rem;
    }

    .btn-block {
      width: 100%;
      justify-content: center;
    }



  /* Footer ==================================================================*/

    footer {
      background: #a67130;
      color: var(--black);
      padding: 2.4rem 0 1.8rem;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 2.5rem;
      font-size: 0.9rem;
    }

    .footer-brand {
      flex: 1 1 45%;
    }

    .footer-brand .logo {
      /* font-family: "Space Grotesk"; */
      font-size: 1rem;
      margin-bottom: 0.4rem;
      width: 60px;
      font-family: 'Consolas', 'Courier New', monospace; /* wider < > */
      height: 48px;
      font-weight:700;
      letter-spacing:2px; 
      border-radius: 1000px;
      border: 2px solid #009373;
      color:var(--black);
      /* display: flex; */
      /* align-items: center;
      justify-content: center; */
      font-size: 1.8rem;
      background:#ffbc42;
    }
    
    .footer-brand .text{
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-weight: 900;
      color:var(--black);
      /* letter-spacing: 0.01em; */
      font-size: 1.5rem;

    }
    .footer-cols {
      flex: 1 1 35%;
      display: flex;
      gap: 2.5rem;
    }

    .footer-heading {
      font-weight: 900;
      margin-bottom: 0.3rem;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
      font-size: 0.88rem;
    }

    .footer-links li {
      margin-bottom: 0.25rem;
    }

    .footer-links a { opacity: 0.9; }
    .footer-links a:hover { opacity: 1; text-decoration: underline; }

    .footer-bottom {
      margin-top: 1.6rem;
      border-top: 1px solid rgba(255,255,255,0.35);
      padding-top: 0.7rem;
      font-size: 0.8rem;
      text-align: center;
      opacity: 0.9;
    }  


/*  media query===================================================================*/
    
/* max width 1200px====================================================== */
    @media (max-width: 1200px) {
      .hero-inner{
        padding: 0 40px;
      }
    }

/* max width 1000px====================================================== */
    @media (max-width: 1200px) {
      .hero-inner{
        padding: 0 20px;
      }
    }

    /* 2 cards per view on medium screens */
@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc((100% - 1.75rem) / 2);
  }
}

/*  for max width 960px================================== */

     /* section hero============================================================================== */

     @media (max-width: 960px) {
      .hero-inner {
        flex-direction: column;
      }
      .hero-aside {
        justify-content: flex-start;
      }
    }

    /*  for max width 900px================================== */

    @media (max-width: 900px) {

        /* Header & navigation===================================================== */
      .header-inner {
        gap: 1rem;
      }

      nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        /* background: linear-gradient(90deg, var(--teal-dark), var(--teal-light)); */
        background-color: #009373;;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1.5rem 1.1rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease-out, opacity 0.18s;
      }

      .nav-links {
        flex-direction: column;
        gap: 0.6rem;
      }

      .btn-login {
        /* margin-top: 0.5rem; */
        align-self: flex-start;
      }

      .hamburger {
        display: flex;
      }

      #nav-toggle:checked + label + nav {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
      }

      /* cousre===================================== */

     .course-grid {
        position: relative;
      }

      .course-grid::before {
        content: "";
        position: absolute;
        top: 45%;
        left: 8%;
        right: 8%;
        height: 2px;
        background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
        pointer-events: none;
        z-index: 0;
      }

      .course-card {
        position: relative;
        z-index: 1;
      }

      /* hero section=========================================== */
      hero {
        padding-top: 2.4rem;
      }

      .hero-card {
        max-width: 100%;
      }

        .hero-inner {
        flex-direction: column;
      }
      .hero-aside {
        justify-content: flex-start;
      }

      /* contact=============================================== */

      .contact-inner{
        flex-direction: column;
      }

      .field.half {
        flex-basis: 100%;
      }

      /* footer================================================== */

       .footer-inner {
        flex-direction: column;
      }

        .footer-cols {
        flex-direction: row;
        justify-content: flex-start;
      }

    }


@media (max-width: 768px) {
  .review-card {
    flex: 0 0 100%;
  }
  .review-arrow--prev { left: 4px; }
  .review-arrow--next { right: 4px; }
}


@media (max-width: 650px) {
  .review-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
}



/* max width 540px====================================================== */
    @media (max-width: 540px) {

      /*  section hero====================================================== */
      .hero-actions {
        flex-direction: column;
      }

      /* footer ===================================== */
      .footer-cols {
        flex-direction: column;
      }
    }

    /* responsive tweaks */

/* ===================== LOGIN PAGE ===================== */

.login-main {
  background: linear-gradient(to bottom, #f7f7f7, #f2f2f2);  /* optional */
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* start instead of center */
  min-height: 70vh;
}

.login-title {
  font-size: 2.1rem;   /* a bit bigger than 1.5rem */
  font-weight: 700;
  margin: 0 0 0.1rem;
}

.login-text {
  font-size: 0.95rem;
  color: #555;
}




.login-inner {
  text-align: center;
  max-width: 520px;   /* perfect size */
  width: 100%;
}

.login-copy {
  flex: none;
}

.login-card {
  flex: none;
  background: var(--white);
  color: #111;
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.9rem 2rem;
  box-shadow: var(--shadow-soft);
}

/* student / parent toggle pills */
.login-toggle {
  display: flex;
  gap: 0.6rem;
  background: #f4f7f9;
  padding: 0.25rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.toggle-btn {
  flex: 1;
  border-radius: 999px;
  border: none;
  padding: 0.45rem 0.6rem;
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease,
    box-shadow 0.15s ease;
}

.toggle-btn.is-active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* error message */
.login-message {
  min-height: 1.2em;
  margin: 0.35rem 0 0.7rem;
  font-size: 0.85rem;
  color: #b91c1c; /* red */
}


.login-footnote {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.login-footnote a {
  color: var(--teal-dark);  
  font-weight: 600;
  text-decoration: none;
}

.login-footnote a:hover {
  text-decoration: underline;
}

.login-footnote.secondary {
  margin-top: 0.25rem;
  opacity: 0.8;
}


/* mobile layout */
@media (max-width: 900px) {
  .login-inner {
    flex-direction: column;
  }

  .login-card {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .login-main {
    padding-top: 5rem;
  }

  .toggle-btn {
    font-size: 0.85rem;
  }
}

/* ===================== PROJECTS PAGE ===================== */

/* === PROJECTS PAGE (projects.html) – FLEX GRID, NO SCROLL === */

.projects-main {
  background: var(--paper);
  padding: 2rem 0 4rem;
  
}


.projects-header {
  text-align: center;
  /* margin-bottom: 2.5rem; */
   padding: 0.5rem 0 0;    
   /* light breathing room */
  /* background: transparent;make sure no green bar here  */
  /* border: none; */
  /* border-bottom: 1px solid rgba(0,0,0,0.06); */
  /* padding-bottom: 1.5rem; */
  background: transparent;
}

.projects-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.3rem;
  margin: 0 0 0.4rem;
}

.projects-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: #555;
  text-decoration: none;  
}

/* container for cards on projects.html */
.projects-page-grid {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
}

/* card sizing on projects.html ONLY */
.projects-page-grid .project-card-page {
  flex: 1 1 320px;     /* base width */
  max-width: 360px;
}

.project-card-soon {
  border: 1px dashed rgba(0,0,0,0.12);
  background: #fff9ec; /* very soft yellow */
}

.project-image-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  background: repeating-linear-gradient(
    -45deg,
    #ffe3a3,
    #ffe3a3 10px,
    #fff9ec 10px,
    #fff9ec 20px
  );
  color: #7a4b00;
  font-weight: 600;
  font-size: 0.95rem;
}


/* tablet – roughly 2 per row */
@media (max-width: 1024px) {
  .projects-page-grid .project-card-page {
    flex: 1 1 calc(50% - 1.75rem);
  }
}

/* mobile – full width */
@media (max-width: 640px) {
  .projects-page-grid {
    justify-content: stretch;
  }
  .projects-page-grid .project-card-page {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* card body tweaks (still shared) */
.project-body {
  padding: 0.9rem 0.5rem 0.2rem;
}

.project-body h3 {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
}

.project-text {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: #333;
}

/* detail sections on projects.html */

.project-detail {
  padding: 3rem 0;
}

.project-detail-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.project-detail-media {
  flex: 1 1 360px;
}

.project-detail-copy {
  flex: 1 1 320px;
  font-size: 0.95rem;
}

.project-detail-copy h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin-top: 0;
}

/* stack on small screens */
@media (max-width: 768px) {
  .project-detail-inner {
    flex-direction: column;
  }
}


/*  scratch project pages*/

/* ---------- Scratch project detail layout ---------- */

.back-link {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* card around the embedded Scratch game */
.scratch-frame {
  background: #f4f7f9;
  border-radius: 20px;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: center;
}

.scratch-frame iframe {
  max-width: 100%;
  border-radius: 12px;
}

/* link under the game */
.scratch-link {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.scratch-link a {
  color: var(--teal-dark);
  font-weight: 600;
}

.scratch-link a:hover {
  text-decoration: underline;
}

/* meta + how-to list */
.project-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.project-meta li {
  margin-bottom: 0.35rem;
}

.project-howto {
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.project-howto li {
  margin-bottom: 0.25rem;
}

/* Small buttons used inside project cards (website + downloads)  */
.project-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.btn.project-btn {
  padding: 0.45rem 0.9rem;   /* smaller than hero buttons */
  font-size: 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* On very small screens, stack them nicely */
@media (max-width: 480px) {
  .project-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}
