body {
    min-width: 320px;
    /* overflow: hidden; */
}

/*** Content Section *********************************************/
.content {
    width: 100%;
    
    .service-heading {
        /* background-color: var(--nttorange); */
        padding: 15px;

        display: flex;
        justify-content: center;
        align-items: center;

        & h2 {
            margin: 0;
        }

        & img {
            width: 40px;
            margin: 0;
            margin-left: 10px;
        }
    }

    .services {
        width: 95%;
        margin: 0 auto;
    }
}

/*** CCTV SERVICE **********************************************/
.cctv {
    padding: 2rem 0 2rem 0;
    background-color: #2a1931;

    position: relative;

    .cctv-wrap {
        width: 95%;
        margin: 0 auto;

        .heading {
            & h2 {
                color: rgb(255, 191, 0);
            }
            & h6 {
                color: whitesmoke;
                font-size: .9rem;
            }
        }

        .body {
            display: flex;
            height: fit-content;
            align-items: center;

            .body-text {
                width: 50%;
                height: fit-content;

                & h5 {
                    color: rgb(255, 191, 0);
                    font-size: clamp(1.125rem, 0.857rem + 1.339vw, 1.5rem);
                }
    
                & h6 {
                    color: whitesmoke;
                    font-size: clamp(0.781rem, 0.536rem + 1.228vw, 1.125rem);
                    font-weight: 400;
                }
            }

            .body-model {
                width: 65%;
                border-radius: 1rem;
                overflow: hidden;
                position: relative;
                height: 400px;

                & img {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    #cctv_cam {
        position: absolute;
        top: 2rem;
        right: 0;
        aspect-ratio: 1/1;
        height: 120px;

    }
}

@media(min-width: 425px){
    .cctv {
        /* border: 1px solid blue; */

        .cctv-wrap {
            width: 90%;
            margin: 0 auto;
        }
    }
}

@media(min-width: 768px){
    .cctv {
        .cctv-wrap {

            .heading {
                text-align: center;
                & h2 {
                    & br {
                        display: none;
                    }
                }
                & h6 {
                    font-size: 1.4rem;

                    & br {
                        display: none;
                    }
                }
            }         

            .body {
                .body-text {
                    /* border: 1px solid red; */
                    width: 50%;
                    height: fit-content;

                    & h5 {
                        font-size: clamp(1.125rem, 0.857rem + 1.339vw, 1.5rem);
                    }
        
                    & h6 {
                        font-size: clamp(0.781rem, 0.536rem + 1.228vw, 1.125rem);
                        font-weight: 400;
                    }
                }
                .body-model {
                    width: 75%;
                }
            }
        }

        #cctv_cam {
            position: absolute;
            top: .5rem;
            right: 0;
            aspect-ratio: 1/1;
            height: 120px;
    
        }
    }
}

@media(min-width: 1024px){
    .cctv {
        padding: 4rem 0 4rem 0;

        .cctv-wrap {
            width: 80%;

            .body {
                .body-text {
                    width: 25%;
                }
    
                .body-model {
                    width: 75%;
                    height: clamp(28.125rem, 12.74rem + 24.038vw, 34.375rem);
                }
            }
        }

        #cctv_cam {
            position: absolute;
            top: 2rem;
            height: 150px;
    
        }
    }
}

@media(min-width: 1440px){
    .cctv {
        padding: 5rem 0 5rem 0;

        .cctv-wrap {
            width: 60%;
        }

        #cctv_cam {
            position: absolute;
            top: 4rem;
            height: 200px;
    
        }
    }
}

/*** NETWORK SERVICES ******************************************/
#netw {
    background-color: white;
    padding: 1rem 0 1rem 0;

    .netw-wrapper {
        width: 95%;
        margin: 0 auto;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap:.8rem;

        .netw-card-img {
            position: relative;
            display: none;

            & img {
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
            }
        }

        .netw {
            border: 3px dashed;
            border-radius: 5px;
            padding: 10px;
            position: relative;
            flex: 1 0 auto;

            .netw-img {
                & img {
                    width: 25%;
                }
            }

            .netw-body {

                & h4 {
                    width: 75%;
                    font-size: clamp(1rem, 3vw, 1.6rem);
                }

                & p {
                    font-size: clamp(.8rem, 3vw, 1rem);
                    padding: 0;
                }

                & p span {
                    display: none;
                }
            }

            &:nth-child(1) {
                background-color: #ff990060;
                border-color: #ff9900b9;

                color: #ae6300;
            }

            &:nth-child(2) {
                background-color: #0088ff60;
                border-color: #0088ffb9;

                color: #005daf;
            }

            &:nth-child(3) {
                background-color: #00ff6a60;
                border-color: #00ff6ab9;

                color: #007d34;
            }

            &:nth-child(4) {
                background-color: #bf00ff60;
                border-color: #bf00ffb9;

                color: #630084;
            }
        }
    }
}

.rtsw-head {
    display: none;
}


/*** PROCURE SECTION ******************************************/
#procure {
    padding: 1rem 0 1rem 0;
}

#procure .procure-wrapper {
    width: 95%;
    margin: 0 auto;

    
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: column nowrap;
    overflow: hidden;

    .procure-cont {
        display: flex;
        gap: .2rem;
        flex: none;
        overflow: auto;

        width: 100%;
        flex-flow: row nowrap;

        scroll-snap-type: x mandatory;
    }

    .procure {
        padding: 10px;
        border-radius: 12px;
        width: 65%;
        text-align: left;
        scroll-snap-align: center;
        flex: none;

        border: 2px solid tomato;

        .procure-body {
            & h4 {
                color: tomato;
            }
        }
    }
}

@media(min-width: 425px) {
    .content .services {
        width: 90%;
    }

    #cloud {
        padding: 2rem 0 2rem 0;
    }

    /*** NETW INFRASTRUCTURE **************************************/
    #netw {
        padding: 2rem 0 2rem 0;
    }
    #netw .netw-wrapper {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
    }

    /*** PROCURE SECTION *****************************************/

    #procure .procure-wrapper {
        width: 95%;
    }
}

@media(min-width: 530px){
    #procure .procure-wrapper .procure {
        width: calc(33.33% - .2rem);
    }
}

@media(min-width: 600px) {
    /*** Cloud Services *******************************************/
    #cloud .cloud-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: .5rem;

        .cloud {
            &:nth-child(3) {
                grid-column: 3;
            }
        }
    }
}

@media(min-width: 644px) {
    /*** NETW INFRASTRUCTURE **************************************/

    #netw .netw-wrapper {
        grid-template-columns: repeat(3, calc(100% / 3));
        grid-template-rows: 1fr 1fr;

        .netw-card-img {
            display: block;
            border: none;
        }

        .netw {

            .netw-body {
                & h4 {
                    width: 100%;
                }
            }

            &:nth-child(1) {
                grid-row: 1/2;
                grid-column: 1/2;
            }

            &:nth-child(2) {
                grid-row: 1/2;
                grid-column: 2/3;
            }

            &:nth-child(3) {
                grid-row: 1/2;
                grid-column: 3/4;
            }

            &:nth-child(4) {
                grid-row: 2/3;
                grid-column: 1/2;
            }

            &:nth-child(5) {
                grid-row: 2/3;
                grid-column: 2/3;
            }
        }
    }


    /*** PROCURE SECTION *****************************************/
    #procure {
        padding: 2rem 0 2rem 0;
    }
}

@media(min-width: 768px) {
    /*** Cloud Services *******************************************/
    #cloud {
        padding: 3rem 0 3rem 0;
    }

    #cloud .cloud-wrapper {
        gap: 1rem;
    }

    /*** NETW INFRASTRUCTURE **************************************/
    /* #netw .netw-wrapper {
        grid-template-columns: repeat(5, calc(100% / 5));
        grid-template-rows: 1fr;

        .netw {

            .netw-body {
                & h4 {
                    width: 100%;
                }
            }

            &:nth-child(1) {
                grid-row: 1;
                grid-column: 1;
            }

            &:nth-child(2) {
                grid-row: 1;
                grid-column: 2;
            }

            &:nth-child(3) {
                grid-row: 1;
                grid-column: 3;
            }

            &:nth-child(4) {
                grid-row: 1;
                grid-column: 4;
            }

            &:nth-child(5) {
                grid-row: 1;
                grid-column: 5;
            }
        }
    } */
}

@media(min-width: 1024px) {
    /*** NETW INFRASTRUCTURE **************************************/
    #netw .netw-wrapper {
        

        .netw {
            .netw-body {
                & p {
                    color: black;
                    font-size: 1.1rem;
                    font-weight: 400;

                    & span {
                        display: block;
                    }
                }
            }
        }
    }

    /*** PROCURE SECTION *****************************************/
    #procure {
        width: 95%;
        margin: 0 auto;
        padding: 2rem 0 2rem 0;
    }

    #procure .procure-wrapper {

        .procure-cont {
            gap: 1rem;

            .procure {
                width: calc(33.33% - 1rem);
            }
        }

        .procure .procure-body #sub_text {
            color: rgb(123, 128, 132);
            font-size: 1.8rem;
        }
    }
}

@media(min-width: 1440px) {
    #netw .netw-wrapper {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: 1fr;

        .netw {
            &:nth-child(4) {
                grid-row: 1;
                grid-column: 4/5;
            }

            &:nth-child(5) {
                grid-row: 1;
                grid-column: 5/6;
            }
        }
    }

    #procure {
        padding: 3rem 0 3rem 0;

        .procure .procure-body {
            & p {
                font-size: 1.1rem;
            }
        }

        .procure .procure-body #sub_text {
            color: rgb(123, 128, 132);
            font-size: 2rem;
        }
    }
}