:root {
  --accent-1: #e3000f;
  --accent-2: #ff8a00;
  --panel-blue: #075E54;
}

/* Chat Now floating button (bottom-right) */
/* --- Chat Now Button (with animation) --- */
.chat-now-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: linear-gradient(90deg, #0bd455, #078d5b);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid rgba(22, 241, 102, 0.4);
  box-shadow: 0 8px 25px rgba(24, 227, 98, 0.471);
  transition: all 0.25s ease;
  animation: pulseGlow 2s ease-in-out infinite, floaty 3.5s ease-in-out infinite;
  z-index: 9999;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

/* Pause animation on hover */
.chat-now-btn:hover {
  transform: translateY(-5px) scale(1.05);
  animation-play-state: paused;
  box-shadow: 0 12px 35px rgba(10, 237, 93, 0.4);
}

/* WhatsApp Icon */
.chat-now-btn i {
  font-size: 20px;
  color: #fff;
}

/* Tooltip remains same */
.chat-tooltip {
  position: absolute;
  left: 0;
  bottom: 70px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.chat-now-btn:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations --- */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(4, 255, 96, 0.5);
    border-color: rgba(31, 249, 111, 0.4);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(255, 100, 0, 0);
    border-color: rgba(31, 249, 111, 0.4);
  }
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .chat-now-btn {
    left: 10px;
    bottom: 12px;
    font-size: 14px;
    padding: 10px 16px;
  }
}


/* chat panel container (hidden by default) */
.chat-panel {
  position: fixed;
  left: 18px;
  bottom: 86px;
  width: 360px;
  max-width: calc(100% - 36px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.25);
  transform: translateY(20px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: transform .34s cubic-bezier(.2, .9, .2, 1), opacity .28s;
  z-index: 99998;
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* header */
.chat-panel .head {
  background: linear-gradient(90deg, var(--panel-blue), #1383c6);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-panel .head .logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.chat-panel .head .title {
  font-weight: 800;
  font-size: 1rem;
}

.chat-panel .head .close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* body (chat-like bubble + quick options) */
.chat-panel .body {
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* only the single incoming message as you requested */
.chat-bubble {
  max-width: 85%;
  background: linear-gradient(180deg, #f6f8fa, #eef3f6);
  color: #111;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.04);
  align-self: flex-start;
  line-height: 1.45;
}

.chat-bubble small {
  display: block;
  opacity: .6;
  margin-top: 8px;
  font-size: .8rem;
}

/* quick option buttons (grid) */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-grid button {
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.06);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-1);
  transition: transform .14s, box-shadow .14s;
}

.quick-grid button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(255, 77, 0, 0.08);
}

/* footer: start chat + small media icon */
.chat-panel .footer {
  padding: 12px;
  border-top: 1px solid rgba(16, 24, 40, 0.04);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.chat-panel .start {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.chat-panel .mute {
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  font-weight: 700;
}

/* small screens */
@media (max-width: 600px) {
  .chat-panel {
    left: 10px;
    right: auto;
  }

  .chat-now-btn {
    left: 12px;
    right: auto;
  }

}

.powered-by {
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  padding: 8px 0 10px 0;
  border-top: 1px solid rgba(16, 24, 40, 0.05);
  background: #fff;
}

.powered-by a {
  color: #ff3b3b;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.powered-by a:hover {
  color: #ff8a00;
}




