/* ============================================================================
   Custom CSS UI
   ============================================================================ */

.rtl .dropdown-item {
    text-align: right !important;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.card,
.blog-card-modern,
.event-card-modern,
.solutions-step,
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero, .hero-wrapper {
    position: relative
}

.hero {
    overflow: hidden
}

.hero__image {
    display: block
}

.heading-block-image {
    display: block;
    margin-top: -50px;
    font-family: Poppins, sans-serif;
    padding-bottom: 0;
}

    .heading-block-image h1:before {
        height: 40px;
        background: var(--color-primary);
        bottom: calc(50% - 20px)
    }

main img {
    max-width: 100%;
    height: auto;
}

.hero__video {
    display: none;
    max-width: 1920px;
    width: 100%;
}

@media (min-width: 576px) {
    .hero__image, .heading-block-image {
        display: none
    }
    .hero__video {
        display: block
    }
}

.hero__numbers {
    width: 100%;
    background: var(--color-primary);
    display: none
}

@media (min-width: 576px) {
    .hero__numbers {
        display: block
    }
}

@media (min-width: 992px) {
    .hero__numbers {
        height: 50px;
        position: absolute;
        left: 0;
        bottom: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        background: transparent
    }

        .hero__numbers:before {
            content: "";
            width: 100%;
            height: 100%;
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            background-color: var(--color-primary);
            mix-blend-mode: multiply
        }
}

.number__item {
    margin: 0 15px 15px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    z-index: 5;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

    .number__item.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

@media (min-width: 992px) {
    .number__item {
        height: 50px;
        margin: 0 10px
    }
}

.number__text {
    display: block;
    font-size: 1rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.number__item .number__text {
    font-size: 20px;
    line-height: 1.1em;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 10px
}

@media (min-width: 992px) {
    .number__item .number__text {
        width: 160px;
        padding: 0 20px
    }
}

.number__value {
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--main-color);
    font-weight: 900;
    font-size: 22px;
    position: relative
}

@media (min-width: 992px) {
    .number__value {
        width: 80px;
        height: 80px;
        border-radius: 40px;
        font-size: 30px
    }
}

.number__value:before {
    content: "";
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
    border-radius: 30px;
    background: #424a54;
    z-index: -6
}

@media (min-width: 992px) {
    .number__value:before {
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
        border-radius: 50px
    }
}

@media (min-width: 992px) {
    .number__value:after {
        content: "";
        width: 45px;
        height: 90px;
        display: block;
        position: absolute;
        top: -5px;
        right: -5px;
        border-bottom-right-radius: 45px;
        border-top-right-radius: 45px;
        z-index: -3;
        background: #cddee1
    }
}


/* ============================================================================
   Solutions slider
   ============================================================================ */

/* slick slider */
.slick-slider {
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent
}

.slick-list, .slick-slider {
    position: relative;
    display: block
}

.slick-list {
    overflow: hidden;
    margin: 0;
    padding: 0
}

    .slick-list:focus {
        outline: none
    }

    .slick-list.dragging {
        cursor: pointer;
        cursor: hand;
    }

.slick-slider .slick-list, .slick-slider .slick-track {
    transform: translateZ(0)
}

.slick-track {
    position: relative;
    left: 0;
    top: 0;
    display: block;
    margin-left: auto;
    margin-right: auto
}

    .slick-track:after, .slick-track:before {
        content: "";
        display: table
    }

    .slick-track:after {
        clear: both
    }

.slick-loading .slick-track {
    visibility: hidden
}

.slick-slide {
    float: left;
    height: 100%;
    min-height: 1px;
    display: none
}

[dir=rtl] .slick-slide {
    float: right
}

.slick-slide img {
    display: block
}

.slick-slide.slick-loading img {
    display: none
}

.slick-slide.dragging img {
    pointer-events: none
}

.slick-initialized .slick-slide {
    display: block
}

.slick-loading .slick-slide {
    visibility: hidden
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent
}

.slick-arrow.slick-hidden {
    display: none
}

.slick-loading .slick-list {
    background: #f8f9fa;
    position: relative;
}

    .slick-loading .slick-list::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid #f0f0f0;
        border-top: 4px solid var(--main-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


@font-face {
    font-family: slick;
    src: url(fonts/slick.eot);
    src: url(fonts/slick.eot?#iefix) format("embedded-opentype"),url(fonts/slick.woff) format("woff"),url(fonts/slick.ttf) format("truetype"),url(fonts/slick.svg#slick) format("svg");
    font-weight: 400;
    font-style: normal
}

.slick-next, .slick-prev {
    position: absolute;
    display: block;
    height: 20px;
    width: 20px;
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: none
}

    .slick-next, .slick-next:focus, .slick-next:hover, .slick-prev, .slick-prev:focus, .slick-prev:hover {
        background: transparent;
        color: transparent;
        outline: none
    }

        .slick-next:focus:before, .slick-next:hover:before, .slick-prev:focus:before, .slick-prev:hover:before {
            opacity: 1
        }

        .slick-next.slick-disabled:before, .slick-prev.slick-disabled:before {
            opacity: .25
        }

        .slick-next:before, .slick-prev:before {
            font-family: slick;
            font-size: 20px;
            line-height: 1;
            color: #fff;
            opacity: .75;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale
        }

.slick-prev {
    left: -25px
}

    .slick-prev:before {
        content: "←"
    }

[dir=rtl] .slick-prev:before {
    content: "→"
}

.slick-next {
    right: -25px
}

[dir=rtl] .slick-next {
    left: -25px;
    right: auto
}

.slick-next:before {
    content: "→"
}

[dir=rtl] .slick-next:before {
    content: "←"
}

.slick-dotted.slick-slider {
    margin-bottom: 30px
}

.slick-dots {
    position: absolute;
    bottom: -25px;
    list-style: none;
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%
}

    .slick-dots li {
        position: relative;
        display: inline-block;
        margin: 0 5px;
        padding: 0
    }

        .slick-dots li, .slick-dots li button {
            height: 20px;
            width: 20px;
            cursor: pointer
        }

            .slick-dots li button {
                border: 0;
                background: transparent;
                display: block;
                outline: none;
                line-height: 0;
                font-size: 0;
                color: transparent;
                padding: 5px
            }

                .slick-dots li button:focus, .slick-dots li button:hover {
                    outline: none
                }

                    .slick-dots li button:focus:before, .slick-dots li button:hover:before {
                        opacity: 1
                    }

                .slick-dots li button:before {
                    position: absolute;
                    top: 0;
                    left: 0;
                    content: "•";
                    width: 20px;
                    height: 20px;
                    font-family: slick;
                    font-size: 6px;
                    line-height: 20px;
                    text-align: center;
                    color: #000;
                    opacity: .25;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale
                }

            .slick-dots li.slick-active button:before {
                color: #000;
                opacity: .75
            }

.slick-slider .slick-next, .slick-slider .slick-prev {
    top: auto;
    bottom: 45%;
    width: 25px;
    height: 36px;
    z-index: 2
}

.slick-slider .slick-prev {
    left: 10px
}

.slick-slider .slick-next {
    right: 10px
}

.slick-slider .slick-prev:before {
    content: "";
    font-family: FontAwesome;
    font-size: 35px;
    color: #b7b6b6
}

.slick-slider .slick-next:before {
    content: "";
    font-family: FontAwesome;
    font-size: 35px;
    color: #b7b6b6
}

@media (min-width: 992px) {
    .bleed {
        display: -ms-grid !important;
        display: grid !important;
        -ms-grid-columns: calc((100vw - 1400px) / 2) minmax(0,1fr) minmax(0,2fr) calc((100vw - 1400px) / 2);
        grid-template-columns: calc((100vw - 1400px) / 2) minmax(0,1fr) minmax(0,2fr) calc((100vw - 1400px) / 2);
        -ms-grid-rows: auto;
        grid-template-rows: auto
    }
}

.h-metodo-nav {
    display: none
}

@media (min-width: 992px) {
    .h-metodo-nav {
        list-style-type: none;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-bottom: 2em;
        color: #424a54;
        font-size: 17px;
        font-weight: 700;
        text-transform: uppercase;
        position: relative
    }

        .h-metodo-nav:before {
            width: 86%;
            height: 1px;
            left: 7%;
            bottom: 20px;
            background: #424a54;
            margin-top: 3px
        }

        .h-metodo-nav:after, .h-metodo-nav:before {
            content: "";
            display: block;
            position: absolute
        }

        .h-metodo-nav:after {
            width: 25px;
            height: 30px;
            left: 0;
            bottom: -42px;
            border-top: 20px solid transparent;
            border-bottom: 20px solid transparent;
            border-left: 15px solid #ededed;
            transform: rotate(270deg);
            margin-left: 85px;
            transition: all .2s ease-out 0s
        }
}

@media (min-width: 992px) and (prefers-reduced-motion:reduce) {
    .h-metodo-nav:after {
        transition: none
    }
}

@media (min-width: 992px) {
    .h-metodo-nav.h-metodo-nav--1:after {
        left: 14.28%
    }

    .h-metodo-nav.h-metodo-nav--2:after {
        left: 28.56%
    }

    .h-metodo-nav.h-metodo-nav--3:after {
        left: 42.84%
    }

    .h-metodo-nav.h-metodo-nav--4:after {
        left: 57.12%
    }

    .h-metodo-nav.h-metodo-nav--5:after {
        left: 71.4%
    }

    .h-metodo-nav.h-metodo-nav--6:after {
        left: 85.68%
    }
}

.h-metodo-nav__item {
    text-align: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-preferred-size: 14.28%;
    flex-basis: 14.28%;
    transition: all .2s ease-out 0s
}

@media (prefers-reduced-motion:reduce) {
    .h-metodo-nav__item {
        transition: none
    }
}

.h-metodo-nav__item:before {
    content: "";
    display: block;
    width: 32px;
    height: 32px
}

.h-metodo-nav__item:after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    border: 5px solid var(--main-color);
    background: #fff;
    margin-top: 3px;
    box-shadow: 0 0 0 10px #fff
}

.h-metodo-nav__item:hover {
    transform: scale(1.2)
}

.h-metodo {
    background: #ededed
}

@media (min-width: 992px) {
    .h-metodo__item {
        height: 35em
    }
}

.h-metodo__item-wrap {
    display: block;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px;
    height: 20em
}

@media (min-width: 992px) {
    .h-metodo__item-wrap {
        height: 35em;
        grid-column: 1/3
    }
}

.h-metodo__item-wrap.hide {
    display: none
}

.h-metodo__icon {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto .5em;
    background-size: contain !important;
}

@media (min-width: 992px) {
    .h-metodo__icon {
        width: 80px;
        height: 80px
    }
}

.h-metodo__title {
    font-size: 25px;
    line-height: 1em;
    font-weight: 700;
    text-align: center;
    color: var(--main-color);
    text-transform: uppercase;
    position: relative;
    margin-bottom: 26px
}

@media (min-width: 992px) {
    .h-metodo__title {
        font-size: 35px
    }
}

.h-metodo__title:before {
    content: "";
    width: 120px;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    bottom: -12px;
    left: 50%;
    margin-left: -60px
}

.h-metodo__intro {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #424a54
}

@media (min-width: 992px) {
    .h-metodo__intro {
        margin-bottom: 20px;
        max-width: 18em
    }
}

.h-metodo__link {
    display: block;
    width: 40px;
    height: 40px;
    z-index: 5;
    background: url(../images/icon-plus-dark.svg) 50% center / 40px 40px no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .h-metodo__link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

.h-metodo__link {
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
}

.h-metodo__link.active {
    background-color: var(--main-color, #d8262f);
    background-image: url(../images/icon-plus-white.svg);
}

.h-metodo__link img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

.h-metodo__picture {
    grid-column: 3/5;
    background-size: cover !important;
    min-height: 15em
}

@media (min-width: 992px) {
    .h-metodo-nav:after {
        width: 25px;
        height: 30px;
        left: 0;
        bottom: -42px;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 15px solid #ededed;
        transform: rotate(270deg);
        border-left: 15px solid var(--main-color);
        transition: all .2s ease-out 0s;
    }

    .h-metodo-nav:after, .h-metodo-nav:before {
        content: "";
        display: block;
        position: absolute;
    }

    .h-metodo__intro, .h-metodo__intro p {
        margin-bottom: 20px;
        max-width: 18em;
    }
}

.h-metodo-nav__item {
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.h-metodo-nav__item--active {
    color: var(--main-color);
    font-weight: bold;
}

.h-metodo__intro, .h-metodo__intro p {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #424a54;
}


/* SERVICES */
.h-soluzioni_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease-out 0s;
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni_bg {
        transition: none;
    }
}

.h-soluzioni__item--label:hover .h-soluzioni_bg {
    opacity: 1;
}

.h-soluzioni__icon,
.h-soluzioni__title,
.h-soluzioni__text,
.h-soluzioni__plus,
.h-soluzioni__anchor {
    z-index: 2;
}

.h-soluzioni__item--label .h-soluzioni__plus {
    background: url(../images/icon-plus-light.svg) no-repeat 50%;
    background-size: contain;
}

.h-soluzioni__number-badge {
    z-index: 10;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .h-soluzioni__number-badge .fa-circle {
        position: absolute;
        font-size: 50px;
        color: rgba(255, 255, 255, 0.9);
    }

.h-soluzioni__number {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    z-index: 1;
}

.h-soluzioni__item--label:hover .h-soluzioni__number-badge .fa-circle {
    color: #fff;
    transform: scale(1.1);
    transition: all 0.3s ease-out;
}

.h-soluzioni__item--label:hover .h-soluzioni__number {
    color: var(--main-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.h-soluzioni {
    margin: 2em 0;
    text-align: center
}

@media (min-width: 768px) {
    .h-soluzioni {
        display: -ms-flexbox;
        display: flex;
        max-width: 1400px;
        margin: 0 auto 4em
    }
}

.h-soluzioni__item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1.5em 10px;
    min-height: 16em;
    position: relative;
    height: 400px;
    transition: all .3s ease-out 0s
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni__item {
        transition: none
    }
}

@media (min-width: 768px) {
    .h-soluzioni__item {
        -ms-flex-preferred-size: 33.33%;
        flex-basis: 33.33%
    }
}

@media (min-width: 1200px) {
    .h-soluzioni__item {
        padding: 2em 15px
    }
}

.h-soluzioni__icon {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border-radius: 35px;
    margin-bottom: 1em;
    transition: all .3s ease-out 0s
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni__icon {
        transition: none
    }
}

@media (min-width: 1200px) {
    .h-soluzioni__icon {
        width: 60px;
        height: 60px;
        border-radius: 35px;
        background: #d8262f
    }
}

.h-soluzioni__title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 1.4em;
    transition: all .3s ease-out 0s
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni__title {
        transition: none
    }
}

.h-soluzioni__title:before {
    content: "";
    width: 120px;
    height: 3px;
    background: var(--bs-orange);
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-left: -60px;
    transition: all .3s ease-out 0s
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni__title:before {
        transition: none
    }
}

.h-soluzioni__text {
    font-size: 14px;
    line-height: 1.2em;
    color: #1d1d1b;
    height: 140px;
    opacity: 1;
    max-width: 23em;
    transition: all .3s ease-out 0s
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni__text {
        transition: none
    }
}

.h-soluzioni__plus {
    display: block;
    width: 40px;
    height: 40px;
    background: url(../images/icon-plus-dark.svg) no-repeat 50%;
    background-size: contain;
    transition: all .2s ease-out 0s;
    z-index: 5
}

@media (prefers-reduced-motion:reduce) {
    .h-soluzioni__plus {
        transition: none
    }
}

.h-soluzioni__plus:hover {
    transform: scale(1.2)
}

.h-soluzioni__anchor {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0
}

.h-soluzioni__item--label {
    background: #d8262f
}

    .h-soluzioni__item--label:before {
        content: "";
        width: 100%;
        height: 100%;
        background-size: cover !important;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2
    }

    .h-soluzioni__item--label .h-soluzioni__icon {
        background: url(../images/stricchetti-icon.svg) no-repeat 50%;
        background-size: 30px
    }

@media (min-width: 1200px) {
    .h-soluzioni__item--label .h-soluzioni__icon {
        background-size: 50px
    }
}

.h-soluzioni__item--label .h-soluzioni__text, .h-soluzioni__item--label .h-soluzioni__title {
    color: #fff
}

.h-soluzioni__item--label .h-soluzioni__plus {
    background: url(../images/icon-plus-light.svg) no-repeat 50%;
    background-size: contain
}

.h-soluzioni__item--label:hover {
    background: transparent
}

    .h-soluzioni__item--label:hover .h-soluzioni__icon {
        background: #d8262f url(../images/stricchetti-icon.svg) no-repeat 50%;
        background-size: 30px
    }

@media (min-width: 1200px) {
    .h-soluzioni__item--label:hover .h-soluzioni__icon {
        background-size: 50px
    }
}

.h-soluzioni__item--label:hover .h-soluzioni__title {
    color: #fff;
    text-shadow: -1px 2px 1px #333
}

    .h-soluzioni__item--label:hover .h-soluzioni__title:before {
        background: #fff
    }

.h-soluzioni__item--label:hover .h-soluzioni__text {
    color: #fff;
    height: 30px;
    opacity: 0
}

.h-soluzioni__item--label:hover .h-soluzioni__plus {
    background: url(../images/icon-plus-red.svg) no-repeat 50%;
    background-size: contain
}

@media (max-width: 768px) {
    .h-service-nav__image {
        display: block !important;
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -22px;
        overflow: hidden;
        transition: all 0.3s ease-out;
    }

    .h-soluzioni__item {
        padding: 1.5em 0;
    }

    .h-soluzioni__title, h-soluzioni__text {
        padding: 0 10px;
    }
    .h-soluzioni__number-badge {
        margin-top: -25px;
    }
}

/* ============================================
   CATEGORY SLIDER 
   ============================================ */

.category-slider-wrapper {
    position: relative;
    margin: 20px auto;
    overflow: hidden;
}

/* Category Slider Container */
.h-soluzioni-nav {
    padding: 20px 0;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* Category Item */
.h-soluzioni-nav__item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    margin: 10px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-out;
    cursor: pointer;
    outline: none;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 220px;
    border-radius: 10px;
}

/* Category Image (Top - Main Visual) */
.h-soluzioni-nav__image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
    transition: all 0.3s ease-out;
/*    clip-path: ellipse(50% 100% at 50% 100%); */
    clip-path: ellipse(70% 90% at 50% 0%);
}

    .h-soluzioni-nav__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-out;
    }

.h-soluzioni-nav__item:hover .h-soluzioni-nav__image img {
    transform: scale(1.1);
}

/* Title (Middle) */
.h-soluzioni-nav__text {
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease-out;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 24px;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .h-soluzioni-nav__text {
        font-size: 15px;
        padding: 10px 5px
    }
}

/* Icon (Bottom - Accent) */
.h-soluzioni-nav__icon {
    width: 50px;
    height: 50px;
    display: block;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.3s ease-out;
    flex-shrink: 0;
    margin-top: 8px;
}

/* Bottom Underline */
.h-soluzioni-nav__under {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 1;
    transform: scaleX(0);
    transition: all 0.3s ease-out;
    border-radius: 2px 2px 0 0;
}

/* Hover & Active States */
.h-soluzioni-nav__item:hover .h-soluzioni-nav__icon,
.h-soluzioni-nav__item.active .h-soluzioni-nav__icon {
    transform: scale(1.15) translateY(-5px);
}

.h-soluzioni-nav__item:hover .h-soluzioni-nav__under,
.h-soluzioni-nav__item.active .h-soluzioni-nav__under {
    transform: scaleX(1);
}

.h-soluzioni-nav__item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   SLICK SLIDER ARROWS (LEFT & RIGHT)
   ============================================ */

/* Container for slider arrows */
.h-soluzioni-nav {
    position: relative;
}

    /* Slick Arrow Base Styles */
    .h-soluzioni-nav .slick-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

        .h-soluzioni-nav .slick-arrow:hover {
            background: rgba(255, 255, 255, 1);
            border-color: rgba(0, 0, 0, 0.2);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: translateY(-50%) scale(1.1);
        }

        .h-soluzioni-nav .slick-arrow i {
            font-size: 22px;
            color: var(--main-color, #d8262f);
            transition: all 0.3s ease;
        }

        .h-soluzioni-nav .slick-arrow:hover i {
            color: var(--main-color, #d8262f);
        }

    /* Left Arrow */
    .h-soluzioni-nav .slick-prev {
        left: 15px;
    }

    /* Right Arrow */
    .h-soluzioni-nav .slick-next {
        right: 15px;
    }

    /* Disable default Slick arrow content */
    .h-soluzioni-nav .slick-arrow:before {
        content: none !important;
        display: none !important;
    }

/* RTL Support for Slick Arrows */
[dir='rtl'] .h-soluzioni-nav .slick-prev {
    left: auto;
    right: 15px;
    transform: rotate(180deg);
}

[dir='rtl'] .h-soluzioni-nav .slick-next {
    right: auto;
    left: 15px;
    transform: rotate(180deg);
}

/* Hide default Slick arrow content */
.h-soluzioni-nav .slick-arrow.slick-prev:before,
.h-soluzioni-nav .slick-arrow.slick-next:before {
    content: none !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
    .h-soluzioni-nav .slick-prev {
        left: 12px;
    }

    .h-soluzioni-nav .slick-next {
        right: 12px;
    }

    [dir='rtl'] .h-soluzioni-nav .slick-prev {
        right: 12px;
    }

    [dir='rtl'] .h-soluzioni-nav .slick-next {
        left: 12px;
    }
}


/* ============================================
   Blog
   ============================================ */
.blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

    .blog-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #d8262f, #ff6b6b, #d8262f);
        background-size: 200% 100%;
        animation: gradientShift 3s ease infinite;
    }

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}

.blog-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .blog-card-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 20px;
        padding: 2px;
        background: linear-gradient(135deg, #d8262f, #ff6b6b);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .blog-card-modern:hover::before {
        opacity: 1;
    }

    .blog-card-modern:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 50px rgba(216, 38, 47, 0.2);
    }

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.blog-card-modern:hover .blog-card-image {
    transform: scale(1.15);
    filter: brightness(0.9);
}

.blog-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100% );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card-modern:hover .blog-card-gradient {
    opacity: 1;
}

.blog-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff80;
    justify-content: center;
    color: #d8262f;
    padding: 8px 15px;
    border-radius: 50px;
    border: 2px solid #d8262f;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgb(235 0 50 / 40%);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.blog-featured-badge i {
    font-size: 14px;
}

[dir="rtl"] .blog-featured-badge {
    right: auto;
    left: 15px;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .blog-date i,
    .blog-read-time i {
        color: var(--main-color);
        font-size: 14px;
    }

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-modern:hover .blog-card-title {
    color: var(--main-color);
    transform: translateX(5px);
}

[dir="rtl"] .blog-card-modern:hover .blog-card-title {
    transform: translateX(-5px);
}

.blog-card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 12px 0;
    transition: all 0.3s ease;
    align-self: flex-start;
}

    .blog-read-more::before {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #d8262f, #ff6b6b);
        transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

.blog-card-modern:hover .blog-read-more::before {
    width: 100%;
}

.read-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.blog-card-modern:hover .read-more-icon {
    transform: translateX(8px) rotate(360deg);
    background: linear-gradient(135deg, #d8262f, #ff6b6b);
}

[dir="rtl"] .blog-card-modern:hover .read-more-icon {
    transform: translateX(-8px) rotate(-360deg);
}

.btn-visit-blog {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d8262f 0%, #b01e26 100%);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(216, 38, 47, 0.3);
}

    .btn-visit-blog::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-visit-blog:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-visit-blog:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 40px rgba(216, 38, 47, 0.4);
        color: #fff;
    }

    .btn-visit-blog i {
        transition: transform 0.3s ease;
    }

    .btn-visit-blog:hover i {
        transform: translateX(5px);
    }

[dir="rtl"] .btn-visit-blog:hover i {
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    .blog-card-image-wrapper {
        height: 220px;
    }

    .blog-card-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .blog-card-image-wrapper {
        height: 200px;
    }

    .blog-card-title {
        font-size: 18px;
    }

    .blog-card-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .blog-card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .blog-card-modern {
        margin-bottom: 20px;
    }

    .blog-card-image-wrapper {
        height: 180px;
    }

    .btn-visit-blog {
        padding: 14px 30px;
        font-size: 15px;
    }
}


/* ============================================
   EVENTS
   ============================================ */
.event-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .event-card-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 40px rgba(216, 38, 47, 0.3);
    }

.event-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

    .event-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

.event-card-modern:hover .event-card-image img {
    transform: scale(1.1) rotate(2deg);
}

.event-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100% );
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.event-card-modern:hover .event-card-overlay {
    background: linear-gradient( to bottom, rgba(216, 38, 47, 0.2) 0%, rgba(216, 38, 47, 0.6) 100% );
}

.event-date-badge {
    background: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 70px;
    transition: all 0.3s ease;
}

.event-card-modern:hover .event-date-badge {
    background: var(--main-color);
    transform: scale(1.1);
}

.event-date-badge .day {
    font-size: 28px;
    font-weight: 700;
    color: var(--bs-light);
    line-height: 1;
    transition: color 0.3s ease;
}

.event-card-modern:hover .event-date-badge .day {
    color: #fff;
}

.event-date-badge .month {
    font-size: 12px;
    font-weight: 600;
    color: var(--bs-gray-200);
    text-transform: uppercase;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.event-card-modern:hover .event-date-badge .month {
    color: rgba(255, 255, 255, 0.9);
}

.event-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-time {
    color: #999;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .event-time i {
        color: var(--main-color);
    }

.event-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.event-card-modern:hover .event-title {
    color: var(--main-color);
}

.event-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(135deg, #d8262f 0%, #b01e26 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .event-btn:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .event-btn:hover:before {
        left: 100%;
    }

    .event-btn:hover {
        background: linear-gradient(135deg, #b01e26 0%, #d8262f 100%);
        transform: translateX(5px);
        color: #fff;
        box-shadow: 0 5px 15px rgba(216, 38, 47, 0.4);
    }

    .event-btn i {
        transition: transform 0.3s ease;
    }

    .event-btn:hover i {
        transform: translateX(5px);
    }

.btn-view-all-events {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--main-color);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .btn-view-all-events::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(216, 38, 47, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-view-all-events:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-view-all-events:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
        color: var(--main-color);
        background: #fff;
        border-color: #fff;
    }

    .btn-view-all-events i {
        transition: transform 0.3s ease;
    }

    .btn-view-all-events:hover i {
        transform: translateX(5px);
    }


[dir="rtl"] .event-btn:hover {
    transform: translateX(-5px);
}

    [dir="rtl"] .event-btn:hover i {
        transform: translateX(-5px);
    }

[dir="rtl"] .btn-view-all-events:hover i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .event-card-image {
        height: 200px;
    }

    .event-title {
        font-size: 18px;
    }

    .event-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .event-card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .event-card-modern {
        margin-bottom: 20px;
    }

    .event-card-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .btn-view-all-events {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* Modern White CTA Section with Background */
.cta-section-modern {
    position: relative;
    overflow: hidden;
}

/* Animated Bubbles - Only on grey background */
.cta-background-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(216, 38, 47, 0.15) 0%, rgba(216, 38, 47, 0.08) 40%, rgba(216, 38, 47, 0.03) 70%, transparent 100%);
    filter: blur(2px);
}

.bubble-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
    animation: float1 20s ease-in-out infinite;
}

.bubble-2 {
    width: 250px;
    height: 250px;
    top: 10%;
    right: -80px;
    animation: float2 18s ease-in-out infinite;
}

.bubble-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 5%;
    animation: float3 22s ease-in-out infinite;
}

.bubble-4 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    right: 10%;
    animation: float4 25s ease-in-out infinite;
}

.bubble-5 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: -60px;
    animation: float5 16s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.5;
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-40px, 30px) scale(1.15);
        opacity: 0.7;
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    40% {
        transform: translate(25px, -25px) scale(1.2);
        opacity: 0.9;
    }

    80% {
        transform: translate(-15px, 15px) scale(0.85);
        opacity: 0.4;
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translate(-20px, -20px) scale(1.2);
        opacity: 0.7;
    }

    66% {
        transform: translate(15px, 25px) scale(0.9);
        opacity: 0.6;
    }
}

/* White CTA Wrapper - No Shadow */
.cta-wrapper-white {
    position: relative;
    border-radius: 30px;
    padding: 80px 40px;
    overflow: visible;
    z-index: 1;
    transition: transform 0.4s ease;
}

    .cta-wrapper-white:hover {
        transform: translateY(-8px);
    }

/* CTA Content */
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Icon */
.cta-icon-wrapper {
    margin-bottom: 25px;
}

.cta-icon-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #d8262f 0%, #ff6b6b 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(216, 38, 47, 0.3);
    animation: pulse-icon 2s ease-in-out infinite;
    position: relative;
}

    .cta-icon-white::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 50%;
        border: 3px solid rgba(216, 38, 47, 0.2);
        animation: pulse-ring-white 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    }

    .cta-icon-white i {
        font-size: 40px;
        color: #fff;
        animation: bounce 2s ease-in-out infinite;
    }

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-ring-white {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* CTA Title */
.cta-title-dark {
    font-size: 48px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, #2c3e50 0%, #d8262f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Description */
.cta-description-dark {
    font-size: 20px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* CTA Button */
.cta-button-wrapper {
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button-red {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #d8262f 0%, #b01e26 100%);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(216, 38, 47, 0.3);
}

    .cta-button-red::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: 0;
    }

    .cta-button-red:hover::before {
        width: 400px;
        height: 400px;
    }

.cta-button-text,
.cta-button-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button-red:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(216, 38, 47, 0.4);
    color: #fff;
}

.cta-button-icon i {
    transition: transform 0.3s ease;
}

.cta-button-red:hover .cta-button-icon i {
    transform: translateX(5px);
}

[dir="rtl"] .cta-button-red:hover .cta-button-icon i {
    transform: translateX(-5px);
}

/* CTA Features */
.cta-features-dark {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.cta-feature-item-dark {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
}

    .cta-feature-item-dark i {
        font-size: 18px;
        color: var(--main-color);
        animation: scaleIn 0.5s ease-out backwards;
    }

    .cta-feature-item-dark:nth-child(1) i {
        animation-delay: 0.7s;
    }

    .cta-feature-item-dark:nth-child(2) i {
        animation-delay: 0.8s;
    }

    .cta-feature-item-dark:nth-child(3) i {
        animation-delay: 0.9s;
    }

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-wrapper-white {
        padding: 60px 30px;
    }

    .cta-title-dark {
        font-size: 38px;
    }

    .cta-description-dark {
        font-size: 18px;
    }

    .bubble-1, .bubble-4 {
        width: 250px;
        height: 250px;
    }

    .bubble-2, .bubble-3 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .cta-wrapper-white {
        padding: 50px 25px;
        border-radius: 20px;
    }

    .cta-icon-white {
        width: 75px;
        height: 75px;
    }

        .cta-icon-white i {
            font-size: 35px;
        }

    .cta-title-dark {
        font-size: 32px;
    }

    .cta-description-dark {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .cta-button-red {
        padding: 15px 35px;
        font-size: 16px;
    }

    .cta-features-dark {
        gap: 20px;
    }

    .bubble-1, .bubble-4 {
        width: 200px;
        height: 200px;
    }

    .bubble-2, .bubble-3, .bubble-5 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .cta-wrapper-white {
        padding: 40px 20px;
    }

    .cta-icon-white {
        width: 65px;
        height: 65px;
    }

        .cta-icon-white i {
            font-size: 30px;
        }

    .cta-title-dark {
        font-size: 28px;
    }

    .cta-description-dark {
        font-size: 15px;
    }

    .cta-button-red {
        width: 100%;
        justify-content: center;
    }

    .cta-features-dark {
        flex-direction: column;
        gap: 15px;
    }

    .bubble {
        display: none;
    }
}


/* ========================================================================
   PRODUCT CARDS - MODERN STYLE WITH HOVER OVERLAY
   ======================================================================== */

.product-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: visible; /* Changed from hidden to visible for badge */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

/* Product Image Wrapper */
.product-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio for square images */
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image {
    transform: scale(1.1);
}

/* Overlay with Summary (Hidden by default, shown on hover) */
.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    z-index: 2;
    border-radius: 12px 12px 0 0;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-overlay-content {
    text-align: center;
    color: #fff;
}

.product-summary {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.product-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--main-color, #d8262f);
    color: #fff;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .product-view-btn:hover {
        background: #fff;
        color: var(--main-color, #d8262f);
    }

/* Featured Star Badge (Between image and content) */
.product-featured-badge {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--main-color, #d8262f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(216, 38, 47, 0.4);
    border: 3px solid #fff;
    animation: pulse-star 2s infinite;
}

    .product-featured-badge i {
        color: #fff;
        font-size: 1.25rem;
    }

@keyframes pulse-star {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Product Card Content (Title below image) */
.product-card-content {
    padding: 40px 20px 20px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text, #333);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

/* RTL Support for Products */
[dir="rtl"] .product-view-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-featured-badge {
    left: auto;
    right: 50%;
    transform: translate(50%, -50%);
    animation: pulse-star-rtl 2s infinite;
}

@keyframes pulse-star-rtl {
    0%, 100% {
        transform: translate(50%, -50%) scale(1);
    }

    50% {
        transform: translate(50%, -50%) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-card-image-wrapper {
        padding-bottom: 100%;
    }
}

@media (max-width: 768px) {
    .product-card-image-wrapper {
        padding-bottom: 100%;
    }

    .product-summary {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .product-view-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .product-featured-badge {
        width: 40px;
        height: 40px;
        border: 2px solid #fff;
    }

        .product-featured-badge i {
            font-size: 1rem;
        }

    .product-card-content {
        padding: 30px 15px 15px 15px;
    }

    .product-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .product-card-overlay {
        padding: 15px;
    }

    .product-summary {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
}
