
/* Base styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Header & Nav */
header {
  background: #f2f2f2;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body.home main {
  margin-top: 40px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #1864ab;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #004b8d;
}

/* Main content */
main {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  background: white;
}

/* Headings */
h1 {
  font-size: 2rem;
  color: #1864ab;
  margin-bottom: 15px;
}

h2 {
  font-size: 1.5rem;
  color: #1864ab;
  margin-top: 40px;
  margin-bottom: 15px;
}

p, ul, li {
  font-size: 16px;
}

/* Section spacing */
section {
  margin-bottom: 40px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
  display: block;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}




input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

button {
  background: #1864ab;
  color: white;
  padding: 12px;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

button:hover {
  background: #145aa0;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 14px;
}

.cta-button {
  display: inline-block;
  background-color: #1864ab;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px 0;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #145aa0;
}


/* Responsive nav: 3-per-row layout */
@media (max-width: 768px) {
  nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-items: center;
    padding: 10px;
  }

  nav ul li a {
    display: block;
    padding: 8px 5px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    width: 100%;
  }
}
