/* header css start */

/* ELIMINA TUTTI I "powered by" di CookieYes, qualunque versione */
[class*="powered"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* CookieYes spesso usa queste */
.cky-powered-by,
.cky-title-powered-by,
.cky-footer-powered-by,
.cky-consent-container .cky-footer,
.cky-consent-container .cky-footer-text,
.cky-consent-container [class*="footer"],
.cky-consent-container [class*="powered"],
.cky-consent-container a[href*="cookieyes"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.cky-consent-container div[style*="display:flex"] {
    display: none !important;
}
/* Nasconde il footer "Powered by CookieYes" */


.top_detail ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top_detail ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid #6666664f;
    justify-content: center;
    width: 100%;
}

.top_detail ul li:first-child{
    justify-content: start;
}

.top_detail ul li:last-child{
    border: 0;
}

.top_detail ul li .icon_top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #fff;
}

.top_detail ul li .to-numver p {
    margin-bottom: 3px;
    font-family: Inter;
    font-size: 13px;
    color: var(--color-paira);
}

.top_detail ul li .to-numver h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.top_header {
    padding: 5px 0px 5px 0px;
    background: #fff;
}

.main_header ul {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 40px; /* puoi mettere 20, 24, 40, quello che vuoi */
}


header {
    background: #131313;
    padding: 10px 0px;
    position: sticky;
    top: -1px;
    z-index: 1000;
}

.logo img {
    width: 200px;
    object-fit: cover;
}

.main_header ul li:last-child {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header_menu {
    position: relative;
}

.header_menu ul {
    display: block;
    position: absolute;
    background: #fff;
    top: 54px;
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: 0 0 0;
    overflow: hidden;
    transition: 0.5s;
}

header .header_menu:hover ul {
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
}

.header_menu ul  li a {
    color: #000 !important;
    white-space: nowrap;
    font-size: 14px !important;
    padding: 0px !important;
}


.header_menu ul li {
    padding: 8px 14px;
    border-bottom: 1px solid #80808042;
}

.header_menu ul li:last-child {
    border: 0;
}

.main_header ul li:last-child p {
    margin-bottom: 0px;
    font-size: 13px;
    color: #ffffffb8;
    position: relative;
    width: fit-content;
}

.main_header ul li:last-child p:before{
    height: 10px;
    width: 10px;
    background: #2f8f00;
    border-radius: 50%;
    display: flex;
    bottom: 4px;
    position: absolute;
    right: -13px;
    top: 0;
    content: '';
}

.main_header ul li:last-child p:after {
    position: absolute;
    right: -18px;
    content: '';
    background: #2f8f00;
    z-index: 100000;
    -webkit-border-radius: 30px;
    height: 20px;
    width: 20px;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    top: -5px;
}

.main_header ul li:last-child a {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.main_header ul li a {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: 0.5s;
    padding: 30px 0px;
}

.social_media {
    display: flex;
    justify-content: end;
}

.social_media li a {
    display: flex;
    margin: 0px 6px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #0e0e0e;
    font-size: 18px;
    width: 35px;
    height: 35px;
    background: #00000021;
    transition: 0.5s;
}

.social_media li a:hover{
    background-color: var(--color-primary);
    color: #fff;
}
/* header css end */



/* hero section start   height: 91vh;  */
.hero_section{
    background: url(../images/hero-banner.webp);
    width: 100%;
    /* height: 100vh; */
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero_content h1 {
    font-size: 55px;
    color: #fff;
    font-weight: 700;
}

.hero_content h1 span {
    color: var(--color-primary);
}

.hero_content  p {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    line-height: 30px;
    margin-top: 20px;
}



.hero_content h5:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    content: '';
    border-radius: 50%;
    bottom: 0;
    margin: auto;
}

.hero_content h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-left: 55px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.hero_content h5 span {
    width: 43px;
    height: 2px;
    background: var(--color-primary);
    display: flex;
    position: absolute;
    left: 0;
}

.hero_content h5:after {
    position: absolute;
    left: -5px;
    content: '';
    background: var(--color-primary);
    z-index: 1;
    -webkit-border-radius: 30px;
    height: 20px;
    width: 20px;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes pulsate {
    0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
    50% {opacity: 1.0;}
    100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;}
  }

.hero_img img {
    width: 100%;
}

.hero_img_mobile{
    display: none;
    margin-top: 30px;
}

.hero_img_mobile img{
    width: 100%;
}

.hero_img {
    position: relative;
}
.hero-img-3{
    position: absolute;
    left: 0;
    animation: spin 4s infinite alternate ease-in-out;
}

@keyframes spin {
    0% {
       transform:translate(0px, -30px);
    }

    100% {
        transform: translate(0px, 30px);
    }
  }

  .top_services_pa {
    margin-top: 30px;
}

.service_tob_box_pa {
    width: 100%;
    height: 260px;              /* cambia se vuoi più alto */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 22px;        /* angoli arrotondati */
}
  .top_services {
    margin-top: -70px;
}
  .service_tob_box {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    box-shadow: 0px 15px 60px -10px rgb(109 117 143 / 33%);
    margin-bottom: 30px;
    background-color: #fff;
}

.service_box-grigio {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    box-shadow: 0px 15px 60px -10px rgb(109 117 143 / 33%);
    margin-bottom: 30px;
    background-color: transparent;
    color: #000; /* testo nero */
}

/* Overlay bianco trasparente */
.service_box-grigio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* bianco semi-trasparente */
    z-index: -1;
}

/* LINK NERI DENTRO IL BOX */
.service_box-grigio a {
    color: #000 !important;        /* link nero */
    text-decoration: none !important;  /* niente sottolineatura */
}

/* LINK NERI ANCHE IN HOVER */
.service_box-grigio a:hover {
    color: #000 !important; 
    text-decoration: underline;   /* se vuoi sottolinearlo in hover, altrimenti tolgo */
}


.service_tob_box h1 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    flex-flow: column;
    display: flex;
}

.service_tob_box h1 span {
    margin-bottom: 5px;
    font-size: 35px;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-primary);
}

.service_tob_box  img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.service_tob_box p {
    font-size: 14px;
    margin: 0;
}

.service_tob_box::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    height: 100%;
    width: 100%;
    z-index: -1;
    background-color: #fff;
    transition: all 0.35s ease-in-out;
}

.service_tob_box:hover::after, .service_tob_box.active::after {
    background: var(--color-primary);
    opacity: 0.8;
}

 .service_tob_box:hover h1 span, .service_tob_box.active h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}
.service_tob_box:hover h1, .service_tob_box.active h1 {
    color: #fff;
}

.service_tob_box:hover img, .service_tob_box.active img {
    filter: brightness(0) invert(1);
}

.service_tob_box:hover p, .service_tob_box.active p {
    color: #fff;
    opacity: 0.9;
}
/* hero section end */



/* about us css start */
.company_left_wrapper {
    display: flex;
    gap: 20px;
    position: relative;
}

.company_separate_left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company_left_middle {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 150px;
    width: 150px;
    background-image: url(../images/about-company-shape.png),url(../images/about-company-circle.png);
    background-position: bottom center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.company_left_middle h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.company_left_middle p {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
}

.company_separate_right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about_content h3 {
    margin: 15px 0px;
}

.mission_box {
    display: flex;
    gap: 10px;
}

.mission_img img {
    width: 60px;
}

.mission_box h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about_content .mission_box p {
    font-size: 13px;
    line-height: 18px;
    margin: 0;
    color: var(--color-paira);
}


/* about us css end */

/* help section start */
.main_heading_box .main_subheading .span_2{
    right: 0;
    left: auto;
}

.main_heading_box .main_subheading {
    padding-right: 55px;
}

.main_heading_box .main_subheading .span_2:before {
    position: absolute;
    content: '';
    background: var(--color-primary);
    z-index: 1;
    -webkit-border-radius: 30px;
    height: 20px;
    width: 20px;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    right: -5px;
    top: -9px;
}

.main_heading_box .main_subheading .span_2:after {
    position: absolute;
    right: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    content: '';
    border-radius: 50%;
    bottom: 0;
    margin: auto;
}

.mil-divider {
    width: 100%;
    height: 2px;
    background-color: rgba(18,24,32,.1);
    position: relative;
}

.mil-divider:after, .mil-divider:before {
    content: "";
    width: 25px;
    border-right: 5px solid #fff;
    height: 100%;
    background-color: var(--color-primary);
    position: absolute;
    top: 0;
    left: 0;
}

.mil-service-item {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
}

.mil-service-item .mil-service-icon {
    width: 20%;
    /* padding-left: 30px; */
}

.mil-icon-frame.mil-icon-frame-md {
    width: 45px;
    height: 45px;
}
.mil-icon-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mil-icon-frame.mil-icon-frame-md:before {
    width: 20px;
    height: 20px;
}
.mil-icon-frame:before {
    content: "";
    background-color: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    bottom: -2px;
    z-index: -1;
    right: -3px;
}

.mil-service-item .mil-service-text {
    width: 80%;
}

.mil-service-item .mil-service-text h5 {
    margin-top: 10px;
    font-weight: 600;
}
.mil-mb-30 {
    margin-bottom: 20px !important;
}

.mil-service-item .mil-service-text h5 span {
    margin-right: 15px;
}
.mil-accent {
    color: var(--color-primary);
}

.main_heading_box h3 {
    font-size: 30px;
    font-weight: 800;
    margin-top: 15px;
}

.main_heading_box h3 span {
    color: var(--color-primary);
}
/* help section end */


/* services section start */

.mil-deep-bg {
    background-color: rgba(18,24,32,.05);
    z-index: 1;
    position: relative;
}
.mil-deco {
    background-image: url(../images/icons/deco-.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
    width: 220px;
    height: 140px;
}

.mil-number-icon {
    position: relative;
    overflow: hidden;
    background-color: rgba(18,24,32,.05);
    height: 70px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mil-number-icon.mil-circle {
    border-radius: 50%;
}

.mil-number-icon span {
    display: block;
    font-size: 30px;
    color: #121820;
    z-index: 2;
}

.mil-number-icon span:before {
    content: "";
    border-radius: 50%;
    background-color: var(--color-primary);
    width: 18px;
    height: 18px;
    z-index: -1;
    position: absolute;
    bottom: 18px;
    right: 10px;
}

.mil-number-icon.mil-lines {
    background-color: transparent;
}

.mil-number-icon.mil-lines:after, .mil-number-icon.mil-lines:before {
    content: "";
    background-color: rgba(18,24,32,.05);
    width: 100px;
    height: 30px;
    position: absolute;
    z-index: -1;
    transform: rotate(45deg);
}

.mil-number-icon.mil-lines:before {
    top: 40px;
    right: -5px;
}

.mil-number-icon.mil-lines:after {
    top: 0;
    right: -25px;
}

.services_box h3 {
    font-size: 20px;
    font-weight: 700;
}
/* services section end */




  /* our_customer_section start */
  .our_customer_section{
    background: url(../images/project-bg.jpg);
    width: 100%;
    background-size: cover;
    overflow: hidden;
  }

  .our_projects {
    background: linear-gradient(0deg, #8ec3ff, #effbff);
    border-radius: 5px;
    padding: 100px 50px 40px 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.our_projects > img {
    width: 100%;
    max-width: 350px;
    height: 230px;
}

.our_projects .text_Product {
    font-size: 40px;
    position: absolute;
    right: 0;
    top: 30px;
    width: fit-content;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 1px #015fc9;
    text-transform: uppercase;
    left: 0;
    margin: auto;
    /* display: none; */
}

.our_customer_section .mySwiper {
    width: 120%;
}


.our_projects h3 {
    font-size: 25px;
    margin-top: 30px;
    font-weight: 800;
    /* color: transparent; */
    /* -webkit-text-stroke: 1px #ffffff40; */
    /* text-transform: uppercase; */
    /* font-family: 'Inter'; */
    color: #040404;
    margin-bottom: 0;
}

.our_projects p {
    font-size: 14px;
    color: #858585;
    margin-top: 20px;
    display: none;
}

.nex_prevBnt {
    width: 92%;
    display: flex;
    justify-content: end;
    position: absolute;
    top: 0;
    gap: 60px;
}

.nex_prevBnt .swiper-button-next, .nex_prevBnt .swiper-button-prev {
    position: unset;
    margin: 0;
    gap: 10px;
    font-size: 17px;
    color: #fff;
    font-weight: 300;
}

.nex_prevBnt .swiper-button-next:hover, .nex_prevBnt .swiper-button-prev:hover{
color: var(--color-primary);
}

.swiper-button-next:after, .swiper-button-prev:after{
    content: none !important;
}

.about_content ul li {
    margin: 5px 0px;
}
.choose_img img {
    max-width: 550px;
    margin-left: auto;
    display: block;
}
  /* our_customer_section end */


  /* our companies section start */
.our_companies_section{
    background: #f5f5f5;
    z-index: 100;
    position: relative;
 }
 
 .modal {
     z-index: 100000;
 }
 
 
 .seo_boxes{
     background: #ffffff 0% 0% no-repeat padding-box;
     border: 1px solid #0e353b1f;
     border-radius: 8px;
     transition: 0.6s all ease;
     padding: 2rem 1rem;
     position: relative;
     overflow: hidden;
     text-align: center;
 }
 
 .seo_boxes:hover{
     background: var(--color-primary) 0% 0% no-repeat padding-box;
     box-shadow: 8px 8px 24px #090e1457;
     border: 1px solid #0e353b1f;
     transform: translateY(-5px);
     transform: scale(1.03);
     color: #fff !important;
 }
 
 .seo_boxes:hover h4{
     color: #fff !important;
 }
 
 .seo_boxes:before {
     content: "";
     position: absolute;
     bottom: -100%;
     left: 0%;
     background: var(--color-primary);
     width: 100%;
     height: 100%;
     border-radius: 100%;
     transition: all ease 0.4s;
     z-index: -1;
 }

 .seo_boxes:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 70%;
    width: 100%;
    background: url(../images/icons/service-bg.png);
    background-size: cover;
    transition: all ease 0.4s;
    z-index: -1;
}
 
 .seo_boxes:hover:before {
     bottom: 0%;
     left: 0%;
     border-radius: 0%;
 }
 
 .seo_boxes img{
     height: 75px;
     width: 75px !important;
     transition: 0.6s all ease;
     padding: 10px;
     border-radius: 10px;
 }
 
 .seo_boxes .img_1{
     background: #ff7e0330;
     border: 1px solid #ff7e0329;
 }
 
 .seo_boxes .img_2 {
     background: #6f48bf3b;
     border: 1px solid #6338b92b;
 }
 
 .seo_boxes .img_3 {
     background: #00daff2e;
     border: 1px solid #00daff2e;
 }

 .seo_boxes .img_6 {
    background: #c80a5030;
    border: 1px solid #c80a4f5c;
}
 
 .seo_boxes .img_4 {
     background: #05552f57;
     border: 1px solid #05552f57;
 }
 
 .seo_boxes .img_5 {
     background: #283e8945;
     border: 1px solid #283e8945;
 }
 
 .seo_boxes h4{
     font: normal normal 700 20px/18px Plus Jakarta Sans;
     transition: 0.6s all ease;
     margin-bottom: 20px;
 }
 
 .seo_type_content p{
     font-size: 14px;
     font-weight: 400;
     color: var(--text-color);
 }
 
 .seo_boxes p{
     font: normal normal normal 14px/26px inter;
     display: -webkit-box;
     -webkit-line-clamp: 5;
     -webkit-box-orient: vertical;
     overflow: hidden;
     color: var(--color-paira);
 }

 .seo_boxes:hover p{
    color: #fff;
 }
 
 .our_companies_section h1 span{
     color:var(--bg-color);
 }
 
 .seo_type_content h5::before{
     position: absolute;
     width: 130px;
     height: 2px;
     right: 0px;
     content: " ";
     background-color: var(--color-primary);
     top: 8px;
 }
 
 .seo_boxes:hover img{
     filter: invert(100%) sepia(55%) saturate(1%) hue-rotate(289deg) brightness(109%) contrast(101%) !important;
 }
 
 .seo_type_content h1::before{
     content: none !important;
 }
 .companies_logo img{
     width: 100%;
     max-width: 230px;
     height: 70px;
     box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
     object-fit: cover;
     border-radius: 0px 15px;
     padding: 10px;
 }
 
 .companies_logo .swiper-slide{
     margin: 4px 0;
 }

 
 /* our companies section end */



 /* faq section start */

 .faq_box .accordion-header .accordion-button {
    display: flex;
    gap: 15px;
    font-size: 19px;
    font-weight: 700;
}

.faq_box .accordion-header .accordion-button img {
    width: 60px;
    height: 60px;
    background: #72a1d64d;
    border-radius: 50%;
    padding: 7px;
    object-fit: contain;
}

.faq_box .accordion-item {
    margin: 15px 0px;
}

.faq_box .accordion-header .accordion-button:not(.collapsed){
    color: #fff;
    background-color: var(--color-primary);
}

.faq_box .accordion-header .accordion-button:not(.collapsed) img {
    background: #fff;
}

.faq_box .accordion-item .accordion-body {
    font-size: 15px;
    color: var(--color-paira);
    line-height: 29px;
}
 /* faq section end */


 /* teams section start */
 .previewShapeRevX {
    animation: previewShapeRevX 3s linear infinite;
}

@keyframes previewShapeRevX {
    0% {
      transform: translateX(25px);
    }
    50% {
      transform: translateX(0px);
    }
    100% {
      transform: translateX(25px);
    }
  }

  .push_animat {
    animation: push_animat 5s linear infinite;
}

@keyframes push_animat {
    0% {
      transform: scale(0.9);
      opacity: 0.7;
    }
    50% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0.9);
      opacity: 0.7;
    }
  }

  .teams_img {
    border: 2px solid #8080805c;
    border-radius: 10px;
    padding: 5px;
    position: relative;
}

.teams_img img {
    width: 100%;
    border-radius: 10px;
}

.teams_content {
    position: absolute;
    bottom: 7px;
    background: #ffffff80;
    width: 96%;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0px 0px 10px 10px;
    padding: 13px 10px;
    text-align: center;
}

.teams_content h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 2px;
}

.teams_content p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.teams_content:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    content: '';
    background: linear-gradient(to right, #dddddd, #005ec9, #ffffff);
}

.teams_content p i {
    color: #015fc9;
    padding-right: 5px;
}

.teams .nex_prevBnt, .Testimonials .nex_prevBnt{
    width: 98%;
}

.teams .nex_prevBnt .swiper-button-next, .teams .nex_prevBnt .swiper-button-prev,
.Testimonials .nex_prevBnt .swiper-button-next, .Testimonials .nex_prevBnt .swiper-button-prev{
    color: #000;
}
 /* teams section end */



 /* our client section start */
 .our_clients_section{
    background: url(../images/quote-bg.jpg);
    width: 100%;
    background-size: cover;
 }

 .brand-style-one-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    overflow: hidden;
}

.brand-one-item {
    position: relative;
    z-index: 1;
    padding: 30px;
}

.brand-one-item::before {
    position: absolute;
    left: 0;
    bottom: -1px;
    content: "";
    height: 1px;
    width: 100%;
    background: #cccccc;
}

.brand-one-item::after {
    position: absolute;
    right: -1px;
    top: 0;
    content: "";
    height: 100%;
    width: 1px;
    background: #cccccc;
}

.brand-one-item img{
    width: 100%;
}
 /* our client section end */

 /* testimonials_section start */
 

 .mil-review .mil-stars {
    display: flex;
    align-items: center;
}

.mil-review .mil-stars img {
    margin-right: 20px;
}

.mil-review .mil-stars img {
    margin-right: 20px;
}

.mil-review .mil-stars ul {
    display: flex;
}

.mil-review .mil-stars ul li {
    list-style-type: none;
    margin-right: 5px;
}

.mil-review .mil-stars ul li i {
    color: #f57c00;
}

.mil-review .mil-author {
    display: flex;
    align-items: center;
}

.mil-review .mil-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: .4s cubic-bezier(0,0,.3642,1);
}

.mil-review .mil-author .mil-name {
    padding-left: 20px;
}

.mil-review .mil-author .mil-name .mil-text-sm {
    opacity: .6;
    font-size: 13px;
}
 /* testimonials_section end */


 /* blog section start */
 .blog_section{
    background: url(../images/testimonial-bg.webp);
    width: 100%;
    /* background-size: contain; */
    background-repeat: repeat;
 }

 .news-seven__single {
    position: relative;
}

.news-seven__single__image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.news-seven__single__image img {
    width: 100%;
    height: auto;
}

.news-seven__single__image__link {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgb(33 31 56 / 70%);
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-20%);
    transition: opacity 500ms ease, transform 500ms ease;
}

.news-seven__single__image__link::after, .news-seven__single__image__link::before {
    content: "";
    width: 32px;
    height: 2px;
    background-color:#fff;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-seven__single__image__link::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.news-seven__single__content {
    position: relative;
    z-index: 1;
    margin-right: 0px;
    margin-top: -77px;
    background-color:#fff;
    box-shadow: 4px 0px 30px 0px rgba(0, 0, 0, 0.1);
    padding: 25px 30px 17px;
}

.news-seven__single__date {
    position: absolute;
    width: 71px;
    height: 82px;
    right: 0;
    top: -36px;
    background-color:#fff;
    border-radius: 36px 36px 0 36px;
    color: var(--insur-gray);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-direction: column;
    z-index: 3;
}

.news-seven__single__date__day {
    display: block;
    color: var(--text-color);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 5px;
}

.news-seven__single__comment {
    position: relative;
    display: flex;
    align-items: center;
    color:  var(--text-color);
    font-size: 19px;
    gap: 6px;
    margin: 0 0 7px;
}

.news-seven__single__comment a {
    color: var(--insur-gray);
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    transition: all 0.5s ease;
    top: 2px;
}

.news-seven__single__title {
    font-size: 24px;
    line-height: 35px;
    font-weight: 700;
    margin: 0;
}

.news-seven__single__title a {
    color: inherit;
    background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 95%/0px 1px no-repeat;
    transition: all 500ms ease;
}

.news-seven__single__rm {
    width: calc(100% - 0px);
    height: 54px;
    background-color:var(--color-primary);
    border-radius: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all ease 0.4s;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    color:#fff;
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 0 30px;
}

.news-seven__single__rm::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #106ad1;
    transform: scalex(0);
    transform-style: preserve-3d;
    transition: transform 0.4s ease-in-out;
    transform-origin: right center;
    z-index: -1;
}

.news-seven__single__rm:hover::before {
    transform: scalex(1);
    transform-origin: left center;
}

.news-seven__single__rm:hover{
    color: #fff !important;
}

.news-seven__single__rm::after {
    position: absolute;
    right: 73px;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 44%;
    height: 1px;
    background-color:#ffffff42;
    content: "";
}

.news-seven__single__rm span {
    font-size: 20px;
    position: relative;
    /* transform: rotate(30deg); */
    display: inline-block;
}
 /* blog section end */



 /* footer section start */
 footer{
    background-color: #121820;
    position: relative;
 }
 .mil-footer-bg {
    position: absolute;
    top: 0px;
    left: 0;
    object-fit: contain;
    object-position: top;
    width: 100%;
    height: 100%;
    opacity: .05;
    pointer-events: none;
}

.mil-deco.mil-deco-accent {
    background-image: url(../images/deco-2.8cba2eb2.svg);
    z-index: 1;
}

.footer_first {
    text-align: start;
}

.footer_first img {
    width: 100%;
    max-width: 241px;
}

.footer_first p {
    color: #b5b5b5;
    margin: 30px 0;
    font-size: 15px;
}

.footer_first ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: start;
}

.footer_first a {
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    position: relative;
    background: #ffffff1c;
    border-radius: 50%;
    transition: .4s all ease-in-out;
    z-index: 1;
}

.footer_first a:before {
    position: absolute;
    left: 0;
    width: 0%;
    height: 0%;
    background: var(--color-primary);
    content:'';
    border-radius: 50%;
    right: 0;
    margin: auto;
    z-index: -1;
    transition: .4s all ease-in-out;
}

.footer_first a:hover:before {
    width: 100%;
    height: 100%;
}

.footer_logo {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer_logo h4 {
    font-size: 25px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.footer_first .footer_logo  p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.title_style .main_subheading {
    font-size: 25px;
    margin-bottom: 25px;
    letter-spacing: 0.7px;
    width: fit-content;
    padding-left: 0;
    padding-right: 55px;
}

.title_style .main_subheading:before {
    right: 0;
    left: auto;
}

.title_style .main_subheading span {
    right: 0;
    left: auto;
}

.title_style .main_subheading:after {
    right: -5px;
    left: auto;
}

.footer_explore ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.footer_explore a {
    text-decoration: none;
    color: #b5b5b5;
    transition: .3s all ease-in;
    font-size: 14px;
}

.footer_contact_wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 23px;
}

.footer_contact_wrapper i {
    font-size: 25px;
    color: var(--color-primary);
}

.footer_contact_info a {
    color:#b5b5b5;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
}

.footer__input {
    position: relative;
    padding-bottom: 0px;
}

.footer__input input {
    width: 100%;
    background-color: #162b3b;
    border: 0;
    padding-left: 20px;
    padding-right: 70px;
    height: 55px;
    color: #fff;
}

.footer__input button {
    height: 55px;
    width: 55px;
    background-color:var(--color-primary);
    color: #fff;
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
}

.footer_news p {
    color: #b5b5b5;
    font-size: 15px;
}

.footer__input h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
}

.footer__input p {
    font-size: 14px;
    color: #b5b5b5;
}

.mil-footer-links {
    position: relative;
    padding: 18px 0;
    display: flex;
    justify-content: center;      /* CENTRA orizzontalmente */
    align-items: center;          /* CENTRA verticalmente */
    text-align: center;           /* Centra anche il testo */
}


.mil-footer-links ul {
    display: flex;
}

.mil-footer-links ul li {
    list-style-type: none;
    margin-right: 30px;
}

.mil-footer-links ul li a {
    transition: .2s cubic-bezier(0,0,.3642,1);
    color: #b5b5b5;
    font-size: 15px;
}

.mil-footer-links ul li a:hover{
    color: var(--color-primary);
}

.mil-divider.mil-light {
    background-color: hsla(0,0%,100%,.1);
}

.mil-divider.mil-light:after, .mil-divider.mil-light:before {
    border-color: #121820;
}

.mil-divider.mil-light:after, .mil-divider.mil-light:before {
    border-color: #121820;
}

.mil-divider:after {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 5px solid #fff;
}

.mil-footer-links ul li:last-child {
    margin-right: 0;
}

.footer_explore a i {
    padding-right: 6px;
    color: var(--color-primary);
    transition: .3s all ease-in;
}

.footer_explore a:hover {
    color: var(--color-primary);
}

.footer_explore a:hover i {
    color: #b5b5b5;
}

/* Style the active class, and buttons on mouse-over */
/* .main_header ul li.active a {
   color: var(--color-primary) !important;
} */

.main_header ul li a:hover{
    color: var(--color-primary) !important;
}

.faq_box .accordion-button:not(.collapsed)::after{
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(319deg) brightness(159%) contrast(101%);
}
 /* footer section end */

 /* breadcrub section start */
 .breadrumb_section {
    background: linear-gradient(45deg, black, transparent), url(../images/bread-crumb.png);
    width: 100%;
    padding: 70px 0px;
    background-position: left;
    background-size: cover;
}

.breadrumb_content .main_subheading {
    font-size: 40px;
    color: #fff;
}

.breadrumb_content ul {
    gap: 10px;
    margin-top: 15px;
}

.breadrumb_content ul li {
    color: var(--color-primary);
    font-size: 16px;
}

.breadrumb_content ul li a {
    color: #fff;
}

.number_step {
    font-weight: bold;
    font-size: 85px;
    color: #005ec97a;
    font-style: italic;
}

.open_account_step_wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.softea_iimg img {
    width: 100%;
    max-width: 300px;
}

.mr_right{
    justify-content: end;
    display: flex;
}

.open_account_step {
    background: url("../images/open_acc_step_bg_left.png"), url("../images/open_acc_step_bg_right.png");
    background-position: left top, right top;
    background-repeat: no-repeat;
}

.open_account_step_wrapper .main_heading {
    font-size: 30px;
}

.mil-skill-frame {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.mil-skill-frame .mil-skill-track {
    width: 80%;
    height: 2px;
    background-color: rgba(18,24,32,.2);
}

.mil-skill-frame .mil-skill-track .mil-skill-prog {
    position: relative;
    background-color: var(--color-primary);
    height: 2px;
}

.mil-skill-frame .mil-skill-track .mil-skill-prog:after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    background-color: var(--color-primary);
    position: absolute;
    right: 0;
    border-radius: 50%;
    top: -6px;
}

.mil-text-sm {
    font-size: 13px;
}


.digital_marketing_content ul li {
    margin: 9px 0px;
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.digital_marketing_content ul li img {
    width: 35px;
    height: 35px;
}

.digital_marketing_content h3 {
    margin: 15px 0px;
    font-size: 30px;
}


.main_tabs .nav-tabs {
    justify-content: center;
    border: 0;
}

.main_tabs .nav-tabs .nav-link {
    border: 0;
    font-size: 15px;
    padding: 10px 30px;
    border-radius: 5px;
}

.main_tabs .nav-tabs .nav-link.active {
    color: #fff;
    background: var(--color-primary);
}

.main_tabs .mil-divider.mil-light {
    background: #d6d6d673;
    margin-top: 15px;
}

.main_tabs .nav-tabs .nav-link i {
    padding-left: 8px;
}

.portfolio_box {
    border-radius: 10px;
    position: relative;
}

.portfolio_img img {
    width: 100%;
    border: 1px solid #8080803b;
    padding: 10px;
}

.portfolio_content {
    position: absolute;
    bottom: 100px;
    left: 0px;
    opacity: 0;
    transition: 0.5s;
    display: flex;
    justify-content: space-between;
    width: 100%;
    right: 0px;
    padding: 0px 25px;
    align-items: center;
}

.portfolio_box:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(1deg, #000000b5, transparent);
    content: '';
    border-radius: 0px;
    transition: 0.5s;
}

.portfolio_box:hover .portfolio_content {
    opacity: 1;
    bottom: 20px;
}

.portfolio_box:hover:before {
    height: 100%;
}

.portfolio_content h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin: 0;
}

.portfolio_content h3 a{
    color: #fff;
}

.portfolio_content p {
    color: #ffffffbd;
    font-size: 14px;
    margin: 0;
}


.portfolio_content .read_moreS {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio_content .read_moreS a {
    font-size: 20px;
    color: #015fc9;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
 /* breadcrub section end */

 /* career section start */
 .career_box {
    background: #ffffff 0% 0% no-repeat padding-box;
    border: 1px solid #dfdfdf;
    padding: 2rem;
    transition: .5s all ease;
    border-radius: 5px;
}



.career_box h4 {
    font: normal normal 700 20px/24px Plus Jakarta Sans;
    letter-spacing: -0.48px;
    color: var(--color-primary);
    position: relative;
    margin: 2rem 0;
}

.career_box h4::before {
    position: absolute;
    width: 50px;
    height: 2px;
    left: 0;
    right: 0;
    bottom: -1rem;
    content: " ";
    margin: auto;
    background-color:  var(--color-primary);
}

.career_box p {
    font: normal normal 500 14px/22px Inter;
    color: var(--color-paira);
}
.career_box .btn {
    margin: auto;
}

.career_box > img {
    width: 100%;
    max-width: 80px;
}

.Experience_box ul li {
    font-size: 14px;
    display: flex;
    padding-bottom: 8px;
}

.Experience_box ul li span {
    color: var(--color-primary);
    font-weight: 600;
    width: 33%;
}

.Experience_box ul {
    padding-bottom: 10px;
}

.carrer_heading h3 {
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 700;
}

.carrer_heading {
    margin-top: 15px;
}

.carrer_heading ul li {
    display: flex;
    gap: 10px;
    font-size: 13px;
    padding: 4px 0px;
}

.carrer_heading ul li i {
    color: var(--color-primary);
    padding-top: 3px;
}

.Immediate_warning {
    background: #ffbe0036;
    border: 1px solid #ffbe0063;
    padding: 10px 15px;
    font-size: 14px;
    margin: 9px 0px;
    border-radius: 5px;
    font-weight: 600;
}

.note_job {
    background: #0562ca4f;
    border: 1px solid  #0562ca4f;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 5px;
    margin-top: 14px;
}

.note_job span {
    font-weight: 800;
}

.header_jobs {
    font-size: 30px;
    font-weight: 700;
}

.career_section{
    background: url(../images/careers/carrer-bg.jpg);
    width: 100%;
    background-size: cover;
}

.career_form label {
    font-size: 15px;
    margin-bottom: 7px;
    font-weight: 500;
}

.career_form .form-control, .career_form .form-select {
    border-radius: 0px;
    height: 50px;
    font-size: 14px;
    border: 1px solid #015fc930;
}
 /* career section end */


 /* blog section start */
 .blog_details .news-seven__single__image img {
    height: 400px;
    object-fit: cover;
}

.blog_page_post {
    padding: 50px 40px;
    background: #F4F5F9;
}

.blog_sidebar h3 {
    font-size: 30px;
    line-height: 35px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.post_item_wrapper {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.post_item_wrapper img {
    height: 80px;
    width: 80px;
}

.post_content a {
    text-decoration: none;
    color: #212121;
    font-weight: 700;
}

.post_content span {
    display: block;
    margin-top: 10px;
    color: #7A7A7A;
    font-size: 14px;
}
 /* blog section end */


 /* contact section start */
 .contat_section{
    background: url(../images/contact-bg.jpg);
    width: 100%;
    background-size: cover;
 }

 .contact_box {
    background: #ffffffcc;
    border: 1px solid #80808026;
    border-radius: 10px;
    padding: 30px 10px;
    text-align: center;
}

.numver_contact {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin: auto;
    font-size: 23px;
    font-weight: 600;
    position: relative;
}

.numver_contact:before {
    position: absolute;
    left: -5px;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border: 1px solid #015fc9;
    content: '';
    border-radius: 50%;
    margin: auto;
    bottom: 0;
}

.tp-process-2-content .tp-process-2-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
}



.tp-process-2-content ul li a {
    color: #000;
    font-size: 14px;
    transition: 0.5s;
}

.tp-process-2-content ul li a:hover {
    color: var(--color-primary);
}

.career_form textarea {
    width: 100%;
    font-size: 14px;
    border: 1px solid #015fc930;
    padding: .375rem .75rem;
    outline: none;
}

.directer_img:before {
    position: absolute;
    left: -15px;
    top: -15px;
    width: 100px;
    height: 100px;
    content: '';
    border-top: 3px solid var(--color-primary);
    border-left: 3px solid var(--color-primary);
}

.directer_box:after {
    border-right: 3px solid var(--color-primary);
    right: -15px;
    border-bottom: 3px solid var(--color-primary);
    bottom: 56px;
    border-top: 0px solid var(--color-primary);
    border-left: 0px solid var(--color-primary);
    position: absolute;
    content: '';
    width: 100px;
    height: 100px;
}

.directer_box {
    text-align: center;
    position: relative;
}

.directer_img {
    position: relative;
}

.directer_box img {
    width: 100%;
}

.directer_box h3 {
    margin-top: 10px;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-weight: 700;
}
 /* contact section end */


 .logo_text {
    display: none;
}


.social_media li a:hover i{
    animation: toTopFromBottom 0.3s forwards;
}

.social_media li a i{
   display: block;
}


@keyframes toTopFromBottom {
    49% {
        transform: translateY(-100%);
    }
    50% {
        opacity: 0;
        transform: translateY(100%);
    }
    51% {
        opacity: 1;
    }
}



/* -----------------------------------
      Gallery Section
--------------------------------------*/
.portfolio-section {
    padding: 50px 0;
  }
  .portfolio-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
  }
  .portfolio-menu {
    text-align: center;
  }
  .control {
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border: 1px solid #343a40;
    border-radius: 3px;
    margin: 5px;
    cursor: pointer;
    -webkit-transition: all 05s ease;
    -moz-transition: all 05s ease;
    -ms-transition: all 05s ease;
    -o-transition: all 05s ease;
    transition: all 0.5s ease;
  }
  .control:hover {
    background: #343a40;
  }
  .mixitup-control-active {
    color: #fff;
    background: #343a40;
  }
  .fancybox-container button:focus {
    outline: 0;
    box-shadow: none;
  }
  .portfolio-item {
    padding-top: 30px;
  }
  .pd {
    padding: 0;
    padding: 10px;
    position: relative;
  }
  .pd img {
    height: 300px;
    transition: all 0.5s;
    width: 100%;
    object-fit: cover;
    object-position: 100% 30%;
}
  .portfolio-overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background: #000000ba;
    width: 100%;
    height: 100%;
    text-align: center;
    visibility: hidden;
    transition: all 0.5s;
    transform: scale(0);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .portfolio-overlay p,
  .portfolio-overlay a {
    position: relative;
    z-index: 4;
  }
  .portfolio-overlay::before {
    content: "";
    width: 0;
    height: 0;
    border-width: 0;
    position: absolute;
    left: 10%;
    top: 10%;
    transition: 50ms height ease 150ms;
    z-index: 3;
  }
  .portfolio-overlay::after {
    content: "";
    width: 0;
    height: 0;
    border-width: 0;
    position: absolute;
    right: 10%;
    bottom: 10%;
    transition: 100ms width ease 200ms;
    z-index: 3;
  }
  .portfolio-item:hover .portfolio-overlay::before {
    width: 80%;
    height: 80%;
    border-top: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    transition: width 0.1s ease 0.3s, height 0.1s ease 0.5s;
  }
  .portfolio-item:hover .portfolio-overlay::after {
    width: 80%;
    height: 80%;
    border-bottom: 1px solid var(--color-primary);
    border-left: 1px solid var(--color-primary);
    transition: width 0.1s ease 0.6s, height 0.1s ease 0.7s;
  }
  .portfolio-item li:hover .portfolio-overlay {
    visibility: visible;
    transform: scale(1);
  }
  .portfolio-overlay .category {
    margin-top: 70px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
  }
  .portfolio-overlay .magnify-icon {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    background: #015fc9;
    margin: 0 5px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.25s;
  }
  .portfolio-overlay .magnify-icon:hover {
    background: #000;
  }
  .portfolio-overlay .magnify-icon p span i {
    font-size: 15px;
    color: #fff;
    line-height: 40px;
    cursor: pointer;
  }

  .gogglemap iframe {
    width: 100%;
}
.glass-card {
    background: rgba(56, 96, 159, 0.5); /* trasparenza */
    backdrop-filter: blur(12px);        /* effetto vetro */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e6e6e6;                     /* colore del testo */
}
.glass-card-product {

    backdrop-filter: blur(7px);        /* effetto vetro */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e6e6e6;                     /* colore del testo */
}
.glass-card small.text-muted {
    color: #e6e6e6 !important;
    opacity: 0.9;
}
.separator {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.25);
    margin: 20px 0;
}
.recaptcha-custom {
    margin-top: 20px;
    margin-bottom: 25px;
}
.recaptcha-wrapper {
    display: flex;
    justify-content: center;   /* lo centra orizzontalmente */
    margin-top: -11px;          /* distanza da "Conferma Password" */
    margin-bottom: -68px;       /* distanza dal bottone "REGISTRATI" */
}

/* se lo vuoi leggermente pi첫 piccolo, attiva anche questo */
.recaptcha-wrapper .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center center;
}
.fade-out {
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.fade-out.hide {
    opacity: 0;
}
.lista-giustificata li {
    text-align: justify;
    text-justify: inter-word; /* Aiuta la giustificazione in alcuni browser */
    
}

  /*******Responsive media query******/
  
  /* KILL di qualunque overlay/loader a schermo intero */
html, body {
   /* background-color: #121820;  o il colore scuro che usi nel sito */
}
div[id*="preload"],
div[class*="preload"],
div[id*="loader"],
div[class*="loader"],
div[id*="spinner"],
div[class*="spinner"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
  /* Extra small devices (portrait phones, less than 576px)*/
.nexa-online-dot {
    width: 9px;
    height: 9px;
    background: #28c128;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 3px #28c128;
    animation: nexaBlink 1s infinite alternate;
}

@keyframes nexaBlink {
    from {
        opacity: 1;
        box-shadow: 0 0 4px #28c128;
    }
    to {
        opacity: 0.3;
        box-shadow: 0 0 1px #28c128;
    }
}
 /* Stile Tabs */
            .nexa-tabs .nav-link {
                color: #adb5bd;
                border: none;
                border-bottom: 3px solid transparent;
                padding-bottom: 1rem;
                font-weight: 600;
            }
            .nexa-tabs .nav-link:hover {
                color: #fff;
                border-color: rgba(13, 110, 253, 0.5);
            }
            .nexa-tabs .nav-link.active {
                color: #fff !important;
                background-color: transparent !important;
                border-color: #0d6efd !important;
            }

            /* Area stampabile / PDF con sfondo */
            #printable-area {
                position: relative;
                overflow: hidden;
               /*  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../assets/images/hero-banner.webp');
                */
                background-size: cover;
                background-position: center top;
                background-repeat: no-repeat;
                color: #fff;
                border-radius: 1rem;
                 /*  border: 1px solid rgba(255, 255, 255, 0.2); */
                color: #e6e6e6;
            }

            /* Overlay scuro sopra l'immagine */
            #printable-area .nexa-overlay {
                position: absolute;
                inset: 0;
                background: rgba(0, 0, 0, 0.55);
                pointer-events: none;
            }

            /* Contenuto sopra overlay */
            #printable-area .printable-content {
                position: relative;
                z-index: 1;
            }
#nexa-widget {position: fixed;bottom: 90px; /* Spazio sopra il trigger */right: 20px;width: 350px;height: 450px;background: #fff;border-radius: 12px;box-shadow: 0 5px 25px rgba(0,0,0,0.2);display: none;flex-direction: column;z-index: 99999;font-family: sans-serif;border: 1px solid #ddd;}
#nexa-header {background: #015FC9;color: #fff;padding: 15px;font-weight: bold;display: flex;justify-content: space-between;border-radius: 12px 12px 0 0;}
#nexa-body {flex: 1;padding: 15px;overflow-y: auto;background: #f9f9f9;}
/* --- AREA INPUT --- */
#nexa-input {display: flex;border-top: 1px solid #ddd;}
#nexa-input input {flex: 1;padding: 12px;border: none;outline: none;}
#nexa-input button {padding: 0 15px;background: none;border: none;color: #015FC9;font-weight: bold;cursor: pointer;}
/* --- PULSANTE ROTONDO (TRIGGER) --- */
#nexa-trigger {position: fixed;bottom: 20px;right: 20px;width: 60px;height: 60px;background: #015FC9;border-radius: 50%;display: flex;align-items: center;justify-content: center;cursor: pointer;z-index: 99998;box-shadow: 0 4px 15px rgba(0,0,0,0.2);transition: transform 0.3s;}
#nexa-trigger:hover { transform: scale(1.05); }
#nexa-trigger svg { width: 28px; height: 28px; fill: white; }
/* --- ETICHETTA "INIZIA CHAT" (NUOVO) --- */
#nexa-label {position: fixed;bottom: 80px;    /* Allineato al centro del pulsante */right: 50px;        /* A sinistra del pulsante */background-color: #015FC9;color: #ffffff;padding: 8px 16px;border-radius: 20px;box-shadow: 0 2px 10px rgba(0,0,0,0.1);font-size: 14px;font-weight: 600;cursor: pointer;z-index: 99998;white-space: nowrap;transition: all 0.3s ease;}
/* Freccetta verso destra */
#nexa-label::after {content: '';position: absolute;top: 50%;right: -6px;margin-top: -6px;border-width: 6px 0 6px 6px;border-style: solid;border-color: transparent transparent transparent #015FC9;}
#nexa-label:hover { color: #0ff; transform: translateX(-5px); }

/* --- MESSAGGI --- */
.nx-msg { margin-bottom: 10px; max-width: 85%; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; }
.nx-user { background: #015FC9; color: white; margin-left: auto; text-align: right; }
.nx-bot { background: #fff; border: 1px solid #ddd; color: #333; margin-right: auto; }
.nx-bot small { display: block; font-weight: bold; font-size: 11px; margin-bottom: 4px; color: #015FC9; }

/* Stili per grassetto e link generati */
.nx-bot b, .nx-bot strong { font-weight: 700; color: #000; }
.nx-bot a { color: #015FC9; text-decoration: underline; font-weight: bold; cursor: pointer; }
.nx-bot a:hover { text-decoration: none; }

/* PUNTINI CARICAMENTO */
.nx-typing { font-style: italic; color: #888; background: #f1f1f1; border: 1px solid #e0e0e0; padding: 8px 15px; border-radius: 15px; display: inline-block; margin-bottom: 10px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* 1. Trasformiamo il contenitore in una griglia */
.tab-content {
    display: grid;
}

/* 2. Sovrapponiamo tutti i pannelli nella stessa cella */
.tab-content > .tab-pane {
    grid-area: 1 / 1; /* Riga 1, Colonna 1 per tutti */
    
    /* Forza il layout a calcolare l'altezza anche se nascosto */
    display: block !important; 
    
    /* Nascondiamo visivamente quelli non attivi */
    opacity: 0;
    visibility: hidden; /* Fondamentale: evita click sui link invisibili */
    transition: opacity 0.3s ease-in-out; /* Effetto dissolvenza elegante */
}

/* 3. Mostriamo solo quello attivo */
.tab-content > .tab-pane.active {
    opacity: 1;
    visibility: visible;
    z-index: 5; /* Assicura che sia sopra gli altri */
}

.pack-card {
    background:#f9f9f9;
    border:1px solid #eee;
    border-radius:16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-pack {
    position:absolute;
    left:10px;
    padding:4px 10px;
    border-radius:12px;
    font-size:11px;
    font-weight:600;
    color:#fff;
    z-index:10;
}

.badge-sconto {
    top:10px;
    background:#19a463;
}

.badge-best-seller {
    top:36px;
    background:#ff9800;
}
