/* Modernized main.css for B&J Surveying */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* Override any inconsistent font styling */
html, body, 
p, a, span, div, 
h1, h2, h3, h4, h5, h6, 
ul, ol, li, 
input, textarea, button, select, option {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  background: #f7f9fb;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; color: #c62828; }

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1em;
}

a {
  color: #1976d2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #c62828;
  text-decoration: underline;
}

#MainWrapper {
  max-width: 1100px;
  margin: 30px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30,40,90,0.08);
  overflow: hidden;
}

#Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px 16px 40px;
  background: #2196f3;
  color: #fff;
}
#Logo {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,40,90,0.10);
  padding: 12px 24px;
  margin-right: 32px;
  height: 90px;
  transition: transform 0.2s;
}
#Logo:hover {
  transform: translateY(-2px);
}
#Logo img {
  height: 64px;
  width: auto;
  display: block;
}
.header-announcement {
  margin-left: auto;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  background: #23328c;
  padding: 16px 28px;
  border-radius: 10px;
  max-width: 540px;
  text-align: right;
  box-shadow: 0 2px 8px rgba(30,40,90,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.3;
}
.header-announcement-bold {
  font-weight: 700;
  margin-right: 0;
}
.header-announcement-years {
  color: #ffd600;
  font-size: 2rem;
  font-weight: 900;
}
.header-tagline-pill {
  background: #23328c;
  color: #fff;
  border-radius: 32px;
  padding: 18px 36px;
  font-size: 1.15rem;
  font-weight: 500;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(30,40,90,0.10);
  max-width: 520px;
  min-width: 320px;
  line-height: 1.4;
  text-align: right;
}
.header-tagline-years {
  color: #ffd600;
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 2px;
}
.header-tagline-simple {
  margin-left: auto;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: right;
  max-width: 520px;
  line-height: 1.22;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
#Header h2 {
  color: #fff;
  margin: 0 0 0 24px;
  font-size: 1.2rem;
}
#ClientLogin {
  background: #fff;
  color: #1976d2;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(30,40,90,0.08);
  transition: background 0.2s, color 0.2s;
}
#ClientLogin:hover {
  background: #1976d2;
  color: #fff;
}

#MenuWrapper {
  background: #1a237e; /* solid deep blue */
  padding: 0 40px;
}
#MainNav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
#MainNav li {
  margin: 0 18px 0 0;
}
#MainNav a {
  color: #fff;
  font-size: 1.1rem;
  padding: 18px 0;
  display: block;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
#MainNav a.current, #MainNav a:hover {
  color: #42a5f5;
  border-bottom: 2px solid #42a5f5;
}

#OrderSurvey {
  background: #2196f3; /* solid light blue */
  color: #fff;
  text-align: center;
  padding: 18px 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 40px;
  border-radius: 0 0 12px 12px;
}
#OrderSurvey a {
  color: #fff;
  text-decoration: none;
}
#OrderSurvey a:hover {
  text-decoration: underline;
}

#ContentContainer {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  background: #fff;
}
#Col1 {
  flex: 3;
  min-width: 300px;
  margin-right: 40px;
}
#Col2 {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
#Col2 .ologos img {
  max-width: 120px;
  margin-bottom: 10px;
  background: #f7f9fb;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(30,40,90,0.06);
}

#Footer {
  background: #a60000; /* updated solid red */
  color: #fff;
  padding: 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}
#Footer a {
  color: #42a5f5;
  text-decoration: underline;
}
#Footer a:hover {
  color: #fff;
}
#FooterNav {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#FooterNav a {
  color: #fff;
  text-decoration: underline;
}
#FooterNav a:hover {
  color: #ffd600;
}
#FooterNav li {
  color: #fff;
}
#footerAddress {
  text-align: center;
  color: #1976d2;
  font-size: 1rem;
  margin: 18px 0 0 0;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 900px) {
  #MainWrapper, #ContentContainer, #Header, #Footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  #ContentContainer {
    flex-direction: column;
    padding: 24px 0;
  }
  #Col1, #Col2 {
    margin-right: 0;
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .header-tagline-pill {
    font-size: 1rem;
    padding: 12px 16px;
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  #Header, #Footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  #MenuWrapper {
    padding: 0 8px;
  }
  #OrderSurvey {
    margin: 0 8px;
    padding: 12px 0;
  }
  #ContentContainer {
    padding: 12px 0;
  }
}
