/* Accessibility: Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Fixed smoky gray phone call button for desktop */
.fixed-call-btn {
  position: fixed;
  bottom: 2.2rem;
  left: 2.2rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #8B8B8D;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.fixed-call-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.fixed-call-btn .phone-emoji {
  font-size: 32px;
  line-height: 1;
  display: block;
}
@media (max-width: 900px) {
  .fixed-call-btn {
    display: none;
  }
}
/* Ensure dropdown menu links are not all caps, even if inherited from .nav-pills a */
.nav-dropdown .dropdown-menu a {
  text-transform: none !important;
  letter-spacing: normal !important;
}
/* Ultra-modern sleek dropdown for Services */
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 0.25rem);
  min-width: 280px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,119,182,0.06), 0 0 1px rgba(0,0,0,0.04);
  border-radius: 1rem;
  z-index: 100;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(0,119,182,0.06);
  opacity: 0;
  animation: fadeInDropdown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  backdrop-filter: blur(10px);
}

/* Add padding to the top of dropdown to bridge the gap */
.nav-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: transparent;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1.25rem;
  color: #2c3e50;
  background: transparent;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  border: none;
  border-radius: 0.65rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
  white-space: normal;
  position: relative;
  margin: 0.15rem 0;
}

.dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 70%;
  background: #0077b6;
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: linear-gradient(135deg, rgba(0,119,182,0.1) 0%, rgba(0,119,182,0.05) 100%);
  color: #0077b6;
  padding-left: 1.5rem;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,119,182,0.1);
}

.dropdown-menu a:hover::before,
.dropdown-menu a:focus::before {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

.dropdown-menu a.active::after {
  display: none;
}

.dropdown-menu li:not(:last-child) a {
  border-bottom: none;
}

.nav-dropdown .dropdown-toggle {
  position: relative;
  font-weight: 700;
  color: #222;
  background: none;
  border: none;
  padding-right: 1.2em;
}

.nav-dropdown .dropdown-toggle.active::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.2em);
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 119, 182, 0.4) 0%, #0077b6 50%, rgba(0, 119, 182, 0.4) 100%);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.3);
}

.nav-dropdown .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.5em;
  vertical-align: middle;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 8L10 12L14 8" stroke="%230077b6" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
  background-size: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  right: 0.1em;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  opacity: 0.7;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle {
  color: #0077b6;
}
.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown:focus-within .dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0,119,182,0.2));
}

@media (max-width: 900px) {
  /* Hide dropdown functionality on mobile - Services link will just navigate to page */
  .nav-dropdown .dropdown-menu {
    display: none !important;
  }
  .nav-dropdown .dropdown-toggle::after {
    display: none !important;
  }
}
/* Dropdown Navigation Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-toggle::after {
  content: '\25BC';
  font-size: 0.7em;
  margin-left: 0.4em;
  vertical-align: middle;
  transition: transform 0.2s;
}

.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown:focus-within .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  border-radius: 0 0 0.4rem 0.4rem;
  z-index: 100;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  width: 100%;
  padding: 0.7rem 1.2rem;
  color: #222;
  background: none;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  border: none;
  border-radius: 0;
  transition: background 0.16s, color 0.16s;
  text-transform: none;
  letter-spacing: 0.01em;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #f0f4f8;
  color: #0077b6;
}

@media (max-width: 900px) {
  .nav-dropdown {
    position: static;
  }
  .dropdown-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    background: #fff;
    border-radius: 0 0 0.4rem 0.4rem;
    padding: 0.2rem 0 0.2rem 0.5rem;
  }
  .dropdown-menu a {
    padding: 0.6rem 0.7rem;
    font-size: 1rem;
  }
}
/* Modern Contact Form Layout */
.contact-section {
  width: 100%;
  background: #fafbfc;
  padding: 2.5rem 0 3.5rem 0;
}
.contact-form-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: center;
}
.contact-form-left {
  flex: 2 1 420px;
  min-width: 320px;
  max-width: 650px;
}
.contact-form-right {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  background: none;
  padding-top: 2.2rem;
}
.contact-form-modern {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row-2col {
  display: flex;
  gap: 1.2rem;
}
.form-row-2col input,
.form-row-2col select,
.form-row-2col textarea {
  flex: 1 1 0%;
  padding: 1.1rem 1rem;
  border-radius: 0;
  border: 1.5px solid #d1d5db;
  font-size: 1.08rem;
  font-family: inherit;
  background: #fff;
  margin: 0;
  box-sizing: border-box;
  resize: none;
  height: 3.4rem;
  line-height: 1.2;
}
.form-row-2col textarea {
  min-height: 6.5rem;
  max-height: 14rem;
  height: auto;
}

.form-row-2col select {
  min-height: unset;
  height: 3.4rem;
  line-height: 1.2;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 0;
}
.contact-submit-btn {
  background: #0077b6;
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  border: none;
  border-radius: 0;
  padding: 1.1rem 2.5rem;
  margin-top: 0.7rem;
  width: auto;
  min-width: 140px;
  transition: background 0.28s cubic-bezier(.4,0,.2,1), color 0.18s, box-shadow 0.28s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
  letter-spacing: 0.03em;
  align-self: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.contact-submit-btn span { position: relative; z-index: 2; }

/* sliding gray overlay animation on hover */
.contact-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  /* slightly lighter off-white/soft-gray overlay (tiny bit lighter) */
  background: rgba(210,214,218,0.95);
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
  z-index: 1;
}
.contact-submit-btn:hover::before {
  transform: translateX(0%);
}
.contact-submit-btn:hover {
  color: #000; /* fallback in case span not targeted */
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-2px) scale(1.04);
}

.contact-submit-btn:hover span {
  color: #000; /* make the visible text black when overlayed */
  transition: color 160ms ease;
}
.contact-info-block {
  margin-bottom: 2.2rem;
}
.contact-info-block h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #111;
}
.contact-info-block p {
  font-size: 1.05rem;
  color: #222;
  margin: 0 0 0.5rem 0;
}
.contact-info-block a {
  color: #e11d48;
  text-decoration: underline;
  font-weight: 600;
}
.contact-info-block .social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.contact-info-block .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.contact-info-block .social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}
.contact-info-block .social-icons svg {
  display: block;
}
@media (max-width: 900px) {
  .contact-form-grid {
    flex-direction: column;
    gap: 2.2rem;
    padding: 0 0.5rem;
  }
  .contact-form-right {
    padding-top: 0.5rem;
    max-width: 100%;
  }
}
/* Google Reviews Section */
.google-reviews-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f7fafc;
  padding: 3.5rem 0 2.5rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  z-index: 1;
}
.google-reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.google-reviews-title {
  font-size: 2.1rem;
  color: #0077b6;
  font-weight: 800;
  margin-bottom: 2.2rem;
}
.google-reviews-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.google-review-placeholder {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem 1.2rem 1.5rem;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.08rem;
  color: #222;
}
.google-review-placeholder p {
  margin: 0.5rem 0;
}
.google-review-placeholder span {
  color: #2b2b2b;
  font-size: 0.98rem;
  margin-top: 0.7rem;
  font-weight: 700;
}
.google-reviews-cta {
  margin-top: 1.5rem;
}
.google-reviews-cta .btn {
  background: #0077b6;
  color: #fff;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.18s;
}
.google-reviews-cta .btn:hover {
  background: #009be6;
}
@media (max-width: 900px) {
  .google-reviews-list {
    flex-direction: column;
    gap: 1.2rem;
  }
  .google-reviews-section {
    padding: 2.2rem 0 1.5rem 0;
  }
}
/* Feature Boxes Section Below Hero */
.feature-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 auto;
  max-width: 1100px;
  padding: 1.5rem 0 0 0;
}

.feature-box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 2.2rem 1.2rem 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-box:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-4px) scale(1.03);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.1rem;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0077b6;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.feature-desc {
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
}

@media (max-width: 900px) {
  .feature-boxes {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0 0 0;
  }
  .feature-box {
    padding: 1.5rem 0.7rem 1.1rem 0.7rem;
  }
}

@media (max-width: 600px) {
  .feature-boxes {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0 0 0;
  }
  .feature-box {
    padding: 1.1rem 0.5rem 0.8rem 0.5rem;
  }
}
/* Overlay logo on hero image (top left) */
.hero-full-bleed .hero-overlay-logo {
  display: none;
  /* Hidden on desktop */
}

/* Hero H1 - hidden visually but accessible to search engines */
.hero-full-bleed .hero-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .hero-full-bleed .hero-overlay-logo {
    display: block;
    position: absolute;
    top: 0.5vw;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    min-width: 200px;
    max-width: 180vw;
    height: auto;
    z-index: 30;
    pointer-events: none;
    opacity: 0.85;
    /* Centered and 15% smaller on mobile */
  }
}
/* Contact page hero banner */
.contact-hero-banner {
  width: 100%;
  margin-top: 0;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: #f7fafc;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.contact-hero-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  filter: brightness(0.97) contrast(1.04);
}
/* 1rem = 16px */

/* Global */
html {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  font-family: Inter, sans-serif;
  margin: 0;
  background: #f7fafc;
  color: #111;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 68.75rem; /* 1100px */
  margin: auto;
  padding: 0 1rem;
}

/* Header */
.header {
  padding-top: 0;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%);
  color: #0077b6;
  padding: 0.5rem 0;
  margin-top: -0.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid #e8eef3;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Position the mobile hamburger to the right and center it vertically */
.topbar {
  position: relative;
}

.nav-toggle {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* Ensure the nav occupies the full width on mobile and drops below the topbar when opened */
.topbar nav {
  width: 100%;
  order: 3;
}

nav ul {
  display: none;
  width: 100%;
}

.nav-open nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* Pill-style main navigation (desktop: horizontal pills, mobile: stacked full-width) */
.main-nav {
  background: transparent;
}

.nav-pills {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0 0;
  align-items: center;
}


.nav-pills a {
  display: inline-block;
  padding: 0 0.7rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  color: #222;
  background: none;
  border: none;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.08rem;
  transition: color 160ms ease;
}


.nav-pills a:hover,
.nav-pills a:focus,
.nav-pills a.active {
  color: #0077b6;
  background: none;
}

.nav-pills li:not(.nav-dropdown) > a.active {
  position: relative;
}

.nav-pills li:not(.nav-dropdown) > a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 119, 182, 0.4) 0%, #0077b6 50%, rgba(0, 119, 182, 0.4) 100%);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.3);
}

.dropdown-menu a.active::after {
  display: none !important;
}

/* Call pill standout */
.nav-pills a.call-pill {
  background: #000; /* black */
  color: #fff;
}

.nav-pills a.call-pill:hover,
.nav-pills a.call-pill:focus {
  background: #222;
  color: #fff;
}

/* Large call CTA row */
.call-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.call-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent; /* no pill box */
  color: #000000; /* blue text to match header */
  padding: 0; /* remove bubble padding */
  border-radius: 0;
  font-weight: 800;
  text-decoration: none;
  border: none;
  font-size: 1.05rem;
}

.call-large .call-text {
  font-weight: 650;
}

.call-large .call-number {
  color: #e11d48; /* red phone number */
  font-weight: 900;
}

.call-large .call-emoji {
  font-size: 1.15rem;
}

.call-large:hover {
  text-decoration: underline;
  transform: none;
}

/* Schedule Now Button */
.schedule-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0077b6;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.28s cubic-bezier(.4,0,.2,1), color 0.18s, box-shadow 0.28s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
}

.schedule-now-btn svg {
  position: relative;
  z-index: 2;
}

.schedule-now-btn span {
  position: relative;
  z-index: 2;
}

.schedule-now-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(210,214,218,0.95);
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
  z-index: 1;
}

.schedule-now-btn:hover::before {
  transform: translateX(0%);
}

.schedule-now-btn:hover {
  color: #000;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-2px) scale(1.04);
}

.schedule-now-btn:hover span,
.schedule-now-btn:hover svg {
  color: #000;
  transition: color 160ms ease;
}

/* Smooth transitions for pills */
.nav-pills a,
.call-large {
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease;
}

/* Mobile phone button (hidden by default, shown on small screens) */
.mobile-phone-btn {
  display: none;
}

/* Ensure nav sits on its own line under the call CTA */
.header-secondary {
  position: relative;
}

.header-secondary .main-nav {
  display: flex;
  justify-content: center;
}

.header-secondary .nav-pills {
  justify-content: center;
}

/* Header size adjustments */
.header {
  padding: 0.5rem 0;
}


@media (min-width: 700px) {
  .call-row { justify-content: center; }
  .nav-pills { margin-top: 0.5rem; }
  .nav-pills { padding-bottom: 0.35rem; }

  /* Stack CTA above the pills and center them on larger screens */
  .header-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* restore the earlier small rightward nudge so CTA + pills sit slightly right of center */
    transform: translateX(22%);
  }
  /* Slightly larger CTA on desktop for emphasis */
  .call-large {
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    line-height: 1.1;
    margin-top: -0.70rem;
  }
  .call-large .call-emoji { font-size: 1.65rem; }

  /* Move the logo halfway between the left side and center on desktop */
  .topbar {
    position: relative;
    min-height: 2.75rem; /* keep topbar compact */
  }

  /* take the logo out of normal flow so header height can be reduced without clipping the image */
  .topbar .logo {
    position: absolute;
    left: 25%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
  }
  /* Add a small top padding to the topbar on desktop so the logo isn't flush to the very top. */
  .topbar {
    padding-top: 0; /* remove extra top padding so header doesn't grow */
  }

  /* Make header slightly shorter on desktop by keeping bottom padding unchanged. */
  .header {
    padding: 0 0 0.32rem;
    overflow: visible; /* allow logo to visually overlap without expanding header */
  }

  /* Make the logo slightly larger and visually center it using transform
     so the header height does not change. Transform does not affect layout height. */
     .site-logo {
       margin-top: 0;
       height: 10.5rem; /* even larger logo */
       /* visually lower the logo so it overlaps the header bar, but header stays compact */
       transform: translateY(3.2rem);
       z-index: 30;
       position: relative;
       pointer-events: auto; /* allow clicking */
       cursor: pointer;
     }

  .header-secondary .call-row {
    justify-content: center;
  }

  .header-secondary .main-nav {
    justify-content: center;
    width: 100%;
  }

  .header-secondary .nav-pills {
    justify-content: center;
    margin-right: 0;
  }
  /* Reduce header-secondary bottom padding on desktop only (20% reduction) */
  .header-secondary {
    padding-bottom: 0.64rem;
  }

  .nav-toggle {
    display: none !important;
  }
  nav ul.nav-pills {
    display: flex !important;
    flex-direction: row;
    gap: 1.25rem;
    width: auto;
    margin: 0.25rem 0 0 0;
    background: none;
    box-shadow: none;
    position: static;
  }
  .main-nav {
    background: none;
    box-shadow: none;
  }
  .header-secondary {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 68.75rem;
    margin: auto;
    padding: 0 1rem;
  }
}

@media (max-width: 700px) {
  /* Make header fixed on mobile */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    margin-top: 0 !important;
  }

  /* Add body padding to prevent content from being hidden */
  body {
    padding-top: 5rem !important;
  }

  .site-logo {
    height: 6.2rem; /* even larger on mobile */
    margin-top: -0.6rem; /* move logo up on mobile */
  }
  .call-large { font-size: 0.95rem; padding: 0.6rem 0.75rem; }

  /* center logo in topbar on mobile and give topbar an explicit height so the phone square can match it */
  .topbar {
    justify-content: center;
    position: relative;
    height: 4rem; /* reduced mobile topbar height */
    align-items: center;
  }

  /* Make the phone button match the topbar height and sit flush on the left */
  .mobile-phone-btn {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%; /* match the topbar height */
    width: 4rem; /* square matching topbar height */
    background: #e11d48; /* red */
    border-radius: 0; /* make the square fully sharp (no rounded corners) */
    align-items: center;
    justify-content: center;
    z-index: 40;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .mobile-phone-btn svg { width: 2.3rem; height: 2.3rem; display: block; }

  /* When the mobile menu opens, make header-secondary full-bleed so pills can truly center on screen */
  header.nav-open .header-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem 0;
    box-sizing: border-box;
  }

  /* Center the pill list and make pills auto-width so they appear centered and stacked */
  header.nav-open .nav-pills {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .nav-pills a {
    width: auto;
    min-width: 8rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    text-align: center;
  }
}

/* Mobile: stack pills and control layout when the hamburger opens */
@media (max-width: 700px) {
  .call-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .schedule-now-btn {
    display: none;
  }

  .nav-pills {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .nav-pills a {
    width: auto; /* keep pills auto-width so they center nicely */
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 7.5rem;
  }

  /* Remove gap between header and content on mobile */
  .hero {
    padding-top: 0 !important;
  }

  .contact-hero-banner {
    margin-top: 0 !important;
  }

  .hero-full-bleed {
    margin-top: 0 !important;
  }

  .hero-bg-img {
    display: block;
    margin-top: 0 !important;
  }

  /* Mobile: hide the CTA + pills until hamburger toggles them */
  .header-secondary {
    display: none;
  }

  /* When header has .nav-open, show the CTA and make header-secondary full-bleed so pills center on viewport */
  header.nav-open .header-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem 0;
    box-sizing: border-box;
  }

  header.nav-open .nav-pills {
    display: flex;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  header.nav-open .call-row {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.25rem 1rem 0;
    box-sizing: border-box;
  }

  /* When the mobile menu is open, hide the floating red phone square to avoid overlap */
  header.nav-open .mobile-phone-btn {
    display: none;
  }
}

.logo {
  font-size: 1.375rem;
  font-weight: 300;
  padding: 0rem;
}


.logo img {
  height: auto;
  max-height: 12rem; /* increased from 10.5rem */
  width: auto;
  display: block;
  margin-top: 0;
  margin-left: -11rem;
  z-index: 30;
  position: relative;
  pointer-events: auto; /* clickable */
  cursor: pointer;
}

@media (max-width: 700px) {
  .logo img {
    max-height: 6.2rem; /* even larger on mobile */
    margin-top: -0.45rem; /* move logo up on mobile */
    margin-left: 0; /* reset margin on mobile */
    pointer-events: auto;
  }
}

.header-secondary {
  padding-bottom: 1rem; /* more breathing room below the pills */
}

nav ul {
  display: none;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  color: #0077b6;
  font-weight: 600;
  text-decoration: none;
}

.nav-toggle {
  display: inline-block;
  font-size: 1.75rem;
  cursor: pointer;
  color: #0077b6; /* blue toggle so it's visible on white header */
  user-select: none;
  justify-content: center;
  align-items: right;
  text-align: center;
}

.nav-open nav ul {
  display: flex;
  margin-top: 0.75rem;
}

/* Hero */
.hero {
  display: block;
  padding-top: 1.25rem;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn {
  padding: 0.75rem 1.125rem;
  border-radius: 0.625rem;
  font-weight: 700;
  text-align: center;
  background: white;
  color: #0077b6;
  text-decoration: none;
}

/* Ensure specific styling for contact form submit when `.btn` is also present */
.btn.contact-submit-btn {
  background: #0077b6;
  color: #fff;
  border-radius: 0;
}

.btn.secondary {
  background: transparent;
  border: 0.125rem solid rgba(255,255,255,.4);
  color: white;
}

/* Services & Cards */
.card {
  background: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.375rem 1.25rem rgba(0,0,0,.08);
  margin-top: 1.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.service {
  background: #f8fafb;
  padding: 0.875rem;
  border-radius: 0.625rem;
}

/* Forms */
form input,
form select,
form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.05rem 1.1rem;
  margin: 0.7rem 0 1.1rem 0;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 1.13rem;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.18s;
  display: block;
}

.card form {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.muted {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Pre-Footer Info Banner */
.pre-footer-banner {
  background: #f8f9fa;
  border-top: 3px solid #0077b6;
  padding: 3rem 0;
  margin-top: 3rem;
}

.pre-footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.pre-footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pre-footer-logo {
  max-width: 180px;
  height: auto;
}


/* Added link wrapper for pre-footer logo */
.pre-footer-logo-link { display:inline-block; text-decoration:none; }
.pre-footer-logo-link img { display:block; }
.pre-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pre-footer-phone,
.pre-footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

.pre-footer-phone svg,
.pre-footer-email svg {
  color: #0077b6;
  flex-shrink: 0;
}

.pre-footer-phone strong,
.pre-footer-email strong {
  color: #0077b6;
  font-weight: 700;
}

.pre-footer-center h3,
.pre-footer-right h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0077b6;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pre-footer-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pre-footer-services li a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.pre-footer-services li a:hover {
  color: #0077b6;
  text-decoration: underline;
}

.pre-footer-address,
.pre-footer-hours {
  color: #333;
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
}

.pre-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.pre-footer-social a {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pre-footer-social a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (max-width: 900px) {
  .pre-footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .pre-footer-left {
    align-items: center;
  }

  .pre-footer-social {
    justify-content: center;
  }

  .pre-footer-services {
    align-items: center;
  }
}

/* Footer */
.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: .75rem 0;
  text-align: center;
  margin-top: 3rem;
  margin-top: auto; /* push footer to bottom when page is short */
}
/* (Removed legacy .hero-split layout: unused classes .hero-split/.hero-img-col/.hero-form-col/.hero-img) */
.request-form-card {
  background: #e0f2fe;
  border-radius: 1.25rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  margin: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.request-form-card h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 2rem;
  color: #111;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.request-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.request-form input,
.request-form select {
  flex: 1 1 0%;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #b6e0fe;
  font-size: 1rem;
  background: #fff;
  color: #222;
  margin: 0;
}
.request-form select {
  min-width: 140px;
}
.request-form input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}
.request-form .checkbox-label {
  font-size: 0.98rem;
  color: #222;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.btn.form-btn {
  background: #0077b6;
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  border: none;
  border-radius: 0;
  padding: 1.1rem 2.5rem;
  margin-top: 0.7rem;
  width: 100%;
  transition: background 0.28s cubic-bezier(.4,0,.2,1), color 0.18s, box-shadow 0.28s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn.form-btn span { position: relative; z-index: 2; }

/* sliding gray overlay animation on hover */
.btn.form-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(210,214,218,0.95);
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
  z-index: 1;
}
.btn.form-btn:hover::before {
  transform: translateX(0%);
}
.btn.form-btn:hover {
  color: #000;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-2px) scale(1.04);
}
.btn.form-btn:hover span {
  color: #000;
  transition: color 160ms ease;
}
@media (max-width: 900px) {
  .request-form-card {
    margin: 2rem 0.5rem;
    padding: 2rem 1rem 1.5rem 1rem;
  }
}

/* Full-bleed hero image with floating request form */
.hero-full-bleed {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  max-height: 80vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block; /* ensure block formatting */
}
/* Hide floating request form entirely on smaller mobile screens */
@media (max-width: 900px) { .floating-request-form { display: none !important; } }
/* Desktop tweaks: slightly larger form and move it down a bit */
@media (min-width: 901px) {
  .request-form-card {
    max-width: 380px;
    padding: 1.9rem 1.5rem 1.4rem 1.5rem;
    background: #e9ecf0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.22);
  }
  .request-form-card h2 { font-size: 1.6rem; }
  .request-form input,
  .request-form select { padding: 0.85rem 0.95rem; font-size: 1rem; }
  .floating-request-form { bottom: 0.5vh; right: 18vw; }
}
/* End hero-full-bleed base + responsive overrides */
.hero-bg-img {
  width: 100vw;
  min-height: 60vh;
  max-height: 80vh;
  height: 60vh;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}
.floating-request-form {
  position: absolute;
  right: 10vw;
  bottom: 6vh;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  pointer-events: none;
}
.request-form-card {
  background: #e0f2fe;
  border-radius: 1.25rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  max-width: 340px;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: auto;
}
.request-form-card h2 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: 1.45rem;
  color: #111;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: left;
}
.request-form .form-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.request-form input,
.request-form select {
  flex: 1 1 0%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid #b6e0fe;
  font-size: 0.98rem;
  background: #fff;
  color: #222;
  margin: 0;
}
.request-form select {
  min-width: 90px;
}
.request-form input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}
.request-form .checkbox-label {
  font-size: 0.93rem;
  color: #222;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.btn.form-btn {
  background: #0077b6;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  margin-top: 0.3rem;
  cursor: pointer;
  transition: background 0.18s;
}
.btn.form-btn:hover {
  background: #009be6;
}
@media (max-width: 900px) {
  .hero-full-bleed {
    min-height: 340px;
    max-height: 420px;
  }
  .hero-bg-img {
    min-height: 340px;
    max-height: 420px;
    height: 340px;
  }
  .floating-request-form {
    right: 50%;
    transform: translateX(50%);
    bottom: 4vw;
    width: 100vw;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
  }
  .request-form-card {
    max-width: 88vw;
    min-width: 0;
    padding: 0.7rem 0.4rem 0.7rem 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    pointer-events: auto;
  }
  .request-form-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  .request-form .form-row {
    gap: 0.3rem;
    margin-bottom: 0.5rem;
  }
  .request-form input,
  .request-form select {
    font-size: 0.92rem;
    padding: 0.5rem 0.5rem;
  }
  .btn.form-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}
@media (min-width: 700px) {
  .container.topbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 68.75rem;
    margin: auto;
    padding: 0 1rem;
    position: relative;
    z-index: 20;
  }
  .container.header-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 68.75rem;
    margin: auto;
    padding: 0 1rem;
    z-index: 10;
  }
  .header {
    z-index: 100;
    position: relative;
  }
  .hero-split {
    z-index: 1;
    position: relative;
  }
}

/* Mobile: make hamburger open a fixed popout overlay instead of pushing page down */
@media (max-width: 700px) {
  /* Use a centered, capped-width popout panel on mobile so it won't stick off-screen */
  header.nav-open .header-secondary {
    position: fixed !important;
    left: 50%;
    transform: translateX(-50%);
    top: 4.25rem; /* sit just below the topbar */
    width: min(92vw, 420px);
    height: auto;
    max-height: calc(100vh - 5.5rem);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255,255,255,0.98);
    padding: 0.75rem 0.75rem 1rem 0.75rem;
    box-sizing: border-box;
    z-index: 400;
    overflow-y: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  /* stack and center pills inside the centered panel */
  header.nav-open .nav-pills {
    display: flex !important;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center; /* center items horizontally */
    width: 100%;
    padding: 0.5rem 0.5rem 0.75rem;
    box-sizing: border-box;
  }

  /* make each list item a centered flex container so its child link can size itself */
  header.nav-open .nav-pills li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* pill links use auto width but keep a comfortable minimum so they look like buttons */
  header.nav-open .nav-pills li a {
    display: inline-block;
    width: auto;
    min-width: 60%;
    text-align: center;
  }

  /* keep call-row visible at top of panel */
  header.nav-open .call-row {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 0.25rem 0.5rem 0.5rem;
    box-sizing: border-box;
  }

  /* ensure floating mobile phone button remains hidden when overlay opens */
  header.nav-open .mobile-phone-btn {
    display: none !important;
  }
}

/* Ensure desktop-only visual overrides (force smoky gray and lower placement) */
@media (min-width: 901px) {
  /* More specific selector to override earlier generic rules */
  .hero-full-bleed .request-form-card {
    background: #333333 !important; /* much darker gray */
    color: #fff;
    box-shadow: 0 14px 60px rgba(0,0,0,0.10) !important;
    max-width: 480px !important; /* slightly less wide */
    min-height: unset !important; /* revert height to original */
  }

  .hero-full-bleed .request-form-card h2 {
    color: #fff !important;
    font-weight: 700 !important; /* more bold */
    font-size: 2.1rem !important; /* bigger font */
  }

  /* Move the floating form further down (desktop only) */
  .floating-request-form {
    /* allow the form to protrude from the bottom of the hero */
    bottom: -12vh !important;
    z-index: 120 !important;
  }

  /* allow overflow so the floating form can stick out beyond the hero image */
  .hero-full-bleed {
    overflow: visible !important;
  }
}

/* New Content Section Below Hero */
.new-content-section {
  margin-top: 7rem; /* Further increased gap between request form and this section */
  padding: 2rem;
  background-color: #f7fafc; /* Light background for contrast */
  text-align: center;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.new-content-section h2 {
  font-size: 2rem;
  color: #0077b6; /* Primary blue */
  margin-bottom: 1rem;
}

.new-content-section p {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.new-content-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-content-section ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .new-content-section {
    margin-top: -2rem; /* Negative margin to move the section up even more on mobile */
  }
  
  /* Hide active navigation underline on mobile */
  .nav-pills li:not(.nav-dropdown) > a.active::after,
  .nav-dropdown .dropdown-toggle.active::before {
    display: none;
  }
}

@media (max-width: 700px) {
  header.nav-open .nav-pills {
    gap: 0.2rem; /* Move nav items closer together */
    margin-top: 0.5rem;
  }
  .nav-pills li {
    width: 100%;
  }
  .nav-pills li:not(:last-child) {
    border-bottom: 1.5px solid #e0e0e0; /* Modern divider line */
    margin-bottom: 0.1rem;
  }
  header.nav-open .main-nav {
    margin-top: 0.2rem; /* Move nav closer to CTA */
  }
}

/* Request Service Card Adjustments */
.hero-full-bleed .request-form-card {
  border-radius: 0.5rem !important; /* less rounded corners */
}
.hero-full-bleed .request-form-card h2 {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 2.1rem !important;
  letter-spacing: 1px !important;
  margin-bottom: 1.75rem !important;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}
/* Slight transparency + blur for home hero request form */
.hero-full-bleed .request-form-card {
  background: rgba(224, 242, 254, 0.78); /* light translucent base */
  backdrop-filter: blur(6px);
}
@media (min-width: 901px) {
  .hero-full-bleed .request-form-card {
    background: rgba(51, 51, 51, 0.78) !important; /* keep dark desktop variant translucent */
    backdrop-filter: blur(8px);
  }
}
@media (min-width: 901px) {
  .hero-full-bleed .request-form-card {
    border-radius: 0.5rem !important;
  }
  .hero-full-bleed .request-form-card h2 {
    color: #fff !important;
    font-weight: 540 !important;
    font-size: 2.4rem !important;
    margin-bottom: 1.8rem;
  }
}

/* About Page Styles */
.about-section {
  background: #f9fafb;
  padding: 3rem 0 4rem 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  object-fit: cover;
  object-position: top;
  min-height: 650px;
}

.about-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

.about-content-bottom {
  max-width: 100%;
  margin-top: 2rem;
}

.about-values {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.about-values li {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.about-values li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0077b6;
  font-weight: bold;
  font-size: 1.2rem;
}

.about-values strong {
  color: #0077b6;
  font-weight: 700;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 400px 1fr;
    gap: 4rem;
  }
  
  .about-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 2rem 0 3rem 0;
  }
  
  .about-grid {
    gap: 1.5rem;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }
  
  .about-image {
    display: flex;
    justify-content: center;
  }
  
  .about-image img {
    max-width: 320px;
    min-height: auto;
    height: auto;
  }
}

/* Services Page - Modern Grid */
.services-section {
  background: #f9fafb;
  padding: 1.5rem 0 4rem;
}

.services-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.services-intro h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  margin-top: 0;
}

.services-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  font-weight: 400;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  display: block;
  background: #1a1a1a;
  border-top: 4px solid #0077b6;
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0,119,182,0.6), 0 0 40px rgba(0,119,182,0.4), 0 0 60px rgba(0,119,182,0.2);
}

.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon svg {
  width: 80px;
  height: 80px;
}

.service-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* Service Areas page specific downsized cards (no icons) */
#service-areas .services-grid-modern .service-card {
  padding: 1rem 0.75rem;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}

#service-areas .services-grid-modern .service-card h2 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: none;
}

#service-areas .services-grid-modern {
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .services-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .services-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .services-section {
    padding: 2rem 0;
  }
  
  .service-card {
    padding: 2rem 1rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .service-icon {
    margin-bottom: 1rem;
  }
  
  .service-icon svg {
    width: 60px;
    height: 60px;
  }
  
  .service-card h2 {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

/* Service Detail Pages - Modern Design */
.service-detail-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.service-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #0077b6 0%, #005a8d 100%);
  border-radius: 12px;
  color: white;
}

.service-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.95;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  margin-top: 2rem;
}

.service-main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.content-card h2 {
  color: #0077b6;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-left: 4px solid #0077b6;
  padding-left: 1rem;
}

.content-card h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.services-list-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-item:hover {
  background: #e3f2fd;
  transform: translateX(5px);
}

.check-icon {
  color: #0077b6;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  border: 2px solid #0077b6;
}

.warning-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.warning-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.warning-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.warning-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.warning-item strong {
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.warning-item p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tip-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 8px;
  border: 2px solid #0077b6;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
}

.tip-card h3 {
  color: #0077b6;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.tip-card p {
  color: #333;
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.benefit-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-top: 3px solid #0077b6;
}

.benefit-item strong {
  color: #0077b6;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.benefit-item p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-card, .info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cta-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  text-align: center;
}

.cta-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-card p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.btn-primary {
  display: block;
  background: #0077b6;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #005a8d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.4);
}

.btn-secondary {
  display: block;
  background: white;
  color: #0077b6;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.info-card h3 {
  color: #0077b6;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  border-bottom: 2px solid #e3f2fd;
  padding-bottom: 0.5rem;
}

.area-list, .when-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-list li, .when-list li {
  padding: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.area-list li:last-child, .when-list li:last-child {
  border-bottom: none;
}

.when-list li {
  padding-left: 0;
}

/* Responsive Design for Service Detail Pages */
@media (max-width: 1024px) {
  .service-content-grid {
    grid-template-columns: 1fr;
  }
  
  .service-sidebar {
    order: -1;
  }
  
  .tips-grid, .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 1.5rem;
  }
  
  .service-hero h1 {
    font-size: 1.8rem;
  }
  
  .service-intro {
    font-size: 1rem;
  }
  
  .content-card {
    padding: 1.5rem;
  }
  
  .content-card h2 {
    font-size: 1.5rem;
  }
  
  .services-list-modern {
    grid-template-columns: 1fr;
  }
  
  .service-detail-section {
    padding: 2rem 0;
  }
}
