/*
Theme Name: Borsani
Text Domain: borsanitheme
*/

.navbar.navbar-fancy-top-line {
    border-top: 5px solid rgb(243, 156, 18);
/*    -webkit-box-shadow: 0px 0px 8px 5px rgba(116,122,122,0.39);
    box-shadow: 0px 0px 8px 5px rgba(116,122,122,0.39)*/
}

/* Body / Paragraphs */
body, p, li, a, span, input, textarea {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-optical-sizing: auto; /* ensures proper optical scaling */
    font-weight: 400;          /* default weight */
    font-style: normal;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
    font-weight: 700; /* default bold for headings */
}

.aree-di-intervento .icon {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

/* For mobile screens (up to 767px) */
@media (max-width: 767.98px) {
    .aree-di-intervento .icon {
        width: 48px;
        height: 48px;
    }
}

.aree-di-intervento-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aree-di-intervento-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.6);
}


.approfondimenti .approfondimento-item {
    background-color: rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.approfondimenti .approfondimento-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background-color: rgba(255,255,255,0.1);
}

.approfondimenti .approfondimento-img {
    transition: transform 0.3s ease;
}

/*.approfondimenti .approfondimento-img:hover {
    transform: scale(1.05);
}*/

/* Hover animation: scale slightly */
.contatti-item:hover {
    transform: scale(1.05);
}



.faq-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.6);
}


/* subtle hover lift effect */
.altri-approfondimento-item:hover {
    transform: translateY(-3px);
}








/* ----------------------------------------------
 * Generated by Animista on 2025-11-9 23:5:52
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/*
@-webkit-keyframes heartbeat{from{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}10%{-webkit-transform:scale(.91);transform:scale(.91);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}17%{-webkit-transform:scale(.98);transform:scale(.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}33%{-webkit-transform:scale(.87);transform:scale(.87);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}45%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes heartbeat{from{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}10%{-webkit-transform:scale(.91);transform:scale(.91);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}17%{-webkit-transform:scale(.98);transform:scale(.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}33%{-webkit-transform:scale(.87);transform:scale(.87);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}45%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}
@-webkit-keyframes flip-in-hor-bottom{0%{-webkit-transform:rotateX(80deg);transform:rotateX(80deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes flip-in-hor-bottom{0%{-webkit-transform:rotateX(80deg);transform:rotateX(80deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}
@-webkit-keyframes slide-in-right{0%{-webkit-transform:translateX(1000px);transform:translateX(1000px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slide-in-right{0%{-webkit-transform:translateX(1000px);transform:translateX(1000px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}


.heartbeat {
    animation: heartbeat 1.5s ease-in-out 500ms 2 both;
}



.hero-image-animation{-webkit-animation:flip-in-hor-bottom .5s cubic-bezier(.25,.46,.45,.94) both;animation:flip-in-hor-bottom .5s cubic-bezier(.25,.46,.45,.94) 1.8s both}


.slide-hero-title {
    -webkit-animation: slide-in-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.4s both;
    animation: slide-in-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.4s both;
}

.slide-hero-subtitle {
    -webkit-animation: slide-in-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
    animation: slide-in-right 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
}

*/
@-webkit-keyframes fade-in-fwd{0%{-webkit-transform:translateZ(-80px);transform:translateZ(-80px);opacity:0}100%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes fade-in-fwd{0%{-webkit-transform:translateZ(-80px);transform:translateZ(-80px);opacity:0}100%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}

.fade-in-fwd {
    -webkit-animation: fade-in-fwd 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) .2s both;
    animation: fade-in-fwd 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) .2s both;
}

/*
@-webkit-keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}
.tracking-in-expand-name {
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) .8s both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) .8s both;
}
.tracking-in-expand-title {
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) 1.2s both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) 1.2s both;
}*/
.text-focus-in-picture {
    -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) .2s both;
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) .2s both;
}
.text-focus-in-name {
    -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) .4s both;
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) .4s both;
}
.text-focus-in-title {
    -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) .8s both;
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) .8s both;
}
@-webkit-keyframes text-focus-in{0%{-webkit-filter:blur(12px);filter:blur(12px);opacity:0}100%{-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes text-focus-in{0%{-webkit-filter:blur(12px);filter:blur(12px);opacity:0}100%{-webkit-filter:blur(0);filter:blur(0);opacity:1}}
