body {
  min-height: 100vh;
  /* Set top padding to match the navbar height so content isn't hidden under fixed-top */
  padding-top: 88px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
}

.nav {
  /* Allow navbar to size naturally; avoid fixed heights */
  min-height: 64px;
}

.logo {
  margin-left: 0;
}

.logo-text {
  /* Sets text color to white for visibility against darker backgrounds */
  color: white;
  /* Adds right padding to maintain spacing from subsequent elements or container edge */
  padding-right: 10%;
}

/* Branded header used across templates */
.brand-hero {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-small {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.nav-space {
  /* Adds horizontal padding to create space between elements in the nav */
  padding: 0 0.5%;
}

footer {
  /* Sets a fixed height for the footer to maintain visual consistency */
  height: 50px;
}

@media (max-width: 992px) {
  .nav-space,
  #navbarNav {
    /* Hides navbar space and navbar itself on screens smaller than 992px to optimize space */
    display: none;
  }
}

@media (max-width: 537px) {
  body {
    /* Adds space at the bottom equal to the footer's height to prevent content from being hidden by the footer */
    padding-bottom: 100px;
  }
  footer {
    /* Increases footer height on very small screens to accommodate more content or larger text */
    height: 100px;
  }
}
