/*------------------------------------- Home CSS Start (Desktop Screen) ------------------------------------------*/
html {
    overflow-x: hidden;
}
video::-webkit-media-controls {
  display: none !important;
}
.arrow_button {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}
.arrow_button .w-btn-label{
    position: relative;
}
.arrow_button .w-btn-label:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: -27px;
    top: 5px;
    -webkit-mask: var(--right-arrow) no-repeat center;
    mask: var(--right-arrow) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: currentColor;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
/* animated underline */
.arrow_button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: calc(100% + 25px);
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.arrow_button:hover::after {
    transform: scaleX(1);
}
.arrow_button:hover .w-btn-label::after {
    color: var(--hover-dark-text);
}
.black_btn.arrow_button:hover .w-btn-label::after{
    color: var(--hover-black-text);
}
section.first_Sec {
    position: relative;
    height: 1446px;
    overflow: hidden;
}

.first_Sec .l-section-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 1440px;   /* swapped because of rotation */
    height: 100vw;
    
    transform: rotate(90deg) translateY(-100%);
    transform-origin: top left;
}

section.first_Sec::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; 
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 66.83%);
    pointer-events: none;
    z-index: 1;
}
section.first_Sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 27, 50, 0.89);
    mix-blend-mode: overlay; 
    pointer-events: none;
}
.post_list {
    height: 100%;
}
a.service_btn {
    margin-top: 20px;
}
.latest_post .w-grid-list {
    float: right;
}
.latest_post article {
    background: var(--light-black);
    border-radius: 20px;
    border: 0.25px solid rgba(255, 255, 255, 0.25);
    width: 237px;
    height: 254px;
    float: right;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.latest_post article .w-grid-item-h {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.latest_post article::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 3px;
    background: radial-gradient(
        circle at top right, 
        #ffffff 0%, 
        #ffffff 20%, 
        transparent 60%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}
/* Show highlight on hover */
.latest_post article:hover::before {
    opacity: 1;
}

/* Optional: Subtle move of the arrow on hover */
.latest_post article:hover .arrow_icon {
    transform: translate(3px, -3px);
    transition: transform 0.3s ease;
}
.latest_post .post_data {
    z-index: 3;
}
.arrow_icon {
    position: absolute;
    top: 28px;
    right: 26px;
}
.post_data {
    padding-left: 19px;
    padding-bottom: 15px;
    padding-right: 19px;
}
section.first_sec_bottom {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -292px;
    z-index: 9;
}
section.first_Sec{
    height: 1350px;
}
section.l-section.home-second-sec{
    margin-top: 37px;
}
.home-second-sec h3 {
    padding-bottom: 18px;
}
.counter-row{
    padding-top: 18px;
}
.counter_box .w-counter-value{
    background: linear-gradient(180deg, #141D45 0%, #63C1E1 85.1%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 125px !important;
    font-style: normal;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -9px;
}
p.w-counter-title {
    border-top-width: var(--border-large-width);
    border-top-style: solid;
    border-color: #000;
    padding-top: 14px;
    color: #000000B2;
}
.bg_white_box {
    background-color: var(--white);
    border-radius: var(--border-radius-large);
    padding-top: 18px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 13px;
}
.bg_white_box .bottom_image img {
    width: 90%;
    object-fit: contain;
    object-position: left;
    height: 80px;
}
.trans-logo img {
    object-fit: cover;
    width: 147.169px;
    height: 57.522px;
}
.counter_col{
    background-color: var(--gray);
    border-radius: var(--border-radius-large);
    padding-bottom: 33px;
}
.type-transactions img {
    object-position: left;
}
p.announcement_text {
    padding-left: 5px;
}
.carousel_block {
    padding-top: 33px;
}
.bottom_sec {
    padding: 10px 20px 0;
}
.bottom_sec p, .font_18{
    font-size: 18px;
    line-height: 23.382px;
}
.carousel_block .dotstyle_dash .owl-dot span, .client-testi-row .dotstyle_dash .owl-dot span{
    display: block;
    width: 27px;
    height: 7px;
    background: #BCBCBC;
    margin: 10px 4px 0px 4px;
}
.carousel_block .dotstyle_dash .owl-dot.active span, .client-testi-row .dotstyle_dash .owl-dot.active span {
    background: var(--black);
}
.counter_third_block .dotstyle_dash .owl-dot.active span {
    background: var(--white);
}
.carousel_block .dotstyle_dash .owl-dot span, .client-testi-row .dotstyle_dash .owl-dot span {
    background: var(--light-gray);
}
.owl-carousel .owl-dots{
	width:80%!important;
	
}
/* Force carousel container to clip properly */
.home-second-sec .us_post_carousel,
.home-second-sec .us_post_carousel .owl-stage-outer,
.home-second-sec .us_post_carousel .owl-stage {
    overflow: hidden !important;
}

/* Force each slide to stretch correctly */
.home-second-sec .us_post_carousel .owl-item {
    height: 100%;
}

.home-second-sec .us_post_carousel .w-grid-item-h {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.bg_white_box .top_image img {
    margin-top: -16px;
    width: 80%;
    object-fit: contain;
    height: 80px;
}

.bg_white_box img {
    object-fit: contain;
    height: 100px;
}
.bottom_sec .post_taxonomy {
    padding-top: 0px;
}
.counter_quote_mask{
    background-color: #E8E8E8;
    background-image: var(--quote-img);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border-radius: var(--border-radius-small);
    padding: 33px 33px 33px 19px;
}
.counter_quote_mask .testi_content {
    padding: 0px 7px 33px 0px;
}
.counter_quote_mask .post_content {
    padding-bottom: 20px;
}
.counter_height .trans_carousel, .counter_height .vc_column-inner  {
    height: 100%;
}
.owl-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.counter_height .dotstyle_dash{
    height: -webkit-fill-available;
}
.counter_third_block{
    padding: 18px 7px 33px 0px;
    border-radius: var(--border-radius-small);
}
.counter_third_block {
    position: relative;
    overflow: hidden;
}
.counter_third_block .description p{
    margin: 0;
}
.counter_third_block .description {
    margin-bottom: 10px;
}
.counter_third_block .bg-video-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; overflow: hidden;
}

.counter_third_block .bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.counter_third_block > *:not(.bg-video-wrapper) {
    position: relative;
    z-index: 2;
}
.home .image_block, .home .video_block{
    display: none;
}
.counter_third_block .grey_bg_box {
    padding: 0 22px;
    color: var(--white);
}
.testi_metadata {
    display: grid;
    grid-template-columns: auto auto;
    justify-items: left;
    align-items: baseline;
    gap: 0;
}
.home-second-sec .counter_height {
    height: var(--carousel-awards-height) !important;
}
.counter_third_block .bg-video-wrapper::after, .counter_third_block.img_sec::before {
    content: '';
    background: var(--dynamic-bg-color);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    mix-blend-mode: var(--dynamic-bg-blend);
}
.counter_third_block .awards-col::before {
    content: none;
}
.counter_third_block .w-video:not(.confirm_load) {
    background: transparent;
}
a.white_arrow::after {
    filter: invert(1);
}
section.l-section.home-service-sec {
    padding-top: 30px;
    padding-bottom: 55px;
}
.home-service-sec h2 {
    margin-bottom: 17px;
}
.home-service-sec h3 {
    max-width: 645px;
    margin: 0 auto;
    padding-bottom: 39px;
}
.service_row {
    padding-top: 22px;
}
.service_row p {
    padding-top: 11px;
}
.leadership-col {
    padding: 22px 24px 46px 27px;
}
.leadership-col a.arrow_circle_btn {
    padding: 0;
}
.leadership-col .arrow_circle_btn::after {
    top: 0px !important;
    filter: invert(1);
    right: 0px !important;
}
.leadership-col h4.box_title {
    padding-top: 40px;
    margin-bottom: 30px;
}
.leadership-col .box_description h4 {
    padding-top: 7px;
    margin-bottom: 25px;
    display: block;
    max-width: 438px;
    width: 100%;
}
.home .leadership-col .box_description h4{
    float: left;
}
.blue_btn:hover{
    background-color: var(--hover-blue-bg) !important;
}
.brown_btn:hover{
    background-color: var(--hover-brown-bg) !important;
}
section.l-section.home-last-sec{
    padding-top: 43px;
    padding-bottom: 0px;
}
/* GRID equal height */
.lw-acf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* FLASHCARD */
.lw-grid-card.flashcard {
  position: relative;
  perspective: 1200px;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  height: 100%;
  min-height: 372px;
  padding: 30px 0;
}

/* 3D INNER */
.flashcard-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
}

/* FLIP */
.lw-grid-card.is-flipped .flashcard-inner {
  transform: rotateY(180deg);
}

/* FACES — FULL COVER */
.flashcard-face {
  position: absolute;
  inset: 0;
  padding: 36px 36px 10px 37px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: var(--border-radius-large);
}

/* BACK FACE ROTATION */
.flashcard-back {
  transform: rotateY(180deg);
  color: var(--white);
}
.flashcard-back h4 {
    color: var(--white);
}
/* PLUS ICON */
.lw-plus {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.35s ease, color 0.35s ease;
}
.flashcard-face h4 {
    margin: 0 0 32px;
    font-weight: 700;
}
.flashcard-face div.desc {
    padding-top: 13px;
    padding-bottom: 100px;
}
.lw-plus svg {
    transition: transform 0.3s ease;
}
.lw-plus.lw-close svg {
    transform: rotate(45deg);
}
.lw-plus.lw-close{
    background-color: var(--white);
}
.lw-plus.lw-close line{
    stroke: var(--black);
}
/*------------------------------------- Home CSS END (Desktop Screen) ------------------------------------------*/
/*------------------------------------- Home CSS (Tablet Screen) ------------------------------------------*/
@media screen and (min-width:768px) and (max-width: 1279px) {
	.counter_box .w-counter-value {
        font-size: 75px !important;
        letter-spacing: -5.16px;
        line-height: 1.4;
    }
	.counter_quote_mask .testi_content {
		padding: 0px 7px 33px 0px;
	}
	.counter_quote_mask {
		padding: 33px 12px 33px 12px;
	}
    .home-second-sec h3 {
        padding-bottom: 13px;
    }
	h5.us_testimonial_company {
		flex: 1;
	}
	.counter_third_block .grey_bg_box {
		padding: 0 11px 0 13px;
	}
	.carousel_block .dotstyle_dash .owl-dot span, .client-testi-row .dotstyle_dash .owl-dot span {
		width: 16px;
		height: 4px;
		margin: 5px 3px 0px 3px;
	}
    p.w-counter-title {
        padding-top: 10px;
    }
    .carousel_block {
        padding-top: 31px;
    }
    section.l-section.home-second-sec {
        padding-top: 27px !important;
        padding-bottom: 24px !important;
    }
    .arrow_icon {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 24px;
    }
    a.service_btn,
    .rounded_btns {
        font-size: 12px!important;
    }
    .arrow_button .w-btn-label:after {
        width: 12px;
        height: 12px;
        right: -20px;
        top: 7px;
    }
    .latest_post article {
        width: 179px;
        height: 192px;
    }
    section.first_Sec {
        height: 900px;
    }
    .first_sec_bottom  h3.vc_custom_heading {
        max-width: 400px !important;
    }
    .leadership-col h4.box_title {
        font-size: clamp(16px,2.083vw,20px)!important;
        line-height:normal;
    }
    .description p, .label_info, .function_info{
        font-size: clamp(12px, 1.563vw, 14px)!important;
        line-height:normal;
    }
    .leadership-col .box_description h4,
    .leadership-col .w-hwrapper h4{
        font-size: clamp(12px, 1.563vw, 14px)!important;
        line-height:normal;        
    }
    .home-service-sec h3 {
        max-width: 300px;
        font-size: clamp(12px, 1.563vw, 18px)!important;
        line-height: normal;
        padding-bottom: 25px;
    }
    section.l-section.home-service-sec {
        padding-top: 19px;
        padding-bottom: 32px;
    }
    .home-service-sec h2 {
        margin-bottom: 11px;
    }
    .service_row {
        padding-top: 17px;
    }
    .service_row h4.vc_custom_heading {
        margin-bottom: 19px;
    }
    .service_row p {
        padding-top: 6px;
    }
    .service_row a.service_btn {
        margin-top: 8px;
    }
    .lw-acf-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .flashcard-face {
        padding: 19px 19px 10px 19px;    
    }    
    .flashcard-inner {
        aspect-ratio: 1;
    }
    .lw-grid-card.flashcard {
        min-height: unset;
    }
    .flashcard-face div.desc {
        padding-bottom: 20px;
    }
    .flashcard-face h4 {
        margin: 0 0 18px;
    }
    .flashcard-face div.desc {
        padding-top: 7px;
    }
    section.l-section.home-last-sec {
        padding-top: 23px;
    }
    .lw-plus {
        width: 20px;
        height: 20px;
    }
    .lw-plus svg {
        width: 10px;
    }
    .leadership-col {
        padding: 17px 13px 27px 13px !important;
    } 
    .leadership-col .box_description h4 {
        padding-top: 7px;
        margin-bottom: 20px;
        width: 80%;
    } 
    .rounded_btns {
        width: 80px;
        height: 20px;
    }
    .leadership-col h4.box_title {
        padding-top: 23px;
        margin-bottom: 8px;
    }

}
/*------------------------------------- Home CSS (Mobile Screen) ------------------------------------------*/

@media screen and (max-width: 767.5px) {
    section.l-section.first_Sec {
        padding-top: 100px;
    }
    a.w-btn.arrow_button {
        font-size: clamp(12px, 3.75vw, 18px);
        line-height: normal;
    }
    .arrow_button .w-btn-label:after {
        content: '';
        width: 10px;
        height: 10px;
        right: -20px;
        top: 7px;
    }
    .latest_post .w-grid-list {
        float: none;
    }
    .latest_post article {
        width: 100%;
        height: 150px;
    }
    section.first_sec_bottom {
        margin-top: -370px;
    }
    section.first_Sec {
        height: 1050px;
    }
    .lets_connect.w-btn {
        font-size: 12px;
        margin: 20px auto 0 !important;
        width: 131px;
        height: 27px;
    }
    .latest_news{
        position: relative;
        padding-bottom: 30px;
    }
    .counter-row-home{
        position: relative;
        padding-bottom:0px;
    }
    .counter-row-home .owl-stage,
    .latest_news .owl-stage {
        display: flex;
    }
    .counter-row-home .owl-dot,
    .latest_news .owl-dot {
        display: inline-block;
    }
    .counter-row-home .owl-dot span,
    .latest_news .owl-dot span {
        display: block;
        background: currentColor;
        width: 20px;
        height:5px;
        margin: 9px 2px;
        opacity: .33;
    }
    .counter-row-home p.w-counter-title {
        padding-bottom: 54px;
        min-height: 140px;
    }
    .counter-row-home > .owl-dots {
        top: 26%;
        height: 10px;
    }
    .carousel_block .dotstyle_dash .owl-dot span, .client-testi-row .dotstyle_dash .owl-dot span{
        width: 20px;
        height:5px;
        margin: 0px 2px;    
    }
    .counter-row-home  .owl-dot.active span,
    .latest_news .owl-dot.active span {
        background: #12143c;
        opacity: 1;
    }
    .counter-row-home .owl-nav {
        display: none;
    }
    .counter-row-home .owl-stage-outer,
    .latest_news .owl-stage-outer {
        overflow: hidden;
    }
    .counter_box .w-counter-value {
        font-size: 95px !important;
        letter-spacing: -7.68px;
    }
    p.w-counter-title {
        padding-top: 18px;
    }
    section.l-section.home-second-sec {
        margin-top: 27px;
        padding-bottom: 47px;
    }
    section.l-section.ptb-44-60 {
        padding-top: 26px;
    }
    .carousel_block {
        padding-top:18px;
    }
    .bottom_sec p, .font_18,
    .bottom_sec .post_taxonomy{
        font-size:clamp(12px,3.75vw, 18px);
        line-height: normal;
    }
    .font_30{
        font-size: clamp(20px,6.25vw, 30px);
        line-height: normal;
    }
    .counter_third_block .font_18.description{
        font-size: clamp(12px,3.75vw, 18px) !important;
        line-height: normal;
        padding-top: 11px !important;
    }
    .counter_third_block .font_30 br {
        display: none;
    }
    .counter_third_block .font_30{
        margin-top: 24px;
    }
    .counter_third_block .us_post_carousel .owl-item {
        padding-bottom: 20px;
    }
    .counter_third_block {
        height: var(--carousel-awards-height);
    }
    .counter_quote_mask .testi_content {
        padding:0px 7px 80px 0px
    }
    .home-service-sec h3 {
        font-size: clamp(12px,3.75vw, 16px);
        line-height: normal;
        padding-bottom: 20px;
    }
    .home-service-sec h2 {
        margin-bottom: 12px;
    }
    section.l-section.home-service-sec {
        padding-top: 22px;
        padding-bottom: 18px;
    }
    .service_row_home .vc_custom_heading + .wpb_text_column,
    .service_row_home .vc_custom_heading + .wpb_text_column + .w-btn-wrapper, .service_row_home .custom_heading + .wpb_text_column, .service_row_home .custom_heading + .wpb_text_column + .w-btn-wrapper {
        display: none;
    }
    .service_row_home h4.vc_custom_heading {
        background: url(/wp-content/themes/Impreza-child/assets/images/down_toggle_arrow.svg);
        background-repeat: no-repeat;
        background-position: right;
        color: rgba(0, 0, 0, 0.50) !important;
        line-height: normal;
        margin-bottom: 9px;
        font-size: clamp(16px, 5vw, 20px);
    }
    .service_row_home .active h4.vc_custom_heading {
        background: url(/wp-content/themes/Impreza-child/assets/images/toggle_arrow.svg);
        background-repeat: no-repeat;
        background-position: right;
        color:#000!important;
    }
    .service_row_home .wpb_column.vc_column_container.active {
        border-bottom: 0px;
        padding-bottom: 0;
    }
    .service_row_home .wpb_column.vc_column_container {
        border-bottom: 1px solid #000;
    }
    .service_row_home .wpb_column.vc_column_container:last-child {
        border-bottom: 0px;
    }
    .service_row_home {
        padding-top: 20px;
    }
    a.service_btn {
        margin-top: 3px;
    }
    .lw-plus {
        width: 26px;
        height: 26px;
    }
    .lw-plus svg{
        width:13px;
    }
    .flashcard-face div.desc {
        color: #000;
        padding-top: 9px;
    }
    .flashcard-face h4 {
        margin: 0 0 24px;
        font-size: clamp(14px, 4.375vw, 20px);
        color: #000;
    }
    .flashcard-face {
        padding: 27px 27px 10px 27px;
    }
    .lw-grid-card.flashcard {
        padding: 0px 0;
    }
    .two-col-home h4.vc_custom_heading {
        font-size: clamp(14px, 4.375vw, 20px);
        line-height: 18px;
        width: 100%;
    }
    .leadership-col .w-hwrapper h4.vc_custom_heading + div {
        display: none;
    }
    .leadership-col h4.box_title {
        font-size: clamp(18px, 5.625vw, 20px);
        line-height: normal;
    }
    .leadership-col .box_description h4{
        font-size: clamp(12px, 3.75vw, 20px);
        line-height: normal;
        width: 100%;
        margin-bottom: 10px;
    }
    .leadership-col .box_description h4 br{
        display: none;
    }
    .leadership-col h4.box_title {
        padding-top: 9px;
        margin-bottom: 16px;
    }
    .leadership-col .rounded_btns {
        width: 112px;
        height: 27px;
        font-size: 12px !important;
        float:right;
    }
    .leadership-col .w-btn-wrapper{
        width:100%;
    }
    .leadership-col a.arrow_circle_btn {
        display: none;
    }
    .leadership-col {
        padding: 13px !important;
    }
    .lw-grid-card.is-flipped .flashcard-face h4,
    .lw-grid-card.is-flipped .flashcard-face div.desc{
        color: #fff;
    }
    .lw-grid-card.flashcard {
        min-height: 280px;
    }
    .lw-acf-grid {
        gap: 19px;
    }
    section.l-section.home-last-sec {
        padding-top: 22px;
        padding-bottom: 0px;
    }
    h3.lw-goals-title {
        padding-bottom: 22px;
    }
    .grid_mb_mini.latest_post article {
        width: fit-content;
        height: auto;
    }
   
    .grid_mb_mini.latest_post .post_data {
        padding: 0;
        margin: 0;
        max-width: 300px !important;
    }
   .grid_mb_mini  .post_list {
        flex-direction: row-reverse;
        gap: 18px;
    }
    .grid_mb_mini .arrow_icon img {
        width: 12px;
        object-fit: contain;
    }
    .grid_mb_mini  .arrow_icon {
        position: relative;
        right: unset;
        top: unset;
        border-radius: 60px;
        border: 0.25px solid #FFF;
        background: transparent;
        width: 34px;
        height: 34px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0 !important;
    }
   .grid_mb_mini.latest_post article,.grid_mb_mini.latest_post article.transactions  {
        border: 0px;
        background: transparent;
        border-radius: 0;
    }
}
@media screen and (max-width:500px) {
    .counter-row-home > .owl-dots {
        top: 29%;
    }
}