.container {
  max-width: 1100px;
  margin: 0 auto;
  overflow: auto;
  padding: 0 40px;
}

.card {
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 30px;
  cursor: pointer;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
}

.btn-outline {
  background-color: transparent;
  border: 1px #fff solid;
}

.btn:hover {
  transform: scale(0.98);
}

/* Backgrounds & colored buttons */
.bg-primary,
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.bg-secondary,
.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.bg-dark,
.btn-dark {
  background-color: var(--dark-color);
  color: #fff;
}

.bg-light,
.btn-light {
  background-color: var(--light-color);
  color: #333;
}

.bg-primary a,
.btn-primary a,
.bg-secondary a,
.btn-secondary a,
.bg-dark a,
.btn-dark a {
  color: #fff;
}

/* Text colors */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-dark {
  color: var(--dark-color);
}

.text-light {
  color: var(--light-color);
}

/* Text sizes */
.lead {
  font-size: 20px;
}

.sm {
  font-size: 1rem;
}

.md {
  font-size: 2rem;
}

.lg {
  font-size: 3rem;
}

.xl {
  font-size: 4rem;
}

.text-center {
  text-align: center;
}

/* Alert */
.alert {
  background-color: var(--light-color);
  padding: 10px 20px;
  font-weight: bold;
  margin: 15px 0;
}

.alert i {
  margin-right: 10px;
}

.alert-success {
  background-color: var(--success-color);
  color: #fff;
}

.alert-error {
  background-color: var(--error-color);
  color: #fff;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Margin */
.my-1 {
  margin: 1rem 0;
}

.my-2 {
  margin: 1.5rem 0;
}

.my-3 {
  margin: 2rem 0;
}

.my-4 {
  margin: 3rem 0;
}

.my-5 {
  margin: 4rem 0;
}

.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 1.5rem;
}

.m-3 {
  margin: 2rem;
}

.m-4 {
  margin: 3rem;
}

.m-5 {
  margin: 4rem;
}

/* Padding */
.py-1 {
  padding: 1rem 0;
}

.py-2 {
  padding: 1.5rem 0;
}

.py-3 {
  padding: 2rem 0;
}

.py-4 {
  padding: 3rem 0;
}

.py-5 {
  padding: 4rem 0;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 1.5rem;
}

.p-3 {
  padding: 2rem;
}

.p-4 {
  padding: 3rem;
}

.p-5 {
  padding: 4rem;
}

.chatbot-toggle
{
height: 50px;  
width: 50px;  

  background: #724ae8;
    position: fixed;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    color: #fff;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 30px;
    transition: all 300ms ease;

}

.chatbot-toggle span{
    position: absolute;
}
.show-chatbot .chatbot-toggle span:first-child,
.chatbot-toggle span:last-child{
    opacity: 0;
}
.show-chatbot .chatbot-toggle span:last-child{
    opacity: 1;

}

.chatbot
{
  z-index:3;
    width: 27%;
    background: #fff;
    position: fixed;
    right: 40px;
    bottom: 100px;
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: all 300ms ease;
    transform-origin: bottom right;
}


.show-chatbot .chatbot{
    opacity: 1;
    transform: scale(1);
    pointer-events:auto ;
}

.chatbot header{
    font-size: 10px;
    text-align: center;
    padding: 16px 0;
    background-color: aqua;
    position: relative;

}

.chatbot header span{
    position: absolute;
    right: 20px;
    color: #000;
    cursor: pointer;
    transform: translateY(-50%);
    top: 50%;
    display: none;
}

.chatbot header h2{
    color: black;
    font-size: 1.2rem;
}

.chatbot .chatbox{
    height: 410px;
    overflow-y: auto;
    padding: 15px 20px 70px;
}
.chatbot .chat{
    display: flex;

}
.chatbot .outcoming 
{
    margin: 20px 0;
    justify-content: flex-end;
}
.chatbot .chat p{
padding: 12px 16px;
border-radius: 10px 10px 0 10px;
font-size: 0.95rem;
color: #fff;
background: blue;
}

.chatbot .incoming p
{
color: #000;
border-radius: 10px 10px 0 10px;
background: #f2f2f2;

}
.chatbot .incoming span
{
height: 32px;
width: 32px;
color: #fff;
background-color: #724ae8;
text-align: center;
line-height: 32px;
border-radius: 4px;
margin:  0 10px 7px 0;
align-self: flex-end;
}


.chat-input
{
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ccc;
    background-color: #fff;
    width:100%;
    padding :0 20px; 
    display: flex;
    align-items: center;
    justify-content: space-between;     
}

.chat-input input{
    border: none;
    outline: none;
    font-size: 0.95rem;
    resize: none;
    height: 30px;
    width: 100%;
    padding: 10px 15px 10px;
}


.chat-input span{

    height: 55px;
    color:  #724ae8;
    text-align: center;
    line-height: 55px;
    border-radius: 4px;
    margin:  0 10px 7px 0;
    align-self: flex-end;
    cursor: pointer;
    visibility: hidden;


}

.chat-input input:valid ~ span{
    visibility: visible;

}

@media screen and (max-width: 468px) {
    .chatbot{
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .chatbot .chatbox{
        height: 90%;

    }
    .chatbot header span {
       display: block;
    }
}