@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700&display=swap');

body {
    font-family: 'Raleway', sans-serif !important;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f7f7f7;
}

#quiz-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* Header */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.back-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.header-spacer {
    width: 100px;
}

/* Quiz Content */
.quiz-title {
    color: #055d92;
    text-align: center;
    margin-bottom: 20px;
}

.quiz-instruction-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #00a79d;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #055d92;
    margin-top: 0;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.form-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.custom-button {
    background-color: #fff;
    color: #00a79d;
    border: 4px solid #00a79d;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 200px;
}

.custom-button:hover {
    background-color: #00a79d;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 167, 157, 0.3);
    transform: translateY(-2px);
}

.option-button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    color: #555;
    position: relative;
    font-family: inherit;
}

.option-button:hover {
    border-color: #00a79d;
    background: #f9f9f9;
    color: #00a79d;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.progress-track {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    background-color: #00a79d;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Footer */
#footer-outer {
    background-image: url('assets/bkg48.webp');
    background-size: cover;
    background-position: center top;
    padding: 80px 0 40px;
    color: #fff;
    margin-top: 80px;
    position: relative;
}

#footer-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 52, 54, 0.92);
    /* Dark teal overlay similar to reference */
    z-index: 0;
    display: block;
}

#footer-widgets {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-widget h4 {
    color: #00a79d;
    /* Teal color for headings */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-widget p {
    margin: 5px 0;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.footer-widget a {
    color: #fff;
    text-decoration: none;
}

#copyright {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

#copyright a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .input-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        flex: 100%;
        text-align: center;
    }
}