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

body {
  font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
}

/* Font weight classes */
.font-avenir-light {
  font-weight: 300;
}

.font-avenir-book {
  font-weight: 400;
}

.font-avenir-medium {
  font-weight: 500;
}

.font-avenir-heavy {
  font-weight: 800;
}

/* Utility classes */
.min-h-screen {
  min-height: 100vh;
}

.font-avenir {
  font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.hidden {
  display: none !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  color: white;
  overflow: hidden;
  height: 24rem;
  background-image: url('dist/Banner 1_plain copy.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hero-section {
    height: 31.25rem;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #5d7ea2 0%, #5d7ea2 40%, rgba(93, 126, 162, 0.7) 50%, rgba(93, 126, 162, 0.3) 60%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-text-container {
  max-width: 32rem;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.logo-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  width: 100%;
}

.logo-background {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}

.logo-image {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-image {
    width: 5rem;
    height: 5rem;
  }
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: left;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  height: 5rem;
  background-color: #263746;
  margin-top: 1.25rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.125rem;
  padding: 0 1.25rem;
  font-weight: 400;
  text-align: left;
  width: 100%;
}

/* Main Content */
.main-content {
  padding: 3rem 1.5rem 5rem;
}

@media (min-width: 1024px) {
  .main-content {
    padding: 5rem 1.5rem;
  }
}

.content-grid {
  display: grid;
  gap: 3rem;
  max-width: 112rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Info Column */
.info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.title-accent {
  color: #5d7ea2;
  font-weight: 800;
}

.section-description {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 400;
}

.info-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

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

.card-text {
  color: #374151;
  line-height: 1.6;
  font-weight: 400;
}

.text-emphasis {
  color: #1f2937;
  font-weight: 500;
}

.thank-you-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .thank-you-text {
    text-align: left;
  }
}

.thank-you-text p {
  color: #374151;
  font-weight: 400;
}

/* Form Column */
.form-column {
  position: relative;
}

@media (min-width: 1024px) {
  .form-column {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
  }
}

.form-container {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #4b5563;
  font-weight: 400;
}

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.75rem;
}

.postal-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  font-weight: 400;
  transition: all 0.2s;
}

.postal-input:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.postal-input.error {
  border-color: #fca5a5;
  background-color: #fef2f2;
}

.postal-input.error:focus {
  border-color: #ef4444;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  font-weight: 400;
}

.error-dot {
  width: 1rem;
  height: 1rem;
  background-color: #ef4444;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.submit-button {
  width: 100%;
  color: white;
  font-weight: 800;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  background-color: #5d7ea2;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-button:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.submit-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.form-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.6;
  font-weight: 300;
}

/* Footer */
.site-footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 2rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 2rem;
  margin-right: 0.75rem;
  object-fit: contain;
}

.footer-company {
  font-weight: 500;
}

.footer-contact {
  font-size: 0.875rem;
  font-weight: 400;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 28rem;
  width: 100%;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.success-message {
  color: #4b5563;
  margin-bottom: 1rem;
  font-weight: 400;
}

.success-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 300;
}