 /* Base Styles */
 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Quiz Container */
.quiz-container {
    padding: 40px 0;
}

.quiz-content {
    width: 50%;
    max-width: 600px;
    margin: 0 auto;
}

/* Personal Info Section */
.personal-info-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    width: 100%;
}

.personal-info-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Progress Bar */
.quiz-progress {
    margin-bottom: 30px;
}

.progress-container {
    background: #f3f3f3;
    border-radius: 20px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
    transition: width 0.4s ease;
}

.progress-text {
    display: block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.encouragement-badge {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 10px auto;
    display: inline-block;
    font-weight: bold;
    text-align: center;
}

/* Question Styles */
.question {
    display: none;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.question.active {
    display: block;
}

.question h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.instruction {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.food-image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 0 20px;
}

/* Options Container */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-button {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #4CAF50;
}

.option-button img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 8px;
}

.option-button input[type="checkbox"], 
.option-button input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.other-option .other-input {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

/* Emoji/Icons */
.emoji-icon {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Buttons */
.cta-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
}

.cta-button:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-button {
    background-color: #fff;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button:hover {
    background-color: #4CAF50;
    color: #fff;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f3f3f3;
    color: #999;
    border-color: #ddd;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-button:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Completion Screen */
.completion-screen {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.completion-screen h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.completion-screen p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.loader {
    text-align: center;
    margin: 20px 0;
}

.completion-message {
    font-size: 18px;
    font-weight: 500;
    color: #4CAF50;
    margin-top: 20px;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        padding-right: 20px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .quiz-content {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .quiz-content {
        width: 85%;
    }
    
    .personal-info-section,
    .question {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .quiz-content {
        width: 95%;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-button,
    .submit-button {
        width: 100%;
        justify-content: center;
    }
}