/* =======================================================
   Global Color Variables
   ======================================================= */

body {
    background-color: var(--secondary-1);
}

:root {
    /* Primary Colors */
    --primary-1: #3354FF;

    /* Secondary Colors */
    --secondary-1: #F6F8FF;
    --secondary-2: #D2DCFF;

    /* Neutral Colors */
    --neutral-100: #FFFFFF;
    --neutral-200: #F9F9F9;
    --neutral-300: #ECF0FA;
    --neutral-400: #D8DBE9;
    --neutral-500: #AEB3C1;
    --neutral-600: #474B64;
    --neutral-700: #212438;
    --neutral-800: #0E1435;

    /* System Colors: Blue */
    --blue-100: #EAF4FF;
    --blue-200: #8FC3FF;
    --blue-300: #1DB8FE;
    --blue-400: #086CD9;

    /* System Colors: Green */
    --green-100: #DEF2E6;
    --green-200: #7FDCA4;
    --green-300: #05C168;
    --green-400: #11845B;

    /* System Colors: Red */
    --red-100: #FFFEF0;
    --red-200: #FFBEC2;
    --red-300: #FF5A65;
    --red-400: #DC2B2B;

    /* System Colors: Orange */
    --orange-100: #FFF3E4;
    --orange-200: #FFD19B;
    /* Nota: Verifica che il codice #3354FF per Orange 300 sia corretto 
       o se è un errore nel design. Lo lascio così come da mockup. */
    --orange-300: #3354FF;
    --orange-400: #D5691B;
}

/* =======================================================
   Typography Styles
   ======================================================= */

/* Import Font */
@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Thicccboi';
    src: url('/assets/fonts/THICCCBOI-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'LineRoundedIcons';
    src: url('/assets/fonts/line-rounded-icons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Root Variables */
:root {
    --font-primary: 'Thicccboi', sans-serif;
    --font-thin: 100;
    --font-extralight: 200;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

/* General Typography */
body {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    font-size: 16px;
    line-height: 1.5;
    color: #212438;
}

/* Special Headings */
.display-1 {
    font-size: 64px;
    font-weight: var(--font-medium);
    line-height: 72px;
}

.display-2 {
    font-size: 52px;
    font-weight: var(--font-medium);
    line-height: 60px;
}

.display-3 {
    font-size: 32px;
    font-weight: var(--font-medium);
    line-height: 40px;
}

.display-4 {
    font-size: 28px;
    font-weight: var(--font-medium);
    line-height: 36px;
}

.display-5 {
    font-size: 16px;
    font-weight: var(--font-semibold);
    line-height: normal;
    color: var(--primary-1);
}

.color-accent {
    color: var(--primary-1);
}

.blog-accent {
    color: var(--neutral-600)!important;
}

/* Headings */
h1,
.heading-h1 {
    font-size: 48px;
    font-weight: var(--font-medium);
    line-height: 56px;
}

h2,
.heading-h2 {
    font-size: 40px;
    font-weight: var(--font-medium);
    line-height: 48px;
}

h3,
.heading-h3 {
    font-size: 32px;
    font-weight: var(--font-medium);
    line-height: 40px;
}

h4,
.heading-h4 {
    font-size: 28px;
    font-weight: var(--font-medium);
    line-height: 36px;
}

h5,
.heading-h5 {
    font-size: 24px;
    font-weight: var(--font-medium);
    line-height: 32px;
}

h6,
.heading-h6 {
    font-size: 18px;
    font-weight: var(--font-medium);
    line-height: 28px;
}

/* Body Text */
.body-large {
    font-size: 20px;
    font-weight: var(--font-regular);
    line-height: 28px;
}

.body-default {
    font-size: 16px;
    font-weight: var(--font-regular);
    line-height: 24px;
}

.body-small {
    font-size: 14px;
    font-weight: var(--font-regular);
    line-height: 20px;
}

/* Numbers Text */
.text-single_400 {
    font-size: 18px;
    font-weight: var(--font-regular);
    color: var(--primary-1);
}

.text-single_500 {
    font-size: 14px;
    font-weight: var(--font-medium);
    color: var(--primary-1);
}

.text-single_600 {
    font-size: 18px;
    font-weight: var(--font-bold);
    color: var(--primary-1);
}

/* Uppercase Text */
.text-uppercase {
    text-transform: uppercase;
}

.text-uppercase-400 {
    font-size: 24px;
    font-weight: var(--font-regular);
}

.text-uppercase-300 {
    font-size: 20px;
    font-weight: var(--font-medium);
}

.text-uppercase-200 {
    font-size: 16px;
    font-weight: var(--font-regular);
}

.text-uppercase-100 {
    font-size: 14px;
    font-weight: var(--font-regular);
}

footer a{
    font-size: 14px;
    color: var(--neutral-800);
    text-decoration: none;
    line-height: 2rem;
    transition: .3s ease-in-out;
}

footer a:hover {
    color: var(--primary-1);
}

.footer_contacts span {
    color: var(--neutral-500);
    font-size: 14px;
}

footer .credits p{
    color: var(--neutral-500);
}

footer .credits a{
    font-size: 16px;
    color: var(--primary-1);
}

footer .credits a:hover{
    color: var(--blue-300);
}

@media screen and (max-width:1920px) {

    .box_title .display-2{
        font-size: 42px;
    }
    
}

@media screen and (max-width:1499px) {
    .display-1 {
        font-size: 58px;
        line-height: 58px;
    }
    
}

@media screen and (max-width:1399px) {
    .display-1 {
        font-size: 42px;
        line-height: 52px;
    }
    
}

@media screen and (max-width:1399px) {
    footer h5{
        font-size: 18px;
    }

    footer a{
        font-size: 12px;
        line-height: 1.75rem;
    }

    .footer_contacts span {
        font-size: 12px;
    }

    footer .credits p,
    footer .credits a {
        font-size: 12px;
    }
}



@media screen and (max-width:1299px) {
    footer h5{
        font-size: 16px;
    }

    footer a{
        font-size: 12px;
        line-height: 1.75rem;
    }
}



@media screen and (max-width:1199px) {
    .display-1 {
        font-size: 48px;
        line-height: 58px;
    }

    .box_title .display-2{
        font-size: 32px;
    }

    .box_title p{
        font-size: 14px;
    }

    footer .display-2 {
        font-size: 42px;
    }
}

/* Responsive Typography */
@media screen and (max-width: 1024px) {
    .display-1 {
        font-size: 40px;
        line-height: 48px;
    }

    .display-2 {
        font-size: 44px;
        line-height: 52px;
    }

    .display-3 {
        font-size: 28px;
        line-height: 36px;
    }

    .display-4 {
        font-size: 24px;
        line-height: 32px;
    }

    h1 {
        font-size: 40px;
        line-height: 48px;
    }

    h2 {
        font-size: 36px;
        line-height: 44px;
    }

    footer .display-2 {
        font-size: 36px;
    }
}

@media screen and (max-width:992px){
    .box_title p{
        font-size: 12px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .display-1 {
        font-size: 32px;
        line-height: 40px;
    }

    .display-2 {
        font-size: 36px;
        line-height: 44px;
    }

    .display-3 {
        font-size: 24px;
        line-height: 32px;
    }

    .display-4 {
        font-size: 20px;
        line-height: 28px;
    }

    .display-5 {
        font-size: 14px;
        line-height: 20px;
    }

    h1 {
        font-size: 36px;
        line-height: 44px;
    }

    h2 {
        font-size: 32px;
        line-height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .display-1 {
        font-size: 36px;
        line-height: 44px;
    }

    .display-2 {
        font-size: 28px;
        line-height: 36px;
    }

    .display-3 {
        font-size: 20px;
        line-height: 28px;
    }

    .display-4 {
        font-size: 18px;
        line-height: 24px;
    }

    h1 {
        font-size: 28px;
        line-height: 36px;
    }

    h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .text-single_500 {
        font-size: 12px;
    }

    footer .display-2{
        font-size: 26px;
        padding-top: 1.5rem;
    }

    footer h5 {
        font-size: 14px;
        line-height: 1rem;
    }

    footer a {
        font-size: 10px;
    }

    .footer_contacts span {
        font-size: 10px;
    }
}

@media screen and (max-height:450px) {
    .display-1 {
        font-size: 22px;
        line-height: 22px;
    }

    .text-single_500 {
        font-size: 12px;
    }

    p {
        font-size: 12px;
    }
}

@media screen and (max-width:360px) {

    .text-single_500 {
        font-size: 10px;
    }

    footer h5 {
        font-size: 12px;
        line-height: 1rem;
    }

    footer a {
        font-size: 8px;
        line-height: 1.4rem;
    }

    .footer_contacts span {
        font-size: 8px;
    }
    
}

/* Rich Text */
.text-link {
    font-size: 16px;
    text-decoration: underline;
    color: #3354FF;
    cursor: pointer;
}

.text-link:hover {
    color: #1DB8FE;
}

/* Shadow 01 */

.shadow-01 {
    box-shadow: 0px 2px 6px rgba(0, 17, 102, 0.06);
}

/* Shadow 02 */

.shadow-02 {
    box-shadow: 0px 2px 12px rgba(0, 17, 102, 0.08);
}

/* Shadow 03 */

.shadow-03 {
    box-shadow: 0px 8px 28px rgba(0, 17, 102, 0.1);
}

/* Shadow 04 */

.shadow-04 {
    box-shadow: 0px 14px 42px rgba(0, 17, 102, 0.14);
}

/* Shadow 05 */

.shadow-05 {
    box-shadow: 0px 24px 65px rgba(0, 17, 102, 0.16);
}

/* Shadow 06 */

.shadow-06 {
    box-shadow: 0px 32px 72px rgba(0, 17, 102, 0.24);
}

/*#######################################################
  ################## BACKGROUNDS ##########################
  #########################################################*/

.bg_neutral {
    background-color: var(--neutral-100);
}

.bg_secondary {
    background-color: var(--secondary-1);
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.bg_rounded {
    border-radius: 25px !important;
}

.cta_bg {
    background-image: url('/assets/img/elements/cta_img.png');
    background-size: cover;
    background-color: #ccc;
    background-position: center;
    border-radius: 25px;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.home-3_bg {
    background-image: url('/assets/img/home/hero_home-3.png');
    background-repeat: no-repeat;
}



.cta_bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: inherit;
    z-index: 1;
}

/* Se necessario, il contenuto all'interno di .cta_bg deve avere un z-index maggiore: */
.cta_bg>* {
    position: relative;
    z-index: 2;
}

.cta_bg .heading-h6 {
    color: #fff !important;
}

.circular-image {
    width: 150px; /* Imposta la dimensione desiderata */
    height: 150px;
    border-radius: 50%;
    object-fit: cover; /* Per adattare l'immagine senza distorcerla */
    overflow: hidden;
    align-self: center;
}


@media screen and (max-width:575px) {

    .cta_section {
        display: flex;
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        margin-right: calc(var(--bs-gutter-x) * .5);
        margin-left: calc(var(--bs-gutter-x) * .5);
    }
}

/*#######################################################
  ################## HERO SECTIONS ########################
  #########################################################*/

.hero-1 {
    background-color: var(--secondary-1);
    height: 100vh;
}


/*#######################################################
  ################## BUTTONS ##############################
  #########################################################*/


/* ===============================
   Base Button Styles
  ================================ */

button {
    --primary-color: var(--primary-1);
    --secondary-color: #fff;
    --hover-color: #111;
    --arrow-width: 10px;
    --arrow-stroke: 2px;
    box-sizing: border-box;
    border: 0;
    border-radius: 50px;
    color: var(--secondary-color);
    padding: .6em 1.8em;
    background: var(--primary-color);
    display: flex;
    transition: 0.2s background, 0.2s color, 0.2s border;
    align-items: center;
    gap: 0.6em;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    justify-content: center;
}

.button-inline {
    flex-shrink: 0; 
    width: auto; 
    max-width: fit-content;
}

.btn_section {
    flex: 0 0 30%;
}

.outline_btn {
    --primary-color: transparent;
    color: var(--neutral-800);
    border: 1px solid var(--neutral-400);
    transition: .3s ease-in-out;
}

.box_title .outline_btn{
    font-size: 12px;
}

.outline_btn:hover {
    background-color: var(--neutral-400) !important;
    color: var(--neutral-800);
    border: 1px solid var(--neutral-400);
    transition: .3s ease-in-out;
}

.outline_light_btn {
    --primary-color: transparent;
    color: var(--neutral-800);
    border: 1px solid var(--neutral-400);
    transition: .3s ease-in-out;
}

.outline_light_btn_hero {
    color: #fff;
}

.outline_light_btn:hover {
    background-color: var(--neutral-400) !important;
    color: var(--neutral-800);
    border: 1px solid var(--neutral-400);
    transition: .3s ease-in-out;
}

.light_btn {
    background-color: #fff !important;
    color: var(--neutral-800) !important;
}


.light_btn:hover .arrow {
    background: var(--neutral-800) !important;
}

.light_btn .arrow::before {
    border-color: var(--neutral-800) !important;
}



@media screen and (max-width:1199px) {
    button {
        font-size: 12px;
    }
}

@media screen and (max-width:570px){

    .button-inline {
        width: 100%; 
        max-width: 100%;
    }

    .box_title .button-inline {
        width: 90%; 
        max-width: 90%;
        margin: 1rem auto;
    }
    
}

/* ===============================
     Arrow Styles
  ================================ */
button .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

button .arrow {
    margin-top: 1px;
    width: var(--arrow-width);
    background: var(--secondary-color);
    height: var(--arrow-stroke);
    position: relative;
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

button .arrow::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: solid var(--secondary-color);
    border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
    display: inline-block;
    top: -3px;
    right: 3px;
    transition: right 0.2s ease-in-out, transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
    padding: 3px;
    transform: rotate(-45deg);
}

/* Hover Effect */
button:hover {
    background-color: var(--hover-color);
}

button:hover .arrow {
    background: var(--secondary-color);
    transform: translateX(5px);
}

button:hover .arrow::before {
    right: 0;
}

/* ===============================
     Primary Button
  ================================ */
.primary {
    background-color: var(--primary-1);
    color: #fff;
}

.primary .arrow {
    background: transparent;
}

.primary .arrow::before {
    border-color: #fff;
}

.primary:hover {
    background-color: var(--blue-300);
}

/* ===============================
     Secondary Button
  ================================ */
.secondary {
    background: var(--neutral-300);
    border: 2px solid var(--neutral-300);
    color: var(--neutral-700);
}

.secondary .arrow {
    background: transparent;
}

.outline_light_btn .arrow::before,
.secondary .arrow::before {
    border-color: var(--neutral-700);
}

.secondary:hover {
    background: var(--neutral-400);
    border: 2px solid var(--neutral-400);
    color: var(--neutral-700);
}

.outline_light_btn:hover .arrow,
.secondary:hover .arrow {
    background: var(--neutral-700);
}

.secondary:hover .arrow::before {
    border-color: var(--neutral-700);
}

/* ===============================
     Secondary No Outline Button
  ================================ */
.no_outline {
    background: none;
    border: none !important;
    padding: 0;
    font-weight: 700;
}

.no_outline:hover {
    background: none;
    border: none !important;
}

/* ===============================
     Circle Buttons
  ================================ */
.circle {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Primary Circle Button */
.primary-circle {
    background-color: var(--primary-1);
    color: #fff;
}

.primary-circle .arrow {
    background: #fff;
}

.primary-circle .arrow::before {
    border-color: #fff;
}

.primary-circle:hover {
    background-color: var(--primary-1);
}

/* Secondary Circle Button */
.secondary-circle {
    background: transparent;
    border: 2px solid var(--primary-1);
    color: var(--primary-1);
}

.secondary-circle .arrow {
    background: var(--primary-1);
}

.secondary-circle .arrow::before {
    border-color: var(--primary-1);
}

.secondary-circle:hover {
    background: var(--primary-1);
    color: #fff;
}

.secondary-circle:hover .arrow {
    background: #fff;
}

.secondary-circle:hover .arrow::before {
    border-color: #fff;
}

.btn_abs_wrapper {
    position: relative;
}

.btn_abs {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1055;
}

.card_btn {
    flex: 0 0 50%;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    button {
        padding: 0.9em 1em;
        font-size: 12px;
        --arrow-width: 9px;
    }
}

@media screen and (max-width:992px) {
    .no_outline {
        margin: auto;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    button {
        padding: 0.8em 1.4em;
        font-size: 12px;
        --arrow-width: 8px;
    }

    .btn_section {
        flex: 0 0 50%;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    button {
        padding: 0.7em 1.2em;
        font-size: 13px;
        --arrow-width: 7px;
        border-radius: 40px;
        gap: 0.4em;
    }

    .btn_section {
        flex: 0 0 70%;
    }
}


/*#######################################################
  ####################### NAVBAR ##########################
  #########################################################*/

.navbar-toggler:hover{
    background-color:transparent!important;
}  

.navbar-expand-lg .navbar-collapse {
    justify-content: space-between;
}

.nav-item {
    padding-right: 1.5rem;
}

.navbar-toggler{
    border: none;
    font-size: 1rem;
}

@media (min-width: 992px) {
    /* Stile generale dei link della navbar con effetto underline animato */
    .nav-link {
      position: relative;
      transition: color 0.3s ease;
    }
    
    .nav-link::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--primary-1);
      transition: width 0.3s ease;
    }
    
    .nav-link:hover {
      color: var(--primary-1);
    }
    
    .nav-link:hover::before {
      width: 100%;
    }
    
    /* Dropdown: apertura al passaggio del mouse */
    .nav-item.dropdown:hover > .dropdown-menu {
      display: block;
    }
    
    /* Effetto dropdown fluido */
.nav-item .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Mostra il dropdown con transizione */
.nav-item .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}
    
    /* Posizionamento e effetto chevron per item con dropdown */
    .nav-item.dropdown > .nav-link {
      position: relative;
      padding-right: 1rem; /* spazio per il chevron */
    }
    
    .nav-item.dropdown > .nav-link::after {
      content: '\f054';  /* icona FontAwesome (chevron right) */
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
      font-size: 0.75rem;
      border: none!important;
    }
    
    .nav-item.dropdown:hover > .nav-link::after {
      transform: translateY(-50%) rotate(90deg);
    }
    
    /* Dropdown menu styling */
    .dropdown-menu {
      background-color: #fff;
      border: none;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 0.5rem 0;
      margin-top: 0.5rem;
    }
    
    .dropdown-menu .dropdown-item {
      padding: 0.75rem 1.5rem;
      color: #333;
      transition: background-color 0.3s ease, color 0.3s ease;
      position: relative;
    }
    
    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item:focus {
      background-color: #f5f5f5;
      color: var(--primary-1);
    }
  }


@media screen and (max-width:1199px) {
    .navbar-brand {
        width: 10vw;
    }

    .navbar-brand img {
        max-width: 100%;
    }
}

@media screen and (max-width:992px) {
    .navbar-brand {
        width: 20vw;

    }

    .nav-item {
        border-bottom: 1px solid var(--secondary-2);
        width: 100%;
    }

    .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    button:focus:not(:focus-visible) {
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-collapse {
        position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(50vh - 50px);
        background-color: #fff;
        padding: 2rem 0;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    /* Dropdown: menu nascosto di default, visualizzato solo quando attivo */
    .nav-item.dropdown>.dropdown-menu {
        position: static;
        display: none;
        padding-left: 1rem;
        margin: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }

    .nav-item.dropdown.show>.dropdown-menu {
        display: block;
    }

    .nav-item.dropdown>.nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1.5rem;
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    /* Rimuove l'effetto underline in mobile */
    .nav-link::before {
        display: none;
    }

    /* Chevron: rimuove il bordo e imposta la transizione */
    .nav-item.dropdown>.nav-link::after {
        content: '\f078';
        /* FontAwesome: freccia verso il basso */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        transition: transform 0.3s ease;
        font-size: 0.75rem;
        border: none;
    }

    /* Quando il dropdown è aperto, cambia colore del link e ruota lo chevron */
    .nav-item.dropdown.show>.nav-link {
        color: var(--primary-1);
    }

    .nav-item.dropdown.show>.nav-link::after {
        transform: rotate(180deg);
    }

    /* Per gli altri link non-dropdown, allinea a sinistra */
    .navbar-nav>.nav-item:not(.dropdown) .nav-link {
        padding: 0.75rem 1.5rem;
        text-align: left;
    }
}

@media screen and (max-width:767px) {

    .navbar-collapse {
        top: 40px;
    }
    
}


/*#######################################################
  ################## WRAPPERS #############################
  #########################################################*/

.rel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.abs_Top_container {
    position: absolute;
    top: 0;
}

.logo-stripe_container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    overflow: hidden;
}

.logo-stripe_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 5vh;
}

.logo-stripe_wrapper img {
    width: 70%;
    padding: 10px;
}

.fixed-top {
    position: fixed !important;
    width: auto;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0) !important;
    transition: background-color .2s ease;
}

.blog_info_head {
    display: flex;
    justify-content: space-between;
}

/* CSS per quando si scrolla */
.fixed-top.scrolled {
    background-color: rgba(255, 255, 255, 1) !important;
    transition: background-color .2s ease;
}

@media screen and (min-width: 1024px) and (max-width: 1025px) and (min-height:1000px) {
    .rel-container img {
        width: 90vw;
    }
}



@media screen and (min-width: 1024px) and (max-width: 1025px) and (min-height:1000px) {
    .rel-container img {
        width: 90vw;
    }
}

@media screen and (max-width:992px) {
    .rel-container img {
        width: 85vw;
    }

    .fixed-top {
        background-color: rgba(255, 255, 255, 1) !important;
        transition: background-color .2s ease;
        padding: 0 .5rem;
    }

}

@media screen and (max-width:767px) {

    .hero-1 .rel-container {
        background-image: url('/assets/img/home/hero_home.png');
        background-size: cover;
        background-position: center;
        height: 20vh;
        align-items: center;
        justify-content: center !important;

    }

    .logo-stripe_wrapper img {
        width: 60%;
        padding: 10px;
    }
}

@media screen and (max-height:450px) {
    .rel-container img {
        width: 30vw;
        align-self: flex-end;
    }

    .logo-stripe_wrapper {
        bottom: 0;
        max-height: 10vh;
        margin-bottom: 0 !important;
    }

    .logo-slider img {
        max-width: 60% !important;
    }
}


/*#######################################################
  ################## ORNAMENTS ############################
  #########################################################*/

.left_TranspGrad,
.right_TranspGrad {
    position: absolute;
    height: 100%;
    z-index: 5;
    width: 20%;
    bottom: 0;
}

.left_TranspGrad {
    background: var(--secondary-1);
    /* Fallback per browser che non supportano gradienti */
    background: linear-gradient(to right, var(--secondary-1), rgba(0, 0, 0, 0));
    left: 0;
}

.right_TranspGrad {
    background: var(--secondary-1);
    /* Fallback per browser che non supportano gradienti */
    background: linear-gradient(to left, var(--secondary-1), rgba(0, 0, 0, 0));
    position: absolute;
    right: 0;
    height: 100%;
    z-index: 5;
    width: 15%;
    bottom: 0;
}

/*#######################################################
  ################## SLIDER ###############################
  #########################################################*/


.logo-slider {
    display: flex;
    align-items: center;
}

.logo-slider img {
    max-width: 100%;
    margin: 0 15px;
}

.slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*#######################################################
  ################## DISTANCERS ###########################
  #########################################################*/

.distancer_10 {
    height: 10vh;
}

.distancer_15 {
    height: 15vh;
}

.distancer_30 {
    height: 30vh;
}

.phase_distancer_bottom {
    position: relative;
    margin-bottom: -25vh;
    top: 0;
    z-index: 2;
    
}

.phase_distancer_top {
    position: relative;
    margin-top: -25vh;
    padding-top: 25vh;
}

@media screen and (max-width:1299px) {

}

@media screen and (max-width:1199px) {

    .distancer_15 {
        height: 5vh;
    }

    .cta_bg .distancer_10 {
        height: 0;
    }

}

@media screen and (max-width:1100px) {}

@media screen and (max-width:1024px) {
    .distancer_15 {
        height: 5vh;
    }
}

@media screen and (max-width:992px) {}

@media screen and (max-width:768px) {
    .distancer_15 {
        height: 5vh;
    }
}

@media screen and (max-width:474px) {
    .distancer_15 {
        height: 15vh;
    }
}


/*#######################################################
  ################## OVERRIDES ###########################
  #########################################################*/

.zindex_5 {
    z-index: 5!important;
}

.hidden_OF {
    overflow: hidden;
}

.no_hover:hover{
    background-color: none;
    color: inherit;
    box-shadow: none!important;
    cursor: default;
}

.round_border {
    border-radius: 25px;
}



/*#######################################################
  ################## DIVIDERS #############################
  #########################################################*/

.divider_section {
    border-bottom: 2px solid var(--neutral-300);
    width: auto;
    align-self: flex-end;
}

.divider_bottom {
    border-bottom: 1px solid var(--neutral-300);
    width: 50%;
    align-self: flex-end;
}

.divider_right {
    position: absolute;
    border-left: 1px solid var(--neutral-300);
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    height: 10vh;
    left: 0;
}

.divider_400{
    border-bottom: 2px solid var(--neutral-400);
    display: flex;
    flex-direction: row;
}

@media screen and (max-width:768px) {
    .divider_bottom {
        border-bottom: 0px;
        border-right: 5px solid var(--blue-400);
        width: 100%;
    }
}




/*#######################################################
  ################## BOXES ################################
  #########################################################*/

.box_neutral_100 {
    background-color: var(--neutral-100);
    display: flex;
    flex-direction: column;
    min-height: 25vh;
    border-radius: 25px;
    justify-content: space-between;
    transition: .3s ease-in-out;
}

.card_neutral_100 {
    background-color: var(--neutral-100);
    display: flex;
    flex-direction: column;
    min-height: 25vh;
    border-radius: 25px;
    justify-content: space-between;
    transition: .3s ease-in-out;
}

.card_transparent {
    background-color:none;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    justify-content: space-between;
    transition: .3s ease-in-out;
}

.img_square {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

.img_square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img_rect {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

.img_rect {
    width: 100%;
    height: 50%!important;
    object-fit:cover;
}

.box_link {
    color: var(--neutral-800) !important;
    text-decoration: none !important;
    transition: .3s ease-in-out;
}

.box_neutral_100 path {
    fill: var(--neutral-400);
    transition: .3s ease-in-out;
}

.box_neutral_100 svg {
    align-self: center;
    transition: .3s ease-in-out;
}

.box_link:hover {
    color: #fff !important;
    transition: .3s ease-in-out;
}

.box_link:hover>.box_neutral_100 {
    background-color: var(--primary-1);
    transition: .3s ease-in-out;
}

.box_link:hover>.box_neutral_100 path {
    fill: #fff;
    transition: .3s ease-in-out;
}

.box_link:hover .line-rounded-icon,
.box_outline:hover .line-rounded-icon {
    transform: rotate(45deg);
    transition: .3s ease-in-out;
}

.box_link:hover svg {
    transform: scale(1.3);
    transition: .3s ease-in-out;
}

#slider_home2 .box_link svg{
    max-width: 30%;
}

.box_card img {
    max-width: 15%;
    align-self: flex-start;
}

.box_outline {
    border: 1px solid var(--neutral-400);
    cursor: pointer;
}

.box_outline:hover {
    
    box-shadow: 0px 7px 22px rgba(0, 17, 102, 0.14);
}

@media screen and (max-width:1199px) {

    .img_rect {
        height: 100%!important;
    }
    
}

@media screen and (max-width:475px) {

    .img_square {
        width: 100%;
        aspect-ratio: auto;
    }
    
    .img_square img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
}




/*#######################################
  ################ CARDS #################
  #######################################*/

.card_neutral_100 {
    background-color: var(--neutral-100);
    border-radius: 25px;
    transition: .3s ease-in-out;
}

.card_neutral_100 img{
    max-width: 20%;
}

.card_neutral_100 button{
    justify-content: start;
}

/*#######################################
  ################ SLIDER #################
  #######################################*/ 

.custom-slider {
    margin: 0 auto;
    position: relative;
}

.slide {
    position: absolute;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.05s ease;
}

.slide.active {
    opacity: 1;
    display: flex !important;
    position: relative;
    z-index: 10;
}

.slide .slide-content,
.slide .slide-image {
    min-height: 400px;
}

.slide-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.slide-content {
    padding: 1rem;
}

.custom-slider .arrows,
.slider-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.custom-slider .arrow,
.slider-controls .arrow {
    font-family: 'LineRoundedIcons';
    background: transparent;
    border: 1px solid #3354FF;
    width: 40px;
    height: 40px;
    color: #3354FF;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
}

.custom-slider .arrow:hover:not(:disabled)
.slider-controls .arrow:hover:not(:disabled) {
    background: #3354FF;
    color: #fff;
}

.custom-slider .arrow:disabled,
.slider-controls .arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

@media screen and (max-width:992px) {

    .slide .slide-content,
    .slide .slide-image {
        min-height: 100px;
    }

}

@media screen and (max-width:1570px) {

    #slider_home2.rel-wrapper{
        max-width: 90vw;
    }

    #slider_home2 .float_padding{
        padding-right: calc(var(--bs-gutter-x) * 3)!important;
        padding-left: calc(var(--bs-gutter-x) * 3)!important;
        margin-right: auto!important;
        margin-left: auto!important;
    }

    #slider_home2 .distancer_10{
        height: 2vh;
    }

}

@media screen and (max-width:992px) {

    #slider_home2 .float_padding{
        padding-right: calc(var(--bs-gutter-x) * .5)!important;
        padding-left: calc(var(--bs-gutter-x) * .5)!important;
        margin-right: auto!important;
        margin-left: auto!important;
    }

    #slider_home2.rel-wrapper{
        max-width: 100%;
    }

}

@media screen and (max-width:768px) {

}


/*######################################
  ######### ICONS ######################
  #######################################*/

.icon_contacts img{
    max-width: 100%;
}

.icon_contacts span {
    color: var(--neutral-500);
    font-size: 14px;
}

@media screen and (max-width:1399px) {

    .icon_contacts span {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {

    .icon_contacts span {
        font-size: 10px;
    }

    .icon_contacts p,
    .icon_contacts a {
        font-size: 12px;
    }
}

@media screen and (max-width:360px) {

    .icon_contacts span {
        font-size: 8px;
    }
    
}  

.line-rounded-icon {
    font-family: 'LineRoundedIcons';
    font-size: 18px;
    align-self: flex-end;
    transition: .3s ease-in-out;
}

.social_icons a {
    font-size: 1.5rem;
    color: #fff;
    margin: auto .5rem;
    transition: .3s ease-in-out;
}

.social_icons a:hover {
    color: var(--neutral-400);
    transition: .3s ease-in-out;
}

.social_icons_light a {
    font-size: 1.5rem;
    color: var(--neutral-800);
    margin: auto .5rem;
    transition: .3s ease-in-out;
}

.social_icons_light a:hover {
    color: var(--primary-1);
    transition: .3s ease-in-out;
}

.news_icons img {
    max-width: 20%;
    align-self: center;
}

footer .social_icons a{
    color: var(--neutral-800);
    margin: auto .5rem;
    font-size: 1.2rem;
}


footer {
    --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

footer .social_icons a:hover{
    color: var(--primary-1);
}

.footer_contacts img{
    max-width: 100%;
}

@media screen and (max-width:1199px) {
    .box_title .social_icons_light a{
        font-size: 1rem;
    }
}



/*###############################################
############### HOME 2 ##########################*/

#home-2 .fixed-top {
    position: fixed !important;
    width: auto;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: var(--secondary-1)!important;
}

#home-2 .hero-2{
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content:space-evenly;
}

#home-2 .float-rx_bg{
    background-color: var(--neutral-100);
    position: absolute;
    width: 95vw;
    right: 0;
    border-radius: 50px 0 0 50px ;
    z-index: -1;
    height: 100%;
}

#home-2 .float-sx_bg{
    background-color: var(--neutral-100);
    position: absolute;
    width: 95vw;
    left: 0;
    border-radius: 0 50px 50px 0;
    z-index: -1;
    height: 100%;
}

#home-2 .float-rx_bg.float-rx_cta-bg{
    background-color: none!important;
    background-image: url('/assets/img/elements/cta_img.png')!important;
    background-size: cover;
    background-color: #ccc;
    background-position: center;
}



#home-2 .cta_section2 .overlay-rx {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4) !important;
    position: absolute;
    width: 95vw;
    right: 0;
    border-radius: 50px 0 0 50px;
    z-index: 1;
}

#home-2 .cta_section2 .cta_bg,
#home-2 .cta_section2 .cta_bg .overlay{
    background-image:none!important;
    background: none!important;
}

.float_img-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: relative;
}

.float_img img{
    max-width: 65%;
    display: flex;
}

#home-2 .logo-stripe_wrapper {
    position: relative;
}

#home-2 .rel-container {
    padding: 1rem!important;
}

#home-2 .rel-wrapper {
    position: relative;
}

#home-2 .sphere img {
    max-width: 80%;
}

#home-2 .divider_bottom {
    width: 100%;
}

#counter_2x2 p{
    margin: 0;
}

@media screen and (max-width:1199px) {

    #home-2 .distancer_15 {
        height: 15vh;
    }
    
}

@media screen and (max-width:992px) {


    .hero-1 .rel-wrapper{
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-1 .logo-stripe_wrapper{
        position: relative;
        padding-top: 2rem;
        margin-bottom: 2rem;
    }

    .hero-1 .left_TranspGrad,
    .hero-1 .right_TranspGrad{
        display: none;
    }

    #home-2 .hero-2{
        height: auto;
    }

    #home-2 .float-rx_bg.float-rx_cta-bg,
    #home-2 .cta_section2 .overlay-rx,
    #home-2 .float-rx_bg{
        right: 0;
        left: 0;
        border-radius: 25px 25px ;
        z-index: -1;
        height: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto;
        max-width: 720px;
        
    
    }
    
    #home-2 .float-sx_bg{
        width: 100%;
        right: 0;
        left: 0;
        border-radius: 0 ;
        z-index: -1;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto;
        
    
    }


    .float_img img{
        max-width: 85%;
        display: flex;
    }
    
}

@media screen and (max-width:768px) {
    .hero-1{
        display: flex;
        align-items: stretch;
    }
}

@media screen and (max-width:575px) {

    .float_img img{
        max-width: 150%;
        display: flex;
        margin-left: -2rem;
    }
    
}

/*###############################################
############### HOME 3 ##########################*/

/*###############################################
############### ACCORDION #######################
#################################################*/

  
  
  /* Custom Accordion Styles */
  .custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--neutral-400);
    margin-bottom: 0.5rem;
    --bs-accordion-bg: transparent;
  }
  
  .custom-accordion .accordion-button {
    padding: 1.5rem 0;
    background: none;
    border: none;
    box-shadow: none !important;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 500;
  }
  
  .custom-accordion .accordion-button:not(.collapsed) {
    color: var(--text-color);
    background: none;
  }
  
  .custom-accordion .accordion-button::after {
    content: '+';
    background-image: none;
    font-size: 1.5rem;
    width: auto;
    height: auto;
    font-weight: 300;
  }
  
  .custom-accordion .accordion-button:not(.collapsed)::after {
    content: '×';
    transform: none;
    font-size: 1.5rem;
  }
  
  .custom-accordion .accordion-body {
    padding: 0 0 1.5rem 0;
    color: #666;
  }
  
  .custom-accordion .number {
    margin-right: 0.5rem;
    font-weight: 500;
  }
  
  /* Button Styles */
  #accordion .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
  }
  
  #accordion .btn-primary:hover {
    background-color: #7A6FEF;
    border-color: #7A6FEF;
  }
  
  #accordion .btn-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
  }
  
  #accordion .btn-link:hover {
    color: var(--primary-color);
  }
  
  /* Image Container */
  .image-container {
    border-radius: 1rem;
    overflow: hidden;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 991.98px) {
    .image-container {
      margin-top: 3rem;
    }
  }

  