/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f4f6f8, #e2e8f0);
}

/* ================= HEADER ================= */
.header {
    height: 3.8rem;
    background: linear-gradient(90deg, #1e293b, #0f172a);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header a {
    color: #ffffff;
    text-decoration: none;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ================= MAIN CONTENT / NAVBAR ================= */
.navbar {
    flex: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    gap: 3rem;
}

/* ================= TAG LINE ================= */
.tag-line h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    max-width: 900px;
}

/* ================= CARD ================= */
.card {
    width: 420px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-self: center;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
    animation: fadeIn 0.5s ease-in-out;
    margin-top: 15px;
}

/* ================= CARD HEADING ================= */
.card h1 {
    font-size: 1.5rem;
    text-align: center;
    color: #0f172a;
}

/* ================= INPUT FIELD ================= */
.card input {
    height: 48px;
    padding: 0 14px;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card input:focus {
    border-color: #1e293b;
    box-shadow: 0 0 0 2px rgba(30, 41, 59, 0.15);
}

/* ================= BUTTON ================= */
.btn {
    height: 48px;
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.25);
}

/* ================= OUTPUT ================= */
.output {
    min-height: 48px;
    padding: 12px;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    background-color: #f8fafc;
}

/* ================= NAVIGATION LIST ================= */
.list {
    width: 60%;
    list-style: none;
    border-radius: 12px;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.list li {
    height: 75px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.list li a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
}

/* Hover Effect */
.list li:hover {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    transform: translateY(-4px);
}

.list li:hover a {
    color: #ffffff;
}

/* ================= FOOTER ================= */
.footer {
    height: 3.2rem;
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    margin-top: auto;   /* Push footer to bottom */
}


/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
