:root {
  --green-primary: #4caf50;
  --green-dark: #2e7d32;
  --sage-light: #e6f2e6;
  --bg-cream: #fafaf7;
  --text-main: #333333;
  --text-muted: #666666;
  --border-soft: #d8e6d8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.6;
}

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

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

/* Layout */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.logo-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--green-primary);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  margin: 4px 0;
  transition: 0.3s;
}

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

.nav-links-mobile a {
  padding: 0.25rem 0;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
  background: var(--bg-cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.hero-highlight {
  color: var(--green-dark);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--green-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta span {
  font-weight: 600;
  color: var(--green-dark);
}

.hero-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-soft);
}

.hero-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-main);
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.hero-card-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Sections */

section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0.25rem auto 0;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
}

.about-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.about-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-main);
}

.about-card li {
  margin-bottom: 0.4rem;
}

/* Courses */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.course-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.course-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--green-dark);
}

.course-body {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.course-footer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  position: relative;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--green-primary);
  position: absolute;
  top: 0.4rem;
  left: 0.7rem;
  opacity: 0.2;
}

.testimonial-text {
  margin-top: 0.5rem;
  color: var(--text-main);
}

.testimonial-name {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--green-dark);
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Online tutoring */

.online-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.online-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.online-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}

.online-card ul {
  list-style: none;
  padding-left: 0;
}

.online-card li {
  margin-bottom: 0.35rem;
}

/* Rates */

.rates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.rates-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.rates-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}

.rates-card ul {
  list-style: none;
}

.rates-card li {
  margin-bottom: 0.35rem;
}

.rates-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details {
  font-size: 0.95rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-details strong {
  color: var(--green-dark);
}

form {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #fcfcfb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.12);
  background: var(--white);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Footer */

footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--white);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .courses-grid,
  .testimonials-grid,
  .online-grid,
  .rates-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid,
  .online-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .courses-grid,
  .testimonials-grid,
  .online-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
.hero-content-box {
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* HERO VISUAL UPGRADE */
.hero {
  background: linear-gradient(135deg, #eef7ee, #f6fbf6);
  position: relative;
}

.hero-content-box {
  background: white;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  position: relative;
}

/* playful soft blob effect */
.hero-content-box::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: #dff4df;
  border-radius: 50%;
  z-index: 0;
}

.hero-kicker {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* testimonial */
.hero-testimonial {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
  background: #f1faf1;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border-left: 4px solid var(--green-primary);
}

/* IMAGE AREA */
.hero-images {
  position: relative;
  height: 420px;
  border-radius: 18px;
  background: #eaf6ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* FIX FOR IMAGE 2 */
.contain-img {
  object-fit: contain !important;
}

.hero-img.active {
  opacity: 1;
}

/* RESULTS STRIP */
.results-strip {
  padding: 2.5rem 0;
  background: #f0f8f0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.result-card {
  background: white;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
}

.result-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
}

.result-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* subtle animation */
.hero-content-box {
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(15px);}
  to {opacity: 1; transform: translateY(0);}
}

/* mobile */
@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}
