/* Parallax Background */
.parallax-bg {
    position: relative;
    width: 100%;
    min-height: 100vh; /* FULLSCREEN HEIGHT */
    padding: 80px 10%; /* Add top and bottom space */
    display: flex;
    justify-content: flex-end; /* Align the content to the right */
    align-items: center; /* Center the content vertically */
    overflow: hidden;
}

/* Fullscreen Background Image */
.full-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(85%); /* Apply brightness filter */
}

/* Login Card */
.login-card {
    margin-left: auto; /* Align the card to the right */
    margin-right: 0;
    position: relative;
    background: rgba(255, 254, 254, 0.3);
    backdrop-filter: blur(5px);
    padding: 50px;
    border-radius: 18px;
    width: 500px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease-in-out;
}

/* Card Logo */
.card-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
}

/* Login Button */
.login-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 26px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-decoration: none;
    letter-spacing: 1px;
}

.login-btn:hover {
    background-color: #0056b3;
    transform: scale(1.07);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 46%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    animation: bounce 1.5s infinite;
    cursor: pointer;
    letter-spacing: 2px;
}

.scroll-down i {
    font-size: 35px;
    display: block;
    margin-top: -10px;
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Responsiveness */

/* Center the login card */
@media (max-width: 1366px) {
    .parallax-bg {
        padding: 60px 5%; /* Reduce the padding for smaller screens */
        justify-content: center; /* Center the content horizontally */
    }

    .login-card {
        width: 450px; /* Slightly smaller card for smaller screens */
        margin-left: auto; /* Keep the card aligned to the right */
        margin-right: auto; /* Keep the card aligned to the right */
    }

    .scroll-down {
        display: none;
    }

    .card-logo {
        width: 270px;
    }
}

@media (max-width: 768px) {
    .parallax-bg {
        padding: 40px 5%; /* Reduce padding more for smaller screens */
        justify-content: center; /* Center the content horizontally */
    }

    .login-card {
        width: 80%; /* Full width for smaller screens */
        margin-left: auto;
        margin-right: auto;
    }

    .scroll-down {
        display: none;
    }

    .card-logo {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .parallax-bg {
        padding: 30px 5%; /* Further reduce padding for very small screens */
        justify-content: center; /* Center the content horizontally */
    }

    .login-card {
        width: 90%; /* Almost full width on very small screens */
        padding: 20px; /* Adjust padding to fit the content */
        margin-left: auto;
        margin-right: auto;
    }

    .scroll-down {
        display: none;
    }

    .card-logo {
        width: 200px;
    }
}
