/* ------------------- Global Styles ------------------- */
body {
    margin: 0;
    
    color: #0d3a10;
    position: relative;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
    linear-gradient(to bottom, 
    rgba(187, 229, 155, 0.885),      /* Darker green at very top */
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.9)

    ),
        url("./Asset/GQw5v0lxQRysR1Lj7zUzNs2yezE.png.jpg") center/cover no-repeat;
    pointer-events: none;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    place-content: center;
}

/* ------------------- Navbar ------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    width: 80%;
    padding: 0 1.5rem;
    border: 1px solid #d3ddd6;
    border-radius: 1rem;
    background: rgba(255, 255, 255);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 20px;
    z-index: 10;
    flex-wrap: nowrap;
    overflow: hidden;
    animation: fade-down 0.5s 0.4s backwards;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.brand-logo {
    height: 3rem;
    object-fit: fill;
}

.small-logo {
    height: 4rem;
}

.muted {
    color: #0f0f0f;
    text-decoration: none;
    white-space: nowrap;
}
.muted-text{
    font-size: 0.75rem;
    margin-right: 0.3rem;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* takes full height */
    text-align: center;
    padding: 0 19px;
}
.hero-logo {
    width: 220px;   /* adjust size */
    max-width: 80%;
    height: auto;
    margin-bottom: 2rem; 
}


/* ------------------- Text Styling ------------------- */

.subtitle {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(41, 41, 41, 0.8);
  text-align: center;
  max-width: 809px;
  margin: 0 auto 30px auto;
  padding: 0 16px;
  word-break: break-word;
}


.headline {
  font-size: 6.5rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  background-image: radial-gradient(ellipse at center,
       rgb(91, 147, 23) 8%,
       rgb(121, 194, 54) 40%,
       rgb(117, 188, 49) 60%,
       rgb(86, 140, 21) 80%
      );
  -webkit-text-stroke: 0.4px currentColor;
  color: transparent;
  background-clip: text;
}

.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}

.hero-logo {
  width: 320px;
  max-width: 90vw;
  height: auto;
}

/* Animation Keyframes */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Educator logo (appears first) */
.logo-card {
  animation: popIn 0.1s ease-out 0s both;
  transform-origin: center;
}

/* CTA content appears after logo */
.cta {
  animation: popIn 0.9s ease-out 0.3s both;
  transform-origin: center;
}


/* ------------------- Responsive Media Queries ------------------- */

/* Large Screens - Below 1200px */
@media (max-width: 1200px) {
  .headline {
    font-size: 64px;
    line-height: 80px;
  }

  .muted {
    font-size: 0.95rem;
  }
}

/* Medium Screens - Tablets and Small Laptops (≤ 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 1.2rem;
    height: auto;
    flex-direction: row;
    gap: 8px;
  }

  .brand-logo {
    height: 36px;
  }

  .small-logo {
    height: 36px;
    object-fit: contain;
  }

  .hero-logo {
    max-width: 240px;
    margin-bottom: 1.5rem;
  }

  .headline {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 1px;
  }

  .subtitle {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 16px;
  }

  .cta-headline {
    padding: 0 12px;
  }
}

/* Small Screens - Phones (≤ 480px) */
@media (max-width: 480px) {
  .navbar {
    height: auto;
    padding: 0.4rem 1rem;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-right {
    gap: 4px;
  }

  .brand-logo {
    height: 28px;
  }

  .small-logo {
    height: 24px;
  }

  .hero-logo {
    max-width: 180px;
  }

  .headline {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0.5px;
  }

  .subtitle {
    font-size: 14px;
    padding: 0 10px;
  }

  .muted-text {
    font-size: 0.65rem;
  }

  .cta-headline {
    padding: 0 8px;
  }

  .logo-card {
    margin-bottom: 1rem;
  }
}
