/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;500&display=swap');

/* Global Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #f0f4f8, #eaf0f6);
  font-family: 'Inter', sans-serif;
  color: #333;
}

/* Container */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

/* Card Layout */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Typography */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  border-bottom: 2px solid #1abc9c;
  padding-bottom: 0.3rem;
  margin-top: 0;
}

h3 {
  font-size: 1.2rem;
  color: #34495e;
  margin-top: 1rem;
}

ul {
  padding-left: 1.2rem;
}

a {
  color: #1abc9c;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #16a085;
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  padding: 1rem 0;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }
}

/* Form Container */
.form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Input and Textarea */
.form input,
.form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background-color: white;
  color: #333;
  line-height: 1.5;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  display: block;
}

/* Focus Styles */
.form input:focus,
.form textarea:focus {
  border-color: #1abc9c;
  outline: none;
  background-color: #f0fff4;
  transform: scale(1.01);
}

/* Textarea Specifics */
.form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.form button {
  width: 100%;
  padding: 0.75rem;
  background-color: #1abc9c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form button:hover {
  background-color: #16a085;
}

