:root {
  --primary: #4b003f;
  --secondary: #6b0a56;
  --accent: #8a8a8a;
  --logo-grey: #8a8a8a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
  position: relative;

  background:
    radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.25), transparent 40%), radial-gradient(circle at 20% 80%, rgba(75, 0, 63, 0.25), transparent 40%), rgba(75, 0, 63, 0.25);
}

body::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #9333ea, transparent 70%);
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4b003f, transparent 70%);
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
}

/* mouse gradient */

.mouse-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--x) var(--y),
      rgba(63, 13, 51, 0.25),
      transparent 40%);
  pointer-events: none;
}

/* container */

.container {
  text-align: center;
  z-index: 1;
  position: relative;
}

.logo {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  margin: auto;

  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.25));
}

h1 {
  font-size: 56px;
  margin-bottom: 10px;
}

p {
  color: #3d0734;
  margin-bottom: 30px;
}

/* loader */

.loader {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.loader span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1.2s infinite;
}

.loader span:nth-child(2) {
  background: var(--secondary);
  animation-delay: 0.2s;
}

.loader span:nth-child(3) {
  background: var(--accent);
  animation-delay: 0.4s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

/* contact button */

.contact-btn,
button {
  padding: 12px 28px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn:hover,
button {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* modal */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s;

  z-index: 9999;
  /* ADD THIS */
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* form card */

.form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 35px;
  width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10000;
}

.form-card h2 {
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

textarea {
  resize: none;
  height: 100px;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}

footer {
  position: absolute;
  bottom: 20px;
  font-size: 14px;
  color: #3d0734;
}

.submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.submit-btn.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99999;
}

#toast.show {
  opacity: 1;
}


/* UPLOAD AREA */

.upload-area {
  margin-bottom: 26px;
  margin-top: 20px;
  padding: 40px;
  border-radius: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.03);
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.upload-area.dragover {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.08);
}

.upload-icon {
  font-size: 30px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.upload-text {
  font-size: 15px;
  opacity: 0.8;
}

.upload-text span {
  font-size: 13px;
  opacity: 0.6;
}

#fileName {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}