main {
    background-color: white;
    width: 100%;
    border: white solid 2px;
    overflow: hidden;
    background-color: #fcfdfd;
    margin: 0;
    padding: .8em;
}

p, ul, li {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1em;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "Roboto", sans-serif;

}

h3 {
    color: #0E7490;
}

h2 {
    color: var(--light-blue);
}

.overlay {
    border-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, .6),
            rgba(0, 0, 0, 1)) fill 1;
    margin: 0;
    padding: 0;
}
.review-cta{
    color:white;
    text-align: center;
}
.firstLine {
    margin-top: -.8em;
}

.areaheroSect {
    margin: 0;
    padding: 0;
}
h4{
    text-align: center;
}
li{
    margin-left: 0;
    padding-left: 0;
}
.formO{
    padding: 6px 12px;
   border: 1px solid rgb(226, 226, 226);
    background-color: rgb(226, 226, 226);
    border-radius: 3px;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
}
.calla{
   
    padding: .5em;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.formO:hover{
    background-color: rgb(15, 187, 245);
color: white;
}
.callUS {
    color: var(--light-blue);
    text-decoration: underline;
    font-weight: 700;
}

.viewMore {
    padding: 6px 12px;
    border: 1px solid var(--light-blue);
    background-color: var(--light-blue);
    border-radius: 3px;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;

}

.veiwMDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .5em;
}

.viewMore:hover {
    background-color: rgb(15, 187, 245, .7);
}

.interLink {
    text-decoration: underline;
    color: var(--light-blue);
    font-weight: 600;
}

.areaheroSect a {
    color: rgb(90, 175, 205);
    font-weight: 500;
    padding: .3em .5em;
    border-radius: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.areaheroSect a:hover {
    color: var(--light-blue);
}

.headImg {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/marple-stone-roof.webp);
    height: 40vh;
    margin-top: -3em;
    margin-left: -1.7rem;
    margin-right: -1.7rem;
    flex-direction: column;
}

h1 {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    text-wrap: wrap;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 2px;
    font-size: 2em;
    margin: 5px;
}

/* Service Section */
.serviceSec p {
    margin-top: -.8em;
}

/* Customer Reviews */
.customerReviewsFlex {
    display: flex;
    gap: 10px;

}

.reviewContianer {

    border: var(--light-blue) solid 6px;
    padding: 10px 20px;
    background-color: whitesmoke;
    text-align: center;
    font-weight: 500;
}

.reviewTitle {
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
    color: white;
    letter-spacing: 3px;
    font-weight: 700;
}

.customerReviewsName {
    background-color: var(--light-blue);
    color: white;
    margin-bottom: 0;
    padding: 7px 3px 9px 3px;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 3px;
    margin: 0 auto;
}

.customerReviewsStatus {
    background-color: lightgrey;
    padding: 5px 3px;
    font-weight: 500;
    font-size: .8em;
    margin: 0 auto;
    margin-top: -.6em;
    width: 75%;
    border-radius: 3px;
}

.navBlue {
    background-color: var(--nav-blue);
}

.customerReviews {
    background-color: var(--nav-blue);
    padding: 20px 20px;
    border-radius: 3px;


}

/* Style the button/header */
.expandableHeader {
    background-color: #eee;
    /* Light grey background */
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    transition: 0.4s;
    margin-bottom: 0;
    /* Important so it touches the content */
    position: relative;
}

/* Add a hover effect */
.expandableHeader:hover,
.expandableHeader.active {
    background-color: #ccc;
}

/* Optional: Add a plus/minus sign */
.expandableHeader:after {
    content: '\002B';
    /* Unicode character for "plus" sign (+) */
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.expandableHeader.active:after {
    content: "\2212";
    /* Unicode character for "minus" sign (-) */
}

/* Style the content box */
.expandableContent {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-bottom: 1px solid #eee;
}
.projects {
    display: flex;
    flex-direction: column;

}
.projects img {
    max-height: 250px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .2);
}
/* Container acts as the frame */
.areaheroSect {
    position: relative;
    display: grid;
    place-items: center; /* Centers text vertically and horizontally */
    min-height: 60vh; /* Adjust this to match your desired height */
    overflow: hidden;
    text-align: center;
    color: #ffffff; /* Ensures text is white */
}

/* The Image sits at the back */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the img act like background-size: cover */
    z-index: 1;
}

/* The Dark Overlay sits between image and text */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darkens image by 50% for contrast */
    z-index: 2;
}

/* The Text sits on top */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 800px;
}

/* Accessibility & Branding fix for the blue text */
.highlight-text {
    color: var(--light-blue);
    /* OPTIONAL: Add a slight text-shadow if the blue is hard to read on the dark overlay */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8); 
}

/* Button Styling (Basic example based on your code) */
.hero-cta {
    margin-top: 20px;
}

    /* --- Services Section Container --- */
.services-section {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Light grey background to make cards pop */
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.highlight {
    color: #0fbbf5; /* Daniel Scott Blue */
}

/* --- The Grid Layout --- */
.service-grid {
    display: grid;
    /* This magic line makes it responsive automatically without media queries */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
}

/* --- The Card Design --- */
.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Ensures button stays at bottom */
    height: 100%;
}

/* Hover Effect: Lifts the card up */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* --- Card Image --- */
.card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom image slightly on hover */
.service-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* --- Card Content --- */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes button to bottom */
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #222;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* --- The SEO List (Bullet Points) --- */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.service-list li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li span {
    color: #0fbbf5; /* Blue Checkmarks */
    font-weight: bold;
}

/* --- The Button --- */
.card-btn {
    margin-top: auto; /* Pushes button to the very bottom */
    display: block;
    text-align: center;
    background: white;
    color: #0fbbf5;
    border: 2px solid #0fbbf5;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: #0fbbf5;
    color: white;
}

/* --- View All Link --- */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #0fbbf5;
    padding-bottom: 2px;
}

.view-all-link:hover {
    color: #0fbbf5;
}

@media (max-width: 1000px) {
    .projects {
        display: flex;
        flex-direction: column;
    }

    .projects img {
        max-height: 250px;
    }

    .headImg {
        text-align: center;
    }

    .headImg h1 {
        font-size: 1.2em;
        padding: 10px;

    }

    .customerReviewsFlex {
        flex-direction: column;
        justify-content: center;
        align-items: center;


    }

    .reviewContianer {
        width: 90%;
    }

    .customerReviewsName {
        width: 70%;
    }

    .customerReviewsStatus {
        width: 55%;
    }
}