/* Reusable Visual Components */

/* Buttons */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border: 0;
  border-radius: 12px;
  background: #00d8c5;
  color: #050707;
  font-weight: 800;
  box-shadow: 0 12px 28px #00d8c52e;
  transition: 0.25s;
}

.btn-primary-custom:hover {
  background: #00f0dc;
  color: #050707;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px #00d8c54d;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid #0404048a;
  border-radius: 12px;
  color: #000000;
  font-weight: 700;
  transition: 0.25s;
}

.btn-outline-custom:hover {
  background: #00e6d2;
  color: #050707;
  border-color: #00e6d2;
}

/* Text Links */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #008f83;
  font-weight: 800;
  margin-top: 12px;
}

.text-link:hover {
  gap: 16px;
  color: #050707;
}

/* About Section */
.about {
  background: #fff;
}

.about-visual {
  position: relative;
  min-height: 470px;
}

.about-visual img {
  width: 83%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px 110px 18px 18px;
  filter: grayscale(20%);
}

.about-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  padding: 25px;
  background: #00e6d2;
  border-radius: 4px 20px 4px 20px;
  color: var(--navy);
}

.about-stamp strong {
  display: block;
  font: 800 2.6rem Manrope;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.9;
}

/* Services Section */
.services {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 29px 26px;
  background: #fff;
  border: 1px solid #dce7e4;
  border-radius: 4px 28px 4px 28px;
  grid-column: span 2;
  transition: 0.3s;
  overflow: hidden;
  box-shadow: 7px 7px 0 #dff7f3;
}

.service-card:nth-child(even) {
  border-radius: 28px 4px 28px 4px;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-card:hover {
  transform: translateY(-7px) rotate(-0.5deg);
  box-shadow: 10px 12px 0 #bcefe8;
  border-color: #00cdbb;
}

.service-card:after {
  content: attr(data-number);
  position: absolute;
  right: 17px;
  top: 8px;
  font: 800 4rem Manrope;
  color: #e8f4f1;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 6px 16px 6px 16px;
  background: #dff9f5;
  color: #007f75;
  font-size: 1.35rem;
  margin-bottom: 25px;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Products Section */
.products {
  background: #050707;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.products .section-lead {
  color: #b8c5c1;
}

.products:after {
  content: "";
  position: absolute;
  right: -160px;
  top: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid #00e6d21b;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #00e6d20b, 0 0 0 110px #00e6d206;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 45px;
}

.product-card {
  position: relative;
  min-height: 325px;
  padding: 26px;
  background: #101716;
  border: 1px solid #33413e;
  border-radius: 22px 5px 22px 5px;
  transition: 0.3s;
}

.product-card:nth-child(even) {
  transform: translateY(18px);
  border-radius: 5px 22px 5px 22px;
}

.product-card:hover {
  transform: translateY(-5px);
  background: #172320;
  border-color: #00d8c5;
  box-shadow: 0 16px 36px #00d8c51c;
}

.product-symbol {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: #feffff;
  color: #feffff;
  border-radius: 5px 16px 5px 16px;
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.product-symbol img{
   width: 70px;
  height: 70px
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.product-card p {
  font-size: 0.91rem;
  color: #c0ceca;
  line-height: 1.75;
}

.product-card a {
  color: #00e6d2;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Case Studies */
.cases {
  background: #fff;
}

.case-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 45px;
}

.case-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 4px 30px 4px 30px;
  background: #050707;
  color: white;
}

.case-feature img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.case-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #050707 0%, #05070720 90%);
}

.case-content {
  position: absolute;
  z-index: 1;
  left: 32px;
  right: 32px;
  bottom: 30px;
}

.case-content span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #00e6d2;
  font-weight: 800;
}

.case-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 10px 0;
}

.case-content p {
  max-width: 560px;
  color: #d2d9e6;
}

.case-stack {
  display: grid;
  gap: 18px;
}

.case-mini {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 4px 22px 4px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  background: #f9fbff;
}

.case-mini:nth-child(2) {
  margin-left: 28px;
  background: #effaf8;
}

.case-mini h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.case-mini p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 8px 0;
}

/* Testimonials */
.testimonials {
  background: #f2f7f6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.testimonial-card {
  padding: 28px;
  background: #fff;
  border-radius: 4px 22px 4px 22px;
  border: 1px solid var(--line);
}

.video-thumb {
  height: 185px;
  position: relative;
  overflow: hidden;
  border-radius: 4px 16px 4px 16px;
  background: #050707;
  display: grid;
  place-items: center;
  color: white;
}

.video-thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(55%);
}

.play {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #00e6d2;
  color: #050707;
  font-size: 1.25rem;
  box-shadow: 0 5px 20px #0003;
}

.testimonial-card .category {
  display: inline-block;
  margin: 20px 0 10px;
  padding: 6px 10px;
  background: #dff9f5;
  color: #007f75;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
}

.testimonial-card blockquote {
  font: 600 1rem/1.65 Manrope;
  color: var(--ink);
  margin: 0 0 18px;
}

.client-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00e6d2;
  color: #050707;
  font-weight: 800;
}

.client-line strong {
  display: block;
  font-size: 0.88rem;
}

.client-line small {
  color: var(--muted);
}

/* Recognition Section */
.recognition {
  padding: 65px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 30px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #59667d;
  font-weight: 700;
}

.cert-badge i {
  font-size: 2rem;
  color: #00a99b;
}

.stars {
  color: #f5a623;
  letter-spacing: 2px;
}

.cert-badge small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

/* Life Section */
.life {
  background: #fff;
}

.life-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 190px 190px;
  gap: 14px;
  margin-top: 40px;
}

.life-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  filter: grayscale(25%);
}

.life-grid img:first-child {
  grid-row: span 2;
  border-radius: 70px 16px 16px 16px;
}

.life-grid img:last-child {
  border-radius: 16px 16px 65px 16px;
}

.social-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
  color: var(--muted);
}

.social-line a {
  font-size: 1.4rem;
  color: #050707;
}

.social-line a:hover {
  color: #00a99b;
}

/* Reviews Section */
.reviews {
  background: #050707;
  color: #fff;
}

.reviews .section-lead {
  color: #b8c5c1;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 35px 0;
}

.review-score {
  font: 800 3.5rem Manrope;
}

.review-stars {
  color: #00e6d2;
  font-size: 1.2rem;
  letter-spacing: 3px;
}


/* Infinite Google Reviews Carousel */

.review-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 25px;

  /* Soft fade on both edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );

  mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

.review-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: reviewScroll 35s linear infinite;
  will-change: transform;
  align-items: stretch;
}

/* Pause when hovered */
.review-carousel:hover .review-track {
  animation-play-state: paused;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  flex: 0 0 340px;
  height: 500px;
  overflow: hidden;

  padding: 20px;
  background: #111a18;
  border: 1px solid #34413e;
  border-radius: 4px 20px 4px 20px;

  text-decoration: none;
  color: inherit;

  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;

  position: relative;
}

.review-card::after {
  content: "Read more →";
  display: block;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 15px;
  text-decoration: underline;
  cursor: pointer;
}

.review-card:hover {
  border-color: var(--cyan);
  background: #15221f;
  transform: translateY(-5px);
  color: inherit;
}

.review-stars {
  color: #fbbc04;
  letter-spacing: 3px;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.review-card p {
  color: #c7d2cf;
  line-height: 1.7;
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.review-card strong {
  color: #fff;
  font-size: 0.9rem;
}

.review-card small {
  display: block;
  color: #a0b0ab;
  margin-top: 4px;
  font-size: 0.78rem;
}

/* Seamless infinite movement */
@keyframes reviewScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .review-card {
    flex-basis: 290px;
    min-height: 230px;
    padding: 22px;
  }

  .review-track {
    animation-duration: 30s;
  }
}

@media (max-width: 480px) {
  .review-card {
    flex-basis: 270px;
  }

  .review-track {
    animation-duration: 27s;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .review-track {
    animation: none;
  }
}
/* .review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  padding: 25px;
  background: #111a18;
  border: 1px solid #34413e;
  border-radius: 4px 20px 4px 20px;
}

.review-card p {
  color: #c7d2cf;
  line-height: 1.7;
  font-size: 0.93rem;
}

.review-card strong {
  font-size: 0.9rem;
}

.review-card small {
  display: block;
  color: #a0b0ab;
  margin-top: 4px;
} */

.review-foot {
  margin-top: 25px;
  color: #a0b0ab;
  font-size: 0.82rem;
}

/* Blog Section */
.blog {
  background: #f3f8f7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.blog-card {
  background: #fff;
  border-radius: 4px 22px 4px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px #06171418;
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: grayscale(25%);
}

.blog-body {
  padding: 24px;
}

.blog-category {
  font-size: 0.72rem;
  color: #008f83;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin: 12px 0;
}

.blog-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: #eaf8f5;
}

.final-cta:after {
  content: "";
  position: absolute;
  right: -120px;
  top: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid #00bbaa25;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #00bbaa0b, 0 0 0 110px #00bbaa07;
}

/* Forms */
.form-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 35px;
  border-radius: 4px 24px 4px 24px;
  border: 1px solid #d8e8e4;
  box-shadow: 12px 12px 0 #d8f5ef;
}

.form-label {
  font-size: 0.83rem;
  font-weight: 700;
  color: #3c4961;
}

.form-control,
.form-select {
  min-height: 49px;
  border: 1px solid #dfe5ef;
  border-radius: 4px 10px 4px 10px;
  font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #00bbaa;
  box-shadow: 0 0 0 0.2rem #00d8c51c;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.toast-message {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #e0f9f4;
  color: #006b60;
  font-size: 0.9rem;
}

/* Modal */
.modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}

.modal-header {
  background: #050707;
  color: #fff;
  border: 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-header .eyebrow {
  color: #00e6d2;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .service-card {
    grid-column: span 3;
  }
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 3;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card:nth-child(even) {
    transform: none;
  }
  .case-layout {
    grid-template-columns: 1fr;
  }
  .case-stack {
    grid-template-columns: 1fr 1fr;
  }
  .case-mini:nth-child(2) {
    margin-left: 0;
  }
  .testimonial-grid,
  .review-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .life-grid {
    grid-template-rows: 160px 160px;
  }
  .navbar-collapse {
    padding: 15px 0;
  }
}

@media (max-width: 575px) {
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 6;
  }
  .service-card {
    box-shadow: 5px 5px 0 #dff7f3;
  }
  .product-grid,
  .testimonial-grid,
  .review-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    min-height: 0;
  }
  .case-feature {
    min-height: 370px;
  }
  .case-stack {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 20px;
  }
  .life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
  }
  .life-grid img:first-child {
    grid-row: span 2;
  }
  .life-grid img:last-child {
    border-radius: 16px;
  }
  .form-panel {
    padding: 23px;
    box-shadow: 7px 7px 0 #d8f5ef;
  }
  .review-summary {
    align-items: flex-start;
  }
  .final-cta {
    padding: 75px 0;
  }
}

/* Button Hover Animation */
.js-button {
  position: relative;
}

.button__inner {
  display: inline-block;
  position: relative;
}

.button__text {
  display: inline;
  opacity: 1;
}

.button__hover {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  display: inline-block;
  white-space: nowrap;
  width: 100%;
}

/* Floating Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: inherit;
}

.chatbot-button {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #040c97 0%, #040404 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(0, 220, 202, 0.4);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(0, 220, 202, 0.4); }
  50% { box-shadow: 0 8px 35px rgba(0, 220, 202, 0.6); }
}

.chatbot-button:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgba(0, 220, 202, 0.6);
  animation: none;
}

.chatbot-button.active {
  opacity: 0;
  pointer-events: none;
}

.chatbot-panel {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 350px;
  height: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.chatbot-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, #00dcca 0%, #00a89a 100%);
  color: #fff;
  padding: 24px 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header-content {
  flex: 1;
}

.chatbot-header h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.header-subtitle {
  margin: 0;
  font-size: 13px;
  opacity: 0.95;
  font-weight: 500;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  opacity: 0.9;
}

.chatbot-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Tab Navigation */
.chatbot-tabs {
  display: flex;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
  border-radius: 16px 16px 0 0;
}

.tab-btn {
  flex: 1;
  padding: 14px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
}

.tab-btn i {
  font-size: 14px;
}

.tab-btn:hover {
  color: #00dcca;
  background: rgba(0, 220, 202, 0.05);
}

.tab-btn.active {
  color: #00dcca;
  border-bottom-color: #00dcca;
  background: #fff;
}

/* Tab Content */
.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  max-height: 100%;
  scroll-behavior: smooth;
}

.tab-content::-webkit-scrollbar {
  width: 6px;
}

.tab-content::-webkit-scrollbar-track {
  background: transparent;
  padding: 4px 0;
}

.tab-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00dcca 0%, #00a89a 100%);
  border-radius: 3px;
  transition: background 0.3s;
}

.tab-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00c9b7 0%, #009583 100%);
  box-shadow: 0 0 6px rgba(0, 220, 202, 0.4);
}

.tab-content {
  scrollbar-color: #00dcca transparent;
  scrollbar-width: thin;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
}

/* Chat Tab */
#chat-tab {
  flex-direction: column;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 100%;
  scroll-behavior: smooth;
}

/* Beautiful Custom Scrollbar */
.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
  padding: 4px 0;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00dcca 0%, #00a89a 100%);
  border-radius: 3px;
  transition: background 0.3s;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00c9b7 0%, #009583 100%);
  box-shadow: 0 0 6px rgba(0, 220, 202, 0.4);
}

/* Firefox Scrollbar */
.chatbot-messages {
  scrollbar-color: #00dcca transparent;
  scrollbar-width: thin;
}

.message {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

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

.message p {
  margin: 0;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
  word-wrap: break-word;
}

.bot-message {
  justify-content: flex-start;
}

.bot-message p {
  background: #f0f0f0;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  background: linear-gradient(135deg, #00dcca 0%, #00a89a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 220, 202, 0.3);
}

.chatbot-input-area {
  display: flex;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 0 0 16px 16px;
}

.chatbot-input {
  flex: 1;
  border: 1.5px solid #e0e0e0;
  border-radius: 22px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
}

.chatbot-input:focus {
  outline: none;
  border-color: #00dcca;
  box-shadow: 0 0 0 3px rgba(0, 220, 202, 0.1);
}

.chatbot-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00dcca 0%, #00a89a 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 16px;
  flex-shrink: 0;
}

.chatbot-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 220, 202, 0.3);
}

.chatbot-send:active {
  transform: scale(0.95);
}

/* FAQ Section */
.faq-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  scroll-behavior: smooth;
}

/* FAQ Container Scrollbar */
.faq-container::-webkit-scrollbar {
  width: 6px;
}

.faq-container::-webkit-scrollbar-track {
  background: transparent;
  padding: 4px 0;
}

.faq-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00dcca 0%, #00a89a 100%);
  border-radius: 3px;
  transition: background 0.3s;
}

.faq-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00c9b7 0%, #009583 100%);
  box-shadow: 0 0 6px rgba(0, 220, 202, 0.4);
}

.faq-container {
  scrollbar-color: #00dcca transparent;
  scrollbar-width: thin;
}

.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #00dcca;
  box-shadow: 0 2px 8px rgba(0, 220, 202, 0.1);
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  background: #fafafa;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
  text-align: left;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question i {
  font-size: 12px;
  color: #00dcca;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-question.active {
  background: linear-gradient(135deg, rgba(0, 220, 202, 0.08) 0%, rgba(0, 168, 154, 0.05) 100%);
  color: #00dcca;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fff;
}

.faq-answer.show {
  max-height: 300px;
  padding: 12px 16px;
  border-top: 1px solid #e8e8e8;
}

.faq-answer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

/* Form Section */
.info-form {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  scroll-behavior: smooth;
}

/* Info Form Scrollbar */
.info-form::-webkit-scrollbar {
  width: 6px;
}

.info-form::-webkit-scrollbar-track {
  background: transparent;
  padding: 4px 0;
}

.info-form::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00dcca 0%, #00a89a 100%);
  border-radius: 3px;
  transition: background 0.3s;
}

.info-form::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00c9b7 0%, #009583 100%);
  box-shadow: 0 0 6px rgba(0, 220, 202, 0.4);
}

.info-form {
  scrollbar-color: #00dcca transparent;
  scrollbar-width: thin;
}

.info-form h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.form-subtitle {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: #999;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: block;
}

.form-input {
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  background: #fafafa;
}

.form-input:focus {
  outline: none;
  border-color: #00dcca;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 220, 202, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.info-form .btn-submit {
  padding: 12px 18px;
  background: linear-gradient(135deg, #00dcca 0%, #00a89a 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.info-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 220, 202, 0.3);
}

.info-form .btn-submit:active {
  transform: translateY(0);
}

/* Chatbot CTA Button Styling */
.chatbot-cta-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #00dcca 0%, #00a89a 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 220, 202, 0.3);
  text-align: center;
  white-space: nowrap;
}

.chatbot-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 220, 202, 0.4);
  background: linear-gradient(135deg, #00f0dc 0%, #00b8a8 100%);
}

.chatbot-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 220, 202, 0.3);
}

/* Responsive Design */
@media (max-width: 480px) {
  .chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-button {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .chatbot-panel {
    width: calc(100vw - 40px);
    max-width: 420px;
    bottom: 70px;
    max-height: 70vh;
  }

  .chatbot-tabs {
    padding: 0;
  }

  .tab-btn {
    font-size: 12px;
    padding: 12px 8px;
  }
}
