/* --- Utility Buttons --- */
.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: #1f2937; /* dark gray */
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: #111827; /* darker gray */
  transform: translateY(-2px);
}

.btn-alt {
  background: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-alt:hover {
  background: #e5e5e5;
  transform: translateY(-2px);
}

/* --- Responsive Utilities --- */

/* Mobile-first adjustments */
@media (max-width: 900px) {
  /* Generic service card adjustments for utility layouts */
  .service-card {
    flex-direction: column;
    height: auto; /* let height grow naturally */
    gap: 1rem;
  }

  .service-images {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .service-images img {
    width: 100%;
    height: auto;
    position: relative;
  }

  .cta-buttons {
    justify-content: center; /* buttons stack nicely */
  }
}

/* Tablet & Small Desktop adjustments */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar li {
    margin: 0 0.5rem;
  }
}

/* Narrow screens (mobile hero background swap) */
@media (max-width: 768px) {
  .hero {
    background: url("/assets/hero-mobile.webp") center/cover no-repeat;
    padding-bottom: 2rem;
  }

  .page-container {
    max-width: 100%;
    border-radius: 0;
    padding: 1rem;
  }

  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
