diff --git a/smartsoltech/web/templates/web/home_modern.html b/smartsoltech/web/templates/web/home_modern.html index de27c79..bcca77b 100644 --- a/smartsoltech/web/templates/web/home_modern.html +++ b/smartsoltech/web/templates/web/home_modern.html @@ -597,6 +597,14 @@ .carousel-item { position: relative; height: 100%; + width: 100%; + border-radius: 20px; + overflow: hidden; +} + +.carousel-inner { + height: 100%; + border-radius: 20px; } .hero-bg { @@ -606,6 +614,8 @@ display: flex; align-items: center; justify-content: center; + border-radius: 20px; + overflow: hidden; } .hero-video { @@ -615,7 +625,9 @@ width: 100%; height: 100%; object-fit: cover; + object-position: center; z-index: 1; + border-radius: 20px; } .hero-bg img { @@ -625,7 +637,9 @@ width: 100%; height: 100%; object-fit: cover; + object-position: center; z-index: 1; + border-radius: 20px; } .hero-overlay { @@ -765,6 +779,13 @@ max-height: 600px; } + .carousel-item, + .hero-bg, + .hero-video, + .hero-bg img { + border-radius: 15px; + } + .hero-content { padding: 2rem 1.5rem; } @@ -798,6 +819,13 @@ min-height: 350px; } + .carousel-item, + .hero-bg, + .hero-video, + .hero-bg img { + border-radius: 12px; + } + .hero-content { padding: 1.5rem 1rem; }