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

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(207, 225, 255);
}

ul {
    margin: 0;
    padding: 0;
}

nav {
    position: sticky;
    top: 0;
    display: flex;
    z-index: 10000;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #b7cfff;
}

.logo {
    display: flex;
    align-items: center;

}

.logo img {
    width: 150px;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

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


.logo h3 {
    margin-left: 10px;
    color: #000;
    text-decoration: none;
    font-size: 28px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: block;
    padding: 30px 16px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 550;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: #2469ff;
    transition: width 0.4s ease, left 0.4s ease;
    transform: translateX(-50%);
    border-radius: 4px;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-cta-button::before {
    content: none !important;
}

.nav-links a:hover {
    color: #2469ff;
}

.nav-links .nav-cta-button {
    padding: 10px 18px;
    margin-left: 16px;
    border: #2469ff solid 2px;
    border-radius: 50px;
}

.nav-links .nav-cta-button:hover {
    background-color: #ffffff32;
    content: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 34px;
}

.hamburger .bar {
    flex-basis: 100%;
    height: 4px;
    background-color: #000;
    margin: 3px;
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
        flex-wrap: wrap;
    }

    .logo {
        height: 80px;
    }

    .nav-links {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
        transition: max-height 0.5s ease;
    }

    .nav-links.open {
          max-height: 500px; 
    }

    .nav-links li {
      opacity: 0;
      transform: translateY(-10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
    }

    .nav-links a {
        text-align: center;
        font-size: 28px;
    }

    .nav-links a:hover {
        background-color: #0099ff;
        border-radius: 35px;

    }

    .nav-links .nav-cta-button {
        padding: 30px 16px;
        margin-left: 0;
        border: none;
        border-radius: 0;
        margin-bottom: 20px;
    }

    .nav-links .nav-cta-button:hover {
        background-color: #0040ff;
        border-radius: 35px;

    }
}

.hero-section {
    padding: 20px;
    margin: 0 40px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-section img {
    width: 35%;
    height: auto;
    mix-blend-mode: multiply;
    border-radius: 95px;
}

.hero-text {
    width: 60%;
}

.hero-text a {
    text-decoration: none;
}

.hero-text h1 {
    font-size: 3.3rem;
    margin-bottom: 8px;
    color: #000000;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.button-hero {
    padding: 0.75em 2.5em;
    border: none;
    border-radius: 999px; 
    background-color: #3a66e5; 
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-hero:hover {
    background-color: #2f52cc; 
    transform: translateY(-2px); 
}

@media (max-width: 848px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero-section img {
        width: 80%;
        max-width: 350px;
        height: auto;
    }

    .hero-text a {
        display: flex;
        justify-content: center;
    }

    .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text a {
        display: flex;
        justify-content: center;
        width: 100%; 
        margin-top: 1rem; 
    }

    .button-hero {
        margin: 0 auto; 
    }


}
.about {
    background: rgba(104, 123, 190, 0.51);
    padding: 15vh 5%;
    margin: 0;
    display: flex;
    justify-content: center;
}

.left-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.title {
    color: black;
    font-size: 3.5rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap; 
}

.description-background {
    flex: none;
    width: 100%;
    max-width: 650px;
    border-radius: 35px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.50);
    padding: 2rem;
}

.description {
    color: #000;
    text-align: left;
    font-family: sans-serif;
    font-size: 1.25rem;
    line-height: normal;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}

.more_pictures {
    flex: 1 1 300px;
    max-width: 700px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.50);
}

.more_pictures img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .title {
        text-align: center;
        font-size: 2.5rem;
    }

    .description {
        text-align: center;
    }

    .description-background, .more_pictures {
        width: 100%;
        max-width: 90%;
    }

    .left-about {
        order: 1;
    }

    .more_pictures {
        order: 2;
    }

}

.contact_us {
  background: linear-gradient(to bottom right, #a8bbe6, #062aae);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5% 2%;
  color: white;
  box-sizing: border-box;
}

.contact_us_form {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.285);
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.contact_us_form h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', sans-serif;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input_stacks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 2rem;
}

.left_stack, .right_stack {
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  gap: 15px;
}

input, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  color: #333;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

input:focus, select:focus {
  border-color: #2A6BFF;
  outline: none;
}

button {
  width: 200px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background-color: #2A6BFF;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin: 2rem auto 0 auto;
  display: block;
}

.input_stacks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

button:hover {
  background-color: #1E50CC;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  form {
    flex-direction: column;
    align-items: center;
  }

  .left_stack, .right_stack {
    width: 100%;
    max-width: 500px;
  }

  .contact_us_form h2 {
    font-size: 1.5rem;
  }

  button {
    width: 100%;
    max-width: 300px;
  }
}


.footer-container {
    background-color: #33498e;
    padding-bottom: 4rem;
}

.footer {
  width: 50%;
  background-color: #33498e;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  padding-top: 5vh;
  gap: 2rem;
}

.footer-heading {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.footer-heading h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-heading a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-heading a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: rgb(134, 163, 255);
  transition: width 0.3s ease;
}

.footer-heading a:hover {
  color: rgb(134, 163, 255);
}

.footer-heading a:hover::after {
  width: 100%;
}


@media (max-width: 768px) {
    .bottom {
      height: auto;
      padding: 2rem 1rem;
    }
  
    .bcco_bottom {
      width: 90%;
    }
  
    .reach_out {
      font-size: 1.5rem;
      margin-top: 1rem;
    }
  
    .p_tags {
      font-size: 1.25rem;
      text-align: center;
    }
  
    .bottom_socials {
      width: 100%;
      flex-direction: row;
      align-items: center;
      gap: 1rem;
      justify-content: center;
      
    }
  
    .facebook_bottom, .yelp_bottom {
      width: 70%;
      margin-left: 5vh;
    }

    .horizontal-container {
        flex-direction: column;
        text-align: center; /* Center align text on smaller screens */
    }

    .logo-container img {
        width: 150px; /* Smaller logo size on mobile */
    }

    .Mowimy {
        font-size: 1.2em; /* Reduce font size on smaller screens */
    }

    .text-group h1 {
        font-size: 1em;
    }

    .text-group h2 {
        font-size: 1em;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
    }

    .toggle_btn {
        display: block;
        text-align: center;
        width: 100%;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: none !important;
        flex-direction: column;
        background-color: black; 
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        right: 0;
        z-index: 999;
    }

    .dropdown_menu.active {
        display: flex;
    }

    .dropdown_menu.links {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        list-style: none;
        margin: 0;
    }

    .dropdown_menu .links li a {
        color: white;
        display: block;
        padding: 10px;
        border: 1px solid #2469ff;
        text-decoration: none;
    }

    .links.active {
        display: flex;
        flex-direction: column;
    }

    .dropdown_menu.active {
        display: flex;
    }

    .links {
        display: none;
        flex-direction: row;
    }

    .navbar .links {
        display: none;
    }

    .navbar .links li {
        width: 100%;
    }

    .navbar .links li a {
        display: block;
        padding: 3px 10px; 
        color: white;
        text-decoration: none;
        border: 2px solid rgb(36, 105, 255); /* Blue outline */
    }

    .left_stack, .right_stack {
        flex: 1 1 100%;
    }

    .contact_us {
        padding: 10% 5%;
        background-size: cover;
    }

    button {
        width: 100%;
        margin-left: 0;
    }
  }

  .family_friendly {
    width: 100%;
    height: auto;
    object-fit: cover; /* maintains aspect ratio & fills container */
    display: block;
}

.image-with-text {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

/* Overlay text styling */
.image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center vertically and horizontally */
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: clamp(1.5rem, 5vw, 3rem); /* Increased min and max */
    user-select: none;
    white-space: nowrap;
    text-align: center;
}


@media (max-width: 480px) {
    .image-label {
        font-size: clamp(1rem, 6vw, 2rem);
        padding: 0.2rem 0.4rem;
    }
}

.heating-hero {
    max-width: 825px;
    text-align: center;
    background-color: whitesmoke;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 3px solid #0047AB; 
}

.heating-description {
    font-size: 1.35rem;
    text-align: center;
    padding-top: 1.5vh;
}

.heating-contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.contact-box {
    background-color: #0047AB;
    padding: 2rem;
    border-radius: 20px;
    color: white;
    width: 300px;
}

.contact-box h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-box input,
.contact-box select,
.contact-box textarea {
    padding: 0.6rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-box button {
    background-color: #0af;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-box button:hover {
    background-color: #007acc;
}

.family-reviews-wrapper {
    height: 60vh;
    position: relative;
    display: inline-block;
    width: 100%; 
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.family-reviews-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.five_stars {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    max-width: 400px;
    height: auto;
    z-index: 2;
    background: transparent;
}

@media (max-width: 768px) {
    .five_stars {
        top: 30%;
        width: 60vw;
    }
}

@media (max-width: 480px) {
    .five_stars {
        top: 28%;
        width: 80vw;
    }
}

.reviews_container {
    width: 100%;
}

.review_description {
  position: absolute;
    top: 68%; /* Lower the text */
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 10px;
    border-radius: 8px;
    max-width: 90%;
    width: 750px;
    font-size: 1.5rem;
    text-align: center;
    z-index: 1;
}

/*this is for the reviews page */

.section {
      padding: 2rem 1rem;
      max-width: 900px;
      margin: auto;
    }

.section-title {
      text-align: center;
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 1.5rem;
    }

.platforms {
  background-color: #1d4ed8;
  padding: 2rem 1rem; 
  border-radius: 35px;
  text-align: center;
  color: white;
  margin: 2rem auto;
  width: 75%;
  max-width: 1200px;
  box-sizing: border-box;
  min-height: 35vh;
}

.platforms h3 {
  margin-bottom: 1rem;
}

.platform-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Wrapper for each icon + background */
.icon-wrapper {
  position: relative;
  display: inline-block;
  width: 185px;      /* fix width same as image width */
  height: auto;
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.icon-wrapper:hover {
  transform: scale(1.08);
}

/* Background behind icon */
.icon-bg {
  background-color: gainsboro;
  border-radius: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;      /* smaller than image */
  height: 130px;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Icon image */
.icon-wrapper img {
  width: 185px;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .platform-icons {
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;        /* reduce vertical gap between icons */
    margin-top: 0.5rem;  /* optional: tighter top margin */
  }

  .icon-wrapper {
    width: 80%;
    max-width: 250px;
    margin: 0.25rem auto;  /* smaller vertical margin */
  }

  .icon-bg {
    width: 80%;
    max-width: 180px;
    aspect-ratio: 1;
  }

  .icon-wrapper img {
    width: 100%;
  }
}


.testimonial-box {
      background-color: #87a7ff;
      padding: 1rem;
      border-radius: 10px;
      margin-bottom: 1rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .stars {
      color: #ffea00;
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }

    .testimonial-text {
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
    }

    .author {
      font-weight: bold;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .form-box {
      background-color: #1d4ed8;
      border-radius: 15px;
      padding: 2rem 1rem;
      color: white;
      text-align: center;
      margin-top: 2rem;
    }

    .form-box h2 {
      margin-bottom: 1.5rem;
    }

    .form-box form {
      display: grid;
      gap: 1rem;
    }

    .form-box input,
    .form-box select {
      padding: 0.5rem;
      border-radius: 5px;
      border: none;
      width: 100%;
    }

    .form-box button {
      background-color: white;
      color: #1d4ed8;
      border: none;
      border-radius: 5px;
      padding: 0.7rem;
      cursor: pointer;
      font-weight: bold;
    }

    @media (min-width: 600px) {
      .form-box form {
        grid-template-columns: repeat(2, 1fr);
      }

      .form-box form > input:last-of-type,
      .form-box form > button {
        grid-column: span 2;
      }
    }


.neighborhoods {
  background-color: #1d4ed8;
  padding: 2rem 1rem;
  border-radius: 35px;
  text-align: center;
  color: white;
  margin: 2rem auto;
  width: 90%;
  max-width: 1200px;
  box-sizing: border-box;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 0;
}

.area-grid > div {
  background: #1c0ae3ba;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), 
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), 
              background 0.25s;
  cursor: pointer;
}

.area-grid > div:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.18);
  background: #322c82;
}

/* Optional: Tweak typography for small screens */
@media (max-width: 600px) {
  .area-grid > div {
    padding: 10px;
    font-size: 0.9rem;
  }

  .neighborhoods h3 {
    font-size: 1.25rem;
  }
}


/* Contact site */

/* Contact Section Styling */
/* Contact Section Styling */
.contact-section {
  background-color: #f4f8ff;
  padding: 40px 20px;
  text-align: center;
}

.contact-container {
  max-width: 500px;
  margin: auto;
}

.contact-button {
  display: inline-block;
  background-color: #2469ff;
  color: #fff;
  padding: 12px 20px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
  background-color: #1a4ed8;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 600px) {
  .contact-button {
    font-size: 16px;
    padding: 10px 16px;
    width: 100%;
    box-sizing: border-box;
  }
}
