html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; /* A professional sans-serif font */
    color: #f0f0f0; /* Light text for contrast on dark background */
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

body {
    background-color: black;
	background-image: url('bground.png');
    background-size: cover;
    background-position: center 40px;/* Default for wide screens */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Default for wide screens */
    display: flex; /* Use flexbox for overall page layout */
    flex-direction: column; /* Stack header and main content vertically */
}

/* --- Navigation Bar (Banner) Styling --- */
.navbar {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background for the banner */
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    flex-shrink: 0; /* Prevents navbar from shrinking */
}

.navbar .container {
    max-width: 100%; /* Max width for your content inside the nav */
    margin: 0 auto;    /* Centers the container */
    display: flex;
    justify-content: space-between; /* Pushes logo to left, nav items to right */
    align-items: center;            /* Vertically aligns items */
    padding: 0 20px; /* Padding on sides for smaller screens */
}

.navbar-brand {
    display: flex; /* Use flex to align logo if text is ever added */
    align-items: center;
    text-decoration: none; /* Remove underline from logo link */
}

.logo-in-nav {
    height: 50px; /* Adjust height of your logo in the navigation */
    width: auto;  /* Maintain aspect ratio */
}

.navbar-nav ul {
    list-style: none; /* Remove bullet points from list */
    margin: 0;
    padding: 0;
    display: flex; /* Arrange navigation items horizontally */
}

.navbar-nav li {
    margin-left: 30px; /* Space between navigation items */
}

.navbar-nav a {
    color: #e0e0e0; /* Light grey text for nav links */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.navbar-nav a:hover {
    color: #4CAF50; /* A professional green on hover, or your brand's accent color */
}

/* --- Main Content Area Styling --- */
.content {
    
    text-align: center; /* Center the initial welcome text */
    display: flex;
    flex-direction: column;
    align-items: center;     /* Center content horizontally */    
    margin-top: 20px; /* Space from navbar */
    margin-bottom: 50px; /* Space from bottom if content is short */
}


/* --- Responsive adjustments --- */
@media (max-width: 768px) {

    body {
        /* --- THIS IS THE NEW FIX --- */
        background-attachment: scroll; /* Disables the 'fixed' effect */
        background-position: top center; /* Aligns background to top */
    }

    .navbar .container {
        /* flex-direction: column; <-- This was removed to keep navbar in one row */
        padding: 10px 15px;
    }

    .navbar-nav ul {
        margin-top: 0; 
        flex-wrap: wrap; 
        justify-content: flex-end; 
    }

    .navbar-nav li {
        margin: 5px 15px; 
    }

    .content h1 {
        font-size: 2em;
    }
}