@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

/* Utility Bar Styles */
.utility-bar {
    color: rgba(255, 255, 255, 0.7); /* Softer white with some transparency */
    text-align: center; /* Center text */
    padding: 10px 20px; /* Restored original padding */
    font-size: 24px; /* Larger font size for big text */
    font-weight: bold; /* Make the font bold */
    width: 100%;
    /* Smooth and subtle vertical gradient */
    background-image: linear-gradient(
        #00421B 0%,      /* Darker green at the top */
        #00592D 20%,     /* Transition to the main color */
        #267F47 50%,     /* Lightest green at the center */
        #00592D 80%,     /* Transition back to the main color */
        #00421B 100%     /* Darker green at the bottom */
    );
    /* Text shadow for depth */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}



.header-main {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    padding: 10px 20px; /* Adjust padding to control header height */
    position: relative;
    z-index: 10;
    /* Radial gradient focused on green */
    background: radial-gradient(circle at center, #006D4E, #00592D, #00421B);
    color: white;
    /* Shadow to create a dark line at the bottom */
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid #003D1B; /* Dark line at the bottom */
}

.header-logo img {
    height: 80px; /* Slightly increase logo height without exceeding header bounds */
    width: auto; /* Maintain aspect ratio */
}

.header-menu {
    display: flex;
    align-items: center;
}


.header-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px; /* Reset font-size here */
}

.header-menu ul li {
    display: inline-block;
    margin-right: 10px; /* Add spacing between menu items */
}

.header-menu ul li:last-child {
    margin-right: 0; /* Remove margin from last menu item */
}

.header-menu ul li a {
    display: block;
    padding: 20px 15px; /* Maintain the original padding */
    color: white !important; /* Ensure text color is white and overrides other styles */
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.header-menu ul li a:hover,
.header-menu ul li a:focus {
    color: #000 !important; /* On hover, text color changes to black */
}

/* Styles for submenu */
.header-menu ul li ul.submenu {
    display: none; /* Hide the submenu by default */
    position: absolute;
    background-color: #00592D; /* Background color for the submenu */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
    z-index: 999; /* Ensure the submenu appears above other content */
	background-color: rgba(0, 89, 45, 0.5); /* Adjust the last number for transparency, 0 is fully transparent, 1 is fully opaque */

}

.header-menu ul li:hover ul.submenu {
    display: block; /* Show the submenu when the parent li is hovered */
}

.header-menu ul li ul.submenu li {
    display: block;
    width: 100%; /* Full width */
}

.header-menu ul li ul.submenu li a {
    display: block;
    padding: 10px 15px; /* Adjust padding as needed */
    color: #333; /* Text color for submenu items */
    text-decoration: none;
    transition: background-color 0.3s; /* Smooth transition for better user experience */
}

.header-menu ul li ul.submenu li a:hover {
    background-color: #f0f0f0; /* Background color change on hover */
}


body {
    background-color: black; /* Ensures the background behind images is black */
}

.background-image::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay; adjust opacity as needed */
    pointer-events: none; /* Allows clicks to pass through */
    z-index: 1; /* Ensures the overlay is above the background image but below the text */
}

.background-image {
    position: fixed;
    top: 130px;
    left: 0;
    width: 100%;
    height: calc(100vh - 130px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
    filter: brightness(80%);
    transition: opacity 2s ease-in-out; /* Smooth transition for the opacity change */
}

.background-image:nth-child(1) {
    z-index: 1; /* Set a lower z-index for the first background image */
}

.background-image:nth-child(2) {
    z-index: 2; /* Set a higher z-index for the second background image */
}

.background-image, .image-text {
    transition: opacity 2s ease-in-out;
}


/* Arrow controls styling */
.arrow {
    cursor: pointer;
    position: fixed;
    top: 50%; /* Center vertically */
    margin-top: -20px; /* Adjust based on the size of your arrows */
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    background-color: transparent; /* No background for a cleaner look */
}

.right-arrow {
    right: 0;
}

.left-arrow {
    left: 0;
}

.arrow:hover {
    background-color: rgba(0,0,0,0.2); /* Slight background on hover for better visibility */
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Higher than the image overlay */
    display: flex; /* Establish flex container */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center align children horizontally */
    text-align: center; /* Center text alignment for when subtitle wraps */
    width: 80%; /* Set a width to allow wrapping and adjust as needed */
    max-width: 1200px; /* You can adjust this to suit your design */
    opacity: 0; /* Hide text initially */
    transition: opacity 2s ease-in-out; /* Smooth transition for opacity change */
}

.title, .subtitle {
    margin-top: 1em; /* Adjust this value to create more space between the title and subtitle */
    /* Full white color text */
    color: #FFFFFF;
    /* Text shadow for better readability against varied backgrounds */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    /* Ensure the text is not semi-transparent */
    opacity: 1;
    /* Adjust brightness: 100% is default, increase for more brightness, decrease for less */
    filter: brightness(100%);
}

.title {
    font-size: 4em; /* Larger font size for the title */
    font-weight: 700; /* Heavier weight if you want it bolder */
}

.subtitle {
    font-size: 2em; /* Smaller font size for the subtitle compared to the title */
    font-weight: 500; /* Bold but less than the title */
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full height of the viewport */
    background-image: url('/images/csgbackground.jpg'); /* Path to your desired background image */
    background-size: cover;
    background-position: center;
    z-index: -1; /* Ensure it stays behind content */
}

.login-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Full height of the viewport */
}

.login-box {
    width: 100%;
    max-width: 400px; /* Set the maximum width of the login box */
    margin: 0 auto;
    padding: 2em;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: center; /* Center the text inside the box */
}

.login-box h2 {
    color: #333; /* Darker text color for the heading */
    margin-bottom: 1em; /* Spacing below the heading */
}

.login-box .form-group label {
    float: left; /* Align labels to the left */
    color: #333; /* Text color for the form labels */
}

.login-box .form-control {
    width: 100%; /* Full width of the parent */
    margin-bottom: 1em; /* Spacing below each input */
    border: 1px solid #ccc; /* Border color for inputs */
    border-radius: 4px; /* Rounded borders for inputs */
    padding: 10px; /* Padding inside inputs */
}

.login-box .btn {
    width: 100%; /* Full width button */
    padding: 10px; /* Padding inside button */
    border-radius: 4px; /* Rounded borders for button */
    color: white; /* Text color for button */
    background-color: #00592D; /* Background color for button */
    border: none; /* Remove default border */
}

.login-box .btn:hover {
    background-color: #003D1B; /* Darker background on hover */
}


.user-data {
    background-color: #fff; /* Solid white background */
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow for depth */
    font-size: 1.2em; /* Increase the font size */
}

/* Increase specific heading sizes as needed */
.user-data h2 {
    color: #333;
    font-size: 2em; /* Larger size for h2 elements */
}

/* You can also target specific list items if needed */
.user-data ul li {
    margin-bottom: 10px;
    font-size: 1.1em; /* Slightly larger font size for list items */
}



/* Additional styles for the rest of the page */
/* ... */
