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

:root {
      --green: #234E27;
      --cream: #F9F6F0;
      --gold: #D4AF37;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }

    body {
      background-color: var(--cream);
      color: #333;
      line-height: 1.6;
    }

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent; /* transparent at the top */
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

   header.scrolled {
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .logo {
  font-size: 2rem;
  font-weight: bold;
  transition: font-size 0.3s ease, transform 0.3s ease;
}

    nav a {
      margin-left: 1rem;
      text-decoration: none;
      color: var(--green);
      font-weight: 600;
    }

    section {
      padding: 6rem 2rem 3rem;
      max-width: 1200px;
      margin: auto;
    }

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  width: 100%;
  height: 100%;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-paragraph {
  max-width: 500px;
  margin-top: 2rem;
  align-self: flex-end;
  text-align: right;
}

.hero-paragraph p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hero-btn {
  background-color: #C4F157;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  font-size: 1rem;
}

.hero-btn span {
  margin-left: 0.5rem;
}

    .hero-text {
      flex: 1 1 45%;
    }

    .hero-text h1 {
      font-size: 2rem;
      color: var(--green);
      margin-bottom: 1rem;
    }

    .hero-text p {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
    }

    .hero-text button {
      background-color: var(--gold);
      color: white;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .hero-image img {
      width: 100%;
      max-width: 500px;
      border-radius: 8px;
    }

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.join-btn {
  background-color: var(--gold);
}

    body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 999;
  transition: all 0.3s ease;
  padding: 1.5rem 2rem;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Shrinking effect on scroll */
.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 2rem;
}

.navbar.scrolled .logo {
  font-size: 1.4rem;
  transform: scale(0.95);
}

.logo {
  height: 60px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-grow: 1;
  justify-content: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007B5E;
}

.navbar-nav {
  display: flex;
  align-items: center;
  flex-grow: 1; /* ⬅ allows it to expand */
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-auth {
  margin-left: auto;
}

.sign-in-btn {
  background-color: #C4F157;
  color: #000;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sign-in-btn span {
  margin-left: 0.4rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.5rem;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.sign-in-button {
  padding: 0.5rem 1rem;
  background: #e7fef1;
  color: #1d7d4f;
  border-radius: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.sign-in-button:hover {
  background: #d3f9e5;
}

.hero {
  height: 100vh;
  background: url('../../images/landingpagebright.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 2rem;
  color: white;
  position: relative;
  margin-top: 90px;
}

.hero-text {
  max-width: 600px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 1rem;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #1d7d4f;
  color: white;
  text-decoration: none;
  border-radius: 1rem;
  font-weight: 600;
}

.sign-in-btn {
  background-color: #C4F157;
  color: #000;
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}
.sign-in-btn span {
  margin-left: 0.4rem;
}

.about {
  background-color: #F3FCEC;
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.about p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #333;
}

.about-btn {
  background-color: var(--green);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.quick-facts {
  background-color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.quick-facts h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.fact-card {
  background-color: #F9F6F0;
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.fact-card img {
  width: 40px;
  margin-bottom: 1rem;
}

.fact-card h3 {
  font-size: 1.5rem;
  color: var(--green);
}

.fact-card p {
  font-size: 0.95rem;
  color: #444;
}

.services {
  background-color: #F3FCEC;
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.service-card img {
  width: 48px;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  color: var(--green);
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #666;
}

.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 1.2rem;
}

.news-content h3 {
  margin-bottom: 0.5rem;
  color: var(--green);
}

.news-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.news-meta {
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  color: #444;
}

.news-meta li {
  margin-bottom: 0.3rem;
}

.news-cta {
  text-align: center;
  margin-top: 2rem;
}

.news {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.news h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.news-item {
  background-color: #F3FCEC;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.news-item h3 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.news-item p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
}

.news-item a {
  text-decoration: none;
  font-weight: 600;
  color: var(--green);
}

.cta-section {
  background-color: var(--green);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: auto;
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-btn {
  background-color: #C4F157;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cta-btn.secondary {
  background-color: white;
  color: var(--green);
}

.cta-btn:hover {
  opacity: 0.9;
}

.site-footer {
  background-color: var(--green);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-left h3,
.footer-right h4 {
  margin-bottom: 1rem;
}

.footer-left p,
.footer-right ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right ul li {
  margin-bottom: 0.5rem;
}

.footer-right ul li a {
  color: #C4F157;
  text-decoration: none;
}

.footer-right ul li a:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  margin-right: 0.75rem;
}

.social-icons img {
  width: 24px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.site-footer {
  background-color: var(--green);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-column h3, .footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-column .sub {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.footer-column p,
.footer-column ul,
.footer-column li {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 0.5rem;
  list-style: none;
}

.footer-column a {
  color: #C4F157;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  margin-right: 0.75rem;
}

.social-icons img {
  width: 24px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 0.85rem;
}

#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #C4F157;
  color: #000;
  padding: 0.75rem 1.2rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s ease;
}

#chatbot-button:hover {
  transform: scale(1.05);
}

.registration-form {
  padding: 4rem 2rem;
  max-width: 700px;
  margin: auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.registration-form h2 {
  text-align: center;
  color: var(--green);
  margin-bottom: 1rem;
}

.registration-form .form-intro {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #666;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-layout {
    grid-template-columns: 1fr 1fr;
  }
  .form-layout h4,
  .form-layout p,
  .form-layout button {
    grid-column: span 2;
  }
}

.form-layout label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.form-layout input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.3rem;
}

.form-layout button {
  align-self: center;
  margin-top: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Primary orange button */
.join-btn {
  background-color: #e25b26; /* orange */
  color: white;
  border: none;
}

.join-btn:hover {
  background-color: #c84f1d;
}

/* Secondary transparent white-bordered button */
.secondary-btn {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

/* === MOBILE RESPONSIVE LAYOUTS === */

@media (max-width: 768px) {
  /* Navbar */
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .sign-in-btn {
    width: 100%;
    margin-top: 1rem;
  }

  /* Hero Banner */
  .hero-banner {
    padding: 5rem 1.5rem;
    text-align: center;
  }

  .hero-banner h1 {
    font-size: 1.8rem;
  }

  .hero-banner p {
    font-size: 1rem;
  }

  /* Content Section */
  .content-section {
    padding: 2rem 1rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .content-section p,
  .content-section li {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-wrapper {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-column {
    width: 100%;
  }

  /* Buttons */
  .join-btn,
  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

/* Prevent content overflow */
p, h1, h2, h3, li, span {
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}