/* === Global Styles === */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9fb;
  color: #333;
}

header {
  background-color: #2a67d0;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header .tagline {
  font-size: 1.1rem;
  margin: 0.5rem 0 1rem;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* === Main Content === */
main {
  padding: 2rem 1rem;
  max-width: 700px;
  margin: auto;
}

/* === Feedback Form Section === */
.feedback-section h2 {
  font-size: 1.8rem;
  color: #2a67d0;
  margin-bottom: 0.5rem;
}

.feedback-section p {
  margin-bottom: 1.5rem;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feedback-form label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.feedback-form input,
.feedback-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: #2a67d0;
  outline: none;
}

/* === Buttons === */
.btn {
  background-color: #2a67d0;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1c4fab;
}

.btn.disabled {
  background-color: gray;
  cursor: not-allowed;
  opacity: 0.7;
}

/* === Icon placement === */

.intro-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;
}

.intro-text {
  flex: 1;
  max-width: 100%;
  min-width: 240px;
}

.intro-text .btn {
  display: inline-block;
  width: 240px; /* fixed width for layout alignment */
  max-width: 100%;
}

.intro-icon {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  justify-content: flex-end;
}

.intro-icon img {
  width: 100%;
  height: auto;
}

/* Stack vertically only if screen is smaller than 2x 240px + padding (i.e. ~520px) */
@media (max-width: 520px) {
  .intro-content {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .intro-text,
  .intro-icon {
    width: 100%;
  }

  .intro-icon {
    justify-content: flex-start;
  }

  .intro-icon img {
    width: 64px;
  }
}



/* === Footer === */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background-color: #f1f1f1;
  color: #666;
}
