/* Hardware Section */
.hardware {
    padding: 60px 0;
    background-color: var(--background-color);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center; /* Center the grid items */
    margin: 0 auto; /* Center the grid within the container */
    max-width: 1200px; /* Optional: Set a max-width for the grid */
}

.hardware-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow-color);
    animation: fadeInUp 0.5s ease forwards; /* Add animation */
    opacity: 0; /* Start with hidden */
}

.hardware-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.hardware-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px; /* Add rounded corners to images */
}

.hardware-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color); /* Add primary color to title */
}

.hardware-item ul {
    list-style-type: none;
    padding: 0;
    text-align: left; /* Align text to the left */
}

.hardware-item ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.hardware-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color); /* Add primary color to bullet points */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Layout */
@media (max-width: 600px) {
    .hardware-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        justify-content: center;
    }

    .hardware-item {
        padding: 20px;
    }

    .hardware-item h3 {
        font-size: 20px;
    }
}