/* ********* Block Transform ************ */
.block_transform{
    background-image: url("../images/home_texture.png");
}
.block_transform_cw{
    padding: 122px 0;
}
.block_transform_m{
    width: 1px;
    background-color: #32468C;
    margin-left: 70px;
    margin-right: 70px;
    height: 195px;
}
.block_transform_cw h3,
.block_transform_cw article,
.block_transform_cw article p
{
    color: var(--blue);
    font-family: var(--helvetica);
}
.block_transform_cw h3{
    margin-bottom: 24px;
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 35px;
}
.block_transform_cw article,
.block_transform_cw article p{
    font-weight: 400;
    color: var(--blue);
}
.block_more_link{
    margin-top: 28px;
}
.block_more_link a{
    display: inline-flex;
    background-color: var(--blue);
    border-radius: 9px;
    height: 30px;
    color: #fff;
    align-items: center;
    padding: 0 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
}
.servizi_item_link a span:after,
.block_more_link a span:after,
.servizi_item_link div span:after
{
    content: '';
    width: 6px;
    height: 10px;
    background-image: url(../images/icons/arrow_right.svg);
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 4px;
}


.transform_img_t{
    min-width: 330px;
    max-width: 330px;
}
.block_transform_2 {
	display: flex;
	gap: 24px;
	margin-top: 54px;
	justify-content: center;
} 
.block_transform_2 img {
	height: auto;
	object-fit: contain;
	min-width: 100%;
	    width: 100%;
}
.block_transform_l{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.block_transform_2 a{
    display: inline-flex;
    height: 30px;
}
/*.block_transform_2 a:nth-child(1){*/
/*    width: 107px;*/
/*}*/
/*.block_transform_2 a:nth-child(2){*/
/*    width: 162px;*/
/*}*/
/*.block_transform_2 a:nth-child(3){*/
/*    width: 187px;*/
/*}*/

@media screen and (max-width: 1025px) {
    body.home ._hero_slider_home{
        margin-top: 59.6px;
    }
}

@media screen and (max-width: 992px) {
    .block_transform_w{
        flex-direction: column;
    }
        .block_transform_m{
        display: none;
    }
}
    
@media screen and (max-width: 768px) {

    .block_transform_cw {
        padding: 52px 0;
    }
    .block_transform_r{
        margin-top: 36px;
    }
    .block_transform_cw h3 {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 25px;
    }
    
    .block_transform_2 {
	gap: 16px;
    flex-wrap: wrap;
	align-items: center;
	margin-top: 40px;
}
.block_transform_2 img {
	height: auto;
	width: auto;
	text-align: center;
}

}

@media screen and (max-width: 640px) {
    .block_transform_2 {
        margin-top: 32px;
        row-gap: 10px;
        flex-direction: column;
        column-gap: 14px;
    }
        .block_transform_r{
        margin-top: 32px;
    }
}
@media screen and (max-width: 520px) {
        .transform_img_t{
        max-width: 285px;
        min-width: 115px;
    }
}

@media screen and (max-width: 768px) {
   .block_transform_2 a,
   .block_transform_2 a:nth-child(1),
   .block_transform_2 a:nth-child(2),
   .block_transform_2 a:nth-child(3)
   {
    width: auto;
}
}



/* ****** Block::Servizi Grid ********** */
.sec_servizi_grid{
    padding-top: 108px;
}
.block_heading h4{
    font-family: var(--helvetica);
    font-size: 30px;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 16px;
    background: none;
    padding: 0;
}
.block_desc,
.block_desc p,
.servizi_grid_description article, .servizi_grid_description article p{
    font-size: 15px;
    font-weight: 400;
    font-family: var(--helvetica);
    color: #64686F;
}
.servizi_item_content h4{
    background: none;
    padding: 0;
}
@media screen and (min-width: 768px) {
    .servizi_grid_description{
        width: 65%;
    }
}
@media screen and (min-width: 991px) {
    .location_map_img img{
        padding-left: 40px;
    }
}
@media screen and (max-width: 991px) {
    .location_map_img{
        padding-top: 32px;
    }
    .sec_location {
        padding: 110px 0 115px 0;
    }
}
@media screen and (min-width: 1300px) {
    .servizi_grid_description{
        width: 48%;
    }
    .location_map_img img{
        padding-left: 60px;
    }
}
.servizi_grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 40px;
    column-gap: 44px;
    margin-top: 70px;
}
.servizi_item{
    height: 300px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
     position: relative;
    overflow: hidden;
}
.servizi_item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  z-index: 0;
  transform: scale(1);
}

.servizi_item:hover::before {
  transform: scale(1.15); /* Zoom level */
}

.servizi_item_content{
    padding: 10px 18px 16px 24px;
      position: relative;
  z-index: 1; /* Ensure content stays above the zoomed bg */
}
.servizi_item_content h4{
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.servizi_item_content h4,
.servizi_item_link a,
.servizi_item_link div
{
    font-family: var(--helvetica);
    color: #fff;
}
.servizi_item_link a,
.servizi_item_link div
{
    font-weight: 300;
    text-transform: initial;
}



@media screen and (max-width: 1280px) {
    .servizi_grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media screen and (max-width: 768px) {
    .servizi_grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
        column-gap: 24px;
    }
}
@media screen and (max-width: 576px) {
    .insights_tp_shape,
    .insights_b_shape{
        display: none;
    }
    .sec_servizi_grid {
        padding-top: 36px;
    }
    .servizi_grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 20px;
        column-gap: 20px;
        margin-top: 24px;
    }
}

/* ********* Block::Location ********** */
.sec_location{
    padding: 138px 0 150px 0;
}
ul.block_location_list{
    margin: 0;
    padding: 4px 0 0;
    list-style: none;
}
ul.block_location_list li{
    margin-bottom: 6px;
}
ul.block_location_list li a{
    color: var(--blue);
    font-size: 14px;
    text-transform: uppercase;
}
@media screen and (max-width: 768px) {
    .sec_location {
        padding: 56px 0 68px 0;
    }
    .location_map_img {
        text-align: right;
    }
}
@media screen and (max-width: 768px) {
    .location_map_img {
        margin-top: 30px;
    }
}
@media screen and (max-width: 576px) {
    .sec_location {
        padding: 46px 0 52px 0;
    }
}

/* ********* Block::School ********** */
.sec_factory_school{
    background-image: url('../images/school-bg.jpg');
    padding-top: 100px;
    padding-bottom: 120px;
}
.factory_carousel{
    padding-left: 24px;
    padding-right: 24px;
}
.factory_school_inn{
    padding-left: 125px;
    padding-right: 125px;
}
.factory_school_content{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    align-items: center;
}
.school_content_desc, .school_content_desc p{
    color: #fff;
}
.desc_18, .desc_18 p{
    font-size: 18px;
}
.desc_15, .desc_15 p{
    font-size: 15px;
}
.school_content_desc p{
    margin: 0;
}
.factory_carousel_w{
    margin-top: 70px;
}
.fs_item{
    display: block;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
}
.fs_item{
    height: 288px;
    overflow: hidden;
}
.fs_item,
.fs_item:hover{
    text-decoration: none;
}
.fs_item_img{
    height: 174px;
       overflow: hidden;
}
.fs_item_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.fs_item:hover .fs_item_img img {
  transform: scale(1.10);
}
.fs_item_content{
    padding: 20px 24px 14px 24px;
}
.fs_item_content h3{
    font-family: var(--helvetica);
    font-size: 20px;
    font-weight: 700;
}
.fs_item_content p{
    color: var(--blue);
    font-size: 9px;
    margin: 0;
}
.factory_carousel_w{
    height: 100%;
    width: 100%;
    position: relative;
}
.inside_slide_button,
.fs_slide_button{
    width: 56px;
    height: 56px;
    background-color: rgba(227, 233, 237, .2);
    border-radius: 100%;
}
.fs_slide_button.swiper-button-next {
    margin-top: 0px;
    position: absolute;
    top: 50%;
    right: -56px;
    transform: translateY(-50%);
}
.fs_slide_button.swiper-button-prev {
    position: absolute;
    top: 50%;
    left: -56px;
    transform: translateY(-50%);
    margin-top: 0px;
}

.inside_slide_button.swiper-button-prev:after, .inside_slide_button.swiper-button-next:after,
.fs_slide_button.swiper-button-prev:after, .fs_slide_button.swiper-button-next:after{
    font-size: 16px;
    color: #fff;
}
.swiper-button-disabled{
    pointer-events: none;
}

@media screen and (max-width: 1300px) {
    .factory_carousel {
        padding-left: 24px;
        padding-right: 24px;
    }
    .factory_school_inn {
        padding-left: 72px;
        padding-right: 72px;
    }
}
@media screen and (max-width: 991px) {
    .factory_carousel {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 768px) {
    .factory_school_inn{
        padding: 64px 32px 68px 32px;
    }
    .factory_carousel_w {
        margin-top: 48px;
    }
    .factory_carousel {
        padding-left: 14px;
        padding-right: 14px;
    }
    .inside_slide_button,
    .fs_slide_button{
        width: 36px;
        height: 36px;
    }
    .fs_slide_button.swiper-button-next{
        right: -36px;
    }
    .fs_slide_button.swiper-button-prev{
        left: -36px;
    }
}
@media screen and (max-width: 576px) {
    .sec_factory_school {
        padding-top: 50px;
        padding-bottom: 60px;
    }
    .factory_carousel_w {
        margin-top: 36px;
    }
    .factory_school_inn{
        padding-left: 30px;
        padding-right: 30px;
    }
    .factory_carousel {
        padding-left: 14px;
        padding-right: 14px;
    }
}
@media screen and (max-width: 320px) {
    .factory_carousel {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ********* Block::sec_insights ******* */
.sec_insights{
    background-image: url('../images/insights_bg.png');
    padding-top: 130px;
    padding-bottom: 150px;
}
.sec_insights .block_heading h4{
    color: #fff;
}
.insights_slider_w{
    margin-top: 60px;
}
.servizi_item_content h4 a{
    text-decoration: none;
    color: #fff;
    line-height: normal;
    font-family: var(--helvetica);
    font-size: 21px;
    font-weight: 500;
}
.insight_items{
    height: 484px;
    border-radius: 19px;
    overflow: hidden;
}
.insight_cat_list{
    margin: 14px 0 0 0;
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.insight_cat_list li{
    display: flex;
    align-items: center;
    gap: 4px;
}
.insight_cat_list li span{
    width: 6px;
    height: 6px;
    border-radius: 100%;
    display: block;
}
.insight_cat_list li a{
    font-size: 9px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.slide_half_view{
    /*margin-left: -15%;*/
    width: 100%;
    align-items: center;
}
.insights_tp_shape{
    position: absolute;
    top: 0;
    left: 0;
    height: 61px;
    width: 100%;
    background-image: url("../images/insights_tp_shape.png");
    background-repeat: no-repeat;
}
.insights_b_shape{
    position: absolute;
    bottom: 0;
    right: 0;
    height: 60px;
    width: 536px;
    background-image: url("../images/insights_b_shape.png");
    background-repeat: no-repeat;
}
.insights_slider .swiper-slide {
    transition: all .3s ease-in-out;
}

/*.insights_slider .swiper-slide:nth-child(even) {*/
/*    margin-top: 27px;*/
/*}*/

.insights_slider .swiper-slide {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(.86);
  padding: 0;
}
.insights_slider .swiper-slide.swiper-slide-active {
  transform: scale(1);
  padding: 0 26px;
}

@media screen and (max-width: 1024px) {
    .block_heading h4{
        font-size: 24px;
    }
    .slide_half_view{
        margin-left: 0;
    }
    .insights_slider_w{
        margin-top: 40px;
    }
    .sec_insights{
        padding-top: 110px;
        padding-bottom: 118px;
    }
    .servizi_item_content h4 a{
        font-size: 20px;
    }
    .insight_items {
        height: 380px;
    }
    .servizi_item_content h4 a{
        font-size: 18px;
    }
    .insight_cat_list{
        margin: 12px 0 0 0;
        gap: 12px;
    }
    .insights_slider .swiper-slide.swiper-slide-active {
      padding: 0 16px;
    }
}
@media (max-width: 768px) {
    .insights_slider .swiper-slide:nth-child(even) {
        margin-top: 20px;
    }
    .insights_slider .swiper-slide.swiper-slide-active {
      padding: 0 10px;
    }
}
@media screen and (max-width: 640px) {
    .block_heading h4{
        font-size: 18px;
    }
    .insights_slider_w{
        margin-top: 24px;
    }
    .sec_insights{
        padding-top: 64px;
        padding-bottom: 68px;
    }
    .insight_items {
        height: 344px;
    }
    .servizi_item_content h4 a{
        font-size: 16px;
    }
    .insight_cat_list{
        margin: 10px 0 0 0;
        gap: 10px;
    }
    .servizi_item_content h4{
        font-size: 18px;
    }
    .insights_slider .swiper-slide:nth-child(even) {
        margin-top: 0;
    }
    .insights_slider .swiper-slide {
        transform: scale(.9);
    }
    .insights_slider .swiper-slide.swiper-slide-active {
      padding: 0 4px;
    }
}



