body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
    font-family: "Roboto Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    font-size: 15px;
}
h1, h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
}
.hero {
    position: relative;
    background-image: url('../images/home_inspection.jpeg');
    background-size: cover;
    background-position: center;
    color: rgb(228, 227, 227);
    padding: 60px 20px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust opacity */
    z-index: 1;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header, .hero, .services, .about, .footer, .tech {
    width: 100%;
    box-sizing: border-box;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #e0f7fa;
    flex: 1;
}
.cta-button, .schedule-button {
    background: linear-gradient(135deg, #00796b, #005f56);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.cta-button:hover, .schedule-button:hover {
    background: linear-gradient(135deg, #005f56, #00796b);
}
.services ul {
    padding-left: 10%;
    padding-right: 8%;
    text-align: left;
}
.services li {
    padding-bottom: 8px;
}

 .tech h2 {
    font-weight: bold; /* Makes the text bold */
}

.inspector-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px; /* Adds space between image and text */
}
.services {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    margin: 20px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}
.about, .tech {
    text-align: center;
    padding: 20px 20px 40px 20px;
    background-color: #ffffff;
    margin: 20px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}
.schedule-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #00796b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.schedule-button:hover {
    background-color: #005f56;
}
.testimonials {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2em;
    margin-bottom: 30px;
}
.testimonial-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28%;
    margin: 0 1%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.testimonial p {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 10px;
}
.stars {
    color: #ffcc00;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.testimonial h4 {
    font-size: 1em;
    color: #555;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    animation: fadeIn 1s ease-in;
}

@media (max-width: 768px) {
 .hero, .services, .about, .tech {
        padding: 20px;
    }

}
@media screen and (max-width: 768px) {
    .testimonial {
        width: 90%;
        margin: 10px 2.5%;
    }
}

@media screen and (max-width: 480px) {
    .testimonial {
        width: 90%;
        margin: 10px auto;
    }
}
/* //// back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Hidden by default */
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s;
  }
  
  .back-to-top:hover {
    background-color: #005f56;
  }