*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f9fc;
    color: #333;
}

/* ------ Navbar ------ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #004aad;
    color: white;
    padding: 10px 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px;
    transition:0.2s;
}

nav ul li a:hover,
nav ul li a.active {
    background: white;
    color: #004aad;
}

/* ----- Header ----- */
header {
    background-color: #0056b3;
    color: white;
    padding: 50px 20px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: center;
}

/* ------ Buttons ----- */
.btn {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* ------ Info Section ------- */
.info {
    padding: 40px;
    text-align: center;
}

/* =---- Form Styles ---- */
.form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.form-card, .quiz-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    width: 350px;
    text-align: left;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.quiz-form {
    max-width: 400px;
    margin: 40px auto;
}

/*------- Results------ */
.results {
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}

.card {
    background: white;
    padding: 20px;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

 /* <------ Footer ----> */
footer {
    background: #004aad;
    color: white;
    padding: 10px;
    margin-top: 40px;
    text-align: center;
}


.small-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
}

.small-text a {
    color: #007bff;
    text-decoration: none;
}

.small-text a:hover {
    text-decoration: underline;
}
