* {
  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);
}
.pagination {
  margin-top: 20px;
  text-align: center;
}
.pagination a {
  display: inline-block;
  background: #2fd180;
  color: #0f1a14;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 16px;
  margin: 4px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.pagination a:hover {
  background: #1aa765;
  transform: translateY(-2px);
}
.pagination a.active {
  background: #0f1a14;
  color: #2fd180;
  border: 2px solid #2fd180;
}