.masthead .custom-testimonials-header {
    color: #004085; /* A shade of blue, adjust as needed */
    font-size: 36px; /* Larger size for the heading */
    font-weight: bold; /* Make the font bold */
    margin-bottom: 15px; /* Spacing below the heading */
}

/* Testimonials Subheading */
.masthead .testimonial-subheading {
    color: #6c757d; /* Muted text color, adjust as needed */
    font-size: 20px; /* Size for better readability */
    margin-bottom: 30px; /* Spacing below the subheading */
}
.button-container {
    text-align: center; /* Center the button horizontally */
    margin-top: 20px; /* Add top margin as needed */
  }
  .button-container-main {
    display: flex;
    justify-content: center; /* This centers the buttons horizontally */
    align-items: center; /* This centers the buttons vertically */
    gap: 10px; /* Adjusts the space between the buttons */
  }
  
  /* External stylesheet (e.g., about.css) */

  .container .mission-vision,
  .container .history-background {
      padding: 2rem; /* Default padding */
      margin-bottom: 2rem; /* Default margin bottom */
      background-color: #f7f7f7; /* Light background color for distinction */
      border-left: 5px solid #0056b3; /* Left border for visual emphasis */
      text-align: left; /* Text align left */
  }
  
  .container .mission-vision h3,
  .container .history-background h3 {
      color: #0056b3; /* Dark blue color for headings */
      margin-bottom: 1rem; /* Space below the heading */
      text-transform: uppercase; /* Uppercase heading for visual impact */
      letter-spacing: 1px; /* Letter spacing for aesthetics */
  }
  
  .container .mission-vision p,
  .container .history-background p {
      font-size: 1.3rem; /* Standard font size */
      line-height: 1.6; /* Line height for readability */
      color: #333; /* Dark gray color for text */
      margin-bottom: 1rem; /* Space below the paragraph */
  }
  
  /* Mobile styles */
  @media (max-width: 768px) {
      .container .mission-vision,
      .container .history-background {
          padding: 1rem; /* Reduced padding for mobile */
          border-left: none; /* Remove border for mobile */
          border-top: 3px solid #0056b3; /* Add top border for mobile for visual emphasis */
          text-align: justify; /* Justify text for better reading flow on mobile */
      }
  
      .container .mission-vision h3,
      .container .history-background h3 {
          font-size: 1.25rem; /* Slightly larger font size for headings on mobile */
          letter-spacing: 0.5px; /* Reduce letter spacing on mobile */
      }
  
      .container .mission-vision p,
      .container .history-background p {
          font-size: 0.9rem; /* Slightly smaller font size for paragraph text on mobile */
      }
  }
 
  .google-reviews {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    margin: 20px auto; /* Ensures it's centered horizontally */
    display: flex;
    flex-direction: column; /* Ensures stacked layout */
    align-items: center; /* Ensures everything inside is centered */
}



  
  .free-quote-btn svg {
    height: 16px; /* Height of the SVG icon */
    width: 16px; /* Width of the SVG icon */
    vertical-align: middle; /* Align the SVG vertically with the text */
    margin-right: 8px; /* Space between the SVG icon and the text */
    fill: currentColor; /* SVG color will be the same as the text color */
}

/* Adjust SVG styling on hover, focus, or active states of the button if needed */
.free-quote-btn:hover svg, 
.free-quote-btn:focus svg, 
.free-quote-btn:active svg {
    /* Example: change the fill color on hover */
    fill: #007bff/* Desired hover color */;
}
  
  .free-quote-btn {
    background-image: linear-gradient(to right, #1368bc, #217fe2); /* Gradient background */
    color: white;
    padding: 15px 30px; /* More padding for a larger button */
    border: none;
    border-radius: 25px; /* More rounded corners */
    font-weight: bold;
    font-size: 18px; /* Slightly larger text */
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s, box-shadow 0.3s, background-image 0.3s, color 0.3s;
    display: inline-block; /* Needed for text-align to work on the button */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    text-decoration: none; /* Remove underline from links */
}

.free-quote-btn:hover, .free-quote-btn:focus {
    background-image: linear-gradient(to right, #0056b3, #004699); /* Darker gradient on hover/focus */
    color: #d3d3d3; /* Light grey text on hover/focus */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover/focus */
    transform: translateY(-3px); /* Slightly raise the button when hovered/focused */
    text-decoration: none; /* Ensure no underline appears on hover */
}

/* Focus styles for accessibility */
.free-quote-btn:focus {
    outline: 2px solid #004699;
    outline-offset: 2px;
}

/* Active styles for when the button is pressed */
.free-quote-btn:active {
    transform: translateY(1px); /* Slightly depress the button when clicked */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Less shadow when the button is pressed */
}


.free-quote-btn-main {
    background-image: linear-gradient(to right, #1368bc, #217fe2); /* Gradient background */
  color: white;
  padding: 15px 30px; /* More padding for a larger button */
  border: none;
  border-radius: 25px; /* More rounded corners */
  font-weight: bold;
  font-size: 18px; /* Slightly larger text */
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: transform 0.3s, box-shadow 0.3s, background-image 0.3s, color 0.3s;
  display: inline-block; /* Needed for text-align to work on the button */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  text-decoration: none; /* Remove underline from links */
}

.free-quote-btn-main:hover, .free-quote-btn-main:focus {
  background-image: linear-gradient(to right, #0056b3, #004699); /* Darker gradient on hover/focus */
  color: #d3d3d3; /* Light grey text on hover/focus */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover/focus */
  transform: translateY(-3px); /* Slightly raise the button when hovered/focused */
  text-decoration: none; /* Ensure no underline appears on hover */
}

/* Focus styles for accessibility */
.free-quote-btn-main:focus {
  outline: 2px solid #004699;
  outline-offset: 2px;
}

/* Active styles for when the button is pressed */
.free-quote-btn-main:active {
  transform: translateY(1px); /* Slightly depress the button when clicked */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Less shadow when the button is pressed */
}


.residential-heading {
  color: #000000;
  display: block; /* Retain block to take full width */
  margin: 0 auto; /* Center block */
  padding: 10px 20px; /* Adjust padding as needed */
  padding-top: 80px; /* Increase padding-top to push content down */
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center; /* Center text inside the heading */
}


.container-services {
    text-align: center; /* This will center the inline elements inside it */
    width: 90%; /* Or any max-width that suits your design */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.free-quote-btn-services {
    background-image: linear-gradient(to right, #1368bc, #217fe2); /* Gradient background */
    color: white;
    padding: 15px 30px; /* Padding inside the button */
    margin-bottom: 20px; /* Space below the button */
    border: none;
    border-radius: 5px; /* Rectangular shape */
    font-weight: bold;
    font-size: 18px; /* Slightly larger text */
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s, box-shadow 0.3s, background-image 0.3s, color 0.3s;
    display: inline-block; /* Needed for text-align to work on the button */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    text-decoration: none; /* Remove underline from links */
}

/* The rest of the CSS code for hover, focus, and active states remains unchanged */


.free-quote-btn-services:hover, .free-quote-btn-services:focus {
    background-color: #4d83ef; /* A darker shade of the button color for hover/focus */
    color: #f0f0f0; /* A different shade of white for text on hover/focus */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover/focus */
    transform: translateY(-3px); /* Slightly raise the button when hovered/focused */
    text-decoration: none; /* Ensure no underline appears on hover */
}

/* Focus styles for accessibility */
.free-quote-btn-services:focus {
    outline: 2px solid #050c8e;
    outline-offset: 2px;
}

/* Active styles for when the button is pressed */
.free-quote-btn-services:active {
    transform: translateY(1px); /* Slightly depress the button when clicked */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Less shadow when the button is pressed */
}
/* Hide the button by default and only show it on mobile screens */
.mobile-text-button {
    display: none; /* Hidden by default */
    background-image: linear-gradient(to right, #005fbf, #026de0); /* Gradient background */
    color: white;
    padding: 15px 30px; /* More padding for a larger button */
    border: none;
    border-radius: 25px; /* More rounded corners */
    font-weight: bold;
    font-size: 18px; /* Slightly larger text */
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s, box-shadow 0.3s, background-image 0.3s, color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    text-decoration: none; /* Remove underline from links */
    margin-top: 10px; /* Add space above the button if needed */
}
.mobile-text-button svg {
  vertical-align: middle; /* Align the SVG vertically with the text */
  margin-right: 5px; /* Add some space between the SVG and the text */
  fill: white; /* Set the color of the SVG */
}

@media only screen and (max-width: 768px) {
    .mobile-text-button {
        display: inline-block; /* Show button on mobile devices */
    }
}

/* Hover and focus styles similar to the free-quote-btn-main */
.mobile-text-button:hover, .mobile-text-button:focus {
    background-image: linear-gradient(to right, #0056b3, #004699); /* Darker gradient on hover/focus */
    color: #d3d3d3; /* Light grey text on hover/focus */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover/focus */
    transform: translateY(-3px); /* Slightly raise the button when hovered/focused */
    text-decoration: none; /* Ensure no underline appears on hover */
}

/* Active styles for when the button is pressed */
.mobile-text-button:active {
    transform: translateY(1px); /* Slightly depress the button when clicked */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Less shadow when the button is pressed */
}

.phone-number-button {
    display: none; /* Hide by default */
    /* Add styling for your button here */
}
.service-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto; /* Adds space above and below the section */
    background-color: #ffffff; /* Sets a white background or any color you prefer */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    border-radius: 8px; /* Rounds the corners */
  }
  
  .service-image {
    flex: 0 0 50%;
    padding-right: 1rem;
  }
  
  .service-image img {
    max-width: 100%; /* Adjusted to fill the container */
    display: block;
    margin: 0 auto;
  }
  
  .service-description {
    flex: 0 0 50%;
    padding-left: 1rem;
  }
  
  .service-description h2 {
    color: #000;
    font-size: 1.5rem;
  }
  
  .service-description p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem; /* Adds a little space below the paragraph */
  }
  
  .quote-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0e328e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer; /* Indicates that the button is clickable */
  }
  
  /* Adjustments for smaller screens */
  @media (max-width: 768px) {
    .service-section {
      flex-direction: column;
      padding: 1rem;
    }
  
    .service-image, .service-description {
      flex: none;
      width: 100%; /* Full width for smaller screens */
    }
  
    .service-image {
      margin-bottom: 1rem;
    }
  
    .service-description h2 {
      font-size: 1.25rem; /* Adjusts the heading size for better mobile readability */
    }
  
    .service-description p {
      font-size: 0.9rem; /* Adjusts the paragraph size for better mobile readability */
    }
  }
  
  /* General styles for the feedback section */
.customer-feedback-section {
  padding: 2rem;
}

/* Styles for the feedback title */
.feedback-title {
  font-size: 2rem; /* Adjust the size as needed */
  margin-bottom: 1rem;
}

/* Styles for each individual review */
.customer-review {
  width: 100%; /* Full width for more space */
  margin-bottom: 2rem; /* Space between reviews */
}

/* Styles for the content of the review */
.review-content {
  font-size: 1rem; /* Larger font size for the content */
  padding: 2rem; /* More padding to take up space within the box */
  quotes: "“" "”" "'" "'";
  font-style: italic;
  position: relative;
}

/* Styles for the author and stars of the review */
.review-author {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: bold;
}

.review-stars {
  color: #ffd700; /* Star rating color */
  margin-left: 0.5rem;
}

/* Adjusting quote symbols for all sizes */
.review-content:before,
.review-content:after {
  font-size: 4rem;
  color: #ccc;
  position: absolute;
}

.review-content:before {
  left: -1rem;
  top: -2rem;
}

.review-content:after {
  right: -1rem;
  bottom: -2rem;
}

/* Media query for tablets */
@media (max-width: 1024px) {
  .customer-review {
    width: calc(50% - 2rem); /* Adjusting width for tablet view */
  }
  
  .feedback-title, .feedback-subtitle {
    font-size: 1.5rem;
  }

  .review-content:before,
  .review-content:after {
    font-size: 3rem; /* Adjusting quote symbol size for tablet view */
  }
}

/* Media query for small tablets and large phones */
@media (max-width: 768px) {
  .customer-feedback-section {
    padding: 1rem;
  }

  .customer-review {
    width: 100%; /* Full width on smaller screens */
  }

  .feedback-title, .feedback-subtitle {
    font-size: 1.5rem;
  }

  .review-content {
    font-size: 1.25rem; /* Larger font for better readability */
    padding: 1rem; /* Adjust padding for smaller screens */
  }

  .review-content:before,
  .review-content:after {
    font-size: 2.5rem;
  }
}

/* Media query for mobile phones */
@media (max-width: 480px) {
  .review-content {
    font-size: 1.2rem; /* Slightly larger font size for mobile */
    padding: 1rem; /* Adjusted padding for mobile screens */
  }

  .review-content:before,
  .review-content:after {
    font-size: 2rem; /* Smaller quotes for mobile screens */
    top: -1rem; /* Adjust position for mobile screens */
    bottom: -1rem;
    left: 0.5rem; /* Align left and right for mobile screens */
    right: 0.5rem;
  }

  .review-author {
    font-size: 1rem; /* Adjust author font size for mobile screens */
  }
}

  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
  }
  
  .popup-window {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 300px;
  }
  
  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .close-button {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .popup-title {
    font-size: 18px;
    font-weight: bold;
  }
  
  .popup-body {
    margin-top: 10px;
  }
  
  .review-buttons {
    margin-top: 20px;
  }
  
  .review-button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .google {
    background-color: #4285F4;
    color: white;
  }
  .facebook {
    background-color: #3B5998;
    color: white;
  }
  
  .other-options {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: #555;
    text-decoration: none;
  }
  
  .popup-footer {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
    color: #555;
  }
  
  .popup-footer p {
    margin: 5px 0;
  }
  .leave-review-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
    /* Remove the absolute positioning styles if they were previously applied */
  }
  
  .leave-review-button:hover {
    transform: scale(1.05);
  }
  
  .review-button-container {
    display: flex;
    justify-content: center; /* Center horizontally in the container */
    margin-top: 20px; /* Add space above the button, adjust as needed */
    /* If you need to center it vertically within a section, add align-items and a height: */
    /* align-items: center; */
    /* height: 100px; Adjust the height as needed */
  }
  .client-section {
    text-align: center;
    padding: 20px;
}

.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.client {
    width: 200px; /* Adjust as needed */
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional shadow for depth */
}

.client img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd; /* Optional border */
    padding: 5px; /* Optional padding */
    margin-bottom: 10px;
}

.client p {
    margin: 0;
    font-weight: bold;
    color: #333;
}

/* Responsive Styles for Tablets */
@media (max-width: 1024px) {
    .client-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .client {
        width: 50%; /* Half width on tablet screens */
    }

    .client img {
        width: 75%; /* Larger than mobile, smaller than desktop */
        margin: 0 auto; /* Center the image */
    }
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 768px) {
    .client-grid {
        flex-direction: column;
        align-items: center;
    }

    .client {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 20px;
    }

    .client img {
        width: 50%; /* Smaller size for mobile view */
        margin: 0 auto; /* Center the image */
    }
}
