/* =========================
   EverFlow Plumbing
   Main Stylesheet
========================= */


/* =========================
   GLOBAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    color: #4A4A4A;
    background: #F7F8F5;
    line-height: 1.6;
}



/* =========================
   HEADER / NAVIGATION
========================= */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: #12372A;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.logo img {
    height: 75px;
    width: auto;
    display: block;
}


.logo h2 {
    color: white;
    font-size: 26px;
    letter-spacing: .5px;
}


.navbar {
    display: flex;
    gap: 30px;
}


.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}


.navbar a:hover {
    color: #9ED8B5;
}


.nav-button {
    background: #1F7A5A;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}


.nav-button:hover {
    background: #2A956E;
}



/* =========================
   HERO SECTION
========================= */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    padding: 110px 8%;

    background:
        linear-gradient(
            135deg,
            #5ea08a 0%,
            #88b6a6 50%,
            #aacfbf 100%
        );

    overflow: hidden;
}


.hero-content {
    flex: 1;
}


.hero-content h1 {
    font-size: 58px;
    line-height: 1.1;
    color: #000;
    margin-bottom: 25px;
}


.hero-content p {
    font-size: 20px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 35px;
}


.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}


.primary-button {
    display: inline-block;
    background: #1f6b45;
    color: white;
    padding: 15px 34px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}


.primary-button:hover {
    background: #174d32;
}


.secondary-button {
    display: inline-block;
    padding: 15px 34px;
    border: 2px solid #1f6b45;
    border-radius: 8px;
    text-decoration: none;
    color: #1f6b45;
    font-weight: 600;
    transition: .3s;
}


.secondary-button:hover {
    background: #1f6b45;
    color: white;
}


.trust-badge {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}


.trust-badge span {
    background: rgba(198, 207, 204, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 600;
    color: #000;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}


.hero-image img {
    width: 100%;
    max-width: 600px;
    height: 500px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,.20);
}



/* =========================
   ABOUT PAGE - OUR STORY
========================= */

.our-story {

    display: flex;
    align-items: center;
    gap: 70px;

    padding: 120px 8%;

    background: #c3d6d0;

}


.story-image {

    flex: 1;

}


.story-image img {

    width: 100%;
    max-width: 550px;

    height: 500px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow: 0 20px 50px rgba(0,0,0,.15);

}


.story-content {

    flex: 1;

}


.story-content h2 {

    font-size: 48px;

    color: #03281b;

    margin-bottom: 15px;

}


.story-content h3 {

    font-size: 28px;

    color: #1F7A5A;

    margin-bottom: 25px;

}


.story-content > p {

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;

    color: #4A4A4A;

}



/* Trust Points */

.story-points {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.story-point h4 {

    font-size: 20px;

    color: #12372A;

    margin-bottom: 5px;

}


.story-point p {

    font-size: 16px;

    color: #555;

}

/* =========================
   SERVICES SECTION
========================= */

.services-preview {

    padding: 80px 8%;
    text-align: center;
    background:#8ea89f;

}


.services-preview h2 {

    color: #12372A;
    font-size: 40px;
    margin-bottom: 10px;

}


.section-description {

    margin-bottom: 50px;

}


.service-cards {

    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;

}


.service-card {

    background: #12372A;
    padding: 35px;
    border-radius: 15px;
    width: 300px;
    transition: .3s;

}


.service-card:hover {

    transform: translateY(-8px);

}


.service-card h3 {

    color: #9ED8B5;
    margin-bottom: 15px;

}


.service-card p {

    font-size: 16px;
    line-height: 1.7;
    color: white;
    margin-top: 12px;
    margin-bottom: 20px;

}



/* =========================
   STATS SECTION
========================= */

.stats {

    display: flex;
    justify-content: space-around;
    padding: 70px 8%;
    background: #12372A;
    color: white;

}


.stat {

    text-align: center;

}


.stat h2 {

    font-size: 45px;
    color: #9ED8B5;

}


.stat p {

    margin-top: 10px;
    font-size: 18px;

}



/* =========================
   CALL TO ACTION
========================= */

.cta {

    text-align: center;
    padding: 80px 10%;

    background:
        linear-gradient(
            135deg,
            #5ea08a 0%,
            #88b6a6 50%,
            #aacfbf 100%
        );

    overflow: hidden;

}


.cta h2 {

    color: #12372A;
    font-size: 40px;
    margin-bottom: 20px;

}


.cta p {

    margin-bottom: 30px;
    font-size: 20px;
    color: #4A4A4A;

}

/* =========================
   FOOTER
========================= */

.footer {

    background-color: #0f3d2e;
    color: white;
    padding: 50px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
    flex-wrap: wrap;

}


/* Footer Brand */

.footer-brand {

    display: flex;
    align-items: center;
    gap: 15px;

    max-width: 450px;

}


.footer-brand img {

    width: 70px;
    height: auto;
    object-fit: contain;

}


.footer-brand h3 {

    margin: 0;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;

}


.footer-brand p {

    margin: 0 0 0 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #d8e8df;

}



/* Footer Links */

.footer-links {

    display: flex;
    flex-direction: column;
    gap: 12px;

}


.footer-links a {

    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: .3s ease;

}


.footer-links a:hover {

    color: #7ed957;

}



/* Footer Copyright */

.footer > div:last-child {

    text-align: right;

}


.footer > div:last-child p {

    margin: 0;
    font-size: 14px;
    color: #d8e8df;

}

.footer{

    flex-direction:column;

    text-align:center;

    align-items:center;

    gap:30px;

}

.footer-brand{

    flex-direction:column;

}

.footer-brand p{

    margin:0;

}

.footer-links{

    align-items:center;

}



/* =========================
   CONTACT PAGE
========================= */

.contact-section {

    display: flex;
    justify-content: center;
    gap: 60px;

    padding: 80px 10%;

    background: #f5f7f6;

}


.contact-info {

    max-width: 400px;

}


.contact-info h2,
.contact-form h2 {

    color: #123524;
    font-size: 32px;
    margin-bottom: 20px;

}


.contact-info h3 {

    margin-top: 25px;
    color: #1f6b45;

}



.contact-form {

    background: white;

    padding: 40px;

    border-radius: 12px;

    width: 450px;

    box-shadow: 0 10px 25px rgba(0,0,0,.1);

}



.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    padding: 15px;

    margin-bottom: 15px;

    border: 1px solid #ccc;

    border-radius: 8px;

    font-size: 16px;

}



.contact-form textarea {

    height: 140px;

}



.contact-form button {

    width: 100%;

    padding: 15px;

    background: #1f6b45;

    color: white;

    border: none;

    border-radius: 8px;

    font-size: 17px;

    cursor: pointer;

}



.contact-form button:hover {

    background: #174d32;

}



/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 900px) {


    /* Header */

    .header {

        flex-direction: column;
        gap: 25px;

    }


    .navbar {

        flex-direction: column;
        text-align: center;

    }



    /* Hero */

    .hero {

        flex-direction: column;
        text-align: center;
        padding: 80px 25px;

    }


    .hero-buttons,
    .trust-badge {

        justify-content: center;

    }


    .hero-content h1 {

        font-size: 40px;

    }


    .hero-image img {

        height: auto;

    }



    /* Services */

    .service-cards {

        flex-direction: column;
        align-items: center;

    }


    .service-card {

        width: 100%;
        max-width: 350px;

    }



    /* Stats */

    .stats {

        flex-direction: column;
        gap: 40px;

    }



    /* Our Story */

    .our-story {

        padding: 80px 25px;

    }


    .our-story h2 {

        font-size: 38px;

    }


    .our-story p {

        font-size: 17px;

    }



    /* Footer */

    .footer {

        flex-direction: column;
        gap: 30px;
        text-align: center;

    }


    .footer > div:last-child {

        text-align: center;

    }



    /* Contact */

    .contact-section {

        flex-direction: column;
        align-items: center;
        padding: 60px 20px;

    }


    .contact-form {

        width: 100%;
        max-width: 450px;

    }

}