#chat-container {
  margin-top: 40px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#chatbox {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background: #f1f1f1;
  margin-bottom: 10px;
}

input[type="text"] {
  width: 70%;
  padding: 10px;
  margin-right: 10px;
}


    .hero {
      padding: 19%;
      text-align:center ;
      background: linear-gradient(to right, #e7f0fd, #ffffff);
    }
    .hero h2 { font-size: 2.5rem; margin-bottom: 1rem; }
    .hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem; }

    .features {
      display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
      padding: 2rem; background: #fff;
    }
    .feature-box {
      width: 250px; text-align: center; background: #f9fbff;
      padding: 1rem; border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
    }
    .feature-box:hover { transform: translateY(-5px); }
    .feature-box i { font-size: 2rem; color: #2e3ebd; margin-bottom: 0.5rem; }

    

    .chat-button {
      position: fixed; bottom: 20px; right: 20px;
      background: #2e3ebd; color: white; border: none;
      border-radius: 50%; width: 60px; height: 60px; font-size: 24px;
      display: flex; justify-content: center; align-items: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      cursor: pointer; z-index: 999;
      animation: bounce 1.2s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

   #chat-popup {
  display: none;
  position: fixed;
  bottom: 90px; right: 20px;
  width: 320px; max-width: 95%;
  height: 420px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
  z-index: 998;
  flex-direction: column;
  overflow: hidden;
}


    #chat-header {
      background: #2e3ebd; color: white;
      padding: 10px; font-weight: bold;
      cursor: move;
    }

    #chat-messages {
      flex: 1; padding: 10px; overflow-y: auto;
      display: flex; flex-direction: column; gap: 10px; font-size: 14px;
    }
    #chat-messages div {
      background: #f1f3f9; padding: 8px 10px; border-radius: 6px;
      max-width: 90%; word-wrap: break-word; line-height: 1.4;
    }
    #chat-messages div:nth-child(odd) { align-self: flex-start; background: #e0ebff; }
    #chat-messages div:nth-child(even) { align-self: flex-end; background: #d9fdd3; }

    #chat-input {
      display: flex; border-top: 1px solid #ccc;
    }
    #chat-input input {
      flex: 1; padding: 10px; border: none; outline: none;
    }
    #chat-input button {
      padding: 10px 15px; background: #2e3ebd; color: white;
      border: none; cursor: pointer;
    }

    .typing { font-style: italic; opacity: 0.7; }