/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #f9fafb;
  position: relative;
}

.back-home-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background-color: #027935; 
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-home-btn:hover {
  background-color: #1e40af; /* darker blue */
  transform: scale(1.05);
}

.back-home-btn svg {
  pointer-events: none;
  margin-bottom: 3px;
  margin-right: 2px;
}

.back-home-btn:hover {
  background-color: #1e40af; /* darker blue */
}

.call-us-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #027935;
  color: white;
  padding: 10px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.call-us-btn:hover {
  background-color: #1e40af;
  transform: scale(1.05);
}

.call-us-btn,
.call-us-icon-btn {
  z-index: 999; 
}

.call-us-icon-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #027935;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.call-us-icon-btn:hover {
  background-color: #1e40af;
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .call-us-btn {
    display: none;
  }
  .call-us-icon-btn {
    display: flex;
  }
}

@media (min-width: 641px) {
  .call-us-btn {
    display: flex;
  }
  .call-us-icon-btn {
    display: none;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.full-width {
  grid-column: 1 / -1;
}

/* Colors */
.text-alsco-green {
  color: #007934;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-600 {
  color: #6b7280;
}
.text-gray-700 {
  color: #374151;
}
.text-gray-800 {
  color: #1f2937;
}
.bg-alsco-green {
  background-color: #007934;
}
.bg-alsco-lime {
  background-color: #6bc14c;
}
.bg-gray-50 {
  background-color: #f9fafb;
}
.bg-gray-200 {
  background-color: #e5e7eb;
}

/* Layout */
.max-w-4xl {
  max-width: 56rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.w-full {
  width: 100%;
}
.w-1/3 {
  width: 33.333333%;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.min-h-screen {
  min-height: 100vh;
}

/* Flexbox utilities */
.flex {
  display: flex;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.flex-shrink-0 {
  flex-shrink: 0;
}

/* Position utilities */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.top-0 {
  top: 0;
}
.left-0 {
  left: 0;
}

/* Border radius utilities */
.rounded-full {
  border-radius: 9999px;
}

/* Height utilities */
.h-2 {
  height: 0.5rem;
}

/* Transition utilities */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cards */
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #007934;
  margin-bottom: 1rem;
}

.card-content {
  padding: 1.5rem;
}

/* Form styles */
.form-step {
  display: none;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #007934;
  box-shadow: 0 0 0 3px rgba(0, 121, 52, 0.1);
}

.form-textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-item input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.radio-item label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .checkbox-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.checkbox-item label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: #007934;
  color: white;
}

.btn-primary:hover {
  background-color: #065a28;
}

.btn-primary:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.form-actions .btn:only-child {
  margin-left: auto;
}

/* Progress bar */
#progress-container {
  margin-bottom: 2rem;
}

#progress-bar {
  transition: width 0.5s ease-in-out;
}

/* Icons */
.inline-icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Recommendations */
.recommendations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: rgba(107, 193, 76, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .recommendations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.recommendation-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #007934;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.recommendation-content h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.recommendation-content p {
  font-size: 0.875rem;
  color: #6b7280;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Confirmation */
.confirmation-icon {
  background-color: #6bc14c;
  color: white;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.confirmation-icon-svg {
  width: 2rem;
  height: 2rem;
}

.confirmation-list {
  text-align: left;
  margin: 1rem auto;
  max-width: 28rem;
  list-style-type: disc;
  list-style-position: inside;
}

.confirmation-list li {
  margin-bottom: 0.5rem;
}

.confirmation-footer {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .text-4xl {
    font-size: 1.875rem;
  }

  .px-4 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Loading state */
.loading #submit-text {
  display: none;
}

.loading #submit-loading {
  display: inline-flex !important;
}

footer {
background-color:#003316;
color: white;
}
footer .footer-logo {
  display: block;
  width: 100%;
  height: auto;
}
.site-footer {
  background-color: #003316;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-content {
  max-width: 1460px;
  margin: 0 auto;
  padding: 20px 16px 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 1024px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #005a28;
  border-bottom: 1px solid #005a28;
  padding: 24px 16px;
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    border: none;
    padding: 0;
    width: auto;
    justify-content: flex-start;
  }
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copy {
  margin: 0;
}

.mobile-break {
  display: block;
}

@media (min-width: 1280px) {
  .mobile-break {
    display: none;
  }
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
}
