* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('images/bg1.jpg') no-repeat center center fixed;
    background-size: cover;
}

.top-ribbon {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 0;
    position: absolute;
    top: 10px; /* Add margin from the top */
    display: flex;
    justify-content: space-between; /* Space between items */
    align-items: center; /* Center items vertically */
    padding-right: 20px; /* Add some padding to the right */
    padding-left: 20px; /* Add some padding to the left */
}

.site-name {
    font-weight: bold; /* Make the font bold */
    font-size: 1.5em; /* Increase the font size */
}

.ribbon-link {
    color: #4CAF50; /* Main color for the links */
    text-decoration: none;
    margin: 0 10px;
    cursor: pointer; /* Add cursor pointer */
    font-weight: bold; /* Make the font bold */
    font-size: 1.2em; /* Increase the font size */
}

.ribbon-link:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0;
    font-weight: bold;
}

.dropdown-content a {
    color: #4CAF50; /* Same color as the Solutions link */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.login-container {
    background: rgba(38, 32, 32, 0.9); /* Add transparency to show the background image */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    text-align: center;
    color: white;
    margin-bottom: 40px; /* Ensure proper spacing on PC */
    margin-top: 80px; /* Adjust margin to account for top ribbon */
}

.login-header {
    margin-bottom: 20px;
}

.logo {
    max-width: 100px;
    margin-bottom: 10px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.remember-forgot-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

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

.forgot-password {
    color: #4CAF50;
    text-decoration: none;
    margin-left: auto;
}

.forgot-password:hover {
    text-decoration: underline;
}

.button-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
    flex-direction: column;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    margin: 5px 0;
}

button:hover {
    background-color: #45a049;
}

.footer-note {
    text-align: center;
    width: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 0; /* Increase padding for more space */
    margin-top: auto; /* Ensure footer stays at the bottom */
}

.footer-note a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

.footer-note p {
    margin: 5px 0;
}

.footer-note span {
    display: inline-block;
    margin: 0 5px;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

@media (min-width: 768px) {
    .login-container {
        width: 500px;
    }

    .button-container {
        flex-direction: row;
    }

    button {
        width: 48%;
    }
}
