.footer {
  background-color: #F0F3F8;
  padding: 60px 20px 20px;
  font-family: Arial, sans-serif;
  color: #1e293b;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d4d4d4;
}

.logo img {
  height: auto;
  margin-bottom: -40px;
}

.footer-column {
  flex: 1 1 180px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #193153;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #193153;
  font-size: 16px;
  font-weight: 400;
}

.footer-logo {
  width: 105px;
  
}

.footer-btn {
  display: inline-block;
  background-color: #193153;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 16px;
  margin-top: 8%;
  font-weight: 400;
}

.login-section {
  margin-top: 15px;
}


.footer-login {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #1e293b;
  text-decoration: none;
  font-weight: bold;
}

.footer-hours {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-legal {
  flex: 1;
  margin-bottom: 20px;
  margin-right: -6%;
}

.footer-legal a {
  margin-right: 20px;
  text-decoration: none;
  color: #64748b;
  font-size: 13px;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-social {
  margin-bottom: 15px;
  text-align: right;
}

.footer-social p {
  margin: 1px 36px 15px -4px;
  font-weight: 600;
  color: #1e293b;
  font-size: 18px;
}

.footer-icons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #193153;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  color: white;
}

.footer-icons img {
  width: 16px;
  height: 16px;
}

.footer-copy {
  color: #193153e5;
  font-size: 13px;
  margin-top: 0;
  font-weight: 300;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 0px;
  }

  .footer {
    padding: 21px 22px 12px;
  }

  .footer-column {
    flex: 1 1 111px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    order: 1;
    margin-bottom: 15px;
  }

  .footer-bottom-right {
    order: 2;
    align-items: flex-start;
    width: 100%;
  }

  .footer-social {
    text-align: left;
  }

  .footer-icons {
    justify-content: flex-start;
  }
}


.chatbot-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chat-launcher {
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, #33475B, #516F90);
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-window {
  width: 390px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 70px;
  right: 0;
}

.chat-header {
  background: linear-gradient(90deg, #33475B, #516F90);
  color: white;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.chat-header .agent-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}

.chat-header .chat-close {
  background: none;
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

.chat-body {
  padding: 15px;
  height: 500px;
  overflow-y: auto;
  /* background: linear-gradient(180deg,rgba(3, 3, 46, 1) 0%, rgba(9, 9, 121, 1) 37%, rgba(0, 212, 255, 1) 100%); */
}

.message {
  display: flex;
  margin-bottom: 10px;
}

.message.agent {
  align-items: flex-start;
}

.message.agent img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.bubble {
  background: #EAF0F6;
  color: #193153c4;
  border-radius: 12px;
  padding: 10px 15px;
  max-width: 75%;
  font-size: 13px;
  line-height: 1.7;
}

.chat-options button {
  margin: 5px 30px 0 0;
  border: 1px solid #33475B;
  background: white;
  border-radius: 20px;
  padding: 10px 19px;
  font-size: 14px;
  cursor: pointer;
  color: #33475B;
}

.chat-footer {
  border-top: 1px solid #ddd;
  padding: 10px;
  display: flex;
  align-items: center;
}

.chat-footer input {
  flex: 1;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 24px;
}

/* .send-btn {
  background: none;
  border: none;
  font-size: 23px;
  color: #33475B;
  cursor: pointer;
  margin-left: 10px;
} */

.chat-launcher, .chat-launcher svg {
  pointer-events: auto;
}

/* Left/right alignment */
.message.visitor {
  justify-content: flex-start;
}

.message.admin {
  justify-content: flex-end;
}

/* Visitor bubble */
.message.visitor .bubble {
  background: #33475B;
  color: #EAF0F6;
  border-radius: 16px 16px 16px 4px;
  /* border-radius: 18px; */
}

/* Admin bubble */
.message.admin .bubble {
  background: #EAF0F6;
  color: #33475B;
  border-radius: 16px 16px 4px 16px;
  /* border-radius: 18px; */
}

/* Send button inside input field */
.chat-footer {
  position: relative;
}

.chat-footer input {
  padding-right: 60px; /* space for the button inside */
}

/* Wrap input and send button together */
.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 70px 14px 16px;
  border: 1px solid #ccc;
  border-radius: 24px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Send button styled inside input */
.send-btn {
  position: absolute;
  right: 5px;
    top: 50%;
    height: 37px;
  transform: translateY(-50%);
  background: #33475B;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 19px;
  font-size: 15px;
  cursor: pointer;
}

.send-btn:hover {
  background: #223344;
}

.chat-footer {
  border-top: 1px solid #ddd;
  padding: 10px;
  background: #fff;
}
