

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #001965;
    --skyBlue: #e0effa;
    --lightPink: #f8dde6;
    --veryLightGray: #f6f5f4;
    --white: #fff
}

.custom__container {
    width: 100%;
    max-width: 1100px;
    margin: 25px auto;
    padding: 15px;
}

body {
    color: var(--main-color);
    font-family: 'Apis-Regular';
}

p {
    margin: 0;
    color: var(--main-color);
}

.main__heading {
    font-family: 'Apis-ExtraBold';
    font-size: 50px;
    font-weight: 700;
    color: var(--main-color);
}

.sub__text {
    font-family: 'Apis-Regular';
    font-size: 18px;

}

.sub__main_heading {
    font-family: 'Apis-ExtraBold';
    font-size: 28px;
    font-weight: 700;

}

.sub_banner__section {
    width: 100%;
    height: 200px;
}

.sub_banner__section img {
    object-fit: contain;
    height: 100%;
}

/* banner section */
.banner__section {
    width: 100%;
    height: 300px;
}

.banner__section img {
    object-fit: contain;
    height: 100%;
}

.banner__section {
    display: flex;
}

.banner_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Know more */
.know__more {
    background-color: var(--skyBlue);
}


/* questions css */
.question__wrapper {
    background-color: var(--lightPink);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow: hidden;
}

.question__gif__image {
    width: 200px;
    margin: auto;
}

button {
    border: none;
    outline: none;
    border-radius: 35px;
    background-color: var(--main-color);
    color: var(--white);
}





/* question css start */

.page {
    display: none;
    width: 100%;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page {
    display: none;
}

.page.active {
    display: flex;
    animation: slideInFromBottom 0.6s ease-out;
}

/* Animation keyframes for page transitions */
@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation keyframes for quiz content transitions */
@keyframes slideInContentFromBottom {
    from {
        transform: translateY(80px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutContentToTop {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-80px);
        opacity: 0;
    }
}

/* Start Page Styles */
#startPage {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);

}

.question__gif__image img {
    max-width: 200px;
    height: auto;
}

.main__heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--main-color);
    font-weight: bold;
}

#startPage p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.start-btn {
    background: var(--main-color);
    color: white;
    border: none;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.start-btn:hover {
    transform: translateY(-2px);
    color: white;
}

/* Quiz Page Styles */
#quizPage {
    position: relative;
    /* min-height: 100vh; */
    /* display: flex; */
    align-items: center;
    justify-content: center;
    width: 100%;
}

.quiz-content-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    /* Add transition properties for entire quiz content */
    transition: all 0.5s ease;
}

/* Quiz content transition classes */
.quiz-content-wrapper.slide-out {
    animation: slideOutContentToTop 0.5s ease-in forwards;
}

.quiz-content-wrapper.slide-in {
    animation: slideInContentFromBottom 0.6s ease-out forwards;
}

.question-counter {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #1e3a8a;
    font-weight: 500;
    padding-left: 2rem;
}

.question-container {
    width: 100%;
}

.myth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.myth-header h1 {
    font-size: 3rem;
    color: #1e3a8a;
    font-weight: bold;
    margin-bottom: 2rem;
}

.question-box {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#questionText {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #1e3a8a;
    text-align: right;
    font-weight: 500;
    line-height: 1.4;
}

.options-container {
    margin-bottom: 2rem;
}

.option {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.option-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.option:hover .option-header {
    background-color: #f8f9fa;
    border-left: 5px solid #ccc;
}

.option.selected {
    pointer-events: none;
}

.option.correct .option-header {
    border-left: 5px solid #28a745;
    background-color: #d4edda;
}

.option.incorrect .option-header {
    border-left: 5px solid #dc3545;
    background-color: #f8d7da;
}

.option.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.option-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-left: 10px;
}

.option-text {
    font-size: 1.1rem;
    flex: 1;
    color: #1e3a8a;
}

.option-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.option.correct .option-indicator {
    background-color: #28a745;
}

.option.correct .option-indicator::after {
    content: "✓";
}

.option.incorrect .option-indicator {
    background-color: #dc3545;
}

.option.incorrect .option-indicator::after {
    content: "✗";
}

.option-description {
    display: none;
    padding: 20px;
    padding-top: 10px;
    color: #1e3a8a;
    font-size: 1rem;
    line-height: 1.5;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
}

.option.incorrect .option-description {
    display: block;
}

.continue-btn {
    background: var(--main-color);
    color: white;
    border: none;
    padding: 10px 40px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    font-family: 'Apis-Bold';
}

.continue-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.continue-btn.hidden {
    display: none;
}

/* Results Page Styles */
#resultsPage {
    width: 100%;
    /* min-height: 100vh; */
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

#resultsPage .container {
    max-width: 900px;
    width: 100%;
    padding: 2rem;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.results-header h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: bold;
}

.results-header h1.bad-luck {
    color: #dc3545;
}

.results-header p {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.smiley {
    width: 160px;
    height: 160px;
}

.smiley.bad-luck {
    border-color: #dc3545;
}

.accordion-container {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.accordion-item {
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-weight: 500;
    color: #1e3a8a;
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.accordion-item.correct .accordion-header {
    background-color: #d4edda;
    border-left: 5px solid #28a745;
}

.accordion-item.incorrect .accordion-header {
    background-color: #f8d7da;
    border-left: 5px solid #dc3545;
}

.accordion-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #1e3a8a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    font-size: 14px;
    min-width: 30px;
    min-height: 30px;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 20px;
    border-top: 1px solid #eee;
}

.result-status {
    font-weight: bold;
    margin-bottom: 10px;
}

.result-status.correct {
    color: #28a745;
}

.result-status.incorrect {
    color: #dc3545;
}

.result-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.learn-more {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.learn-more:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

/* Additional styles for result states */
.results-header.good-work {
    color: #28a745;
}

.results-header.bad-luck {
    color: #dc3545;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .question__wrapper {
        padding: 15px;
    }

    .main__heading {
        font-size: 2rem;
    }

    .myth-header h1 {
        font-size: 2.5rem;
    }

    #questionText {
        font-size: 1.2rem;
    }

    .results-header h1 {
        font-size: 2.5rem;
    }

    .question-counter {
        text-align: center;
        margin-bottom: 2rem;
        padding-left: 0;
    }

    .question-box {
        padding: 20px;
    }

    .quiz-content-wrapper {
        padding: 1rem;
    }

    .option-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .option-text {
        flex: 1;
    }

    .option-indicator {
        flex-shrink: 0;
    }

    .question__gif__image img {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .myth-header h1 {
        font-size: 2rem;
    }
    .accordion-header{
        padding: 10px;
    }
    .main__heading {
        font-size: 1.8rem;
    }

    #questionText {
        font-size: 1.1rem;
    }

    .results-header h1 {
        font-size: 2rem;
    }
}
.font-regular{
    font-family: 'Apis-Regular';
}
.englishText{
    display: inline-block;
    direction: ltr;
}

.bold-font {
    font-family: 'Apis-Bold';
    font-weight: 700;
    font-size: 18px;
}
#stomachImage{
   padding: 1.2rem;
}
#heartImage{
   padding: 1rem;
}
div.accordion, footer{
    direction: ltr !important;
}
/* question css end */

/* Accordion Styles */
div.accordion{
    min-height: 3.5rem;
    background-color: #f6f5f4;
}
div.accordion-header {
    font-size: inherit;
    vertical-align: top;
    display: flex;
    align-items: center;
    position: relative;
    padding: 1rem;
    outline: none;
    list-style: none;
    background-color: #f6f5f4;
    border-radius: 8px;
    /* margin-bottom: 1rem; */
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-height: 3.5rem;
}

div .accordion-header::-webkit-details-marker {
    display: none;
}

div .accordion-header:hover {
    background-color: #f6f5f4;
}

div .accordion-header strong,
div .accordion-header .cmp-accordion__title {
    width: 85%;
    font-weight: 600;
    color: #1e3a8a;
}

div .accordion-header .icon {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

div .accordion-header .icon svg {
    width: 20px;
    height: 20px;
    fill: #1e3a8a;
    display: none;
}

div .accordion-header .icon::after {
    content: "+";
    font-size: 24px;
    color: #1e3a8a;
    font-weight: bold;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

div[open] .accordion-header .icon::after {
    content: "−";
    transform: rotate(180deg);  
    font-size: 24px;  
    font-weight: bold;
}

div .accordion-details {
    max-width: 100%;
    padding: 0;
    background-color: #f6f5f4;
    border-radius: 0 0 8px 8px;
    margin-top: -1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}

div[open] .accordion-details {
    max-height: 1000px;
    padding: var(--sp20);
}

.text {
    display: flex;
    flex-flow: column;
}

div .accordion-details .text ol, 
div .accordion-details .text ul {
    list-style-position: inherit;
    max-width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    word-break: break-word;
    line-height: 1.6;
    margin: 0;
    list-style-type: decimal;
}

div .accordion-details .text li {
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

div .accordion-details .text a {
    color: #1e3a8a;
    text-decoration: none;
}

div .accordion-details .text a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    div .accordion-header {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    div .accordion-details .text {
        padding: 1rem;
    }
    
    div .accordion-details .text ol {
        padding: 0 1rem;
    }
    
    div .accordion-details .text li {
        font-size: 0.9rem;
    }
}


footer{
    direction: ltr;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}
footer p{
    font-size: 14px;
    color: #555;
    text-align: left;
    margin-bottom: 0.8rem;
    margin-left: 1rem;
}
.bold-font{
    font-family: 'Apis-Bold';
}
.italic-font{
    font-family: 'Apis-Italic';
    font-style: italic;
}
.disclaimer_text{
    padding-left: 1rem;
    padding-right: 1rem;
}