/*
 * Globals
 */


/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}


/*
 * Header
 */

.nav-masthead .nav-link {
  color: #e6e6e6;
  border-bottom: .25rem solid transparent;
  transition: all 0.3s ease;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: #cbd5e1;
  color: rgba(255, 255, 255, 1);
}

.nav-masthead .nav-link:focus {
  outline: 2px solid #cbd5e1;
  outline-offset: 4px;
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}
.bd-mode-toggle {
  z-index: 1500;
}
.btn.btn-lg.btn-light.fw-bold.border-white.bg-white.mb-2 {
  transition: all 0.3s ease;
}

.btn.btn-lg.btn-light.fw-bold.border-white.bg-white.mb-2:hover {
  background-color: #fd7e14 !important;
  border-color: #fd7e14 !important;
  transform: scale(1.02);
}

.btn.btn-lg.btn-light.fw-bold.border-white.bg-white.mb-2:focus {
  outline: 3px solid rgba(253, 126, 20, 0.5);
  outline-offset: 4px;
  box-shadow: 0 0 0 0.25rem rgba(253, 126, 20, 0.25);
}

.btn.btn-lg.btn-light.fw-bold.border-white.bg-white.mb-2:active {
  transform: scale(0.98);
}

/* Footer improvements */
.footer-logo-link {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-logo-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
}

/* Improved mobile responsiveness */
@media (max-width: 576px) {
  .btn.btn-lg.btn-light.fw-bold.border-white.bg-white.mb-2 {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Content page header - accessible light theme */
.content-page-header {
  background-color: #003262;
  color: #ffffff;
  border-bottom: 3px solid #FF7900;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-page-header h3 {
  color: #ffffff;
  font-weight: 700;
}

.nav-content-page .nav-link {
  color: #f8fafc;
  border-bottom: 3px solid transparent;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
}

.nav-content-page .nav-link:hover,
.nav-content-page .nav-link:focus {
  color: #ffffff;
  border-bottom-color: #FF7900;
  background-color: #0b3b61;
}

.nav-content-page .nav-link:focus {
  outline: 2px solid #FF7900;
  outline-offset: 2px;
}

.nav-content-page .nav-link.active {
  color: #ffffff;
  border-bottom-color: #FF7900;
  font-weight: 700;
}

/* Mobile responsive adjustments for content pages */
@media (max-width: 768px) {
  .content-page-header .row > div {
    text-align: center;
  }
  
  .content-page-header h3 {
    margin-bottom: 1rem;
  }
  
  .nav-content-page {
    flex-wrap: wrap;
  }
}


.footer-contrast {
  color: #e6e6e6;
  background-color: #212529;
}
