/* FoundrFuse Main Stylesheet */

:root {
  --primary-color: #105690;
  /* Blue */
  --primary-dark: #0b3e68;
  /* Darker Blue */
  --primary-light: #bbdefb;
  /* Lighter Blue */
  --secondary-color: #3ad286;
  /* Green */
  --secondary-dark: #1caa63;
  /* Darker Green */
  --secondary-light: #b2f7d6;
  /* Lighter Green */
  --investor-color: #43e6e1;
  /* Aqua/Greenish Blue */
  --founder-color: #2196f3;
  /* Blue (same as primary) */
  --success-color: #084b2a;
  /* Green */
  --warning-color: #b2f7d6;
  /* Light Green */
  --danger-color: #1769aa;
  /* Use dark blue as "danger" for theme consistency */
  --neutral-100: #ffffff;
  /* White */
  --neutral-200: #f0f8ff;
  /* Very light blue */
  --neutral-300: #e3f2fd;
  /* Light blue */
  --neutral-400: #b2f7d6;
  /* Light green */
  --neutral-500: #bbdefb;
  /* Lighter blue */
  --neutral-600: #43e695;
  /* Green */
  --neutral-700: #1c496d;
  /* Dark blue */
  --neutral-800: #30474b;
  /* Blue */
  --neutral-900: #6ec3f4;
  /* Dark blue */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 6px rgba(33, 150, 243, 0.08);
  --transition-quick: all 0.2s ease;
  --transition-normal: all 0.3s ease;

}

html,
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 30px;
  /* Adjust for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-quick);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary-color);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Form elements */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--neutral-800);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--neutral-400);
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
}

.form-control:focus {
  color: var(--neutral-900);
  background-color: #fff;
  border-color: var(--primary-light);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(74, 107, 255, 0.25);
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid var(--neutral-300);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
  flex: 1 1 auto;
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-text {
  margin-bottom: 1.25rem;
}

/* Grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Media queries for responsive design */
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--neutral-600);
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-success {
  color: var(--success-color);
}

.text-warning {
  color: var(--warning-color);
}

.text-danger {
  color: var(--danger-color);
}

.bg-light {
  background-color: var(--neutral-100);
}

.bg-dark {
  background-color: var(--neutral-900);
  color: white;
}

.bg-primary {
  background-color: var(--primary-color);
  color: white;
}

.bg-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.ml-1 {
  margin-left: 0.25rem !important;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

.ml-3 {
  margin-left: 1rem !important;
}

.ml-4 {
  margin-left: 1.5rem !important;
}

.ml-5 {
  margin-left: 3rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mr-3 {
  margin-right: 1rem !important;
}

.mr-4 {
  margin-right: 1.5rem !important;
}

.mr-5 {
  margin-right: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.flex-column {
  flex-direction: column !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

.shadow {
  box-shadow: var(--box-shadow) !important;
}

/* Custom styles for elements */
.navbar {
  background: rgba(241, 240, 240, 0.781);
  backdrop-filter: blur(10px) saturate(600%);
  border-radius: 2px;
  box-shadow: 0 8px 32px 0 rgba(74, 107, 255, 0.10), 0 1.5px 8px rgba(0, 0, 0, 0.06);
  margin: 24px auto 0px auto;
  margin-top: 0% !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  padding: 0.7rem 2.5rem;
  transition: box-shadow 0.3s;
  border: 1.5px solid rgba(74, 107, 255, 0.08);
  margin-bottom: 10px;
}

.navbar-brand {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: transform 0.2s;
}

.navbar-brand:hover {
  transform: scale(1.06) rotate(0deg);
  filter: drop-shadow(0 2px 12px #c04aff44);
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 0.7rem;
}

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 1.08rem;
  color: #34403b;
  padding: 0.7rem 0.8rem;
  margin: 0 0.2rem;
  border-radius: 12px;
  transition:
    color 0.25s cubic-bezier(.4, 2, .6, 1),
     0.25s cubic-bezier(.4, 2, .6, 1),
    box-shadow 0.25s cubic-bezier(.4, 2, .6, 1),
    transform 0.18s cubic-bezier(.4, 2, .6, 1);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.navbar-nav .nav-link i {
  color: #adb5bd;
  transition: color 0.25s cubic-bezier(.4, 2, .6, 1), text-shadow 0.25s;
}

/* Animated Gradient Underline on Hover */
.navbar-nav .nav-link::after {
  content: '';
  display: block;
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  opacity: 0;
  transform: scaleX(0.4);
  transition: all 0.32s cubic-bezier(.4, 2, .6, 1);
  z-index: -1;
}

/* Add to your static/css/style.css or in <style> in base.html */
.navbar-profile-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #eee;
  background: #fff;
}

/* Hover & Active Effects */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: rgb(12, 182, 83);
  background: rgba(74, 107, 255, 0.08);
  box-shadow: 0 2px 12px #4a6bff22;
  transform: translateY(-2px) scale(1.07);
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-item.active .nav-link i {
  color: rgb(16, 129, 67);
  text-shadow: 0 2px 8px #6ce3f8dc;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Dropdown Menu */
.dropdown-menu {
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(74, 107, 255, 0.10), 0 1.5px 8px rgba(0, 0, 0, 0.06);
  border: none;
  margin-top: 12px;
  min-width: 220px;
  background: rgba(241, 240, 240, 0.781);
  backdrop-filter: blur(10px) saturate(600%);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  z-index: 1 !important;
  position: absolute !important;
}

.dropdown-item {
  font-weight: 500;
  color: #343a40;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  transition:
    color 0.22s cubic-bezier(.4, 2, .6, 1),
     0.22s cubic-bezier(.4, 2, .6, 1),
    transform 0.18s cubic-bezier(.4, 2, .6, 1);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  /* transform: scale(1.04) translateX(3px); */
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.btn-accent {
  background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
  border: none;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, var(--accent-secondary), var(--accent-color));
}

/* Responsive Navbar */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.7rem 1rem;
    margin: 0 0 18px 0;
    border-radius: 0 0 18px 18px;
  }

  .navbar-nav .nav-link {
    margin: 0.2rem 0;
    padding: 0.7rem 1rem;
    font-size: 1.05rem;
  }
}

/* Navbar Toggler (Hamburger) */
.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: 0.2s;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  background: rgba(74, 107, 255, 0.08);
}

/* Premium Badge in Navbar */
.premium-badge {
  background: linear-gradient(90deg, #ffd700 0%, #ff9d00 100%);
  color: #343a40;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 16px;
  padding: 2px 10px 2px 8px;
  margin-left: 0.5em;
  box-shadow: 0 2px 8px #ffd70033;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  letter-spacing: 0.5px;
}

.premium-badge i {
  color: #ffb700;
  margin-right: 2px;
}

/* Register Button in Navbar */
.navbar .btn-primary {
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 2px 12px #4a6bff22;
  padding: 0.7rem 1.5rem;
  margin-left: 1rem;
  transition:  0.22s, box-shadow 0.22s, transform 0.18s;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.navbar .btn-primary:hover {
  background:linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  box-shadow: 0 4px 18px #c04aff33;
  transform: scale(1.06) translateY(-2px);
}

/* Remove old nav-link background on hover */
.nav-link:hover,
.nav-link.active {
  background: none;
  color: #079955 !important;
  box-shadow: none;
}

/* Remove underline on hover for links inside navbar */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: var(  --neutral-700);
  color: white;
  padding: 3rem 0;
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: white;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

/* Change color of footer links */
.footer-links a {
    color: #8ef5c3; /* Change this to your desired color */
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #f6f6f8; /* Change this to your desired hover color */
    text-decoration: underline;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  background-color: rgb(19, 165, 92);
  transition: var(--transition-normal);
}

.social-icon:hover {
  background-color: white;
  color :blue;
  transform: translateY(-3px);
}

.copyright {
  background-color: var(--neutral-900);
  color: var(--neutral-500);
  padding: 1.5rem 0;
  text-align: center;
}

/* Animated Chatbot Widget Styles */
#ff-chatbot-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  border-radius: 50%;
  box-shadow: 0 4px 24px #6c47e644;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: ff-bounce 1.6s infinite;
  transition: box-shadow 0.2s;
}

#ff-chatbot-bubble:hover {
  box-shadow: 0 8px 32px #c04aff66;
}

@keyframes ff-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

#ff-chatbot-bubble svg {
  width: 32px;
  height: 32px;
  color: #fff;
  animation: ff-chatwave 2s infinite;
}

@keyframes ff-chatwave {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* --- Modern Chatbot Redesign --- */
#ff-chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 370px;
  max-width: 98vw;
  height: 540px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  border-radius: 22px;
  box-shadow: 0 8px 32px #6c47e644, 0 2px 8px #c04aff22;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  animation: ff-fadein 0.3s;
  border: 1.5px solid #eae6fa;
}

#ff-chatbot-header {
  background:linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  color: #fff;
  padding: 18px 26px;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eae6fa;
  box-shadow: 0 2px 8px #c04aff11;
}

#ff-chatbot-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:0.18s;
}

#ff-chatbot-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

#ff-chatbot-body {
  flex: 1 1 auto;
  padding: 18px 18px 0 18px;
  font-size: 15.5px;
  background: transparent;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ff-chatbot-msg-user,
.ff-chatbot-msg-bot {
  display: flex;
  margin-bottom: 6px;
}

.ff-chatbot-msg-user {
  justify-content: flex-end;
}

.ff-chatbot-msg-bot {
  justify-content: flex-start;
}

.ff-chatbot-msg-user span,
.ff-chatbot-msg-bot span {
  padding: 10px 16px;
  border-radius: 18px 18px 6px 18px;
  max-width: 80%;
  word-break: break-word;
  font-size: 1rem;
  box-shadow: 0 2px 8px #6c47e611;
  display: inline-block;
}

.ff-chatbot-msg-user span {
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ff-chatbot-msg-bot span {
  background: #f3f0fa;
  color: #3a246b;
  border-bottom-left-radius: 4px;
}

#ff-chatbot-form {
  display: flex;
  padding: 12px 16px 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #eae6fa;
  align-items: center;
  gap: 10px;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

#ff-chatbot-input {
  flex: 1;
  border: 1.5px solid #d7d2f7;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  outline: none;
  background: #f8f9fa;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #c04aff11;
}

#ff-chatbot-input:focus {
  border-color: #6c47e6;
  box-shadow: 0 2px 8px #6c47e622;
}

#ff-chatbot-send {
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px #c04aff22;
}

#ff-chatbot-send:hover {
  background: linear-gradient(135deg, rgb(7, 58, 155), rgb(11, 240, 163));
  transform: translateY(-2px) scale(1.04);
}

#ff-chatbot-recommended {
  background: rgba(248, 250, 255, 0.95);
  border-radius: 14px;
  margin: 10px 14px 14px 14px;
  padding: 12px 12px 8px 12px;
  box-shadow: 0 2px 12px #6c47e611;
  position: relative;
  z-index: 1;
  border: 1px solid #e3e6f0;
}

.ff-chatbot-recommended-title {
  font-weight: 700;
  color: #6c47e6;
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

#ff-chatbot-recommended-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 120px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e3e6f0 #f0f0f0;
}

#ff-chatbot-recommended-list::-webkit-scrollbar {
  width: 6px;
  background: #f0f0f0;
}

#ff-chatbot-recommended-list::-webkit-scrollbar-thumb {
  background: #e3e6f0;
  border-radius: 4px;
}

#ff-chatbot-recommended-list li {
  background: #fff;
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  margin-bottom: 7px;
  padding: 9px 13px;
  cursor: pointer;
  transition:  0.18s, box-shadow 0.18s, color 0.18s;
  font-size: 0.99rem;
  color: #3a246b;
  box-shadow: 0 1px 4px #6c47e611;
  font-weight: 500;
}

#ff-chatbot-recommended-list li:hover {
  background: #e7f1ff;
  color: #6c47e6;
  box-shadow: 0 2px 8px #6c47e622;
}

@media (max-width: 600px) {
  #ff-chatbot-window {
    width: 99vw;
    right: 0.5vw;
    bottom: 70px;
    height: 75vh;
    min-height: 320px;
    border-radius: 14px;
  }

  #ff-chatbot-header {
    padding: 14px 12px;
    font-size: 1rem;
  }

  #ff-chatbot-body {
    padding: 12px 8px 0 8px;
    font-size: 15px;
  }

  #ff-chatbot-form {
    padding: 10px 8px;
    gap: 6px;
  }

  #ff-chatbot-recommended {
    margin: 8px 2px 8px 2px;
    padding: 8px 4px 4px 4px;
  }
}

/* Responsive Design for Chatbot */


#ff-chatbot-recommended {
  background: #f8faff;
  border-radius: 10px;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 5px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.ff-chatbot-recommended-title {
  font-weight: 600;
  color: #007bff;
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

#ff-chatbot-recommended-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 140px;
  /* Set a suitable height */
  overflow-y: auto;
  /* Enable vertical scroll */
  scrollbar-width: thin;
  /* For Firefox */
}

#ff-chatbot-recommended-list::-webkit-scrollbar {
  width: 6px;
  background: #f0f0f0;
}

#ff-chatbot-recommended-list::-webkit-scrollbar-thumb {
  background: #e3e6f0;
  border-radius: 4px;
}

#ff-chatbot-recommended-list li {
  background: #fff;
  border: 1px solid #e3e6f0;
  border-radius: 7px;
  margin-bottom: 7px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-size: 0.98rem;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 123, 255, 0.04);
}

#ff-chatbot-recommended-list li:hover {
  background: #e7f1ff;
  color: #0056b3;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.10);
}

@media (max-width: 600px) {
  #ff-chatbot-recommended {
    margin: 8px 4px 8px 4px;
    padding: 8px 6px 4px 6px;
  }
}

/* Animated scroll-up effect */
.animated-scroll-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}

.animated-scroll-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/*upgrade.html ke card ke css */

.card-design {
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  line-height: 1.6;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #4a6bff 0%, #21fa9f 100%);
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-content::before {
  position: absolute;
  margin-top: 5px;
  content: "";
  top: -4%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%);
  background: #9cf3d9;
  z-index: -1;
  transform-origin: bottom;

  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-content::after {
  position: absolute;
  margin-top: 5px;
  content: "";
  top: -8%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%);
  background: #a7b9fa;
  z-index: -2;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}



.card-design:hover {
  transform: translate(0px, -16px);
}

.card-design:hover .card-content::before {
  rotate: -8deg;
  top: 0;
  width: 100%;
  height: 100%;
}

.card-design:hover .card-content::after {
  rotate: 8deg;
  top: 0;
  width: 100%;
  height: 100%;
}
/* Remove white background from ul in .card-design */
.card-design .card-content .list-group {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.card-design .card-content .list-group-item {
    background: transparent !important;
    border: none !important;
}

/* Remove white background from ul in .card-design */
.card-checkout .list-group {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.card-checkout .list-group-item {
    background: transparent !important;
    border: none !important;
}


