:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --mwetana-orange: #F7562A;
    --accent: #facc15;
    --success: #10b981;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow: 0 4px 14px rgba(0,0,0,0.05);
}



    /* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  margin: 0;
  scroll-behavior: smooth;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

button {
  cursor: pointer;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Plus Jakarta Sans";
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

nav {
    background: var(--bg-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    width: 200px;
    height: 50px;
}

.menu a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.menu a:hover {
    color: var(--mwetana-orange);
    transition: all 0.3s ease;
}

.cta-button {
    background-color: var(--mwetana-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-cta-buttons {
  display: flex;
  align-items: center;
}

.nav-cta-buttons button {
  margin: 0 10px;
}

.nav-cta-buttons button:last-of-type {
  margin-right: 0;
}

.cta-button:hover {
    background-color: #353A40;
}

.nav-login {
  background: transparent;
  color: var(--mwetana-orange);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--mwetana-orange);
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

header {
    background: linear-gradient(135deg, var(--mwetana-orange), var(--primary));
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 10%;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-image {
    margin: 3rem auto auto auto;
    max-width: 900px;
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

section p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 1.75rem;
    color: var(--mwetana-orange);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-image {
    margin-top: 3rem;
    max-width: 100%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    background-color: var(--mwetana-orange);
    padding: 5px;
}
.schools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.school-logo {
    width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
}




/* footer {
    background: #353A40;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
} */



/* Footer */
.footer-wrapper {
  background-color: #0a0a0a;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.footer-about img {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-about p,
.footer-contact p,
.footer-links ul,
.footer-social {
  font-size: 16px;
  line-height: 1.6;
}

.footer-contact i,
.footer-social i {
  margin-right: 8px;
  color: #F7562A;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #F7562A;
}

.footer-social a {
  font-size: 16px;
  margin-right: 12px;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #F7562A;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 16px;
  color: #fff;
}






.btn-secondary {
    background-color: var(--accent);
    color: var(--text-dark);
}
.btn-success {
    background-color: var(--success);
}



.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-content h2 {
  margin-bottom: 1rem;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}
.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.25rem;
  cursor: pointer;
}











@media (max-width: 850px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: var(--bg-white);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    z-index: 1000;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
    /* background-color: var(--mwetana-orange);
    color: var(--bg-white); */
    cursor: none;
    margin-left: 20px;
  }

  nav {
    position: relative;
  }

  .nav-cta {
    display: none;
  }

  .nav-login {
    background: transparent;
    color: var(--mwetana-orange);
    padding: 0.50rem 1.5rem;
    border: 1px solid var(--mwetana-orange);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
}