.contact-section {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  font-family: 'Poppins', sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(138,43,226,0.1), transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
}

.contact-section * {
  position: relative;
  z-index: 1;
}

.contact-section h2 {
  font-size: 2.8em;
  text-align: center;
  background: linear-gradient(to right, #8E2DE2, #4A00E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.contact-section p {
  text-align: center;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 30px;
}

.form-group {
  margin: 20px 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 4px 4px 10px rgba(0,0,0,0.2),
              inset -4px -4px 10px rgba(255,255,255,0.05);
  font-size: 1em;
  color: #000;
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: #bbb;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(138, 43, 226, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
  background: linear-gradient(to right, #4A00E0, #8E2DE2);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  width: 100%;
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.submit-btn:hover {
  background: linear-gradient(to right, #8E2DE2, #4A00E0);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(138, 43, 226, 0.6);
}

.form-message {
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.05em;
  color: #f0f0f0;
}

@media (max-width: 600px) {
  .contact-section {
    padding: 25px 20px;
  }

  .contact-section h2 {
    font-size: 2.2em;
  }
}
