* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
nav {
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

.logo img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #ffcc00;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo {
    margin-left: 3rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #203a43;
    position: absolute;
    top: 70px;
    left: 0;
    width: 220px;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Quiz Section */
.questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.question {
  background: #1e2a24; /* dark green-gray background */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
  color: #e0e0e0; /* light gray text */
}
.question:hover {
  transform: translateY(-3px);
}

.q-label {
  font-weight: 700;
  color: #b0c4b1; /* muted mint accent */
  margin-bottom: 8px;
}
.stem {
  font-size: 16px;
  margin-bottom: 12px;
  color: #f5f5f5; /* off-white for clarity */
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option {
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #3c4a3f;
  background: #2a352f;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
  color: #f0f0f0;
}
.option:hover {
  background: #3c4a3f;
  border-color: #8bc34a;
  box-shadow: 0 0 10px rgba(139,195,74,0.6);
}

.option.correct {
  background: #2e7d32;
  border-color: #66bb6a;
  color: #ffffff;
}
.option.incorrect {
  background: #c62828;
  border-color: #ef5350;
  color: #ffffff;
}

.feedback {
  margin-top: 10px;
  font-size: 14px;
  animation: fadeIn 0.3s ease;
}
.correct-text { color: #66bb6a; font-weight: bold; }
.incorrect-text { color: #ef5350; font-weight: bold; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  background: linear-gradient(90deg, #2c5364, #203a43, #0f2027);
  color: #fff;
  padding: 2rem 1rem;
  margin-top: auto;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-top p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #fff;
}

.footer-top a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.footer-top img {
  height: 40px;
  width: auto;
  margin: 0 8px;
}

.footer-top span {
  font-size: 1rem;
  font-weight: 600;
}

.footer-top a:hover span {
  color: #ffcc00;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-row a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-row a:hover {
  color: #ffcc00;
}

.footer-row i {
  font-size: 1.5rem;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.8;
}
.promo-text {
  margin: 32px auto;
  padding: 22px 26px;
  max-width: 640px;
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  text-align: center;
  color: #e6efe9;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 500;
}

.promo-label {
  font-size: 35px;
  font-weight: 700;
  color: #d12f2f;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.promo-link {
  display: inline-block;
  margin-top: 18px;
  text-decoration: none;
}

.promo-logo {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(47, 209, 128, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(47, 209, 128, 0.6);
}
.veg-viewer {
  margin: 40px auto;
  max-width: 500px;
  text-align: center;
  color: #e6efe9;
}

.veg-viewer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2fd180;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.veg-card {
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 20px;
}

.veg-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.veg-card p {
  font-size: 16px;
  font-weight: 600;
  color: #2fd180;
}

.nav-buttons {
  margin-top: 16px;
}

.nav-buttons button {
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  margin: 0 8px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-buttons button:hover {
  background: #1aa765;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  nav {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
  } }

  /* General layout */
.fruit-viewer {
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  color: #e6efe9;
  padding: 0 12px; /* side padding for mobile */
}

.fruit-viewer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2fd180;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card styling */
.fruit-card {
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fruit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

.fruit-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.fruit-card p {
  font-size: 16px;
  font-weight: 600;
  color: #2fd180;
  margin: 0;
}

/* Navigation buttons */
.nav-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap; /* stack buttons on small screens */
}

.nav-buttons button {
  flex: 1;
  min-width: 120px;
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-buttons button:hover {
  background: #1aa765;
  transform: translateY(-2px);
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  .fruit-viewer h2 {
    font-size: 20px;
  }

  .fruit-card {
    padding: 12px;
  }

  .nav-buttons button {
    min-width: 100px;
    padding: 10px;
    font-size: 14px;
  }
}
.vehicle-viewer {
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  color: #e6efe9;
  padding: 0 12px;
}

.vehicle-viewer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2fd180;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vehicle-card {
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

.vehicle-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.vehicle-card p {
  font-size: 16px;
  font-weight: 600;
  color: #2fd180;
  margin: 0;
}

.nav-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-buttons button {
  flex: 1;
  min-width: 120px;
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-buttons button:hover {
  background: #1aa765;
  transform: translateY(-2px);
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  .vehicle-viewer h2 {
    font-size: 20px;
  }

  .vehicle-card {
    padding: 12px;
  }

  .nav-buttons button {
    min-width: 100px;
    padding: 10px;
    font-size: 14px;
  }
}

.countries-viewer {
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  color: #e6efe9;
  padding: 0 12px;
}

.countries-viewer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2fd180;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countries-card {
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.countries-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

.countries-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.countries-card p {
  font-size: 16px;
  font-weight: 600;
  color: #2fd180;
  margin: 0;
}

.nav-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-buttons button {
  flex: 1;
  min-width: 120px;
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-buttons button:hover {
  background: #1aa765;
  transform: translateY(-2px);
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  .countries-viewer h2 {
    font-size: 20px;
  }

  .countries-card {
    padding: 12px;
  }

  .nav-buttons button {
    min-width: 100px;
    padding: 10px;
    font-size: 14px;
  }
}

.colors-viewer {
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  color: #e6efe9;
  padding: 0 12px;
}

.colors-viewer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2fd180;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.colors-card {
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 16px;
}

.colors-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.colors-card p {
  font-size: 16px;
  font-weight: 600;
  color: #2fd180;
  margin: 0;
}

.nav-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-buttons button {
  flex: 1;
  min-width: 120px;
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-buttons button:hover {
  background: #1aa765;
  transform: translateY(-2px);
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  .colors-viewer h2 {
    font-size: 20px;
  }

  .colors-card {
    padding: 12px;
  }

  .colors-card img {
    height: auto;
  }

  .nav-buttons button {
    min-width: 100px;
    padding: 10px;
    font-size: 14px;
  }
}
.sport-viewer {
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  color: #e6efe9;
  padding: 0 12px; /* side padding for mobile */
}

.sport-viewer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2fd180;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card styling */
.sport-card {
  background: linear-gradient(180deg, #162a21, #0f1a14);
  border: 1px solid rgba(47, 209, 128, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sport-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

.sport-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.sport-card p {
  font-size: 16px;
  font-weight: 600;
  color: #2fd180;
  margin: 0;
}

/* Navigation buttons */
.nav-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap; /* stack buttons on small screens */
}

.nav-buttons button {
  flex: 1;
  min-width: 120px;
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-buttons button:hover {
  background: #1aa765;
  transform: translateY(-2px);
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  .sport-viewer h2 {
    font-size: 20px;
  }

  .sport-card {
    padding: 12px;
  }

  .nav-buttons button {
    min-width: 100px;
    padding: 10px;
    font-size: 14px;
  }
}