@import url('https://fonts.googleapis.com/css2?family=Protest+Guerrilla&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  /* background: linear-gradient(180deg, #e5dcff, #f2f0ff); */
  /* background: linear-gradient(180deg, #323946); */
background: black;



  
}


.hero-heading {
  text-align: center;
  margin-top: 0px;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

.hero-heading h1 {
  margin-top: 1rem;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0px;
}

.hero-heading p {
  font-size: 1.5rem;
  font-weight: 400;
  color: #cbd5e1;
  font-family:'Times New Roman', Times, serif;
   
}
.head{
  color:rgb(212, 43, 122);
}


#chatbot-section {
  scroll-margin-top:0;
  /* padding: 40px 0; */
  display: flex;
  justify-content: center;
  
}
  

.chatbot-wrapper {
   margin-top: 0px;
   margin-bottom: 10px;
  /* width: 360px;
  height: 500px; */
   width: 1450px;
  height: 500px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* box-shadow: 0 0 1rem #0D47A1; */
  box-shadow: 2px 2px 20px rgb(21, 145, 207),2px 2px 20px rgb(201, 41, 116);
  
}

.chatbot-header {
  /* background-color: #5f3dc4; */
  /* background-color: #0077B5; */

  /* background: #0D47A1; */
 background: linear-gradient(to right,rgb(21, 145, 207),rgb(201, 41, 116));
  /* color: #fff; */
  color: white;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  
  
}

.chat-box {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #faf9ff;
  
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.text {
    color: #1f242d;
}
.user {
  align-self: flex-end;
  /* background-color: #5f3dc4; */
  background-color: #323946;
  color: #fff;
}

.bot {
  align-self: flex-start;
  background-color: #eeeeff;
  color: #333;
}

.typing {
  display: inline-block;
  width: 20px;
  height: 10px;
  background: #ddd;
  border-radius: 10px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

.input-container {
  display: flex;
  padding: 12px;
  gap: 8px;
  background-color: #f0f0ff;
  
 
}

.input-container input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  
  outline: none;
}

.input-container button {
  padding: 0 16px;
  /* background-color: #5f3dc4; */
  /* background-color:#0D47A1; */
   background: linear-gradient(to right,rgb(21, 145, 207));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  /* box-shadow: 0 0 1rem #0D47A1; */
  box-shadow: 2px 2px 20px rgb(21, 145, 207);
}

.welcome {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  flex-direction: column;
  /* color: #5f3dc4; */
  color:#333;
  font-weight: bold;
  font-size: 16px;
  animation: fadeIn 2s ease-in-out;
}

.welcome .dot {
  width: 6px;
  height: 6px;
  /* background: #5f3dc4; */
  background: #333;
  border-radius: 50%;
  animation: bounce 1s infinite alternate;
}

.welcome .dot:nth-child(2) { animation-delay: 0.2s; }
.welcome .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  to {
    transform: translateY(-5px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

footer{
  margin-top: 100px;
}


.chat-footer {


  background: linear-gradient(to right,rgb(21, 145, 207),rgb(201, 41, 116));
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 16px;
 /* position: fixed; */
 bottom: 0;
  width: 100%;
  z-index: 999;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);


}

.animated-name {
  display: inline-block;
  margin-left: 5px;
  /* color: #00ffd5; */
  color: aqua;
  font-weight: bold;
  animation: floatIn 2s ease-in-out forwards;
  opacity: 0;
  transform: translateY(10px);
  font-size: 18px;
}

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 
virtual assistant */
.assistant {
    width: 100%;
    height: 100%;
    margin-top: 40px;
    margin-bottom: 10px;
    background-color:black;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:30px;
    flex-direction: column;
}


.logo{
    width: 35vw;
    animation: floatImage 4s ease-in-out infinite;

}
@keyframes floatImage {
    0% {
        transform:translateY(0);
    }
    50% {
        transform:translateY(-2.4rem);
    }
    100% {
        transform:translateY(0);
    }
}
 h1{
    color: aliceblue;
    /* font-family: "Protest Guerrilla", sans-serif; */
    font-family: sans-serif;
}
#name{
    color:rgb(212, 43, 122);
    font-size: 45px;
   font-weight: bold;
}
#va{
    color:rgb(43, 206, 212);
    font-size: 45px; 
}
#voice{
    width: 100px;
    display: none;
   
}
#btn{
width: 30%;
background: linear-gradient(to right,rgb(21, 145, 207),rgb(201, 41, 116));
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
font-size: 20px;
border-radius: 20px;
color: white;
box-shadow: 2px 2px 10px rgb(21, 145, 207),2px 2px 10px rgb(201, 41, 116);
border: none;
transition: all 0.5s;
cursor: pointer;
}
#btn:hover{
    box-shadow: 2px 2px 20px rgb(21, 145, 207),2px 2px 20px rgb(201, 41, 116);
    letter-spacing: 2px;
}





/* 
virtual assistant */