.services-details {

    .media {
        height: 450px;
        width: 100%;

        @media (max-width: 575px) {
            height: 400px;
        }

        @media (max-width: 480px) {
            height: 380px;
        }

        @media (max-width: 380px) {
            height: 350px;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    &__content {

        h1, h2, h3, h4, h5, h6 {
            color: $dark_black;
            margin-bottom: 20px;
            text-transform: capitalize; 

            @media (max-width: 767px) {
                margin-bottom: 10px;
            }
        }

        h2 {
            color: $dark_black; 
            
            span {
                font-family: $la;
                margin-left: 8px;
                font-size: 16px;
                font-weight: 500;
                line-height: 26px;
                color: $textcolor;
                white-space: nowrap;
            }

            @media (max-width: 1199px) {
                font-size: 42px;
                line-height: 56px; 
            }

            @media (max-width: 991px) {
                font-size: 36px;
                line-height: 50px; 
            }
            
            @media (max-width: 767px) {
                font-size: 32px;
                line-height: 46px;  
            }

            @media (max-width: 575px) {
                font-size: 28px;
                line-height: 42px; 
            }
        }

        h4 {

            @media (max-width: 767px) {
                font-size: 22px;
                line-height: 32px; 
            }

            @media (max-width: 575px) {
                font-size: 20px;
                line-height: 30px; 
            }
        }

        h6 {
            font-size: 16px;
            line-height: 24px;
        }

        p {
            font-family: $la;
            max-width: 840px;
            margin-bottom: 20px;
        }

        ul {
            gap: 30px 94px;
            column-count: 2;
            margin: 30px 0 30px 0;
            max-width: max-content;
            
            @media (max-width: 991px) {
                gap: 30px 40px;
            }

            @media (max-width: 575px) {
                column-count: 1;
                margin-bottom: 20px;
            }

            li {
                font-family: $pop;
                font-weight: 500;
                color: $dark_black;
                padding-left: 50px; 
                position: relative;
                margin-bottom: 20px;

                &:after {
                    left: 0;
                    width: 30px;
                    content: "";
                    height: 30px;
                    color: $primary;
                    line-height: 30px;
                    font-size: 12px;
                    text-align: center;
                    position: absolute;
                    border-radius: 500px;
                    top: calc(50% - 13px);
                    background: $dark_white;
                    font-family: "Font Awesome 5 Pro";
                }
            }
        }

        blockquote {
            margin-top: 30px;
            margin-bottom: 50px;

            p {
                font-size: 20px;
                line-height: 32px;
                font-family: $pop;
                font-style: italic;
            }
        }

        figure {
            gap: 30px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;

            ul {
                margin: 0;
                column-count: 1;
            }
        }

        hr {
            height: 1px;
            margin-top: 50px;
            margin-bottom: 50px;
            border-color: #E2E9FF;

            @media (max-width: 1199px) {
                margin-top: 40px;
                margin-bottom: 40px;
            }

            @media (max-width: 991px) {
                margin-top: 30px;
                margin-bottom: 30px;
            }

            @media (max-width: 767px) {
                margin-top: 20px;
                margin-bottom: 20px;
            }
        }
    }
}