/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    min-width: 450px;
    width:50%;
    max-width:980px;
    margin: 0 0 0 13%;
    padding:0 30px 30px 30px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

@media (max-width: 991px) {
  
  
 .container {
  min-width:0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px 20px 20px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
  
}


@media (min-width: 992px) and (max-width: 1100px) {
  
    .container {
        min-width: 450px;
        width:50%;
        max-width:980px;
        margin: 0 0 0 13%;
        padding:0 20px 20px 20px;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
   }
   

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 20px;
   
}

h1 {
    font-size: 2rem;
    font-weight: 400;
    
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Banner Styles */
.banner {
    width: 100%;
    background-size:cover;
    background-repeat: no-repeat;
    color: #fff;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#ForexBasicsHeading{
    background-image:url("images/heading1.webp");
}
#keyForexTerminology{
    background-image:url("images/heading2.webp");
}
#currencyPairsExplained{
    background-image:url("images/heading4.PNG");
}
#howToReadForexCharts{
    background-image:url("images/heading1.webp");
}
#tradingPsychology{
    background-image:url("images/heading1.webp");
}
#riskManagement{
    background-image:url("images/heading1.webp");
}
#howToChooseAForexBroker{
    background-image:url("images/heading5.webp");
}
#settingUpATradingPlan{
    background-image:url("images/heading3.webp");
}

#commonTradingMistakes{
    background-image:url("images/heading2.webp");
}
#heading6{
    background-image:url("images/heading6.webp");
}
#heading7{
    background-image:url("images/heading6.webp");
}

#heading8{
    background-image:url("images/heading8.PNG");
}
#heading9{
    background-image:url("images/heading9.PNG");
}
#heading10{
    background-image:url("images/heading10.PNG");
}

.banner h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.banner h3 {
    margin: 10px 0 0;
    font-size: 1.5rem;
    font-weight: 400;
}

/* Icon Styles */
.icon {
    width: 50px;
    height: 50px;
    margin: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Quiz Section Styles */
.quiz-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quiz-header {
    font-size: 1.2rem;
    color: #6868e2;
    font-weight: 500;
    margin-bottom: 10px;
}

.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #6868e2, #4a4ad6);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.score-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.score {
    margin: 0 15px;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.score.correct {
    color: #28a745;
}

.score.wrong {
    color: #dc3545;
}

.question {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0;
    color: #2c3e50;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.option {
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 15px;
    font-size: 1.1rem;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option:hover {
    background-color: #f4f4f4;
    border-color: #6868e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.option.selected {
    border-color: #6868e2;
    background-color: #6868e2;
    color: #fff;
}

/* Feedback Page Styles */
.feedback-page {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.correct {
    font-size: 1.5rem;
    font-weight: 600;
    color: #28a745;
    margin: 10px 0;
}

.incorrect {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc3545;
    margin: 10px 0;
}

.explanation {
    font-size: 1.1rem;
    color: #555;
    margin: 20px 0;
}

/* Button Styles */
.next-btn, .cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6868e2, #4a4ad6);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.next-btn:hover, .cta-button:hover {
    background: linear-gradient(135deg, #4a4ad6, #6868e2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Quiz Result Styles */
.quiz-result {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
}

.correct-answer {
    color: #28a745;
    font-weight: 600;
}

.incorrect-answer {
    color: #dc3545;
    font-weight: 600;
}

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .banner {
        padding: 20px;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner h3 {
        font-size: 1.2rem;
    }

    .question {
        font-size: 1.2rem;
    }

    .option {
        font-size: 1rem;
        padding: 12px;
    }

    .next-btn, .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
