body {
    background-color: #fcf8f8 !important;
}

/* <--------------- navbar css --------------> */

nav {
    background-color: #fcf8f8 !important;
    padding: 16px 0 !important;
}

.navbar-brand {
    padding: 0 !important;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    border-bottom: 2px solid transparent !important;
    transition: all ease-in 0.25ms;
    padding: 8px 25px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .1em !important;
    font-family: "Montserrat", serif;
    color: #013f52 !important;
}

.nav-link:hover {
    border-bottom: 2px solid #013f52 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler:focus-visible {
    outline: none !important;
}

.navbutton {
    background-color: #013f52;
    border-radius: 10px;
    padding: 8px 15px;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    font-family: "Montserrat", serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active {
    border-bottom: 2px solid #013f52 !important;
}

.mobilebrand {
    display: none;
}

.webbrand {
    display: block;
}

.collapse {
    justify-content: center;
}

/* <------------------ modal css ----------------> */


.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* display: none;
    position: fixed;
    top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden !important;
}



.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    height: 450px;
    max-width: 600px !important;
    width: 90% !important;

}


.modalbody {
    height: calc(100% - 86px);
    overflow: auto;

}

.modalfooter {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agreebtn {
    background-color: #013f52;
    border-radius: 5px;
    padding: 8px 15px;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    font-family: "Montserrat", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: white;
}

.modaltext {
    color: #333d49;
    font-size: 16px;
    margin: 0;
    text-align: justify;
    padding-right: 10px;
}

/* <------------------ footer css ----------------> */

.footer {
    background-color: #013f52;
    border-top: 5px solid #595959;
    height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footertext {
    text-align: center;
    color: white;
    margin: 0;
}

/* <--------------------- font test ---------------------> */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", serif;
}

p {
    /* font-family: 'FilsonPro-Regular', sans-serif; */
    font-family: "Montserrat", serif;
}

/* <----------------- home css ----------------> */

.bannerimage {
    height: 409px;
    width: 100%;
    object-fit: cover;
}

.rjmaintext {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0 0 0;
}

.mainheading {
    color: #013f52;
    font-size: 60px;
    font-weight: 500;
    font-family: "Montserrat", serif;
}

.maintext {
    color: #013f52;
    font-size: 18px;
    margin: 0;
}

.homeclientimagemaincontainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 60px 0px;
    justify-content: center;
    padding: 0 130px;
    margin: 0 !important;
}

.homeclientimagecontainer {
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homeclientimage {
    object-fit: contain;
    height: 100%;
    width: 100%;
    min-width: 150px;
    padding: 0 20px;
}

.heading {
    color: #013f52;
    font-size: 30px;
    font-weight: 500;
    font-family: "Montserrat", serif;
}

.homeclientsection {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contactbutton {
    background-color: #013f52;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    font-family: "Montserrat", serif;
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* <---------------------- about css ----------------------> */

.aboutcontainer {
    padding: 60px 50px 20px 50px;
}

.aboutimage {
    width: 100%;
}

.aboutrow {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
    gap: 15px;
}

.teambox {
    background-color: #fafafa;
    padding: 20px 15px !important;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 210px;
}

.teamrow {
    width: 100%;
    margin: 0 !important;
    justify-content: center;
    gap: 25px;
    padding: 70px 100px;
}

.name {
    margin: 0;
    font-size: 21px;
    color: #013f52;
}

.role {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-style: italic;
    color: #013f52;
}

.qualification {
    margin: 0;
    color: #013f52;
    font-size: 14px;
}

.email {
    margin: 0;
    color: #013f52;
    font-size: 14px;
    word-break: break-all;
}

.aboutlist {
    color: #013f52;
}

.aboutlistpoint {
    line-height: 1.8em;
    font-size: 16px;
    text-align: justify;
    /* font-family: 'FilsonPro-Regular', sans-serif; */
    font-family: 'Open Sans', sans-serif;
}

/* <------------------ practice areas css ------------------> */

.practiceareacontainer {
    padding: 60px 170px;
    min-height: calc(100vh - 186px);
}

.palist {
    color: #013f52;
}

.palistpoint {
    font-size: 18px;
    /* font-family: 'FilsonPro-Regular', sans-serif; */
    font-family: 'Open Sans', sans-serif;
    color: #013f52;
    margin: 0;
}

.parow {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
}

/* <----------------------- careers css -----------------------> */

.careerscontainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 186px);
}

.careerstextcontainer {
    width: 65%;
    padding: 80px 0 100px 0;
}

.verticalspacer {
    height: 25px;
    display: block;
}

/* <------------------------- client css -------------------------> */

.testimonialform {
    width: 45%;
    background-color: #e4dede;
    padding: 30px 25px;
}

.testimonialcontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 85px;
}

.form-check-input:checked {
    background-color: #013f52 !important;
    border-color: #013f52 !important;
}

.form-check-input:focus {
    border-color: #013f52 !important;
    box-shadow: 0 0 0 0.25rem rgb(1 63 82 / 25%) !important;
}

.form-control:focus {
    border-color: #013f52 !important;
    box-shadow: 0 0 0 0.25rem rgb(1 63 82 / 25%) !important;
}

.form-control:focus-visible {
    outline: none !important;
}

.clientimagemaincontainer {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 45px 0px;
    justify-content: center;
    padding: 0 150px;
    margin: 0 !important;
}

.clientimagecontainer {
    height: 155px;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 230px;
    max-width: 340px !important;
}

.clientimage {
    object-fit: contain;
    height: 100%;
    width: 100%;
    padding: 0 30px;
    min-width: 150px;
}

.clientsection {
    padding: 60px 0;
}

/* <------------------------ contact us css ------------------------> */

.contactmaincontainer {
    padding: 80px 0 200px 0;
    min-height: calc(100vh - 186px);
}

.contactrow {
    width: 100%;
    margin: 0 !important;
    justify-content: center;
    padding: 70px 100px;
}



/* <------------------------------ media queries ------------------------------> */

@media only screen and (max-width:991px) {
    .mobilebrand {
        display: block;
    }

    .webbrand {
        display: none;
    }

    .collapse {
        justify-content: flex-start;
    }

    .contactrow {
        padding: 40px 60px;
        gap: 20px;
    }

    .careerstextcontainer>.maintext {
        width: 85% !important;
    }

    .practiceareacontainer {
        padding: 60px 70px;
    }

    .rjmaintext>.maintext {
        width: 100% !important;
    }

    .rjmaintext {
        padding: 50px 65px 0 65px;
    }

    .bannerimage {
        object-position: top 0px right -226px;
    }

    .homeclientimagemaincontainer {
        padding: 0 65px;
    }

    .testimonialform {
        width: 100%;
    }

    .testimonialcontainer {
        padding: 0 90px;
        margin-bottom: 70px;
    }

    .navbar-nav {
        align-items: center;
    }

    .navbutton {
        display: none;
    }

    .contactbutton {
        display: flex;
    }
}

@media only screen and (max-width:768px) {

    .parow {
        gap: 25px;
    }

    .bannerimage {
        object-position: top 0px right -310px;
    }

    .homeclientimagecontainer {
        height: 140px;
    }

    .contactmaincontainer {
        padding: 45px 0 150px 0;
    }

    .testimonialcontainer {
        padding: 0 60px;
    }

    .clientimagemaincontainer {
        padding: 0 60px;
    }

    .clientimage {
        padding: 0px;
    }
}

@media only screen and (max-width:576px) {
    .contactrow {
        padding: 30px 35px;
    }

    .careerstextcontainer {
        width: 100%;
        padding: 25px 30px 100px 30px;
    }

    .careerstextcontainer>.maintext {
        width: 100% !important;
    }

    .practiceareacontainer {
        padding: 25px 30px;
    }

    .aboutcontainer {
        padding: 25px 40px 20px 40px;
    }

    .teamcontainer {
        margin: 25px 40px !important;
    }

    .teamrow {
        padding: 70px 55px;
    }

    .footertext {
        font-size: 13px;
    }

    .rjmaintext {
        padding: 35px 40px 0 40px;
    }

    .bannerimage {
        height: 300px;
    }

    .homeclientimagemaincontainer {
        padding: 0 40px;
        gap: 30px 0px;
    }

    .homeclientsection {
        padding: 55px 0 75px 0;
    }

    .rjmaintext>.mainheading {
        font-size: 34px !important;
        margin-bottom: 15px !important;
    }

    .contactmaincontainer {
        padding: 25px 0 150px 0;
    }

    .testimonialcontainer {
        padding: 0 40px;
    }

    .clientsection {
        padding: 25px 0;
    }

    .clientimagemaincontainer {
        padding: 0 40px;
    }

    .clientimagecontainer {
        height: 120px;
    }
}

@media only screen and (max-width:450px) {

    .contactmaincontainer>.heading {
        margin-bottom: 40px !important;
    }

    .contactcontainer {
        margin: 25px 0px !important;
    }

    .aboutcontainer {
        padding: 25px 25px 20px 25px;
    }

    .teamcontainer {
        margin: 25px 0px !important;
    }

    .teamrow {
        padding: 45px 30px;
    }

    .rjmaintext {
        padding: 25px 30px 0 30px;
    }

    .homeclientimagemaincontainer {
        padding: 0 30px;
    }

    .testimonialcontainer {
        padding: 0 30px;
    }

    .testimonialform {
        padding: 20px 15px;
    }

    .clientimagemaincontainer {
        padding: 0 30px;
    }
}