/* Modern Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f4f7f6;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  background-color: #0f172a;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 1.5em;
  letter-spacing: 0.5px;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #ffffff;
}

/* Main Container Layout */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.business-card {
  background-color: #f4f4f4;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
}

/* Contact Section / Card Wrapper */
section {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 500px;
  border-left: none; /* Removed the awkward side stripe */
}

h2 {
  color: #0f172a;
  margin-bottom: 24px;
  font-size: 1.75em;
  text-align: center;
}

/* Form Alignment Fixes */
form {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Uniformly spaces out all form elements cleanly */
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  color: #334155;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"],
textarea:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
button[type="submit"] {
  background-color: #2563eb;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

button[type="submit"]:hover {
  background-color: #1d4ed8;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: #64748b;
  font-size: 0.9em;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}
