/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f4f7f9;
  color: #333;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.logo {
  width: 100px;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: #2ecc40;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
  background: #27ae60;
  transform: scale(1.05);
}

/* Form Section */
.form-section {
  max-width: 800px;
  margin: -50px auto 50px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.full-width {
  flex: 1 1 100%;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

input:focus, textarea:focus {
  border-color: #0074d9;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  background: #0074d9;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  flex: 1 1 100%;
}

.submit-button:hover {
  background: #005fa3;
}

/* Fade-in messages */
.fade-message {
  opacity: 0;
  transition: opacity 0.5s ease;
  flex: 1 1 100%;
  margin-top: 10px;
}

.fade-message.show {
  opacity: 1;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
}

/* Fade-in animation for hero */
.fade-in {
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .form-group {
    flex: 1 1 100%;
  }

  .hero {
    height: 70vh;
  }

  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }
}
