/*============= Home Banner with Form Block CSS ===============*/
.home-banner-block {
    background-color: var(--color--one);
    height: 48rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.home-banner-block::before{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #DEFFF3 0%, rgba(0, 51, 153, 0) 99.35%);
    height: 100%;
    width: 100%;
}
.banner-content p{
    color:var(--color--black);
}
.home-banner-block .container {
    position: relative;
    padding-top: 100px;
}
.home-banner-block .banner-heading {
    font-weight: 400;
    font-size: 77px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--color--one);
}
.home-banner-block .banner-content {
    color: #fff;
    font-weight: 400;
    font-size: 20px;
}
.banner-form .form-row {
    border-radius: 40px;
    background: #fff;
    box-shadow: 4px 4px 59px 0px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: -110px;
    z-index: 1;
    position: relative;
}
.banner-form .heading {
    font-size:30px;
}
.banner-form .content {
    font-size: 16px;
    line-height: 1.6;
}
.banner-form form {
    padding-left: 20px;
}
.banner-form .form-control, .banner-form .select-box select {
    border: 1px solid rgba(230, 230, 230, 1);
    border-radius: 38px;
    padding: 14px 20px;
    font-size: 16px;
}
.banner-form .select-box select{
    padding: 16px 20px;
}
.banner-form .wpcf7 .form-group {
    margin-bottom: 25px;
}
.banner-form .wpcf7 .wpcf7-not-valid-tip, .banner-form .wpcf7 label.error {
    bottom: 0;
}
.banner-form .submit-btn {
    display: block;
    width: 100%;
}
.banner-form .submit-btn input[type="submit"] {
    padding: 13px 70px 13px 25px;
}
@media (max-width: 1199px){
    .home-banner-block {
        height: auto;
        padding-top: 130px;
        padding-bottom: 190px;
    }
    .home-banner-block .container {
        max-width: 96%;
    }
    .home-banner-block .banner-heading {
        font-size: 52px;
    }
}
@media (max-width: 991px){
    .banner-form .heading {
        font-size: 30px;
    }
}
@media (max-width: 575px){
    .home-banner-block .banner-heading {
        font-size: 36px;
    }
}
/*============= Home Banner with Form Block CSS END ===============*/

/*============= Services Block CSS ===============*/
.service-block {
    background-color: var(--color--one);
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 40px
}
.service-list {
    margin-bottom: 30px;
}
.service-block .service-nav {
    padding: 24px 40px;
    position: relative;
    display:flex;
}
.service-block .service-nav::before {
    background-color: var(--color--one);
    border-color: #fff;
    position: absolute;
    left: 0;
    content: "";
    top: 0;
    width: 0;
    height: 100%;
    transition: all ease-in-out 0.5s;
}
.service-nav svg{
    position: relative;
    z-index: 9;
    margin-right: 20px;
    width: 65px;
}
.service-nav.active svg path{
    fill:#fff!important;
}
.service-block .service-nav.active .s-content{
    display: none;
}
.s-content{
    font-size: 16px;
    font-weight: 500;
    color: #081B33;
}
.service-block .service-nav.active::before {
    width: 100%;
    border-left: 8px solid #fff;
}
.service-block .service-nav .title {
    font-size: 30px;
    color: #081B33;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.5;
    position: relative;
}
.service-block .service-nav .learn-more-btn {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    position: absolute;
    padding-right: 35px;
    display:none;
}
.service-block .service-nav.active .learn-more-btn {
    display:inline-block!important;
    position: relative;
}
.service-block .service-nav.active .title{
    color:#fff;
}
.service-block .service-nav .learn-more-btn::before {
    position: absolute;
    content: "";
    background-image: url(../img/btn-arrow.svg);
    width: 25px;
    height: 19px;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
.service-block .service-loop-item {
    display: none;
    position: relative;
    height: calc(100% + 40px);
    padding-right: 30px;
    padding-bottom: 30px;
}
.service-block .service-loop-item.active{
    display: block;
}
.service-block .service-loop-item:before {
    content: "";
    background: var(--color--one);
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    right: 0;
    bottom: 0;
}
.service-block .service-loop-item img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    width: 100%;
}
@media (max-width:1199px){
    .service-block .service-nav .title {
        font-size: 22px;
    }
    .service-block .service-nav {
        padding: 18px 20px;
    }
}
@media (max-width:991px){
    .service-block .service-loop-item img {
        height: auto;
    }
    .service-block .service-loop-item {
        height: auto;
        padding-right: 20px;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    .service-block .service-loop-item:before {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
    .service-list {
        margin-bottom: 50px;
    }
}
@media (max-width:575px){
    .service-block .service-nav .title {
        font-size: 18px;
        line-height: 1.2;
    }
}
/*============= Services Block CSS END ===============*/

/*============= Image with Content Block CSS ===============*/
.image-left-block .inner-content {
    padding-left: 30px;
}
.image-left-block .image-border figure {
    padding-left: 30px;
    padding-bottom: 30px;
    margin-bottom: 0;
}
.image-left-block .image-border figure::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background: var(--color--two);
}
.counter-area .com-border:nth-child(1), .counter-area .com-border:nth-child(2){
    border-right:1px solid #ccc;
}
.counter-area .com-border .display-5{
    color: #1F3574;
}

.image-left-block figure img {
    display: block;
    position: relative;
    z-index: 9;
}
.image-right-block .inner-content {
    padding-right: 30px;
}
.image-right-block .row {
    flex-direction: row-reverse;
}
.image-right-block .image-border figure {
    padding-right: 30px;
    padding-bottom: 30px;
    margin-bottom: 0;
}
.image-right-block .image-border figure::after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background: var(--color--two);
}
.image-right-block figure img {
    display: block;
    position: relative;
    z-index: 9;
}

.image-left-col-space .row, .image-right-col-space .row {
    --bs-gutter-y: 0;
    --bs-gutter-x: 0;
    align-items: normal !important;
}
.image-left-col-space .right-col, .image-right-col-space .right-col {
    display: flex;
    align-items: center;
}
.image-left-col-space figure, .image-right-col-space figure {
    margin: 0;
}
.image-left-col-space figure img, .image-right-col-space figure img {
    object-fit: cover;
    object-position: center;
    height: 100%;
}
.image-left-col-space .inner-content, .image-right-col-space .inner-content {
    padding-top: 30px;
    padding-bottom: 30px;
}
@media (max-width: 991px){
    .image-left-block .image-border figure,
    .image-right-block-block .image-border figure{
        margin-bottom: 30px;
    }
    .counter-area .com-border p{
        font-size: 10px;
        line-height: 15px;
    }
    .image-left-block .inner-content {
        padding-left: 0;
    }
    .image-right-block .inner-content {
        padding-right: 0px;
    }
}
@media (max-width: 575px){
    .image-left-block .image-border figure {
        padding-left: 20px;
        padding-bottom: 20px;
    }
    .image-left-block .image-border figure::after {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
    .image-right-block .image-border figure {
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .image-right-block .image-border figure::after {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
}
/*============= Image with Content Block CSS END ===============*/

/*============= Background Image with Content Block CSS ===============*/
.bgimg-with-content {
    background: #f8f8f8;
    position: relative;
    overflow: hidden
}
.bgimg-with-content figure {
    position: absolute;
    right: 0;
    width: 52%;
    top: 0;
    height: 100%
}
.bgimg-with-content figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}
.bgimg-with-content .inner-content {
    background: var(--color--one);
    padding: 70px 100px;
    position: relative;
    z-index: 9;
    border-radius: 30px;
}
.bgimg-with-content .loop-item {
    margin-bottom: 25px;
    display: inline-flex;
}
.bgimg-with-content .loop-item:last-child {
    margin-bottom: 0
}
.bgimg-with-content .loop-item .title {
    color: var(--color--six);
    font-size: 26px;
    font-weight: 500;
}
img.d-block.icons {
    width: 70px;
    object-fit: contain;
    margin-right: 20px;
}
.bgimg-text-vtwo{
    background-size: cover;
    background-position: center;
    background-color: var(--color--six);
}
@media (max-width: 1199px){
    .bgimg-with-content .inner-content {
        padding: 40px 30px;
    }
    .bgimg-with-content .loop-item .title {
        font-size: 24px;
    }
}
@media (max-width:991px){
    .bgimg-with-content {
        background: var(--color--one);
        border-radius: 20px;
        margin: 0 10px;
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
    .bgimg-with-content .loop-item {
        display: block;
    }
    img.d-block.icons {
        margin: 0 0 20px;
        width: 50px;
    }
    .bgimg-with-content .inner-content {
        padding: 0;
    }
    .bgimg-with-content figure {
        display: none;
    }
}
/*============= Background Image with Content Block CSS END ===============*/

/*============= Logo Carousel Block CSS ===============*/
.logo-carousel-slider figure {
    margin: 0;
    padding: 0 20px;
}
.logo-carousel-slider figure img {
    display: block;
    height: 75px;
    object-fit: contain;
    margin: 0 auto;
}
.logo-carousel-slider {
    padding: 0 45px;
}
.logo-lists-col figure {
    margin: 0;
    box-shadow: 5px 5px 30px 0px transparent;
    padding: 10px 20px;
    text-align: center;
    background: #fff;
    margin-top: 25px;
}
.logo-lists-col figure img {
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
}
.logo-lists-col figure:hover {
    box-shadow: 5px 5px 30px 0px rgba(0, 0, 0, 0.16);
}
@media (max-width:767px){
    .logo-carousel-slider figure {
        padding: 15px 25px;
    }
}
@media (max-width:575px){
    .logo-lists-col figure {
        padding: 10px 10px;
    }
}
/*============= Logo Carousel CSS Block END ===============*/

/*============= Testimonial Carousel Block CSS ===============*/
.testimonial-carousel {
    background: #f8f8f8;
}
.testimonials-slider .slick-slide {
    height: inherit;
    margin: 15px;
}
.testimonials-slider .slick-track {
    display: flex;
}
.testimonials-slider .slick-slide > div {
    height: 100%;
}
.testimonials-slider .item {
    height: 100%;
    padding: 40px 40px;
    position: relative;
    background: rgba(255,255,255,1);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.10);
}
.testimonials-slider .title-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.testimonials-slider .first-char {
    font-size: 30px;
    width: 70px;
    height: 70px;
    background: var(--color--one);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    margin-right: 15px;
}
.testimonials-slider .name {
    font-size: 25px;
    font-weight: 500;
    color: #343434;
    text-transform: capitalize;
}
@media (max-width: 991px){
    .testimonial-carousel .testimonials-slider  {
        padding: 0 0;
    }
    .testimonial-carousel .slick-dots {
        width: 100%;
    }
    .testimonials-slider .slick-slide {
        margin: 0;
    }
}
@media (max-width: 575px){
    .testimonials-slider .item {
        padding: 25px 20px;
    }
}
/*============= Testimonial Carousel Block CSS END ===============*/

/*============= Specialists Block CSS ===============*/
.specialists-block{
    overflow: hidden;
}
.specialists-list {
    margin-top: 50px;
}
/*.specialists-list  .loop-col:nth-child(2) {
    margin-top: -50px;
}*/
.specialists-list .featured-img img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.specialists-list .featured-img a {
    position: relative;
    overflow: hidden;
}
.specialists-list .featured-img a:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -100%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 51, 153, 0) 0%, rgba(2, 17, 46, 0.6) 100%);
    width: 100%;
    -webkit-transition: all ease-in-out 0.9s;
    -moz-transition: all ease-in-out 0.9s;
    -o-transition: all ease-in-out 0.9s;
    transition: all ease-in-out 0.9s;
    height: 100%;
}
.specialists-list .loop-col:hover .featured-img a::before{
    bottom: 0;
}
/*.specialists-list  .loop-col:nth-child(2) .featured-img img {
    height: 400px;
}*/
.specialists-list .no-featured-img {
    height: 350px;
    background: var(--color--one);
    display: flex;
    align-items: center;
    justify-content: center;
}
.specialists-list .no-featured-img a img {
    max-width: 250px;
}
.specialists-list .attorney-name a {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 15px;
    color: #343434;
}
.specialists-list .attorney-designation {
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
}
@media (max-width:991px){
    .specialists-list {
        margin-top: 0;
    }
    .specialists-list  .loop-col {
        margin-top: 30px;
    }
    .specialists-list  .loop-col:nth-child(2) {
        margin-top: 30px;
    }
    .specialists-list  .loop-col:nth-child(2) .featured-img img {
        height: 350px;
    }
}
@media (max-width:767px){
    .specialists-list .featured-img img,
    .specialists-list  .loop-col:nth-child(2) .featured-img img {
        height: 500px;
    }
}
/*============= Specialists Block CSS END ===============*/

/*============= CTA Block CSS ===============*/
.cta-block {
    background: var(--color--one);
    padding: 40px 0;
}
@media (max-width:991px){
    .cta-block .btn-col {
        text-align: left !important;
        margin-top: 30px;
    }
}
/*============= CTA Block CSS ===============*/

/*============= Form with Map Block CSS ===============*/
.form-with-map {
    position: relative;
}
.form-with-map::before {
    position: absolute;
    content: "";
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #f8f8f8 52%, rgba(248, 248, 248, 0) 84.36%);
    top: 0;
    height: 100%;
    z-index: 9;
    pointer-events: none;
}
.form-with-map .container {
    position: relative;
    z-index: 9;
}
.form-with-map iframe {
    display: block;
    position: absolute;
    right: 0;
    width: 47%;
    top: 0;
}
.fullwidth-form-map {
    padding-bottom: 0;
}
.fullwidth-form-map iframe {
    position: static;
    height: 450px;
    width: 100%;
    display: block;
    margin-top: 70px;
}
.fullwidth-form-map::before {
    display: none;
}
.fullwidth-form-map .row {
    justify-content: center;
}

.form-with-map .form-control {
    border-bottom: 1px solid #959595;
    color: var(--color--three);
}
.form-with-map ::-webkit-input-placeholder {
    color: #959595;
}
.form-with-map ::-moz-placeholder {
    color: #959595;
}
.form-with-map :-ms-input-placeholder {
    color: #959595;
}
.form-with-map :-moz-placeholder {
    color: #959595;
}
@media (max-width:991px){
    .fullwidth-form-map {
        padding-bottom: 0 !important;
    }
    .left-form-map::before {
        display: none;
    }
    .left-form-map iframe {
        display: block;
        position: static;
        right: 0;
        width: 100%;
        top: 0;
        height: 500px;
        margin-top: 50px;
        margin-bottom: -50px;
    }
}
/*============= Form with Map Block CSS END ===============*/

/*============= Testimonials Post Block CSS ===============*/
.testimonials-post .review-item {
    display: none;
    border:1px solid #cdcdcd;
    padding: 35px 40px;
    margin-bottom: 30px;
    position: relative;
}
.testimonials-post .review-item:last-child {
    margin-bottom: 0px;
}
.testimonials-post .review-item.active {
    display: block;
    position: relative;
}
.testimonials-post .review-item .review-title {

    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1F3574;
}
.testimonials-post .review-item:nth-child(2n){
    text-align: right;
}


.testimonials-post .review-item .quote-icon {
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    top: -22px;
    left: 35px;
}
.review-item path {
    fill: #1F3574;
}
.testimonials-post .review-item:nth-child(2n) .quote-icon {
    margin-left: auto;
    transform: scaleX(-1);
    right: 35px;
}
@media (max-width:991px){
    .testimonials-post .review-item {
        padding: 20px 20px;
    }
}
/*============= Testimonials Post Block CSS END ===============*/

/*============= Team Post Block CSS ===============*/
.team-post .attorney-loop-col {
    display: none;
}
.team-post .attorney-loop-col.active {
    display: block;
}
.team-post .attorney-item:hover {
    border:1px solid #cdcdcd;
}
.team-post .featured {
    width: 100%;
    height: 510px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.team-post .no-featured-img a {
    height: 510px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--color--one);
}
.team-post .no-featured-img a img {
    max-width: 260px;
}
.team-post .attorney-info {
    padding: 30px 35px;
}
.team-post .attorney-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color--one);
    margin-top: 8px;
}
.team-post .attorney-designation {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: normal;
}
.team-post .learn-more-btn {
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 5px 0px;
    color: var(--color--two);
    text-transform: uppercase;
}
.team-post .learn-more-btn svg, .team-post .learn-more-btn img {
    margin-left: 15px;
    width: 18px;
    height: 18px;
    display: block;
}
.team-post .learn-more-btn:hover {
    color: var(--color--one);
}
.team-post .learn-more-btn:hover svg,
.team-post .learn-more-btn:hover svg path {
    fill: var(--color--one);
    stroke: var(--color--one);
}
@media (min-width: 768px) and (max-width: 991px){
    .team-post .featured, .team-post .no-featured-img a {
        height: 340px;
    }
}
@media (max-width:991px){
    .team-post .attorney-name {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    .team-post .attorney-designation {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .team-post .attorney-info {
        padding: 20px 15px;
    }

}
@media (max-width:767px){
    .team-post .featured {
        height: auto;
    }
    .team-post .no-featured-img a {
        height: 400px;
    }
}
/*============= Team Post Block CSS END ===============*/

/********* Component Icon Box **********/
.icon_box-sec{
    background-color: #5B7E46;
    padding: 100px 0;
}
.icon_box-sec h2{
    margin-bottom: 40px;
}
.icon_box-sec h2, .icon_box-sec p{
    color: #fff;
}
.icon_box-sec img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    object-position: 50% 50%;
    margin-bottom: 20px;
}
.icon_box-title{
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    color: #fff;
    margin-bottom: 10px;
}

@media (max-width: 1399px) {
    .icon_box-title {
        font-size: 24px;
    }
    .icon_box-sec {
        padding: 70px 0;
    }
}
@media (max-width: 767px) {
    .icon_box-title {
        font-size: 16px;
        font-weight: 500;
    }
    .icon_box-sec p{
        font-size: 14px;
        line-height: 20px;
    }
}
/********* End Css **********/

/********* Component Text With Form **********/

.form-side .wpcf7-text, .form-side textarea {
    width: 100%;
    background-color: #ffffff00;
    border-radius: 5px;
    border: 1px solid #fff;
    padding: 5px 10px;
}
.content-with-form .form-side .wpcf7-text::placeholder, .content-with-form .form-side textarea::placeholder {
    color: #fff;
    font-family: 'IBM Plex Sans', sans-serif;
}
.content-with-form .form-side .submit-btn {
    margin: 20px auto 0;
    height: 50px;
    width: 170px;
}
.content-with-form .form-side textarea{
    height: 150px;
}
.content-with-form .form-side  .btn{
    width: 100%;
}
.content-with-form .form-side{
    padding: 40px;
    margin-left: 20px;
    background-color: #1F3574;
}

.content-with-form li {
    margin: 15px 0;
}
@media (max-width: 767px) {
    .content-with-form .form-side {
        padding: 25px;
        margin-left: 0px;
        margin-top: 30px;
    }
    .content-with-form .btn{
        display: block;
        margin: auto;
    }
}
/********* End Css **********/


