/* ========== GLOBAL STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(112, 159, 231, 0.6), rgba(214, 200, 140, 0.5));
  backdrop-filter: blur(10px);
  color: #e5d2d2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
}

/* Glassmorphic Container */
main {
  width: 100%;
  max-width: 700px;
  background: rgba(233, 193, 193, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Headings */
h1, h2 {
  text-align: center;
  color: #fdfeff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2rem;
  background: linear-gradient(90deg, #032ff2, #0f54c2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.4rem;
  color: #8e2121;
}

/* Paragraphs */
p, li {
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.6;
  font-size: 1rem;
}

ul {
  list-style: disc;
  margin-left: 1.5rem;
}

/* ========== FORM STYLING ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-weight: 500;
  color: #590909;
}

input, textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #5f5c5c;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(159, 153, 153, 0.5);
}

input:focus,
textarea:focus {
  border-color: #aee4ff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 8px rgba(174, 228, 255, 0.7);
}

/* Submit Button */
button {
  align-self: center;
  background: linear-gradient(135deg, #5a8bd4, #d1c280);
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #6fbcd6, #e5deb0);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ========== MESSAGES ========== */
.error-message {
  color: #ff8585;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.success-message {
  margin-top: 1.5rem;
  text-align: center;
  color: #8effa2;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ========== ABOUT PAGE STYLING ========== */
section {
  margin-bottom: 2rem;
  padding: 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

section:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  main {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  button {
    width: 100%;
  }
}
