| ... |
... |
@@ -218,4 +218,29 @@ |
| 218 |
218 |
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
| 219 |
219 |
} |
| 220 |
220 |
} |
|
221 |
+ |
|
222 |
+ /* ===== Prevent horizontal overflow ===== */ |
|
223 |
+ html, body { |
|
224 |
+ overflow-x: hidden; |
|
225 |
+ } |
|
226 |
+ |
|
227 |
+ /* Ensure hero gradients don't bleed */ |
|
228 |
+ .hero { |
|
229 |
+ overflow: hidden; /* contain background overflow */ |
|
230 |
+ background-repeat: no-repeat; |
|
231 |
+ background-attachment: scroll; |
|
232 |
+ } |
|
233 |
+ |
|
234 |
+ /* Fix possible grid or card overshoot */ |
|
235 |
+ .container { |
|
236 |
+ max-width: 100%; |
|
237 |
+ overflow-x: clip; /* hides subtle pixel overflow without scroll */ |
|
238 |
+ } |
|
239 |
+ |
|
240 |
+ /* Safety for large paddings/margins that might extend */ |
|
241 |
+ section, .widgets, .services, .metrics, .steps { |
|
242 |
+ margin-left: auto; |
|
243 |
+ margin-right: auto; |
|
244 |
+ } |
| 221 |
221 |
} |
|
246 |
+ |