.bg-main {
    background: url('../img/cm_portal2.jpg');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height: calc(100vh - 90px);
    /* height: 90vh; */
    width: 100%;
    /* zoom: 95%; */
    font-family: "Poppins", sans-serif;
}

.bg-main1 {
    /*    background: url('../img/crm-landing-bg-1.jpg');
    background: url('../img/crm-landing-bg-3.jpg');*/
    background-position: top;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    height: 100vh;
    width: 100%;
    background: url('../../CmdashboardAssets/images/crm-landing-bg-3.jpg');
}

.logo_main {
    padding: 0;
}

.logo_main img {
    height: 50px;
}

.list_ul {
    list-style: none;
    padding: 0;
    margin: 2% 0 0;
    width: 40%;
    position: relative;
    z-index: 10;
}

.list_ul li {
    width: fit-content;
    float: left;
    padding: 10px 20px;
}

.list_ul li a {
    color: #fff;
    text-decoration: none;
}

.list_ul li h3 {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-bottom: 4px solid #ffd200;
}

ul.list_ul li img {
    width: 35px;
}

.bg-main .container_main {
    padding: 0 100px;
}

.lbl_main_text {
    background: rgb(64 115 80 / 80%);
    position: relative;
    width: 72%;
    top: 2%;
    text-align: right;
    padding-right: 10%;
    color: #fff;
    z-index: 11;
    padding-top: 10px;
    padding-bottom: 10px;
}

.lbl_main_text p.Urdu {
    font-size: 1.2rem;
    line-height: normal;
    font-family: "Noto Nastaliq Urdu", serif;
    padding-bottom: 10px;
    margin: 0;
}

.lbl_main_text p {
    font-size: 1.24rem;
    padding: 0;
    margin-bottom: 10px;
}

.lbl_text p {
    font-size: 0.9rem;
    line-height: normal;
    font-family: "Noto Nastaliq Urdu", serif;
    padding: 0;
    margin: 20px 0;
    color: #fff;
}


/* footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
} */

footer img.main {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: 0;
    transform: translateX(-65%);
}

.lbl_text_img {
    /* width: 82%;
    position: relative;
    z-index: 9; */
    bottom: 0;
    position: absolute;
    z-index: 9;
    left: 50%;
    right: 0;
    width: 80%;
    transform: translateX(-50%);
}


/* footer:before {
    content: '';
    height: 120px;
    width: 100%;
    position: absolute;
    background: rgb(64 115 80 / 80%);
    left: 0;
    bottom: 80px;
    z-index: 1;
} */

.mb-lbl-w {
    width: 100%;
    text-align: left;
    margin-top: 30px;
    max-width: 300px;
}

@media screen and (min-width:1690px) {
    .mb-lbl-w {
        max-width: 450px;
    }
}

@media screen and (min-width:1460px) {
    .mb-lbl-w {
        max-width: 400px;
    }
}

@media screen and (min-width:1300px) {
    .mb-lbl-w {
        max-width: 380px;
    }
}

.btn-primary {
    font-weight: 700;
    height: 33.6px;
    line-height: normal;
    padding-top: 5px;
}


/* footer:after {
    content: '';
    height: 46px;
    width: 100%;
    position: absolute;
    background: rgb(55 82 63);
    left: 0;
    bottom: 0px;
    z-index: 1;
} */

.menu_bar span {
    padding-top: 7px;
    padding-left: 15px;
    padding-right: 15px;
}

button.btn.btn-outline-primary.me-2 {
    background: #0e3d10;
    border: 1px solid #0e3d10;
    border-radius: 8px;
    padding: 7px 30px;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #fff;
    transition: all 0.3s linear;
}

button.btn.btn-outline-primary.me-2:hover {
    background-color: transparent;
    color: #0e3d10;
    border: 1px solid #0e3d10;
}

.signUpBtn {
    background: #f5bb18;
    border: 1px solid #f5bb18;
    border-radius: 8px;
    padding: 7px 30px;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #fff;
    transition: all 0.3s linear;
}

.signUpBtn:hover {
    background-color: transparent;
    color: #f5bb18;
    border: 1px solid #f5bb18;
}

button.navbar-toggler {
    padding: 0px;
    line-height: normal;
    border: none;
}

.sp_nu {
    color: #ffd200;
    font-size: 1.8rem;
}

.sp_nu_ur {
    color: #ffd200;
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
}

.cm_web {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.menu_bar li a {
    color: #7f7f7f !important;
}

.container_main {
    max-width: 1960px;
    width: 100%;
    margin: 0 auto;
}

footer img.main {
    max-width: 600px;
    width: 100%;
}


/* @media (min-height: 400px) and (max-height: 700px) {
    main.bg-main.sm-hide {
        height: 100%;
        overflow: auto;      
    }
} */


/* @media (min-height: 700px) and (max-height: 1600px) and (orientation: landscape) {
    .cm_web{
        position: absolute;
    }
} */


/* @media (min-height: 700px) and (max-height: 1600px) and (orientation: portrait) {
    .cm_web{
        position: absolute;
    }
} */

@media screen and (max-width:1600px) {
    footer img.main {
        max-width: 550px;
    }
    /* .mb-lbl-w {
        width: 350px;
    } */
}

@media screen and (min-width:1960px) {
    footer img.main {
        max-width: 730px;
    }
}

@media screen and (min-width:2400px) {
    footer img.main {
        max-width: 900px;
    }
}

@media screen and (max-width:768px) {
    .cm_web {
        position: relative;
        /* max-width: 900px; */
    }
}

@media only screen and (max-width: 1800px) {
    .lbl_main_text p.Urdu {
        font-size: 1.24rem;
    }
    .lbl_main_text p {
        font-size: 1.27rem;
    }
}

@media only screen and (max-width: 1600px) {
    .lbl_main_text {
        width: 80%;
        padding-right: 17%;
    }
    .lbl_main_text p.Urdu {
        font-size: 1.12rem;
    }
    .lbl_main_text p {
        font-size: 1.16rem;
    }
}

@media only screen and (max-width: 1500px) {
    .lbl_main_text {
        width: 80%;
        padding-right: 20%;
    }
    .lbl_main_text p.Urdu {
        font-size: 1.1rem;
    }
    .lbl_main_text p {
        font-size: 1.13rem;
    }
    .sp_nu {
        font-size: 1.5rem;
    }
    .sp_nu_ur {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 1400px) {
    .container.container_main {
        max-width: 100% !important;
    }
    .sp_nu {
        font-size: 1.3rem;
    }
    .sp_nu_ur {
        font-size: 1.3rem;
    }
    .lbl_main_text p.Urdu {
        font-size: 1rem;
    }
    .lbl_main_text p {
        font-size: 1.03rem;
    }
}

@media only screen and (max-width: 1280px) {
    .list_ul {
        width: 50%;
    }
    .lbl_main_text {
        width: 80%;
        padding-right: 17%;
    }
    .lbl_main_text p.Urdu {
        font-size: 1rem
    }
    .lbl_main_text p {
        font-size: 1rem;
    }
    .mb-lbl-w {
        width: 240px;
        text-align: left;
        margin-top: 22px;
    }
    .lbl_text p {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 1124px) {
    .lbl_main_text {
        width: 72%;
        padding-right: 17%;
        text-align: center;
        padding-left: 10px;
    }
    .list_ul {
        width: 50%;
    }
}

@media only screen and (max-width: 1024px) {
    .list_ul {
        width: 60%;
    }
}

@media only screen and (max-width: 990px) {
    .logo_main img {
        height: 40px;
    }
    footer:before {
        height: 94px;
        bottom: 32px;
    }
    footer:after {
        height: 32px;
    }
}

@media only screen and (max-width: 768px) {
    button.navbar-toggler {
        display: none;
    }
    .container.container_main {
        text-align: center;
    }
    .lbl_main_text {
        width: 100%;
        padding-right: 30px;
        text-align: center;
        padding-left: 30px;
    }
    .list_ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    footer img.main {
        position: relative;
        left: 50%;
        right: 0;
        transform: translate(-50%, 0);
    }
    .navbar.shadow-sm {
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 4px #e2e2e2;
    }
    .menu_bar {
        position: absolute;
        top: 88px;
        background: #fff;
        width: 100%;
        gap: 6px;
        z-index: 11;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 4px #e2e2e2;
    }
    .container_main {
        text-align: center;
    }
    .menu_bar span {
        padding-top: 7px;
    }
    .navbar.shadow-sm {
        border-bottom: 2px solid #b8b8b8;
    }
    .mb-lbl-w {
        margin-top: 70px;
    }
    main.bg-main {
        background: url(../img/cm_portal2.jpg);
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        height: 100%;
        width: 100%;
        zoom: 95%;
        font-family: "Poppins", sans-serif;
    }
    .mb-main-img img {
        width: 100%;
    }
    ul.list_ul.mb-list {
        width: 100%;
        margin-left: 12px;
    }
    ul.list_ul.mb-list img {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }
    .list_ul li h3 {
        font-weight: 500;
    }
    .list_ul li {
        padding: 10px 10px;
    }
    .mb-lbl img {
        width: 250px;
        margin-top: 30px;
    }
    .cm-text {
        padding-left: 20px;
        text-align: left;
        margin-top: 30px;
        border-left: 7px solid #ffba00;
        margin-left: 20px;
    }
    .cm-text h3 {
        font-size: 24px;
        font-weight: 900;
        color: #004d17;
        margin: 0;
    }
    .cm-text p {
        font-size: 24px;
        color: #004d17;
    }
    .cm-urdu p {
        font-size: 10px;
        color: #2f322f;
        text-align: left;
        padding-left: 47px;
        font-family: "Noto Nastaliq Urdu", serif;
    }
    .ft-lbl {
        width: 70%;
        float: left;
        padding-left: 47px;
    }
    .ft-lbl2 {
        width: 0%;
        float: left;
    }
    .ft-lbl2 img {
        width: 100px;
    }
    .ft-lbl p {
        font-size: 12px;
    }
    .urdu_text {
        font-size: 10px;
        line-height: normal;
        font-family: "Noto Nastaliq Urdu", serif;
    }
}

@media only screen and (max-width: 600px) {
    .menu_bar span {
        padding-top: 7px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .bg-main1 {
        background: url('../../CmdashboardAssets/images/mobile-crm-landing-bg.jpg') !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: top;
    }
}

@media only screen and (max-width: 400px) {
    .logo_main img {
        height: 33px;
    }
    .mb-lbl-w {
        width: 50%;
    }
    .logo_main img {
        height: 32px;
    }
    .menu_bar span {
        padding-top: 7px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width:1024px) {
    footer img.main {
        max-width: 400px;
    }
    .mb-lbl-w {
        width: 220px;
    }
}

.navbar-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
}

.loginBtn {
    background: #0f9d58;
    border: 1px solid #0f9d58;
    border-radius: 8px;
    padding: 7px 30px;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #fff;
    transition: all 0.3s linear;
}

.loginBtn:hover {
    background-color: transparent;
    color: #0f9d58;
    border: 1px solid #0f9d58;
}

.logo img {
    height: 75px;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-actions {
        position: absolute;
        top: 60px;
        right: 10px;
        background: #fff;
        flex-direction: column;
        width: 150px;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: 0.3s;
    }
    .nav-actions.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .logo img {
        height: 60px;
    }
}