#hero {

    width: 100%;
    max-width: 100%;
    height: 100vh;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;

    color: white;
    text-align: center;


    background: linear-gradient(rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2)),
          url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCC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+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg=="),
            url("https://images.unsplash.com/photo-1541457523724-95f54f7740cc?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    ;
   
    background-repeat: no-repeat, repeat, no-repeat;
    background-size: cover, auto, cover;
    background-position: center, center, center;
    background-attachment: fixed, fixed, fixed;
    

    text-shadow: 3px 3px rgba(0, 0, 0, 0.5);

    h2,
    h3,
    h4 {
        color: white;
    }

     .hide-on-mobile {
        display: block;
    }

    .logo {
        padding-top: 10%;

        svg {
            max-width: 100%;
            stroke: white;
             filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));

        }

        .tagline {
            transform: rotate(-8deg);
            font-size: 40px;
            font-style: italic;
            margin-top: -32px;

        }
    }


    .cta {
        text-transform: uppercase;
        animation-name: flash;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-direction: alternate-reverse;


        h2 {
            font-size: 48px;
            font-weight: 800;
            margin: 0;

        }

        h3 {
            font-size: 25px;
            font-weight: 800;

        }

        h4 {
            font-size: 22px;
            font-weight: 600;
        }
    }


}

@keyframes flash {
    0% {
        opacity: 50%;
        padding-bottom: 24px;
    }

    100% {
        opacity: 100%;
        padding-bottom: 32px;
    }
}

.page-content {
    max-width: 1400px;
    margin: auto;
}


.what-we-do {

    border-bottom: solid .5px var(--borderColor);

    h2 {
        width: 50%;

        border-right: solid 1px var(--borderColor);
    }

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 48px 0;


    .services {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-left: 40px;
        row-gap: 32px;

        h3 {
            font-size: 32px;
            font-weight: 600;
        }

        .service {
            width: 50%;
            padding: 0 0 24px 40px;
            box-sizing: border-box;
        }

        .service:nth-child(1) {
            border-right: solid .5px var(--borderColor);
        }

        .service:nth-child(4) {
            border-right: solid .5px var(--borderColor);
        }


        hr {
            width: 100%;
        }
    }


}

.flickity-button {
    background: rgba(0, 0, 0, .15) !important;
}

.cases {

    padding: 80px 0;

    img {
        border-radius: 16px;
        height: fit-content;
    }

    .case-type {
        border-radius: 4px;
        text-transform: uppercase;
        background-color: #DB9696;
        color: rgba(0, 0, 0, 0.65);
        padding: 4px 8px;
        font-weight: 500;
    }

    span {

        img {
            vertical-align: bottom;
            margin: 0 !important;
        }

        a {
            color: var(--textColor);
            font-size: 18px;
            text-decoration: none;
            font-weight: 600;
        }
    }

    .top-case {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;

        .content {
            padding: 0 0 0 40px;



            h4 {
                font-size: 32px;
                margin-bottom: 24px;
                margin-top: 12px;
                font-weight: 600;
            }

            p {
                font-size: 18px;
                margin-bottom: 32px;
            }

        }

    }

    .sub-case-section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        margin-top: 40px;

        h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            margin-top: 12px;
        }

        p {
            font-size: 14px;
            margin-bottom: 32px;
        }

        .sub-case {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            box-sizing: border-box;
            width: 30%;

            img {
                margin-bottom: 16px;
            }

        }
    }

}

.picture-perfect-clarity {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 64px 0;
    border-bottom: solid .5px var(--borderColor);
    border-top: solid .5px var(--borderColor);

    column-gap: 80px;

    img {
        border-radius: 20px;
        max-width: 600px;
    }

    .content {

        h2 {
            font-size: 56px;
            font-weight: 600;
        }

        p {
            margin-bottom: 48px;
        }
    }
}


.about-trialvizion {
    text-align: center;
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: solid .5px grey;

    h2 {
        font-size: 40px;
        font-weight: 600;
    }

    p {
        max-width: 850px;
        font-size: 18px;
    }

    img {
        border-radius: 20px;
        width: 100%;
        margin-bottom: 24px;
    }

    .icon {
        width: 48px;
        margin: 0;
    }
}

.meet-the-team {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 32px;

    .member {
        width: 30%;

        h5 {
            font-weight: 600;
            font-size: 24px;
            margin-bottom: 16px;
            margin-top: 12px;
        }

        img {
            border-radius: 20px;
        }
    }

    .member:nth-child(1) {
        border-right: solid .5px var(--borderColor);
    }

    .member:nth-child(2) {
        border-right: solid .5px var(--borderColor);
    }
}

.ready-to-talk {
    border-radius: 20px 20px 0 0;
    background-color: var(--textColor);
    padding: 40px;
    margin: auto;
    margin-top: 80px;
    max-width: 1400px;
    

    .cta {
        border-radius: 20px;
        background-color: white;
        padding: 24px;

        h3 {
            font-size: 56px;
            font-weight: 600;
        }

        p {
            max-width: 700px;
        }

          span {
            font-weight: 600;
        }
    }


}


/* 1440 MEDIA QUERY */
@media only screen and (max-width: 1440px) {

    
#hero {
    .logo {
        width: 90%;
    }
}

    .page-content {
        box-sizing: border-box;
        padding: 0 80px;

    }


    .what-we-do {
        flex-direction: column;
        flex-wrap: wrap;

        h2 {
            border: none;
        }

        .services {
            padding-left: 0;
        }

        .service:nth-child(1),
        .service:nth-child(4) {
            padding-left: 0;
        }
    }

    .meet-the-team {

        .member:nth-child(1),
        .member:nth-child(2) {
            padding-right: 24px;
        }

        .member {
            img {
                width: -webkit-fill-available;
            }
        }
    }

    .picture-perfect-clarity {
        img {
            width: 50%;
        }
    }
}

/* 1000 MEDIA QUERY */

@media only screen and (max-width: 1024px) {

    .page-content {
        padding: 0 48px;
    }

    .cases {
        .top-case {
            flex-direction: column;

            .content {
                padding: 0;
                padding-top: 24px;
            }
        }

        .sub-case-section {
            flex-direction: column;
            row-gap: 24px;

            .sub-case {
                width: auto;
            }
        }
    }

    .picture-perfect-clarity {
        flex-direction: column;

        img {
            width: 100%;
        }
    }

    .member {
        p {
            font-size: 14px;
        }
    }

    .meet-the-team {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        row-gap: 40px;

        .member {
            width: 100%;
            max-width: 600px;
            

            img {
                max-width: 600px;
            }
        }

        .member:nth-child(1), .member:nth-child(2) {
            border: none;
        }
    }

}

@media only screen and (max-width: 850px) {

    #hero {
        .logo {
            svg {
                width: 90%;
                margin-left: -24px;
            }

            .tagline {
                font-size: 32px;
            }
        }
    }

    .picture-perfect-clarity {
        img {
            height: 300px;
            object-fit: cover;
            margin-bottom: 32px;
            max-width: none;
        }
        .content {
            h2 {
                font-size: 40px;
            }
        }
    }

    .service {
        p {
            width: 95%;
        }
    }

    .primary-btn {
        padding: 12px 16px;
    }

}

@media only screen and (max-width: 650px) {

    .page-content {
        padding: 0 32px;
    }

    .what-we-do {

        h2 {
            width: 100%;
        }
        h3 {
            font-size: 24px !important;
        }

        p {
            font-size: 16px;
        }
    }

    .ready-to-talk {
        .cta {

        
        h3 {
            font-size: 32px;
            margin-bottom: 16px;
        }
        p {
            font-size: 14px;
        }

      
    }
    }
}

@media only screen and (max-width: 500px) {
    #hero {
        padding: 0;
        padding-bottom: 24px;
        .logo{
            .tagline {
                font-size: 24px;
                margin-top: -72px;
            }
        }
    }

    .what-we-do {
        .services {
        flex-direction: column;
        align-items: center;
        
        .service, .service:nth-child(1), .service:nth-child(4) {
            padding: 0;
            border: none;
            width: 100%;
        }
    }
    }

    .hide-on-mobile {
        display: none;
    }

}

@media only screen and (max-width: 400px) {
    #hero {
        .cta {
            h2 {
                font-size: 40px;
            }
            h3, h4 {
                font-size: 20px;
            }
        }
    }

    
    .cases {
      .top-case {
        .content {
          h4 {
            font-size: 24px;
          }
        }
      }
    }

    .ready-to-talk {
        padding: 24px;
    }
}