/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

/* Container for both cards */
.container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: left;
}

/* Card */
.card {
  background-color: #9bb0ce;
  max-width: 350px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 40px 32px;
  text-align: center;
}

/* Profile image */
.profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #667eea;
  margin-bottom: 16px;
}

/* Name */
.card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

/* Profession */
.card h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 16px;
}

/* Bio */
.bio {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Links list */
.links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Link buttons */
.links a {
  display: block;
  text-decoration: none;
  background-color: #667eea;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.links a:hover {
  background-color: #764ba2;
  transform: translateY(-2px);
}

/* Feedback Card */
.feedback-card {
  max-width: 400px;
  text-align: left;
}

.feedback-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  text-align: center;
}

.feedback-description {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

/* Form */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background-color: #667eea;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.submit-btn:hover {
  background-color: #764ba2;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Form Messages */
.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s ease;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 2px solid #10b981;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 2px solid #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  
  .feedback-card,
  .card {
    max-width: 100%;
  }
}
