body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

/* Navbar */
.navbar {
    background: transparent !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important; /* White icon */
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FFD700 !important; /* Gold on hover */
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    display: none; /* Initially hidden */
    background: transparent !important; /* Transparent background */
    border: none; /* Remove any borders */
}

@media (min-width: 768px) {
    .navbar-nav .dropdown-menu {
        display: none; /* Hidden by default */
        flex-direction: row; /* Horizontal layout */
        justify-content: center;
        position: absolute;
        top: 100%; /* Position below main navbar */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%);
        background: transparent; /* Transparent background */
        padding: 5px 0;
        border-radius: 5px;
        z-index: 1000;
    }

    .navbar-nav .dropdown-menu.show {
        display: flex; /* Show dropdown when active */
    }

    .dropdown-menu .dropdown-item {
        color: white;
        font-weight: bold; /* Bold font */
        margin: 0 10px;
        transition: color 0.3s ease;
        background: transparent; !important/* Transparent background */
    }

    .dropdown-menu .dropdown-item:hover {
        color: #FFD700; /* Gold on hover */
		background: transparent; !important/
    }
}




/* Vertical Submenu for smaller screens */
@media (max-width: 767px) {
    .navbar-nav .dropdown-menu {
        display: block; 
        flex-direction: column; 
        position: static;
        width: 100%; /* Ensure it takes full width */
    }
}

.navbar-nav .dropdown-item:hover {
    color: gold !important;
}

/* Logo */
.logo-container img {
    max-width: 55%;
    margin: 40px auto; /* Added more top margin */
    background: #3C91DA !important;
    border-radius: 5%;
}

/* Buttons and Modules */
.button-container .btn {
    margin: 20px 10px; /* Spacing between buttons */
}

/* Button hover effect */
.btn:hover {
    background-color: transparent !important;
    color: white !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add drop shadow */
}

/* Module box styling */
.module-box {
    display: none; /* Initially hidden */
    margin: 20px auto;
    padding: 10px;
    background: linear-gradient(135deg, #b0c4de, #dcdcdc);
    border: 5px solid #a0a0a0;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 360px;
    position: relative; /* Prevents pushing elements down */
}

.module-box.visible {
    display: block; /* Make visible when class is added */
}

/* Responsive Video */
.responsive-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.responsive-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
