/* Base reset & typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;   /* White background */
  color: #222222;               /* Dark gray for primary text */
  line-height: 1.6;
}

/* Header & Footer */
header, footer {
  background-color: #000000;    /* Black header/footer */
  color: #FFFFFF;
  padding: 1.5em 1em;
  text-align: center;
}

/* Navigation links */
nav a {
  color: #FFFFFF;
  margin: 0 1em;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease, border-color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #00BFFF;                /* Accent light blue hover */
}

nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #00BFFF;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

nav a:hover::after {
  width: 100%;
}

/* Main content wrapper */
main {
  padding: 2em;
}

/* Section backgrounds */
.section-alt {
  background-color: #F7F7F8;     /* Slight off-white for contrast */
}

/* Headings */
h1, h2, h3, h4 {
  color: #000000;
  margin-top: 0.5em;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

/* Paragraphs */
p {
  color: #333333;
  margin-bottom: 1em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn:hover {
  background-color: #00BFFF;
  opacity: 0.9;
}

/* Links in text */
a {
  color: #00BFFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Containers / cards */
.card {
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Utilities */
.text-center {
  text-align: center;
}

/* Footer small text */
footer small {
  color: #BBBBBB;
}

/* Buttons on dark background (in header area) */
.btn-inverse {
  background-color: #FFFFFF;
  color: #000000;
}

.btn-inverse:hover {
  background-color: #00BFFF;
  color: #FFFFFF;
}