body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 300px;
  background-color: #ffffff;
  color: #333;
}

header {
  background-color: #0A1F44;
  color: white;
  text-align: center;
  padding: 20px;
}

.tagline {
  font-style: italic;
  margin-top: 5px;
}

nav {
  background-color: #333;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
}

nav a:hover {
  background-color: #555;
}
nav a.active {
  background-color: #0077cc; /* Branded blue highlight */
  color: white;
  border-radius: 4px;
}


main {
  padding: 20px;
}

footer {
  background-color: #0A1F44;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}
.logo {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.hero {
  background-color: #0A1F44;
  color: white;
  padding: 40px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.highlights, .trust {
  padding: 40px;
  background-color: #0A1F44; /* Deep navy */
  color: white;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 900px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


.highlights ul, .trust ul {
  list-style-type: none;
  padding-left: 0;
}

.highlights li, .trust li {
  margin-bottom: 12px;
  font-size: 1.1em;
  line-height: 1.5;
}

.homepage-image {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
}

.homepage-image img {
  max-width: 75%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.quote-form {
  max-width: 800px;
  margin: 40px auto;
  background: #f4f4f4;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.quote-form h2 {
  color: #0A1F44;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.8em;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #0A1F44;
}

.form-row small {
  display: block;
  margin-top: 6px;
  color: #555;
  font-size: 0.9em;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.required {
  color: red;
  margin-left: 4px;
}

.two-column {
  display: flex;
  gap: 20px;
}

.two-column > div {
  flex: 1;
}

.three-column {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.three-column input {
  flex: 1;
}

.checkbox-group {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.checkbox-group label {
  font-weight: normal;
  color: #0A1F44;
}

.cta-button {
  background-color: #0077cc;
  color: #fff;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  display: block;
  margin: 30px auto 0;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005fa3;
}

.form-wrapper.logo-background {
  background-image: url('images/indicator2.png'); /* adjust path */
  background-size: 1200px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0A1F44;
  padding: 80px 20px;
}

.quote-form.translucent {
  background-color: rgba(255, 255, 255, 0.25); /* soft white overlay */
  backdrop-filter: blur(0px);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}


.about-values-grid {
  padding: 40px;
  background-color: #f4f4f4;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.value-box {
  background-color: #ffffff;
  border-left: 6px solid #0077cc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.value-box img {
  width: 40px;
  height: auto;
  margin-bottom: 10px;
}

.value-box h4 {
  color: #0A1F44;
  margin-bottom: 10px;
}
.about-values-grid {
  padding: 40px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.about-values-grid h3 {
  font-size: 2rem;
  color: #0A1F44;
  margin-bottom: 30px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.value-box {
  background-color: #ffffff;
  border-left: 6px solid #0077cc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 300px;
}

.value-box img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.value-box h4 {
  color: #0A1F44;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-box p {
  font-size: 0.95rem;
  color: #333;
}
.contact-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-section h3 {
  font-size: 2rem;
  color: #0A1F44;
  margin-bottom: 10px;
}

.contact-intro {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
}

.contact-info {
  text-align: left;
  background-color: #ffffff;
  padding: 20px;
  border-left: 6px solid #0077cc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-form {
  background-color: #ffffff;
  padding: 20px;
  border-left: 6px solid #0077cc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #0A1F44;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #005fa3;
}
.map-link a {
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
}

.map-link a:hover {
  text-decoration: underline;
}
/* Scoped styles for location.html */
.location-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
}

.location-section h3 {
  font-size: 2rem;
  color: #0A1F44;
  margin-bottom: 10px;
}

.location-section p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.location-section .map-container {
  background-color: #dbe9f4;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.location-section .map-container iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.location-section .directions-link {
  margin-bottom: 30px;
}

.location-section .directions-link a {
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  font-size: 1rem;
}

.location-section .directions-link a:hover {
  text-decoration: underline;
}

.location-section .building-image {
  margin-bottom: 40px;
}

.location-section .building-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.location-section .back-link {
  margin-top: 30px;
}

.location-section .back-link a {
  display: inline-block;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  font-size: 1rem;
}

.location-section .back-link a:hover {
  text-decoration: underline;
}
/* Location Page Header */
.location-header {
  background-color: #0A1F44; /* Deep navy brand color */
  padding: 20px 0;
  text-align: center;
}

.location-header img {
  max-width: 220px;
  height: auto;
}

/* Location Page Styling */
.location-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
}

.location-section h3 {
  font-size: 2rem;
  color: #0A1F44;
  margin-bottom: 10px;
}

.location-section p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.location-section .map-container {
  margin-bottom: 30px;
}

.location-section .map-container iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.location-section .directions-link {
  margin-bottom: 30px;
}

.location-section .directions-link a {
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  font-size: 1rem;
}

.location-section .directions-link a:hover {
  text-decoration: underline;
}

.location-section .building-image {
  margin-bottom: 40px;
}

.location-section .building-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.location-section .back-link {
  margin-top: 30px;
}

.location-section .back-link a {
  display: inline-block;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  font-size: 1rem;
}

.location-section .back-link a:hover {
  text-decoration: underline;
}
/* Shared Header Styling */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 31, 68, 0.85); /* translucent navy blue */
  padding: 20px 0;
  text-align: center;
  border-bottom: 4px solid #0077cc;
  backdrop-filter: blur(4px); /* optional: adds a frosted glass effect */
}




.logo-container img {
  max-width: 220px;
  height: auto;
  margin-bottom: 10px;
}

/* Navigation Styling */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  display: inline-block;
  margin: 0 15px;
}

.main-nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.main-nav ul li a:hover {
  text-decoration: underline;
  color: #aad4ff;
}
.nav-icon {
  width: 42px;
  height: auto;
  vertical-align: middle;
  margin-right: 6px;
}
/* Join Form*/
form {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

form h1 {
  text-align: center;
  color: #003366;
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  background-color: #0077cc;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #005fa3;
}
/* Join Page*/
main {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

form {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #003366;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button[type="submit"] {
  background-color: #0077cc;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #005fa3;
}
/* Confirmation Page*/
main {
  text-align: center;
  padding: 60px 20px;
}

.apply-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 20px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.apply-button:hover {
  background-color: #005fa3;
}
.confirmation {
  text-align: center;
  padding: 60px 20px;
}

.confirmation-logo {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.apply-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 20px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.apply-button:hover {
  background-color: #005fa3;
}
.page-header {
  text-align: center;
  padding: 40px 20px;
  background-color: #003366;
  color: white;
  border-bottom: 4px solid #0077cc;
}

.page-header .logo {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
}
form h2 {
  margin-top: 40px;
  color: #003366;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.aaa-intro {
  background-color: #f0f4f8;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 2px solid #0077cc;
}

.aaa-content h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
  font-weight: 700;
}

.aaa-tagline {
  font-size: 1.25rem;
  color: #0077cc;
  font-style: italic;
  letter-spacing: 1px;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* Global fix for fixed header */
body {
    padding-top: 200px !important; /* match header height */
}

/* Universal top spacing for all page content */
main,
.page-header,
section,
.confirmation,
.location-section,
.aaa-intro,
.aaa-content {
    padding-top: 70px;
}

/* HERO SECTION */
.county-hero {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #f0f4f8;
  border-bottom: 2px solid #0077cc;
}

.county-hero h1 {
  font-size: 2.4rem;
  color: #003366;
  margin-bottom: 10px;
}

.hero-tagline {
  font-size: 1.2rem;
  color: #0077cc;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.hero-cta:hover {
  background-color: #005fa3;
}

/* COUNTY SECTIONS */
.county-locations,
.county-services,
.county-trust,
.county-cta {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.county-cta {
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.cta-button:hover {
  background-color: #005fa3;
}

/* PAGE BORDER */
.framed-page {
  border: 6px double #0A1F44;
  padding: 10px;
  background-color: white;
}

/* CITY GRID */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.city-grid span {
  padding: 8px 14px;
  border-radius: 4px;
  background-color: #f0f4f8;
  color: #003366;
  font-weight: bold;
  border: 1px solid #0077cc;
}

.city-grid span:nth-child(odd) {
  background-color: #e6f2ff;
}

/* SERVICE GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.service-card {
  padding: 14px;
  background-color: #f9f9f9;
  border: 1px solid #0077cc;
  border-radius: 6px;
  font-weight: 600;
  color: #003366;
}

.service-card.strong {
  background-color: #e6f2ff;
  border-color: #005fa3;
}

/* MAP */
.map-container img {
  width: 100%;
  max-width: 700px;
  border-radius: 6px;
  border: 2px solid #0077cc;
}
.county-map img {
    width: 100%;
    max-width: 800px;
    border: 2px solid #0A1F44;
    border-radius: 6px;
}
.trust-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.trust-item {
    background: #f7f9fc;
    border: 1px solid #dce3ee;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.trust-icon {
    font-size: 32px;
    color: #0A1F44; /* Prostar navy */
    margin-bottom: 10px;
}

.trust-item h3 {
    margin-bottom: 10px;
    color: #0A1F44;
}

.trust-item p {
    margin: 0;
    line-height: 1.4;
}
.cta-bottom {
    background: #0A1F44;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
    border-radius: 8px;
}

.cta-bottom h2 {
    margin-bottom: 10px;
}

.cta-bottom p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-button {
    background: #ffffff;
    color: #0A1F44;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.page-border {
    border: 8px solid #0A1F44; /* Prostar navy */
    padding: 30px;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}
/* COUNTY HERO IMAGE BACKGROUNDS */
.county-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    border-radius: 8px;
    color: white;
    overflow: hidden;
}

/* Dark overlay for readability */
.county-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

/* Ensure hero text stays above overlay */
.county-hero > * {
    position: relative;
    z-index: 1;
}

/* County-specific images */
.county-marion {
    background-image: url("images/marion.jpg");
}

.county-polk {
    background-image: url("images/polk.jpg");
}

.county-yamhill {
    background-image: url("images/yamhill.jpg");
}

.county-linn {
    background-image: url("images/linn.jpg");
}

.county-lane {
    background-image: url("images/lane.jpg");
}

.county-multnomah {
    background-image: url("images/multnomah.jpg");
}
/* Make all hero text white for readability on images */
.county-hero,
.county-hero h1,
.county-hero p,
.county-hero a {
    color: #ffffff;
}








