@media screen and (max-width: 950px) {
    .secondDiv {
        padding-top: 2%;
    }
    .secondDiv div {
        display: block;
        width: 90%;
        margin: 0 5% 0 5%;
    }
    .slogan,
    .description {
        text-align: left;
    }
    .services {
        /* background-color: #d1e8e2 !important; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .firstServicesDiv div {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 5% 5% 0 5%;
        min-height: 50px;
        text-align: center;
        justify-content: center;
        /* border: 1px solid black; */
    }
    .firstServicesDiv img {
        width: 100%;
        height: auto;
        margin: 2% 0 5% 0;
    }
    .moreServices {
        text-align: center;
        justify-content: center;
        margin-bottom: 5%;
        margin-top: 3%;
    }
    .thirdDiv {
        /* background-color: #ffcb9a !important; */
        width: 100%;
        text-align: center;
    }
    .thirdDiv p {
        width: 90%;
        margin: 0 5% 5% 5%;
        padding: 5% 0 5% 0;
    }
    .thirdDivLink {
        margin-top: 5%;
        padding-bottom: 5%;
    }
    .moreServices a {
        padding-top: 1%;
    }
    /* .moreServices a span,
    .thirdDiv a span {
        padding: 3%;
    } */
    .moreServices a span,
    .thirdDivLink a span {
        font-weight: 400;
        font-size: 12px;
    }
    .resume .moreServices span {
        font-size: 1em;
    }
}

@media screen and (min-width: 951px) {
    main {
        margin-bottom: 5%;
        height: 100%;
        width: 100%;
    }

    .secondDiv {
        display: flex;
        justify-content: center;
        width: 80%;
        margin: 0 10% 0 10%;
    }
    .secondDiv div {
        width: 54%;
        margin-left: 5%;
        margin-top: 2%;
        text-align: left;
    }
    .slogan {
        line-height: 1.6em;
    }
    .description {
        line-height: 1.5em;
    }
    .services {
        display: flex;
        /* justify-content: center; */
        /* align-content: space-around; */
        text-align: center;
        flex-direction: column;
        /* background-color: #d1e8e2 !important; */
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .firstServicesDiv {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 80%;
        margin: 2.5% 10% 2.5% 10%;
    }
    .firstServicesDiv div {
        display: flex;
        flex-direction: column;
        align-content: center;
        /* justify-content: center; */
        text-align: center;
        width: 30%;
        margin: 1%;
        min-height: 100px;
    }
    .firstServicesDiv div img {
        margin-bottom: 5%;
        width: 100%;
        height: auto;
    }
    .moreServices {
        text-align: center;
        justify-content: center;
        margin-bottom: 2%;
    }
    .moreServices a {
        padding-top: 3%;
    }
    .thirdDiv {
        /* background-color: #ffcb9a !important; */
        width: 100%;
        text-align: center;
        padding: 5% 0 5% 0;
        justify-content: center;
        margin: 0 auto;
    }
    .thirdDiv p {
        width: 80%;
        margin: 0 10% 5% 10%;
    }
    .moreServices a span,
    .thirdDivLink a span {
        font-weight: 400;
        font-size: 18px;
    }
    /* .moreServices {
        padding-top: 2%;
    } */
}

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

.hero {
    min-height: 320px;
}

/* match navbar/header 10% spacing on desktop (strong override) */
@media (min-width: 992px) {
    .hero .hero-pad {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

/* background photo */
.hero-bg {
    object-fit: cover;
    opacity: 0.5;
    pointer-events: none;
}

/* text card */
.hero-text {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
}

/* logos */
.hero-logo {
    width: 44px;
    height: auto;
}

/* slightly smaller logos on small screens */
@media (max-width: 575.98px) {
    .hero-logo {
        width: 32px;
    }
}

.hero-lines {
    line-height: 1.7;
}

/* portrait */
.hero-portrait {
    width: min(420px, 90%);
    height: auto;
    border: 10px solid #ffffff;
}

/* CTA (re-using your existing grey/black button style but scoped to hero) */
.hero-cta-main {
    background-color: grey;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    min-width: 140px;
    font-weight: 400;
}

.hero-cta-arrow {
    background-color: black;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    min-width: 42px;
}

.hero-cta-main:hover {
    background-color: grey;
    color: #78f140;
}

.hero-cta-arrow:hover {
    background-color: white;
    color: black;
}

.slogan,
.firstServicesDiv h5,
.thirdDiv p {
    font-weight: bold;
    font-size: 1.25em;
}

.moreServices a,
.thirdDivLink a {
    display: flex;
    width: 11em;
    /* justify-content: center; */
    text-decoration: none;
}

.moreServices a span:first-child,
.thirdDivLink a span:first-child {
    background-color: grey;
    color: white;
    display: flex;
    width: 9em;
    justify-content: center;
}

.moreServices a span:first-child:hover,
.thirdDivLink a span:first-child:hover {
    background-color: grey;
    color: #78f140;
}

.moreServices a span:nth-child(2),
.thirdDivLink a span:nth-child(2) {
    background-color: black;
    color: white;
    display: flex;
    width: 2em;
    justify-content: center;
}
.moreServices a span:nth-child(2):hover,
.thirdDivLink a span:nth-child(2):hover {
    background-color: white;
    color: black;
}

.thirdDiv .thirdDivLink a span,
.services .moreServices a span {
    padding: 5% 0 5% 0;
}

.thirdDiv .thirdDivLink a,
.services .moreServices {
    margin: 0 auto;
    text-align: center;
}

.firstServicesDiv div h5 a {
    text-decoration: none;
}

.thirdDiv {
    background-color: #3c6e71;
    color: white;
}
.services {
    background-color: #d9d9d9;
}
.services div h5 a,
.services div h5 a:visited {
    color: #353535;
}
.services div h5 a:hover {
    color: #8a8989;
}
