/***************************************
HOME PAGE HEADER
***************************************/
#homePage .header-container {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

#homePage .header-container h1 {
    color: var(--text-light1);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#homePage .header-container h1 span {
    color: var(--text-light2);
    font-size: 1.5rem;
}

#homePage .header-container p {
    color: var(--text-light1);
    font-weight: 300;
}

#homePage .top-header-bg {
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #2f2f2f;
    width: 100%;
}

#homePage .header-container .box-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #000000;
    opacity: 0.25;
}


#homePage .header-container .header-submenu {
    position: relative;
    top: 25vh;
    z-index: 10;
}

#homePage .header-container .main-img {
    height: 60vh;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
}
/***************************************
HOME PAGE HEADER
***************************************/

/***************************************
SECTION TITLE
***************************************/
.section-title-line {
    position: relative;
    display: inline-block;
    padding: 0 20px; /* Spazio tra il testo e le linee */
}

.section-title-line::before,
.section-title-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20vw;
    height: 4px;
}

.section-title-line::before {
    left: -20vw;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(0, 127, 185, 0.25) 100%);
}

.section-title-line::after {
    right: -20vw;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(0, 127, 185, 0.25) 100%);
}


/***************************************
WHO WE ARE
***************************************/

.section-lines.who-we-are-lines .lines-2 {
    border: 1px solid #dedcdc;
    height: 60%;
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
}


/*WHO WE ARE BG*/
.who-we-are-bg {
    background-color: #202020;
}

.who-we-are-bg .overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80);
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}

.who-we-are-bg {
    background-image: url(../img/home/who-we-are-bg.webp);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
/*END - WHO WE ARE BG*/



.who-we-are-text .section-title {
    color: #999;
}

.who-we-are-text .section-title .evidence-text {
    color: #666;
    line-height: 1.2;
    font-weight: 500;
}

/*intro-lock-animation*/
.intro-lock-animation {
    position: relative;
    height: 500px;
    background: #f7f7f7;
}

.intro-lock-1, .intro-lock-2, .intro-lock-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    mix-blend-mode: multiply;
}

.intro-lock-shield img {
    margin-left: 15px;
    width: 100%;
}

/*Animation rotate*/
@-webkit-keyframes intro-lock-2-rotating {
    from{
        -webkit-transform: rotate(360deg);
    }
    to{
        -webkit-transform: rotate(0deg);
    }
}

@-webkit-keyframes intro-lock-3-rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}


.intro-lock-2-rotating {
    -webkit-animation: intro-lock-2-rotating 30s ease-in infinite;
}

.intro-lock-3-rotating {
    -webkit-animation: intro-lock-3-rotating 60s ease-out infinite;
}


.pulse {
    box-shadow: 0 0 0 0 rgba(180, 180, 180, 0.6);
    border-radius: 50%;
    transform: scale(1);
    animation: pulse 2s infinite;
}

.pulse2 {
    transform: scale(1);
    animation: pulse 3s infinite;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(180, 180, 180, 0.0);
        border-radius: 50%;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(180, 180, 180, 0);
        border-radius: 50%;
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(180, 180, 180, 0);
        border-radius: 50%;
    }
}

@keyframes pulse2 {
    0% {
        transform: scale(0.95);
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
    70% {
        transform: scale(1.0);
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
    100% {
        transform: scale(0.95);
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }

}
/*END - Animation rotate*/

.vertical-image-container {
    height: calc(100vh - 63px);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

@media screen and (max-width: 1199px) {
    .vertical-image-container {
        height: 50vh;
    }
}

.vertical-image {
    background-image: url(../img/home/who-we-are-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 135vh;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}



#who_whe_are p {
    text-align: left !important;
}

/***************************************
END - WHO WE ARE
***************************************/


/***************************************
SOLUTIONS NEW
***************************************/

/* BORDER SQUARE */
.square {
    width: 70%;
    height: 170%;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 4px; /* Arrotonda gli angoli del contenitore */
    overflow: hidden; /* Garantisce che i bordi rispettino il border-radius */
}

/* Bordi orizzontali */
.square::before,
.square::after {
    content: "";
    position: absolute;
    background-color: #ddd;
    width: 100%;
    height: 1px; /* Spessore del bordo */
}

.square::before {
    top: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
} /* Bordo superiore */

.square::after {
    bottom: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
} /* Bordo inferiore */

/* Bordi laterali (verticali) */
.square > div {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Bordi laterali superiori */
.square > div::before,
.square > div::after {
    content: "";
    position: absolute;
    background-color: #ddd;
    width: 1px; /* Spessore del bordo */
    height: 15%; /* Altezza del bordo laterale */
    top: 0;
}

.square > div::before {
    left: 0;
    border-top-left-radius: 4px;
} /* Bordo sinistro superiore */

.square > div::after {
    right: 0;
    border-top-right-radius: 4px;
} /* Bordo destro superiore */

/* Bordi laterali inferiori */
.square div span::before,
.square div span::after {
    content: "";
    position: absolute;
    background-color: #ddd;
    width: 1px; /* Spessore del bordo */
    height: 15%; /* Altezza del bordo laterale */
    bottom: 0;
}

.square div span::before {
    left: 0;
    border-bottom-left-radius: 4px;
} /* Bordo sinistro inferiore */

.square div span::after {
    right: 0;
    border-bottom-right-radius: 4px;
} /* Bordo destro inferiore */
/* END - BORDER SQUARE */


.solutions-item {
    padding: 30px;
    border-radius: 4px;
}

.solutions-home p {color: #333;}
.solutions-home .section-title, .solutions-home .section-subtitle {text-align: left;}

.solutions-home-intelligence {
    background-image: url(../img/home/bg-solutions-intelligence.webp);
    background-position: left center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    background-color: #f5f5f7;
}

.solutions-home-cyber {
    background-image: url(../img/home/bg-solutions-cyber.webp);
    background-position: right center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    background-color: #f1f1f2;
}

.solutions-home-lab {
    background-image: url(../img/home/bg-solutions-innovation-lab.webp);
    background-position: left center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    background-color: #f5f5f7;
}

.solutions-home .section-solutions-title {
    font-size: 1.8rem;
    color: #666;
    font-weight: 200;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 9px 20px;
    letter-spacing: 3px;
}

.solutions-home .btn-outline-ng2 {
    color: #007fb9;
}

.solutions-home .section-title {
    font-weight: 500;
}


/****************************************
NEWS 2
****************************************/
.section-lines.news-lines .lines-1 {
    border: 1px solid #dedcdc;
    height: 95%;
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
}

.home-news .news-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #505050;
    position: relative;
    line-height: 1.1;

    border-left: 3px solid rgba(0, 127, 185, 0.25);
    padding-left: 10px;
    margin-top: 5px;
    letter-spacing: -1px;
}

.home-news .news-title a {
    color: var(--text-dark1);
}
.home-news .news-title a:hover {
    color: #007fb9;
}

.home-news .news-truncate p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date-info {
    font-family: "Source Code Pro", monospace;
    margin-left: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark2);
}

/****************************************
END - NEWS 2
****************************************/


/****************************************
SOLUTIONS INTRO (for home and negg at a glance page)
****************************************/
.section-lines.solutions-intro-lines .lines-1 {
    border: 1px solid #dedcdc;
    position: absolute;
    width: 45%;
    left: 27.5%;
    top: 53%;
    transform: translate(-50%, -50%);
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 388px;
}

.solution-item a {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 300;
    color: #555;
    line-height: 1.5;
    display: inline-block;
    letter-spacing: 2px;
    margin-bottom: 30px;
    padding-left: 0;
}

.solution-item a:before {
    border-bottom: 2px dotted #d8d8d8;
    content: ' ';
    width: 18%;
    position: absolute;
    bottom: 20px;
    transition: all 0.2s ease-in-out;
}


.solution-item a:hover:before {
    width: 80%;
}

.solution-item a:hover {
    color: #111;
    padding-left: 30px;
}

.solutions-home-section .item-title {
   margin-bottom: 30px;
    border-bottom: none;
    padding-bottom: 40px;
}

.solutions-home-section {
    background-image: url(../img/solutions/solutions-bg-4.jpg);
    background-position: top left;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}

.solutions-read-more {
    position: absolute;
    bottom: 15%;
    left: 0;
    text-align: center;
}


@media screen and (max-width: 991px) {
    .solutions-read-more {
        position: relative;
        bottom: auto;
        left: 0;
        text-align: center;
        margin-top: 20px;
    }

    .solution-item a:before {
        width: 30%;
        left: 50%;
        transform: translateX(-50%);
    }

    .solution-item a:hover:before {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .solution-item a {
        font-size: 1.3rem;
        letter-spacing: 0;
    }

    .solution-item a:hover {
        padding-left: 0;
    }

    .solutions-home-section .item-title {
        margin-bottom: 50px;
        border-bottom: none;
        padding-bottom: 0;
    }
}
/****************************************
END - SOLUTIONS INTRO (for home and negg at a glance page)
****************************************/


/*****************************************
ACADEMY
*****************************************/

.academy-section .section-title {
    color: #ddd;
    font-size: 2rem;
}

/***************************************
MAIN HOME PAGE SLIDER
***************************************/

.main-video.slick-slide {
        height: 100vh;
}
.main-home-slider .slick-dots {
    position: absolute;
    bottom: 24px;
}

.main-home-slider .slick-dots li button::before {
    color: #bbbbbb;
    font-size: 12px;
}

.main-home-slider .slick-dots li.slick-active button:before {
    opacity: .75;
    color: #ffffff;
}


/***************************************************************
TEXT ON INTRO IMAGE OR VIDEO
****************************************************************/

.main-video .header-box-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 30px;
}

.main-video .header-box-right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(50%, -50%);
    text-align: right;
    z-index: 2;
    width: 25%;
}

.main-video .header-box-left {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 30%;
}

#homePage .main-video-overlay {
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
    position: absolute;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#homePage .main-home-slider .header-text-1 {
    color: #fafafa;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

#homePage .main-home-slider .header-text-2 {
    color: #d2d2d2;
    line-height: 1.2;
    opacity: 0.65 !important;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-style: italic;
    letter-spacing: -1px;
}

#homePage .main-home-slider .header-text-description {
    color: #999;
    font-weight: 300;
    line-height: 1.5;
    margin: 10px auto;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.header-box-right .header-text-description {
    width: 100%;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.header-box-left .header-text-description {
    width: 100%;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.main-slide-img {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-x: hidden;
}




.zoom {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 9;
}

.zoom img {
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -5%);

}


.fadeOut{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
}

/******************************************************
OUR PARTNERS
*******************************************************/
.our-partners-logo {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 60px;
}

.home-partners-slick .slick-prev::before, .home-partners-slick .slick-next::before {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    font-size: 2rem;
}

.our-partners-slick .slick-next {
    right: 45px;
}


.our-partners-logo a {
    margin: 5px 20px;
}

.our-partners-logo a:hover {
    transform: scale(1.2);
}

.our-partners-logo a img {
    width: 200px;
    margin: auto;
}

@media screen and (max-width: 991px) {
    .home-partners-slick .slick-prev::before, .home-partners-slick .slick-next::before {
        font-size: 1.2rem;
    }
    .our-partners-logo {
        padding: 0 15px;
    }

    .partners-box .slick-prev {
        left: 8px !important;
    }
    .partners-box .slick-next {
        right: 0 !important;
    }
}

/******************************************************
CERTIFICATIONS
*******************************************************/
.certification-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start; /* Allinea a sinistra */
}

.certification-item .cert-img {
    background: #f7f7f7;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    align-items: center;
    min-height: 100px;
    width: calc(25% - 1rem); /* 4 colonne */
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.certification-item .cert-img:hover {
    background: #fafafa;
}

.certification-item .cert-img a {
    display: block;
    margin-bottom: 10px;
}

.certification-item .cert-img img {
    height: 80px;
}

.certification-item .cert-img h3 {
    margin-left: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 0.8rem;
}

/* Tablet: 3 colonne */
@media (max-width: 1200px) {
    .certification-item .cert-img {
        width: calc(33.333% - 1rem);
    }
}

/* Mobile: 2 colonne */
@media (max-width: 994px) {
    .certification-item .cert-img {
        width: calc(50% - 1rem);
    }
}

/* Piccoli schermi: 1 colonna */
@media (max-width: 768px) {
    .certification-item .cert-img {
        width: 100%;
    }
}
/******************************************************
END - CERTIFICATIONS
*******************************************************/

/*********************************************************************
  SOLUTIONS
**********************************************************************/
/*SECTION TITLE*/
.section-title-solutions {
    position: fixed;
    left: 0;
    width: 100%;
    height: 250px;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 100;
}

.section-title-solutions.visible {
    opacity: 1;
    pointer-events: auto;
}

.section-title-solutions .bg-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.section-title-solutions.visible .bg-fade {
    opacity: 1;
}

/*********************************************************************
    PRODUCTS FULL WIDTH SLIDER
**********************************************************************/
.products-slider .slick-dots {
    bottom: 15px;
}

.product-slide {
    background-color: rgba(255, 255, 255, 0.65);
    height: 600px !important;
    border-radius: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: ease-in-out 0.3s;
    position: relative;
    margin: 5px;
}

.product-slide .category-title {
    color: var(--text-light1);
    font-style: italic;
}

.product-slide .section-subtitle {
    color: var(--text-light3);
}

.product-slide .chatbot-text {
    margin-bottom: 7px;
}

.product-slide .lms-text {
    font-size: 2.3rem;
}

.slide-text {
    padding: 60px;
    position: relative;
}

.slide-text h3, .slide-text p, .slide-text ul {
    color: var(--text-light1);
}

.product-slide .card-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: ease-in-out 0.3s;
}


.product-slide.slide1 .card-overlay {
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.product-slide.slide2 .card-overlay {
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.product-slide.slide3 .card-overlay {
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.product-slide.slide1 {
    background-image: url(../img/home/products-slider/slide-travel-security.webp);
}
.product-slide.slide2 {
    background-image: url(../img/home/products-slider/slide-chatbot.webp);
}
.product-slide.slide3 {
    background-image: url(../img/home/products-slider/slide-lms.webp);
}


/*********************************************************************
    END - PRODUCTS FULL WIDTH SLIDER
**********************************************************************/






@media screen and (max-width: 1340px) and (min-width: 992px) {
    .zoom img {
        transform: translate(-50%, -2%);
    }
}

@media screen and (max-width: 991px) {

    #homePage .main-video-overlay {
        background: rgba(0, 0, 0, 0.5);
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
    }

    .main-video .header-box-right {
        left: -18%;
        width: 70%;
    }

    .main-video .header-box-left {
        left: 50%;
        width: 70%;
    }

    .zoom img {
        transform: translate(-50%, -20%);
    }

    #homePage .main-home-slider .header-text-1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    #homePage .main-home-slider .header-text-2 {
        font-size: 1.4rem;
    }
    #homePage .main-home-slider .header-text-description {
        line-height: 1.4;
        margin: 10px auto;
        -webkit-line-clamp: 5;
    }

    .main-slide-img {
        object-position: 85%;
    }

    .our-partners-logo a img {
        width: 300px;
    }

}
