/* MaterialMaster Marketing - Custom Styles */

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

/* FAQ accordion transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotate {
  transform: rotate(180deg);
}

/* Mobile nav */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

/* Services dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
}

.dropdown:hover .dropdown-menu {
  display: block !important;
}

/* Contact form focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #066fd1;
  box-shadow: 0 0 0 2px rgba(6, 111, 209, 0.15);
}

/* Pricing card highlight */
.pricing-popular {
  border-color: #066fd1;
  border-width: 2px;
}

/* Process step connector */
.step-connector {
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  background: #066fd1;
}

/* Assessment wizard progress bar */
.wizard-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.wizard-progress-circle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d1d5db;
  background: white;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wizard-progress-step.active .wizard-progress-circle {
  border-color: #066fd1;
  background: #066fd1;
  color: white;
}

.wizard-progress-step.completed .wizard-progress-circle {
  border-color: #066fd1;
  background: #066fd1;
  color: white;
}

.wizard-progress-step.active span,
.wizard-progress-step.completed span {
  color: #066fd1;
}

.wizard-progress-line {
  flex: 1;
  height: 2px;
  background: #d1d5db;
  margin: 0 8px;
  margin-bottom: 18px;
}

/* Wizard step panels */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

/* Score display */
.score-display {
  display: inline-block;
  padding: 12px 0;
}

/* File upload zone */
.file-upload-zone {
  transition: border-color 0.2s ease;
}

.file-upload-zone:hover {
  border-color: #066fd1;
}

/* Disabled inputs */
input:disabled, select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Spin animation for loader */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
