:root {
  --wm-green: #006341;
  --wm-yellow: #ffd600;
  --wm-dark: #00321c;
  --wm-light: #f8f8f3;
  --wm-gray: #e0e0e0;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--wm-light);
  color: #222;
  scroll-behavior: smooth;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--wm-green);
  letter-spacing: -2px;
}
.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  text-decoration: none;
  color: var(--wm-dark);
  font-weight: 500;
  transition: color var(--transition);
}
.nav a:hover {
  color: var(--wm-green);
}
.lang-switcher {
  margin-left: 2rem;
}
#language-select {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  border: 1px solid var(--wm-gray);
  font-size: 1rem;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--wm-green);
  cursor: pointer;
}

.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.section.visible {
  opacity: 1;
  transform: none;
}

.hero {
  background: linear-gradient(90deg, var(--wm-green) 60%, var(--wm-yellow) 100%);
  color: #fff;
  border-radius: 0 0 2rem 2rem;
  text-align: left;
  min-height: 350px;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta {
  background: var(--wm-yellow);
  color: var(--wm-dark);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cta:hover {
  background: var(--wm-green);
  color: #fff;
  transform: scale(1.05);
}

.services {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.service-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  max-width: 320px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card img {
  width: 70px;
  margin-bottom: 1rem;
}
.service-card h2 {
  font-size: 1.3rem;
  margin: 0.5rem 0 1rem 0;
}
.service-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.service-link {
  color: var(--wm-green);
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition);
}
.service-link:hover {
  color: var(--wm-yellow);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0,99,65,0.10);
}

.quick-access {
  background: var(--wm-gray);
  border-radius: 1rem;
  text-align: center;
}
.quick-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.quick-link {
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  color: var(--wm-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}
.quick-link:hover {
  box-shadow: 0 6px 24px rgba(0,99,65,0.10);
  transform: scale(1.04);
  color: var(--wm-green);
}
.quick-link .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer {
  background: var(--wm-dark);
  color: #fff;
  border-radius: 2rem 2rem 0 0;
  padding-bottom: 1rem;
}
.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--wm-yellow);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.footer-links div {
  min-width: 180px;
}
.footer-links h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: var(--wm-yellow);
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .services {
    flex-direction: column;
    align-items: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .header {
    flex-wrap: wrap;
    padding: 1rem;
  }
  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .lang-switcher {
    margin-left: 1rem;
  }
  .section {
    padding: 2rem 1rem;
  }
  .services {
    gap: 1rem;
  }
  .quick-links {
    gap: 1rem;
  }
}
@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .footer-links div {
    min-width: 120px;
  }
  .service-card {
    padding: 1.2rem 0.5rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.35);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  margin: auto;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  max-width: 350px;
  width: 90vw;
  position: relative;
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
.login-form label {
  margin-top: 0.5rem;
  font-weight: 500;
}
.login-form input {
  width: 100%;
  padding: 0.5rem;
  margin: 0.3rem 0 1rem 0;
  border: 1px solid var(--wm-gray);
  border-radius: 4px;
  font-size: 1rem;
}
.login-form button {
  background: var(--wm-green);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.login-form button:hover {
  background: var(--wm-yellow);
  color: var(--wm-dark);
}

/* AI Help Floating Button */
.ai-help-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--wm-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(0,99,65,0.15);
  cursor: pointer;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.ai-help-btn:hover {
  background: var(--wm-yellow);
  color: var(--wm-dark);
  transform: scale(1.08);
}

/* AI Chat Modal */
.ai-chat-modal .modal-content {
  max-width: 400px;
  width: 95vw;
  min-height: 400px;
  gap: 0.5rem;
}
.ai-chat-content {
  display: flex;
  flex-direction: column;
  height: 500px;
  max-height: 80vh;
}
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  background: #f4f4f4;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ai-chat-form {
  display: flex;
  gap: 0.5rem;
}
.ai-chat-form input {
  flex: 1;
  padding: 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--wm-gray);
  font-size: 1rem;
}
.ai-chat-form button {
  background: var(--wm-green);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.ai-chat-form button:hover {
  background: var(--wm-yellow);
  color: var(--wm-dark);
}

/* Chat message bubbles */
.ai-chat-messages .user {
  align-self: flex-end;
  background: var(--wm-yellow);
  color: var(--wm-dark);
  padding: 0.5rem 1rem;
  border-radius: 1rem 1rem 0 1rem;
  max-width: 80%;
  word-break: break-word;
}
.ai-chat-messages .ai {
  align-self: flex-start;
  background: var(--wm-green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 1rem 1rem 1rem 0;
  max-width: 80%;
  word-break: break-word;
}

@media (max-width: 700px) {
  .ai-help-btn {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .modal-content, .ai-chat-modal .modal-content {
    max-width: 95vw;
    padding: 1rem 0.5rem;
  }
  .ai-chat-content {
    height: 350px;
  }
}

.login-links {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.98rem;
}
.login-links a {
  color: var(--wm-green);
  text-decoration: underline;
  margin: 0 0.3rem;
  cursor: pointer;
  transition: color var(--transition);
}
.login-links a:hover {
  color: var(--wm-yellow);
}
.signup-form label, .forgot-form label {
  margin-top: 0.5rem;
  font-weight: 500;
}
.signup-form input, .forgot-form input {
  width: 100%;
  padding: 0.5rem;
  margin: 0.3rem 0 1rem 0;
  border: 1px solid var(--wm-gray);
  border-radius: 4px;
  font-size: 1rem;
}
.signup-form button, .forgot-form button {
  background: var(--wm-green);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.signup-form button:hover, .forgot-form button:hover {
  background: var(--wm-yellow);
  color: var(--wm-dark);
} 




/* new file involved*/

.two a{
  text-decoration: none;
  color: #ffd600;
}



/*style chatbot*/

/* Message container */
.ai-chat-messages {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 10px;
}

/* Shared message style */
.message {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

/* User message */
.user-message {
  align-self: flex-end;
  background-color: #FFD700; /* Yellow */
  color: black;
  border-bottom-right-radius: 0;
}

/* Bot message */
.bot-message {
  align-self: flex-start;
  background-color: #005c3c; /* Deep green */
  color: white;
  border-bottom-left-radius: 0;
}

/* Loading bubble */
.loading {
  font-style: italic;
  opacity: 0.8;
}
