body {
    
    background: #101010 !important;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4,h5{
  font-family: "Raleway", serif;
    font-weight: bold;
    
}

p, span, li, .description, .sub-heading, button {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 400;
}

html, body {
  width: 100% !important;
    height: 100%;
    overflow-x: hidden;

    
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #ff007f;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #101010;
}

header {
    position: fixed; /* Make the header fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Ensure it's on top of other content */
}

body {
  padding-top: 70px;
}

footer {
    margin-top: 50px;
}


#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #181818;
  z-index: 10000; 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease; 
}

#loader video {
  width: 150px; 
  height: auto;
  animation: pulse 1.5s infinite; 
}


#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}


@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}


/* Chatbot Floating Button */
#chatbot-container {
  position: fixed;
  bottom: 10px;
  right: 5px;
  z-index: 1000;
  overflow: visible;
}

#eddie-model {
  cursor: grab;
} 


#chatbot-toggle {
  width: 150px;  /* ✅ Increase the button size */
  height: 150px; /* ✅ Ensure Eddie has space */
  background: none !important; /* ✅ Remove the background circle */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible !important;
  box-shadow: none !important;
  border-radius: 0px !important;
  position: fixed; 
  bottom: -18px;
  right: -20px;
 
}




#chatbot-toggle canvas {
  width: 100%;
  height: 100%;
 
}


#chatbot-toggle img {
  width: 60px;
  height: 60px;
}

#chatbot-toggle:hover {
  transform: scale(1.15);
}

/* Chatbot Window */
#chatbot-window {

  position: fixed;
  bottom: 100px;
  right: 80px;
  width: 390px;
  height: 500px;
  max-height: 500px;
  background: #1a1a1a;
  border-radius: 20px;
  display: none;
  flex-direction: column;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Chatbot Header */
#chatbot-header {
  background: #101010;
  padding: 14px;
  display: flex;
  align-items: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: relative;
}

/* Eddie's Avatar */
.chatbot-avatar {
  display: flex;
  align-items: center;
  border-radius: 50%;

}

.chatbot-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* Eddie's Name */
#eddie-name {
  font-weight: bold;
  font-size: 16px;
  flex-grow: 1;
  margin-left: 5px;
  color: white;
}

/* Close Button */
#close-chatbot {
  background: none;
  border: none;
  color: white;
  font-size: 25px;
  cursor: pointer;
  transition: 0.3s;
margin-bottom:.5rem ;
}

#close-chatbot:hover {
  transform: scale(1.2);
}

#chatbot-messages {
  flex-grow: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 127, 0.6) transparent;
}

/* Make scrollbar less intrusive */
#chatbot-messages::-webkit-scrollbar {
  width: 5px;
}

#chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 127, 0.8);
  border-radius: 5px;
}

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

/* User & Bot Messages */
.user-message, .bot-message {
  max-width: 75%;
  padding: 7px;
  border-radius: 15px;
  word-wrap: break-word;
}

.user-message {
  align-self: flex-end;
  background: #444;
  color: rgb(165, 165, 165);
  padding: 15px;
  font-size: 15px;
}

.bot-message {
  align-self: flex-start;
  background:transparent; /* Softer background */
  color: rgb(165, 165, 165);
  padding: 15px;
  border-radius: 10px;
  word-wrap: break-word;
  line-height: 1.4;
  border: #444 2px solid;
}
.bot-message ul {
  padding-left: 20px;
  margin: 0;
}

.bot-message ul li {
  list-style-type: disc;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.bot-message a {
  color: #ffd9ec; /* Soft pink for better contrast */
  text-decoration: underline;
}

.bot-message a:hover {
  color: #fff; /* Brighter hover effect */
  text-decoration: none;
}

/* Chat Input */
#chatbot-input-container {
  display: flex;
  background: #222;
  padding: 7px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

#minimize-chatbot {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 10px;
}

#minimize-chatbot:hover {
  transform: scale(1.2);
}

#chatbot-input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  outline: none;
  background: #333;
  color: white;
  border-radius: 10px;
  font-size: 14px;
}

#chatbot-send {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

#chatbot-send svg {
  width: 40px;
  height: 40px;
  fill: white;
}
#chatbot-send:hover svg {
  
  fill: #101010;
}

#chatbot-send:hover {
  background: #ffffff;

}

.typing-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns with Eddie's messages */
  padding: 5px 10px;
  margin-left: 50px; /* Same as bot avatar spacing */
  background: none !important; /* Ensures NO background */
  border: none !important; /* Ensures NO border */
}

/* Typing Loader - Clean Rotating Dots */
.typing-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-left: 10px;
  background: none; /* ✅ Fixes the background issue */
}
.loader2 {
  width: 24px;
  height: 24px;
  display: block;
  position: relative;
  color: #FFF;
  box-sizing: border-box;
  animation: rotation_19 1s linear infinite;
}

.loader2::after,
.loader2::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  width: 12px;
  height: 12px;
  top: 0;
  background-color: #FFF;
  border-radius: 50%;
  animation: scale50 1s infinite ease-in-out;
}

.loader2::before {
  top: auto;
  bottom: 0;
  background-color:#101010; /* Red Accent */
  animation-delay: 0.5s;
}

@keyframes rotation_19 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scale50 {
  0%, 100% { transform: scale(0); }
  50% { transform: scale(1); }
}



/* Adjust for screens smaller than 768px */
@media (max-width: 768px) {
  
  

  #chatbot-window {
    bottom: 100px;
    right: 22px;
    width: 330px;
    height: 450px;
    margin-right:none;
  }
  #chatbot-toggle {

    bottom: -10px;
    right: -20px;
  
  }

  #chatbot-toggle img {
    width: 40px;
    height: 40px;
  }
}


#speech-bubble {
  position: absolute;
  top: 10%;
  left: 10%;
  transform: translate(-50%, -50%);
  background: white;
  color: black;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

