/* Custom site tweaks: header/logo sizing, z-index fixes, and responsive About list */

/* Allow header children to be visible (prevents clipping) */
header.header .container-fluid {
  overflow-x: visible;
}

/* Header logo sizing and smooth resize */
header.header .logo img,
.logo-img {
  max-height: 80px; /* default desktop size */
  height: auto;
  transition: max-height 180ms ease;
  display: block;
}

/* Keep the Get Started button on one line and prevent it from shrinking */
.btn-getstarted {
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
  z-index: 1060;
}

/* Ensure the mobile nav toggle stays on top */
.mobile-nav-toggle {
  z-index: 1070;
}

@media (max-width: 992px) {
  /* Slightly reduce logo on medium screens */
  header.header .logo img,
  .logo-img {
    max-height: 68px;
  }
}

@media (max-width: 576px) {
  /* Mobile adjustments: make logo smaller to free space for the button */
  header.header .logo img,
  .logo-img {
    max-height: 44px; /* shrink to fit narrow viewports */
  }

  .btn-getstarted {
    font-size: 14px;
    padding: 6px 10px;
    margin-left: 8px;
  }

  /* tighten container padding so elements have room */
  header.header .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Responsive tweaks for About "What We Stand For" list on small screens */
@media (max-width: 768px) {
  .about .content ul {
    padding-left: 0.25rem;
  }
  .about .content ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .about .content ul li i {
    flex: 0 0 28px;
    font-size: 1.15rem;
    margin-top: 0.2rem;
    color: #0d6efd;
    line-height: 1;
  }
  .about .content ul li strong {
    display: inline-block;
    min-width: 110px;
    margin-right: 0.5rem;
    font-weight: 700;
  }
}

@media (max-width: 420px) {
  .about .content ul li strong {
    min-width: 90px;
    font-size: 0.95rem;
  }
  .about .content ul li i {
    flex: 0 0 24px;
  }
  .about .content ul {
    font-size: 0.95rem;
  }
}
