/*
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;
}
.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;
}

/* 4) Tipografia (titoli, paragrafi, link) */

.alt-font{
    font-family: var(--alt-font);
}

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;
}

.text-lg{
    font-size: 21px;
    line-height: 30px;
}

.text-md{
    font-size: 1.5rem;
    line-height: 1.4;
}

.bold{
    font-weight: 700!important;
}
.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;
}
.text-subtitle {
    font-size: 20px;
    line-height: 30px;
}
.text-banner-cta {
    font-size: 36px;
    line-height: 44px;
}

/* 5) Componenti (bottoni, moduli, ecc.) */

body {
    background-color: var(--background-color);
    color: var(--primary-color);
}
.top-navbar .container-fluid ul li {
    font-size: 12px;
    padding: 0 15px;
}
.top-navbar .container-fluid ul li:first-child {
    padding: 0 15px 0 0px;
}
.top-navbar .container-fluid ul li a {
    color: #fff;
}

.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 {
    width: 100%;
    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{
    font-size: 14px;
}
#footer a {
    color: #fff;
}

.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-grey-dark-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgb(60 60 59 / 88%);
}

.bg-image-blur-parallax {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.bg-image-blur-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(60 60 59 / 70%);
    z-index: 1;
}
.bg-image-blur-parallax::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}
.bg-image-blur-parallax .container-custom {
    position: relative;
    z-index: 2;
}

/* overlay */
.bg-overlay{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.bg-dark {background-color: #1d1d21 !important;}
.bg-gray { background-color: #F7F7F7 }
.bg-fixed {
   background-attachment: fixed; 
}
.bg-img {
    position: relative;
    background-size: cover;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden
}
.fullscreen{
    height: 100vh !important;
    width: 100%;
}
.fullscreen .center-col {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

/* 7) Sizing */

.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;
}


/* 8 Form di contatto */


/* 9) Altri layout (contenitori, parti grafiche)*/
/* opacity */
.opacity-full{opacity: 1;}
.opacity-3{opacity: .3;}
.opacity-4{opacity: .4;}
.opacity-5{opacity: .5;}
.opacity-6{opacity: .6;}
.opacity-7{opacity: .7;}
.opacity-8{opacity: .8;}
.opacity-9{opacity: .9;}

.center-block {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.scroll-down {
    display: inline-block;
    position: absolute;
    bottom: 30px;
    /* z-index: 13; */
    left: 50%;
    transform: translateX(-50%);
    color: #fff !important;
    font-size: 35px;
}
.position-fixed-text {
    position: fixed !important;
}

.height-banner {
    height: 80vh !important;
    width: 100%;
}

.accordionFAQ .accordion-item {
    background-color: #fff;
    border: none;
}
.accordionFAQ .accordion-item .card-body {
    padding: 0
} 
.accordionFAQ .accordion-button {
    cursor: pointer;
    padding: 0.75rem 0; 
    font-size: 20px;
    margin-bottom: 0;
}
.accordionFAQ .accordion-button:not(.collapsed) {
    color: #212121;
    background-color: transparent;
    box-shadow: none;
}

.accordionFAQ .accordion-button:not(.collapsed)::after {
    background-image: none;
    transform: none;
    content: "\58"; 
    font-family: 'Font Awesome 6 Pro';
}
.accordionFAQ .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:not(:last-child)::after {
    content: '';
    display: block;
    height:1px;
    width: 20%;
    background-color: #000
}

.accordionFAQ .accordion-collapse {
    background-color: #fafafa
}
.accordionFAQ .accordion-collapse .accordion-body {
    padding: 1.5rem 1.25rem;
}
.nav-link-accordion {
    font-size: 28px;
    font-weight: 600;
    padding: 15px 25px;
    border: none; 
    background-color: transparent;
}
.nav-link-accordion.active, .nav-link-accordion:hover {
    background-color: #F3F3F3;
}
ul.faq-tabs li {
    padding: 0px 15px;
    display: inline-flex;
}
ul.faq-tabs li:first-child {
    padding-left: 0px;
}
ul.faq-tabs li:last-child {
    padding-right: 0px;
}
ul.faq-tabs li:not(:last-child) {
    
    border-right: 1px solid #000
}

.link-piattaforma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px 66px;
}
.link-piattaforma:hover {
    background-color: rgba(232, 232, 232, .45);
}
.link-piattaforma img {
    width: 95%;
}
.request-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 26px;
    line-height: 1.2;
    text-decoration: none;
    transition: opacity .25s ease;
}

.request-btn:hover {
    color: #fff;
    opacity: .9;
}
.request-btn-left {
    padding-left: max(24px, calc((100vw - 1320px) / 2));
    padding-right: 48px;
}

.request-btn-right {
    padding-left: 48px;
    padding-right: max(24px, calc((100vw - 1320px) / 2));
}
.request-btn-gray {
    background-color: rgba(60, 60, 59, .75);
}

.request-btn-dark {
    background-color: #3C3C3B;
}

.img-preview {
    height: 400px;
    object-fit: cover;
}
.modal-backdrop {
    z-index: 99 !important;
}
.breadcrumbs {
    font-size: 20px;
    line-height: 35px;
    font-weight: 300;
}

.content-case-studies ul {
    padding-left: 15px;
    list-style: disc;
}
.content-case-studies a {
    text-decoration: underline;
}

.image-pair {
    display: grid;
    grid-template-columns: repeat(2, auto);
    /* justify-content: center; */
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
}

.image-pair__item {
    height: clamp(260px, 35vw, 420px);
    display: flex;
    align-items: center;
    justify-content: start;
}

.image-pair__item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 767.98px) {
    .image-pair {
        grid-template-columns: 1fr;
    }
}

.gallery-case-studies .owl-stage {
    display: flex;
    align-items: center;
}

.gallery-case-studies .owl-item {
    width: auto !important;
}

.gallery-case-studies .item {
    height: clamp(260px, 35vw, 420px);
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-case-studies .item img {
    height: 100%;
    width: auto !important;
    max-width: none;
    object-fit: contain;
    display: block;
}

.gallery-case-studies {
    position: relative;
}

.gallery-case-studies .owl-nav {
    margin-top: 0;
}

.gallery-case-studies .owl-nav button.owl-prev,
.gallery-case-studies .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    line-height:1;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-case-studies .owl-nav button.owl-prev:hover,
.gallery-case-studies .owl-nav button.owl-next:hover {
    background-color: transparent;
    color: inherit;
}

.gallery-case-studies .owl-nav button.owl-prev {
    left: -40px;
}

.gallery-case-studies .owl-nav button.owl-next {
    right: -40px;
}

@media (max-width: 767.98px) {
    .gallery-case-studies .owl-nav button.owl-prev {
        left: 8px;
    }

    .gallery-case-studies .owl-nav button.owl-next {
        right: 8px;
    }
}

.padding-section-login {
    padding-top: clamp(100px, 300px, 400px);
    padding-bottom: clamp(100px, 300px, 400px);
}

.link-piattaforma-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.link-piattaforma-login img {
    width: 94%;
}


/* 10) Animazioni */

