/* Basic reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
  background-color: #f3f0e8a1;
}

#map {
  padding: 3px;
  background-color: #ffffff;
}

#header {
  border-top: 5px solid #000;
}

a:hover {
  text-decoration: none;
}

footer {
  background-color: rgb(201, 201, 201);
}

#logo {
  width: 300px;
  height: auto;
}

/* Navbar */
.navbar, .dropdown-menu {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

nav .phone {
  font-size: 0.9rem;
}

.menu-container {
  display: inline-block;
  cursor: pointer;
}

.navbar-toggler {
  border: 0;
}

.collapsing ul, .collapse.show ul {
  text-align: center;
  margin-top: 20px;
}

.collapsing ul span, .collapse.show ul span {
  margin-bottom: 5px;
  display: inline-block;
}

.offcanvas {
  max-width: 300px;
}

.offcanvas-header {
  display: flex;
  justify-content: flex-end;
}
/* End Navbar */

/* Hero */
.showcase {
  position: relative;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  width: 100%;
  z-index: 1;
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-buttons {
  margin-bottom: 4rem;
}

/* Text styles */
.showcase h1, .showcase h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgb(0 0 0 / 60%);
}

.showcase p {
  font-size: 1rem;
  color: #000000;
}
/* End Hero */

/* Buttons */
.quote-btn,
.learn-btn,
.submit-btn,
.login-btn,
.testimonial-button {
  padding: 1rem 2rem;
  font-size: .9rem;
  line-height: normal;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.quote-btn,
.testimonial-button {
  color: #ffffff;
  background-color: rgba(23, 26, 32, 0.9);
}

.quote-btn:hover,
.testimonial-button:hover {
  background-color: rgba(23, 26, 32, 1);
}

.learn-btn {
  color: #000000;
  background-color: rgba(244, 244, 244, 0.9);
}

.learn-btn:hover {
  background-color: rgba(244, 244, 244, 1);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 4rem;
  color: #ffffff;
  background-color: #3e6ae1;
  border: none;
}

.submit-btn:hover {
  background-color: #3457b1;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 4rem;
  color: #ffffff;
  background-color: #3e6ae1;
  border: none;
}

.login-btn:hover {
  background-color: #3457b1;
}

.quote-btn,
.learn-btn,
.submit-btn,
.login-btn {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.learn-btn {
  margin-top: 1rem;
}

.hero-buttons {
  margin-left: 2rem;
  margin-right: 2rem;
}
/* End Buttons */

.hoverable {
  transition: transform 0.3s;
}

.hoverable:hover {
  transform: translateY(-5px);
}

.zoomable {
  display: inline-block;
  overflow: hidden;
  border-radius: 5px;
}

.zoomable img {
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  vertical-align: middle;
}

.zoomable img:hover {
  zoom-transform: scale(1.01);
  -ms-transform: scale(1.01); /* IE 9 */
  -moz-transform: scale(1.01); /* Firefox */
  -webkit-transform: scale(1.01); /* Safari and Chrome */
  -o-transform: scale(1.01); /* Opera */
}

#statistics {
  background-color: #ffffff;
}

#statistics i {
  color: rgba(23, 26, 32, 0.9);
}

#statistics h3 {
  font-size: 1.5rem;
}

#statistics .statistic-value {
  font-size: 2rem;
  font-weight: 500;
  margin: 10px 0;
}

/* Certifications */
.certifications {
  background-color: #ffffff;
}

.cert-wrapper {
  height: 150px;
  display: flex;
  justify-content: center;
}

.cert {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
/* End Certifications */

/* Phone Number */
.mobile-phone-number {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-right: 5px;
}

.mobile-phone-number a {
  color: #333;
  text-decoration: none;
}

.mobile-phone-number a:hover {
  color: #333;
  text-decoration: underline;
}
/* End Phone Number */

.grecaptcha-badge {
  visibility: hidden;
}

/* Website Form Field */
#div_id_website, #id_website {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  margin: 0;
  padding: 0;
}


#site-footer {
  color: #ffffff;
  background-color: #1e2224;
}

.bottom-footer a {
  text-decoration: none;
  color: #d8d8d8;
}

.bottom-footer a:hover {
  text-decoration: underline;
}

.bottom-footer {
  font-size: 0.75rem;
  color: #d8d8d8;
}

.footer-section div,
.footer-section ul,
.footer-section a {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.footer-section ul,
.contact-locations {
  padding-left: 0;
  list-style-type: none;
}

.section-title {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

.social-links a {
  color: white;
  margin: 0 1rem 0 0;
  font-size: 1rem;
  text-decoration: none;
}

.social-links a:hover {
  color: #6c757d;
}

#subscriber-email {
  color: #ffffff;
  border-color: #ffffff;
  border-radius: 4px 0 0 4px;
  border-width: 2px;
  background-color: #1e2224;
  padding: 0.5rem 1.5rem;
}

.newsletter button {
  color: #000000;
  background-color: #ffffff;
  border-color: #ffffff;
}

.newsletter button:hover {
  color: #000000;
  background-color: #c8c8c8;
  border-color: #c8c8c8;
}

.service-areas,
.contact-locations {
  list-style-type: none;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.service-areas a,
#contact-email a {
  text-decoration: none;
  color: #ffffff;
}

.contact-locations li a {
  color: #000000;
  font-size: 0.9rem;
}

.service-areas a:hover,
#contact-email a:hover {
  text-decoration: underline;
}

.location-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.testimonial-content {
  text-indent: 2rem;
}

.testimonial-author {
  font-weight: bold;
}

.bottom-footer .company-name,
.bottom-footer .links {
  display: block;
  text-align: center;
}

.bottom-footer .links .separator:first-child {
  display: none;
}

.bottom-footer .links {
  margin-top: 10px;
}

.footer-section {
  margin-bottom: 20px;
}

#location-photo {
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.alert-error {
  color: red;
}

.newsletter-alert {
  margin: 0;
  padding: 0;
}

@media screen and (min-width: 600px) {
  .newsletter {
    padding-right: 40%;
  }
}

@media screen and (min-width: 768px) {
  .bottom-footer .company-name,
  .bottom-footer .links {
    display: inline;
  }

  .bottom-footer .links .separator:first-child {
    display: inline;
  }

  .quote-btn,
  .learn-btn,
  .submit-btn,
  .testimonial-button {
    width: auto;
    max-width: none;
    display: inline-flex;
    flex-direction: row;
  }

  .learn-btn {
    margin-top: 0;
    margin-left: 1rem;
  }

  .showcase h1, .showcase h2 {
    font-size: 2rem;
    font-weight: 600;
  }

  .showcase p {
    font-size: 1.2rem;
    color: #000000;
  }

  #location-photo {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .showcase {
    min-height: 800px;
  }
}

@media screen and (min-width: 992px) {
  .mobile-phone-number {
    display: none;
  }

  .newsletter {
    padding-right: 10%;
  }
}

@media screen and (min-width: 1200px) {
  .newsletter {
    padding-right: 20%;
  }

  #location-photo {
    padding-right: 5rem;
    padding-left: 5rem;
  }
}

.autocomplete-suggestions {
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
  }

  .autocomplete-suggestion {
    padding: 8px;
    cursor: pointer;
    font-size: 0.8rem;
  }

  .autocomplete-suggestion:hover {
    background-color: #f0f0f0;
  }

  /* Announcement Bar */
.site-announcement {
  background-color: #1e2224;
  color: #ffffff;
  padding: 0.6rem 0;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-announcement p { font-size: 0.95rem; }
.announcement-link {
  color: #ffffff;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.announcement-link:hover { opacity: 0.85; }
.announcement-dismiss {
  background: transparent;
  color: #ffffff;
  border: 0;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

/* Pay at Closing badge */
.pay-at-closing-chip {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f5132;
  background-color: #d1e7dd; /* soft green */
  border: 1px solid #badbcc;
  border-radius: 999px;
}

/* Explainer section */
.pay-at-closing {
  background-color: #ffffff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}
.pac-list {
  margin: 1rem 0 0 1rem;
}
.pac-list li {
  margin-bottom: 0.4rem;
}
.pac-card {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.pac-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.pac-steps {
  margin-left: 1.2rem;
}
.pac-steps li {
  margin-bottom: 0.5rem;
}
.pac-card-cta {
  margin-top: 1rem;
}

/* Slight spacing tweak so chip plays nice on desktop */
@media screen and (min-width: 768px) {
  .pay-at-closing-chip { margin-left: 0.5rem; }
}
