.cta-button{background-color:var(--cta-color);color:#fff;border-radius:6px;padding:12px 24px;font-weight:700;font-size:15px;display:inline-block;text-align:center;border:none;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 4px 10px rgba(255,107,0,.25)}.cta-button:hover{background-color:#e06400;transform:translateY(-2px);box-shadow:0 6px 15px rgba(255,107,0,.35);text-decoration:none;color:#fff}.cta-button:active{transform:translateY(0);box-shadow:0 2px 5px rgba(255,107,0,.25)}.cta-button.large{padding:16px 32px;font-size:18px;font-weight:700;letter-spacing:.6px}.btn-outline-light{color:#fff;border:2px solid #fff;background:0 0;padding:10px 22px;font-weight:600;border-radius:6px;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px}.btn-outline-light:hover{background:rgba(255,255,255,.15);transform:translateY(-2px);text-decoration:none;color:#fff}.hero-section{background-color:var(--primary-color);color:#fff;padding:0 0 15px;position:relative;overflow:hidden;background-image:linear-gradient(to bottom,#fff 0,#fff 15%,var(--primary-color) 15%,var(--secondary-color) 100%);min-height:320px}.about-page.hero-section{background-image:linear-gradient(to bottom,#fff 0,#fff 15%,var(--primary-color) 15%,var(--secondary-color) 100%)!important}.about .hero-section.about-page,body.page-about .hero-section,body.page-template-page-about .hero-section{background-image:linear-gradient(to bottom,#fff 0,#fff 15%,var(--primary-color) 15%,var(--secondary-color) 100%)!important}.hero-section::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.05);opacity:.08;z-index:0}.warranty-banner{position:absolute;top:0;right:15px;height:80px;display:flex;justify-content:flex-end;align-items:center;padding:10px 0;z-index:10;pointer-events:none;background-color:rgba(255,0,0,.1);box-sizing:border-box}.hero-content{position:relative;z-index:1;max-height:500px;align-items:center!important}@media (min-width:992px){.hero-section .hero-content{min-height:400px}}.service-hero-section .hero-content{align-items:flex-start!important}.service-hero-section .hero-content .col-lg-6{justify-content:flex-start}.service-hero-section .hero-content .breadcrumbs{display:block;margin-bottom:10px}.location-page .hero-section .hero-content{align-items:flex-start!important}.location-page .hero-section .hero-content .col-lg-6{justify-content:flex-start}.location-page .hero-section .hero-content .breadcrumbs{display:block;margin-bottom:10px}@media (min-width:992px){.location-page .breadcrumbs-wrapper,.service-hero-section .breadcrumbs-wrapper{margin-bottom:50px}}.hero-content .col-lg-6{display:flex;flex-direction:column;justify-content:center}.hero-title{font-family:'Playfair Display',Georgia,'Times New Roman',serif;font-size:2.2rem;font-weight:600;line-height:1.2;margin-bottom:1.5rem;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.1);letter-spacing:.01em}.hero-subtitle{font-size:1.3rem;line-height:1.4;margin-bottom:2rem;color:rgba(255,255,255,.95);font-weight:400;max-width:90%}.hero-subtitle-text{font-size:1.3rem;line-height:1.4;margin-bottom:2rem;color:rgba(255,255,255,.95);font-weight:400;max-width:90%;margin:0}.read-more-btn{background:0 0;border:none;color:var(--cta-color);font-size:1.3rem;font-weight:400;cursor:pointer;padding:0;margin-left:5px;text-decoration:underline;transition:color .3s ease}.read-more-btn:hover{color:rgba(255,107,0,.8);text-decoration:none}.hero-secondary-title{font-size:1.4rem;font-weight:700;line-height:1.2;margin:2rem 0 1.5rem 0;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.1)}.hero-quote{background:rgba(255,255,255,.1);border-left:4px solid var(--cta-color);padding:1.5rem;margin:2rem 0;border-radius:8px;font-style:italic}.hero-quote p{font-size:.95rem;line-height:1.5;margin-bottom:1rem;color:rgba(255,255,255,.95)}.hero-quote cite{font-size:.85rem;font-weight:600;color:var(--cta-color);font-style:normal;display:block;text-align:right}.hero-benefits-title{font-size:1.2rem;font-weight:700;line-height:1.2;margin:2rem 0 1rem 0;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.1)}.hero-benefits-list{list-style:none;padding:0;margin:1rem 0 2rem 0}.hero-benefits-list li{position:relative;padding-left:2rem;margin-bottom:.8rem;font-size:.9rem;line-height:1.4;color:rgba(255,255,255,.95)}.hero-benefits-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--cta-color);font-weight:700;font-size:1.1rem}.cta-urgency{font-size:.9rem;font-weight:600;color:var(--cta-color);margin-bottom:1rem;text-shadow:0 1px 2px rgba(0,0,0,.1)}.about-section{background-color:#f8f9fa;padding:4rem 0;border-top:1px solid #e9ecef}.about-title{font-size:2rem;font-weight:700;line-height:1.2;margin-bottom:2.5rem;color:var(--primary-color);text-shadow:0 2px 4px rgba(0,0,0,.1)}.about-quote{background:#fff;border-left:4px solid var(--cta-color);padding:2rem;margin:2.5rem 0;border-radius:12px;box-shadow:0 4px 15px rgba(0,0,0,.1);font-style:italic;position:relative}.about-quote::before{content:""";
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--cta-color);
  font-family: serif;
  line-height: 1;
}

.about-quote p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
  position: relative;
  z-index: 1;
}

.about-quote cite {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cta-color);
  font-style: normal;
  display: block;
  text-align: right;
}

.about-benefits-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 3rem 0 2rem 0;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start; /* Align items to the top */
}

.about-benefits-list li {
  position: relative;
  padding: 1.5rem;
  padding-left: 3.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 120px; /* Ensure minimum height for consistency */
  display: flex;
  align-items: center; /* Center content vertically */
  text-align: left;
}

.about-benefits-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
  color: var(--cta-color);
  font-weight: bold;
  font-size: 1.3rem;
  background: #fff3e0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cta-color);
  flex-shrink: 0; /* Prevent shrinking */
}

.about-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-cta .cta-urgency {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.about-cta .cta-button {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.hero-cta .cta-button {
  padding: 1.25rem 2.5rem;
  font-size: 0.875rem; /* IMPROVED: Increased from 0.675rem to 0.875rem (14px) for better readability */
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.hero-image {
  flex: 0 0 50%;
  min-width: 300px;
  min-height: 400px; /* Set minimum height to ensure consistency */
  display: flex;
  justify-content: center;
  align-items: center; /* Center the image to prevent gaps */
  position: relative;
  z-index: 500; /* Above site-header (100) but below sub-menus (1000) */
  background: transparent; /* Remove background gradient that might be creating visual borders */
  border-radius: 0; /* Remove border radius */
  overflow: hidden; /* Ensure content doesn't break out of rounded corners */
  transform: translateY(0); /* Keep image contained within hero section */
  box-shadow: none; /* Remove shadow */
  border: none; /* Explicitly remove any borders */
}

.hero-image-caption {
  position: absolute;
  bottom: 60px;
  left: 15px;
  right: 15px;
  color: white;
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  z-index: 10;
  font-style: italic;
}

.cofounder-image {
  width: 100%; /* Ensure image fills container width */
  height: 100%; /* Ensure image fills container height */
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
  object-position: bottom; /* Position image to show bottom part (person) */
  border-radius: 0; /* Remove border-radius to let container handle it */
  transition: none; /* Remove transition to avoid conflicts */
  display: block;
  position: relative;
}

.cofounder-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--primary-color) 0%,
    rgba(0, 86, 112, 0.7) 50%,
    rgba(0, 86, 112, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: 0; /* Remove border-radius to let container handle it */
}

/* Remove unused wrapper styles */
.cofounder-image-wrapper {
  /* This wrapper IS used in front-page.php */
  position: relative;
  display: block;
  width: 100%; /* Fill the hero-image container */
  height: 100%; /* Fill the hero-image container */
  border-radius: 0; /* Let the parent hero-image handle border-radius */
  overflow: hidden;
  box-shadow: none; /* Let the parent hero-image handle shadow */
  transition: none; /* Prevent conflicts with parent hover */
}

.cofounder-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--primary-color) 0%,
    rgba(0, 86, 112, 0.7) 50%,
    rgba(0, 86, 112, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

.cofounder-image-wrapper:hover {
  /* Remove individual hover effects - let parent .hero-image handle all hover animations */
  transform: none;
  box-shadow: none;
}



/* Before-After Slider */
.before-after-slider {
  background: #fff;
  border-radius: 10px;
  position: relative;
  height: 480px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid #fff;
  max-width: 100%;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Placeholder Image Component */
.placeholder-component .placeholder-image-container {
  background: #fff;
  border-radius: 10px;
  position: relative;
  height: 480px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid #fff;
  max-width: 100%;
  width: 100%;
}

.placeholder-component .placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-component .placeholder-content {
  text-align: center;
  color: #6c757d;
}

.placeholder-component .placeholder-icon {
  color: #adb5bd;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.placeholder-component .placeholder-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-before {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: #e0e0e0;
  overflow: hidden;
}

.slider-after {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--light-color);
  overflow: hidden;
}

.slider-before img,
.slider-after img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
}

.slider-before img {
  left: 0;
}

.slider-after img {
  right: 0;
}

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--cta-color);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cta-color);
  border: 3px solid white;
  z-index: 3;
  cursor: ew-resize;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

/* Service Areas Section */
.service-areas-section {
  padding: 80px 0;
  background-color: white;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-area-card {
  background: var(--light-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 86, 112, 0.1);
  display: block; /* Make the whole card clickable when used as a link */
  text-decoration: none; /* Remove link underline */
  color: inherit; /* Inherit text color for headings and paragraphs */
}

.service-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 86, 112, 0.15);
}

.area-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.area-neighborhoods {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.8;
}

/* Instagram Feed Section */
.instagram-feed-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.instagram-feed-container {
  margin: 3rem 0;
}

.instagram-feed-placeholder {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px dashed var(--border-color);
}

.instagram-feed-placeholder p {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.instagram-feed-placeholder strong {
  color: var(--primary-color);
}

.instagram-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 14px 28px;
}

.instagram-cta .cta-button i {
  font-size: 1.2rem;
}

/* Instagram Feed Plugin Overrides */
.instagram-feed-container .sbi_images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 0;
}

.instagram-feed-container .sbi_item {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-feed-container .sbi_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-feed-container .sbi_photo {
  transition: transform 0.3s ease;
}

.instagram-feed-container .sbi_item:hover .sbi_photo {
  transform: scale(1.05);
}

/* Alternative plugin styles */
.instagram-feed-container .wp-instagram-widget {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.instagram-feed-container .wp-instagram-widget li {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-feed-container .wp-instagram-widget li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-feed-container .wp-instagram-widget img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.instagram-feed-container .wp-instagram-widget li:hover img {
  transform: scale(1.05);
}

.section-title {
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-color);
  line-height: 1.8;
}

.section-underline {
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 auto 40px;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 15px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Service Card Before-After Styles */
.service-before-after {
  width: 100%;
  margin-bottom: 15px;
}

.service-before-after .before-after-slider {
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.service-before-after .placeholder-image-container {
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  border: 2px solid #e9ecef;
}

.service-card:hover .service-before-after .placeholder-image-container {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-before-after .before-after-slider {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-before-after .slider-before,
.service-before-after .slider-after {
  height: 100%;
}

.service-before-after .slider-before img,
.service-before-after .slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service card specific before/after labels */
.service-before-after .before-label,
.service-before-after .after-label {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Service card specific slider handle */
.service-before-after .slider-handle {
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-before-after .slider-handle::before,
.service-before-after .slider-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.service-before-after .slider-handle::before {
  left: 8px;
  transform: translateY(-50%);
  border-color: transparent white transparent transparent;
  border-width: 4px 6px 4px 0;
}

.service-before-after .slider-handle::after {
  right: 8px;
  transform: translateY(-50%);
  border-color: transparent transparent transparent white;
  border-width: 4px 0 4px 6px;
}

.service-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-description {
  color: var(--text-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
}

.service-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* CTA Banner */
.cta-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0.1;
  z-index: 0;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.01em;
}

.cta-banner-subtitle {
  font-size: 1.5rem;
  margin-bottom: 35px;
  font-style: italic;
  opacity: 0.9;
}

.cta-banner .cta-button {
  box-shadow: 0 5px 15px rgba(255, 122, 33, 0.3);
}

.cta-banner .cta-button:hover {
  box-shadow: 0 8px 25px rgba(255, 122, 33, 0.4);
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .hero-section {
    padding: 0; /* Removed top and bottom padding for mobile */
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin: 0 auto 1.5rem;
    max-width: 100%;
  }

  .hero-content .col-lg-6:last-child {
    margin-top: 1.5rem; /* IMPROVED: Increased from 0.5rem to 1.5rem for proper separation */
  }

  .hero-image {
    flex: 0 0 100%;
    width: 100%;
    max-width: 600px;
    min-height: 350px; /* Responsive height for tablets */
    margin: 0 auto;
    z-index: 500; /* Above site-header (100) but below sub-menus (1000) */
    border-radius: 0; /* Remove border radius */
    align-items: center; /* Center alignment for responsive */
    transform: translateY(0); /* Keep image contained within hero section */
    box-shadow: none; /* Remove shadow */
  }

  .warranty-banner {
    padding: 8px 15px;
  }

  .cofounder-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  .cofounder-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      to right,
      var(--primary-color) 0%,
      rgba(0, 86, 112, 0.7) 50%,
      rgba(0, 86, 112, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
    border-radius: 0;
  }

  .cofounder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    border-radius: 0;
    display: block;
  }

  .cofounder-image::before {
    border-radius: 0;
  }

  .before-after-slider {
    height: 360px;
  }

  .placeholder-component .placeholder-image-container {
    height: 360px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 0; /* Removed top and bottom padding for mobile */
    background-image: linear-gradient(
      to bottom,
      var(--primary-color) 0%,
      var(--secondary-color) 100%
    );
    min-height: 450px; /* Increased height to accommodate hero image */
    overflow: visible; /* Allow hero image to be fully visible */
  }

  .hero-content {
    text-align: left;
    max-height: none; /* Remove height constraint on mobile */
  }

  .hero-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem; /* IMPROVED: Increased from default to 1.5rem for better separation */
    padding-top: 10px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .hero-subtitle-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Remove margin bottom for hero subtitle text on service pages for mobile */
  .service-hero-section .hero-subtitle-text {
    margin-bottom: 0;
  }

  .read-more-btn {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 3px;
  }

  .hero-secondary-title {
    font-size: 1.15rem;
    margin: 1.5rem 0 1rem 0;
  }

  .hero-quote {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .hero-quote p {
    font-size: 0.85rem;
  }

  .hero-quote cite {
    font-size: 0.8rem;
  }

  .hero-benefits-title {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.8rem 0;
  }

  .hero-benefits-list li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .cta-urgency {
    font-size: 0.85rem;
    text-align: center;
  }

  /* Hide entire hero-cta element on mobile when fixed bottom buttons are visible */
  .hero-cta {
    display: none;
  }

  /* IMPROVED: Better spacing between hero text and image on mobile */
  .hero-content .col-lg-6:last-child {
    margin-top: 1.5rem; /* IMPROVED: Increased from 0.25rem to 1.5rem for proper separation */
  }

  /* Hide about section quote button on mobile when fixed bottom buttons are visible */
  .about-cta .cta-button.large {
    display: none;
  }

  .about-section {
    padding: 2rem 0;
  }

  .about-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .about-quote {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .about-quote::before {
    font-size: 2.5rem;
    top: -5px;
    left: 15px;
  }

  .about-quote p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .about-quote cite {
    font-size: 0.9rem;
  }

  .about-benefits-title {
    font-size: 1.3rem;
    margin: 2rem 0 1.5rem 0;
  }

  .about-benefits-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-benefits-list li {
    padding: 1.25rem;
    padding-left: 3rem;
    font-size: 0.9rem;
    min-height: 100px; /* Smaller minimum height for mobile */
    line-height: 1.4;
  }

  .about-benefits-list li::before {
    width: 1.5rem;
    height: 1.5rem;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%); /* Center vertically on mobile */
    font-size: 1.1rem;
  }

  .about-cta {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .about-cta .cta-urgency {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .about-cta .cta-button {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }

  .hero-image {
    min-height: 350px; /* Increased mobile height to fit better with hero-section */
    z-index: 500; /* Above site-header (100) but below sub-menus (1000) */
    border-radius: 0; /* Remove border radius */
    align-items: center; /* Center alignment for mobile */
    transform: translateY(0); /* Remove upward transform that was creating visual border */
    box-shadow: none; /* Remove shadow */
  }

  .hero-image-caption {
    bottom: 40px;
    left: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.8rem;
    text-align: left;
  }

  .warranty-banner {
    padding: 5px 10px;
  }

  .cofounder-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  .cofounder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    border-radius: 0;
    display: block;
  }

  .cofounder-image::before {
    border-radius: 0;
  }

  .before-after-slider {
    height: 300px;
  }

  .placeholder-component .placeholder-image-container {
    height: 300px;
  }

  .placeholder-component .placeholder-text {
    font-size: 1rem;
  }

  .service-image {
    height: 180px;
  }

  .service-before-after .before-after-slider {
    height: 216px;
  }

  .service-before-after .placeholder-image-container {
    height: 216px;
  }

  .service-before-after .before-label,
  .service-before-after .after-label {
    font-size: 9px;
    padding: 3px 6px;
  }

  .service-before-after .slider-handle {
    width: 25px;
    height: 25px;
  }

  .services-section {
    padding: 60px 0;
  }

  .service-areas-section {
    padding: 60px 0;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .service-area-card {
    padding: 1.5rem;
  }

  .area-title {
    font-size: 1.3rem;
  }

  .area-neighborhoods {
    font-size: 0.9rem;
  }

  .instagram-feed-section {
    padding: 60px 0;
  }

  .instagram-feed-container .sbi_images {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .instagram-feed-container .wp-instagram-widget {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .instagram-feed-placeholder {
    padding: 2rem 1rem;
  }

  .instagram-feed-placeholder p {
    font-size: 1rem;
  }

  .instagram-cta .cta-button {
    font-size: 0.85rem;
    padding: 14px 16px;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    max-width: none;
    line-height: 1.3;
    letter-spacing: 0.2px;
    min-width: 280px;
  }

  .instagram-cta .cta-button i {
    font-size: 1rem;
    flex-shrink: 0;
  }

  .hero-badges {
    background-color: white;
    padding: 0 15px 15px 15px; /* Removed top padding for mobile */
    margin: 0 -15px 0 -15px; /* Removed bottom margin for mobile */
    border-radius: 0;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .section-subtitle::before {
    width: 30px;
    margin-bottom: 15px;
  }

  /* Additional Mobile Responsive Styles */
  /* Hero section mobile adjustments - consolidated here */
  .before-after-slider {
    height: 360px;
    max-width: 100%;
  }

  /* Services mobile adjustments */
  .service-card {
    padding: 20px;
  }

  /* Mobile quote form adjustments */
  .quote-form {
    padding: 15px !important;
  }
}

@media (max-width: 576px) {
  .service-image {
    height: 160px;
  }

  .service-before-after .before-after-slider {
    height: 192px;
  }

  .service-before-after .placeholder-image-container {
    height: 192px;
  }

  .service-before-after .before-label,
  .service-before-after .after-label {
    font-size: 8px;
    padding: 2px 5px;
  }

  .service-before-after .slider-handle {
    width: 22px;
    height: 22px;
  }

  .service-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .instagram-cta .cta-button {
    font-size: 0.8rem;
    padding: 12px 14px;
    gap: 0.3rem;
    letter-spacing: 0.1px;
    min-width: 260px;
  }
}

/* Mobile Menu */
.menu-toggle {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
  padding: 0;
}

.menu-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0 auto;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.menu-icon::before {
  transform: translateY(-8px);
}

.menu-icon::after {
  transform: translateY(8px);
}

.menu-toggle.active .menu-icon {
  background-color: transparent;
}

.menu-toggle.active .menu-icon::before {
  transform: rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
  transform: rotate(-45deg);
}

/* 
 * Mobile menu styles are defined in style.css
 * This avoids duplication and potential style conflicts
 */

/* Quote Section */
.quote-section {
  padding: 90px 0;
  background-color: #fff;
}

.contact-info {
  transition: all 0.3s ease;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--light-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 20px;
}

/* Quote Form Styles */
.quote-form {
  width: 100%;
  margin: 0;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.quote-request-form {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-request-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.quote-request-form .form-group {
  margin-bottom: 1.25rem;
  flex: 1;
}

.quote-request-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-request-form .form-control,
.quote-request-form .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.quote-request-form .form-control:focus,
.quote-request-form .form-select:focus {
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 181, 200, 0.15);
}

.quote-request-form textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.quote-request-form .cta-button {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background-color: var(--accent-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  box-shadow: 0 4px 6px rgba(0, 181, 200, 0.2);
}

.quote-request-form .cta-button:hover {
  background-color: #00a1b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 181, 200, 0.3);
}

/* Remove any visual indicators for required fields */
.quote-request-form .form-control:required,
.quote-request-form .form-select:required {
  box-shadow: none;
}

.quote-request-form .form-control:invalid,
.quote-request-form .form-select:invalid {
  border-color: #e9ecef;
}

.quote-request-form .form-control:invalid:focus,
.quote-request-form .form-select:invalid:focus {
  border-color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quote-request-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .quote-request-form .form-group {
    margin-bottom: 1.25rem;
  }
}

/* Service Page Styles */
.service-hero-section {
  color: white;
  padding: 0 0 15px; /* Match main page padding */
  position: relative;
  margin-bottom: 50px;
  min-height: 320px; /* Match main page height */
}

/* Gradient Background (same as home page) */
.service-hero-section.hero-bg-gradient {
  background-color: var(--primary-color);
  background-image: linear-gradient(
    to bottom,
    white 0%,
    white 15%,
    var(--primary-color) 15%,
    var(--secondary-color) 100%
  );
  overflow: hidden;
}

.service-hero-section.hero-bg-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0.08;
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Before-After Section */
.hero-before-after-section {
  position: relative;
  z-index: 2;
}

.before-after-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-before-after-slider {
  margin-bottom: 20px;
}

.hero-before-after-slider .before-after-slider {
  height: 380px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: #f5f5f5;
}

.hero-before-after-slider .slider-before,
.hero-before-after-slider .slider-after {
  height: 100%;
}

.hero-before-after-slider .slider-before img,
.hero-before-after-slider .slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-before-after-slider .slider-divider {
  background-color: var(--cta-color);
  width: 6px;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.hero-before-after-slider .slider-handle {
  width: 50px;
  height: 50px;
  background: var(--cta-color);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-before-after-slider .slider-handle::after {
  content: "⟷";
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.hero-before-after-slider .before-label,
.hero-before-after-slider .after-label {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.before-after-caption {
  text-align: center;
  margin-top: 15px;
}

.before-after-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-style: italic;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Badges for Service Pages - Use same styling as main page */

.service-hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  color: #ffffff;
  line-height: 1.1;
}

.service-hero-subheadline {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--cta-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.95);
}

/* Hero Benefits */
.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

.benefit-item i {
  color: var(--cta-color);
  font-size: 1.2rem;
  width: 20px;
}

/* CTA Buttons */
.hero-cta-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--cta-color) 0%, #e64a19 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.cta-button.primary:hover {
  background: linear-gradient(135deg, #e64a19 0%, var(--cta-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
  color: white;
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

/* Hero Urgency */
.hero-urgency {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 193, 7, 0.2);
  padding: 12px 20px;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
  font-size: 0.95rem;
  font-weight: 600;
  max-width: fit-content;
}

.hero-urgency i {
  color: #ffc107;
  font-size: 1.1rem;
}

/* Contact Card */
.hero-contact-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.hero-contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-info {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-item i {
  color: var(--cta-color);
  font-size: 1.1rem;
  width: 20px;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--cta-color);
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.guarantee-badge i {
  color: var(--cta-color);
  font-size: 1.5rem;
}

.guarantee-badge div {
  display: flex;
  flex-direction: column;
}

.guarantee-badge strong {
  font-size: 1rem;
  margin-bottom: 2px;
}

.guarantee-badge span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.service-content-section {
  background-color: #fff;
}

.service-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color);
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.service-content h2 {
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
  border-bottom: 2px solid var(--light-accent);
  padding-bottom: 0.5rem;
  font-family: inherit;
}

.service-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.5rem;
  font-family: inherit;
}

.service-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: inherit;
}

.service-content ul,
.service-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  font-size: inherit;
}

.service-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: inherit;
}

.service-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--light-color);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: inherit;
}

.service-content a {
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  font-size: inherit;
}

.service-content a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.service-sidebar {
  position: sticky;
  top: 20px;
}

@media (max-width: 991.98px) {
  .service-hero-section {
    padding: 0 0 15px; /* Match main page padding */
    min-height: 400px; /* Increased height for tablet */
  }
  
  .service-hero-section.hero-bg-gradient {
    background-color: var(--primary-color);
    background-image: linear-gradient(
      to bottom,
      var(--primary-color) 0%,
      var(--secondary-color) 100%
    );
    overflow: hidden;
  }
  
  .service-hero-title {
    font-size: 2.5rem;
  }
  
  .service-hero-subheadline {
    font-size: 1.25rem;
  }
  
  .service-hero-description {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button.primary,
  .cta-button.secondary {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
  }
  
  .hero-before-after-section {
    margin-top: 40px;
  }
  
  .hero-before-after-slider .before-after-slider {
    height: 320px;
  }
  
  .service-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 767.98px) {
  .service-hero-section {
    padding: 0 0 15px; /* Match main page padding */
    min-height: 450px; /* Increased height to accommodate content */
    overflow: visible; /* Allow content to be fully visible */
    margin-bottom: 0; /* Remove margin bottom on mobile */
  }
  
  .service-hero-section.hero-bg-gradient {
    background-color: var(--primary-color);
    background-image: linear-gradient(
      to bottom,
      var(--primary-color) 0%,
      var(--secondary-color) 100%
    );
    overflow: hidden;
  }
  
  .service-hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .service-hero-subheadline {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .service-hero-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  

  
  .hero-benefits {
    margin-bottom: 25px;
  }
  
  .benefit-item {
    font-size: 1rem;
  }
  
  .hero-cta-buttons {
    margin-bottom: 20px;
  }
  
  .cta-button.primary,
  .cta-button.secondary {
    font-size: 1rem;
    padding: 16px 20px;
  }
  
  .hero-urgency {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  
  .hero-before-after-section {
    margin-top: 0px;
  }
  
  .before-after-title {
    font-size: 1.2rem;
    margin-top: 0px;
    margin-bottom: 20px;
  }
  
  .hero-before-after-slider .before-after-slider {
    height: 280px;
  }
  
  .hero-before-after-slider .slider-handle {
    width: 40px;
    height: 40px;
  }
  
  .hero-before-after-slider .slider-handle::after {
    font-size: 16px;
  }
  
  .hero-before-after-slider .before-label,
  .hero-before-after-slider .after-label {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .before-after-caption p {
    font-size: 0.9rem;
  }
  
  .service-content {
    padding: 20px 0;
  }
}

/* Service Gallery Styles */
.service-gallery-section {
  background-color: var(--light-color);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  padding: 15px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Gallery Modal Styles */
#galleryModal .modal-content {
  background-color: var(--light-color);
  border: none;
  border-radius: 8px;
}

#galleryModal .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 15px 20px;
}

#galleryModal .modal-body {
  padding: 20px;
}

#galleryModal .modal-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

#galleryModal .btn-close {
  background-color: var(--light-color);
  border-radius: 50%;
  padding: 8px;
  margin: -8px -8px -8px auto;
}

#galleryModal .btn-close:hover {
  background-color: var(--border-color);
}

@media (max-width: 767.98px) {
  .gallery-item img {
    height: 200px;
  }

  .gallery-caption {
    font-size: 0.8rem;
    padding: 10px;
  }
}

/* Custom Form Styles */
.custom-form-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.custom-form-wrapper .custom-form {
  width: 100%;
  margin: 0;
  padding: 0;
}

.custom-form-wrapper .custom-form p {
  margin-bottom: 0.5rem;
}

.custom-form-wrapper .custom-form label {
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
  display: block;
  font-weight: 600;
  color: var(--primary-color);
}

.custom-form-wrapper .custom-form .wpcf7-form-control-wrap {
  margin-bottom: 0.35rem;
}

.custom-form-wrapper .custom-form input[type="text"],
.custom-form-wrapper .custom-form input[type="email"],
.custom-form-wrapper .custom-form input[type="tel"],
.custom-form-wrapper .custom-form textarea,
.custom-form-wrapper .custom-form select {
  width: 100%;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  height: 36px;
  background-color: #fff;
  line-height: 1.5;
  box-sizing: border-box;
}

.custom-form-wrapper .custom-form textarea {
  min-height: 60px;
  height: auto;
}

.custom-form-wrapper .custom-form input[type="text"]:focus,
.custom-form-wrapper .custom-form input[type="email"]:focus,
.custom-form-wrapper .custom-form input[type="tel"]:focus,
.custom-form-wrapper .custom-form textarea:focus,
.custom-form-wrapper .custom-form select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 181, 200, 0.2);
  outline: none;
}

.custom-form-wrapper .custom-form input[type="submit"] {
  width: 100%;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  text-transform: uppercase;
  background-color: var(--accent-color);
  color: #fff;
  line-height: 1.5;
  box-sizing: border-box;
}

/* Two-column layout for name and email */
@media (min-width: 768px) {
  .custom-form-wrapper .custom-form .name-email-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .custom-form-wrapper .custom-form .name-email-row .wpcf7-form-control-wrap {
    flex: 1;
    margin-bottom: 0;
  }
}

/* Override Contact Form 7 default styles */
.custom-form-wrapper .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.custom-form-wrapper .wpcf7-response-output {
  margin: 0.75rem 0 0;
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
  font-size: 0.8rem;
}

.custom-form-wrapper .wpcf7-response-output.wpcf7-validation-errors {
  border-color: #dc3545;
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
}

.custom-form-wrapper .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #198754;
  color: #198754;
  background-color: rgba(25, 135, 84, 0.1);
}

.custom-form-wrapper .wpcf7-spinner {
  display: none;
}

/* Terms of Use Page Styles */
.terms-section h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.terms-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.terms-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.terms-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.entry-header .section-underline {
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 1rem auto;
}

@media (max-width: 767.98px) {
  .terms-section h2 {
    font-size: 1.3rem;
  }

  .terms-section p,
  .terms-section ul li {
    font-size: 0.95rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: white;
}

.faq-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-section .section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.faq-question-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question:focus {
  outline: none;
  background-color: #f8f9fa;
}

.faq-question[aria-expanded="true"] {
  background-color: var(--light-accent);
  color: var(--primary-color);
}

.faq-question-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.faq-answer-content {
  padding: 1.5rem 2rem;
  color: var(--text-color);
  line-height: 1.6;
}

.faq-answer-content p {
  margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-answer-content {
    padding: 1.25rem 1.5rem;
  }
  
  .faq-section .section-title {
    font-size: 2rem;
  }
  
  .faq-section .section-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem 1.25rem;
  }
  
  .faq-answer-content {
    padding: 1rem 1.25rem;
  }
}

/* Location Page Specific Overrides */

/* Google Maps Styles */
.location-neighborhoods-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.neighborhoods-title {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.neighborhoods-list {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.location-map-section {
  margin-top: 2rem;
}

.map-title {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.map-responsive-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
}

.map-responsive-wrapper iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

.map-info {
  margin-top: 1rem;
}

.map-info p {
  margin-bottom: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.map-info .fas {
  margin-right: 0.25rem;
}

.map-info p:last-child {
  border-top: 1px solid #e9ecef;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.map-container:hover .map-tooltip {
  opacity: 1 !important;
}

/* Responsive adjustments for map */
@media (max-width: 768px) {
  .location-neighborhoods-section {
    margin-top: 2rem;
  }
  
  .map-responsive-wrapper iframe {
    height: 250px;
  }
  
  .neighborhoods-list {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .map-responsive-wrapper iframe {
    height: 200px;
  }
  
  .map-title {
    font-size: 1.1rem;
  }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.contact-hero-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.contact-item {
    position: relative;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-form-wrapper .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.contact-map {
    position: relative;
}

.map-container {
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    transition: transform 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

.contact-cta {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    position: relative;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid) " /></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Contact page specific hero adjustments */
.page-contact .hero-section,
.page-template-page-contact .hero-section {
    background-image: linear-gradient(
        to bottom,
        white 0%,
        white 18%,
        var(--primary-color) 18%,
        var(--secondary-color) 100%
    ) !important;
}

.hero-section .hero-image .contact-hero-icon {
    min-height: 300px;
}

.hero-section .hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    /* Ensure full-height gradient background on mobile like other pages */
    .about-page.hero-section {
        background-image: linear-gradient(
            to bottom,
            var(--primary-color) 0%,
            var(--secondary-color) 100%
        ) !important;
        min-height: 450px;
        overflow: visible;
    }

    body.page-about .hero-section,
    body.page-template-page-about .hero-section,
    .about .hero-section.about-page {
        background-image: linear-gradient(
            to bottom,
            var(--primary-color) 0%,
            var(--secondary-color) 100%
        ) !important;
        min-height: 450px;
        overflow: visible;
    }

    .page-contact .hero-section,
    .page-template-page-contact .hero-section {
        background-image: linear-gradient(
            to bottom,
            var(--primary-color) 0%,
            var(--secondary-color) 100%
        ) !important;
        min-height: 450px;
        overflow: visible;
    }
    .contact-hero {
        min-height: 300px;
        text-align: center;
    }
    
    .hero-section .hero-image .contact-hero-icon {
        margin-top: 1rem;
        min-height: 250px;
        padding: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Cost Guide Page Styles */

/* Cost Factors Section */
.cost-factors-section {
    background-color: white;
}

.cost-factor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.cost-factor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cost-factor-card .factor-icon {
    text-align: left;
}

.cost-factor-card .factor-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cost-factor-card .factor-description {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Cards Section */
.services-pricing-section {
    background-color: var(--light-color);
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.pricing-header .service-title {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price-range {
    display: block;
}

.price-from {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cta-color);
    display: block;
    line-height: 1.2;
}

.price-unit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-style: italic;
}

/* Value Highlights */
.value-highlights {
    margin-top: 2rem;
}

.value-item {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--cta-color);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(5px);
}

.value-icon {
    flex-shrink: 0;
}

/* Financing Options */
.financing-section {
    background-color: var(--light-color);
}

.financing-option {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.financing-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.financing-icon {
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.cost-guide-faq-section .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.cost-guide-faq-section .accordion-button {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
}

.cost-guide-faq-section .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.cost-guide-faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 112, 0.25);
}

.cost-guide-faq-section .accordion-body {
    padding: 1.5rem;
    background-color: white;
    color: var(--text-color);
    line-height: 1.6;
}

/* Quote Section Adjustments for Cost Guide */
.quote-section.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.quote-section .section-underline.bg-white {
    background-color: white !important;
    opacity: 0.3;
}

/* Contact Icon Styling */
.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-accent);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

/* Form styling adjustments */
.quote-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.quote-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 112, 0.25);
}

/* Responsive Design for Cost Guide */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .value-item {
        margin-bottom: 1rem;
    }
    
    .financing-option {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .price-from {
        font-size: 1.5rem;
    }
    
    .cost-guide-faq-section .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .cost-factor-card,
    .pricing-card,
    .financing-option {
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .price-from {
        font-size: 1.3rem;
    }
    
    .value-item {
        padding: 1rem;
    }
}

/* End of file */}