As for flight connections, Barcelona and Madrid should have decent connections to Toronto and Delhi, while Casablanca (Morocco’s largest airport) probably does not. So Spain is the better choice by that standard. On the other hand, you can get to Morocco by ferry from Spain in a short time, so you could go to Spain and also visit Morocco for a day or two.
Yes I travelled a bit by train in southern India, I got lucky on my first few journeys with lack of people, then I hit some Indian holidays and it was hellish. I remember the trains being booked up for all the upgraded a/c and upper class carriages. One time even the Indians were fainting on the over packed carriage so you can imagine the heat for little old gringo me!
Traveling during the last ten days of December means crowds and exorbitant prices throughout much of the world, but the first two-thirds of the month—before holiday airfares and hotel rates go into effect—can be a serene, value-laden, and just plain lovely time to vacation. Europe is all decked out for the holidays—with locals generally friendly and in high spirits; in the Southern Hemisphere, spring is in bloom; and in the Caribbean, Hawaii, and Mexico, hurricane season is over, the weather is gorgeous, and there are free upgrades galore.