diff --git a/assets/css/custom.css b/assets/css/custom.css index d8ed7c3a..819b46fa 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -528,3 +528,39 @@ font-weight: 500; } +/* --- Hero Video Section --- */ +.hero-video-background { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: hidden; + z-index: -1; /* Changed from 1 to -1 */ +} + +.hero-video-background video { + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + object-fit: cover; +} + +.hero-video-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + z-index: 1; +} + +.hero-section .container { + z-index: 2; +} \ No newline at end of file diff --git a/index.php b/index.php index 5db42a67..9f2ff994 100644 --- a/index.php +++ b/index.php @@ -11,17 +11,18 @@ require_once 'db/config.php'; ?> -
-
-
-