* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

:root {
    --primary-color: #0078d7;
    --secondary-color: #ffd700;
    --accent-color: #e6007e;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
    --border-radius: 8px;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.header-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.intro {
    background-color: #fff;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.question-section {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.question-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.question {
    margin-bottom: 25px;
}

.question h3 {
    margin-bottom: 10px;
    color: var(--dark-text);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.options input[type="radio"],
.options input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.other-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-option input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.rating-scale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.scale-options {
    display: flex;
    gap: 15px;
}

.scale-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.section-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.image-container {
    margin-bottom: 20px;
}

.submit-section {
    text-align: center;
    margin-top: 30px;
}

button {
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: var(--shadow);
}

button:hover {
    background-color: #c4006e;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

#generate-pdf {
    background-color: #4CAF50;
    margin-left: 15px;
}

#generate-pdf:hover {
    background-color: #3e8e41;
}

.hidden {
    display: none;
}

#thank-you {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

#thank-you h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

#confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#reset-button {
    margin-top: 20px;
    background-color: var(--primary-color);
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    color: #777;
    font-size: 0.9rem;
}

.example-answer {
    margin-top: 5px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-image, .section-image {
        height: 180px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .question-section {
        padding: 15px;
    }
    
    button {
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .header-image, .section-image {
        height: 150px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .rating-scale {
        flex-direction: column;
        gap: 10px;
    }
}