@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css");
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
body, html {
      height: 100%;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #fff;
      color: #4a4a4a;
      overflow-y: auto;
      line-height: 1.6;
    }
    
    /* Layout */
.page-container {
      display: flex;
      min-height: 100vh;
      background: #fff;
    }
    
    /* Header */
header {
      position: fixed;
      top: 0;
      height: 45px;
      width: 100%;
      background:#fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
    
      z-index: 1000;
    }
header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #dc32a9, #7e1994); /* Use actual colors since vars might not be defined */
  z-index: 1001; /* Above the header */
}

/* Make sure the header content stays above the pseudo-element */
header > * {
  position: relative;
  z-index: 1002;
}
     
header img {
      margin-top:15px;
      width: auto;
      transition: transform 0.3s ease;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }
    
header img:hover {
      transform: scale(1.05);
    }
.toggle-login-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #012978;
}

.toggle-login-btn:hover{
   transform: scale(1.05);
   cursor: pointer;
   color:#fa60a8;
   
}


    
    /* Content */
    .content-container {
      flex-grow: 1;
      padding: 80px 40px 200px 40px;
      overflow-y: auto;
      text-align: justify;
      max-width: 900px;
      margin: 0 auto;
    }
    
    /* Headings */
    h1, h2, h3, h4 {
      color: #2c3e50;
      margin-top: 1.5em;
      margin-bottom: 0.5em;
      line-height: 1.3;
    }
    
    h1 {
      font-size: 2.2rem;
      margin-top: 0;
      text-align: center;
      color: #7e1994;
      margin-bottom: 1rem;
    }
    
    h2 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-top: 2em;
      color: #8962b3;
      border-bottom: 2px solid #eaeaea;
      padding-bottom: 0.5rem;
    }
    
    /* Paragraphs */
    p {
      margin: 1em 0;
    }
    
    /* Lists */
    ul {
      margin-left: 30px;
      margin-bottom: 1.5em;
    }
    
    ul li {
      margin-bottom: 0.8em;
      position: relative;
    }
    
    ul li::before {
      content: "•";
      color: #6a11cb;
      font-weight: bold;
      display: inline-block;
      width: 1em;
      margin-left: -1em;
    }
    
    /* Quiz styles */
    .quiz-question {
      margin: 2em 0;
      padding: 1.5em;
      background: #f8f9ff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      border-left: 4px solid #6a11cb;
    }
    
    .quiz-choices {
      margin: 1.5em 0;
      display: flex;
      flex-direction: column;
      gap: 0.8em;
    }
    
    .pill {
      position: relative;
      display: block;
      cursor: pointer;
      padding: 16px 20px;
      border: 1px solid #ddd;
      border-radius: 50px;
      background-color: #f8f9ff;
      transition: all 0.2s ease;
      font-weight: 500;
    }
    
    .pill:hover {
      background-color: #eef2ff;
      transform: translateY(-2px);
      box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    }
    
    .pill input[type="radio"] {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    
    /* Feedback */
    #feedback {
      margin-top: 1.5em;
      font-weight: bold;
      padding: 15px;
      border-radius: 8px;
      text-align: center;
    }
    
    /* CTA Button */
    .cta-container {
      text-align: center;
      margin: 3.5em 0;
    }
    
    .cta-button {
      display: inline-block;
      padding: 18px 42px;
      background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
      color: white;
      font-weight: bold;
      font-size: 1.3rem;
      text-decoration: none;
      border-radius: 50px;
      box-shadow: 0 6px 20px rgba(26, 41, 128, 0.4);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;

    }
    
    .cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
      text-decoration: none;
    }
    
    .cta-button:active {
      transform: translateY(1px);
    }
    
    /* Concluding section */
    .concluding-statement {
      margin: 3em 0;
      padding: 1.5em;
      background: #f0f8ff;
      border-radius: 12px;
      border-left: 4px solid #2575fc;
    }
    
  
#tip-popup {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 380px;
  background: #fff;
  color: #333;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 1000;
  font-size: 0.95em;
  border: 1px solid #e0e7ff;
}

#tip-popup.show {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
    
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
    
.popup-header h3 {
  margin: 0;
  color: #6a11cb;
  font-size: 1.3rem;
}
#tip-popup p {
  margin: 0;
  line-height: 1.2;
  font-size: 12px;
}
.close-btn {
  background: #f0f4ff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  color: #6a11cb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #e0e7ff;
  transform: rotate(90deg);
}

.robot-animation {
  width: 100%;
  height: 160px;
  background: #f8f9ff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Animations */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.section-divider {
  display: block;
  height: 3px;
  width: 100%;
  margin: 1.5rem 0;
  border: none;
  
  /* Modern browsers */
  background-image: linear-gradient(90deg, 
    #dc32a9, #7e1994, 
    #f7bebe, #9400D3,  #dc32a9);
  
  /* Fallback for older browsers */
  background-color: #FF0000; /* Solid red fallback */
  
  /* Add these properties to ensure visibility */
  opacity: 1 !important;
  visibility: visible !important;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.site-footer {
text-align: right;
padding-right:20px;

position: fixed;
height:20px;
bottom:10px;
right: 0px;
left: 0px;
}
.footer-strip {
text-align: right;
padding-right:20px;
padding-top:0px;
background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
color: white;
border-top: 1px solid rgba(98, 155, 219, 0.2);
opacity: 0.4;
position: fixed;
height:20px;
bottom:0px;
right: 0px;
left: 0px;
}   
.site-footer p {
      margin-top:-15px;
      font-size: 16px;
      color: rgba(107, 11, 190, 0.9);
    }
.copyright {
      
      font-size: 12px;
      bottom: 20px;
      color: white;
    
    }
    /* Next Lesson Navigation */
.next-lesson-nav {
  margin-top: 2.5rem;
  text-align: center;
}

.next-lesson-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background:none;
  color: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  font-weight: 600;
  text-decoration: none;
 
  transition: all 0.3s ease;
 
}

.next-lesson-btn:hover {
  transform: translateY(-2px);
 
}

.next-lesson-btn:active {
  transform: translateY(1px);
}

.next-lesson-btn svg {
  transition: transform 0.3s ease;
}

.next-lesson-btn:hover svg {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .next-lesson-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .next-lesson-btn svg {
    width: 20px;
    height: 20px;
  }
}
    
    /* Responsive design */
    @media (max-width: 768px) {
      .content-container {
        padding: 80px 20px 150px 20px;
      }
      
      h1 {
        font-size: 1.7rem;
        text-align:center;
      }
      
      h2 {
        font-size: 1.2rem;
        text-align:left;
      }
      
      .quiz-question {
        padding: 1.2em;
      }
      
      .pill {
        padding: 14px 18px;
        font-size: 0.95em;
      }
      
      #tip-popup {
        width: 90%;
        right: 5%;
        bottom: 20px;
        left: 5%;
      }
        .site-footer {
        padding: 20px 15px;
      }
      
       .copyright {
      
      font-size: 16px;
      bottom: 20px;
      color: white;
      text-align: center;
    }
  }
    
    @media (max-width: 480px) {
      header {
        padding: 0 15px;
        font-size: 1rem;
      }
      h1 {
        font-size: 1.7rem;
        text-align:center;
      }
      
      h2 {
        font-size: 1.2rem;
        text-align:left;
      }
      
      .content-container {
        padding: 70px 15px 120px 15px;
      }
      
      .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
      }
      
      .robot-animation {
        height: 140px;
      }
    }