
/* Carousel Button Styles */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  z-index: 10;
}
.carousel-arrow {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.carousel-arrow:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
  color: #fff;
}
.carousel-controls-center {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

/* Chatbot Styles */
#chatbot-widget {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9999;
  width: 380px;
  max-width: 98vw;
  font-family: 'Inter', 'Saira', sans-serif;
}
#chatbot-toggle {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  outline: none;
  border: none;
}
#chatbot-toggle:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}
#chatbot-toggle:active {
  transform: translateY(0);
}
#chatbot-window {
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 100%;
  min-height: 420px;
  max-height: 75vh;
  border: none;
  animation: chatbot-popin 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}
@keyframes chatbot-popin {
  0% { transform: scale(0.8) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
#chatbot-header {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: #fff;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}
#chatbot-header .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
#chatbot-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
}
#chatbot-close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.2);
}
#chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

#chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

#chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 3px;
}

#chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.5);
}

.chatbot-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-message.bot {
  justify-content: flex-start;
}
.chatbot-message.user {
  justify-content: flex-end;
}
.chatbot-message.bot .chatbot-bubble {
  background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
  color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.chatbot-message.user .chatbot-bubble {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  border: none;
}
.chatbot-bubble {
  padding: 10px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  max-width: 85%;
  word-break: break-word;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.chatbot-message.bot .chatbot-bubble:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.chatbot-message.user .chatbot-bubble:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
}
.chatbot-typing span {
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  animation: chatbot-typing-bounce 1.4s infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-typing-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
#chatbot-suggestions {
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f7faff;
  border-top: 1px solid #006edc22;
}
.chatbot-suggestion-btn {
  background: #fff;
  color: #006edc;
  border: 1px solid #006edc;
  border-radius: 10px;
  padding: 5px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
}
.chatbot-suggestion-btn:hover {
  background: #feba00;
  color: #fff;
  border: 1px solid #feba00;
  transform: scale(1.05);
}
#chatbot-input-area {
  padding: 16px 18px;
  display: flex;
  gap: 8px;
  background: #fff;
  border-top: 1px solid #006edc22;
}
#chatbot-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #006edc;
  border-radius: 12px;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#chatbot-input:focus {
  border-color: #feba00;
  box-shadow: 0 0 8px #feba0044;
}
#chatbot-send {
  background: #fff;
  color: #006edc;
  border: 1px solid #006edc;
  border-radius: 12px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 2px 8px #006edc11;
}
#chatbot-send:hover {
  background: #feba00;
  color: #fff;
  border: 1px solid #feba00;
}
@media (max-width: 600px) {
  #chatbot-widget {
    width: 98vw;
    right: 2vw;
    bottom: 12px;
  }
  #chatbot-window {
    min-height: 220px;
    max-height: 60vh;
  }
}