/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    background: linear-gradient(to right, #31817475, white 20%, #31817475);
    background-attachment: fixed;  
  }
  
  .container {
    margin: 0 auto;
    padding: 0rem;
    border: 0rem;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  .col-left{
    flex: 1;
    padding: 1rem;
    text-align: center;
    max-width: 1024px;
  }
  
  .col-right {
      flex: 1;
      padding: 0rem;
      max-width: 1024px;
      position: relative; /* Add this line */
      background-image: url('images/retail-store-background.webp');
      background-size: cover;
      background-position: center;
      display: flex; /* Use flexbox */
      justify-content: right; /* Center horizontally */
      align-items: right;
      text-align: right;
      height: 600px;
  }
  
  .eco-friendly-container {
      position: absolute;
      top: 10px; /* Adjust this value to align top as needed */
      text-align: right;
  }
  
  .eco-friendly-badge {
      width: 100px; /* Adjust width as needed */
      display: block; /* Change to block to center it */
      margin: 0 auto; /* Auto margin for block elements centers it */
  }
  
  .logo {
    width: 150px; /* adjust logo width as needed */
    margin-bottom: 1rem;
  }
  
  
  .cta-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta {
  
    border: 1px solid #ddd;
    border-radius: 5px;
    
  
    font-size: 18px; /* Increase text size */
    padding: 10px 20px; /* Increase height, decrease width */
    min-width: 100px; /* Set a minimum width */
    width: 450px; /* Set a maximum width */
    display: inline-block; /* To respect width properties */
    text-align: center;  
  }
  
  .cta i {
      margin-right: 8px; /* Adds spacing between the icon and text */
      /* Additional styling if needed */
  }
  
  
  .cta-primary {
    background-color: #3498db;
    color: #fff;
  }
  
  .cta-secondary {
    background-color: #2ecc71;
    color: #fff;
  }
  
  .cta-tertiary {
    background-color: #27ae60;
    color: #fff;
  }
  
  .cta:hover {
    background-color: #555;
  }
  
  
  a.cta {
    border: 1px solid #ddd;
    border-radius: 5px;
    
  
    font-size: 18px; /* Increase text size */
    padding: 10px 20px; /* Increase height, decrease width */
    min-width: 100px; /* Set a minimum width */
    width: 450px; /* Set a maximum width */
    display: inline-block; /* To respect width properties */
    text-align: center; 
  }
  
  .phone-number{
    font-size: 1.2em;
  }
  
  .cta-text-testimonial {
    color: rgba(255, 255, 255, 0.70);
    font-size: 1.5rem;
    position: absolute;
    bottom: 85px;
    width: 100%; 
  }
  
  /* MOBILE */
  @media only screen and (max-width: 768px) {
    .background-image {
      display: none;
    }
    .mobile-image {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    .col-right {
      display: none;
    }
    .value-prop,
    .cta-group {
      margin-top: 0rem;
    }
    .value-prop {
      font-size: 1.5rem;
      line-height: 1.5;
      margin-bottom: 1rem;
    }
    .value-prop-2 {
      font-size: 2rem;
      line-height: 1.5;
      margin-bottom: 0rem;
      color: #3eb8a1;
    }
    
    .cta {
        font-size: 18px; /* Slightly smaller font size on mobile */
        padding: 8px 15px;
        min-width: 80px;
        width: 95%;
        height: 65px;
    }  
    .logo {
      width: 100px; /* adjust logo width as needed */
      margin-bottom: 0rem;
    }  
    .testimonials{
      padding-top: 0px;
    }
  
    /* HIDE TESTIMONIAL BUTTONS IN DESKTOP */
    #call-button-1,
    #call-button-2,
    #call-button-3,
    #email-button-3,
    #call-button-4,
    #email-button-4
    {
      display: none;
    }
    /* Now show the mobile-only background div */
    .mobile-only-background {
        display: block;
        background-image: url('images/retail-store-background.webp');
        background-size: cover;
        background-position: center;
        height: 400px; /* Set a height for your mobile background */
        text-align:right;
    }
  
    /* Style for mobile eco-friendly badge */
    .mobile-eco-friendly-badge {
        width: 100px; /* Adjust width as needed */
      margin-top: 10px;
        
    }
    
    
  }
  
  /* DESKTOP */
  @media only screen and (min-width: 769px) {
    .mobile-image {
        display: none;
    }
    .col-left {
      display: block;
      margin: 0 auto;
      text-align: center;
    }
    .col-right{
        line-height: 0px;
    }
    .value-prop {
      font-size: 2.0em;
      line-height: 1.5;
      margin-bottom: 1rem;
    }
    .value-prop-2 {
      font-size: 2rem;
      line-height: 1.5;
      margin-bottom: 0rem;
      color: #3eb8a1;
    }  
    .classroom-before-after #sms-button{
      display:none;
    }
    .office-before-after #text-mobile-button{
      display: none;
    }
    /* HIDE TESTIMONIAL BUTTONS IN MOBILE */
    #text-button-1,
    #text-button-2,
    #call-button-3-mobile,
    #call-button-1-mobile,
    #email-button-4-mobile,
    #text-button-5-mobile{
      display: none;
    }  
    
    /* Hide the mobile image in desktop view and show the new mobile-only div only in mobile view */
    .mobile-image,
    .mobile-only-background {
        display: none;
    }  
  }
  
  /* TESTIMONIALS BUTTONS POSITION */
  #call-button-2, 
  #text-button-2, 
  #email-button-3, 
  #call-button-3-mobile, 
  #email-button-4,
  #call-button-4,
  #email-button-4-mobile,
  #sms-button,
  #text-button-5-mobile,
  #email-button-4{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .background-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    min-height: 600px;
    object-fit: cover;
  }
  
  .city-state
  {color: #000000;}
  
  
  .testimonials {
  
    background-image: url('images/nashua-background.webp');
    background-size: cover;
    background-position: center;
    position: relative;  
    margin-top: 1px;
    background-color: #eee;
    text-align: center;
    padding: 20px 0;
    min-height: 800px;
  
  }
  
  .testimonials .testimonial-list {
    display: flex;
    justify-content: center; /* Horizontally center the list */
    align-items: center;   /* Vertically center the list (optional) */
    max-width: 1024px;
    margin: 0 auto; /* Center the list within its container */
  }
  
  #testimonials::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.30);
      z-index: 1;
  }
  
  #testimonials .container {
      position: relative;
      z-index: 2;
  }
  
  .testimonial-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1024px;
    margin-top: 1px;
  }
  
  .testimonial {
    border: 1px solid #fff; /* Add border */
    background-color: rgba(255, 255, 255, 0.85); /* Add background */
    border-radius: 5px;
    padding: 5px;
    margin: 10px;
  }
  
  .testimonial img {
    max-width: 180px; /* Adjust the size of the star image */
  }
  
  .testimonial-content {
    text-align: left;
  }
  
  .testimonial-content p {
    font-size: 1.2em;
  }
  
  .office-before-after {
    background-image: url('images/office-before-after.webp');
  }
  
  .outdoor-before-after {
    background-image: url('images/outdoor-cleaning.webp');
  }
  
  .groceries-before-after {
    background-image: url('images/groceries-store.webp');
  }
  
  .classroom-before-after {
    background-image: url('images/classroom.webp');
  }
  
  .office-before-after, 
  .outdoor-before-after, 
  .groceries-before-after, 
  .classroom-before-after {
    background-size: cover;
    background-position: center;
    position: relative;  
    margin-top: 10px;
    background-color: #eee;
    text-align: center;
    padding: 0px 0;
    min-height: 800px;
    max-width: 1024px;  
    margin: 0 auto;
    display: block;
  }
  
  
  .fa-star {
      color: #fab908;
  }
  
  .author {
    font-style: italic;
    color: #555;
    padding-top: 20px;
    margin-bottom: 0px;
  }
  
  .button {
    transition: background-color 0.3s ease;
    
    
    font-size: 18px; /* Increase text size */
    padding: 10px 20px; /* Increase height, decrease width */
    min-width: 100px; /* Set a minimum width */
    max-width: 200px; /* Set a maximum width */
    display: inline-block; /* To respect width properties */
    text-align: center;  
  }
  
  .primary {
    background-color: #3498db;
    color: #fff;
  }
  
  .secondary {
    background-color: #2ecc71;
    color: #fff;
  }
  
  .green {
    background-color: #27ae60;
    color: #fff;
  }
  
  .button:hover {
    background-color: #555;
  }
  
  
  /* Services styles */
  .services {
    text-align: center;
    padding: 50px 0;
  }
  
  .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .card {
    width: 30%;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
  }
  
  .card i {
    font-size: 2em;
    margin-bottom: 10px;
  }
  
  /* Footer styles */
  footer {
    background-color: #333; /* Dark background for footer */
    color: white; /* White text color */
    text-align: center; /* Center-align text */
    padding: 20px 0; /* Padding above and below the content */
  }
  
  .footer-content {
    max-width: 1024px; /* Maximum width of the footer content */
    margin: 0 auto; /* Center the footer content */
  }
  
  .footer-badges img {
    margin: 0 10px; /* Margin between images */
    vertical-align: middle; /* Align images vertically */
  }
  
  .footer-text {
    margin-top: 20px; /* Space above the text */
    font-size: 0.9rem; /* Smaller font size */
  }
  
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .service-cards .card {
      width: 100%;
    }
  }
  
  /* Within your style.css file */
  /* Styles for the contact form container */
  .contact-form {
    margin: 10px auto;
    padding: 20px;
    border: 0px;
    border-radius: 5px;
    width: 90%; /* Adjust width as needed */
    max-width: 500px; /* Set a maximum width */
  }
  
  .form-heading {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .form-options {
    font-size: 1em;
    margin-bottom: 20px;
  }
  
  /* Styles for form elements */
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    box-sizing: border-box; /* Ensure consistent sizing */
    font-family: Arial, sans-serif; /* Set your preferred font family here */
    font-size: 16px; /* Adjust font size as needed */  
  }
  
  
  .btn-primary {
  
    border: 1px solid #ddd;
    border-radius: 5px;
    
  
    font-size: 18px; /* Increase text size */
    padding: 10px 20px; /* Increase height, decrease width */
    min-width: 100px; /* Set a minimum width */
    width: 50%; /* Set a maximum width */
    display: inline-block; /* To respect width properties */
    text-align: center; 
    background-color: #3498db;
    color: #fff;
  }  
  
  .btn-primary:hover {
    background-color: #2980b9; /* Adjust hover color as needed */
  }
  
  
  .support-local-businesses-badge {
      display: block;
      margin: 20px auto; /* Centers the image and provides some space from the list */
      width: 150px; /* Adjust as needed */
  }
  
  #loadingSpinner {
    display: none; /* Hidden by default */
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2000; /* Sit on top */
    cursor: progress; /* Spinner cursor */
    text-align: center; /* Center the spinner */
}

#loadingSpinner img {
    position: relative; /* To position it relative to its container */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Align center */
}
