:root {
    --primary-color: #2E8B57;
    /* Sea Green - Medical/Natural feel */
    --secondary-color: #20B2AA;
    /* Light Sea Green */
    --accent-color: #FF7F50;
    /* Coral - for buttons/highlights */
    --text-color: #333333;
    --bg-color: #F0F8FF;
    /* Alice Blue - very light */
    --white: #ffffff;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 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 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

main {
    flex: 1;
    padding: 3rem 0;
}

footer {
    background-color: #2F4F4F;
    /* Dark Slate Gray */
    color: var(--white);
    padding: 3rem 0;
    margin-top: auto;
}

footer a {
    color: #AFEEEE;
    /* Pale Turquoise */
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

h1,
h2,
h3 {
    margin-bottom: 1rem;
    color: #2F4F4F;
}

p {
    margin-bottom: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(46, 139, 87, 0.3);
}

.btn-primary:hover {
    background-color: #228B22;
    /* Forest Green */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(46, 139, 87, 0.4);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

/* Survey Styles */
.survey-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-container {
    background-color: #e0e0e0;
    border-radius: 20px;
    height: 12px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    height: 100%;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.question-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2.5rem;
    animation: slideUp 0.5s ease-out;
}

.question-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.option-btn {
    background-color: var(--white);
    border: 2px solid #e2e8f0;
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-align: center;
    color: var(--text-color);
}

.option-btn:hover {
    border-color: var(--secondary-color);
    background-color: #f0fdFA;
}

.option-btn.selected {
    border-color: var(--primary-color);
    background-color: #ecfdf5;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.article-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 3rem;
}

.article-content h2 {
    color: var(--primary-color);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .question-card {
        padding: 1.5rem;
    }

    .question-title {
        font-size: 1.4rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
}