/* Stili per la sezione Software */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.software-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.software-header {
    background-color: #1a237e;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.software-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.software-body {
    padding: 1.5rem;
}

.software-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.software-image {
    text-align: center;
    margin-bottom: 1rem;
}

.software-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.software-description h4 {
    color: #1a237e;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.software-description p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.software-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.software-actions .btn {
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.intro-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Responsive adjustments for software section */
@media (min-width: 768px) {
    .software-content {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .software-image {
        flex: 0 0 40%;
        margin-bottom: 0;
    }
    
    .software-description {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .software-grid {
        grid-template-columns: 1fr;
    }
    
    .software-actions {
        flex-direction: column;
    }
    
    .software-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
