body {
  font-family: "Urbanist", sans-serif;
  font-size: 1.3em;
  min-height: 50rem;
  padding-top: 5.3rem;
}

/* Ensure mobile tap targets are at least 48x48px */
.nav-link,
.btn,
.dropdown-item,
.navbar-toggler,
a[role="button"] {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Improve mobile navbar touch targets */
.navbar .nav-link {
  padding: 0.75rem 1rem;
}

.navbar-toggler {
  padding: 0.5rem 0.75rem;
}

/* Prevent horizontal overflow on mobile */
.container-fluid {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
}

.warrior {
  font-family: "Anton";
}

.warrior-games h1, .warrior-games h2, .warrior-games h3, .warrior-games h4, .warrior-games h5 {
  color: #e78535;
}

footer a {
  color: #e78535;
}

.footer-map iframe {
  border: 0;
  width: 100%;
  height: 200px;
}

/* Responsive iframes and embedded content */
iframe {
  max-width: 100%;
}

/* Ensure long content wraps on mobile */
.text-left {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive tables: enable horizontal scroll on mobile */
table {
  max-width: 100%;
}

@media (max-width: 576px) {
  .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

footer a:hover {
  color: #e78535;
}

a {
  color: #267fa7;
}

a:hover {
  color: #267fa7;
  text-decoration: underline;
}

.hero {
  background: url('/img/bootcamp.webp') top center no-repeat;
  background-size: cover;
  padding: 3;
  height: 60vh;
}

@media (max-width: 768px) {
  .hero {
    height: 40vh;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 35vh;
    min-height: 200px;
  }
}

.hero .jumbotron {
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.progress-lg{
  height: 1.5rem !important;
  font-size: 1rem;
}


.bg-brand-primary {
  background-color: #267fa7;
}

.bg-brand-secondary {
  background-color: #e78535;
}

.card {
  border: 1px solid #267fa7;
}

.card-header {
  background-color: #267fa7;
  color: #FFF !important;
}

.card-footer {
  background-color: #FFF;
  border:0;
}

.btn-primary {
  background-color: #267fa7;
  border-color: #267fa7;
}

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

.btn:hover {
  transition: transform 0.3s;
  transform: scale(1.01)
}

.btn-secondary {
  background-color: #e78535;
  border-color: #e78535;
}

.btn-secondary:hover {
  background-color: #267fa7;
  border-color: #267fa7;
}

.carousel-item .image {
  position:relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Responsive carousel height for mobile devices */
@media (max-width: 768px) {
  .carousel-item .image {
    height: 50vw;
    max-height: 400px;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .carousel-item .image {
    height: 60vw;
    max-height: 350px;
  }
}

.carousel .floating {
  width: 500px;
  top: 67%;
  left: 50%;
  margin-left: -250px;
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  color: #000;
  text-align: center;
  z-index: 2;
  border-radius: 30px;
}

.carousel .floating img {
  height: 100px;
}

/* Responsive floating overlay: stretches full-width on tablets and below */
@media (max-width: 768px) {
  .carousel .floating {
    width: 100%;
    left: 0;
    margin-left: 0;
    border-radius: 0;
    top: auto;
    bottom: 0;
  }

  .carousel .floating img {
    height: 60px;
  }
  
  .carousel .floating p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
}

/* Small phones: even more compact floating overlay */
@media (max-width: 480px) {
  .carousel .floating {
    padding: 0.5rem !important;
    border-radius: 0;
  }

  .carousel .floating img {
    height: 40px;
  }
  
  .carousel .floating p {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(52, 58, 64, 1) 0.1%, transparent 100%);
  z-index: 1;
}