.roofing-hero {
    width: 100%;
    height: 500px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 85% 90%, 75% 100%, 0 100%);
    user-select: none;
}

.roofing-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.roofing-hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    backdrop-filter: brightness(50%) blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 5%;
    box-sizing: border-box;
}

.roofing-hero-overlay h2 {
    font-size: 4rem;
    margin: 0 0 10px 0;
}

.roofing-hero-overlay p {
    margin: 10px 0 30px 0;
    font-size: 2rem;
}

.roofing-hero .underline {
    margin: 0;
}

/* ROOFING - INTRO */
.roofing-intro {
    width: 100%;
    padding: 50px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.roofing-intro h2 {
    margin: 0 0 0 0;
    font-size: 4rem;
}

.roofing-intro p {
    width: 1000px;
    max-width: 90vw;
    font-size: 1.75rem;
}

/* ROOFING - CARDS */
.roofing-cards-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 100px;
    row-gap: 50px;
    flex-wrap: wrap;
    padding: 0 0 70px 0;
}

.roofing-card {
    width: 600px;
    max-width: 90vw;
    min-height: 500px;
    background-color: #f1f1f1;
    border-radius: 10px;
    border: solid 4px transparent;
    padding: 30px;
    box-sizing: border-box;
    transition: all 0.3s linear;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.roofing-card h3 {
    margin: 0 0 5px 0;
    font-size: 3.5rem;
}

.roofing-card img {
    width: 90%;
    height: auto;
}

.roofing-card p {
    font-size: 1.75rem;
    margin: 10px 0px;
}

.roofing-card .underline {
    margin: 0 auto 10px auto;
    width: 75px;
}

.roofing-card:hover {
    border: solid 4px var(--main-red);
    box-shadow: 0px 2px 8px -2px black;
}

.wide-roofing-card {
    width: 1300px;
    max-width: 90vw;
    min-height: 200px;
    justify-content: center;
    align-items: center;
}

.wide-roofing-card h5 {
    font-size: 2.25rem;
    margin: 0 0 20px 0;
}

.wide-roofing-card ul {
    padding: 0;
    list-style: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 40%);
    justify-content: center;
    column-gap: 40px;
    row-gap: 20px;
}

@media (max-width: 1000px) {
    .wide-roofing-card ul {
        grid-template-columns: 90%;
        text-align: center;
    }
}

.wide-roofing-card ul li {
    margin-bottom: 10px;
    font-size: 1.75rem;
}

.wide-roofing-card h3 {
     margin: 0 0 50px 0;
}

.wide-roofing-card ul li::before {
    margin-right: 10px;
    content: "";
    display: inline-block;
    height: 30px;
    width: 30px;
    background-image: url("/imageserver/UserMedia/amcraftsmen/check-red.svg");
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* ROOFING - MIL */
.roofing-mil {
    padding: 50px 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 40px;
}

.roofing-mil-img-wrap {
    width: 500px;
    max-width: 80vw;
    height: auto;
    position: relative;
    z-index: 1;
}

.roofing-mil-img-wrap::before {
    position: absolute;
    border-right: dotted 6px var(--main-red-dark);
    border-top: dotted 6px var(--main-red-dark);
    border-radius: 0 20px 0 0;
    top: -10px;
    right: -10px;
    width: 60%;
    height: 40%;
    display: block;
    content: "";
    z-index: -1;
}

.roofing-mil-img-wrap::after {
    position: absolute;
    border-left: dotted 6px var(--main-red-dark);
    border-bottom: dotted 6px var(--main-red-dark);
    border-radius: 0 0 0 20px;
    bottom: -10px;
    left: -10px;
    width: 60%;
    height: 40%;
    display: block;
    content: "";
    z-index: -1;
}

.roofing-mil-img-wrap img {
    height: 100%;
    width: 100%;
    z-index: 1;
    border-radius: 20px;
}

.roofing-mil-content {
    max-width: 90vw;
    width: 700px;
}

.roofing-mil-content h2 {
    font-weight: 500;
    font-size: 3rem;
    margin: 0 0 5px 0;
}

.roofing-mil-content h3 {
    font-weight: 500;
    font-size: 2rem;
    margin: 0 0 5px 0;
}

.roofing-mil-content h3 span {
    font-style: italic;
    color: #b59900;
}

.roofing-mil-content .underline {
    margin: 0;
}

.roofing-mil-content p {
    margin: 10px 0 30px 0;
    font-size: 1.75rem;
}