/* ===================================
   ADR Body Network - CSS Styles
   Colori: Blu #002B5B, Arancio #F18F01
   =================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #002B5B;
    --primary-orange: #F18F01;
    --light-blue: #0B4F8A;
    --dark-blue: #001A38;
    --light-orange: #FFA733;
    --dark-orange: #D47701;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E0E5EB;
    --dark-gray: #6B7280;
    --text-dark: #1F2937;
    --text-light: #6B7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo a {
    text-decoration: none;
    display: block;
    line-height: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* Backup text logo styles (if needed) */
.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.logo-adr {
    color: var(--primary-blue);
}

.logo-body {
    color: var(--primary-orange);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--dark-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-orange);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.portale-link {
    color: var(--primary-orange);
    font-weight: 700;
}

.main-nav a.portale-link:hover {
    color: var(--dark-orange);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light-orange);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 143, 1, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-white {
    background-color: var(--white);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === SERVICES GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.service-item {
    position: relative;
    padding-left: 4rem;
}

.service-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    opacity: 0.2;
}

.service-item h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === STATS GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* === ORGANISMS TYPES === */
.organisms-types {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.organism-type {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.type-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.type-header i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.type-header h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.type-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.type-features i {
    color: var(--primary-orange);
}

/* === COMPETENCE GRID === */
.competence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.competence-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.competence-item:hover {
    transform: translateY(-5px);
}

.competence-item i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.competence-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.competence-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === FLAGS CONTAINER === */
.flags-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.flag-item {
    text-align: center;
}

.flag-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flag-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.flag-caption {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === ORGANISMS DESCRIPTION === */
.organisms-description {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.organisms-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.organisms-text:last-child {
    margin-bottom: 0;
}

/* === ORGANISMS CTA BUTTONS === */
.organisms-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* === ORGANISMS GRID === */
.organisms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.organism-card {
    position: relative;
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.organism-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.organism-logo {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.organism-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.organism-card:hover .organism-logo img {
    transform: scale(1.1);
}

.organism-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 43, 91, 0.95), rgba(0, 43, 91, 0.7));
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.organism-card:hover .organism-hover-overlay {
    transform: translateY(0);
}

.organism-name {
    font-size: 1rem;
    font-weight: 600;
}

/* Placeholder styles for organism logos */
.organism-placeholder {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    position: relative;
    overflow: hidden;
}

.organism-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.organism-initials {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.organism-card:hover .organism-initials {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.organism-hover-overlay i {
    font-size: 1.2rem;
}

/* === ORGANISM CARD STATIC (Senza link, solo visualizzazione) === */
.organism-card-static {
    position: relative;
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.organism-card-static:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* === MEDITALIA EUROPA SECTION === */
.meditalia-europa-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.meditalia-europa-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.meditalia-europa-text {
    flex: 1;
    max-width: 650px;
}

.meditalia-europa-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
}

.meditalia-europa-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-orange);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.meditalia-europa-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    color: var(--white);
}

.meditalia-europa-image {
    flex: 0 0 350px;
    max-width: 350px;
}

.meditalia-europa-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.meditalia-europa-image img:hover {
    transform: scale(1.05);
}

/* === MISSION & VISION === */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-box,
.vision-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.mission-box h3,
.vision-box h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* === OBJECTIVES GRID === */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-top: 3rem;
}

.objective-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.objective-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* === BENEFITS LIST === */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    align-items: start;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* === STRUCTURE === */
.structure-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.structure-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.structure-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.structure-item i {
    color: var(--primary-orange);
}

/* === EU DIRECTIVES === */
.eu-directives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.directive-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.directive-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.directive-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* === PROJECTS === */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.project-badge {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-header h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    font-weight: 700;
    flex: 1;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-objectives {
    margin-top: 1.5rem;
}

.project-objectives h4 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.project-objectives ul {
    list-style: none;
    padding-left: 0;
}

.project-objectives li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.project-objectives li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.project-partners {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--medium-gray);
    color: var(--text-light);
}

/* === COMPLETED PROJECTS === */
.completed-projects {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.completed-project {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cp-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.cp-content h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cp-result {
    display: block;
    margin-top: 1rem;
    color: var(--text-light);
    font-style: italic;
}

/* === IMPACT GRID === */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === PARTNERSHIPS === */
.partnerships-content {
    max-width: 900px;
    margin: 0 auto;
}

.partners-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.partner-category h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-category ul {
    list-style: none;
}

.partner-category li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--medium-gray);
}

.partner-category li:last-child {
    border-bottom: none;
}

/* === RESEARCH AREAS === */
.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.research-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.research-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.research-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.research-features {
    list-style: none;
    margin-top: 1.5rem;
}

.research-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.research-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* === PLATFORMS === */
.platforms-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.platform-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header i {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

.platform-header h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.pf-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--text-dark);
}

.pf-item i {
    color: var(--primary-orange);
}

/* === TECH PARTNERS === */
.tech-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-partner-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tech-partner-category h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-partner-category ul {
    list-style: none;
}

.tech-partner-category li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--medium-gray);
}

.tech-partner-category li:last-child {
    border-bottom: none;
}

/* === PUBLICATIONS === */
.publications-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pub-date {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-orange);
    flex-shrink: 0;
    width: 60px;
}

.pub-content h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pub-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === EVENTS === */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 2rem;
    position: relative;
}

.featured-event {
    border: 3px solid var(--primary-orange);
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-date {
    text-align: center;
    flex-shrink: 0;
    width: 80px;
}

.date-day {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.date-month {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
}

.event-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.event-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-subtitle {
    font-size: 1.1rem;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.event-speakers {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.event-speakers p strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: block;
}

.event-speakers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-speakers ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.event-speakers ul li i {
    color: var(--primary-orange);
    margin-right: 0.5rem;
}

.event-credits {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(241, 143, 1, 0.1), rgba(0, 43, 91, 0.1));
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
}

.event-credits i {
    margin-right: 0.5rem;
    color: var(--primary-orange);
}

.event-topics {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.topic-tag {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* === COURSES === */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.course-duration {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-modality {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.course-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-topics {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-topics li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.course-topics i {
    color: var(--primary-orange);
    margin-top: 0.2rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--medium-gray);
    border-bottom: 2px solid var(--medium-gray);
    margin-bottom: 1.5rem;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.course-credits {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === WEBINARS === */
.webinar-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.webinar-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.webinar-month {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 1rem;
}

.webinar-item h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.webinar-speaker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* === CERTIFICATIONS === */
.certifications-content {
    max-width: 900px;
    margin: 0 auto;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.cert-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* === CONTACT INFO === */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* === CONTACT FORM === */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-intro h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.checkbox-group label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

/* === DEPARTMENTS === */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.department-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.department-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.department-card i {
    color: var(--primary-orange);
}

.department-card p {
    margin-bottom: 0.5rem;
}

.department-card strong {
    color: var(--primary-blue);
}

/* === SOCIAL & NEWSLETTER === */
.social-newsletter-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.social-section,
.newsletter-section {
    text-align: center;
}

.social-section h2,
.newsletter-section h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.linkedin {
    background: #0077B5;
    color: var(--white);
}

.social-btn.twitter {
    background: #1DA1F2;
    color: var(--white);
}

.social-btn.facebook {
    background: #4267B2;
    color: var(--white);
}

.social-btn.youtube {
    background: #FF0000;
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* === MAP === */
.map-container {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.map-placeholder {
    background: var(--white);
    border: 3px solid var(--medium-gray);
    border-radius: 12px;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--dark-gray);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

.map-note {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

.offices-list h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.office-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.office-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.office-item i {
    color: var(--primary-orange);
}

/* === FAQ === */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question i {
    color: var(--primary-orange);
}

.faq-answer {
    line-height: 1.6;
    color: var(--text-dark);
}

/* === FOOTER === */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* === EVENTI & FORMAZIONE === */
.eventi-hero-image {
    text-align: center;
    margin: 2rem auto 3rem;
}

.eventi-hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.eventi-hero-image img:hover {
    transform: scale(1.05);
}

.section-featured {
    background: linear-gradient(135deg, #002B5B 0%, #0B4F8A 100%);
    padding: 4rem 0;
}

.top-event-badge {
    text-align: center;
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.top-event-badge i {
    margin: 0 1rem;
    animation: sparkle 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.top-event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.top-event-header {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.top-event-date {
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(241, 143, 1, 0.3);
}

.top-event-date .date-day {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.top-event-date .date-month {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.top-event-date .date-year {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    padding-top: 0.5rem;
}

.top-event-date .date-coming-soon {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-event-info {
    flex: 1;
}

.top-event-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.top-event-location {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.top-event-location i {
    color: var(--primary-orange);
    margin-right: 0.5rem;
}

.location-separator {
    margin: 0 1rem;
    color: var(--medium-gray);
}

.top-event-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* === AI & ADR LAB LOGO === */
.lab-logo-container {
    text-align: center;
    margin: 2rem auto;
    padding: 2rem 0;
}

.lab-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.lab-logo:hover {
    transform: scale(1.05);
}

.lab-description {
    max-width: 900px;
    margin: 3rem auto 2rem;
    text-align: center;
}

.lab-description-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.lab-description-text:last-child {
    margin-bottom: 0;
}

.lab-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* === PORTAL PAGE === */
.portal-main {
    padding: 4rem 0;
}

.portal-logo-container {
    text-align: center;
    margin-bottom: 3rem;
}

.portal-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.portal-description {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.portal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.portal-intro-text {
    margin-bottom: 3rem;
}

.portal-intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.portal-intro-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.portal-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 3rem;
    text-align: center;
}

.portal-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.portal-feature-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.portal-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 43, 91, 0.15);
    border-color: var(--primary-orange);
}

.portal-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.portal-feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.portal-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.portal-feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.portal-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.portal-image-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portal-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portal-cta {
    text-align: center;
    margin-top: 3rem;
}

/* === JOIN NETWORK FORM === */
.join-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.join-intro-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.join-intro-icon i {
    font-size: 3rem;
    color: var(--white);
}

.join-intro h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.join-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.join-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.join-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.form-section-title i {
    color: var(--primary-orange);
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: var(--primary-orange);
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 43, 91, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.6;
}

.form-checkbox a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-message {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-message i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.form-success i {
    color: #10B981;
}

.form-error i {
    color: #EF4444;
}

.form-message h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-message p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .join-sections-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-section-card {
        padding: 2rem 1.5rem;
    }
    
    .project-list li {
        padding-left: 2.5rem;
        font-size: 1rem;
    }
    
    .project-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        gap: 1.5rem;
    }
    
    .timeline-marker {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .timeline-item:not(:last-child)::after {
        left: 27px;
    }
    
    .network-section-card {
        padding: 2.5rem 1.5rem;
    }
    
    .network-section-title {
        font-size: 1.8rem;
    }
    
    .network-section-subtitle {
        font-size: 1.2rem;
    }
    
    .network-section-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .completed-project {
        flex-direction: column;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .flags-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .organisms-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-lg {
        width: 100%;
        text-align: center;
    }
    
    .organisms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .organism-logo {
        height: 120px;
    }
    
    .portal-title {
        font-size: 1.8rem;
    }
    
    .portal-intro-text p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .portal-subtitle {
        font-size: 1.5rem;
    }
    
    .portal-features-grid {
        grid-template-columns: 1fr;
    }
    
    .portal-images {
        grid-template-columns: 1fr;
    }
    
    .meditalia-europa-content {
        flex-direction: column;
        text-align: center;
    }
    
    .meditalia-europa-title {
        font-size: 1.8rem;
    }
    
    .meditalia-europa-subtitle {
        font-size: 1.2rem;
    }
    
    .meditalia-europa-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .icon-grid {
        grid-template-columns: 1fr;
    }
    
    .organisms-grid {
        grid-template-columns: 1fr;
    }
    
    .organism-logo {
        height: 100px;
    }
    
    .organisms-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .join-form {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .portal-logo {
        max-width: 300px;
    }
    
    .top-event-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .top-event-date {
        margin: 0 auto;
    }
    
    .top-event-title {
        font-size: 1.5rem;
    }
    
    .top-event-location {
        font-size: 1rem;
    }
    
    .top-event-cta {
        flex-direction: column;
    }
    
    .lab-logo {
        max-width: 250px;
    }
    
    .top-event-badge {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .top-event-card {
        padding: 2rem 1.5rem;
    }
    
    .top-event-title {
        font-size: 1.3rem;
    }
    
    .top-event-date .date-day {
        font-size: 2.5rem;
    }
    
    .lab-description-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .lab-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .portal-title {
        font-size: 1.5rem;
    }
    
    .portal-intro-text p {
        font-size: 1rem;
    }
    
    .portal-subtitle {
        font-size: 1.3rem;
    }
    
    .portal-feature-card {
        padding: 2rem 1.5rem;
    }
    
    .portal-feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .portal-feature-icon i {
        font-size: 2rem;
    }
    
    .portal-feature-card h3 {
        font-size: 1.2rem;
    }
    
    .portal-feature-card p {
        font-size: 1rem;
    }
    
    .meditalia-europa-title {
        font-size: 1.5rem;
    }
    
    .meditalia-europa-subtitle {
        font-size: 1.1rem;
    }
    
    .meditalia-europa-description {
        font-size: 1rem;
    }
    
    .meditalia-europa-image {
        max-width: 250px;
    }
}

/* === ICON GRID NAVIGATION === */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.icon-box {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.icon-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(241, 143, 1, 0.2);
}

.icon-box-content {
    position: relative;
}

.icon-box-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.icon-box-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* === JOIN NETWORK SECTION === */
.join-network-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.join-network-intro h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.join-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.join-section-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.join-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.join-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-section-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.join-section-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.highlight-text {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.join-section-card .btn {
    margin-top: auto;
}

/* === PROJECT SECTIONS REDESIGN === */
.project-section-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.project-section-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.project-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-section-content {
    line-height: 1.8;
}

.project-list {
    list-style: none;
    padding: 0;
}

.project-list li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--medium-gray);
}

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

.project-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 35px;
    height: 35px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* === RESULTS GRID === */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.result-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(241, 143, 1, 0.2);
}

.result-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.result-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.result-item p {
    color: var(--text-dark);
    line-height: 1.5;
}

/* === IMPACT TIMELINE === */
.impact-timeline {
    max-width: 700px;
    margin: 2rem auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 32px;
    top: 70px;
    width: 3px;
    height: calc(100% + 2rem);
    background: var(--medium-gray);
}

.timeline-marker {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(241, 143, 1, 0.3);
    z-index: 1;
    position: relative;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* === NETWORK SECTIONS (LA RETE D'IMPRESA) === */
.network-section-card {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.network-section-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.network-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.network-section-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 2rem;
}

.network-section-content {
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.network-section-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.intro-paragraph {
    text-align: center !important;
    max-width: 900px;
    margin: 0 auto 2.5rem !important;
}

.network-section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* === REASONS GRID (4 RAGIONI) === */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.reason-card {
    background: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(241, 143, 1, 0.2);
}

.reason-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(241, 143, 1, 0.3);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 2rem auto 1.5rem;
}

.reason-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.reason-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

/* === CONVENZIONI GRID === */
.convenzioni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.convenzione-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.convenzione-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(241, 143, 1, 0.2);
}

.convenzione-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.convenzione-info {
    padding: 1.5rem;
    text-align: center;
}

.convenzione-info h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.convenzione-number {
    font-size: 0.95rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.convenzione-partner {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }