    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
      font-family: 'IBM Plex Sans', sans-serif;
    }
  
    body {
      display: flex;
      flex-direction: column;
      height: 100vh;
      background: #f3f6f4;
      color: #03396c;
    }
  
    header {
      width: 100%;
      background-color: #011f4b;
      color: white;
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .site-header {
      width: 100%;
      height: 60px;
      background: #011f4b;
      display: flex;
      align-items: center;
      padding: 3rem 2rem;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    }

    .logo-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: white;
      width: 100vw;
      padding: 10px;
    }

    .site-logo {
      height: 55px;
      width: auto;
    }

    .site-title {
      font-weight: 500;
      font-size: 25px;
      white-space: nowrap;
    }
  
    .container {
      display: flex;
      flex: 1;
      overflow: hidden;
    }
  
    .left {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 2rem;
      background: #f3f6f4;
    }
  
    .progress-bar {
      width: 100%;
      max-width: 600px;
      margin-bottom: 1rem;
    }
  
    .progress-bar-inner {
      height: 8px;
      background: #d3e3fc;
      border-radius: 10px;
      overflow: hidden;
    }
  
    .progress-bar-fill {
      height: 100%;
      background-color: #005b96;
      width: 0%;
      transition: width 0.4s ease;
    }
  
    .progress-label {
      text-align: right;
      font-size: 14px;
      margin-top: 5px;
      color: #555;
    }
  
    .question-card {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      width: 100%;
      max-width: 700px;
      box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
      text-align: center;
    }
  
    h2 {
      margin-bottom: 24px;
      color: #03396c;
      font-size: 24px;
    }
  
    p {
      font-size: 16px;
      color: #03396c;
    }
  
    .slider-container {
      margin: 24px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
  
  
    input[type=range] {
      width: 100%;
      -webkit-appearance: none;
      height: 8px;
      background: #6497b1;
      border-radius: 5px;
      outline: none;
    }
  
    input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: white;
      border: 3px solid #005b96;
      cursor: pointer;
      transition: transform 0.2s ease;
    }
  
    input[type=range]::-webkit-slider-thumb:hover {
      transform: scale(1.2);
    }
    
    .slider-wrapper {
      width: 100%;
      padding: 0 20px;
      position: relative; /* allow absolute positioning of labels */
    }
    
    .slider-labels {
      position: absolute;
      top: 30px; /* adjust distance below slider */
      left: 0;
      right: 0;
      height: 20px; /* optional: reserve space */
      pointer-events: none; /* avoid intercepting clicks */
      align-items: center;
      justify-content: space-around;
    }
    
    .slider-labels span {
      position: absolute;
      transform: translateX(-50%); /* center on point */
      font-size: 14px;
      color: #03396c;
      white-space: nowrap;
    }
    
  
    .navigation-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      width: 100%;
      padding-top: 40px;
    }
  
    button {
      padding: 12px 24px;
      border: none;
      background-color: #005b96;
      color: white;
      border-radius: 8px;
      cursor: pointer;
      font-size: 14px;
      transition: background 0.3s ease, transform 0.2s ease;
    }
  
    button:disabled {
      background-color: #999;
      cursor: not-allowed;
    }
  
    button:hover:not(:disabled) {
      background-color: #03396c;
      transform: translateY(-2px);
    }
  
    .right {
      flex: 1;
      background: linear-gradient(360deg, #011f4b, #005b96);
      color: white;
      display: flex;
      justify-content: center;
      align-items: center;
      /* overflow-y: auto; */
      padding: 2rem;
    }
  
    .assessment-results {
      background: rgba(240, 248, 255, 0.867);
      padding: 2rem;
      border-radius: 20px;
      max-width: 600px;
      width: 100%;
      display: none;
      flex-direction: column;
      align-items: center;
      text-align: center;
      /* overflow-y: auto; */
      /* max-height: 80vh; */
      box-shadow: 0 6px 30px rgba(0,0,0,0.2);
    }

    .scroll {
        overflow-y: auto;
        max-height: 60vh;
    }
  
    .assessment-results img {
      width: 70%;
      border-radius: 12px;
      margin-top: 1rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
  
    .explanation {
      max-height: 120px;
      overflow: hidden;
      transition: max-height 0.4s ease;
      margin-top: 1rem;
      background: rgba(255, 255, 255, 0.15);
      padding: 1rem;
      border-radius: 8px;
      color: #03396c;
      text-align: left;
      font-size: 0.9rem;
      line-height: 1.6;
    }
  
    .explanation.expanded {
      max-height: 1000px;
      color: #03396c;
      
    }
  
    .read-more-btn {
      margin-top: 0.5rem;
      color: #6497b1;
      cursor: pointer;
      font-weight: bold;
      display: inline-block;
    }
  
    .modal {
      display: none;
      position: fixed;
      z-index: 10;
      left: 0; top: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.7);
      justify-content: center;
      align-items: center;
    }
  
    .modal-content {
      background: white;
      padding: 2rem;
      border-radius: 16px;
      width: 90%;
      max-width: 400px;
      color: black;
      position: relative;
      box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    }
  
    .modal-content h3 {
      margin-bottom: 1rem;
      color: #03396c;
    }
  
    .modal-content input {
      width: 100%;
      margin-bottom: 1rem;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
    }
  
    .modal-content button {
      width: 100%;
      background-color: #005b96;
    }
  
    .close-btn {
      position: absolute;
      top: 10px; right: 15px;
      font-size: 20px;
      cursor: pointer;
      font-weight: bold;
      color: #333;
    }

    /* Keyframes for typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  /* Keyframes for blinking cursor */
  @keyframes blink {
    0%, 50%, 100% { border-color: transparent }
    25%, 75% { border-color: black }
  }
  
  /* Keyframes for fading image */
  @keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
  }
  
  /* Keyframes for sliding text */
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .ad-title {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid black; /* typing cursor */
    font-weight: bold;
    width: 0;
    animation: typing 6s steps(40, end) 0s forwards, blink 0.8s step-end infinite 6s;
  }
  
  .ad-image {
    opacity: 0;
    animation: fadeIn 3s forwards;
    animation-delay: 4.5s; /* after title typing */
  }
  
  .ad-text {
    opacity: 0;
    animation: slideUp 2s forwards;
    animation-delay: 6.5s; /* after image appears */
  }
  
  /* Looping animation */
  #rightPlaceholder {
    animation: loopAd 12s;
  }
  
  @keyframes loopAd {
    0% { }
    100% { }
  }


  