/* Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}

.contact-form-wrapper,
.thank-you-message {
  transition: opacity 0.4s ease;
  opacity: 1;
}

.contact-title {
  font-size: 42px;
  line-height: 1.3;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.contact-description {
  font-size: 16px;
  line-height: 1.75;
  color: #666666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #000000;
  background-color: #ffffff;
  transition: border-color 0.3s ease;
  font-family: "Inter", sans-serif;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  padding: 16px 32px;
  background: linear-gradient(to right, #505050, #202020);
  border: 1px solid #ffffff;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
}

.contact-submit-btn:hover {
  opacity: 0.8;
}

/* Thank You Message */
.thank-you-message {
  text-align: center;
  padding: 60px 20px;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #4caf50;
  color: #ffffff;
  font-size: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.thank-you-message h2 {
  font-size: 36px;
  color: #000000;
  margin-bottom: 20px;
}

.thank-you-message p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-message .contact-submit-btn {
  align-self: center;
  margin: 0 auto;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-title {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .thank-you-message {
    padding: 40px 20px;
  }

  .thank-you-icon {
    width: 60px;
    height: 60px;
    font-size: 40px;
  }

  .thank-you-message h2 {
    font-size: 28px;
  }
}
