.motor-animation-section {
    background-color: #0a1a1f;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
}

.motor-animation-container {
    width: 100%;
    height: 500px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.motor-chip-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.motor-chip-image img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.motor-chip-image img:hover {
    transform: scale(1.02);
}

.motor-animation-container canvas {
    position: absolute;
    left: 0;
}

.graph-canvas {
    top: 0;
    height: 20%;
    width: 100%;
    border-bottom: 1px solid rgba(0, 230, 230, 0.3);
}

.motor-canvas {
    top: 20%;
    height: 60%;
    width: 100%;
}

.waveform-canvas {
    top: 80%;
    height: 20%;
    width: 100%;
    border-top: 1px solid rgba(0, 230, 230, 0.3);
}

.animation-title {
    color: #00e6e6;
    text-align: center;
    margin-bottom: 30px;
}

.animation-description {
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .motor-animation-container {
        height: 400px;
        margin-top: 30px;
    }
    
    .motor-chip-image {
        max-width: 80%;
        margin: 0 auto 30px;
    }
}

@media (max-width: 576px) {
    .motor-animation-container {
        height: 300px;
    }
    
    .motor-chip-image {
        max-width: 100%;
    }
}
