* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select {
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
           NAVIGATION
        ================================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 65px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.show {
  display: flex;
}

.modal-body {
  background: white;
  width: 90%;
  max-width: 450px;
  padding: 30px;
  border-radius: var(--radius-lg);
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  font-size: 18px;
}

/* Footer */
footer {
  background: var(--dark-green);
  color: white;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
}

.mobile-menu-open {
  display: flex !important;
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  gap: 15px;
}

.mobile-menu-open a {
  display: block;
  padding: 10px;
}

/* Past Questions Repository */
.pq-section {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 70px;
}

.pq-search-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.pq-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pq-table th,
.pq-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.pq-table th {
  background: var(--cream);
  font-weight: 700;
}
