/* ------------------------------
   Navbar Styles
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem;
  background-color: #39433b;
  position: fixed;     
  top: 0;             
  left: 0;
  width: 100%;       
  z-index: 1000;        
}

main {
  padding-top: 80px; /* Adjust to navbar height */
}


.logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00c36e;
  border-bottom: 2px solid #00c36e;
}
/* Default hamburger hidden */
/* Hamburger button */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile view */
@media (max-width: 768px) {
  /* Hide nav by default */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 20px;
    background-color: #39433b;
    width: 200px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1000;
  }

  /* Show menu when toggled */
  .nav-links.show {
    display: flex;
  }

  /* Hamburger visible */
  .hamburger {
    display: block;
  }
}

/* Simple fade-in effect */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ------------------------------
   Hero Section
------------------------------ */
.hero, .about_hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(-45deg, #53a163, #3aaa35);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  animation: gradientBG 12s ease infinite;
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  z-index: 1;
  position: relative;
}

.hero .cta-btn {
  background-color: #f7fcff;
  color: #006644;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 1;
  position: relative;
}

.hero .cta-btn:hover {
  background-color: #5abd78;
  transform: translateY(-6px);
  transform: scale(1.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}


/* ------------------------------
   Wrapper Section
------------------------------ */
.wrapper {
  background-image: url('../img/linemap.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wrapper > * {
  position: relative;
  z-index: 1;
}


/* ------------------------------
   Image Preview
------------------------------ */
.video-preview {
  text-align: center;
  align-items: center;
  max-width: 100%;
  padding: 2rem;
}

.hero-video {
  max-width: 90%;
  height: auto;
  border-radius: 19px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
}

/* ------------------------------
   Testimonial Section
------------------------------ */
.testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 4rem;
  background-color: #e6f5eb;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial-text {
  max-width: 600px;
  font-style: italic;
  font-size: 1.1rem;
  color: #003319;
}

.testimonial img {
  max-width: 400px;
  border-radius: 12px;
}

