@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.contact-header {
  height: 60vh;
  background: linear-gradient(135deg, #03032b, #5269d1, #03032b);
  background-size: 400% 400%;
  animation: pulseBackground 12s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-overlay {
  text-align: center;
  color: #fff;
  padding: 2rem;
  backdrop-filter: blur(6px);
}

.glow-text {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #00f6ff;
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00f6ff, 0 0 40px #00f6ff;
  animation: glow 2.5s ease-in-out infinite alternate;
}

.subtext {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #d1d1d1;
  letter-spacing: 2px;
}

@keyframes pulseBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #00f6ff, 0 0 10px #00f6ff, 0 0 20px #00f6ff;
  }
  to {
    text-shadow: 0 0 20px #00f6ff, 0 0 30px #00f6ff, 0 0 50px #00f6ff;
  }
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.background-glow::before {
  content: "";
  width: 100%;
  height: 100%;
  animation: flicker 10s infinite alternate;
  z-index: 0;
  opacity: 0.2;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  padding-top: 10rem;
  padding: 5rem 3rem;
  max-width: 500px;
  width: 100%;
  z-index: 2;
  box-shadow: 0 0 20px #1e90ff, 0 0 40px #1e90ff;
  animation: pulseGlow 6s infinite alternate;
}

.title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #1e90ff;
}

.subtitle {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}

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

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 5px;
  color: #222;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #1e90ff;
}

.contact-form button {
  padding: 1rem;
  background: linear-gradient(135deg, #1e90ff, #1e90ff);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: 0.4s;
}

.contact-form button:hover {
  box-shadow: 0 0 15px #1e90ff, 0 0 15px #1e90ff;
}

.contact-means {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

.means {
  width: 60%;
  color: #1e90ff;
  border-radius: 0.5rem;
}

.img-d {
  background-color: #1e90ff;
  padding: 0.2rem 0.2rem 0.2rem 0.2rem;
  border-radius: 0.3rem;
  border: 1px solid #000;
}

.img-d:hover {
  background-color: #96c9fc;
}

.phone-num {
  padding-top: 0.5rem;
  color: #000;
}

.footer {
  bottom: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}
.back-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1e90ff, #00f6ff);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  box-shadow: 0 0 12px #1e90ff;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
  box-shadow: 0 0 20px #00f6ff;
}

@keyframes flicker {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.25;
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 20px #1e90ff, 0 0 40px #1e90ff inset;
  }
  100% {
    box-shadow: 0 0 40px #1e90ff, 0 0 60px #1e90ff inset;
  }
}

@media (max-width: 600px) {
  .glass-card {
    padding: 1.5rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }
}
