/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Mukta", sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Background Animation */
#background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 217, 255, 0.1) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: -1;
  overflow: hidden;
}

/* Title */
.title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 2rem 0;
  text-align: center;
  background: linear-gradient(to right, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lottie Animation Box */
.circle {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 217, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  margin-bottom: 20px;
}

.lottie {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

button {
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  color: white;
  background: linear-gradient(to right, #4facfe, #00f2fe);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
  transition: 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.9);
}

/* Q&A Box */
.output-box {
  max-width: 600px;
  width: 90%;
  padding: 20px;
  margin-bottom: 2rem;
  border-radius: 16px;
  text-align: left;
  max-height: 60vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.conversation-history {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.conversation-history:empty {
  display: none;
}

.qa-pair {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.qa-pair:last-child {
  margin-bottom: 0;
}

.qa-pair .question {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.qa-pair .response {
  color: #90ee90;
}

.qa-pair .followup {
  color: #87ceeb;
  margin-top: 0.5rem;
  font-style: italic;
}

.current-qa {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.1);
}

.question {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.response {
  font-size: 18px;
  color: #aefeff;
}

/* Footer Logos */
footer.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Wrap each logo in a glowing card */
footer img {
  height: 110px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.08);
  border: 1px solid rgba(0, 217, 255, 0.1);
}

/* Subtle glow and border highlight */
footer img {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
  border: 1px solid rgba(0, 217, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.powered-by-footer {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #ccc;
  font-family: "Segoe UI", sans-serif;
}
.powered-by-footer strong {
  color: #00ccff;
  font-weight: 600;
}

.disclaimer-text {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3); /* very subtle white */
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.dev-disclaimer {
  color: rgba(255, 0, 0, 0.6); /* Faint red */
  text-align: center;
  font-size: 1rem;
  margin: 1rem auto;
  max-width: 80%;
  font-weight: 500;
}
