body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 80%;
    margin: auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section Styles */
.hero {
    position: relative;
    background: url('photo1.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 100px 0;
    height: 400px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 18, 49, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}









.header,
.services,
.about,
.how-we-work,
.gallery,
.team,
.testimonials,
.footer {
    padding: 50px 0;
    text-align: center;
}

/* Header styles */
.header {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 100px;
    height: auto;
}

.company-name {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.8em;
    color: #1E4794;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blue-section {
    background-color: #1E4794;
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.blue-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blue-section-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
}




.text-content {
    max-width: 50%;
}

.plumbing-image {
    width: 30%;
    max-width: 600px;
    height: 300px;
    padding-top: 30px;
    padding-right: 15%;
}

.header h1,
.blue-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.header p,
.blue-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.blue-sectionsites a {
    color: #ffcc00;
}

.learn-more,
.hire-us,
.call-us {
    background-color: #16c916;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 0;
    color: white;
    transition: background-color 0.3s;
}

.learn-more:hover,
.hire-us:hover,
.call-us:hover {
    background-color: #61C6FF;
    color: white;
}

.phone-button {
    text-align: center;
    padding: 20px 0;
}

.services h2,
.about h2,
.how-we-work h2,
.gallery h2,
.team h2,
.testimonials h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #1E4794;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 23%;
    margin: 1%;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    -webkit-transition: transform 0.2s;
    -moz-transition: transform 0.2s;
    -ms-transition: transform 0.2s;
    -o-transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 20px;
    position: relative;
}

.service-number {
    background-color: #61C6FF;
    color: white;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    position: absolute;
    top: -20px;
    left: -20px;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.card-content p {
    font-size: 16px;
    margin-top: 15px;
}

.special-card {
    background-color: #ffcc00;
    color: white;
}

.special-card .call-us {
    background-color: #16c916;
}

.footer {
    background-color: #1E4794;
    color: white;
    padding: 20px 0;
}

.footer p {
    margin: 5px 0;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #ffcc00;
}

.experience {
    margin-top: 20px;
    font-size: 20px;
    color: #ffcc00;
    font-weight: bold;
}

h3 {
    color: #ffcc00;
}

.commitments-list {
    list-style-type: none;
    padding: 0;
    font-size: 18px;
    margin-top: 20px;
    color: #1E4794;
    text-align: center;

}

.commitments-list li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

.commitments-list li i {
    margin-right: 10px;
    color: #61C6FF;
    font-size: 20px;

}

.how-we-work {
    padding: 50px 0;
    text-align: center;
    background-color: #f0f0f0;

}

.how-we-work h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #1E4794;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;

}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

.step i {
    font-size: 36px;
    color: #61C6FF;
    margin-bottom: 10px;
}

.step p {
    font-size: 16px;
    color: #1E4794;
    text-align: center;
}

.client-reviews {
    padding: 50px 0;
    text-align: center;
    background-color: #f0f0f0;
}

.client-reviews h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #1E4794;
}

.reviews {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}

.review {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;

}

.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content {
    flex-grow: 1;
}

.stars {
    color: #ffcc00;
    margin-bottom: 10px;
}

.comment {
    font-size: 16px;
    color: #1E4794;
    margin-bottom: 10px;
}

.client-name {
    font-size: 14px;
    color: #61C6FF;
    font-weight: bold;
}

/* Section Layout */
#services {
    background-color: #f9f9f9;
    padding: 40px 10px;
    text-align: center;
}

#services h2 {
    color: #1E4794;
    font-size: 2rem;
    margin-bottom: 30px;
}

.service-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto;
    /* Allows horizontal scrolling on smaller screens */
}

.service-block {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 220px;
    /* Smaller block width */
    max-width: 250px;
    /* Ensures all blocks are small */
    margin: 0 5px;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
}

.service-block h4 {
    color: #61C6FF;
    font-size: 1.2rem;
    /* Smaller title */
    margin-bottom: 8px;
}

.service-block p {
    color: #333;
    font-size: 0.9rem;
    /* Smaller paragraph */
    line-height: 1.4;
}

.service-block strong {
    color: #1E4794;
}

/* Responsive Design */
@media (max-width: 768px) {
    #services {
        padding: 30px 10px;
    }

    #services h2 {
        font-size: 1.6rem;
    }

    .service-content {
        flex-wrap: nowrap;
        /* Allow scrolling rather than wrapping */
        justify-content: flex-start;
    }

    .service-block {
        min-width: 180px;
        /* Even smaller on smaller screens */
        max-width: 200px;
    }

    .service-block h4 {
        font-size: 1rem;
    }

    .service-block p {
        font-size: 0.8rem;
    }
}



/* Small screens (mobile phones) */
@media only screen and (max-width: 480px) {
    .header-top {

        align-items: flex-start;
    }

    .logo {
        width: 120px;
        margin-bottom: 10px;
    }

    .trust-stars {
        margin-top: 10px;
    }

    .blue-section {
        padding: 20px 0;
    }

    .blue-content {
        flex-direction: column;
        align-items: center;
    }

    .blue-section-image {
        width: 100%;
        height: auto;
        position: static;
        margin-top: 20px;
    }

    .text-content {
        max-width: 100%;
        text-align: center;
    }

    .phone-button {
        padding: 10px 0;
    }

    .services h2,
    .how-we-work h2,
    .client-reviews h2 {
        font-size: 24px;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }

    .card-content {
        padding: 10px;
    }

    .service-number {
        font-size: 16px;
        padding: 8px;
    }

    .service-image {
        width: 100%;
        height: auto;
    }

    .commitments-list {
        font-size: 16px;
    }

    .commitments-list li {
        flex-direction: column;
        align-items: center;
    }

    .commitments-list li i {
        font-size: 18px;
    }

    .how-we-work {
        padding: 20px 0;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .step i {
        font-size: 30px;
    }

    .step p {
        font-size: 14px;
    }

    .client-reviews {
        padding: 20px 0;
    }

    .review {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-pic {
        width: 50px;
        height: 50px;
    }

    .footer {
        padding: 10px 0;
    }

    .social-media a {
        font-size: 20px;
    }
}

/* Medium screens (tablets) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .header-top {
        flex-direction: row;
        align-items: center;
    }

    .logo {
        width: 130px;
    }

    .blue-section {
        padding: 30px 0;
    }

    .blue-content {
        flex-direction: column;
        align-items: center;
    }

    .blue-section-image {
        width: 80%;
    }

    .text-content {
        max-width: 90%;
    }

    .phone-button {
        padding: 15px 0;
    }

    .services h2,
    .how-we-work h2,
    .client-reviews h2 {
        font-size: 26px;
    }

    .service-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .card {
        width: 45%;
    }

    .card-content {
        padding: 15px;
    }

    .service-number {
        font-size: 18px;
        padding: 9px;
    }

    .service-image {
        width: 100%;
        height: auto;
    }

    .commitments-list {
        font-size: 17px;
    }

    .commitments-list li {
        flex-direction: row;
        align-items: center;
    }

    .commitments-list li i {
        font-size: 20px;
    }

    .how-we-work {
        padding: 30px 0;
    }

    .steps {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .step {
        max-width: 45%;
    }

    .step i {
        font-size: 32px;
    }

    .step p {
        font-size: 15px;
    }

    .client-reviews {
        padding: 30px 0;
    }

    .review {
        max-width: 45%;
    }

    .profile-pic {
        width: 60px;
        height: 60px;
    }

    .footer {
        padding: 15px 0;
    }

    .social-media a {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        /* Ensure the logo and stars remain side by side */
    }

    .logo {
        margin-right: 10px;
        /* Add space between the logo and stars */
    }
}