:root {
  --bs-primary: #0073e5;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, .lead {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
}

main {
  flex: 1 0 auto; /* Grow and take remaining space */
}

footer {
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

p, .nav-item {
  font-size: 1.1rem; /* slightly larger than default 1rem */
  line-height: 1.6;  /* optional: improves readability */
}

a.back-to-top {
  display: none;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  position: fixed;
  z-index: 998;
  right: 10px;
  bottom: 10px;
  background: #ccd9ff url("../img/up-arrow-hover.png") no-repeat center 50%;
  background-size: 25px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  opacity: 0.75;
}

a:hover.back-to-top {
  display: none;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  position: fixed;
  z-index: 998;
  right: 10px;
  bottom: 10px;
  background: #99b3ff url("../img/up-arrow-hover.png") no-repeat center 50%;
  background-size: 25px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  opacity: 0.75;
}

.map-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.bg-primary {
  background-color: #0073e5 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

.bg-accent {
  background-color: #c9a227 !important;
}

.btn-primary {
  background-color: #0073e5;
  border-color: #0073e5;
}

.btn-primary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
}

.navbar-brand {
  letter-spacing: 0.5px;
}

h4 {
  background-color: #c9a227 !important;
  color: #fff;
  text-align: center;
  font-size: 2rem; /* slightly larger than default 1rem */
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

h5 {
  background-color: #d3d3d3 !important;
  color: #000 !important;
  text-align: center;
  font-size: 1.5rem; /* slightly larger than default 1rem */
  font-weight: bold;
  padding: 0.75rem 1rem;
}

.footer2 {
/*  position: absolute;*/
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 20px;
/*  background-color: #000;*/
}

.footer2 .container {
  width: auto;
  max-width: 680px;
  padding: 0 10px;
}

.footer2 .container .designed-by {
  margin: 2px 0;
  text-align: center;
  font-size: 12px;
}
.footer2 .container .designed-by a{
  color: red;
}

.navbar-gradient {
  background: linear-gradient(
    90deg,
    #e5e4e2 25%,
    var(--bs-primary) 75%
  );
}

/* Ensure text stays readable */
.navbar-gradient .navbar-brand,
.navbar-gradient .nav-link {
  color: #ffffff;
}

.navbar-gradient .navbar-brand {
  color: #1f3b4d; /* primary text color on white side */
}

/* Improve contrast on hover */
.navbar-gradient .nav-link:hover,
.navbar-gradient .nav-link.active {
  color: #c9a227; /* accent metal color */
}

@media (min-width: 62em) {

  a.back-to-top {
    display: none;
    width: 60px;
    height: 60px;
    text-indent: -9999px;
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    background: #ccd9ff url("../img/up-arrow-hover.png") no-repeat center 50%;
    background-size: 50px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
  }

  a:hover.back-to-top {
    display: none;
    width: 60px;
    height: 60px;
    text-indent: -9999px;
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    background: #99b3ff url("../img/up-arrow-hover.png") no-repeat center 50%;
    background-size: 50px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
  }

}
