/* Sezione Hero con gradiente di sfondo */
.hero-section {
    padding: 40px 0;
    color: white;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 1.5px;
    background: linear-gradient(to right, #FFA500, #FFD700);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.5em;
    margin-top: 10px;
    color: #555;
    opacity: 0.85;
}

/* Effetti animazione per la sezione Hero */
.hero-section .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-elements img {
    position: absolute;
    opacity: 0.6;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Sezione Descrittiva */
.description-section {
    background-color: #f8f9fa;
    padding: 50px 20px;
    text-align: center;
}

.description-section h2 {
    font-size: 2.6em;
    color: #00539C;
    margin-bottom: 20px;
}

.description-section p, .description-section ul {
    font-size: 1.2em;
    color: #555;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

.description-section img {
    max-width: 90%;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sezione Soluzioni */
.solutions-section {
    background: linear-gradient(to bottom right, #FFA500 0%, #FFD700 50%, #FFFACD 100%);
    padding: 80px 20px;
    color: #333;
    text-align: center;
}

.solutions-title {
    font-size: 3em;
    margin-bottom: 40px;
    color: #00539C;
}

.solutions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.solution-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.solution-item img {
    width: 80px;
    margin-bottom: 15px;
}

.solution-item h3 {
    font-size: 1.7em;
    margin-bottom: 15px;
    color: #00539C;
}

.solution-item p {
    font-size: 1.1em;
    color: #555;
}

/* Effetto pulsazione su hover */
.solution-item::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-item:hover::before {
    opacity: 1;
}

/* Sezione CTA */
.cta-section {
    background-color: #00539C;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
}

.cta-section p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #FFA500;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #FFD700;
    color: #00539C;
}

/* Sezione interattiva */
.interactive-section {
    padding: 80px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.interactive-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.interactive-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.interactive-item:hover img {
    transform: scale(1.2);
}

.interactive-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.interactive-item h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.8em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
    color: #333;
}

footer p {
    font-size: 1.2em;
    margin: 0;
    color: #00539C;
}

/* Fascia superiore (header) */
header {
    background-color: #f2f2f2;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

header a:hover {
    color: #FFA500;
}
