:root {
    --primary-color: #007bff;
    /* Blue */
    --secondary-color: #0056b3;
    /* Darker Blue */
    --accent-color: #28a745;
    /* Green */
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjusted for new logo */
    width: auto;
}

main {
    flex: 1;
    padding: 2rem 0;
}

footer {
    background-color: #343a40;
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
}

footer a {
    color: var(--light-gray);
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
}

/* Typography */
h1,
h2,
h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #dbe2e8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}

/* Survey Specific Styles */
.survey-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-container {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--accent-color);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.question-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.question-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-btn {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-align: center;
}

.option-btn:hover,
.option-btn.selected {
    border-color: var(--primary-color);
    background-color: #e7f1ff;
    color: var(--primary-color);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.article-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 3rem;
}

.article-content h2 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}