 body {
      font-family: Arial, sans-serif;
      margin: 20px;
      height: 100vh; /* full viewport */
    }
    h1 {
      font-size: 1.5rem;
      margin-bottom: 2rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    h1 i {
      color: #2E4A62;
    }
    h2 { 
      color:#1a3e6d; 
      margin-top:40px; 
      display:flex; 
      align-items:center; 
      gap:10px; 
    }
    p { line-height:1.5; color:#333; }

    /* Gradient for DataTables header */
    table.dataTable thead th {
      background:  #4F81BD;
      color: white;
      font-weight: bold;
      text-align: center;
    }
  
  /* Scrollbar for chat */
  .chat-container::-webkit-scrollbar {
    width: 6px;
  }
  .chat-container::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
  }
  .chat-container::-webkit-scrollbar-track {
    background: transparent;
  }
    /* Alternating row colors */
    table.dataTable tbody tr:nth-child(even) { background-color: #f9f9f9; }
    table.dataTable tbody tr:nth-child(odd) { background-color: #ffffff; }
    table.dataTable tbody tr:hover { background-color: #eaf1fb; }

    #chart { width: 100%; height: 95vh; }

    .locked-section { position:relative; margin-top:15px; margin-bottom:40px; height:350px; }
    .chart-container { width:100%; height:100%; position:relative; }
    .blur-layer { position:absolute; top:0; left:0; width:100%; height:100%; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index:2; }
    .locked-overlay { position:absolute; top:0; left:0; width:100%; height:100%; display:flex; justify-content:center; align-items:center; font-weight:bold; font-size:1.5em; text-align:center; color:#000; background:rgba(255,255,255,0.2); cursor:pointer; z-index:3; transition: background 0.3s; }
    .locked-overlay:hover { background:rgba(255,255,255,0.4); }

    /* Banner styles */
    .banner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: linear-gradient(90deg, #9CC3E6, #374151);
      padding: 10px 30px;
      color: #fff;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      margin-bottom: 20px;
       flex: 0 0 auto; /* fixed height for banner */
  margin-bottom: 0; /* remove extra margin */
    }
    .banner-left {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .logo {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }
    .site-title {
      font-size: 1.6rem;
      font-weight: bold;
      margin: 0;
    }
    .banner-right .login-btn {
      background-color: #9CC3E6;
      color: #fff;
      border: none;
      padding: 10px 22px;
      border-radius: 25px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .banner-right .login-btn:hover { background-color: #374151; }

    @media (max-width: 600px) {
      .banner {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
      }
      .banner-left {
        justify-content: center;
      }
      .banner-right .login-btn {
        width: 100%;
        text-align: center;
      }
    }

      /* Subscription card */
    .subscription-card {
      background: #fff;
      border-radius: 10px;
      padding: 30px;
      max-width: 600px;
      margin: 40px auto;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      text-align: center;
    }
    .subscription-card h2 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
      color: #1a3e6d;
    }
    .email-input {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      margin-bottom: 15px;
      font-size: 1rem;
    }
    .subscribe-btn {
      background-color: #2E4A62;
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .subscribe-btn:hover {
      background-color: #1a2e44;
    }

    #loader {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 8px solid #f3f3f3;
      border-top: 8px solid #3498db;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      animation: spin 1s linear infinite;
        z-index: 999999;
  background: transparent; /* prevent any blocking */
      display: none;
    }

    @keyframes spin {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Ensure loader overlays chart container */
    .chart-wrapper {
      position: relative;
      min-height: 400px; /* fallback space before chart loads */
    }

    /* Make right section flex so buttons + menu are in one row */
.banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
    position: relative; /* Ensure absolute children are positioned relative to banner-right */
  overflow: visible;  /* Allow dropdown to overflow outside the container */
}

/* Hamburger Menu */
.menu-container {
  position: relative;
}

.menu-btn {
  background: transparent;  /* transparent background */
  border: none;
  color: white;             /* white lines */
  font-size: 1.8rem;        /* size of three lines */
  cursor: pointer;
  padding: 5px 10px;
  line-height: 1;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;               /* Right edge aligned with hamburger */
  left: auto;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  white-space: nowrap;     /* Keep text on one line */
  width: max-content;      /* Grow to fit longest item */
  max-width: calc(100vw - 20px); /* Prevent overflowing screen */
  z-index: 1000;
  overflow: visible;       /* Do not clip the menu */
}




.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;

  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #2E4A62;
}


.how-we-collect-data {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.how-we-collect-data h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #1a3e6d;
}

.how-we-collect-data p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.how-we-collect-data ol {
  margin-left: 20px;
  padding-left: 10px;
  color: #333;
}

.how-we-collect-data li {
  margin-bottom: 15px;
  line-height: 1.5;
}

.how-we-collect-data strong {
  color: #2E4A62;
}
.steps-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.steps-list li i {
  color: #2E4A62;
  font-size: 1.2rem;
  flex-shrink: 0;    /* icon does not shrink */
  margin-top: 4px;   /* align roughly with first line of text */
}

.step-text {
  display: inline;   /* entire text flows naturally */
}

.step-title {
  font-weight: bold;
  color: #2E4A62;
}

.contact-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-section h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #2E4A62;
}

.contact-section p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-email a {
  color: #2E4A62;
  font-weight: bold;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-email i {
  margin-right: 6px;
  color: #9CC3E6;
}


.main-viewport {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;

  }

  .chat-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    height: 80vh;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    
  }

  .chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
    gap: 8px;
    
  }

  .bubble {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 20px;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 0.95rem;
  }

  .user {
    align-self: flex-end;
    background: #e0e0e0;
    color: #000;
  }

  .ai {
    align-self: flex-start;
    background: #007bff;
    color: #fff;
  }

  .typing {
    align-self: flex-start;
    background: #007bff;
    color: #fff;
    border-radius: 20px;
    padding: 10px 15px;
    display: flex;
    gap: 5px;
    width: 50px;
    justify-content: space-between;
  }

  .dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
  }

  .dot:nth-child(2) {
    animation-delay: 0.2s;
  }

  .dot:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
  }

  .input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #fafafa;
  }

  .input-container input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
  }

  .input-container button {
    margin-left: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
  }

  .input-container button:hover {
    background: #0056b3;
  }

  @media (max-width: 600px) {
    .chat-wrapper {
      height: 100vh;
      border-radius: 0;
    }
    .bubble {
      max-width: 85%;
    }
    .input-container button {
      padding: 10px 15px;
    }
  }

  

  .chat-message {
    max-width: 70%;         /* slightly narrower for more whitespace */
    padding: 5px 5px;     /* more padding inside bubbles */
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
  }

  .chat-message.user {
    align-self: flex-end;
    background-color: #3b82f6;
    color: #fff;
    border-bottom-right-radius: 5px;

  }

  .chat-message.ai {
    align-self: flex-start;
    background-color: #e5e5e5;
    color: #333;
    border-bottom-left-radius: 5px;
  }
