:root {
    --primary-color: #1e40af;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --light-color: #f8fafc; 
    --dark-color: #0f172a;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --highlight-color: #ff0000;
    --one-click-color: #ff0000;
    --one-click-font-size: 1.8rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Compensare l'header fisso */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

/* Downloads Page Styles */
.downloads-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.downloads-category {
    margin-bottom: 3rem;
}

.downloads-category h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.downloads-category p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

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

.download-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
}

.download-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.download-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.download-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.download-info p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.download-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px;
    text-decoration: none;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.client-access-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.client-access-form .form-group {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.client-access-form label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: block;
}

.client-access-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.client-access-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.help-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.help-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

.client-files {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.client-files h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.loading-message {
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
}

.loading-message i {
    margin-right: 0.5rem;
}

.no-files-message {
    text-align: center;
    padding: 2rem;
    color: var(--gray-color);
}

.no-files-message i {
    font-size: 3rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.no-files-message h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.no-files-message a {
    color: var(--primary-color);
    text-decoration: none;
}

.no-files-message a:hover {
    text-decoration: underline;
}

.client-instructions {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.instructions-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 4px;
}

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

.instruction-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.instruction-item p {
    margin: 0;
    color: var(--dark-color);
}

.instruction-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.instruction-item a:hover {
    text-decoration: underline;
}

/* Navigation active state */
.nav-link.active {
    color: var(--highlight-color) !important;
    font-weight: 600;
}

/* Responsive design for downloads */
@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .client-access-form .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .client-access-form input {
        min-width: auto;
    }
    
    .download-links {
        justify-content: center;
    }
}
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-color);
    margin-left: 15px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.highlight {
    color: #ff0000; /* Rosso del logo AI */
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

/* Highlighted text styling */
.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: none;
    text-shadow: 0 0 2px white, 0 0 4px white;
    white-space: nowrap;
}

/* Special styling for hero section where background is dark */
.hero-section .highlight-text {
    color: #ff0000;
    font-weight: 700;
    text-shadow: none;
    white-space: nowrap;
}

/* One-Click note in footer */
.one-click-note {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-top: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.one-click-note p {
    font-size: 0.9rem;
    color: #ff0000;
    opacity: 0.9;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    vertical-align: middle;
}

/* Remove as One-Click is styled inline now */
/* .one-click-note b {
    font-size: 0.9rem;
    vertical-align: baseline;
} */

/* Removed .simple-quote as we're using .tooltip-container instead */

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    position: relative;
}

.old-times-text {
    font-style: normal;
    font-size: 1.7rem;
    color: var(--primary-color);
    margin: 25px auto 15px;
    opacity: 1;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
    border-bottom: none;
    display: inline-block;
    padding-bottom: 8px;
    max-width: 90%;
}

.section-subtitle {
    font-style: italic;
    font-size: 1.5rem;
    color: #0c3280; /* Blu più scuro rispetto al primary-color */
    margin: 0 auto 15px;
    font-weight: 500;
    display: inline-block;
    padding-bottom: 8px;
    max-width: 90%;
}

.benefits-subtitle {
    color: #ff0000; /* Rosso del logo AI */
    font-weight: normal;
    font-size: 1.6rem;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px; /* Add more space between elements */
}

/* CSS regola rimossa perché in conflitto con .logo-link img */

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 30px; /* Add right margin to push content away */
}

.logo-link img {
    height: 40px;
    width: auto;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-text {
    margin-left: 12px;
    font-family: Verdana, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #c0c0c0;
    letter-spacing: 1px;
}

.logo-text-highlight {
    color: #ff0000;
}

.nav-links {
    display: flex;
    gap: 20px; /* Reduce gap to ensure one line */
    flex-wrap: nowrap; /* Ensure it stays on one line */
    white-space: nowrap; /* Prevent wrapping of text */
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: white;
    padding: 8px 0;
    position: relative;
    font-size: 0.85rem; /* Even smaller font size to fit on one line */
    letter-spacing: -0.2px; /* Slightly tighter letter spacing */
}

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

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

a.nav-link.nav-download-highlight {
    color: var(--highlight-color) !important;
    font-weight: 600;
}

a.nav-link.nav-download-highlight:hover {
    color: var(--highlight-color) !important;
}

/* Dropdown menu styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--dark-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 1100;
    border-radius: 4px;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-content a:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:hover {
    background-color: rgba(59, 130, 246, 0.2);
    border-left: 3px solid var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.download-link {
    color: #ff0000 !important;
    font-weight: 600;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 40px; /* Increase margin for more space */
    padding-left: 20px; /* Add padding to separate visually */
}

.lang-option {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.flag-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 2px;
}

.lang-option:hover {
    opacity: 1;
}

.lang-option.active {
    opacity: 1;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 60px; /* Space for the deployment banner */
    color: white;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    white-space: nowrap;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    color: #ff0000 !important;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
}

/* Stile specifico per titolo hero in italiano */
body.it .hero-content h1 span:last-child {
    color: #ff0000 !important;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Static Banner */
.hero-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    height: 60px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.banner-content span {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.banner-content span .highlight {
    color: #ff0000;
    font-weight: 700;
    padding-right: 5px;
    font-size: 1.4rem;
}

.hero-content .cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.hero-one-click-note {
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 12px 20px;
    border-radius: 6px;
    max-width: 95%;
    border-left: 3px solid var(--accent-color);
}

.hero-one-click-note p {
    font-size: 14px;
    margin: 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    white-space: normal;
    word-break: keep-all;
    word-wrap: normal;
}

.one-click {
    color: var(--one-click-color) !important;
    font-weight: bold !important;
    font-family: var(--font-primary);
    white-space: nowrap !important;
    letter-spacing: -0.2px;
}

/* One-Click nella hero section con dimensione specifica */
.hero-content .one-click {
    font-size: 1.8rem !important;
}

.hero-one-click-note span {
    color: var(--one-click-color) !important;
    font-weight: bold !important;
    font-family: var(--font-primary);
    letter-spacing: -0.2px;
    display: inline !important;
}

.hero-one-click-note i {
    font-style: italic !important;
    font-weight: normal !important;
    color: #ffffff !important;
}

/* Classe speciale per preservare la formattazione durante l'applicazione delle traduzioni */
.preserve-formatting span,
.preserve-formatting i {
    /* Styles commented out to fix one-click note */
    /*color: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    font-size: inherit !important;*/
}

/* Mission Section */
.mission-section {
    background-color: #fcfcfc;
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.1));
}

.centered-mission-statement {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.mission-statement {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.5;
}

.mission-red {
    color: #ff0000;
    font-weight: normal;
}

/* Capabilities Section */
.capabilities-section {
    background-color: #f0f5ff;
    position: relative;
}

.capabilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.1));
}

.capabilities-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.capabilities-text {
    flex: 1;
}

.capabilities-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.capabilities-image {
    flex: 1;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Solutions Section */
.solutions-section {
    background-color: #ffffff;
    position: relative;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.1));
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.solution-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.solution-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.solution-card ul li {
    margin-bottom: 8px;
    list-style-type: disc;
    color: var(--gray-color);
}

.card-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, white, transparent);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
}

.solution-card:hover .card-overlay {
    bottom: 0;
    opacity: 1;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
    background: url('assets/images/oldtimes.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.benefits-section::before {
    display: none;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
}

.section-header {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Case Study Section */
.case-study-section {
    background-color: #f5f8ff;
    position: relative;
}

.case-study-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.1));
}

.case-study-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-study-header {
    text-align: left;
    margin-bottom: 10px;
}

.case-study-header h3 {
    margin-bottom: 15px;
}

.case-study-highlights {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 20px;
}

.success-points-container {
    flex: 1.2;
}

.case-study-image {
    flex: 0.8;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.success-points {
    margin: 0;
}

.success-points li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.success-points li i {
    color: #22c55e;
    margin-right: 15px;
    font-size: 1.2rem;
}

.founder-testimonial {
    background-color: rgba(244, 247, 252, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 40px;
    margin-top: 40px;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    border-left: 5px solid var(--primary-color);
}

.founder-testimonial h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.founder-testimonial blockquote {
    position: relative;
    padding: 20px 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.founder-testimonial blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 60px;
    color: rgba(30, 64, 175, 0.1);
    font-family: sans-serif;
}

.founder-testimonial-content {
    font-style: italic;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    margin: 0;
    padding: 0;
}

.founder-testimonial-content p {
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
}

.founder-testimonial-content span {
    display: inline;
}

.founder-testimonial cite {
    display: block;
    font-weight: 600;
    text-align: right;
    color: var(--primary-color);
    margin-top: 20px;
    font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
    .founder-testimonial {
        padding: 30px 20px;
    }
    
    .case-study-highlights {
        flex-direction: column;
    }
    
    .case-study-image {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* About Section */
.about-section {
    background-color: #fafcff;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.1));
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.founder-image {
    flex: 1;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.founder-bio {
    flex: 1;
}

.founder-bio h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.founder-bio h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.founder-bio p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.social-links {
    display: flex;
    margin-top: 25px;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    transition: var(--transition);
}

.social-link i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Download Dropdown Customization */
.download-dropdown {
    min-width: 120px;
}

.download-item {
    position: relative;
}

/* Show/hide download items based on language */
body:not(.it) .download-item[data-lang="it"] {
    display: none;
}

body.it .download-item[data-lang="en"] {
    display: none;
}

/* Contact Section */
.contact-section {
    background-color: #f0f7ff;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.1));
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1.5;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.form-group label {
    flex: 0 0 80px;
    font-weight: 600;
    margin-right: 15px;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group:has(textarea) {
    align-items: flex-start;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
}

.response-note {
    margin-left: 20px;
    color: var(--gray-color);
    font-style: italic;
    font-size: 0.9rem;
}

.contact-cta {
    margin-top: 30px;
}

.contact-cta .btn-secondary {
    color: var(--primary-color);
}

.contact-cta .btn-secondary:hover {
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo .logo-text {
    font-size: 1.3rem;
    font-family: Verdana, sans-serif;
    font-weight: 700;
    color: #c0c0c0;
    letter-spacing: 1px;
    margin-left: 12px;
}

.footer-logo .logo-text-highlight {
    color: #ff0000;
}

.footer-logo p {
    color: var(--light-gray);
}

.legal-info {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.4;
}

.legal-info p {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 0.75rem;
    color: var(--light-gray);
    opacity: 0.7;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.version-number {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

/* Side navigation dots */
.section-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: none; /* Visibile solo da 1300px in su */
}

.section-indicator ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-indicator li {
    margin: 20px 0;
    position: relative;
}

.section-indicator .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-indicator .dot:hover,
.section-indicator .dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

.section-indicator .tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.section-indicator li:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 30px;
}

@media screen and (min-width: 1300px) {
    .section-indicator {
        display: block;
    }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .mission-content,
    .case-study-container,
    .about-content,
    .contact-container {
        flex-direction: column;
    }
    
    .mission-image,
    .case-study-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        white-space: normal;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-banner {
        height: auto;
        min-height: 60px;
    }
    
    .banner-content span {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .solutions-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .response-note {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero-banner {
        min-height: 80px;
    }
    
    .banner-content span {
        font-size: 0.9rem;
        padding: 15px 10px;
    }
}
