body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: black;
}

nav:not(.breadcrumb-nav) {
  /* background-color: #38af3c;  */
  /* background: linear-gradient(to right, #5fff72, #8afe7b, #1eff00); */
  /* background: linear-gradient(to bottom, #38af3c, #88c057, #c2e59c); */
  /* background: linear-gradient(to bottom, #39b93d, #299b31, #23852b);  */
  /* background: linear-gradient(to bottom, #38af3c, #2d9949, #207f4f, #146653); */
  /* background: linear-gradient(to bottom, #38af3c, #2a8a30); */
  
  background: linear-gradient(to bottom, #3abd3f, #0d8711);
  /* background: linear-gradient(to bottom, #3fd344, #1a9422); */
  


  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 2rem; 
  flex-shrink: 0;
}



/* .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem; 
  margin: 0;
  padding: 0;
} */

/* GPT */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.button-nav {
  background-color: transparent; 
  border: none;
  color: #000000;
  padding: 8px 15px;
  text-decoration: none;
  /* text-decoration: underline;  */
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  font-size: 1.1rem;
  font-weight: 600;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  font-family: 'Poppins', sans-serif;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.button-nav:hover {
  background-color: #2d8a30; 
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: underline;
  text-decoration-color: white;
}


.button-nav.active {
  background-color: #1f5f21;
  color: white;
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-decoration: underline;
  text-decoration-color: white;
}

/* Button click animation */
.button-clicked {
  background-color: #1f5f21 !important;
  color: white !important;
  transform: scale(0.95) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

.page-home{
  padding: 6rem 2rem 12rem;
  background-color: #fff;
  background-image: url('../images/field2.jpg'); 
  background-size: cover;
  margin: 6rem 5rem 1rem 5rem;
  border-radius: 13px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-container {
  display: grid;
  font-family: Arial, sans-serif;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

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

.card h2,
.card h3 {
  margin: 15px 15px 10px;
  color: #333;
  font-size: 1.17em;
}

.card p {
  margin: 0 15px 15px;
  color: #666;
  flex-grow: 1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card hover effect */
.card-hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background-color: #f9f9f9;
}

/* Card click animation */
.card-clicked {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Add media query for smaller screens */
@media (max-width: 768px) {
  nav:not(.breadcrumb-nav) {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 0.3rem;
  }
  
  .button-nav {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  
  .AC {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

/* Custom 404 Error Page */
.error-404-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f4f4f4;
}

.error-404-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 104px 20px 24px;
  box-sizing: border-box;
}

.error-404-card {
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(46, 125, 50, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 44px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
}

.error-404-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.error-404-code {
  margin: 0;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #38af3c 0%, #1b5e20 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-404-card h1 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  line-height: 1.25;
  color: #1b5e20;
  font-weight: 700;
}

.error-404-message {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #455a64;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.error-404-links {
  max-width: 960px;
  margin-top: 28px;
}

@media (max-width: 960px) {
  .error-404-body nav:not(.breadcrumb-nav) {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
  }

  .error-404-body .logo {
    margin-right: 0;
    width: 100%;
    text-align: center;
    font-size: 1.35rem;
  }

  .error-404-body .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }

  .error-404-main {
    padding: 24px 16px 20px;
  }
}

@media (max-width: 480px) {
  .error-404-body .button-nav {
    padding: 5px 9px;
    font-size: 0.85rem;
  }

  .error-404-card {
    padding: 32px 20px;
  }

  .error-404-message {
    font-size: 0.95rem;
  }

  .error-404-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-404-actions .btn-primary-seo,
  .error-404-actions .btn-secondary-seo {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}