.elementor-461 .elementor-element.elementor-element-4bd7499{--display:flex;--margin-top:100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-461 .elementor-element.elementor-element-8c338f0{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:767px){.elementor-461 .elementor-element.elementor-element-4bd7499{--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-461 .elementor-element.elementor-element-8c338f0{--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for html, class: .elementor-element-bfb40bf */*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --green:   #00A550;
    --blue:    #003DA5;
    --teal:    #2AB4A6;
    --light-green: #E6F5EC;
    --dark:    #1A1A2E;
    --gray:    #6B7280;
    --light:   #F8FAF9;
    --white:   #FFFFFF;
    --border:  #E5E7EB;
}
html { scroll-behavior: smooth; }
body { font-family: "Poppins", Arial, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }

/* HERO */
#hero {
    min-height: 100vh;
    background: linear-gradient(150deg, #003DA5 0%, #006B3C 55%, #2AB4A6 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
}
#hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
#hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 160px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160'%3E%3Cpath fill='white' d='M0,130 L120,70 L240,105 L360,35 L480,85 L600,15 L720,75 L840,42 L960,95 L1080,22 L1200,85 L1320,48 L1440,100 L1440,160 L0,160 Z'/%3E%3C/svg%3E") no-repeat bottom; background-size: cover; }
.hero-content { position: relative; z-index: 1; padding: 2rem 2rem 220px; max-width: 900px; }
.hero-logo-card { background: white; border-radius: 18px; padding: 1.2rem 2.5rem; margin: 0 auto 2rem; display: block; width: fit-content; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.hero-logo-card img { height: 90px; width: auto; object-fit: contain; display: block; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.18); color: white; padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; border: 1px solid rgba(255,255,255,0.3); margin-bottom: 1.5rem; }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #A8E6CF; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title { font-size: clamp(2.4rem,5vw,4rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: 0.8rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: clamp(1.1rem,2.5vw,1.6rem); color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-weight: 300; }
.hero-meta { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-meta-item { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 0.8rem 1.4rem; color: white; display: flex; align-items: center; gap: 0.6rem; }
.meta-icon { font-size: 1.2rem; }
.meta-label { font-size: 0.72rem; opacity: 0.8; display: block; }
.meta-value { font-size: 0.93rem; font-weight: 700; display: block; }
.hero-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-primary { background: white; color: var(--blue); padding: 0.85rem 2rem; border-radius: 30px; font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-secondary { background: transparent; color: white; padding: 0.85rem 2rem; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: 0.95rem; border: 2px solid rgba(255,255,255,0.6); transition: all 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.scroll-down { position: absolute; bottom: 200px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 1.4rem; z-index: 2; cursor: pointer; text-decoration: none; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* SECTIONS */
section { padding: 5rem 1.5rem; }
.container { max-width: 1140px; margin: 0 auto; }
.section-label { display: inline-block; background: var(--light-green); color: var(--green); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 20px; margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: var(--dark); margin-bottom: 1rem; line-height: 1.2; }
.section-lead { font-size: 1.05rem; color: var(--gray); max-width: 700px; line-height: 1.7; }
.section-header { margin-bottom: 3.5rem; }
.section-header-finance
    { margin-bottom: 1rem; }

/* ABOUT */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.about-quote { background: linear-gradient(135deg, var(--blue), var(--teal)); color: white; border-radius: 16px; padding: 2.2rem; font-size: 0.95rem; line-height: 1.75; }
.about-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.78rem; opacity: 0.75; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; }
.stat-card { background: var(--light); border-radius: 14px; padding: 1.5rem; text-align: center; border: 1px solid var(--border); transition: transform 0.3s; }
.stat-card:hover { transform: translateY(-4px); }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--green); display: block; }
.stat-label { font-size: 0.82rem; color: var(--gray); margin-top: 0.3rem; }

/* WORK PACKAGES */
#workpackages { background: var(--light); }
.wp-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.wp-card { background: white; border-radius: 16px; padding: 2rem; border: 1px solid var(--border); position: relative; overflow: hidden; transition: all 0.3s; }
.wp-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.wp-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.wp-green::before { background: var(--green); }
.wp-blue::before { background: var(--blue); }
.wp-teal::before { background: var(--teal); }
.wp-orange::before { background: #F59E0B; }
.wp-number { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.4rem; }
.wp-icon { font-size: 2.4rem; margin-bottom: 0.8rem; display: block; }
.wp-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.7rem; }
.wp-green .wp-title { color: var(--green); }
.wp-blue .wp-title { color: var(--blue); }
.wp-teal .wp-title { color: var(--teal); }
.wp-orange .wp-title { color: #D97706; }
.wp-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* PARTNERS */
#partners { background: white; }
.partners-group-title { font-size: 1.05rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--blue); }
.partners-group { margin-bottom: 3rem; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1.2rem; }
.partner-card { background: var(--light); border-radius: 14px; padding: 1.4rem; border: 1px solid var(--border); transition: all 0.3s; display: flex; flex-direction: column; gap: 0.5rem; }
.partner-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); border-color: var(--teal); transform: translateY(-3px); }
.partner-logo-wrap { height: 56px; display: flex; align-items: center; margin-bottom: 0.4rem; }
.partner-logo-wrap img { max-height: 52px; max-width: 150px; object-fit: contain; }
.badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.55rem; border-radius: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-green { background: var(--green); color: white; }
.badge-red { background: #D62828; color: white; }
.badge-gray { background: var(--border); color: var(--gray); }
.partner-name { font-size: 0.97rem; font-weight: 800; color: var(--dark); }
.partner-desc { font-size: 0.82rem; color: var(--gray); line-height: 1.55; }

/* FINANZIAMENTO */
#finanziamento { background: white; }
.funding-box { background: linear-gradient(135deg, #F0F7FF, #E8F7F6); border: 1px solid #C7E0FF; border-radius: 16px; padding: 2rem; margin-bottom: 2rem; }
.funding-box p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
.logos-strip { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: center; padding: 2rem; background: var(--light); border-radius: 16px; border: 1px solid var(--border); }
.logos-strip img { height: 55px; width: auto; object-fit: contain; filter: grayscale(10%); transition: filter 0.3s; }
.logos-strip img:hover { filter: grayscale(0%); }

/* CONTATTI */
#contatti { background: var(--dark); color: white; }
#contatti .section-title { color: white; }
#contatti .section-lead { color: rgba(255,255,255,0.65); }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.contact-grid-2 { grid-template-columns: repeat(2,1fr); max-width: 600px; margin: 0 auto; }
.contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 2rem; text-align: center; }
.contact-card .ci { font-size: 2rem; margin-bottom: 0.7rem; }
.contact-card h4 { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.4rem; color: white; }
.contact-card p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.contact-card a { color: var(--teal); text-decoration: none; font-weight: 600; }

/* FOOTER */
footer { background: #0F1B2D; color: rgba(255,255,255,0.5); padding: 2rem 1.5rem; text-align: center; }
footer p { font-size: 0.8rem; line-height: 1.7; }
.partners-logo-itin { text-align: center; margin-bottom: 2rem; }
.partners-logo-itin img { height: 80px; width: auto; object-fit: contain; }
.partners-group-title--capofila { color: #B8860B; border-bottom-color: #B8860B; background: linear-gradient(135deg, #FFFBEA, #FFF8DC); padding: 0.5rem 1rem; border-radius: 8px; border-bottom: none; margin-bottom: 1.5rem; }
.partners-grid--capofila { grid-template-columns: repeat(2, 1fr); max-width: 800px; }

/* RESPONSIVE */
@media (max-width:768px) {
    section { padding: 3rem 1rem; }
    .about-grid, .wp-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2,1fr); }
    .partners-grid--capofila { grid-template-columns: 1fr !important; max-width: 100%; }
    .hero-logo-card { padding: 0.9rem 1.5rem; }
    .hero-logo-card img { height: 65px; }
    .hero-meta { flex-direction: column; align-items: center; gap: 0.8rem; }
    .hero-meta-item { width: 100%; justify-content: center; max-width: 320px; }
    .contact-grid-2 { grid-template-columns: 1fr; max-width: 100%; }
    footer { padding: 1.5rem 1rem; }
    footer p { font-size: 0.75rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2,1fr); }
    .partners-grid { grid-template-columns: repeat(2,1fr); }
}

#hero::after { display: none; }
.hero-content { padding: 2rem 2rem 4rem; }
.scroll-down { bottom: 2rem; }/* End custom CSS */