.maincontent {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .flex-group {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    .my-container .my-card .icon {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .my-container .my-card .card-title {
        position: absolute;
        bottom: -70%;
        left: 50%;
        width: 80%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--main-color);
        padding: 3%;
        background-color: #f8f8f8;
    }

    .my-container .my-card .slide {
        width: 400px;
        height: 200px;
        transition: 0.5s;
    }

    .my-container .my-card .slide.slide1 {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        transition: .7s;
        transform: translateY(100px);
        text-align: center;
    }

    .my-container .my-card:hover .slide.slide1 {
        transform: translateY(0);
    }

    .my-container .my-card .slide.slide2 {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding: 10px;
        box-sizing: border-box;
        transition: .8s;
        transform: translateY(-100px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
background: #fff;
    }

    .my-container .my-card:hover .slide.slide2 {
        transform: translateY(0);
    }

    .my-container .my-card .slide.slide2 .my-content p {
        margin: 0;
        padding: 0;
        text-align: center;
        color: #414141;
    }

    .shingle-type {
        text-align: center;
        font-size: 1.4rem;
    }

    .product-link {
        color: var(--main-color);
        display: inline-block;
        font-size: 1.1rem;
        color: #4D070D;
        white-space: nowrap;
        margin-top: 10px;
    }

    .product-link:hover .arrow {
        stroke: #fff;
        fill: #fff;
        stroke-width: 2px;
    }

    .product-link:hover {
        text-decoration: none;
        color: #4D070D;
    }

    .product-link:hover .arrow-circle {
        fill: var(--main-color);
        transform: rotate(360deg);
        height: 100%;
        width: 100%;
        transition: .5s;
    }

    .arrowSvg {
        max-width: 26px;
        margin: -3px 5px;
        /* border:1px solid #992C36;
  border-radius:50%; */
    }

    .arrow-circle {
        fill: transparent;
        stroke: var(--main-color);
        stroke-width: 3px;
        transform-origin: center;
        height: 100%;
        width: 0;
        transition: .5s;
    }

    .arrow {
        stroke: var(--main-color);
        fill: var(--main-color);
    }


    .row {
        margin: 0 !important;
        padding: 0 !important;
    }

    ul {
        padding: 0 !important;
        margin: 0 !important;
    }

    ul li {
        list-style-type: none;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-6 {
        width: 49%;
    }

    [class*="col-"] {
        float: left;
        padding: 0 !important;
        margin: 0 !important;

    }






    /* ==========================================  Cutout Details =================================================== */
    .hideNum {
        display: none;
    }

    .showNum {
        display: block;
    }

    .modal-header {
        display: block;
    }

    .cutout-details {
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100%;
    }


    .number {
        font-size: clamp(15px, 2.5vw, 35px);
        background: lightblue;
        border-radius: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: clamp(25px, 4vw, 60px);
        width: clamp(25px, 4vw, 60px);
        cursor: pointer;
        z-index: 2;
    }



    .st0 {
        stroke-width: 9;
    }

    .st1 {
        stroke-width: 3;
    }


    #num1 {
        position: absolute;
        transition: .5s;
        top: 20%;
        left: 25%;
    }

    #num2 {
        position: absolute;
        top: 25%;
        transition: .5s;
        right: 28%;
    }

    #num3 {
        position: absolute;
        transition: .5s;
        top: 40%;
        left: 10%;
    }

    #num4 {
        position: absolute;
        transition: .5s;
        bottom: 35%;
        left: 35%;
    }

    #num5 {
        position: absolute;
        transition: .5s;
        bottom: 18%;
        left: 45%;
    }

    .sibling-fade {
        visibility: hidden;
    }

    .sibling-fade>* {
        visibility: visible;
    }

    .sibling-fade>* {
        transition: opacity 150ms linear 100ms, transform 150ms ease-in-out 100ms;
    }

    .sibling-fade:hover .number {
        opacity: 0;
        transform: scale(0.9);
    }

    .sibling-fade .number:hover {
        opacity: 1;
        transform: scale(1);
        transition-delay: 0ms, 0ms;
    }









    /* =========== Original =================== */




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

    :root {
        --main-color: #215EB8;
        --light-color: #F6F4F0;
        --gray: #5B5B5B;
    }

    body,
    html {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: 'Poppins', sans-serif;
    }

    img {
        width: 100%;
    }

    h1 {
        font-weight: 100;
    }

    h2 {
        font-weight: 100;
    }

    .my-hr {
        border: 0;
        height: 1px;
        width: 80%;
        background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
        background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
        background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
        background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    }

    .site_width {
        max-width: 100%;
    }

    .maincontent {
        padding: 0;
        margin: 0;
    }

    .my-container {
        max-width: 1600px;
        padding: 2%;
        margin: 0 auto;
    }

    .my-header {
        max-width: 875px;
        margin: 0 auto;
        text-align: center;
    }

    .logo-div {
        background-color: var(--main-color);
        padding: 1%;
    }

    #overview-logo {
        max-width: 300px;
    }

    .flex-group {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin-block: 1em;
    }

    .flex-item {
        margin-block: 1em;
        opacity: 0;
        display: flex;
        flex-direction: column;
        max-width: 450px;
        min-width: 400px;
        text-align: center;
    }

    .img-box {
        min-height: 68px;
    }

    .flex-item img {
        max-width: 200px;
        margin: 0 auto 10px;
    }

    .modal-dialog {
        width: 30vw;
        max-width: 400px;
        margin: 100px auto 0;
    }

    .modal-body p {
        margin-top: 10px;
    }

    .cutout-details-container {
        margin-top: 100px;
    }

    .cutout-details-container .modal-content {
        max-width: 650px;
        margin: 0 auto;
    }

    main {
        display: flex;
        flex-direction: column;
    }

    .slides {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .slides .list {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .slides .slide {
        display: flex;
        /* width: 100vw; */
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .slide .background {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-position: center;
        will-change: transform;
        background-size: cover;
    }

    .slide .content {
        overflow: hidden;
        display: grid;
        grid-template-columns: 45% 55%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        position: relative;
        color: white;
        line-height: 1.25em;
        font-weight: 500;
    }

    .shingle-type-house {
        /* max-width:1200px; */
        grid-row: 1/2;
        grid-column: 2/3;
        align-self: flex-end;
    }

    .mobile-house {
        display: none;
        align-self: flex-end;
    }

    .shingle-type-content {
        max-width: 900px;
        grid-row: 1/2;
        grid-column: 1/3;
        margin-top: 12%;
        /* align-self: center; */
        padding-inline: 4%;
    }


    #luxury {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('/imageserver/Reusable/certainteed23-res/test2.png');
        background-position: right;
    }

    #designer {
        background-image: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), url('/imageserver/Reusable/certainteed23-res/burnt-sienna-bg.jpeg');
    }

    #traditional {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url('/imageserver/Reusable/certainteed23-res/nickel-gray-bg.jpeg');
    }


    /* =================== */
    .cta-wrapper {
        display: inline-block;
        margin-top: 20px;
    }

    .cta {
        display: inline-block;
        border: 1px solid var(--light-color);
        padding: 15px 25px;
        color: var(--light-color);
        transition: .3s;
        box-shadow: 1px 1px 2px 1px var(--gray);
    }

    .cta:hover {
        background-color: #fff;
        color: #215EB8;
        text-decoration: none;
        transform: scale(.99);
        transition: .3s;
        box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.3);
    }


    .hero {
        background-color: var(--light-color);
    }

    .hero-wrapper {
        display: grid;
        grid-template-columns: .5fr .7fr;
        padding-block: 40px;
    }

    .hero-grid-left {
        align-self: center;
        max-width: 700px;
        padding: 0 50px;
    }



    .hero-grid-center {
        grid-column: 2/3;
        grid-row: 1/2;
        align-self: center;
        justify-self: flex-start;
        display: grid;
        margin: 30px 0 0 -50px;
    }

    #overlay-img {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    #overlay-text {
        grid-column: 1/2;
        grid-row: 1/2;
        align-self: flex-end;
        justify-self: center;
        margin-bottom: 2vw;
        letter-spacing: 10px;
        z-index: 2;
        text-align: center;
    }

    #overlay-text h2 {
        margin: 1vw;
    }

    .hero-grid-right {
        grid-column: 2/3;
        grid-row: 1/2;
        justify-self: flex-end;
        object-fit: cover;
    }

    @media screen and (max-width:1100px) {
        .hero-grid-right {
            grid-column: 2/4;
        }

        #overlay-text {
            margin-bottom: 20px;
        }

        #overlay-text h2 {
            margin: 0;
        }
    }

    @media screen and (max-width:992px) {
        .hero-grid-left {
            grid-column: 1/-1;
            grid-row: 1/2;
            justify-self: center;
            text-align: center;
        }

        .cta-wrapper {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .hero-grid-center,
        .hero-grid-right {
            grid-column: 1/-1;
            grid-row: 2/3;
            justify-self: center;
            margin-left: 0;
        }

        .hero-grid-right img {
            max-width: 70vw !important;
        }

        #overlay-text h2 {
            margin: 0;
            letter-spacing: 5px;
        }

        .shingle-type-house {
            grid-column: 1/-1;
            justify-self: flex-end;
        }

        .shingle-type-content {
            position: relative;
            max-width: 90%;
        }
    }

    @media screen and (max-width:750px) {
        .shingle-type-house {
            max-width: 500px;
        }

        .desktop-text {
            display: none;
        }

        #overview-logo {
            max-width: 150px;
        }
    }

    @media screen and (max-width:600px) {
        .reusable p {
            font-size: 14px;
        }

        #overlay-text h2 {
            display: none;
        }

        .modal-dialog {
            width: 97vw;
        }

        .shingle-type-house {
            display: none;
        }

        .shingle-type-content {
            display: grid;
            height: 100%;
            text-align: center;
            padding: 0;
            max-width: 900px;
        }

        .content-text {
            align-self: end;
            padding-inline: 3%;
        }

        .mobile-house {
            display: block;
        }
    }

    @media screen and (max-width:450px) {
        .flex-item {
            min-width: 0px;
        }
    }

    /* ================== */
    .services-wrapper-content {
        text-align: center;
    }

    .cert-logo-wrapper {
        text-align: center;
    }

    .cert-logo-wrapper img {
        max-width: 180px;
        width: 100%;
        height: auto;
        margin-inline: auto;
    }


    /* -- ShingleMaster PREMIER section -- */
    .premier-section {
        background-color: #f6f8fc;
        padding: 60px 20px;
        border-top: 4px solid #215EB8;
        border-bottom: 4px solid #215EB8;
    }

    .premier-inner {
        max-width: 1600px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 40px;
        justify-content: center;
    }

    .premier-logo-col {
        flex: 0 0 auto;
        text-align: center;
    }

    .premier-logo-col img {
        width: auto;
        max-width: 400px;
    }

    .premier-copy-col {
        flex: 1 1 480px;
        max-width: 700px;
    }

    .premier-copy-col h2 {
        font-size: 1.9rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .premier-copy-col h2 span {
        color: #215EB8;
    }

    .premier-copy-col p {
        color: #444;
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    /* Warranty highlights strip */
    .premier-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 20px 0 24px;
    }

    .premier-highlight-item {
        background-color: #215EB8;
        color: #fff;
        border-radius: 4px;
        padding: 10px 18px;
        font-size: .85rem;
        font-weight: 600;
        letter-spacing: .03em;
        line-height: 1.3;
        text-align: center;
        flex: 1 1 140px;
    }

    .premier-highlight-item strong {
        display: block;
        font-size: 1.3rem;
        font-weight: 800;
    }

    /* PDF button */
    .btn-pdf {
        display: block;
        align-items: center;
        gap: 10px;
        background-color: #F9C728;
        color: #0f0f0f;
        font-size: .9rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        padding: 13px 28px;
        border: 2px solid #005CB9;
        border-radius: 3px;
        cursor: pointer;
        text-decoration: none;
        transition: background-color .25s, color .25s;
        margin-top: 4px;
        margin-inline: auto;
    }

    .btn-pdf:hover,
    .btn-pdf:focus {
        background-color: #fff;
        color: #215EB8;
        text-decoration: none;
    }

    .btn-pdf svg {
        flex-shrink: 0;
    }

    /* PDF modal */
    #modal-pdf-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .72);
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    #modal-pdf-overlay.open {
        display: flex;
    }

    #modal-pdf-box {
        background: #fff;
        border-radius: 6px;
        width: 100%;
        max-width: 860px;
        max-height: 92vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    }

    #modal-pdf-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        background: #215EB8;
        color: #fff;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: .95rem;
        letter-spacing: .04em;
    }

    #modal-pdf-close {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        line-height: 1;
        padding: 0 4px;
        font-family: inherit;
        transition: opacity .2s;
    }

    #modal-pdf-close:hover {
        opacity: .7;
    }

    #modal-pdf-body {
        flex: 1;
        overflow: auto;
        padding: 20px;
        background: #f0f0f0;
        text-align: center;
    }

    #modal-pdf-body embed {
        width: 100%;
        height: 70vh;
        border: none;
        border-radius: 3px;
    }

    .pdf-fallback {
        margin-top: 16px;
        font-size: .9rem;
        color: #555;
    }

    .pdf-fallback a {
        color: #215EB8;
        font-weight: 600;
    }

    @media (max-width: 600px) {
        .premier-highlight-item strong {
            font-size: 1.1rem;
        }

        .premier-copy-col h2 {
            font-size: 1.5rem;
        }
    }

/* =====================================================
   SHINGLE STYLES SECTION — paste at bottom of stylesheet
===================================================== */
.shingle-styles {
    background-color: #0e1a2e;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(33,94,184,.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(33,94,184,.12) 0%, transparent 50%);
    padding: 70px 0 60px;
}

.shingle-styles .my-header {
    padding: 0 20px;
    margin-bottom: 48px;
}

.shingle-styles .my-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.shingle-styles .my-header p {
    color: rgba(255,255,255,.65);
    max-width: 600px;
    margin: 0 auto;
    font-size: .97rem;
    line-height: 1.7;
}

/* Tech cards */
.shingle-styles .flex-group {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.shingle-styles .flex-item {
    background: #fff;
    border-radius: 8px;
    padding: 28px 22px 22px;
    margin: 10px;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    border-top: 3px solid #215EB8;
    align-items: center;
    transition: transform .28s ease, box-shadow .28s ease;
    opacity: 1;
}

.shingle-styles .flex-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,.35);
}

.shingle-styles .flex-item .img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.shingle-styles .flex-item p {
    font-size: .88rem;
    color: #444;
    line-height: 1.65;
}

/* Read More — styled as a button */
.shingle-styles .tech-modals {
    display: inline-block;
    margin-top: 12px;
    background-color: #215EB8;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color .22s;
}

.shingle-styles .tech-modals:hover {
    background-color: #174b9e;
    color: #fff;
    text-decoration: none;
}

/* Divider + subhead between sections */
.shingle-styles-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.12);
    max-width: 900px;
    margin: 52px auto 48px;
}

.shingle-styles-subhead {
    text-align: center;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 32px;
    padding: 0 20px;
}

/* Shingle photo cards row */
.shingle-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.shingle-cards-row .my-container {
    padding: 0;
    margin: 0;
    flex: 1 1 300px;
    max-width: 400px;
}

@media (max-width: 700px) {
    .shingle-cards-row .my-container {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .shingle-styles .flex-item {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 100%;
    }
}