.body-container {
  
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allows wrapping if there are too many items */
  
  max-width: 100%;
  justify-content: center;
   border: 3px solid #4a148c;
   padding: 7px;
    background: linear-gradient(to right, #ffddff, #eeffcc);
    margin:3px;  
  
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}


body {
  max-width: 100%;
  
  justify-content: center;
  flex-wrap: wrap; 
  font-family: Arial, sans-serif;
  
  margin: 0;
  padding-top: 50px; /* Adjust based on nav height */
}
.bbgb
{
   background: linear-gradient(to left, #444, #999);
 
}
.bbg
{
   background: linear-gradient(to right, #bbc, #fff);
 
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #555, #777);
 
  border-bottom: 2px solid #ccc;
  z-index: 1000;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  font-size:20px;
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #4a148c;
}
.header-button {
  align:center;
      width: 98%;
      margin: 10px auto;
      padding: 10px;
      background: linear-gradient(to right, #ffeeff, #efccfe);
      border-radius: 12px;
      border: 3px outset #4a148c;
      font-size: 22px;
      color: #4a148c;
      font-weight: bold;
    }

nav ul li {
  margin-right: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}
.headerqt {
  width:75%;
  justify-content: center;
  text-align: center;
  margin: 20px auto;
  padding: 15px 25px;
  background:linear-gradient(135deg, #fefdfa, #ffebef);
  border-radius: 16px;
  border: 2px solid #7b1fa2;
  box-shadow: 0 6px 20px rgba(123, 31, 162, 0.3);
  font-size: 20px;
  color: #4a0072;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headerqt:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(123, 31, 162, 0.4);
}

.questionContainer
{
  border-top: 5px solid #purple;
  flex: 1; background: #e7f3da;
  padding: 5px;margin-bottom:.5em; 
  border-radius: 5px;font-weight:bold;
  font-size: 15px;white-space: pre-line;
  color:purple;
}
    


    .question-block {
      margin: 15px 0;
      padding: 10px;
      background: #e7f3da;
      border-radius: 8px;
      border: 1px solid purple;
    }

    .question-text { font-size: 16px; color:purple; margin-bottom: 8px;font-weight:bold; }
    .options-row { display: flex; gap: 10px; margin-bottom: 5px; }
     .exp{ flex: 1; background: #e7f3da; padding: 5px;margin-bottom:.5em; border-radius: 5px;font-weight:bold;font-size: 15px;white-space: pre-line;color:purple;}
    
   .answer { color: purple; font-weight: bold; margin-top: 5px;font-size: 16px;}
   .section-heading {border-bottom: 2px solid red;border-top: 2px solid red;border-left: 4px solid red;border-right: 4px solid red;font-size: 1em;font-weight: bold;color: white;margin-bottom:.5em;text-align: center;background-color: #8D458F;padding: 10px;border-radius: 8px;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);}
    .lesson-heading {font-size: 1.2em;font-weight: bold;color: purple;margin-bottom:.5em;text-align: center;background-color: #e0f7fa;padding: 10px;border-radius: 8px;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);width:100%;}

.show-button {
  font-weight:bold;
  color:white;
  margin: 6px 6px 4px 0;
  padding: 4px 10px;
  background-color: purple;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
}

.answer, .explanation {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 8px;
  background: #f9f9f9;
  border-left: 4px solid purple;
  
}
.question-block1 {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
      padding: 10px;
      background: #e0f7fa;
      border-radius: 8px;
      border: 1px solid purple;
}
.options-container {
    display: grid;
  
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* For wider screens, show 2 columns */
@media (min-width: 600px) {
    .options-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Option button styles */
.option-btn {
  
  
  
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    word-wrap: break-word;
    white-space: normal;
    text-align: left;
    min-height: 20px;
    border: 1px solid purple;
    border-radius: 6px;
    background: #f3f3f3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    font-weight:bold;
    color: purple;
}

.option-btn:hover {
    background-color: #f5f5f5;
}

.option-btn:disabled {
    cursor: not-allowed;
}

.button-89 {
  --b: 3px;   /* border thickness */
  --s: .45em; /* size of the corner */
  --color: purple;
  width:100%;
  height:100%;
  padding: calc(.5em + var(--s)) calc(.9em + var(--s));
  color: var(--color);
  --_p: var(--s);
  background:
    conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0)
    var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
  transition: .3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: .6em;
  font-size: 20px;

  border: 0;

  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-89:hover,
.button-89:focus-visible{
  --_p: 0px;
  outline-color: var(--color);
  outline-offset: .05em;
}

.button-89:active {
  background: var(--color);
  color: #fff;
}
.accordion {
  background-color: #e7f3da;
  color: purple;
  cursor: pointer;
  padding: 8px 12px;
  width: 100%;
  border-left:8px solid purple;
  text-align: left;
  outline: none;
  font-size: 1.2rem;
  transition: background-color 0.3s;
  margin-top: 10px;
  border-radius: 8px ;
}

.accordion:hover {
  background-color: #e7f3da;
}




.panel {
  
  padding: 0 18px;
  background-color: linear-gradient(to right, #ffddff, #eeffcc);
  display: none;
  overflow: hidden;
 
}

.images-container {
  width:100%;
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 5px;
      margin-bottom: 5px;
     
    }
.image-box {
      position: relative;
      width: 100%;
      
      background:white;
      border: 2px solid purple;
      border-radius: 10px;
      padding: 0px;
      transition: background-color 0.3s ease;
      text-align: center;
    }