body {
    overflow: auto; /* Allow scrolling if content overflows */
    background-image: url('img/18.jpg'); /* Add the background image */
    background-size: cover; /* Ensures the image covers the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating the image */
    background-attachment: fixed; /* Keeps the background image static during scroll */
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures footer stays at the bottom */
}

.header {
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: flex-start;
}
.header-title {
    font-size: 24px;
    color: #6AB84C;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    text-align: left;
    white-space: nowrap;
}

.header-container {
    display: flex;
    align-items: center; /* Center logo and title vertically */
    justify-content: flex-start; /* Align logo and title to the left */
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    margin-right: 15px;
}

.login-card {
    border-radius: 10px;
    background-color: #fff;
    max-width: 400px;
    width: 90%; /* Adjust width for responsiveness */
    margin: 20px auto 30px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 90px; /* Keeps form at a consistent vertical distance */
}

input::placeholder {
    color: #bbb;
}

.loginForm {
    width: 100%;
    height: auto;
    margin-top: 20px; /* Adjusted for better spacing */
}

.container-fluid {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    padding: 0 20px; /* Added padding for small screens */
}

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
}

.tagline {
    height: 100px;
    z-index: 1;
    opacity: 80%;
    color: #6c757d;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    position: relative;
}

.tagline img {
    padding: 10px;
    position: absolute;
    left: 20px;
    top: -10px;
    max-width: 100px;
    margin-top: -43px;
    height: auto;
}

.tagline h2 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0;
    color: #000;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.img-fluid.h-300 {
    height: 625px;
    object-fit: cover;
    margin-top: 25%;
}

.footer {
    background-color: #f8f9fa;
   opacity: 80%;
    color: #6c757d;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 10%;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.footer a {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.form-label {
    font-weight: bold;
    font-size: 15px;
}




/* Responsive Design */
@media (max-width: 1024px) {
    .header-title {
        font-size: 22px;
    }

    .login-card {
        width: 80%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px;
    }

    .header-title {
        font-size: 20px;
    }

    .logo img {
        max-height: 50px;
        margin-right: 10px;
    }

    .login-card {
        width: 90%;
        padding: 15px;
        margin-top: 90px; /* Adjust for smaller screens */
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 18px;
    }

    .logo img {
        width: 50px;
        margin-right: 8px;
    }

    .login-card {
        width: 95%;
        padding: 10px;
        margin-top: 85px;
    }
    
    .login-card input {
        font-size: 14px;
    }
}
