/*
1. Google Fonts
2. Variabili globali (:root)
3. Fondamenta (html, body)
4. Tipografia (titoli, paragrafi, link)
5. Componenti (navbar, section, bottoni) 
6. Colori e background
7. Sizing
8. Form
9. Altri layout (griglie e contenitori)
10. 10 Animazioni
*/


/* 1) Fonts */
    
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* 2) Variabili */

:root {
    --primary-color: #212121;
    --background-color: #fff;  
    --background-color-2:#00000012;
    --pop-color: #12B0E5;
    --link-hover-color:#12B0E5;
    
    --custom-radius:0px;
    --btn-radius:19px 19px 19px 19px;
    --btn-padding: 0.5rem 1rem;
    --section-padding: 100px;    
    --main-font: "Lato", sans-serif;
}


/* 3) Fondamenta (html, body) */

html {
    font-size: 17px; /* Base del rem */
    scroll-behavior: smooth;
    color:  var(--primary-color);
}

body {
    background-color: var(--background-color); 
    color:  var(--primary-color);
    font-size: 16px;
    font-family: var(--main-font);
    font-weight:300;
    line-height: 25px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* 4) Tipografia (titoli, paragrafi, link) */

h1, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 5rem;
    line-height: 1;
}

h2 {
    font-size: 4rem;
    line-height: 1.1;
    color:var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 2rem;
}

h6{
    color:var(--primary-color);
}

p {
    margin-bottom: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.title-md {
    font-size: 24px;
    line-height: 1.1;
}
.text-xl{
    font-size: 3rem;
    line-height: 1.1;
}

.text-lg{
    font-size: 25px;
    line-height: 1.2;
}

.text-md{
    font-size: 1.5rem;
    line-height: 1.4;
}

.bold{
    font-weight: 700;
}

.text-banner h1 {
    font-size: 4.2vw;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
}
.h3 {
    font-size: 25px;
    line-height: 30px;
    font-weight: 300;
}
.h1 {
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
}

/* 5) Componenti (bottoni, moduli, ecc.) */

body {
    background-color: var(--background-color);
    color: var(--primary-color);
}

.nav-item{
    padding: 0.5rem 2rem;
}

.nav-link{
    font-size: 15px;
    font-weight: 400;
}

.navbar-container{
    border-bottom: 1px solid color(srgb 1 1 1 / 0.5);
}

.navbar.scrolled .navbar-container{
    border-bottom: transparent;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: #fff;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 1020;
}

/*.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important; 
}*/

ul.dropdown-menu {
    background-color: transparent;
    border: transparent;
}

.dropdown-menu li{
    background-color: rgba(32, 32, 32, 1) !important;
    margin-bottom: 0.05rem;
}

.dropdown-menu li a{
    color:white;
    font-weight:300;
    font-size: 15px;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:focus-within {
    border: unset;
    box-shadow: none;
}

#footer ul{
    list-style-type: none;
}

#footer ul li a, #footer, #footer p, #footer a{
    color:#fff;
}

#footer a:hover{
    opacity: .4;
}

.bg-dark ul li a, .bg-dark, .bg-dark p, .bg-dark a{
    color: #fff;
}

.bg-dark ul li a:hover, .bg-dark a:hover{
    color: var(--pop-color);
}

section{
    padding-top:var(--section-padding);
    padding-bottom:var(--section-padding);
}

section.half-section, .half-section{
    padding-top:calc(var(--section-padding)/2);
    padding-bottom:calc(var(--section-padding)/2);
}


/* 6) Colori e background */

.bg-blurred-gray-transparent{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgb(65 65 64 / 70%);
}
.bg-white-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgb(255 255 255 / 80%);
}
.bg-light-gray {
    background-color: #F7F7F7;
}
.bg-grey-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgb(60 60 59 / 70%);
}

/* 7) Sizing */

.container-custom{
    max-width: 1480px;
    width: 100%;
    padding-right: var(--bs-gutter-x,.75rem);
    padding-left: var(--bs-gutter-x,.75rem);
    margin-right: auto;
    margin-left: auto;
}

.min-vh-30{
    min-height:30vh;
}

.min-vh-50{
    min-height:50vh;
}

.min-vh-100{
    min-height:100vh;
}

.min-vw-30{
    min-width:30vw;
}

.min-vw-50{
    min-width:50vw;
}

.min-vw-100{
    min-width:100vw;
}

.vw-30{
    width:30vw;
}

.vw-50{
    width:50vw;
}

.vw-100{
    width:100vw;
}
.padding-section-blur {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.mt-6rem {
    margin-top: 6rem;
}
.padding-sx-col {
    padding-left: 70px;
}

.section-padding-xl {
    padding: 7rem 0;
}

/* 8 Form di contatto */


/* 9) Altri layout (contenitori, parti grafiche)*/
#video {
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: hidden;
}

#video video {
    object-fit: cover;
    z-index: -1;
    width: 100%;
    height: auto;
}
.loghi-home img{
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
}
.infografica-home img{
    height: 290px;
    object-fit: cover;
}

.view-more:hover {
    opacity: .4;
}
.image-page-banner {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover; 
}
.height-banner {
    height: 80vh !important;
    width: 100%;
}
.center-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.text-sister-home {
    width: 90%;
}
.lottie-bar {
    width: 200px;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
}

.sidebar-magazine {
    margin-left: 50px;
}
.titolo-list-cat {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    text-align: center;
}
.list-cat {
    padding-left: 40px;
}
.list-cat-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
.post-category-magazine {
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
}
.titolo-post-magazine {
    font-size: 20px;
    line-height: 30px;
    font-weight: 300 !important;
}
.post-calendar {
    font-size: 13px;
    line-height: 25px;
    font-weight: 300 !important;
    text-transform: lowercase;
}
.padding-text-preview-service {
    padding: 0 15%;
}
.post-category-magazine {
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
}
.testo-magazine-preview {
    font-size: 16px;
    line-height: 25px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.slidePostEvidenza .owl-item {
    transition: transform 0.3s ease;
    z-index: 1;
    transform-origin: top;
}

.slidePostEvidenza .owl-item.active:first-child {
    z-index: 2; /* sopra le altre */
}

.img-object-slider { 
  object-fit: cover;
  transition: height 0.35s ease;
  height: 200px; /* default small */
}
.owl-item.center .img-object-slider {
  height: 300px; /* grande */
}

.box-grey {
    background-color: #F4F4F4;
    padding: 40px;
}

#single-magazine h2, #single-magazine h3, #single-magazine h4, #single-magazine h5, #single-magazine h6 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 2rem;
}

.icone-gruppo .icone img {
    width: 30px;
}
.min-height-60 {
    min-height: 60px;
}
.preview-text-category {
    font-size: 16px;
    line-height: 25px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.cover-project {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 315px;
}

.carousel-nav-pillole button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    padding: 0 5px;
}
.subtitle-project {
    font-size: 20px;
    line-height: 35px;
    font-weight: 300;
}
.title-project {
    font-size: 40px;
    line-height: 55px;
    font-weight: 700;
}

ul.processo {
    border: none;
    justify-content: center;
}
ul.processo li {
    padding: 0;
}
ul.processo li a{
    font-size: 15px;
    font-weight: 300;
    color: #242424!important;
    opacity: 1;
    margin-bottom: -1px;
    background: 0 0;
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
ul.processo li a.active {
    font-size: 25px;
    font-weight: 500;    
    color: #242424!important;
    opacity: 1;
    
}
ul.processo li a.active:hover {
    opacity: 1;
}
ul.processo li a:hover{
    opacity: .3;
}
ul.processo li a.active .underline-gradient{
    height: 2px;
    width: 100%;
    background: #242424!important;
    margin-top: 3px;
}
ul.processo li{    
    display: inline-flex;    
}
ul.processo li:after{
    content: "\f30b";
    font-family: 'Font Awesome 6 Pro';
    display: inline-flex;
    align-items: center;
    margin: 0 40px;
}
ul.processo li:last-child:after {
    display: none;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #212121;
    background-color: #fff;
    border-color: transparent;
}


.icone-gruppo .icone {
    margin-right: 25px;
    text-align: center;
}
.icone-gruppo .icone img{
    max-width:13vw;
}
.icone-gruppo.icone-aziende-fasi .icone img {
    width: 45px;
}

.icone-gruppo .icone.icon-disable {
    opacity: .175
}
.icone-gruppo .icone div{
    font-size: 12px;
    font-weight: 500;
    color: #242424
}
.icone.icon-disable a {
    pointer-events: none; /* Impedisce il click */
    cursor: default;
}

.testo-processo {
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 40px;
}

.image-absolute {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    overflow: hidden;
}
.text-blockquote {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 900;
}

#accordionFAQ .accordion-item, #accordionFasi .accordion-item {
    background-color: #fff;
    border: none;
}
#accordionFAQ .accordion-item .card-body, #accordionFasi .accordion-item .card-body {
    padding: 0
} 
#accordionFAQ .accordion-button, #accordionFasi .accordion-button {
    cursor: pointer;
    padding: 1rem 0;
}
#accordionFAQ .accordion-button:not(.collapsed), #accordionFasi .accordion-button:not(.collapsed) {
    color: #212121;
    background-color: transparent;
    box-shadow: none;
}

#accordionFAQ .accordion-button:not(.collapsed)::after, #accordionFasi .accordion-button:not(.collapsed)::after {
    background-image: none;
    transform: none;
    content: "\58"; 
    font-family: 'Font Awesome 6 Pro';
}
#accordionFAQ .accordion-button::after, #accordionFasi .accordion-button::after {
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin-left: auto;
    padding-left: 30px;
    font-weight:300;
    content: "";
    background-image: none;
    background-repeat: no-repeat;
    background-size: auto;
    transition: transform .2s ease-in-out;
    content: "\2b"; /* Codice Unicode per l'icona 'fa-chevron-down' */
    font-family: 'Font Awesome 6 Pro';
    font-size: 20px;
}
#accordionFAQ .accordion-item:after, #accordionFasi .accordion-item:after {
    content: '';
    display: block;
    height:1px;
    width: 20%;
    background-color: #000
}
#accordionFAQ .accordion-collapse {
    background-color: #E8E8E8
}
#accordionFAQ .accordion-collapse .accordion-body, #accordionFasi .accordion-collapse .accordion-body {
    padding: 1.5rem 1.25rem;
}
.title-fase {
    font-size: 30px !important;
    line-height: 40px !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}


/* 10) Animazioni */

