/* Custom Professional Styles for Jason McGuiness */

:root {
  --primary-color: #003366;
  --secondary-color: #f4f4f4;
  --accent-color: #00529B;
  --text-color: #333;
  --light-text: #fff;
  --max-width: 960px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 40px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 10px;
}

nav {
  background: #333;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 15px 10px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-color);
}

main {
  padding: 40px 0;
}

section {
  margin-bottom: 60px;
}

h2 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  color: var(--primary-color);
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  padding: 8px 15px;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--accent-color);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

/* Form Styles */
form {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.form-group textarea {
  resize: vertical;
}

button[type="submit"] {
  background: var(--accent-color);
  color: var(--light-text);
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #004080; /* Darker shade of accent-color */
}

.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
}

.status-message {
  margin-top: 15px;
  font-weight: bold;
}

.captcha-group {
  display: flex;
  flex-direction: column;
}

.captcha-group label {
  margin-bottom: 10px;
}

.captcha-group input {
  max-width: 150px; /* Limit width for captcha input */
}


footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
