/* Custom styles to complement Tailwind CSS */
html {
  scroll-behavior: smooth;
}

/* Colors */
.bg-lightgray {
  background-color: #f0f4f8;
}

.bg-softgray {
  background-color: #f8fafc;
}

.text-darkgray {
  color: #333;
}

/* Transitions */
.transition-all {
  transition: all 0.3s ease;
}

/* Form focus styles */
input:focus, 
select:focus, 
textarea:focus {
  outline: none;
  border-color: #1a365d;
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Additional spacing for mobile menu */
#mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
}

/* Override for aspect ratio of images */
.aspect-w-5 {
  position: relative;
  padding-bottom: 60%;
}

.aspect-w-5 > img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .lg\:aspect-none {
    position: static;
    padding-bottom: 0;
  }
  
  .lg\:aspect-none > img {
    position: static;
    height: auto;
  }
}

/* Ensure attorney images are consistent height */
.h-80 {
  height: 20rem;
}

/* Add gap for buttons in hero section */
.gap-x-6 {
  column-gap: 1.5rem;
}