/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background: #f8faff;
  color: #333;
  line-height: 1.6;
}

/* ===== Wrapper ===== */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== Header ===== */
.site-header {
  text-align: center;
  background: linear-gradient(135deg, #0059ff, #0084ff);
  color: #fff;
  padding: 50px 20px 25px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.site-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.site-header .lead {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
}

/* ===== Navigation ===== */
nav {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  display: block;
  padding: 14px 22px;
  color: #0059ff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav ul li a:hover {
  background: #f0f5ff;
  border-bottom: 3px solid #0059ff;
  color: #003dcc;
}

nav ul li a.active {
  background: #e8f0ff;
  color: #003dcc;
  border-bottom: 3px solid #003dcc;
}

/* ===== Main Content ===== */
main {
  padding: 40px 20px;
}

/* ===== Card Style ===== */
.card {
  background: #fff;
  margin-bottom: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 25px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.card h2 {
  color: #0059ff;
  font-size: 1.4rem;
  margin-bottom: 18px;
  border-left: 5px solid #0059ff;
  padding-left: 10px;
}

/* ===== Questions & Answers ===== */
.questions li, .answers li {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.questions strong, .answers strong {
  color: #333;
}

.option, .answer {
  display: block;
  margin-top: 6px;
  padding-left: 10px;
}

.option.correct, .answer {
  background: #e8f3ff;
  border-left: 3px solid #0059ff;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 25px 10px;
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  color: #555;
  font-size: 0.95rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .site-header h1 {
    font-size: 1.7rem;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li a {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .card {
    padding: 20px;
  }
}
