body,
h1,
h2,
h3,
p,
ul,
li,
figure,
figcaption,
video,
form,
label,
input,
textarea,
button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  background-color: #fcf8f3;
  color: #4a4a4a;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
.hidden {
  display: none !important;
}
.site-header {
  background: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #4f7942;
  text-decoration: none;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #5d5d5d;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.main-nav a {
  text-decoration: none;
  color: #5d5d5d;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.main-nav a:hover,
.main-nav a.current {
  background-color: #c1e2b3;
  color: #4f7942;
}
.site-footer {
  background-color: #4f7942;
  color: #fcf8f3;
  padding: 30px 0;
  text-align: center;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  color: #e6f2e0;
  font-weight: 500;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.site-footer p {
  margin-bottom: 10px;
  font-size: 14px;
}
.social-links a {
  color: #c1e2b3;
  margin: 0 8px;
  text-decoration: none;
}
.content-section {
  padding: 12px 0;
}
.content-section.bg-light {
  background-color: #f0f5ed;
}
.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #4f7942;
  text-align: center;
  margin-bottom: 8px;
}
.page-title-section {
  background-color: #d9ead3;
  padding: 12px 0;
  text-align: center;
}
.page-title-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: #4f7942;
  margin-bottom: 10px;
}
.page-title-section p {
  font-size: 18px;
  color: #5d5d5d;
}
.text-image-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.text-image-layout .text-content,
.text-image-layout .image-content {
  flex: 1;
}
.text-image-layout img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.text-image-layout.reverse {
  flex-direction: row-reverse;
}
.hero-section {
  background-color: #e6f2e0;
  padding: 10px 0;
  text-align: center;
}
.hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #4f7942;
  margin-bottom: 15px;
}
.hero-section .subtitle {
  font-size: 18px;
  color: #5d5d5d;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  background-color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.single-video-container {
  max-width: 600px;
}
.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}
.video-choices {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.choice-button {
  background-color: rgba(79, 121, 66, 0.9);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.choice-button:hover {
  background-color: rgba(60, 99, 50, 1);
  transform: translateY(-2px);
}
.feature-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}
.feature-item {
  flex-basis: calc(33.333% - 30px);
  min-width: 250px;
}
.feature-item img {
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.feature-item h3 {
  font-size: 20px;
  color: #4f7942;
  margin-bottom: 10px;
}
.mascot-intro,
.mascot-explainer {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  max-width: 800px;
  margin: 0 auto 40px auto;
}
.mascot-explainer {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  justify-content: center;
  margin-bottom: 30px;
}
.mascot-image,
.mascot-explainer-img {
  border-radius: 50%;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border: 4px solid #c1e2b3;
}
.mascot-explainer-img {
  width: 100px;
  height: 100px;
}
.mascot-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: 5d5d5d;
}
.mascot-bubble {
  background-color: #e8f5e9;
  border: 2px solid #a5d6a7;
  border-radius: 15px;
  padding: 15px 20px;
  max-width: 400px;
  position: relative;
}
.mascot-bubble::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 35px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #a5d6a7;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.benefit-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.benefit-item img {
  margin-bottom: 15px;
}
.benefit-item h3 {
  font-size: 19px;
  color: #4f7942;
  margin-bottom: 8px;
}
.cow-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.cow-profile {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.cow-profile img {
  width: 100%;
  max-width: 250px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #c1e2b3;
}
.cow-profile h3 {
  font-size: 22px;
  color: #4f7942;
  margin-bottom: 10px;
}
.involvement-options {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.option-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  flex-basis: calc(33.333% - 30px);
  min-width: 260px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}
.option-card h3 {
  font-size: 20px;
  color: #4f7942;
  margin-bottom: 10px;
}
.social-icon-link {
  color: #4f7942;
  text-decoration: none;
  font-weight: 600;
  margin: 0 5px;
}
.cta-button {
  display: inline-block;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 16px;
  border: 2px solid transparent;
}
.cta-button.primary {
  background-color: #4f7942;
  color: #fff;
}
.cta-button.primary:hover {
  background-color: #3e6034;
  transform: translateY(-2px);
}
.cta-button.secondary {
  background-color: transparent;
  color: #4f7942;
  border: 2px solid #4f7942;
}
.cta-button.secondary:hover {
  background-color: #c1e2b3;
  color: #3e6034;
  transform: translateY(-2px);
}
.map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  height: 550px;
}
#map {
  height: 100%;
  width: 100%;
  background-color: #f0f0f0;
}
.map-info-box {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-width: 250px;
  z-index: 1000;
  font-size: 0.9rem;
  line-height: 1.4;
  border-left: 5px solid #4f7942;
  transition: transform 0.2s ease-in-out;
}
.farm-marker-icon {
  background-color: #4f7942;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.quiz-container {
  max-width: 600px;
  margin: 40px auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  text-align: center;
}
#quizQuestion {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #4a4a4a;
}
#quizOptions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.quiz-option-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid #d9ead3;
  background-color: #fcf8f3;
  color: #4a4a4a;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.quiz-option-btn:hover:not([disabled]) {
  background-color: #d9ead3;
  border-color: #4f7942;
}
.quiz-option-btn.correct {
  background-color: #c1e2b3;
  color: #3e6034;
  border-color: #3e6034;
  font-weight: bold;
}
.quiz-option-btn.incorrect {
  background-color: #ffdddd;
  color: #d32f2f;
  border-color: #d32f2f;
}
.quiz-option-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
#quizFeedback {
  margin-top: 20px;
  font-weight: bold;
}
#quizResults {
  font-size: 22px;
  color: #4f7942;
}

.chatbot-toggle-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #4f7942;
  color: white;
  border: 2px solid #fcf8f3;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-toggle-button:hover {
  background-color: #3e6034;
  transform: scale(1.05) rotate(5deg);
}
.chatbot-iframe-container {
  width: 100%;
  height: 100%;
  border: none;
}

.chatbot-iframe-container {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 400px;
  height: 600px;
  border: 2px solid #d1e7dd;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  background-color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(0.95);
  opacity: 0;
}

.chatbot-iframe-container.hidden {
  display: block !important;
  transform: scale(0.95);
  opacity: 0;
  pointer-events: none;
}

.chatbot-iframe-container:not(.hidden) {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

.chatbot-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.community-section {
  text-align: center;
  background-color: #e6f2e0;
  padding: 30px;
  border-radius: 10px;
}
.community-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .feature-item,
  .option-card {
    flex-basis: calc(50% - 20px);
  }
  .text-image-layout,
  .text-image-layout.reverse {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }
  .main-nav a {
    display: block;
    text-align: center;
  }
  .hero-section h1,
  .page-title-section h1 {
    font-size: 34px;
  }
  .content-section h2 {
    font-size: 28px;
  }
  .video-choices {
    flex-direction: column;
    gap: 8px;
  }
  .mascot-intro,
  .mascot-explainer {
    flex-direction: column;
    text-align: center;
  }
  .mascot-bubble::before {
    display: none;
  }
}
