/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

/* Header/Nav */
header {
  background-color: #004085;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

header a.nav-link:hover,
header a.nav-link:focus {
  color: #ffc107 !important; /* Bootstrap warning color */
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background-color: #004085;
  border-color: #004085;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #003366;
  border-color: #003366;
  box-shadow: 0 0 8px #ffc107;
}

/* Section Titles */
h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #004085;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ffc107;
  margin-top: 8px;
  border-radius: 2px;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 64, 133, 0.3);
}

/* Footer */
footer {
  background-color: #001f3f;
  color: #ccc;
  font-size: 0.9rem;
}

footer a {
  color: #ffc107;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Scroll to Top Button */
#btnTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  z-index: 1100;
  background-color: #004085;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,64,133,0.3);
  transition: background-color 0.3s ease;
}

#btnTop:hover {
  background-color: #003366;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  h2::after {
    margin-left: auto;
    margin-right: auto;
  }
}
