/* body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
} */

.container-maths {
    width: 80%;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    line-height: 1.5;
    font-size: 1.1rem;
}

.container-maths h1, .container-maths h2, .container-maths h3 {
    color: #1a5276;
    font-family: 'Roboto Condensed', sans-serif;
}

.container-maths h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.container-maths h2 {
    font-size: 1.6rem;
    margin-top: 25px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 5px;
}

.container-maths h3 {
    font-size: 1.3rem;
    margin-top: 20px;
}

.container-maths p, .container-maths ul, .container-maths li {
    font-size: 1rem;
    color: #2c3e50;
}

.container-maths ul {
    margin: 10px 0;
    /* padding-left: 25px; */
    list-style: none;
}
.container-maths ul li{
    margin-top: .7rem;
    /* background: #c6dcf3; */
      background: #f2f5f8;
    padding: .5rem;
    font-size: 1rem;
    border-radius: 6px;
    -webkit-border-radius:8px;
   
    /* color: #f1f5f9; */
    font-weight: 00;
    border-left: 4px solid green;
}
.example {
    background: #e8f0fe;
    padding: 15px;
    border-left: 5px solid #3b82f6;
    margin: 15px 0;
    border-radius: 6px;
    transition: transform 0.2s ease-in-out;
}

.example:hover {
    transform: translateY(-2px);
}

.example strong {
    color: #1a5276;
    font-weight: bold;
}

.toggle-solution {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.toggle-solution:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

.toggle-solution.active {
    background-color: #dc2626;
    padding: 14px;
}

.toggle-solution.active:hover {
    background-color: #b91c1c;
}

.solution {
    margin-top: 10px;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.95rem;
}

.mcq-section {
    margin-top: 30px;
}

.mcq {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mcq p {
    margin: 0 0 10px;
    font-weight: bold;
    color: #1a5276;
}

.mcq label {
 
    display: inline-flex; 
    align-items: center;
    margin: 4px 0;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    width: auto;
    min-width: 250px;
    -webkit-transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    -moz-transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    -ms-transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    -o-transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.mcq label:hover {
    background-color: #f1f5f9;
    transform: translateX(2px);
}

.mcq input[type="radio"] {
    margin-right: 10px;
    accent-color: #3b82f6;
}

/* Responsive Design */

        
@media (max-width: 800px) {
    .container-maths {
        padding: 10px;
        width: 95%;
    }
    .container-maths h1 {
        font-size: 1.5rem;
    }
    .container-maths h2 {
        font-size: 1.2rem;
    }
    .container-maths h3 {
        font-size: 1rem;
    }
    .container-maths p, .container-maths ul li {
        font-size: 0.9rem;
    }
    .example {
        padding: 10px;
        font-size: 1rem;
    }
    .toggle-solution {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    .mcq label {
        padding: 6px;
        font-size: 0.85rem;
    }
     .mcq span{
        font-size: .9rem;
     }
}