/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Survey Questions Page Styles */

/* Apply Poppins to all elements */
* {
    font-family: 'Poppins', sans-serif;
}

.survey-questions-container {
    min-height: calc(100vh - 120px);
    position: relative;
    overflow: hidden;
    padding: 40px 60px 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #2a5298;
    font-family: 'Poppins', sans-serif;
}

.survey-questions-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 4rem;
}

/* Background Image Container */
.survey-background-image {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    width: 100vw;
    height: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.survey-background-image img {
    width: 100vw;
    height: 900px;
    object-fit: cover;
    display: block;
}

/* Header Section */
.questions-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 30px;
}

.logo-section {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: #27ae60;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.title-section {
    text-align: center;
    color: white;
}

.title-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    color: white;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-section p {
    font-size: 1.3rem;
    margin: 5px 0 0 0;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Question Section */
.question-section {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.question-number {
    font-size: 2.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.question-text {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: white;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.question-instruction {
    font-size: 1.2rem;
    color: white;
    font-style: italic;
    opacity: 0.9;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Answer Options */
.answer-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.option-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    min-width: 180px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.option-card.selected,
.option-card.active {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
    background-color: #f94303;
}

.option-card.selected .lottie-container,
.option-card.active .lottie-container {
    filter: drop-shadow(0 0 8px rgba(52, 152, 219, 0.5));
}

.emoji-placeholder {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.option-card.active .emoji-placeholder {
    filter: grayscale(0);
    transform: scale(1.1);
}

.option-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    display: block;
    padding: 10px 0;
}

.option-card.active .option-label {
    color: white;
    font-weight: 700;
}

.option-card.selected .option-label,
.option-card.active .option-label {
    color: #fff;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 2rem;
}

.navigation-buttons.centered-button {
    justify-content: center;
    grid-column: 1 / -1;
    margin-top: 20px;
}

.nav-button {
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: inline-block;
    min-width: 150px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.next-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-color: #f39c12;
}

.next-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Progress Info */
.progress-info {
    margin-top: 16rem;
    text-align: center;
    margin-bottom: 3rem;
}

.progress-info p {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Back Arrow Button for Questions Page */
.back-arrow-container {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.back-arrow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
}

.back-arrow-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.back-arrow-button:active {
    transform: translateY(0);
}

.back-arrow-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.back-arrow-button:hover .back-arrow-image {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

/* Lottie animation styles */
.lottie-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lottie-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Feedback Page Styles */
.feedback-section {
    text-align: center;
    margin-bottom: 40px;
}

.feedback-title {
    font-size: 32px !important;
    font-weight: 600 !important;
    color: white !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-instruction {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic !important;
    margin: 0;
}

.feedback-textarea-container {
    margin: 50px 0;
    display: flex;
    justify-content: center;
}

.feedback-textarea {
    width: 100% !important;
    max-width: 800px;
    min-height: 250px !important;
    padding: 25px !important;
    border: 3px solid #FFD700 !important;
    border-radius: 15px !important;
    font-size: 18px !important;
    font-family: inherit;
    line-height: 1.6 !important;
    resize: vertical;
    background: white !important;
    color: #333 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.feedback-textarea:focus {
    outline: none !important;
    border-color: #FFA500 !important;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3) !important;
    transform: translateY(-2px);
}

.feedback-textarea::placeholder {
    color: #999 !important;
    font-style: italic;
}

/* Responsive Design for Questions Page */
@media (max-width: 768px) {
    .survey-questions-container {
        padding: 20px 25px 0px;
    }

    .survey-questions-content {
        padding-top: 2rem;
    }

    .questions-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 3rem;
    }

    .title-section h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .title-section p {
        font-size: 1.1rem;
    }

    .question-text {
        font-size: 1.4rem;
        padding: 0 15px;
    }

    .answer-options {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .option-card {
        min-width: 250px;
        max-width: 300px;
        padding: 25px 20px;
    }

    .navigation-buttons {
        justify-content: center;
        gap: 15px;
    }

    .nav-button {
        min-width: 200px;
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .back-arrow-container {
        top: 15px;
        left: 15px;
    }

    .back-arrow-button {
        padding: 6px;
    }

    .back-arrow-image {
        width: 30px;
        height: 30px;
    }

    .lottie-container {
        width: 80px;
        height: 80px;
    }

    /* Feedback responsive styles */
    .feedback-title {
        font-size: 24px !important;
        padding: 0 15px;
    }

    .feedback-instruction {
        font-size: 16px !important;
    }

    .feedback-textarea-container {
        margin: 30px 0;
        padding: 0 15px;
    }

    .feedback-textarea {
        min-height: 180px !important;
        padding: 18px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 414px) {
    .survey-questions-container {
        padding: 15px 20px 0px;
    }

    .back-arrow-container {
        top: 10px;
        left: 10px;
    }

    .back-arrow-button {
        padding: 4px;
    }

    .back-arrow-image {
        width: 25px;
        height: 25px;
    }

    .question-text {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    /* Further optimize feedback for smaller screens */
    .feedback-title {
        font-size: 20px !important;
        padding: 0 10px;
        margin-bottom: 15px !important;
    }

    .feedback-instruction {
        font-size: 14px !important;
    }

    .feedback-textarea-container {
        margin: 25px 0;
        padding: 0 10px;
    }

    .feedback-textarea {
        min-height: 150px !important;
        padding: 15px !important;
        font-size: 14px !important;
        border-width: 2px !important;
    }

    .nav-button {
        min-width: 180px;
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .survey-questions-container {
        padding: 10px 15px 0px;
    }

    .back-arrow-container {
        top: 8px;
        left: 8px;
    }

    .back-arrow-button {
        padding: 3px;
    }

    .back-arrow-image {
        width: 22px;
        height: 22px;
    }

    .question-text {
        font-size: 1.1rem;
        padding: 0 8px;
    }

    /* Optimize feedback for very small screens */
    .feedback-title {
        font-size: 18px !important;
        padding: 0 8px;
        margin-bottom: 12px !important;
    }

    .feedback-instruction {
        font-size: 13px !important;
    }

    .feedback-textarea-container {
        margin: 20px 0;
        padding: 0 8px;
    }

    .feedback-textarea {
        min-height: 120px !important;
        padding: 12px !important;
        font-size: 13px !important;
        border-width: 2px !important;
    }

    .nav-button {
        min-width: 160px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .survey-questions-container {
        padding: 8px 10px 0px;
    }

    .back-arrow-container {
        top: 6px;
        left: 6px;
    }

    .back-arrow-button {
        padding: 2px;
    }

    .back-arrow-image {
        width: 20px;
        height: 20px;
    }

    .question-text {
        font-size: 1rem;
        padding: 0 6px;
    }

    /* Minimal feedback styles for very narrow screens */
    .feedback-title {
        font-size: 16px !important;
        padding: 0 6px;
        margin-bottom: 10px !important;
    }

    .feedback-instruction {
        font-size: 12px !important;
    }

    .feedback-textarea-container {
        margin: 15px 0;
        padding: 0 6px;
    }

    .feedback-textarea {
        min-height: 100px !important;
        padding: 10px !important;
        font-size: 12px !important;
        border-width: 2px !important;
    }

    .nav-button {
        min-width: 140px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

/* ...existing code... */