body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header, footer {
  background: #1e4b87;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

main {
  padding: 2rem;
}

.tabs {
  display: flex;
  width: 100%;
  border-radius: 0rem;
}

.tablink {
  flex: 1;
  background: #fff;
  border: none;
  padding: 0.75rem 0;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  color: #000;
  transition: background 0.2s;
  border-right: 1px solid #ddd; /* vertical separator */
  position: relative;
}

.tablink:last-child {
  border-right: none;
}

.tablink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #1e4b87; /* underline color */
  transition: width 0.3s ease;
}

.tablink:hover::after {
  width: 100%;
}

.tablink.active::after {
  width: 100%;
}

.tablink:hover {
  background: #f0f0f0;
}

.tablink.active {
  background: #fff;
  color: #000;
}

.tabcontent {
  display: none;
  padding: 1rem;
}

.tabcontent h2 {
  margin-top: 0;
}
