/* Base */
:root {
  --primary: #0a2a66;
  --accent: #f9c400;
  --bg: #f5f7fb;
  --text: #0b1020;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Header / Navbar */
header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e6e8ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  z-index: 10;
}
header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
}
header .logo img {
  height: 36px;
  width: auto;
  display: block;
}
nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 16px;
  padding: 8px 10px;
  border-radius: 6px;
}
nav a.active, nav a:hover {
  background: var(--primary);
  color: #fff;
}

/* Hero */
.hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a2a66 0%, #0e3a8a 60%, #1249ac 100%);
  color: #fff;
  text-align: center;
}
.hero .btn { background: var(--accent); color: #000; }

/* Sections */
.features, .exams, .form-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.features ul {
  list-style: square;
  line-height: 1.8;
}

/* Cards / Forms */
.card {
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  padding: 20px;
  max-width: 520px;
}
.field { margin-bottom: 14px; }
.field label { display:block; margin-bottom: 6px; font-weight: 600; }
.field input, .field select, textarea, input, button {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9dbe3;
  border-radius: 8px;
  font-size: 16px;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.form-msg { margin-top: 10px; font-weight: 600; }

/* Footer */
footer {
    background: #0a2a66;
    color: white;
    padding: 30px 20px;
    text-align: center;
  }
  
  footer form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
  }
  
  footer input, footer textarea, footer button {
    margin: 8px 0;
    padding: 12px;
    font-size: 16px;
  }
  
  footer button {
    background: #f9c400;
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }

  .admin-section {
    padding: 30px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
    color: #000;
  }
  
  th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  
  th {
    background: #0a2a66;
    color: white;
  }