.cover {
    background: #5D3770;
    background: linear-gradient(180deg, #5D3770 0%, #5D3770 100%);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin: 0% 0% 0% 5%;
    --e-column-margin-right: 0%;
    --e-column-margin-left: 5%;
    border-radius: 0px 0px 0px 100px;
    max-height: 95vh;
}
.cover > .cover-overlay {
    background-image: url("../img/cover-overlay.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.06;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
.cover-service {
    background-image: url("../img/cover-service.jpg"); /* The image used */
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
    height: 499px;
}
.pi-header-transparent {
    background-color: transparent;
}
.title {
    font-size: 3.5em !important;
    font-weight: 600;
    line-height: 1.2em;
    color: #21252b;
}
.subtitle {
    font-size: 2em !important;
    line-height: 1.2em;
    color: #21252b;
}
/*Box*/
.pi-box-base {
    background-color: #5D3770 !important;
    color: rgba(255, 255, 255, 0.80) !important;
}
.pi-round-box {
    border-radius: 10px 80px 10px 10px;
}
.box-shadow {
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    border: transparent;
}
.box-shadow-hover:hover {
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    border: transparent;
}
.box-hover:hover {
    transform: translateY(-8px);
    transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}
.icon-relative {
    position: relative;
    bottom: 70px;
}
.doc-quote::before {
    display: block;
    font-family: fontello;
    content: "\e882";
    font-size: 200px;
    position: absolute;
    top: 55px;
    font-style: normal;
    left: 18px;
    color: rgba(255, 255, 255, 0.30);
}
/*Section homepage*/
.section-1 {
    background-color: #5D3770;
    border-radius: 0px 20px 100px 0px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin: 0% 5% 0% 0%;
    --e-column-margin-right: 5%;
    --e-column-margin-left: 0%;
    color: rgba(255, 255, 255, 0.9);
}
.section-1 > .cover-overlay {
    background-image: url("../img/cover-overlay.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.06;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
.section-2 {
    position: relative;
    z-index: 1;
}
.section-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 55%;
    background-color: #5D3770;
    border-radius: 0px 20px 100px 0px;
    z-index: -1;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}
.pi-section-base > .cover-overlay {
    background-image: url("../img/cover-overlay.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.06;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
.section-video {
    background-color: #5D3770;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin: 0px 50px 0px 50px;
    --e-column-margin-right: 50px;
    --e-column-margin-left: 50px;
    border-radius: 20px 20px 100px 100px;
}
.section-video > .cover-overlay {
    background-image: url("../img/cover-overlay.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.06;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
.section-relative {
    position: relative;
    top: 80px;
}
.section-video-relative {
    position: relative;
    bottom: 80px;
}
.feedback-relative {
    position: relative;
    bottom: 100px;
}
.contact-relative {
    position: relative;
    top: 100px;
    z-index: 2;
}
/*Images*/
.pi-img-round-corners-2 img {
    border-radius: 10px 100px 10px 10px;
} /*Button*/
.pi-btn-white {
    background: #fff;
    border: 1px solid #fff;
    color: #21252b !important;
}
.pi-btn-white:hover {
    background: transparent;
    border: 1px solid #FFB600;
    color: #FFB600 !important;
}
.maps {
    margin-bottom: -10px;
}
.highlight {
    display: inline;
    width: max-content;
    background-size: 200% auto;
    background-image: linear-gradient(to right, #fff 50%, #FFB600 50%);
    background-position: 0% 0;
    animation-duration: 2s;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.highlight.active {
    animation-name: highlight;
}
@keyframes highlight {
    from {
        background-position: 0% 0;
    }
    to {
        background-position: -100% 0;
    }
}
/*Table*/
.tab {
    padding: 15px;
    border: 1px solid #ee6e31;
}
.tab-box {
    padding: 20px;
}
.tabella td, .tabella th {
    border-bottom: 1px solid #434343;
    padding: 10px 0;
}
.tabella tr td:last-child {
    text-align: right;
}
.tabella {
    border-collapse: collapse;
    width: 100%;
}
/*Footer*/
.btn-whatsapp {
    z-index: 999999;
    background: #3BBF5A;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px rgba(59, 191, 90, 0.5);
}
.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}
.wa-center {
    display: block;
    margin: 10px auto;
}
/*index-4.html*/
.background-base-2 {
    background-color: #fef7ea !important;
}
.cover-illustration {
    background-image: url('../img/cover-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 100vh;
}
.full-cover-padding {
    padding: 50px 75px;
}
.title-2 {
    font-size: 3em !important;
    font-weight: 600;
    line-height: 1.2em;
    color: #2B2250;
}
.pi-text-base-2 {
    color: #FF944D !important;
}
.backgroung-base-2 p {
    color: #555 !important;
}
.background-base-2 h1, .background-base-2 .h1, .background-base-2 h2, .background-base-2 .h2, .background-base-2 h3, .background-base-2 .h3, .background-base-2 h4, .background-base-2 .h4, .background-base-2 h5, .background-base-2 .h5, .background-base-2 h6, .background-base-2 .h6 {
    color: #2B2250 !important;
}
.background-base-2 .pi-box:not(.box-shadow) {
    background-color: #fef7ea !important;
}
.background-base-2 .pi-box:not(.box-shadow) {
    background-color: #fef7ea !important;
    border: 1px solid #f8deba;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.background-base-2 .pi-box.box-shadow-hover:hover {
    background-color: #ffffff !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    border: none !important;
}
.quote-box {
    background-color: #feefd8;
    color: #2B2250;
    border-radius: 12px;
    padding: 32px 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-style: normal;
    line-height: 1.7;
}
.quote-mark {
    font-size: 40px;
    color: #F57C00;
    flex-shrink: 0;
    line-height: 1;
}
.quote-box p {
    margin: 0;
    padding: 0;
}
.section-3 {
    background-color: #5D3770 !important;
    border-radius: 20px 100px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin: 0% 5%;
    --e-column-margin-right: 5%;
    --e-column-margin-left: 0%;
    color: rgba(255, 255, 255, 0.9);
}
.section-3 > .cover-overlay {
    background-image: url("../img/cover-overlay.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.06;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
.section-relative-2 {
    position: relative;
    bottom: 150px;
}
.section-3 h1, .section-3 h2, .section-3 h3, .section-3 h4, .section-3 h5, .section-3 h6 {
    color: #fff !important;
}
.card-hover-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.card-hover-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.card-hover-wrapper:hover img {
    transform: scale(1.05);
}
/* Barra fissa */
.card-caption-bar {
    background-color: #472B5E;
    color: white;
    padding: 15px 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    border-top-right-radius: 50px;
    border-top-left-radius: 20px;
    transition: all 0.3s ease;
}
.card-hover-title {
    font-size: 1.05em;
    font-weight: 600;
    color: #FFB600; /* giallo */
}
.card-hover-subtitle {
    font-size: 0.9em;
    color: #fff;
}
/*Responsive*/
@media screen and (max-width: 1440px) {
    .cover-padding {
        padding: 80px 50px;
    }
    .title {
        font-size: 3em !important;
    }
    .subtitle {
        font-size: 1.8em !important;
    }
}
@media screen and (max-width: 1280px) {
    .cover-padding {
        padding: 80px 50px;
    }
    .title {
        font-size: 2.8em !important;
    }
    .subtitle {
        font-size: 1.6em !important;
    }
    h2, .h2 {
        font-size: 2.5em !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .section-2::before {
        top: 0;
        left: 0;
        width: 100%;
        height: 55%;
        border-radius: 0px 0px 100px 100px;
    }
    .cover {
        margin: 0;
    }
    .cover-padding {
        padding: 80px 0 80px 50px;
    }
    .title {
        font-size: 2.5em !important;
    }
    .subtitle {
        font-size: 1.5em !important;
    }
    .section-1 {
        padding-bottom: 100px;
    }
    .section-relative-2 {
        padding-bottom: 80px;
    }
    .cover-illustration {
        background-image: url('../img/cover-3-s.jpg');
    }
}
@media screen and (min-width: 320px) and (max-width: 767px) {
    body {
  font-size: 17px;
}
    .cover {
        max-height: 100%;
    }
    .cover-img-padding {
        padding-left: 30px;
    }
    .section-video {
        margin: 0px 25px 0px 25px;
    }
    .section-2::before {
        top: 0;
        left: 0;
        width: 100%;
        height: 58%;
        border-radius: 0px 0px 100px 100px;
    }
    .section-relative-2 {
        padding-bottom: 80px;
    }
    .feedback-relative {
        bottom: 0;
        padding-top: 40px;
    }
    .cover-illustration {
        background-image: url('../img/cover-3-xs.jpg');
    }
    .title-2 {
        font-size: 2em !important;
    }
        .subtitle {
        font-size: 1.3em !important;
    }
    .full-cover-padding {
    padding: 50px 40px;
}
    h2, .h2 {
        font-size: 1.8em !important;
    }
    h3, .h3 {
        font-size: 1.8em;
    }
}
