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

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 10px;
}

.container {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
}

/* Flyer */
.flyer-container {
  flex: 1;
  background: #f0f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.flyer {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Forms */
.form-container {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  gap: 8px;
  flex-wrap: wrap;
}
.tab-button {
  flex: 1;
  padding: 12px;
  background: #eee;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 6px;
}
.tab-button:hover {
  background: #ddd;
}
.tab-button.active {
  background: #2193b0;
  color: #fff;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tab-content {
  width: 100%;
}
.form {
  display: none;
  flex-direction: column;
}
.form.active {
  display: flex;
}
.form h2 {
  margin-bottom: 15px;
  color: #2193b0;
}
.form input, .form textarea {
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  width: 100%;
}
.form textarea {
  resize: none;
  min-height: 80px;
}
.form button {
  padding: 12px;
  background: #2193b0;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  animation: bounce 2s infinite;
}
.form button:hover {
  background: #17667f;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .flyer-container {
    order: -1;
  }
  .tabs {
    flex-direction: row;
  }
  .tab-button {
    flex: 1 1 30%;
  }
}
