.popup-icons .popup-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    padding-bottom: 70px;
}

.popup-icons .popup-item {
    text-align: center;
    cursor: pointer;
    z-index: 2;
    flex-basis: 20%;
}

.popup-icons .popup-item img {
    max-width: 150px;
}

.popup-icons .popup-icon-heading {
    font-weight: 600;
    color: var(--titanYellow);
}
.popup-icons .popup-content-inner.hide{
    display: none;
}




/* Main expanding box */
.popup-expanded-content {
    position: relative;
    width: 100%;
    background: var(--titanGrey);
    margin-top: 10px;
    display: none;
    overflow: visible; /* ensure triangle can show */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.popup-expanded-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.popup-expanded-content.hide {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Triangle pointer */
.popup-expanded-content .popup-triangle {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 40px solid var(--titanGrey);
    z-index: 3;
    content: "";
    display: block;
}
.popup-icon-content .popup-content-inner.hide{
    display: none;
}

/* Inner text styling */
.popup-expanded-content .popup-content-inner {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding: 10px;
    padding: 50px 30px;
}
.popup-expanded-content{
    text-align: center;
}
.popup-expanded-content h4{
    color: var(--titanBlue);
    font-weight: 600;
}
.popup-icons .popup-item.active img{

    /* filter: invert(100%) brightness(200%) saturate(0%) contrast(100%); */

}
.popup-expanded-content .popup-content-inner ul{
    list-style: none;
    padding-left: 0px;
}
.popup-icons .popup-item.active .popup-icon-heading{
    color: #fff;    
}
.has-children-animate img.fade-in-visible:hover{
    /* filter: invert(46%) sepia(97%) saturate(1708%) hue-rotate(160deg) brightness(92%) contrast(102%); */
    filter: invert(39%) sepia(97%) saturate(5893%) hue-rotate(228deg) brightness(100%) contrast(92%);



}
/* aici  */
@media screen and (max-width: 1200px){
    .popup-icons .popup-icons-wrapper {
        flex-wrap: wrap;
    }
    .popup-icons .popup-item {
        flex-basis: 100%;
    }
    .popup-expanded-content {
        display: flex !important;
        justify-content: center;
    }
    .popup-expanded-content .popup-triangle {
        left: unset !important;
        right: unset !important;
        transform: unset;
    }
    .popup-icons .popup-icon-heading{
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 800px){
    .popup-icons .popup-item img {
        max-width: 100px;
    }    
}