body {
    margin: 0;
    padding: 0;
    background: url('bg.jpg') no-repeat center center; /* Add the image path here */
    background-size: cover; /* Ensures the image covers the entire background */
    font-family: "Ubuntu", sans-serif, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: flex-end; /* Align form to the right */
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

h1.page-title {
    position: absolute;
    top: 50px;
    left: 80px;
    font-size: 50px; /* Adjust the size as needed */
    color: #fff;
    font-weight: normal;
}

.highlight {
    color: #c0e5fe;
    font-weight: 700;
}

.right-section {
    background: linear-gradient(90deg, #006ab0, #00448f);
    border-radius: 15px;
    padding: 50px;
    width: 350px;
    margin-right: 80px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.right-section h1 {
    font-size: 56px; /* Adjust the size as needed */
    margin-top: 30px; /* Adds space above */
    margin-bottom: 50px; /* Adds space below */
    text-align: left; /* Center aligns the heading */
    color: #b2e0f7; /* Keep the color consistent */
    font-weight: normal;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #cdebf5;
}

.form-group input {
    width: 330px;
    padding: 15px;
    border-radius: 20px;
    border: 2px solid #ffffff; /* White border */
    outline: none;
    background: transparent; /* Removes background color */
    color: #ffffff; /* Sets text color to white */
}

.form-group input::placeholder {
    color: #ffffff; /* White color for placeholder text */
    opacity: 1; /* Ensures the placeholder is fully opaque */
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.options a {
    color: #cdebf5;
    text-decoration: underline;
    font-size: 0.9em;
}

.login-button {
    background: linear-gradient(90deg, #9d5ed5, #4c65ed);
    border: none;
    color: #fff;
    padding: 15px;
    width: 100%;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-button:hover {
    background: linear-gradient(90deg, #7b44ba, #394fdc);
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 5px;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        overflow-y: auto; /* Ensures proper scrolling on mobile */
    }

    .right-section {
        margin-right: 0;
        margin-top: 20px;
        width: 90%; /* Adjusts width for smaller screens */
        max-width: 350px; /* Ensures it doesn't get too large */
        padding: 30px; /* Reduces padding for mobile */
    }

    .form-group input {
        width: 100%; /* Makes input fields full width */
        padding: 12px; /* Reduces padding for better fit */
        border-radius: 15px; /* Adjusted for consistency */
        border: 2px solid #ffffff;
        outline: none;
        background: transparent;
        color: #ffffff;
    }

    h1.page-title {
        position: static;
        text-align: center;
        font-size: 36px; /* Reduces the font size for mobile */
        margin-bottom: 20px;
    }

    .right-section h1 {
        font-size: 48px; /* Smaller size for mobile */
        margin-bottom: 30px;
    }

    .login-button {
        padding: 12px; /* Reduces padding for better mobile fit */
    }

    .options {
        flex-direction: column; /* Aligns links and checkbox vertically */
        align-items: flex-start;
    }

    .options a {
        margin-top: 10px; /* Adds space between items */
        font-size: 0.85em; /* Smaller text for mobile */
    }
}
