/* Custom Design Accents and Micro-interactions */

/* Custom Transitions & Smooth Scrolling */
html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF6EE;
}
::-webkit-scrollbar-thumb {
  background: #E5A93C;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D95C3C;
}

/* FAQ Accordion Transitions */
.faq-content {
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}
.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

/* High-end custom styling for focus outlines */
input:focus, textarea:focus, select:focus {
  border-color: #D95C3C !important;
  box-shadow: 0 0 0 4px rgba(217, 92, 60, 0.15) !important;
}

/* Form Success State Animation */
#success-state {
  display: none;
}
#success-state.active {
  display: flex;
  opacity: 1;
}

/* Custom Select Dropdown Arrow styling */
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2370645E' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.25em auto;
  padding-right: 2.5rem;
}
