/* ============================================================
   CityFirst Bank Token System — beginner CSS
   Colors used:  navy  #0b2b4a    green  #2e7d32    grey  #f4f6f9
   Change a color here and every page updates.
   ============================================================ */

/* ---------- 1. Page basics ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #22303e;
  background-color: #ffffff;
}

h1, h2, h3, h4 {
  color: #0b2b4a;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }

p { margin-bottom: 10px; }
ul, ol { margin: 0 0 10px 22px; }
a { color: #2e7d32; }
code {
  font-family: "Courier New", Courier, monospace;
  background-color: #e9eef5;
  border-radius: 4px;
  padding: 1px 6px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section { padding: 45px 0; }

.section-head { text-align: center; margin-bottom: 24px; }
.section-head.left { text-align: left; }
.section-sub { color: #5a6b7b; }

.center { text-align: center; margin-top: 20px; }
.note { font-size: 14px; color: #5a6b7b; }

.eyebrow {
  font-size: 13px;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 6px;
}

/* ---------- 2. Buttons ---------- */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2e7d32;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #2e7d32;
  border-radius: 6px;
}

.button:hover { background-color: #1b5e20; border-color: #1b5e20; }

/* ---------- 3. Header and navigation ---------- */
.site-header {
  background-color: #0b2b4a;
  padding: 14px 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background-color: #2e7d32;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  line-height: 42px;
  border-radius: 8px;
}

.brand-name {
  margin-left: 10px;
  font-size: 19px;
  font-weight: bold;
  color: #ffffff;
}

.brand-name small {
  display: block;
  font-size: 12px;
  font-weight: normal;
}

.main-nav a {
  display: inline-block;
  margin-left: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #e8eef4;
  text-decoration: none;
  font-size: 15px;
}

.main-nav a:hover { background-color: #123a5f; }
.main-nav a.active { background-color: #2e7d32; color: #ffffff; }

/* ---------- 4. Hero (top of the home page) ---------- */
.hero {
  background-color: #0b2b4a;
  color: #ffffff;
  padding: 55px 0;
}

.hero h1 { color: #ffffff; }
.hero .accent { color: #7fd194; }
.hero .eyebrow { color: #7fd194; }

/* These paragraphs all sit on the dark navy bands */
.tagline, .lead, .open-note { color: #e8eef4; }

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-card { width: 260px; text-align: center; }

.hero-actions { margin-top: 18px; }
.hero-actions .button { margin-right: 10px; margin-bottom: 10px; }

/* Green top band used on the inner pages */
.page-hero {
  background-color: #0b2b4a;
  color: #ffffff;
  padding: 45px 0;
}

.page-hero h1 { color: #ffffff; }

/* ---------- 5. Cards ---------- */
.card-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card-grid.three > * { width: 31%; }
.card-grid.two > * { width: 47%; }

.card {
  background-color: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-icon { font-size: 28px; }
.card-meta { font-size: 13px; color: #5a6b7b; margin: 8px 0; }

.card-step { text-align: center; }

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-prefix {
  font-size: 22px;
  font-weight: bold;
  color: #2e7d32;
}

.service-docs { font-size: 14px; }

/* Step badges on the home page */
.step-badge {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #2e7d32;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  margin-bottom: 8px;
}

/* ---------- 6. How It Works: steps and sample slip ---------- */
.steps {
  list-style: none;
  margin: 0;
  max-width: 720px;
}

.step {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
}

.step-num {
  width: 40px;
  height: 40px;
  background-color: #0b2b4a;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
}

.slip-example {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.slip {
  width: 280px;
  background-color: #ffffff;
  border: 2px dashed #0b2b4a;
  border-radius: 8px;
  padding: 18px;
}

.slip-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #0b2b4a;
  padding-bottom: 8px;
  color: #0b2b4a;
}

.slip-number {
  font-size: 44px;
  font-weight: bold;
  color: #2e7d32;
  text-align: center;
  margin: 10px 0;
}

.slip-lines p { margin-bottom: 4px; font-size: 15px; }

.slip-side { max-width: 480px; }

/* ---------- 7. Tables ---------- */
.table-wrap {
  background-color: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e4eaf1;
}

th {
  background-color: #0b2b4a;
  color: #ffffff;
}

/* ---------- 8. Appointment form ---------- */
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field { width: 47%; }
.field-full { width: 100%; }

.field label {
  display: block;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
  color: #0b2b4a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #c3cfdc;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.booking-note {
  background-color: #ffffff;
  border: 2px solid #2e7d32;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 20px;
}

/* ---------- 9. Queue board (static example) ---------- */
.board-screen {
  background-color: #0b2b4a;
  border-radius: 10px;
  padding: 24px;
  color: #ffffff;
}

.board-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.board-head small { color: #b8c6d4; }

.board-table-wrap th { background-color: #2e7d32; }

.board-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #b8c6d4;
}

/* ---------- 10. Contact page ---------- */
.contact-card { text-align: center; }
.contact-sub { font-size: 13px; color: #5a6b7b; }

.split-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.split-grid > div { flex: 1; min-width: 300px; }

.faq-list { max-width: 760px; }

.faq {
  background-color: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}

.faq summary {
  font-weight: bold;
  color: #0b2b4a;
}

/* ---------- 11. Footer ---------- */
.site-footer {
  background-color: #0b2b4a;
  color: #cfd9e4;
  margin-top: 40px;
  padding: 40px 0 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

.footer-grid h4 { color: #ffffff; margin-bottom: 10px; }

.footer-grid ul { list-style: none; margin-left: 0; }
.footer-grid li { margin-bottom: 6px; font-size: 14px; }

.footer-grid a { color: #cfd9e4; text-decoration: none; }
.footer-grid a:hover { color: #ffffff; }

.footer-blurb { font-size: 14px; max-width: 260px; }

.footer-bottom {
  border-top: 1px solid #123a5f;
  padding: 14px 0;
  font-size: 13px;
}

/* ---------- 12. Phones: stack the columns ---------- */
@media (max-width: 800px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }

  .card-grid.three > *,
  .card-grid.two > *,
  .field { width: 100%; }

  .nav-wrap { justify-content: center; }
  .main-nav { margin-top: 10px; }
}
