/* SEO improvements: preserve the original Bootstrap layout, adapt for mobile/desktop. */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.navbar-brand img { width: auto !important; height: auto !important; max-width: 214px; max-height: 66px; object-fit: contain; }
#contact iframe { display: block; min-height: 320px; width: 100% !important; }
#contact .resize { height: 460px !important; width: 100% !important; max-width: 100% !important; }
#contact .px-5 { padding-top: 24px; padding-bottom: 32px; }
.wa-contact-actions { margin: 0 0 30px; }
.wa-main-btn { display: inline-block; white-space: normal; border-radius: 8px; padding: 14px 22px; background: #208e4b; border-color: #208e4b; color: #fff !important; font-weight: 600; }
.wa-main-btn:hover, .wa-main-btn:focus { background: #16693a; border-color: #16693a; color: #fff !important; }
.wa-contact-help { margin-top: 12px; color: #163a48; }
.wa-hero-btn { color:#13405d !important; font-weight: 650; }
.wa-float { position: fixed; bottom: 18px; right: 18px; width: 58px; height: 58px; display:flex; align-items:center; justify-content:center; border-radius: 50%; background:#208e4b; color:#fff !important; box-shadow:0 6px 18px rgba(0,0,0,.28); z-index: 10050; font-size: 30px; line-height:1; text-decoration:none !important; border: 2px solid #fff; }
.wa-float:hover, .wa-float:focus { background: #176d3d; color:#fff !important; }
.seo-intro { font-size: 1rem; line-height:1.75; margin: 16px 0; color:#344455; }
.seo-article-cta { background: #184d77; padding: 40px 0; color:white; text-align:center; }
.seo-article-cta h2 { color:white; font-size: 1.8rem; margin-bottom: 12px; }
.seo-article-cta p { color: white; max-width: 780px; margin: 0 auto 18px; }
.seo-article-cta .seo-backlink { margin-top: 16px; margin-bottom: 0; font-size: .92rem; }
.seo-article-cta a:not(.btn) { color:#fff; text-decoration:underline; }
/* Keep long drop-down labels accessible on small screens. */
.dropdown-menu, .navbar-collapse { max-width: 100%; }
@media (max-width: 767.98px) {
 .navbar-brand img { max-width: 150px !important; max-height: 49px; }
 .navbar { padding-top: 7px; padding-bottom: 7px; }
 .navbar-toggler { min-width: 44px; min-height: 44px; }
 .navbar-collapse { max-height: 75vh; overflow-y: auto; }
 .navbar .list-group-item { white-space: normal; }
 .testimonial-bg h1 { font-size: clamp(1.35rem,5.4vw,2rem); line-height:1.25; }
 #contact .resize { height: 250px !important; }
 #contact iframe { min-height: 250px; }
 #contact .px-5 { padding-left: 22px !important; padding-right: 22px !important; }
 .wa-main-btn { display:block; width:100%; text-align:center; }
 .wa-float { width: 52px; height:52px; bottom: max(14px, env(safe-area-inset-bottom)); right: 13px; }
 .seo-article-cta { padding: 34px 0; }
 .seo-article-cta h2 { font-size: 1.4rem; }
 .carousel-caption2 { display:none !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

.seo-heading { font-size: clamp(1.5rem, 3.2vw, 2rem); color: #153f60; margin: 10px 0 20px; font-weight: 700; }
