@media screen and (min-width: 990px) and (max-width: 2200px) {

    /* CSS rules for the targeted screen width range */
    /* Add your styles here */
    .menubar {
        display: none;
    }

    .reg_crf {
        display: flex;
        align-items: start;
        justify-content: center;

    }

    .faq {
        width: 60vw;
    }

    .reg_crf img {
        width: 380px;
        position: sticky;
        top: 0;
        right: 50px;
    }

    .labour_licienc_img {
        display: flex;
        align-items: center;
        justify-content: ;

    }

    .nav {

        display: flex;
        justify-content: space-between;
    }

    .layout {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, auto);
        grid-column-gap: 0px;
        grid-row-gap: 20px;
    }

    .faq {
        grid-area: 1 / 1 / 5 / 4;
    }

    .labour_licienc_img {
        grid-area: 5 / 1 / 6 / 6;
    }

    .reg_crf {
        grid-area: 1 / 4 / 5 / 6;
    }

    .copyright_policy {
        height: 50px;
        width: 100%;
        background-color: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .copyright_policy p a {
        color: white;
        text-decoration: none;

    }

    .copyright_policy p {
        margin: 50px;
    }

    .copyright_policy p a:hover {
        color: rgb(255, 186, 12);
        text-decoration: underline rgb(255, 186, 12);
    }

}

.faq a {
    color: orange;
}

.faq ul {
    margin-left: 55px;
}

.faq {
    counter-reset: question-counter;
    /* Reset the counter for each FAQ container */
}

.faq h3 {
    counter-increment: question-counter;
    /* Increment the counter for each h3 element */
}

.faq h3:before {
    content: counter(question-counter) ") ";
    /* Display the question number using the counter value */
    font-weight: bold;
    /* Make the question number bold */
    margin-right: 5px;
    /* Add some spacing between the question number and the question text */
}

@media screen and (max-width: 989px) {
    .layout {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(5, auto);
        grid-column-gap: 0px;
        grid-row-gap: 20px;

    }

    .faq {
        grid-area: 1 / 1 / 4 / 6;
    }

    .reg_crf {
        grid-area: 4 / 1 / 5 / 6;
    }

    .labour_licienc_img {
        grid-area: 5 / 1 / 6 / 6;
    }


    .layout .reg_crf {
        height: 700px;
    }

    .labour_licienc_img img {
        width: 80%;
    }

    .reg_crf {
        display: flex;
        justify-content: center;
    }


    .reg_crf img {
        width: 380px;
        position: static;
    }

}

/* <section class="copyright_policy">
<p><a href="copyright.html">COPYRIGHT 3G CONSULTANT 2023. ALL RIGHTS RESERVED.</a></p>
<p><a href="copyright.html">PRIVACY POLICY</a></p>
</section> */

@media screen and (max-width: 989px) {

    .copyright_policy {
        height: 50px;
        width: 100%;
        background-color: black;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }

    .copyright_policy p a {
        color: white;
        text-decoration: none;
    }

    .copyright_policy p a:hover {
        color: rgb(255, 186, 12);
        text-decoration: underline rgb(255, 186, 12);
    }

    .faq {
        width: 90vw;
    }

    .navbar {
        width: 100%;

    }

}

@media screen and (max-width: 330px) {
    .reg_crf img {
        width: 200px;
        height: 450px;
    }

    .hero_container .text h1 {
        font-size: 35px;
    }
}

/* navbar design 955px*/

/* Link */
#submenu li a {
    font-weight: 500;
}

@media (min-width:992px) {

    /* Link */
    #submenu li a {
        font-size: 14px;
    }

}

/* navbar sticky style */
.wrapper .navbar {
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 47;
}



@media (min-width:992px) {

    /* Submenu */
    #submenu {
        width: 976px;
    }

    #submenu li a {
        height: 49px;
    }

    /* Navlinks */
    .navbar .nav .navlinks {
        width: 993px;
        margin-left: 0px;
        transform: translatex(0px) translatey(0px);
    }

    /* Submenu */
    #submenu {
        justify-content: flex-end;
    }
}

/* image and footer upper bar design*/
@media (max-width:991px) {

    /* Labour licienc img */
    .wrapper .labour_licienc_img {
        display: flex;
    }

}

@media (max-width:600px) {

    /* Labour licienc img */
    .wrapper .labour_licienc_img {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    @media (max-width:991px) {

        /* Labour licienc img */
        .wrapper .labour_licienc_img {
            display: flex;
        }

    }

    @media (max-width:600px) {

        /* Labour licienc img */
        .wrapper .labour_licienc_img {
            transform: translatex(0px) translatey(0px);
        }

        /* Image */
        .wrapper .reg_crf img {
            height: 571px;
            width: 306px;
        }

        /* Reg */
        .wrapper .reg_crf {
            height: 593px;
        }

        /* Image */
        .wrapper .layout .labour_licienc_img img {
            transform: translatex(0px) translatey(0px);
            width: 281px;
        }

        /* Image */
        .wrapper .labour_licienc_img img {
            min-height: 254px;
            box-shadow: -1px 0px 8px -1px #262626;
            margin-bottom: 21px;
        }

        /* Heading */
        .wrapper .labour_licienc_img h3 {
            margin-bottom: 21px;
        }

    }
}

/* Labour licienc img */
.wrapper .labour_licienc_img {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width:990px) and (max-width:2200px) {

    /* Image */
    .wrapper .reg_crf img {
        width: 294px;
        top: 78px;
    }

}

@media (max-width:991px) {

    /* Labour licienc img */
    .wrapper .labour_licienc_img {
        display: flex;
    }

}

@media (max-width:600px) {

    /* Labour licienc img */
    .wrapper .labour_licienc_img {
        transform: translatex(0px) translatey(0px);
    }

    /* Image */
    .wrapper .reg_crf img {
        height: 571px;
        width: 306px;
    }

    /* Reg */
    .wrapper .reg_crf {
        height: 593px;
    }

    /* Image */
    .wrapper .layout .labour_licienc_img img {
        transform: translatex(0px) translatey(0px);
        width: 281px;
    }

    /* Image */
    .wrapper .labour_licienc_img img {
        min-height: 254px;
        box-shadow: -1px 0px 8px -1px #262626;
        margin-bottom: 21px;
    }

    /* Heading */
    .wrapper .labour_licienc_img h3 {
        margin-bottom: 21px;
    }

}

/* Email submition */
.footer .footer_navigation .email_submition {
    display: flex;
    flex-direction: column;
    margin-left: 0px;
    width: 398px;
    transform: translatex(256px) translatey(-40px);
}

/* Heading */
.footer_navigation .email_submition h4 {
    font-size: 22px;
    color: #e67e22;
}

/* Input */
.email_submition .ES input[type=text] {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-width: 0px;
    border-style: solid;
    border-color: transparent;
    width: 251px;
    border-top-left-radius: 0px;
    font-size: 14px;
}

/* Division */
/* .footer_navigation .email_submition .ES{
    transform:translatex(0px) translatey(0px);
   } */

/* Input */
.email_submition .ES input {
    height: 48px;
    border-width: 0px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px !;
}

/* Division */
.wrapper .footer .footer_navigation .email_submition .ES {
    width: 341px;
}

/* Input */
.email_submition .ES input:nth-child(2) {
    width: 26%;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: #e67e22;
    color: #ecf0f1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    ;
}

/* Footer navigation mobile */
@media (max-width:600px) {

    /* Footer navigation */
    .wrapper .footer .footer_navigation {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: nowrap;
        transform: translatex(0px) translatey(0px);
    }

    /* Email submition */
    .footer .footer_navigation .email_submition {
        margin-top: 32px;
        transform: translatex(0px) translatey(0px);
        width: 394px;
    }

    /* Division */
    .footer_navigation .email_submition .ES {
        display: flex;
    }

    /* Link */
    .footer_navigation ol a {
        color: #ffffff;
    }

    /* Link (hover) */
    .footer_navigation ol a:hover {
        color: #e67e22;
    }

    /* Input (hover) */
    .email_submition .ES input:nth-child(2):hover {
        background-color: #f0b683;
    }

}


@media (max-width:989px) {

    /* Footer navigation */
    .wrapper .footer .footer_navigation {
        flex-direction: column;
        align-items: flex-start;
        transform: translatex(0px) translatey(0px);
    }

    /* Email submition */
    .footer .footer_navigation .email_submition {
        transform: translatex(1px);
        margin-top: 32px;
    }

    /* Division */
    .footer_navigation .email_submition .ES {
        display: flex;
    }

}

@media (min-width:992px) {

    /* Navlinks */
    .navbar .nav .navlinks {
        margin-left: 0px;
        width: 1108px;
        transform: translatex(0px) translatey(0px);
    }

    /* Submenu */
    #submenu {
        width: 1097px;
    }

    .footer_navigation .email_submition .ES {
        display: flex;
    }

}



/* Link (hover) */
#wrapper .footer .footer_navigation ol li a:hover {
    color: #ffffff;
}



@media (max-width:989px) {

    /* Link */
    .copyright_policy p a {
        font-size: 14px;
    }

}

@media (max-width:600px) {

    /* Paragraph */
    #wrapper .copyright_policy p {
        display: inline-block;
        transform: translatex(0px) translatey(0px);
    }

    /* Link */
    .copyright_policy p a {
        font-size: 12px;
    }

}

@media (min-width:601px) {

    /* Email submition */
    .footer .footer_navigation .email_submition {
        width: 344px;
    }

}

@media (max-width:600px) {

    /* Email submition */
    .footer .footer_navigation .email_submition {
        width: 333px;
    }

}

@media (min-width:375px) {

    /* Input */
    .email_submition .ES input[type=text] {
        width: 177px;
    }

    .footer_navigation .email_submition h4 {
        font-size: 20px;
    }

}

@media (min-width:370px) {

    /* Division */
    .footer_navigation .email_submition .ES {
        width: 299px;
        transform: translatex(0px) translatey(0px);
    }

    /* Input */
    .email_submition .ES input:nth-child(2) {
        width: 107px;
    }

}

@media (max-width:1039px) {

    body {
        overflow-x: hidden;
    }

}