/* ==========================================================
   Bridget Moses Chukwu — AK22/PHS/CSC/016
   NetCentric Computing — shared stylesheet

   Colours used on this site:
     Ink navy    #1d2b3a   (text, headings, footer)
     Paper       #faf7f2   (page background)
     Card white  #ffffff   (panels and cards)
     Deep red    #a4243b   (accent — links, buttons, highlights)
     Warm grey   #6b6560   (secondary text)
     Border      #e5ded4   (hairlines)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600&family=Inter:wght@400;500;600&display=swap');

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Page basics ---------- */
body {
  background-color: #faf7f2;
  color: #1d2b3a;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1d2b3a;
}

h1 { font-size: 44px; margin-bottom: 16px; }
h2 { font-size: 30px; margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 8px; }

p {
  color: #6b6560;
  max-width: 620px;
}

a {
  color: #a4243b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Small red label above a heading */
.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a4243b;
  margin-bottom: 12px;
}

/* ---------- Navigation bar ---------- */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5ded4;
  padding: 18px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: #1d2b3a;
}

.logo:hover {
  text-decoration: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.menu a {
  color: #6b6560;
  font-size: 15px;
  font-weight: 500;
}

.menu a:hover {
  color: #a4243b;
  text-decoration: none;
}

/* The current page is underlined in red */
.menu a.active {
  color: #1d2b3a;
  border-bottom: 2px solid #a4243b;
  padding-bottom: 3px;
}

/* The button that switches between the two websites.
   It sits in the nav bar, on the right, after the menu. */
.switch-btn {
  background-color: #a4243b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
}

.switch-btn:hover {
  background-color: #861c30;
  text-decoration: none;
}

/* ---------- Hero (top of each page) ---------- */
.hero {
  padding: 70px 0 50px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background-color: #a4243b;
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn:hover {
  background-color: #861c30;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: #1d2b3a;
  border: 1px solid #d5ccbf;
  margin-left: 8px;
}

.btn-outline:hover {
  background-color: #ffffff;
  border-color: #a4243b;
  color: #a4243b;
}

/* ---------- Sections ---------- */
section {
  padding: 60px 0;
}

.section-white {
  background-color: #ffffff;
  border-top: 1px solid #e5ded4;
  border-bottom: 1px solid #e5ded4;
}

/* ---------- Card layouts ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background-color: #ffffff;
  border: 1px solid #e5ded4;
  border-radius: 10px;
  padding: 26px;
}

.section-white .card {
  background-color: #faf7f2;
}

.card p {
  font-size: 15px;
}

.card-number {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #a4243b;
  margin-bottom: 10px;
}

/* ---------- Contact form ---------- */
.form-box {
  background-color: #ffffff;
  border: 1px solid #e5ded4;
  border-radius: 10px;
  padding: 30px;
  max-width: 580px;
}

.section-white .form-box {
  background-color: #faf7f2;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1d2b3a;
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  color: #1d2b3a;
  background-color: #ffffff;
  border: 1px solid #d5ccbf;
  border-radius: 6px;
  padding: 11px 13px;
}

.section-white .form-row input,
.section-white .form-row textarea {
  background-color: #ffffff;
}

.form-row textarea {
  height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #a4243b;
}

.form-note {
  font-size: 13px;
  color: #6b6560;
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.footer {
  background-color: #1d2b3a;
  color: #b9c2cc;
  padding: 34px 0;
  font-size: 14px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.footer strong {
  color: #ffffff;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }

  .navbar .container {
    flex-wrap: wrap;
    gap: 14px;
  }

  .menu {
    margin-left: 0;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 44px 0 34px;
  }
}
