@import 'variables.css';
@import 'animations.css';
@import 'responsive.css';

/* ═══════════════════════════════════════════
   GLOBAL RESET & FOUNDATIONS
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-dark);
  background-color: transparent;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.5s ease;
}

body:not(.animated-bg) {
  background-color: var(--color-white);
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* ── Animated Atmospheric Background ── */
@keyframes atmosphericShift {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

body.animated-bg::before {
  content: '';
  position: fixed;
  width: 150vmax;
  height: 150vmax;
  top: calc(50vh - 75vmax);
  left: calc(50vw - 75vmax);
  z-index: -2;
  background:
    radial-gradient(circle at 20% 30%, rgba(197, 168, 128, 1) 0%, rgba(197, 168, 128, 0) 40%),
    radial-gradient(circle at 80% 20%, rgba(232, 216, 206, 1) 0%, rgba(232, 216, 206, 0) 45%),
    radial-gradient(circle at 40% 80%, rgba(205, 175, 135, 1) 0%, rgba(205, 175, 135, 0) 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 239, 235, 1) 0%, rgba(245, 239, 235, 0) 40%),
    var(--color-white);
  background-size: 100% 100%;
  animation: atmosphericShift 35s linear infinite;
  pointer-events: none;
}

body.animated-bg::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

body[data-theme="dark"].animated-bg::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(197, 168, 128, 0.6) 0%, rgba(197, 168, 128, 0) 40%),
    radial-gradient(circle at 80% 30%, rgba(120, 90, 60, 0.7) 0%, rgba(120, 90, 60, 0) 45%),
    radial-gradient(circle at 40% 80%, rgba(197, 168, 128, 0.5) 0%, rgba(197, 168, 128, 0) 50%),
    radial-gradient(circle at 80% 70%, rgba(80, 60, 40, 0.8) 0%, rgba(80, 60, 40, 0) 45%),
    var(--color-white);
}

body[data-theme="dark"].animated-bg::after {
  background: rgba(15, 13, 11, 0.5);
}

/* ── Selection ── */
::selection {
  background: var(--color-primary-light);
  color: var(--color-dark);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-dark);
}

p {
  color: var(--color-gray);
  margin-bottom: var(--spacing-4);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: var(--color-dark);
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--spacing-6);
}

.section {
  padding-block: var(--spacing-6);
  position: relative;
}

/* ── Section Title ── */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-6);
  position: relative;
}

.section-title h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--spacing-4);
  font-weight: 400;
  letter-spacing: -0.5px;
}

.section-title p {
  max-width: 550px;
  margin: 0 auto;
  font-size: var(--text-lg);
  line-height: 1.8;
}

/* ── Gold Decorative Line ── */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gradient-gold);
  margin: var(--spacing-6) auto 0;
}

/* ── Subtitle Tag ── */
.hero-subtitle {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--color-primary-dark);
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--color-primary);
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════
   PREMIUM BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  outline: none;
  text-decoration: none;
  position: relative;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--gradient-gold);
  color: #1A1A1A;
  border-color: transparent;
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   PREMIUM CARDS
   ═══════════════════════════════════════════ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-card);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
  border-color: rgba(197, 168, 128, 0.2);
}

/* ═══════════════════════════════════════════
   PREMIUM SERVICE CARD (HOVERBOARD STYLE)
   ═══════════════════════════════════════════ */
.service-card {
  text-align: center;
  padding: var(--spacing-12) var(--spacing-8);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy hoverboard effect */
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.08);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 25%, rgba(197, 168, 128, 0.06) 50%, transparent 75%);
  transition: left 0.8s ease;
  z-index: -1;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  box-shadow: 0 25px 60px rgba(197, 168, 128, 0.25);
  transform: translateY(-16px) scale(1.03);
  border-color: rgba(197, 168, 128, 0.5);
  background: linear-gradient(to bottom, var(--color-white), var(--color-light-gray));
  z-index: 2;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-6);
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-primary);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.service-card:hover .service-icon {
  background: var(--gradient-gold);
  color: #1A1A1A;
  transform: scale(1.15) rotate(-6deg);
  box-shadow: var(--shadow-glow);
}

.service-title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-3);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-dark);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: var(--spacing-6);
  line-height: 1.7;
}

.service-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link::after {
  content: '→';
  font-family: Arial, sans-serif;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  color: var(--color-primary-dark);
  letter-spacing: 3px;
}

.service-card:hover .service-link::after {
  transform: translateX(6px);
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-gold);
  z-index: 10000;
  transition: width 0.1s ease;
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
  color: white;
}

/* ═══════════════════════════════════════════
   DECORATIVE PARTICLES (CSS-Only)
   ═══════════════════════════════════════════ */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat 12s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 14s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 10s;
  width: 4px;
  height: 4px;
}

.particle:nth-child(3) {
  top: 30%;
  left: 60%;
  animation-delay: 4s;
  animation-duration: 16s;
  width: 8px;
  height: 8px;
  opacity: 0.08;
}

.particle:nth-child(4) {
  top: 80%;
  left: 30%;
  animation-delay: 1s;
  animation-duration: 11s;
}

.particle:nth-child(5) {
  top: 10%;
  left: 90%;
  animation-delay: 3s;
  animation-duration: 13s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(6) {
  top: 50%;
  left: 20%;
  animation-delay: 5s;
  animation-duration: 15s;
  width: 3px;
  height: 3px;
  opacity: 0.2;
}

/* ═══════════════════════════════════════════
   CUSTOM SCROLLBAR
   ═══════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ═══════════════════════════════════════════
   FORMS & INPUTS (Premium styling)
   ═══════════════════════════════════════════ */
.form-group {
  margin-bottom: var(--spacing-6);
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-dark);
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--color-light-gray);
  color: var(--color-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--color-gray);
  opacity: 0.6;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Contact form specific wrapper */
.contact-form {
  background: var(--color-white);
  padding: var(--spacing-12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.contact-form::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--gradient-gold);
  opacity: 0.04;
  border-radius: 100% 0 var(--radius-xl) 0;
}

.contact-form .btn-primary {
  padding: 16px 40px;
  letter-spacing: 2px;
}


/* ═══════════════════════════════════════════
   PREMIUM CUSTOM CURSOR
   ═══════════════════════════════════════════ */
@media (min-width: 769px) {
  body {
    cursor: none;
  }

  a,
  button,
  input,
  textarea,
  select {
    cursor: none;
  }

  .custom-cursor-dot,
  .custom-cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999999;
    pointer-events: none;
  }

  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
  }

  .custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 168, 128, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }

  .custom-cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 168, 128, 0.1);
    border-color: transparent;
  }
}

@media (max-width: 768px) {

  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none;
  }
}

/* ── Testimonial Marquee ── */
.testimonial-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonial-marquee {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  padding: 0 15px;
}

.testimonial-marquee:hover {
  animation-play-state: paused;
}

.testimonial-marquee .testimonial-card {
  width: 300px;
  min-height: 360px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
  /* Add subtle scale transition */
  transition: transform 0.3s ease;
}

.testimonial-marquee .testimonial-card:hover {
  transform: translateY(-5px);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Translate exactly half of the total width minus half the gap */
    transform: translateX(calc(-50% - 15px));
  }
}

/* ── AI Assistant Chatbot Widget ── */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: var(--font-secondary);
}

.chatbot-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-gold);
  border: none;
  color: var(--color-dark);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: absolute;
  bottom: 0;
  right: 0;
}

.chatbot-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(197, 168, 128, 0.6);
}

.chatbot-widget.chat-open .chatbot-trigger {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(197, 168, 128, 0.2) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

[data-theme="dark"] .chatbot-window {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(197, 168, 128, 0.3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, #1a1511 0%, #0a0806 100%);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(197, 168, 128, 0.3);
  position: relative;
  overflow: hidden;
}

.chatbot-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.chatbot-avatar {
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 20px;
}

.chatbot-header h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: inherit;
}

.chatbot-header span {
  font-size: 12px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.chatbot-close:hover {
  color: #fff;
}

@keyframes messageSlideUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chatbot-body {
  height: 400px;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}

.chat-message {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  animation: messageSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bot-message, .admin-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
}

.chat-bubble {
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  backdrop-filter: blur(10px);
  word-break: break-word;
  overflow-wrap: break-word;
}

.chat-lead-form {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 18px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.chat-lead-form h4 {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: var(--color-dark);
}

.lead-form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.lead-form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.lead-form-btn {
  width: 100%;
  background: var(--color-dark);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.lead-form-btn:hover {
  background: var(--color-primary);
}

[data-theme="dark"] .chat-lead-form {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .chat-lead-form h4 { color: #fff; }
[data-theme="dark"] .lead-form-input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.bot-message .chat-bubble, .admin-message .chat-bubble {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  border-radius: 24px 24px 24px 6px;
  border: 1px solid rgba(255, 255, 255, 1);
}

[data-theme="dark"] .bot-message .chat-bubble,
[data-theme="dark"] .admin-message .chat-bubble {
  background: rgba(30, 30, 30, 0.85);
  color: #f1f1f1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.user-message .chat-bubble {
  background: linear-gradient(135deg, #c5a880 0%, #ab8c61 100%);
  color: #ffffff;
  border-radius: 24px 24px 6px 24px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

[data-theme="dark"] .user-message .chat-bubble {
  background: linear-gradient(135deg, #d4b58e 0%, #c5a880 100%);
  color: #000;
  text-shadow: none;
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.2);
}

.chat-time {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bot-message .chat-time, .admin-message .chat-time {
  text-align: left;
  padding-left: 6px;
}

.user-message .chat-time {
  text-align: right;
  padding-right: 6px;
}

[data-theme="dark"] .bot-message .chat-time,
[data-theme="dark"] .admin-message .chat-time,
[data-theme="dark"] .user-message .chat-time {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .user-message .chat-time {
  color: rgba(255, 255, 255, 0.5);
}

.chatbot-footer {
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 16px;
  align-items: center;
}

[data-theme="dark"] .chatbot-footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.chatbot-footer input {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(197, 168, 128, 0.2);
  padding: 16px 24px;
  border-radius: 40px;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.chatbot-footer input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}

[data-theme="dark"] .chatbot-footer input {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
}

[data-theme="dark"] .chatbot-footer input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.15);
}

.chatbot-footer button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c5a880, #ab8c61);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(197, 168, 128, 0.3);
}

.chatbot-footer button:hover {
  transform: scale(1.08) rotate(-10deg);
  box-shadow: 0 12px 25px rgba(197, 168, 128, 0.4);
}

[data-theme="dark"] .chatbot-footer button {
  background: var(--gradient-gold);
  color: #000;
}

.chatbot-footer button {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-footer button:hover {
  transform: translateX(3px);
}

.chat-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 13px;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.chat-wa-btn:hover {
  background: #128C7E;
}

/* Scrollbar for chat body */
.chatbot-body::-webkit-scrollbar {
  width: 6px;
}
.chatbot-body::-webkit-scrollbar-track {
  background: transparent;
}
.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(197, 168, 128, 0.3);
  border-radius: 10px;
}

@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 40px);
    right: -10px;
    bottom: 70px;
  }
}
