:root {
  --color-primary: #5850ff;
  --color-background-1: #0b1020;
  --color-background-2: #0f1724;
  --color-accent: #ff6b6b;
  --glass: rgba(255, 255, 255, 0.06);
  --muted: rgba(255, 255, 255, 0.8);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #E6EEF8;
  background: linear-gradient(135deg, var(--color-background-1), var(--color-background-2));
  background-image: linear-gradient(135deg, rgba(11,16,32,0.8), rgba(15,23,36,0.8)), url('myImage.jpg');
  background-size: cover;
  background-attachment: fixed;
  padding: 24px 18px;
  box-sizing: border-box;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 32px;
}

h1 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin: 10px 0;
  text-shadow: 0 2px 10px rgba(88, 80, 255, 0.18);
}

.contact {
  display: block;
  margin-top: 4px;
  text-align: center;
  line-height: 1.6;
}

/* Navigation */
/* Navigation */
nav {
  top: 12px;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  margin: 0 auto 19px auto;
  max-width: 1220px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

nav a {
  color: #E6EEF8;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 220ms ease;
  font-weight: 500;
}

nav a:hover,
nav a:focus {
  color: #ffffff;
  transform: translateY(-3px);
  background: linear-gradient(90deg, var(--color-primary), #765eff);
  background-color: #765eff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(100, 97, 255, 0.18);
}


/* Contact Form */
main {
  line-height: 1.6px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px 32px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(2,6,23,0.6);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-weight: 600;
  color: rgba(230,238,248,0.95);
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: #E6EEF8;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(88,80,255,0.4);
  outline: none;
}

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

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--color-primary);
  transform: scale(1.1);
  margin-right: 6px;
}

.option {
  background-color: rgba(11,16,32,0.8);
  color: #E6EEF8;
}

/* Button */
button {
  background: linear-gradient(90deg, var(--color-primary), #2d2753);
  color: white;
  border: none;
  padding: 12px 20px;
  margin-top: 12px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(88,80,255,0.3);
}

/* Footer */
footer {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(2,6,23,0.6);
}

mark {
  background: var(--color-primary);
  color: white;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  main {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 14px 10px;
  }

  h1 {
    font-size: 1.8rem;
  }
}