The 2018 Ecosport is still new enough Amazon still doesn't really know if the headlights will fit or not, so I wouldn't trust the Amazon Garage 'Will it fit' function. I replaced my stock Halogen bulbs with Led lights from Amazon this past January. It took me about 3 weeks of research finding the correct bulb sizes, making sure they would fit in the headlight housing, heat dissipation, etc. The headlamps are dual bulbs, so you will have one bulb for the Low/Driving Beams and another for the High Beams. The Low Beams are type H11 bulbs and the High Beams are type 9005 bulbs. I bought 6000k color lights because I thought they were fairly close in color to the Led signature lights. Also, Led lights generate more heat than Halogen bulbs and they are enclosed in the Headlight housing, so you want to make sure there will be adequate cooling. I was able to find an Led light with a heat sink & fan for the Low Beams that would fit, after fitting the connectors and folding the wires inside the housing, and still be able to put on the rubber cover. For the High Beams, due to the much smaller space in the housing, I used an Led light that just had a heat sink on it (not needing the fan because the High beams generally aren't used too often, or for very long, so overheating shouldn't be too much of a problem). I have been running these lights for a few months and haven't had any issue at all, though you may notice a tiny little flicker with the Auto Start/Stop function at stoplights and whatnot. It doesn't bother me much since the improved visibility is worth it, but you may notice it and just so you know, it happens to others as well. It's not faulty wiring or anything. I don't know if you want to replace the Fog Lamps as well, so it's all done at the same time and so it's all Led on the front of the vehicle, but I'll put a link for them as well.
To save you the time of looking and guesswork I had to do, these are the bulbs I found and was able to put in my Ecosport:
(I don't know whether this forum doesn't like people posting links to other websites, so continuing etiquette from other forums I've been on, I replaced the "." with "(dot)" in the links).
Low Beams: www(dot)amazon(dot)com/gp/product/B07FDGZG9Q/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1
High Beams: www(dot)amazon(dot)com/gp/product/B075QJB2JF/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Fog Lamps: www(dot)amazon(dot)com/gp/product/B06ZZCR1V6/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&psc=1
A side note for the High Beams: make sure you switch the little gasket near the base from the stock Halogen bulbs with the new Led lights gasket. The new gasket is about 1/64" larger and the bulb won't slide in the last 1/8" so you can turn it an lock it into the Headlight housing. I'm not proud of it, but I probably spent a week figuring out why it wouldn't fit. 😂