/* Base */
body {
  margin: 0 auto;
  background-color: #94ee9b;
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 1rem;
}

/* Navigation Bar */
nav {
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background-color: darkgreen;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.3);
}

nav .logo {
  height: clamp(3rem, 5vw, 5rem);
  box-shadow: 0.125rem 0.125rem 0.3125rem rgba(0, 0, 0, 0.5);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  font-family: "Comic Sans MS", cursive, sans-serif;
  color: #caf0a7;
  text-decoration: underline;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 800;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.6);
}

nav ul li a:hover {
  color: #93c5fd;
  text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.8);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #9acd32;
  padding: 0.5rem 0;
  min-width: 11.25rem;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
}

/* Chatbot */
df-messenger {
  --df-messenger-bot-message: lightgreen;
  --df-messenger-button-titlebar-color: white;
  --df-messenger-chat-background-color: #f0fff0;
  --df-messenger-button-titlebar-color: green;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  transform: scale(1);
}

/* Welcome Section */
.welcome-section {
  padding: 2% 3%;
  margin-top: 0;
}

.welcome-section h1 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: forestgreen;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

/* Instructions */
.Instructions p {
  text-align: center;
  margin-top: 0;
  padding: 0 2% 0 2%;
  color: darkgreen;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  justify-content: center;
}

/* Testimonials */
.testimonials {
  padding: 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem 1rem;
  justify-content: center;
  align-items: start;
}

.testimonials section {
  background-color: rgb(171, 252, 168);
  border-radius: 0.75rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.testimonials section:hover {
  transform: translateY(-0.2rem);
}

.testimonials i {
  font-style: italic;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.875rem;
}

.testimonials h4 {
  font-weight: normal;
  color: #555;
  font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .welcome-section h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .Instructions p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding-right: 5%;
    padding-left: 5%;
  }

  .testimonials {
    padding: 1rem 2rem;
    gap: 0.75rem 0.75rem;
  }

  .testimonials section {
    max-width: 24rem;
    padding: 1.5rem;
  }

  nav ul li a {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
}
