/* Hero section with background image */
#hero {
  background-image: linear-gradient(rgba(67, 126, 161, 0.85), rgba(102, 153, 136, 0.85)), url('images/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: hsl(210, 20%, 98%);
}

::-webkit-scrollbar-thumb {
  background: hsl(195, 85%, 45%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(195, 85%, 35%);
}

/* Accordion styles */
.accordion-item {
  border-bottom: 1px solid hsl(210, 15%, 88%);
}

.accordion-button {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(215, 25%, 15%);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-button:hover {
  color: hsl(195, 85%, 45%);
}

.accordion-button::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.accordion-button.active::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: hsl(215, 15%, 45%);
  font-size: 1rem;
  line-height: 1.6;
}

.accordion-content.active {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* Toast styles */
.toast {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  min-width: 300px;
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.toast.success {
  border-left: 4px solid hsl(142, 45%, 65%);
}

.toast.error {
  border-left: 4px solid hsl(0, 84%, 60%);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: hsl(215, 25%, 15%);
}

.toast-description {
  font-size: 0.875rem;
  color: hsl(215, 15%, 45%);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading spinner */
.spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 2px solid white;
  width: 16px;
  height: 16px;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  margin-right: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form error states */
.input-error {
  border-color: hsl(0, 84%, 60%) !important;
}

/* Success message */
.success-message {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  color: hsl(142, 45%, 65%);
}