* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    min-height: 100vh;
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    background-color: white;
  max-width: 100vw;
}

/* Ensure all containers respect viewport width */
* {
  box-sizing: border-box;
}

/* Mobile-specific overflow prevention */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  
  html {
    -webkit-overflow-scrolling: touch;
  }
  
  .container,
  .section-inner,
  .nav-container,
  .button-group,
  .wwh-contaminants {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Ensure images don't cause overflow */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure SVG elements don't overflow */
  svg {
    max-width: 100%;
    height: auto;
  }
  
  /* Prevent table overflow */
  table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

  /* Ensure form elements don't overflow */
  input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Mobile pricing table adjustments */
  .section-pricing table {
    font-size: 0.85rem;
    margin: 0 auto 1rem auto;
  }
  
  .section-pricing table th,
  .section-pricing table td {
    padding: 0.6rem 0.4rem;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .section-pricing table th {
    font-size: 0.8rem;
  }
  
  .section-pricing table td {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
  /* Make pricing table scrollable on very small screens */
  @media (max-width: 480px) {
    .section-pricing table {
      font-size: 0.75rem;
    }
    
    .section-pricing table th,
    .section-pricing table td {
      padding: 0.5rem 0.3rem;
    }
    
    .section-pricing table th {
      font-size: 0.7rem;
    }
    
    .section-pricing table td {
      font-size: 0.65rem;
    }
  }
  
  /* Mobile maintenance cards - 2 column layout */
  .section-services .maintenance-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .section-services .maintenance-cards > div {
    min-width: auto;
    max-width: none;
    width: 100%;
    padding: 1rem;
  }
  
  .section-services .maintenance-cards svg {
    width: 36px;
    height: 36px;
    margin-bottom: 0.8rem;
  }
  
  .section-services .maintenance-cards div {
    font-size: 0.9rem;
  }
  
  /* Very small screens - single column */
  @media (max-width: 480px) {
    .section-services .maintenance-cards {
      grid-template-columns: 1fr;
      gap: 0.8rem;
    }
    
    .section-services .maintenance-cards > div {
      padding: 0.8rem;
    }
    
    .section-services .maintenance-cards svg {
      width: 32px;
      height: 32px;
      margin-bottom: 0.6rem;
    }
    
    .section-services .maintenance-cards div {
      font-size: 0.8rem;
    }
  }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* body.home, html.home {
    overflow: hidden !important;
    height: 100vh !important;
} */

body:not(.home)::after {
    content: '';
    display: block;
    width: 100%;
    height: 32px;
    background: #fff;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: block;
    background: #F6FBFF;
}

.container {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.center-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 500px;
    width: 100%;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: black;
}

.tagline {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2.5rem;
}

.button-group {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 11;
}

.main-btn {
    background: #3793b7;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
}

.main-btn:hover, .main-btn:focus {
    background: #235e73;
    color: #fff;
    outline: none;
}

/* Secondary/Grey button style */
.main-btn.secondary {
    background: #e0e0e0;
    color: #333;
}

.main-btn.secondary:hover, .main-btn.secondary:focus {
    background: #bdbdbd;
    color: #111;
}

.main-btn.lite {
    background: transparent;
    color: #3793b7;
    border: 2px solid #7fd6ee;
}
.main-btn.lite:hover, .main-btn.lite:focus {
    background: #7fd6ee;
    color: #235e73;
    border-color: #7fd6ee;
}

.main-logo {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 1000px;
    width: 90%;
    height: auto;
    animation: logo-breathe 2s ease-in-out;
}



@keyframes logo-breathe {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-standout {
    background: #3793b7 !important;
    color: #fff !important;
    border: 2px solid #3793b7;
    box-shadow: 0 4px 16px rgba(55,147,183,0.18);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
}
.contact-standout:hover, .contact-standout:focus {
    background: #235e73 !important;
    color: #fff !important;
    border-color: #235e73;
    box-shadow: 0 6px 24px rgba(35,94,115,0.22);
}

.wave-bg {
    position: absolute;
    left: 0;
    width: 100vw;
    height: 120px;
    z-index: 0;
    pointer-events: none;
    background-repeat: repeat-x;
    background-size: 1440px 120px;
}

/*
  WAVE LAYER ANIMATION SPEEDS
  --------------------------
  To change the speed of a wave layer, adjust the duration in the 'animation' property below.
  Lower values = faster movement, higher values = slower movement.
*/

.wave-bg-back {
    bottom: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg width="1440" height="120" viewBox="0 0 1440 120" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 60 Q 360 120 720 60 T 1440 60 V120 H0Z" fill="%23b3eaff"/></svg>');
    /* Change the speed of the back wave by editing the duration (now: 6s) */
    animation: waveScrollBack 6s linear infinite;
    z-index: 0;
    opacity: 0.7;
}
.wave-bg-mid {
    bottom: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg width="1440" height="120" viewBox="0 0 1440 120" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 60 Q 360 120 720 60 T 1440 60 V120 H0Z" fill="%237fd6ee"/></svg>');
    /* Change the speed of the middle wave by editing the duration (now: 5.5s) */
    animation: waveScrollMid 5.5s linear infinite;
    z-index: 0;
    opacity: 0.85;
}
.wave-bg-front {
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="1440" height="120" viewBox="0 0 1440 120" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 60 Q 360 120 720 60 T 1440 60 V120 H0Z" fill="%235bbad5"/></svg>');
    /* Change the speed of the front wave by editing the duration (now: 5s) */
    animation: waveScrollFront 5s linear infinite;
    z-index: 0;
    opacity: 1;
}

@keyframes waveScrollFront {
    0% { background-position-x: 0; }
    100% { background-position-x: -1440px; }
}
@keyframes waveScrollMid {
    0% { background-position-x: 0; }
    100% { background-position-x: -1440px; }
}
@keyframes waveScrollBack {
    0% { background-position-x: 0; }
    100% { background-position-x: -1440px; }
}

/* Ensure content is above the waves */
.container, .center-content {
    position: relative;
    z-index: 1;
}

.section-services {
    background: #5cbad5;
    color: #fff;
}
.section-how-it-works {
    background: #7fd6ee;
    color: #235e73;
}
.section-pricing {
    background: #3793b7;
    color: #fff;
}
.section-gallery {
    background: #53b0d7;
    color: #fff;
}
.section-contact {
    background: #235e73;
    color: #fff;
}

.section-wave {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    margin-bottom: -1px;
    line-height: 0;
    z-index: 2;
}
.section-wave svg {
    display: block;
    width: 100vw;
    height: 80px;
}

.button-group .main-btn {
    width: 220px;
    text-align: center;
}
@media (max-width: 500px) {
    .button-group .main-btn {
        width: 100%;
        min-width: 0;
        max-width: 220px;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 0.5rem;
    }
    .center-content {
        max-width: 100%;
    }
} 

.top-nav {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(55,147,183,0.07);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0.5rem 0;
    }
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
}
.nav-link {
    color: #235e73;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    transition: background 0.18s, color 0.18s;
    display: inline-block;
}
.nav-link:hover, .nav-link:focus {
    background: #e0f7fa;
    color: #3793b7;
}
.nav-cta {
    background: #3793b7;
    color: #fff !important;
    border: 2px solid #3793b7;
    margin-left: 0.5rem;
}
.nav-cta:hover, .nav-cta:focus {
    background: #235e73;
    border-color: #235e73;
    color: #fff !important;
}
@media (max-width: 700px) {
    .nav-container {
        gap: 0.5rem;
        padding: 0 0.2rem;
    }
    .nav-link {
        font-size: 0.97rem;
        padding: 0.4rem 0.7rem;
    }
}

body.home {
    padding-top: 56px;
} 

/* High-contrast form for Get a Free Quote section */
.section-contact form {
  background: #fff !important;
  color: #235e73 !important;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(55,147,183,0.13);
}
.section-contact form label {
  color: #235e73 !important;
  font-weight: 700;
}
.section-contact form input,
.section-contact form textarea {
  background: #f6fbff !important;
  color: #235e73 !important;
  border: 1.5px solid #3793b7 !important;
  font-weight: 600;
}
.section-contact form input::placeholder,
.section-contact form textarea::placeholder {
  color: #7fd6ee !important;
  opacity: 1;
}
.section-contact h2,
.section-contact p {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(35,94,115,0.18);
}
.section-contact .main-btn.contact-standout {
  background: #3793b7 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 4px 16px rgba(55,147,183,0.18);
}
.section-contact .main-btn.contact-standout:hover,
.section-contact .main-btn.contact-standout:focus {
  background: #235e73 !important;
  color: #fff !important;
  border-color: #fff !important;
} 

/* Mobile hamburger menu styles */
.hamburger-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 2%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  margin-top: 4rem;
}

.hamburger-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.hamburger-menu-content {
  padding: 1rem 0;
}

.hamburger-menu a {
  display: block;
  color: #235e73;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.hamburger-menu a:last-child {
  border-bottom: none;
}

.hamburger-menu a:hover,
.hamburger-menu a:focus {
  background: #f6fbff;
  color: #3793b7;
}

.hamburger-menu .nav-cta {
  background: #3793b7;
  color: #fff;
  margin: 0.5rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.hamburger-menu .nav-cta:hover,
.hamburger-menu .nav-cta:focus {
  background: #235e73;
  color: #fff;
}

.hamburger-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  background: #3793b7;
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hamburger-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

.hamburger-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile styles - hide top nav and show hamburger */
@media (max-width: 768px) {
  .top-nav {
    display: none;
  }
  
  .hamburger-toggle {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
  }
  
  body.home {
    padding-top: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hamburger-menu {
    display: block;
    }
  
  /* Ensure hamburger menu doesn't interfere with scrolling */
  .hamburger-menu:not(.active) {
    pointer-events: none;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Mobile-specific header content adjustments - revert to original sizes */
  .center-content {
    top: 50%;
  }
  
  .tagline {
    font-size: 0.8rem;
    margin-bottom: 2rem;
  }
  
  .main-btn {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
  }
  
  .button-group {
    margin-top: 1.5rem;
    gap: 1rem;
  }
  
  .main-logo {
    max-width: 320px;
  }
}

/* Desktop-specific logo size - comes after mobile to override */
@media (min-width: 769px) {
  .center-content {
    max-width: 1200px;
  }
  .main-logo {
    max-width: 600px;
  }
  .main-btn {
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
  }
}

/* Phone icon visibility */
.nav-phone { display: flex; }
.mobile-phone-icon { display: none; }

@media (max-width: 768px) {
  .nav-phone { display: none !important; }
  .mobile-phone-icon { display: block !important; }
}

/* Footer Styles */
.footer {
  background: white;
  color: #235e73;
  padding: 3rem 1rem 1rem 1rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #235e73;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section h4 {
  color: #235e73;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: #235e73;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #3793b7;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: #235e73;
}

.footer-bottom {
  border-top: 1px solid #3793b7;
  padding-top: 1rem;
  text-align: center;
  color: #235e73;
  font-size: 0.9rem;
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-section h3 {
    font-size: 1.2rem;
  }
  
  .footer-section h4 {
    font-size: 1rem;
  }
} 