/* contact.css */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Background */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #333;
}

/* Hero section */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Card */
.hero-content {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 500px;
  width: 100%;
  animation: fadeIn 0.8s ease-in-out;
}

/* Heading */
.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #444;
}

.hero-content .subtitle {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #666;
}

/* Inputs & textarea */
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  transition: 0.3s;
  resize: none;
}

form input:focus,
form textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 5px rgba(102, 126, 234, 0.6);
}

/* Submit button */
form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

form button:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Back to Home link */
.cta-btn {
  margin-top: 15px;
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.cta-btn:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
