/* Custom styles for Pleasant Air */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Ensure all interactive elements have cursor pointer */
a, button {
  cursor: pointer;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
  background: #9fb3c8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #627d98;
}

/* Selection color */
::selection {
  background: #fbb10c;
  color: #102a43;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #fbb10c;
  outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile menu animation */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobileMenu.open {
  max-height: 400px;
}

/* Service card icon wrapper */
.service-card > div:first-child {
  transition: transform 0.3s ease;
}
.service-card:hover > div:first-child {
  transform: scale(1.1) rotate(5deg);
}
