/* Contact Section */
#contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0f0f14;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Contact Canvas Background */
#contact-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contact-heading {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, #ff5fa2, #ba68c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
}

.contact-form-container {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(255, 95, 162, 0.3);
}

.form-lost {
  background: linear-gradient(135deg, #8e24aa, #ba68c8);
}

.form-media {
  background: linear-gradient(135deg, #d81b60, #ff5fa2);
}

.form-inner {
  padding: 2.5rem;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  text-align: center;
}

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

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

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

/* Honeypot field - hidden from users but visible to bots */
.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

.submit-btn {
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 30px;
  background: transparent;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: white;
  color: #8e24aa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-media .submit-btn:hover {
  color: #d81b60;
}

/* Form Status Messages */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #4caf50;
}

.form-message.error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  color: #f44336;
}

/* Responsive */
@media (max-width: 768px) {
  #contact {
    padding: 3rem 1.5rem;
  }

  .contact-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .contact-wrapper {
    gap: 1.5rem;
  }

  .contact-form-container {
    max-width: 100%;
  }

  .form-inner {
    padding: 2rem 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
  }
}
