/* Contact / Join Section Styles */
.contact-section {
  padding: 64px 40px;
  background: white;
  overflow: hidden;
}

.contact-container {
  max-width: 1307px;
  margin: 0 auto;
}

.contact-content {
  background: #edeff7;
  border-radius: 24px;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.contact-title {
  font-family: 'Manrope', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #3a7cff;
  line-height: 78px;
  text-align: left;
  margin: 0;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  line-height: 32px;
  color: #3a7cff;
  text-align: left;
  margin: 0;
  font-weight: 400;
}

.contact-form-wrapper {
  position: relative;
}

.contact-icon {
  width: 84px;
  height: 86px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #111113;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  transition: border-color 0.3s;
  box-sizing: border-box;
  background: white;
  color: #111113;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a5568;
}

.form-group textarea {
  resize: vertical;
}

.submit-button {
  align-self: flex-end;
  background: #3a7cff;
  color: white;
  border: none;
  padding: 16px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s;
  margin-top: 0.5rem;
}

.submit-button:hover {
  opacity: 0.9;
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-button.loading {
  position: relative;
  padding-right: 48px;
}

.submit-button.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 16px;
  margin-top: -8px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

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

/* Snackbar Styles */
.snackbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a2e;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 90%;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.snackbar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.snackbar.success {
  background: #10b981;
}

.snackbar.error {
  background: #ef4444;
}

/* Tablet Styles */
@media (max-width: 768px) {
  .contact-section {
    padding: 32px 20px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem;
  }

  .contact-title {
    font-size: 48px;
    line-height: 58px;
  }

  .contact-subtitle {
    font-size: 20px;
    line-height: 26px;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .contact-section {
    padding: 32px 20px;
  }

  .contact-content {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .contact-title {
    font-size: 40px;
    line-height: 49px;
    text-align: left;
  }

  .contact-subtitle {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }

  .contact-icon {
    width: 64px;
    height: 66px;
  }

  .submit-button {
    width: 100%;
    align-self: stretch;
  }
}
