    @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css");
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    :root {
  --primary: #7e1994;
  --secondary: #8962b3;
  --accent: #d6409a;
  --light: #f8f9ff;
  --dark: #2c3e50;
  --success: #2a7a2a;
  --error: #c0392b;
  --gradient-start: #1a2980;
  --gradient-end: #26d0ce;
}

    
    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;
      background-attachment: fixed;
    }
    
    /* Layout */
    .page-container {
      display: flex;
      min-height: 100vh;
     background: #ffff;
     
    }
    
    /* 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::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px; /* thickness of the line */
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
     
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.5rem;
      font-weight: 600;
      margin-bottom: -2em;
      color: var(--secondary);
      padding-bottom: 0.5rem;
      position: relative;
      display: inline-block;
    }
  h2::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, var(--secondary), transparent);
      border-radius: 2px;
    }
    
    /* Paragraphs */
    p {
      margin: 1em 0;
    }
    
    /* Lists */
    ul {
      margin-left: 30px;
      margin-bottom: 1.5em;
      margin-top:1rem;
    }
    
    ul li {
      margin-bottom: 0.8em;
      position: relative;
      text-align: left;
    }
    
    ul li::before {
      
      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;
}

.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;
    
}
    .video-container {
  margin: 2.5em auto;
  max-width: 800px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  margin-top: 1em;
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
}
.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
/* Sidebar Monster Navigation */
.monster-sidebar {
  position: fixed;
  left: 0;
  top: 25px;
  bottom: 0;
  width: 90px;
  height: 100%;
  overflow-x: auto;
  z-index: 999;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 20px;

  transition: width 0.3s ease;
}

.monster-sidebar:hover {
  width: 120px;
}

.monster-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  padding: 0 10px;
  overflow-y: auto;
  scrollbar-width: none;
}
.monster-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.monster-name {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  width: 100%;
  order: -1; /* Makes name appear first */
}

.monster-nav::-webkit-scrollbar {
  display: none;
}

.monster-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 50px;
  height: auto;
 background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255,255,255,0.2);
  padding:4px 6px;
  width: 60%;
}

.monster-card:hover {
  transform: translateX(5px) scale(1.05);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);

 
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255,255,255,0.2);
}

.monster-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}

.monster-card:hover .monster-avatar {
  transform: rotate(10deg) scale(1.1);
}

.monster-name {
  color: rgb(113, 106, 106);
  font-weight: 600;
  font-size: 0.75rem;

  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.monster-sidebar:hover .monster-name {
  opacity: 1;
  max-height: 50px;
}



.page-container {
  margin-left: 90px;
  width: calc(100% - 90px);
}

.monster-sidebar:hover ~ header,
.monster-sidebar:hover ~ .page-container {
  left: 120px;
  width: calc(100% - 120px);
}

/* Section Divider - This will now definitely appear */
/* DIVIDER - This version WILL work */
.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%;
}


    /* 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;
        margin-bottom:1rem;
      }
      
        .quiz-question {
        padding: 1.2em;
      }
      
      .pill {
        padding: 14px 18px;
        font-size: 0.95em;
      }
      
      #tip-popup {
        width: 90%;
        right: 5%;
        bottom: 20px;
        left: 5%;
      }
header{
  z-index: 1000;
}
        .monster-sidebar {
    width: 70px;
    padding: 15px 0;
    top: 53px;
    z-index: 999;
    
  }
  
  .monster-avatar {
    width: 40px;
    height: 40px;
  }
  
  .monster-nav {
    gap: 15px;
  }

  
  .page-container {
    margin-left: 70px;
    width: calc(100% - 70px);
  }
  
  .monster-sidebar:hover {
    width: 90px;
  }
  
  .monster-sidebar:hover ~ header,
  .monster-sidebar:hover ~ .page-container {
    left: 90px;
    width: calc(100% - 90px);
  }
        .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;
        z-index: 1000;
      }
         h1 {
        font-size: 1.7rem;
        text-align:center;
      }
      
      h2 {
        font-size: 1.2rem;
        text-align:left;
      }
      
      .content-container {
        padding: 70px 15px 120px 15px;
      }
         .quiz-question {
        padding: 1.2em;
      }
      
      .pill {
        padding: 14px 18px;
        font-size: 0.95em;
      }
      
      .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
      }
      
      .robot-animation {
        height: 140px;
      }
      .monster-sidebar {
    width: 60px;
    padding: 10px 0;
    top:53px;
    z-index: 999;
  }
  
  .monster-avatar {
    width: 35px;
    height: 35px;
  }
  

  
  .page-container {
    margin-left: 60px;
    width: calc(100% - 60px);
  }
  
  .monster-sidebar:hover {
    width: 80px;
  }
  
  .monster-sidebar:hover ~ header,
  .monster-sidebar:hover ~ .page-container {
    left: 80px;
    width: calc(100% - 80px);
  }
    }