* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
.header {
    background-color: #ECF0F1;
    color: #2C3E50;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Flex Container */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    max-width: 1450px;
    margin: 0 auto;
}

/* Logo & Title */
.logo-title {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2C3E50; 
    margin-right: 10px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; 
}

.h2 {
    margin-right: 60px; 
}

/* Navigation */
.nav {
    display: flex;
    margin-right: 15px;
    gap: 40px;
}

.nav a {
    color: #34495E;
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #F1C40F;
}

/* Login Navigation Link */
.login-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.login-link i {
    font-size: 16px;
}

/* Mobile Menu */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.icon {
    width: 30px;
    height: 30px;
    color: #34495E;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #ECF0F1;
    text-align: center;
    padding: 10px 0;
}

.mobile-menu a {
    color: #34495E;
    padding: 10px;
    display: block;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #F1C40F;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }

    .mobile-menu {
        display: none;
    }

    .header {
        padding: 10px;
    }
}

/* Full-Screen Login Page */
.login-container {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: -20px;
}

/* Wrapper to hold both boxes */
.login-wrapper {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Left Message Box */
.message-box {
    background: linear-gradient(to bottom, #FFFFFF 30%, #b2b9bb 90%);
    border-right: 5px solid #F1C40F;
    color: #34495E;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
    box-sizing: border-box;
}

.message-box h2 {
    color: #2C3E50;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.message-box p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.message-box img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #F1C40F;
    padding: 5px;
    max-width: 100%; 
    height: auto; 
}

/* Right Login Box */
.login-box {
    width: 60%;
    padding: 70px;
    text-align: center;
    box-sizing: border-box;
    background: #2C3E50;
}

.login-box h2 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: #F7F9FC;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

.login-box input:focus {
    border-color: #F1C40F;  
}

.login-box button {
    background-color: #1a11d0;
    color: #ECF0F1;
    border: none;
    padding: 14px;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}   

.login-box button:hover {
    background-color: #084aff;
    color: #ECF0F1;
    transform: scale(1.05);
}

.welcome-message {
    font-size: 1rem;
    color: #ECF0F1;
    margin-bottom: 15px;
    font-weight: 400;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding: 14px;
    padding-right: 45px; 
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: #F7F9FC;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

.password-container button {
    position: absolute;
    right: 10px;
    top: 13%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #2C3E50;
    outline: none;
    padding: 5px;
    border-radius: 5px;
    width: 35px; 
    height: 35px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;

}

/* Hover Effect */
.password-container button:hover {
    background: none;
    color: #F1C40F;  
}   

/* Click Effect */
.password-container button:active {
    background: none;
    color: #F1C40F;  
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
        margin-top: 60px;
        margin-bottom: 20px;
    }

    .login-wrapper {
        flex-direction: column;
        max-width: 90%;
        width: 100%;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .message-box, .login-box {
        width: 100%;
        padding: 25px;
    }

    .message-box {
        border-right: none;
        border-bottom: 5px solid #F1C40F;
    }

    /* Responsive Logo */
    .message-box img {
        width: 120px;
        height: 120px;
        border: 3px solid #F1C40F;
        padding: 4px;
    }

    .password-container input {
        font-size: 1rem;
    }

    .password-container button {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
        margin-top: 80px;
        margin-bottom: 20px;
    }

    .login-wrapper {
        max-width: 90%;
        border-radius: 10px;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .message-box, .login-box {
        padding: 20px;
    }

    .message-box {
        border-right: none;
        border-bottom: 5px solid #F1C40F;
    }

    .message-box h2, .login-box h2 {
        font-size: 1.5rem;
    }

    .login-box input, .login-box button {
        padding: 12px;
        font-size: 0.9rem;
    }

    /* Responsive Logo */
    .message-box img {
        width: 100px;
        height: 100px;
        border: 2px solid #F1C40F;
        padding: 3px;
    }

    .password-container input {
        font-size: 0.9rem;
        padding: 12px;
        padding-right: 40px;
    }

    .password-container button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: 10%;
    }
}

/* Footer Styling */
.footer {
    background-color: #2C3E50;
    color: #ECF0F1;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1450px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 20px;
    gap: 40px;
}

.footer-info, .footer-links, .footer-contact {
    max-width: 300px;
}

/* Footer Headings */
.footer h3, .footer h4 {
    color: #F1C40F;
    margin-bottom: 10px;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 400;
}

/* Footer Text & Links */
.footer p, .footer a {
    color: #ECF0F1;
    font-size: 14.5px;
    line-height: 1.5;
    text-decoration: none;
}

.footer a:hover {
    color: #F1C40F; 
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links {
    color: #ECF0F1;
}

/* Contact Icons */
.footer-contact p {
    display: flex;
    align-items: left;
    gap: 8px;
}

.footer-contact i {
    margin-right: 8px;
    color: #F1C40F;
    font-size: 16px;
}

.footer-bottom {
    margin-top: 1px;
    font-size: 12px;
    border-top: 1.5px solid #ECF0F1;
    padding-top: 13px;
    padding-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info, .footer-links, .footer-contact {
        margin-bottom: 20px;
    }
}