/* ===== Global Styles ===== */
body {
    font-family: 'Poppins', sans-serif;
    background: url('login.jpg') no-repeat center center/cover;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* ===== Container (Glassmorphism) ===== */
.container {
    width: 400px;
    margin: auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
}

/* ===== Heading ===== */
h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #4caf50;
    /* Green primary color */
}

/* ===== Very Top Navigation ===== */
.very-top {
    background: linear-gradient(135deg, #43a047, #2e7d32);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.logo-link h5 {
    font-size: 2rem;
    color: #f9fbe7;
    margin: 0;   
}
.logo-link{
text-decoration: none;
}
.log {
    display: flex;
    align-items: center;
    gap: 20px;
}

.log-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #c8e6c9;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.4s ease;
}

.log-item:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    color: #fff;
}

.log-item img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

/* Responsive Top Nav */
@media (max-width: 600px) {
    .very-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .log {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
}


/* Hover Animation for Links */
.log-item:hover {
    transform: translateY(-3px);
    color: #d4edda;
}

/* Animation Keyframes */
@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== Form Styles ===== */
form {
    margin-top: 20px;
}

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

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 95%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    color: white;
    outline: none;
    transition: 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4caf50;
    background: rgba(255, 255, 255, 0.4);
}

/* Password Eye Icon */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #eee;
}

/* ===== Buttons ===== */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5);
    margin-bottom: 30px;
}

button:hover {
    background: linear-gradient(135deg, #81c784, #388e3c);
    box-shadow: 0 6px 18px rgba(76, 175, 80, 0.6);
}

button:active {
    transform: scale(0.98);
}

/* ===== Additional Links ===== */
.link-new, .link-forgot{
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #c8e6c9;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.4s ease;
}
.link-new:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    color: #fff;
}
.link-forgot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    color: #fff;
}

.additional-links a{
    color: #000;
    font-size: 18px;
    padding: 15px;
}

h3 a {
    text-decoration: none;
    font-size: 14px;
}

h3 a:first-child {
    color: #4caf50;
}

h3 a:last-child {
    color: red;
}

/* ===== Footer Styles ===== */
footer {
    background: #000;
    color: #c8e6c9;
    padding: 50px 20px 20px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
    color: #4caf50;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #81c784;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #c8e6c9;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #4caf50;
}

.social-icons a {
    color: #c8e6c9;
    font-size: 1.4rem;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #4caf50;
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: none;
    outline: none;
}

.newsletter button {
    background: #66bb6a;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    background: #81c784;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 450px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    .very-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .log {
        flex-direction: column;
    }

    footer {
        padding: 40px 15px;
    }
}