/* input(1098,144): run-time error CSS1062: Expected semicolon or closing curly-brace, found ''' */
/* Bootstrap Minimal - SOLO classi usate dal progetto */
/* Estratto da Bootstrap 5.3.3 - Solo quello che serve */

/* === REBOOT === */
*,::after,::before{box-sizing:border-box}
html{line-height:1.15;-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;-webkit-text-size-adjust:100%}
hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}
h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}
h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}
p{margin-top:0;margin-bottom:1rem}
ol,ul{padding-left:2rem;margin-top:0;margin-bottom:1rem}
a{color:rgba(var(--bs-link-color-rgb,13,110,253),1);text-decoration:underline}
a:hover{color:rgba(var(--bs-link-hover-color-rgb,10,88,202),1)}
img{vertical-align:middle}
table{caption-side:bottom;border-collapse:collapse}
th{text-align:inherit;text-align:-webkit-match-parent}
td,th{padding:.5rem}
label{display:inline-block}
button{border-radius:0}
button:focus:not(:focus-visible){outline:0}
input,button,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}
[hidden]{display:none!important}

/* === CONTAINER === */
.container,.container-fluid{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}
@media(min-width:576px){.container{max-width:540px}}
@media(min-width:768px){.container{max-width:720px}}
@media(min-width:992px){.container{max-width:960px}}
@media(min-width:1200px){.container{max-width:1140px}}
@media(min-width:1400px){.container{max-width:1320px}}

/* === ROW / COL GRID === */
.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1*var(--bs-gutter-y));margin-right:calc(-.5*var(--bs-gutter-x));margin-left:calc(-.5*var(--bs-gutter-x))}
.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}
.col{flex:1 0 0%}
.col-auto{flex:0 0 auto;width:auto}
.col-3{flex:0 0 auto;width:25%}
.col-4{flex:0 0 auto;width:33.333333%}
.col-6{flex:0 0 auto;width:50%}
.col-8{flex:0 0 auto;width:66.666667%}
.col-9{flex:0 0 auto;width:75%}
.col-12{flex:0 0 auto;width:100%}
@media(min-width:576px){
.col-sm-1{flex:0 0 auto;width:8.333333%}
.col-sm-2{flex:0 0 auto;width:16.666667%}
.col-sm-10{flex:0 0 auto;width:83.333333%}
.col-sm-12{flex:0 0 auto;width:100%}
}
@media(min-width:768px){
.col-md-1{flex:0 0 auto;width:8.333333%}
.col-md-2{flex:0 0 auto;width:16.666667%}
.col-md-3{flex:0 0 auto;width:25%}
.col-md-4{flex:0 0 auto;width:33.333333%}
.col-md-5{flex:0 0 auto;width:41.666667%}
.col-md-6{flex:0 0 auto;width:50%}
.col-md-7{flex:0 0 auto;width:58.333333%}
.col-md-8{flex:0 0 auto;width:66.666667%}
.col-md-9{flex:0 0 auto;width:75%}
.col-md-10{flex:0 0 auto;width:83.333333%}
.col-md-12{flex:0 0 auto;width:100%}
.offset-md-1{margin-left:8.333333%}
.offset-md-2{margin-left:16.666667%}
}
@media(min-width:992px){
.col-lg{flex:1 0 0%}
.col-lg-3{flex:0 0 auto;width:25%}
.col-lg-4{flex:0 0 auto;width:33.333333%}
.col-lg-6{flex:0 0 auto;width:50%}
.col-lg-7{flex:0 0 auto;width:58.333333%}
.col-lg-8{flex:0 0 auto;width:66.666667%}
.col-lg-9{flex:0 0 auto;width:75%}
.col-lg-10{flex:0 0 auto;width:83.333333%}
.col-lg-12{flex:0 0 auto;width:100%}
.offset-lg-1{margin-left:8.333333%}
}
@media(min-width:1200px){
.col-xl-8{flex:0 0 auto;width:66.666667%}
}
.g-4{--bs-gutter-x:1.5rem;--bs-gutter-y:1.5rem}

/* === TABLE === */
.table{--bs-table-bg:transparent;--bs-table-striped-bg:rgba(0,0,0,.05);width:100%;margin-bottom:1rem;vertical-align:top;border-color:#dee2e6}
.table>:not(caption)>*>*{padding:.5rem;border-bottom-width:1px;border-bottom-color:inherit}
.table-bordered>:not(caption)>*{border-width:1px 0}
.table-bordered>:not(caption)>*>*{border-width:0 1px}
.table-borderless>:not(caption)>*>*{border-bottom-width:0}
.table-striped>tbody>tr:nth-of-type(odd)>*{background-color:var(--bs-table-striped-bg)}
.table-active>*{background-color:rgba(0,0,0,.075)}
.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* === FORM === */
.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;appearance:none;background-color:#fff;background-clip:padding-box;border:1px solid #dee2e6;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}
.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}
.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}
.input-group>.form-control{position:relative;flex:1 1 auto;width:1%;min-width:0}
.input-group-append{display:flex}

/* === BUTTONS === */
.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.375rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}
.btn:hover{color:#212529}
.btn:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}
.btn:disabled,[disabled]>.btn{pointer-events:none;opacity:.65}
.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}
.btn-light:hover{color:#000;background-color:#d3d4d5;border-color:#c6c7c8}
.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}
.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}
.btn-outline-warning{color:#ffc107;border-color:#ffc107}
.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}
.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}
.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}

/* === NAVBAR === */
.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:.5rem;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}
.navbar>.container,.navbar>.container-fluid{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}
.navbar-nav{--bs-nav-link-padding-x:.5rem;--bs-nav-link-padding-y:.5rem;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}
.navbar-nav .nav-link{padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);color:var(--bs-navbar-color)}
.navbar-nav .nav-link:hover{color:var(--bs-navbar-hover-color)}
.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}
.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:.375rem;transition:box-shadow .15s ease-in-out}
.navbar-toggler:hover{text-decoration:none}
.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}
.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color:rgba(255,255,255,.55);--bs-navbar-hover-color:rgba(255,255,255,.75);--bs-navbar-active-color:#fff;--bs-navbar-toggler-border-color:rgba(255,255,255,.1)}
@media(min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}
@media(min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}

/* === COLLAPSE === */
.collapse:not(.show){display:none}
.collapsing{height:0;overflow:hidden;transition:height .35s ease}
.collapse.show{display:block}

/* === NAV === */
.nav-item{position:relative}
.nav-link{display:block;padding:var(--bs-nav-link-padding-y,.5rem) var(--bs-nav-link-padding-x,.5rem);color:var(--bs-nav-link-color,#0d6efd);text-decoration:none;transition:color .15s ease-in-out}
.nav-link:hover{color:var(--bs-nav-link-hover-color,#0a58ca)}

/* === DROPDOWN === */
.dropdown{position:relative}
.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}
.dropdown-menu{--bs-dropdown-min-width:10rem;--bs-dropdown-padding-y:.5rem;--bs-dropdown-bg:#fff;--bs-dropdown-border-color:rgba(0,0,0,.175);position:absolute;z-index:1000;display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:1px solid var(--bs-dropdown-border-color);border-radius:.375rem}
.dropdown-menu.show{display:block}
.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}
.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}

/* === CARD === */
.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-border-width:1px;--bs-card-border-color:rgba(0,0,0,.175);--bs-card-border-radius:.375rem;--bs-card-bg:#fff;position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}
.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x)}
.card-title{margin-bottom:.5rem}
.card-header{padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}
.card-header:first-child{border-radius:calc(var(--bs-card-border-radius) - var(--bs-card-border-width)) calc(var(--bs-card-border-radius) - var(--bs-card-border-width)) 0 0}
.card-footer{padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);background-color:rgba(0,0,0,.03);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}
.card-footer:last-child{border-radius:0 0 calc(var(--bs-card-border-radius) - var(--bs-card-border-width)) calc(var(--bs-card-border-radius) - var(--bs-card-border-width))}

/* === ACCORDION === */
.accordion{--bs-accordion-bg:#fff;--bs-accordion-border-color:rgba(0,0,0,.175);--bs-accordion-border-width:1px;--bs-accordion-border-radius:.375rem;--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem}
.accordion-item{color:#212529;background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}
.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}
.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}
.accordion-header{margin-bottom:0}
.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:#212529;text-align:left;background-color:var(--bs-accordion-bg);border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}
.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color,#052c65);background-color:var(--bs-accordion-active-bg,#cfe2ff)}
.accordion-button::after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}
.accordion-button:not(.collapsed)::after{transform:rotate(-180deg)}
.accordion-collapse{border:0}
.accordion-body{padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x)}

/* === BADGE === */
.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.375rem}

/* === ALERT === */
.alert{--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);border:1px solid transparent;border-radius:.375rem}
.alert-info{--bs-alert-color:#055160;--bs-alert-bg:#cff4fc;--bs-alert-border-color:#9eeaf9;color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border-color:var(--bs-alert-border-color)}

/* === LIST GROUP === */
.list-group{--bs-list-group-bg:#fff;--bs-list-group-border-color:rgba(0,0,0,.175);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.375rem}
.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:var(--bs-list-group-bg);border:1px solid var(--bs-list-group-border-color)}
.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}
.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}
.list-group-flush{border-radius:0}
.list-group-flush>.list-group-item{border-width:0 0 1px}
.list-group-flush>.list-group-item:last-child{border-bottom-width:0}
.list-unstyled{padding-left:0;list-style:none}

/* === IMG === */
.img-fluid{max-width:100%;height:auto}

/* === DISPLAY === */
.d-flex{display:flex!important}
.d-block{display:block!important}
.d-inline-block{display:inline-block!important}
.d-none{display:none!important}
.d-inline{display:inline!important}

/* === FLEX === */
.flex-row{flex-direction:row!important}
.flex-column{flex-direction:column!important}
.flex-wrap{flex-wrap:wrap!important}
.flex-grow-1{flex-grow:1!important}
.flex-md-nowrap{flex-wrap:nowrap!important}
@media(min-width:768px){.flex-md-row{flex-direction:row!important}.flex-md-nowrap{flex-wrap:nowrap!important}}
@media(min-width:992px){.flex-lg-row{flex-direction:row!important}}
.align-items-center{align-items:center!important}
.align-items-start{align-items:flex-start!important}
.align-self-center{align-self:center!important}
.justify-content-center{justify-content:center!important}
.justify-content-between{justify-content:space-between!important}
.gap-3{gap:1rem!important}

/* === SPACING === */
.m-0{margin:0!important}
.m-2{margin:.5rem!important}
.m-auto{margin:auto!important}
.mt-0{margin-top:0!important}
.mt-1{margin-top:.25rem!important}
.mt-2{margin-top:.5rem!important}
.mt-3{margin-top:1rem!important}
.mt-4{margin-top:1.5rem!important}
.mt-5{margin-top:3rem!important}
.mb-0{margin-bottom:0!important}
.mb-1{margin-bottom:.25rem!important}
.mb-2{margin-bottom:.5rem!important}
.mb-3{margin-bottom:1rem!important}
.mb-4{margin-bottom:1.5rem!important}
.mb-5{margin-bottom:3rem!important}
.ms-2{margin-left:.5rem!important}
.me-1{margin-right:.25rem!important}
.me-2{margin-right:.5rem!important}
.me-3{margin-right:1rem!important}
.me-5{margin-right:3rem!important}
.mx-auto{margin-left:auto!important;margin-right:auto!important}
.my-0{margin-top:0!important;margin-bottom:0!important}
.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}
.my-3{margin-top:1rem!important;margin-bottom:1rem!important}
.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}
.my-5{margin-top:3rem!important;margin-bottom:3rem!important}
@media(min-width:768px){.mt-md-0{margin-top:0!important}.mb-md-0{margin-bottom:0!important}}
.p-0{padding:0!important}
.p-3{padding:1rem!important}
.p-4{padding:1.5rem!important}
.p-5{padding:3rem!important}
.pt-0{padding-top:0!important}
.pt-3{padding-top:1rem!important}
.pb-3{padding-bottom:1rem!important}
.ps-3{padding-left:1rem!important}
.px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}
.py-0{padding-top:0!important;padding-bottom:0!important}
.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}
.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}
.py-5{padding-top:3rem!important;padding-bottom:3rem!important}
@media(min-width:768px){.p-md-5{padding:3rem!important}}

/* === TEXT === */
.text-center{text-align:center!important}
.text-left{text-align:left!important}
.text-right{text-align:right!important}
.text-uppercase{text-transform:uppercase!important}
.text-decoration-line-through{text-decoration:line-through!important}
.text-white{color:#fff!important}
.text-muted{color:rgba(33,37,41,.75)!important}
.text-primary{color:#0d6efd!important}
.text-secondary{color:#6c757d!important}
.text-success{color:#198754!important}
.text-danger{color:#dc3545!important}
.text-warning{color:#ffc107!important}
.text-dark{color:#212529!important}
@media(min-width:768px){.text-md-center{text-align:center!important}.text-md-end{text-align:right!important}}
.fw-bold{font-weight:700!important}

/* === BACKGROUND === */
.bg-dark{background-color:#212529!important}
.bg-light{background-color:#f8f9fa!important}
.bg-white{background-color:#fff!important}
.bg-primary{background-color:#0d6efd!important}
.bg-success{background-color:#198754!important}
.bg-info{background-color:#0dcaf0!important}
.bg-warning{background-color:#ffc107!important}
.bg-danger{background-color:#dc3545!important}
.bg-transparent{background-color:transparent!important}

/* === WIDTH / HEIGHT === */
.w-100{width:100%!important}
.h-100{height:100%!important}

/* === BORDER === */
.border-0{border:0!important}
.border-4{border-width:4px!important}
.border-bottom{border-bottom:var(--bs-border-width,1px) solid var(--bs-border-color,#dee2e6)!important}
.border-start{border-left:var(--bs-border-width,1px) solid var(--bs-border-color,#dee2e6)!important}
.border-warning{border-color:#ffc107!important}
.rounded{border-radius:.375rem!important}
.rounded-circle{border-radius:50%!important}

/* === SHADOW === */
.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}
.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}
.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}

/* === POSITION === */
.position-relative{position:relative!important}
.position-absolute{position:absolute!important}
.top-0{top:0!important}
.end-0{right:0!important}
.float-left{float:left!important}

/* === ORDER === */
.order-module{order:0}

/* === FIXED TOP (Navbar) === */
.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}

/* ===========================================
   BASE.CSS - Fondamenti, reset, layout, tipografia
   =========================================== */

/* ===========================================
   RESET & FONDAMENTI
   =========================================== */
html {
    background: #fff;
    height: 100%;
    margin: 0;
    scroll-behavior: auto !important;
}

body {
    background: #fff;
    height: 100%;
    margin: 0;
    font-family: 'Roboto', 'Roboto Fallback', Arial, sans-serif;
    padding-bottom: 20px;
}

:root {
    /* Primary - Orange */
    --primary: 27 100% 55%;
    --primary-rgb: 251, 142, 31;
    /* Success - Green */
    --success: 142 71% 45%;
    --success-rgb: 34, 197, 94;
    /* Danger - Red */
    --danger: 0 84% 60%;
    --danger-rgb: 239, 68, 68;
}

/* ===========================================
   LAYOUT PRINCIPALE
   =========================================== */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 94.46vh;
}

main {
    flex: 1;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.main-content {
    background-color: #fff;
    margin-top: 75px;
    animation: pageFadeIn .3s ease-out both;
}

.main-content.page-exit {
    opacity: 0;
    transition: opacity .15s ease-in;
}

@media (max-width: 587px){
    .navbar {
        min-height: 75px; height: 75px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .main-content {
        margin-top: 75px;
    }
}

@media (min-width: 1200px) {
    .main-content {
        margin-top: 70px;
    }
}

.container-body {
    margin: 0 auto;
    width: 100%;
}

.content {
    background-color: #fff;
}

@media(max-width: 567px) {
    .page-content {
        padding: 0 20px !important;
    }
}

/* ===========================================
   TIPOGRAFIA E FONT FALLBACK
   =========================================== */

/* Fallback font con metriche simili a Roboto per ridurre CLS */
@font-face {
    font-family: 'Roboto Fallback';
    src: local('Arial');
    size-adjust: 107%;
    ascent-override: 92%;
    descent-override: 24%;
    line-gap-override: 0%;
}

/* Fallback font con metriche simili a Roboto Slab */
@font-face {
    font-family: 'Roboto Slab Fallback';
    src: local('Times New Roman');
    size-adjust: 96%;
    ascent-override: 100%;
    descent-override: 27%;
    line-gap-override: 0%;
}

/* Fallback font con metriche simili a Raleway */
@font-face {
    font-family: 'Raleway Fallback';
    src: local('Arial');
    size-adjust: 105%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Applica font-family con fallback */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', 'Roboto Slab Fallback', 'Times New Roman', serif;
}

.raleway {
    font-family: 'Raleway', 'Raleway Fallback', Arial, sans-serif;
}

h1, h2, h3, label {
    color: #000;
}

a {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    color: #f78b1e;
    text-decoration: none;
}

    a:hover, a:hover h2 {
        color: #ff6d00;
        text-decoration: none;
    }

.content h2 {
    hyphens: none;
    word-wrap: break-word;
    padding: 0.4em 0.6em !important;
    position: relative;
    text-align: left;
}

.content h3 {
    font-size: 1.83rem;
}

.content a {
    text-decoration: none;
    color: #FB8C00;
    font-weight: bold;
}

    .content a:hover {
        color: #FF6D00;
    }

.content p, .content blockquote, .content pre {
    color: #4a4a4a;
    font-size: 1.1rem !important;
    line-height: 1.8rem;
    text-shadow: none;
    font-family: 'Roboto', 'Roboto Fallback', 'Open Sans', sans-serif;
    margin-bottom: 1rem;
}

.content pre {
    line-height: 1rem;
    overflow: hidden;
}

.content blockquote {
    color: #595959;
    margin: 0 0 1rem;
    border-left: 4px solid #ccc;
    padding-left: 10px;
    font-style: italic;
}

.content ol {
    counter-reset: li;
    margin-bottom: 40px;
}

    .content ol > li, .content ul > li {
        font-size: 1.1rem;
        line-height: 2.2rem;
        position: relative;
        list-style-position: inside;
    }

.content img {
    margin-bottom: 20px;
}

/* Rimuovi border-radius dal logo */
img[src*="logo.webp"],
img[src*="logo-xs.webp"] {
    border-radius: 0 !important;
}

/* Lock logo dimensions to prevent size changes between pages */
.navbar img[src*="logo"] {
    width: 210px;
    height: 48px;
    display: block;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .navbar img[src*="logo"] {
        width: 290px;
        height: 65px;
    }
}

/* ===========================================
   INPUT E FORM BASE
   =========================================== */
input {
    background: transparent;
    border: 1px solid #222222;
    border-radius: 0 !important;
}

input, select, textarea {
    max-width: 280px;
}

/* Validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* ===========================================
   ELEMENTI BASE
   =========================================== */
hr {
    border-top: 1px solid rgba(0, 0, 0, .15);
    width: 100%;
}

code {
    font-size: 100% !important;
}

.table > tbody > th:first-child {
    border: none;
}

.jumbotron-fluid-with-nav {
    padding-top: 90px;
}

/* ===========================================
   RESPONSIVE BASE
   =========================================== */
@media (max-width: 768px) {
    body {
        overflow-y: auto !important;
        height: auto !important;
    }

    .jumbotron-fluid-with-nav {
        margin-top: -75px !important;
        margin-bottom: 15px !important;
        padding-top: 85px !important;
        padding-bottom: 10px !important;
    }
}

@media (max-width: 576px) {
    .jumbotron-fluid-with-nav {
        margin-top: -75px !important;
        margin-bottom: 15px !important;
        padding-top: 85px !important;
        padding-bottom: 10px !important;
    }
}

@media (max-width: 587px) {
    .table th, .table td, .content ol > li, .content ul > li, .content p, .content blockquote {
        font-size: 1.4rem !important;
        line-height: 2.2rem;
        margin-bottom: 0.8rem;
    }
}

.card-body.black ul {
    padding-left: 0 !important;
}

    .card-body.black ul li {
        color: #000 !important
    }

.navbar-nav > li > a.nav-link {
    padding-top: 0;
}

/* ===========================================
   UTILITY
   =========================================== */

#dotnet-compile-error {
    display: none !important;
}
/* ===========================================
   NAVIGATION.CSS - Navbar e Menu
   =========================================== */

/* ===========================================
   DROPDOWN MENU
   =========================================== */
.navbar-nav .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ===========================================
   NAV BASE
   =========================================== */
.navbar-collapse {
    margin-left: 2rem;
}

.navbar-nav {
    width: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #000;
    line-height: 16px;
    text-align: center;
    margin: auto;
    transition: color 0.2s ease;
}

.nav-item {
    box-shadow: inset 0 -5px 0 transparent;
    transition: box-shadow 0.2s ease-in-out;
}

    .nav-item:hover {
        box-shadow: inset 0 -5px 0 #f78b1e;
    }

    /* Eccezione per il language switcher - nessuna linea sotto */
    .nav-item.language-switcher,
    .nav-item.language-switcher:hover {
        box-shadow: none !important;
    }

.navbar-brand {
    color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        color: #f78b1e;
    }

    .navbar-dark .navbar-nav .nav-link .active {
        font-weight: bold;
    }

#navbarDropdownCorsi + .dropdown-menu .dropdown-item {
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

    #navbarDropdownCorsi + .dropdown-menu .dropdown-item:hover {
        background-color: #f78b1e;
        color: white;
    }

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* ===========================================
   CTA BUTTON
   =========================================== */
.nav-menu-cta {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ff9800 !important;
    border-radius: 6px;
    box-shadow: none;
    transition: box-shadow .2s, color .2s, border .2s;
    height: 50px;
    margin-left: auto;
    margin-right: 1.6rem;
}

    .nav-menu-cta .nav-link {
        color: #fff !important;
        font-size: 1em;
        height: 50px;
        display: flex;
        align-items: center;
        transition: color .2s;
        padding: 0 1rem;
        white-space: nowrap;
    }

    .nav-menu-cta:hover,
    .nav-menu-cta:focus {
        color: #ff9800 !important;
        border-color: #fb8c00 !important;
        box-shadow: 0 0 16px 2px rgb(251 140 0);
        background: transparent !important;
    }

        .nav-menu-cta:hover .nav-link,
        .nav-menu-cta:focus .nav-link {
            color: #ff6f00 !important;
        }

.navbar-nav > li > a,
.navbar-dark .navbar-nav .nav-link {
    padding: 0 10px !important;
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 18px;
}

/* ===========================================
   NAVBAR TOGGLER
   =========================================== */
.navbar-toggler {
    border: 2px solid #ff9800 !important;
    background-color: transparent !important;
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 152, 0, 0.25) !important;
    }

    .navbar-toggler .fa-solid,
    .navbar-toggler .fa-bars {
        color: #fff !important;
        font-size: 1.5rem !important;
    }

/* ===========================================
   MOBILE SMALL (max-width: 767px)
   =========================================== */
@media (max-width: 767px) {
    .navbar {
        min-height: 75px !important;
        height: 75px !important;
    }

    .nav-menu-cta,
    .navbar-nav > li > a,
    .navbar-dark .navbar-nav .nav-link {
        height: auto;
        padding: 0 !important;
    }

    .nav-menu-cta {
        margin: 0.75rem 0;
        width: 100%;
    }

        .nav-menu-cta .nav-link {
            height: auto;
            justify-content: center;
            padding: 1rem 0;
        }
}

/* ===========================================
   DESKTOP (min-width: 1200px)
   =========================================== */
@media (min-width: 1200px) {
    .navbar {
        height: 70px !important;
    }

    .navbar-nav {
        justify-content: center;
        gap: 1rem;
    }

    .navbar-nav > li > a {
        padding-top: 30px !important;
        font-size: 1rem;
        line-height: 18px;
    }

    .nav-item.dropdown:hover .dropdown-menu,
    .courses-dropdown:hover .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .courses-dropdown .dropdown-menu {
        min-width: 250px;
    }

    .courses-dropdown .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 16px;
        color: #333;
        transition: all 0.2s ease;
    }

        .courses-dropdown .dropdown-item:hover {
            background-color: #f78b1e;
            color: white;
        }

    .mobile-courses-section,
    .mobile-courses-list,
    .mobile-course-link {
        display: none !important;
    }
}

/* ===========================================
   MOBILE & TABLET (max-width: 1199px)
   =========================================== */
@media (max-width: 1199px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
        overflow-y: auto !important;
        max-height: 80vh;
        scrollbar-width: none;
        padding-bottom: 1rem;
        margin-left: 0;
    }

    /* Override Bootstrap .collapsing transition — position:absolute
       breaks the height animation, so skip it entirely */
    .navbar-collapse.collapsing {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        transition: none !important;
    }

    .navbar-collapse.collapse.show {
        display: block !important;
    }

        .navbar-collapse::-webkit-scrollbar {
            display: none;
        }

    .navbar-nav {
        flex-direction: column;
        background: rgba(0, 0, 0, 0.65);
        padding: 0.75rem;
        border: 1px solid #ff8b00;
        border-radius: 5px;
        margin-top: 14px;
        align-items: flex-start;
    }

    .navbar-dark .navbar-nav .nav-link {
        text-align: left !important;
        font-size: 18px;
        margin: 0;
        color: #fff;
        padding: 0.75rem 1rem !important;
        min-height: 0;
        height: auto;
        line-height: 1.2;
        width: 100%;
    }

    .navbar-nav > li {
        margin-bottom: 0;
        width: 100%;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
    }

    .nav-menu-cta {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    /* Language Switcher */
    .language-switcher {
        width: 100%;
        padding: 0.75rem 0;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 152, 0, 0.3);
    }

    .language-switcher-mobile {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .language-flag-link,
    .language-flag-current {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
    }

        .language-flag-link .fi,
        .language-flag-current .fi {
            font-size: 2rem;
        }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .navbar-dark .navbar-toggler {
        display: block;
    }
}
/* Jumbotron styles extracted from components.css */

.jumbotron-fluid {
    position: relative;
    box-shadow: none;
    --tve-applied-box-shadow: none;
    overflow: hidden;
    isolation: isolate;
    background-color: #000;
    background-image: url(/content/images/bg-dark.webp?v=iLK27uv5pzgjhipdCEsSiegAdbs&v=ZHoqk3-_Jq3celHYh5k7kGz9O58);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-radius: 0;
    padding: 0;
    margin: 0 0 10px 0;
    width: 100%;    
    will-change: transform;
}

    .jumbotron-fluid > * {
        position: relative;
        z-index: 1;
    }

@media (max-width: 768px) {
    .jumbotron-fluid {
        background-attachment: scroll;
    }
}

.jumbotron-fluid .player-box {
    margin: 16px 0;
    border-radius: 24px;
}

.jumbotron-fluid .jumbotron-fluid-no-margin {
    margin: 0 0 20px 0 !important;
}

.jumbotron-fluid h1,
.jumbotron-fluid h2,
.jumbotron-fluid h5,
.jumbotron-fluid ul li {
    color: #fff;
}

.jumbotron-fluid h1 {
    text-shadow: rgb(0, 0, 0) 2px 2px 2px;
    color: #fff !important;
    font-family: "Roboto Slab" !important;
    font-weight: 300 !important;
    font-size: 36px !important;
    line-height: 1.2em !important;
    text-align: center !important;
}

.jumbotron-fluid h2 {
    margin-top: 20px;
    text-shadow: #000 2px 2px 2px;
    color: #fff !important;
    font-family: "Roboto Slab" !important;
    font-weight: 300 !important;
    font-size: 22px !important;
    line-height: 1.2em !important;
    text-align: center !important;
}

.jumbotron-fluid h5 {
    margin-top: 20px;
    text-shadow: #000 2px 2px 2px;
    color: #fff !important;
    font-family: "Roboto Slab" !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 1.2em !important;
    text-align: center !important;
}

.jumbotron-fluid-light {
    position: relative;
    box-shadow: none;
    overflow: hidden;
    isolation: isolate;
    background-color: #fff3e0;
    background-image: linear-gradient( to bottom, rgba(255, 255, 255, 0.95) 5%, rgba(255, 243, 224, 0.9) 50%, rgba(255, 255, 255, 0.95) 95% ), url(../css/main/'/content/images/bg-dark.webp?v=ZHoqk3-_Jq3celHYh5k7kGz9O58);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-radius: 0;
    padding: 10px 0;
    margin: 0 0 10px 0;
    width: 100%;
}

    .jumbotron-fluid-light h1,
    .jumbotron-fluid-light h2,
    .jumbotron-fluid-light h5,
    .jumbotron-fluid-light ul li {
        color: #2b1c00;
    }

    .jumbotron-fluid-light h1 {
        text-shadow: rgba(255, 255, 255, 0.7) 1px 1px 2px;
        font-family: "Roboto Slab" !important;
        font-weight: 400 !important;
        font-size: 36px !important;
        line-height: 1.2em !important;
        text-align: center !important;
        color: #1f1400 !important; /* WCAG AA compliant */
    }

    .jumbotron-fluid-light h2 {
        margin-top: 20px;
        text-shadow: rgba(255, 255, 255, 0.7) 1px 1px 2px;
        font-family: "Roboto Slab" !important;
        font-weight: 400 !important;
        font-size: 22px !important;
        line-height: 1.3em !important;
        text-align: center !important;
        color: #3a2600 !important; /* WCAG AA compliant */
    }

    .jumbotron-fluid-light h5 {
        margin-top: 20px;
        text-shadow: rgba(255, 255, 255, 0.7) 1px 1px 2px;
        font-family: "Roboto Slab" !important;
        font-weight: 400 !important;
        font-size: 18px !important;
        line-height: 1.2em !important;
        text-align: center !important;
        color: #593400 !important; /* WCAG AA compliant */
    }

    .jumbotron-fluid-light .cta-button {
        background-color: #EF6C00;
        box-shadow: rgba(0, 0, 0, 0.1) 0 -4px 17px 0 inset;
        color: #fff !important;
        text-shadow: rgba(0, 0, 0, 0.2) 2px 2px 2px;
    }

        .jumbotron-fluid-light .cta-button:hover {
            background-color: #e35c00;
        }

@media (max-width: 768px) {
    .jumbotron-fluid h1,
    .jumbotron-fluid-light h1 {
        font-size: 24px !important;
    }

    .jumbotron-fluid h2,
    .jumbotron-fluid-light h2 {
        font-size: 20px !important;
    }

    .cta-button {
        padding: 8px !important;
    }
}

/* Language Switcher Styles - Modern Design */

.fi {
    border-radius: 4px;
}

/* Navbar Alignment Fixes */
.navbar {
    padding: 0.5rem 1rem;
}

    .navbar .left-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar .float-left {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .navbar-nav .nav-item {
        display: flex;
        align-items: center;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

/* Logo alignment */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 5px 0;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Rimuovi border-radius dal logo */
.navbar img[src*="logo"] {
    border-radius: 0 !important;
}

/* Language switcher alignment in navbar */
.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

    .language-switcher .nav-link {
        display: flex;
        align-items: center;
        padding: 0.5rem 0.5rem;
        border-radius: 0.5rem;
        transition: all 0.2s ease;
        position: relative;
    }

        .language-switcher .nav-link .fi {
            font-size: 1.5rem;
            transition: all 0.2s ease;
            position: relative;
        }

        /* Freccia dropdown sempre visibile in bianco */
        .language-switcher .nav-link.dropdown-toggle::after {
            color: #fff;
            opacity: 0.8;
            margin-left: 0.3rem;
        }

        .language-switcher .nav-link:hover {
            background-color: rgba(255, 152, 0, 0.15);
        }

        .language-switcher .nav-link:hover .fi {
            box-shadow: 0 0 12px rgba(255, 152, 0, 0.8);
            border-radius: 4px;
        }

        .language-switcher .nav-link:hover.dropdown-toggle::after {
            opacity: 1;
        }

/* Rimuovi completamente la riga sotto per il language switcher */
.navbar-nav .language-switcher,
.navbar-nav .language-switcher.nav-item,
.navbar-nav .language-switcher.dropdown,
.navbar-nav .language-switcher .nav-item {
    box-shadow: none !important;
}

    .navbar-nav .language-switcher:hover,
    .navbar-nav .language-switcher.nav-item:hover,
    .navbar-nav .language-switcher.dropdown:hover,
    .navbar-nav .language-switcher .nav-item:hover {
        box-shadow: none !important;
    }

/* Override anche per il nav-link */
.navbar-nav .language-switcher .nav-link,
.navbar-nav .language-switcher a.nav-link {
    box-shadow: none !important;
}

    .navbar-nav .language-switcher .nav-link:hover,
    .navbar-nav .language-switcher a.nav-link:hover {
        box-shadow: none !important;
    }

/* Mobile: Horizontal Flag Switcher */
.language-switcher-mobile {
    padding: 0.5rem 1rem;
}

    .language-switcher-mobile .d-flex {
        justify-content: center;
    }

.language-flag-link,
.language-flag-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.language-flag-link {
    text-decoration: none;
    opacity: 1;
}

    .language-flag-link:hover {
        opacity: 0.7;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

.language-flag-current {
    opacity: 0.5;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.5);
    cursor: default;
}

    .language-flag-link .fi,
    .language-flag-current .fi {
        font-size: 1.8rem;
        border-radius: 4px;
    }

/* Desktop: Dropdown Switcher */
.language-switcher {
    position: relative;
}

.language-switcher .dropdown-menu {
    min-width: 10rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    top: 100% !important;
    margin-top: 0;
    right: 0 !important;
    left: auto !important;
}

.language-switcher:hover .dropdown-menu,
.language-switcher .dropdown-menu:hover {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-switcher .dropdown-item {
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
    margin: 0 !important;
}

    .language-switcher .dropdown-item:hover {
        background-color: #ff661a;
        color: #fff;
        margin: 0 !important;
    }

    .language-switcher .dropdown-item .fi {
        font-size: 1.2rem;
    }

/* Current language in dropdown - not clickable */
.language-dropdown-current {
    background-color: rgb(255 186 133 / 39%);
    color: #ff5500;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

    .language-dropdown-current .fi {
        opacity: 1;
    }

/* Animations */
@keyframes flagPulse {
    0%, 100% {
    }

    50% {
    }
}

.language-flag-current {
    animation: flagPulse 2s ease-in-out infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .language-switcher-mobile {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0.5rem 0;
    }

    .language-flag-link,
    .language-flag-current {
        width: 2.8rem;
        height: auto;
    }

        .language-flag-link .fi,
        .language-flag-current .fi {
            font-size: 2rem;
            border-radius: 4px;
        }
}

/* ===========================================
   COLORS.CSS - Color Utilities
   =========================================== */

/* ===========================================
   PRIMARY COLORS
   =========================================== */

/* Brand orange – brillante e leggibile su bianco */
.orange,
.orange-color {
    color: #f46300 !important; /* contrast ~4.7:1 su bianco */
}

/* Orange su card / bg-light */
.card .orange,
.bg-light .orange,
.card .orange-color,
.bg-light .orange-color {
    color: #ff6800 !important; /* contrast > 6:1 */
}

/* Orange scuro per enfasi forte */
.dark-orange {
    color: #b34700 !important; /* contrast elevato */
}

/* ===========================================
   NEUTRAL COLORS
   =========================================== */

.black,
.black-color {
    color: #000 !important;
}

.white-color {
    color: #ffffff !important;
}

/* Bootstrap text-muted corretto */
.text-muted {
    color: #495057 !important; /* contrast ~7:1 */
}

/* ===========================================
   STATUS COLORS
   =========================================== */

/* Verde acceso ma leggibile */
.green,
.green-color {
    color: #1b8f3a !important;
}

.text-green-500 {
    color: #15803d !important;
}

/* Rosso acceso ma non violento */
.red,
.red-color {
    color: #c62828 !important;
}

.light-red {
    color: #b71c1c !important;
}

.text-red-500 {
    color: #dc2626 !important;
}

/* ===========================================
   ADDITIONAL COLORS
   =========================================== */

/* Giallo solo testo, non acido */
.yellow {
    background-color: transparent !important;
    color: #ef6c00 !important;
}

.purple {
    color: #6a1b9a !important;
}

.brand {
    font-weight: bold;
    color: #dc2626 !important;
}

/* ===========================================
   BOOTSTRAP COLOR OVERRIDES
   =========================================== */

.text-info {
    color: #0c5460 !important; /* WCAG AA compliant - contrast 7.46:1 on white */
}

.text-primary {
    color: #0284c7 !important;
}

.text-info .btn-warning {
    box-shadow: inset 0px 34px 28px -8px #e4b572;
}

/* ===========================================
   HIGHLIGHT / EMPHASIS
   =========================================== */

.highlight,
.highlighted {
    background-color: #ffd54f;
    color: #1a1a1a !important;
    border-radius: 4px;
    padding: 4px;
}

/* ===========================================
   BACKGROUND COLORS
   =========================================== */

.bg-dark {
    background-color: #000 !important;
}
/* Page Transition - Solo CSS per massima performance */

/* Fade-in veloce della pagina - parte da 0.85 invece di 0 per evitare pagina bianca */
body {
    animation: quickFadeIn 0.2s ease-out;
}

@keyframes quickFadeIn {
    from {
        opacity: 0.85;
    }
    to {
        opacity: 1;
    }
}

/* Smooth transitions per elementi interattivi */
a:not(.no-transition),
button:not(.no-transition) {
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

a:active:not(.no-transition),
button:active:not(.no-transition) {
    opacity: 0.8;
}

/* Smooth scroll per anchor links */
html {
    scroll-behavior: smooth;
}

/* Transizioni smooth per immagini che caricano */
img {
    transition: opacity 0.2s ease-in;
}

img:not([src]),
img[src=""] {
    opacity: 0;
}

/* Prevenire layout shift */
.main-content {
    min-height: 100vh;
}

/* Animazione leggera per card e box */
.card,
.box,
.blog-post-card {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.card:hover,
.box:hover,
.blog-post-card:hover {
    transform: translateY(-2px);
}

/* Transizioni per modali e dropdown */
.modal,
.dropdown-menu,
.navbar-collapse {
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

/* Animazione fade-in per contenuti caricati dinamicamente */
[data-animate="fade-in"] {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animazione slide-up per elementi che entrano */
[data-animate="slide-up"] {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation per liste (ritardo progressivo) */

.animate-list > *:nth-child(1) { animation-delay: 0s; }
.animate-list > *:nth-child(2) { animation-delay: 0.05s; }
.animate-list > *:nth-child(3) { animation-delay: 0.1s; }
.animate-list > *:nth-child(4) { animation-delay: 0.15s; }
.animate-list > *:nth-child(5) { animation-delay: 0.2s; }
.animate-list > *:nth-child(6) { animation-delay: 0.25s; }

.animate-list > *:nth-child(1) { animation-delay: 0s; }
.animate-list > *:nth-child(2) { animation-delay: 0.05s; }
.animate-list > *:nth-child(3) { animation-delay: 0.1s; }
.animate-list > *:nth-child(4) { animation-delay: 0.15s; }
.animate-list > *:nth-child(5) { animation-delay: 0.2s; }
.animate-list > *:nth-child(6) { animation-delay: 0.25s; }

.animate-list > * {
    animation: fadeIn 0.4s ease-out backwards;
}

/* View Transitions API - supporto nativo browser (Chrome 111+) */
@supports (view-transition-name: none) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 0.25s;
    }
}

/* Ridurre animazioni per utenti che preferiscono meno movimento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    body {
        animation: none !important;
    }
}

/* Performance: usa GPU acceleration per animazioni smooth */
a, button, .card, .box, img {
    will-change: auto;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}


/* ===========================================
   HOMEPAGE - Styles specifici per la landing page principale
   =========================================== */

/* ===========================================
   HERO SECTION
   =========================================== */
.hero-section {
    position: relative;
}

.hero-headline {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-subheadline {
    font-size: 1.35rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin-top: 2.5rem;
    /* Fix CLS: riserva spazio per evitare layout shift */
    min-height: 179px;
}

.hero-section .hero-cta .cta-subtext {
    margin-top: 1.2rem;
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, .95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3) !important;
}

    .hero-section .hero-cta .cta-subtext i {
        color: #4ade80;
        margin: 0 0.75rem;
        font-size: 0.85rem;
    }

/* ===========================================
   SECTION TITLES
   =========================================== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* ===========================================
   PROBLEM SECTION
   =========================================== */
.problem-checklist {
    max-width: 850px;
    margin: 0 auto;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe9a3 100%);
    border-left: 5px solid #ff6b35;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
    transition: all 0.3s ease;
}

    .problem-item:hover {
        transform: translateX(8px);
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
    }

.problem-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    border-radius: 50%;
    margin-right: 1.25rem;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.problem-text {
    flex: 1;
    line-height: 1.6;
}

    .problem-text strong {
        color: #a02d00; /* WCAG AA compliant - contrast 5.5:1 */
    }

/* ===========================================
   PILLAR CARDS (3 colonne soluzione)
   =========================================== */
.pillar-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    height: 100%;
    border: 2px solid #ffe4c4;
    box-shadow: 0 4px 20px rgba(247, 139, 30, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .pillar-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #ff9800 0%, #fb8c00 100%);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .pillar-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 40px rgba(247, 139, 30, 0.25);
        border-color: #ff9800;
    }

        .pillar-card:hover::before {
            transform: scaleX(1);
        }

.pillar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.75rem;
    box-shadow: 0 6px 20px rgba(247, 139, 30, 0.35);
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.pillar-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .pillar-list li {
        padding: 0.20rem 0;
        border-bottom: 1px solid #ffe4c4;
        line-height: 1.6;
        color: #3d4656 !important; /* WCAG AA compliant - contrast 8.3:1 */
        position: relative;
        padding-left: 1.75rem;
    }

        .pillar-list li::before {
            content: "\f058";
            font-family: "FontAwesome";
            position: absolute;
            left: 0;
            color: #ff9800;
            font-weight: 700;
        }

        .pillar-list li:last-child {
            border-bottom: none;
        }

        .pillar-list li strong {
            color: #2d3748;
            font-weight: 600;
        }

/* ===========================================
   PROOF SECTION
   =========================================== */
.proof-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border-radius: 12px;
    height: 100%;
    border: 2px solid #ffe4c4;
    transition: all 0.3s ease;
}

    .proof-item:hover {
        transform: translateY(-5px);
        border-color: #ff9800;
        box-shadow: 0 8px 24px rgba(247, 139, 30, 0.2);
    }

.proof-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.proof-label {
    font-size: 1.05rem;
    color: #3d4656; /* WCAG AA compliant - contrast 8.3:1 */
    line-height: 1.5;
}

/* Case Study Box */
.case-study-box {
    background: linear-gradient(135deg, #e8f5e93b 0%, #f1f8e994 100%);
    border-left: 5px solid #4caf50;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

    .case-study-box h4 {
        color: #2e7d32;
        font-weight: 700;
        margin-bottom: 1.25rem;
    }

        .case-study-box h4 i {
            font-size: 1.5rem;
            margin-right: 0.5rem;
            opacity: 0.7;
        }

.case-study-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d3748;
}

    .case-study-content strong {
        color: #1a202c;
        font-weight: 600;
    }

    .case-study-content .text-danger {
        color: #e53e3e !important;
        font-weight: 700;
    }

    .case-study-content .text-success {
        color: #38a169 !important;
        font-weight: 700;
    }

/* Sectors Box */
.sectors-box {
    background: #f8f9fa;
    padding: 1.75rem;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

    .sectors-box p {
        margin: 0;
        font-size: 1rem;
    }

    .sectors-box .text-muted {
        color: #6c757d !important;
        font-size: 0.95rem;
    }

/* ===========================================
   TIMELINE (Come Funziona)
   =========================================== */
.timeline {
    position: relative;
    padding: 2.5rem 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 30px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #ff9800 0%, #fb8c00 50%, #f57c00 100%);
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 3.5rem;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-badge {
    position: absolute;
    left: 0;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(247, 139, 30, 0.5);
    border: 4px solid #fff;
    z-index: 2;
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
    padding: 1.75rem;
    border-radius: 12px;
    border: 2px solid #ffe4c4;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        border-color: #ff9800;
        box-shadow: 0 6px 24px rgba(247, 139, 30, 0.2);
        transform: translateX(8px);
    }

    .timeline-content h4 {
        color: #ff9800;
        font-weight: 700;
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .timeline-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .timeline-content ul li {
            padding: 0.6rem 0;
            padding-left: 2.5rem;
            position: relative;
            line-height: 1.6;
            color: #4a5568;
        }

            /* Bullet con Font Awesome */
            .timeline-content ul li::before {
                content: "\f00c"; /* fa-check */
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
                position: absolute;
                left: 0;
                width: 30px;
                height: 30px;
                border-radius: 50%;
                background-color: #8eed8e;
                color: #fff;
                font-size: 1.1rem;
                display: flex;
                align-items: center;
                justify-content: center;
                animation: checkPop .4s ease;
            }

/* ===========================================
   PRICING CARDS
   =========================================== */
.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

    .pricing-card:hover {
        border-color: #ff9800;
        box-shadow: 0 12px 40px rgba(247, 139, 30, 0.2);
        transform: translateY(-8px);
    }

.pricing-card-featured {
    border-color: #ff9800;
    border-width: 3px;
    box-shadow: 0 8px 32px rgba(247, 139, 30, 0.25);
}

    .pricing-card-featured:hover {
        box-shadow: 0 16px 48px rgba(247, 139, 30, 0.35);
    }

.pricing-badge {
    position: absolute;
    top: 24px;
    right: -36px;
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: white;
    padding: 6px 45px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.4);
    z-index: 1;
}

.pricing-header {
    background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.pricing-card-featured .pricing-header {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: white;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
    line-height: 1;
}

.pricing-period {
    color: #fff !important;
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.pricing-body {
    padding: 2rem 1.75rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

    .pricing-features li {
        padding: .20rem 0;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: flex-start;
        line-height: 1.5 !important;
        color: #000 !important;
    }

        .pricing-features li:last-child {
            border-bottom: none;
        }

        .pricing-features li i {
            color: #22c55e;
            margin-right: 0.85rem;
            font-size: 1.1rem;
            margin-top: 0.15rem;
            flex-shrink: 0;
        }

.pricing-ideal {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe4c4 100%);
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #ffd6a5;
}

    .pricing-ideal strong {
        color: #ff9800;
        display: block;
        margin-bottom: 0.35rem;
    }

/* ===========================================
   OBJECTIONS SECTION
   =========================================== */
.objection-list {
    max-width: 950px;
    margin: 0 auto;
}

.objection-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 5px solid #ff9800;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .objection-item:hover {
        border-left-width: 8px;
        box-shadow: 0 6px 24px rgba(247, 139, 30, 0.15);
        transform: translateX(4px);
    }

.objection-q {
    font-size: 1.2rem;
    color: #ff9800;
    margin-bottom: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
}

    .objection-q i {
        margin-right: 0.75rem;
        font-size: 1.4rem;
        margin-top: 0.1rem;
        flex-shrink: 0;
    }

.objection-a {
    font-size: 1.05rem;
    color: #2d3748;
    padding-left: 2.15rem;
    line-height: 1.7;
}

    .objection-a i {
        color: #22c55e;
        margin-right: 0.75rem;
        font-size: 1.2rem;
    }

    .objection-a strong {
        color: #1a202c;
        font-weight: 600;
    }

/* ===========================================
   CTA FINAL CARD
   =========================================== */
.cta-final-card {
    color: white;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

    .cta-final-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* Usa la stessa immagine con versioning per evitare duplicati */
        background: url('/content/images/bg-dark.webp?v=iLK27uv5pzgjhipdCEsSiegAdbs&v=ZHoqk3-_Jq3celHYh5k7kGz9O58') center/cover;
        z-index: 0;
    }

    .cta-final-card .card-body {
        position: relative;
        z-index: 1;
    }

    .cta-final-card h2 {
        color: white !important;
        font-size: 2.25rem;
        font-weight: 800;
    }

    .cta-final-card .lead {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 1.2rem !important;
    }

.cta-benefits {
    margin: 2.5rem 0;
}

.cta-benefit-item {
    background: rgba(255, 152, 0, 0.15);
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

    .cta-benefit-item:hover {
        background: rgba(255, 152, 0, 0.25);
        border-color: rgba(255, 152, 0, 0.5);
        transform: translateY(-4px);
    }

    .cta-benefit-item i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #ffffff;
        display: block;
    }

    .cta-benefit-item p {
        margin: 0;
        color: white !important;
        line-height: 1.5;
    }

    .cta-benefit-item strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
        color: #ffd700;
    }

    .cta-benefit-item small {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9rem;
    }

.btn-cta-large {
    font-size: 1.4rem !important;
    padding: 1.35rem 3.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 24px rgba(255, 152, 0, 0.5) !important;
}

    .btn-cta-large:hover {
        box-shadow: 0 8px 32px rgba(255, 152, 0, 0.7) !important;
    }

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-headline {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }

    .hero-subheadline {
        font-size: 1.15rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-badge {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        left: -4px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .proof-number {
        font-size: 2.75rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .pillar-card {
        margin-bottom: 1.5rem;
    }

    .cta-final-card h2 {
        font-size: 1.85rem;
    }

    .btn-cta-large {
        font-size: 1.2rem !important;
        padding: 1.15rem 2.5rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

        .hero-section .container {
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

    .hero-headline {
        font-size: 1.5rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }

    .hero-subheadline {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 2rem;
    }

    .hero-cta {
        margin-top: 2rem;
        min-height: auto;
    }

    .hero-section .hero-cta .cta-subtext {
        font-size: 0.85rem !important;
    }

        .hero-section .hero-cta .cta-subtext i {
            margin: 0 0.5rem;
            font-size: 0.75rem;
        }

    .problem-item {
        padding: 1rem;
    }

    .problem-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-right: 1rem;
    }

    .objection-item {
        padding: 1.5rem;
    }

    .objection-q {
        font-size: 1.05rem;
    }

    .objection-a {
        font-size: 0.98rem;
        padding-left: 1.5rem;
    }
}

/* ===========================================
   TIMELINE (Come Funziona)
   =========================================== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-wrapper {
    position: relative;
}

    .timeline-wrapper::before {
        content: '';
        position: absolute;
        left: 30px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #ff9800 0%, #fb8c00 50%, #f57c00 100%);
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 3.5rem;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-badge {
    position: absolute;
    left: 0;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(247, 139, 30, 0.5);
    border: 4px solid #fff;
    z-index: 2;
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
    padding: 1.75rem;
    border-radius: 12px;
    border: 2px solid #ffe4c4;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        border-color: #ff9800;
        box-shadow: 0 6px 24px rgba(247, 139, 30, 0.2);
        transform: translateX(8px);
    }

    .timeline-content h3 {
        color: #ff9800;
        font-weight: 700;
        font-size: 1.35rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .timeline-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .timeline-content ul li {
            padding: 0.6rem 0;
            padding-left: 2.5rem;
            position: relative;
            line-height: 1.6;
            color: #4a5568;
        }

            .timeline-content ul li::before {
                content: "\f00c";
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
                position: absolute;
                left: 0;
                top: 0.6rem;
                width: 30px;
                height: 30px;
                border-radius: 50%;
                background-color: #22c55e;
                color: #fff;
                font-size: 0.85rem;
                display: flex;
                align-items: center;
                justify-content: center;
            }

/* Responsive */
@media (max-width: 768px) {
    .timeline {
        padding: 1.5rem 0;
    }

    .timeline-wrapper::before {
        left: 20px;
        width: 3px;
    }

    .timeline-item {
        padding-left: 70px;
        padding-bottom: 2.5rem;
    }

    .timeline-badge {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        left: -4px;
    }

    .timeline-content {
        padding: 1.25rem;
        border-left-width: 3px;
    }

        .timeline-content h3 {
            font-size: 1.15rem;
            margin-bottom: 0.875rem;
        }

        .timeline-content ul li {
            font-size: 0.9rem;
            padding-left: 2rem;
            margin-bottom: 0.625rem;
        }

            .timeline-content ul li::before {
                width: 26px;
                height: 26px;
                font-size: 0.75rem;
                top: 0.5rem;
            }
}

@media (max-width: 576px) {
    .timeline-item {
        padding-left: 60px;
        padding-bottom: 2rem;
    }

    .timeline-badge {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        left: -2px;
    }

    .timeline-wrapper::before {
        left: 18px;
    }

    .timeline-content {
        padding: 1rem;
    }

        .timeline-content h3 {
            font-size: 1.05rem;
        }

        .timeline-content ul li {
            font-size: 0.85rem;
            line-height: 1.5;
            padding-left: 1.75rem;
        }

            .timeline-content ul li::before {
                width: 24px;
                height: 24px;
                font-size: 0.7rem;
            }
}
