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

body {
  margin: 0;
  font-family: 'Nunito', 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #b3e5fc 0%, #dcedc8 100%);
  color: #375057;
}

code, pre {
  font-family: 'Consolas', monospace;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 80px;
  height: 247px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

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

.logo-img {
  width: auto;
  height: clamp(50px, 0.78vw + 48px, 60px);
}

.logo-text {
  font-weight: 700;
  font-size: clamp(32px, 0.78vw + 30px, 42px);;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 80px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #375057;
  font-family: 'Consolas', monospace;
  font-size: 20px;
  text-transform: lowercase;
}

.nav-links a:hover {
  color: #2e5a88;
}

/* Header */
header {
  height: 883px;
  background: linear-gradient(to bottom, #AED2F5 0%, #B4D5DE 33%, #C0DAB5 95%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cloud {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: transform 0s linear;
}

.cloud-top-left {
  top: 20%;
  left: 0;
  width: 247px;
}

.cloud-top-right {
  top: 0;
  right: 0;
  width: 247px;
}

.cloud-bottom-left {
  bottom: 25%;
  left: 0;
  width: 169px;
}

.cloud-bottom-right {
  bottom: 50%;
  right: 0;
  width: 169px;
}

.children-img {
  z-index: 10;
}

.header-container {
  display: flex;
  width: 900px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-left {
  width: 620px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 10;
}

.hero-text h1,
.hero-text p {
  font-family: 'Consolas', monospace;
}

.hero-text h1 {
  font-weight: bold;
  font-size: clamp(16px, 1.25vw + 12px, 32px);
}

.hero-text p {
  font-size: clamp(12px, 1.02vw + 9px, 25px);
}

.header-left h1 {
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.header-left p {
  margin: 0;
  text-align: left;
}

.header-right {
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-right img {
  width: 100%;
  height: auto;
  display: block;
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  background: #81c784;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s;
  text-align: center;
}

.btn:hover {
  background: #66bb6a;
}

/* Sections */
section {
  text-align: center;
}

.how {
  background: linear-gradient(to bottom, #C0DAB5 0%, #BBD899 100%);
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flower {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* Placement by class */
.stem-face-right {
  top: 996px;
  left: 2%;
  width: 78px;
}

.flower-face-right {
  top: 1422px;
  left: 2%;
  width: 54px;
}

.flower-2 {
  top: 1022px;
  left: 33%;
  width: 54px;
}

.tall-stem {
  top: 1341px;
  left: 30%;
  width: 115px;
}

.flower-2b {
  top: 1316px;
  left: 62%;
  width: 54px;
}

.flower-face-left {
  top: 1022px;
  right: 8%;
  width: 54px;
}

.stem-face-left {
  top: 1402px;
  right: 9%;
  width: 78px;
}

.how h2 {
  font-family: 'Consolas', monospace;
  font-size: 32px;
  margin-bottom: 40px;
  color: #573E31;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  background-image: url('../img/how.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 350px;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  font-family: 'Consolas', monospace;
  z-index: 10;
}

.step h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: bold;
  font-size: 30px;
  color: #7A452A;
  margin: 0.5rem 0;
}

.step p {
  font-family: 'Consolas', monospace;
  color: #7A452A;
  font-size: 21px;
  line-height: 1.4;
}

/* Why Section */
.why {
  background: linear-gradient(to bottom, #BBD899 0%, #FEFDF8 100%);
  height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #573E31;
}

.why-content {
  max-width: 1100px;
  padding: 0 2rem;
}

.why h2 {
  font-family: 'Consolas', monospace;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 1rem;
}

.why h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-style: italic;
  margin-bottom: 2rem;
}

.why p {
  font-family: 'Consolas', monospace;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.why blockquote {
  font-family: 'Consolas', monospace;
  background: #FEFDF8;
  border: 1px solid #573E31;
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 18px;
  max-width: 800px;
  margin: 2rem auto 0;
  color: #573E31;
  position: relative;
  box-shadow: 2px 2px 0 #573E31;
}

.why blockquote::before {
  content: '“';
  font-size: 80px;
  line-height: 1;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: #573E31;
}

/* Join Section */
.join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 1280px;
  background: linear-gradient(to top, #E4DEBF 0%, #FEFDF8 70%);
  text-align: center;
  color: #573E31;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.star {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.star-1 {
  top: 120px;
  left: 20%;
  width: 44px;
}

.star-2 {
  top: 10px;
  right: 10%;
  width: 33px;
}

.star-3 {
  top: 0;
  left: 10%;
  width: 24px;
}

.star-4 {
  top: 140px;
  right: 10%;
  width: 33px;
}

.star-5 {
  top: 60px;
  left: 40%;
  width: 24px;
}

.star-6 {
  top: 20px;
  right: 30%;
  width: 24px;
}

.join h2 {
  font-family: 'Consolas', monospace;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 4rem;
}

.join-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(64px, 11.11vw - 50px, 128px);
  padding-left: 64px;
  padding-right: 64px;
  max-width: 1056px;
  flex-wrap: wrap;
}

.join-column {
  width: 400px;
  font-family: 'Consolas', monospace;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-column h3 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(25px, 1.87vw + 16px, 30px);
  font-weight: bold;
  margin-bottom: 1rem;
  color: #573E31;
}

.join-column p {
  font-size: clamp(18px, 3.89vw + 6px, 25px);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.join-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.join-button.parents {
  background: #6ea295;
}

.join-button.educators {
  background: #dca97e;
}

.join-button:hover {
  filter: brightness(1.1);
}

.join-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.join-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  background: #81A064;
  height: 640px;
  text-align: center;
  color: #FAFFF4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Consolas', monospace;
  position: relative;
}

footer h2 {
  font-size: clamp(32px, 3vw + 17px, 40px);
  font-weight: bold;
  margin-bottom: 1rem;
}

footer p {
  font-size: clamp(25px, 1.87vw + 16px, 30px);
  margin-bottom: 2rem;
  font-family: 'Nunito', sans-serif;
  color: #D9DD9A;
}

footer form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
  z-index: 10 ;
}

footer input[type="email"] {
  height: 76px;
  line-height: 76px;
  padding: 0 1.5rem;
  border-radius: 5px;
  border: none;
  width: 320px;
  font-family: 'Consolas', monospace;
  background: #D9DD9A;
  font-size: 20px;
  color: #81A064;
}

footer input[type="email"]::placeholder {
  color: #81A064;
  font-size: 20px;
  opacity: 1;
}

footer input[type="submit"] {
  height: 76px;
  line-height: 76px;
  background: #4B7227;
  color: #D9DD9A;
  border: none;
  padding: 0 30px;
  border-radius: 5px;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
  transition: background 0.3s;
}

footer input[type="submit"]:hover {
  background: #3b5f31;
}

footer small {
  font-size: 20px;
  color: #573E31;
}

footer em {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  color: #573E31;
}

.butterfly {
  position: absolute;
  width: 162px;
  transform: translateY(30px);
  transition: transform 0s linear;
  z-index: 1;
  pointer-events: none;
}

.butterfly-left {
  left: 10%;
  top: 40%;
}

.butterfly-right {
  right: 10%;
  top: 30%;
}

footer .copyright {
  position: absolute;
  bottom: 40px;
  left: 80px;
  text-align: left;
}

.g-recaptcha {
  display: none;
}

@media (max-width: 1200px) {
  header .header-container {
    max-width: 90%;
  }

  .how {
    min-height: 700px;
    height: auto;
    padding: 80px 20px;
  }

  .steps {
    gap: 24px;
    flex-wrap: wrap;
  }

  .step {
    width: 280px;
    height: 280px;
  }

  .how h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .step h3 {
    font-size: 24px;
  }

  .step p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  footer .copyright {
    text-align: center;
    position: static;
    max-width: 90%;
  }

  .g-recaptcha {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .steps {
    flex-direction: column;
    align-items: center;
    padding-top: 24px
    /* gap: 2rem; */
  }

  .step {
    width: 220px;
    height:220px;
    /* padding: 2rem 1rem;*/
  }

  .step h3 {
    font-size: 20px;
  }

  .step p {
    font-size: 16px;
  }

  .how {
    height: auto;
    /* padding: 60px 10px;*/
  }

  .how h2 {
    font-size: 32px;
  }
}

@media (max-width: 500px) {
  .navbar {
    justify-content: center;
  }

  .why {
    height: 900px;
  }

  .join-columns {
    width: 90%;
    padding-right: 4%;
    padding-left: 4%;
  }

}
