html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

@media (min-width: 768px) {
  html { font-size: 16px; }
}

main { flex: 1; }

/* Focus states */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Nav bar fix */
.navbar-nav {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex; /* ensures horizontal alignment */
}
.navbar-nav .nav-item { margin-left: 10px; }

/* Footer styling */
footer {
  width: 100%;
  padding: 12px 0;
  font-size: 0.9rem;
  color: #000;
  background-color: rgba(255,255,255,0.85);
}
footer a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

/* Equal image sizes for gallery/index */
.equal-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Service headings with icons */
h3 i {
  margin-right: 8px;
  color: #ff9800;
}

/* Card styling */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-title { font-weight: 600; }
