@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --primary: #FF3366;
  --accent: #FFD966;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --background: #ffffff;
}

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

body {
  background: linear-gradient(135deg, #ff3366, #6a5acd);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  animation: fadeIn 1s ease-in-out;
  padding: 20px;
}

.container {
  max-width: 620px;
  width: 100%;
}

.card {
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.logo {
  width: 110px;
  margin-bottom: 20px;
}

h1 {
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 600;
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
}

.contact-details {
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-details a {
  color: var(--text-light);
  text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  transition: box-shadow 0.3s ease;
  background: #ffffff;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-form button {
  background-color: var(--accent);
  color: var(--text-dark);
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #ffe26b;
  transform: translateY(-1px);
}

footer {
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.75;
}

/* Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessible hidden class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive fix for mobile */
@media screen and (max-width: 480px) {
  .card {
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }

  .contact-form button {
    width: 100%;
  }
}
