@media screen and (min-width: 768px) {

    /*HEADER*/

    header {
        display: grid;
        grid-template-columns: auto 1fr;
        padding: 0.5rem 2rem;

    }

    .logo img {
    width: 455px;
    max-width: 100%;
    height: auto;
    margin-top: 0;
    }

    #menu {
        display: none;
    }

    header nav {
        display: flex;
        grid-column: auto;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0;
        background-color: transparent;
        font-size: 2rem;
    }

    header nav a {
        padding: 0.75rem 1rem;
        color: var(--primary-color);
        border-bottom: none;
        border-radius: 5px;
        font-weight: 600;
    }

    header nav a:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }

    /*HERO*/

    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        min-height: 500px;
    }

    .hero-text {
        padding: 4rem;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        margin: 0 0 2rem;
        font-size: 1.05rem;
    }

    .hero img {
        height: 100%;
        min-height: 500px;
        object-fit: cover;
    }
    
    /* HOME CONTACT OPTIONS */

    .home-contact-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    /*SERVICES*/

    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card {
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    }

    /*WHY CHOOSE US*/

    .why-us ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 1100px;
    }

    .why-us li {
        margin-bottom: 0;
    }

   /* BEFORE AND AFTER */

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1400px;
        gap: 2rem;
    }

    .before-after-card img {
        height: 420px;
        object-fit: cover;
    }

    /*TESTIMONIALS*/

    .testimonials {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonials h2 {
        grid-column: 1 / 3;
    }

    .testimonials article {
        width: 100%;
        margin-bottom: 0;
    }

    /* CALL TO ACTION */

    .cta {
        padding: 5rem 2rem;
    }

    .cta h2 {
        font-size: 2.3rem;
    }

    .cta p {
        font-size: 1.1rem;
    }

    /*FOOTER*/

    footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 3rem;
        text-align: left;
    }

    footer p {
        margin-bottom: 0;
    }

    /* SERVICES PAGE */

    .services-hero {
        padding: 5rem 2rem;
    }

    .services-hero h1 {
        font-size: 3rem;
    }

    .services-page {
        max-width: 1500px;
        gap: 2.5rem;
    }

    .service-detail {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .service-detail img {
        height: 100%;
        min-height: 400px;
    }

    .service-detail div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }

    /* alternate image position */
    .service-detail:nth-child(even) img {
        order: 2;
    }

    .service-detail:nth-child(even) div {
        order: 1;
    }

    /* CONTACT PAGE */

    .contact-hero {
        padding: 5rem 2rem;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }

    .contact-section {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 3rem;
        max-width: 1400px;
    }

    .contact-info,
    #estimate-form {
        padding: 2.5rem;
    }

    #estimate-form .button {
        width: auto;
        align-self: flex-start;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}