/* ===========================
   CONTACT CARD – GLOW STYLE
=========================== */
.contact-card {
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

.glow-input {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.glow-input:hover,
.glow-input:focus {
  border-color: rgba(56,189,248,0.7);
  box-shadow:
    0 0 14px rgba(56,189,248,0.45),
    0 0 30px rgba(56,189,248,0.25);
  background: rgba(15,23,42,0.60);
}

#contact .contact-card {
  position: relative;
  z-index: 0;
  border-radius: 1.75rem;
  background: radial-gradient(circle at top left,
              rgba(15, 23, 42, 0.96),
              rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.22);
  /* softer, darker base shadow */
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.9);
  padding: 2.75rem 2.5rem;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease,
    background 0.4s ease;
}

#contact .contact-card:hover {
  box-shadow:
    0 0 50px rgba(56, 189, 248, 0.45),
    0 0 110px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.75);
  transform: translateY(-8px) scale(1.01);
  background: radial-gradient(circle at top left,
              rgba(15, 23, 42, 0.96),
              rgba(15, 23, 42, 1));
}


#contact .contact-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1; /* 👈 important so it’s behind content */
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.32), transparent 65%);
  opacity: 0.55;
  pointer-events: none;
  animation: contactGlow 18s ease-in-out infinite alternate;
}


@keyframes contactGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate3d(-12px, -10px, 0) scale(1.06);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(8px, 6px, 0) scale(1.03);
    opacity: 0.55;
  }
}

#contact .contact-input {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

#contact .contact-input::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

#contact .contact-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(15, 23, 42, 1);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.5),
    0 0 22px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

#contact .contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background-image: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #0f172a;
  box-shadow:
    0 16px 35px rgba(56, 189, 248, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  border: none;
}

#contact .contact-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 50px rgba(56, 189, 248, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

#contact .social-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease,
    background 0.2s ease;
}

#contact .social-pill:hover {
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
  transform: translateY(-1px);
}
