/* Hero Section */
.hero-section {
  padding: 210px 0 130px;
  position: relative;
}
.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -2px;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  max-width: 650px;
  line-height: 1.7;
}

.btn-glow {
  background: var(--premium-gradient);
  color: #fff !important;
  box-shadow: 0 10px 30px var(--primary-glow);
  border: none;
}
.btn-glow:hover {
  transform: translateY(-5px) scale(1.05);
  color: #fff !important;
  box-shadow: 0 20px 40px var(--primary-glow);
}
.btn-outline-glass {
  border: 1px solid var(--glass-border);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}
.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  transform: translateY(-5px);
  border-color: #fff;
}

/* Pricing Tabs */
.pricing-tabs-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  backdrop-filter: blur(10px);
}
.pricing-tab-btn {
  padding: 10px 24px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-tab-btn.active {
  background: var(--premium-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.pricing-tab-content {
  display: none;
  animation: fadeInUp 0.5s ease forwards;
}
.pricing-tab-content.active {
  display: block;
}

/* Price Card Enhancements */
.price-card {
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  border: 2px solid var(--primary);
  background: rgba(139, 92, 246, 0.08);
}
.featured-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary);
  color: #fff;
  padding: 8px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.plan-label {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  display: inline-block;
  box-shadow: inset 0 0 10px rgba(216, 180, 254, 0.1);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
}
.price span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.price .amount {
  font-size: 2.22rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
  margin-bottom: 2rem;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0;
  flex-grow: 1;
}
.price-list li {
  margin: 1.2rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.price-list li i {
  color: #34d399;
  font-size: 1.3rem;
}

/* Features */
.section-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: block;
}
.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 4.5rem;
  letter-spacing: -2px;
  color: #fff;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feat-icon {
  width: 75px;
  height: 75px;
  background: linear-gradient(
    135deg,
    rgba(216, 180, 254, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}
.feat-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}
.glass-card:hover .feat-icon {
  transform: translateY(-10px) rotate(8deg);
  background: var(--premium-gradient);
  color: #fff;
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}
.glass-card:hover .feat-icon svg {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
  stroke-width: 2;
}

/* Stats */
.stat-card {
  text-align: center;
  padding: 1rem;
}
.stat-icon-wrapper {
  width: 65px;
  height: 65px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  border: 1px solid rgba(216, 180, 254, 0.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}
.stat-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}
.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.1);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}
.stat-number {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(to bottom, #fff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
}
.stat-label {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: capitalize;
  opacity: 0.9;
}

/* FAQ */
.accordion-item {
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 24px !important;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.accordion-button {
  background: rgba(255, 255, 255, 0.03);
  color: #fff !important;
  font-weight: 600;
  padding: 1.8rem;
  border: none;
  font-size: 1.1rem;
}
.accordion-button:not(.collapsed) {
  background: rgba(216, 180, 254, 0.1);
  color: var(--accent) !important;
  box-shadow: none;
}
.accordion-body {
  color: var(--text-muted);
  line-height: 1.8;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.5);
  font-size: 1rem;
}

/* Contact */
.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 3rem;
  align-items: center;
}
.contact-info-icon {
  width: 60px;
  height: 60px;
  background: rgba(216, 180, 254, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
}
.form-control-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: #fff;
  padding: 1.2rem 1.6rem;
  transition: 0.3s;
  font-size: 1rem;
}
.form-control-glass:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(216, 180, 254, 0.2);
  color: #fff;
  outline: none;
}
.form-control-glass::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Partners */
.partner-card {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 20px;
  padding: 1.5rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(100%) opacity(0.5);
}
.partner-card:hover {
  background: rgba(255, 255, 255, 0);
  border-color: var(--primary);
  transform: translateY(-5px);
  filter: grayscale(0%) opacity(1);
}
.partner-logo-img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.partner-name-fallback {
  font-weight: 700;
  color: #fff;
  opacity: 0.8;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Marquee Animation */
.marquee-wrapper {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}
.marquee-container {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}
.marquee-container:hover {
  animation-play-state: paused;
}
.marquee-item {
  flex-shrink: 0;
  width: 220px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}
.floating-img {
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 0 60px var(--primary-glow));
}

/* Hub & Spoke Animation */
.transmission-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 70%
    ),
    linear-gradient(to bottom, #0f172a, #020617);
}
.hub-container {
  position: relative;
  height: 600px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.tech-node {
  position: absolute;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  width: auto;
  min-width: 200px;
  transform: translate(-50%, -50%);
}
.tech-node:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
  transform: translate(-50%, -55%) scale(1.02);
}
.tech-node.center-hub {
  width: 260px;
  padding: 25px;
  border-color: var(--primary);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.9),
    rgba(2, 6, 23, 0.95)
  );
  animation: hubPulse 3s infinite ease-in-out;
}
@keyframes hubPulse {
  0%,
  100% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
    border-color: var(--primary);
  }
  50% {
    box-shadow: 0 0 70px rgba(139, 92, 246, 0.3);
    border-color: #a78bfa;
  }
}
.node-icon-box {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.center-hub .node-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
  border-color: var(--primary);
  font-size: 1.8rem;
}
.node-details h6 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.node-details span {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pos-top {
  top: 10%;
  left: 50%;
}
.pos-center {
  top: 45%;
  left: 50%;
}
.pos-bot-1 {
  top: 85%;
  left: 20%;
}
.pos-bot-2 {
  top: 85%;
  left: 50%;
}
.pos-bot-3 {
  top: 85%;
  left: 80%;
}

.hub-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.line-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2;
}
.line-packet {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0 150;
  filter: drop-shadow(0 0 5px #fff);
  opacity: 0.8;
}
.flow-down {
  animation: flowMove 2s linear infinite;
}
@keyframes flowMove {
  from {
    stroke-dashoffset: 150;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Mobile Specific */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-section {
    padding: 120px 0 60px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .hero-buttons-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }
  .btn-premium {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .hub-container {
    width: 1000px;
    position: relative;
    left: 50%;
    margin-left: -500px;
    transform: scale(0.35);
    transform-origin: top center;
    height: 600px;
    margin-top: -50px;
    margin-bottom: -380px;
  }
  .tech-node {
    min-width: 220px !important;
    padding: 15px !important;
    border-radius: 16px !important;
    pointer-events: auto;
  }
  .tech-node h6 {
    font-size: 1.1rem !important;
    line-height: 1.2;
  }
  .tech-node span {
    font-size: 0.8rem !important;
  }

  #features .glass-card {
    padding: 0.8rem 0.1rem;
    border-radius: 12px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  #features .feat-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.4rem;
    border-radius: 8px;
    background: linear-gradient(
      135deg,
      rgba(216, 180, 254, 0.2),
      rgba(59, 130, 246, 0.2)
    );
  }
  #features .feat-icon svg {
    width: 16px;
    height: 16px;
  }
  #features h4 {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    line-height: 1.1;
    color: #fff !important;
  }

  /* News Section Mobile Refinements */
  #news .glass-card h4 {
    font-size: 1.3rem !important;
    line-height: 1.4;
    margin-bottom: 1rem !important;
  }
  #news .glass-card p {
    font-size: 0.95rem !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7) !important;
  }
  #news .btn-premium {
    font-size: 0.9rem !important;
    padding: 12px !important;
  }
}

/* API Section Refinement */
.api-section .section-title {
  margin-bottom: 2rem;
}
.api-section .fw-500 {
  color: #fff;
  font-size: 1.05rem;
}

@media (max-width: 991px) {
  .code-window {
    margin-top: 2rem;
  }
  .code-content {
    padding: 20px;
  }
  .code-content code {
    font-size: 0.72rem;
  }
}

/* Footer Social Links */
.footer-social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none !important;
}
.footer-social-link:hover {
  background: var(--premium-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

/* Hero Section Enhancements */
.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    #0f172a 0%,
    rgba(15, 23, 42, 0.9) 30%,
    rgba(15, 23, 42, 0.4) 100%
  );
  z-index: 1;
}

/* Live Chat Widget */
.live-chat-widget {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  top: auto !important;
  left: auto !important;
  z-index: 9999 !important;
  font-family: "Inter", sans-serif;
  display: block !important;
}

.chat-toggle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  border: none;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle:hover {
  transform: scale(1.1) rotate(5deg);
}

.chat-container {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 400px;
  height: 600px;
  max-height: 80vh;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    transform: scale(0.98);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.view-transition {
  animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-header {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.95) 0%,
    rgba(168, 85, 247, 0.95) 100%
  );
  padding: 25px 30px;
  color: #fff;
  position: relative;
  backdrop-filter: blur(5px);
}

.chat-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.chat-header p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.chat-header .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.chat-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.chat-header .close-btn i {
  font-size: 14px;
}

.chat-body {
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* Chat Bubbles Refinement */
.chat-msg {
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  max-width: 85%;
  line-height: 1.5;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chat-msg.user {
  align-self: flex-end !important;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
  color: #fff !important;
  border-bottom-right-radius: 4px !important;
  margin-left: 15%;
}

.chat-msg.assistant {
  align-self: flex-start !important;
  background: rgba(30, 41, 59, 0.8) !important;
  color: #fff !important;
  border-bottom-left-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-right: 15%;
}

/* Section Titles (Form/History) */
.chat-container .section-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background: rgba(99, 102, 241, 0.3) !important;
  border-left: 4px solid #6366f1 !important;
  padding: 12px 18px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  margin: 0 0 20px 0 !important;
  line-height: 1 !important;
}

/* Professional Input Styling */
.chat-input {
  width: 100% !important;
  background: rgba(30, 41, 59, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  color: #ffffff !important;
  margin-bottom: 15px !important;
  font-size: 0.95rem !important;
}

.dept-radio {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* Fix for intl-tel-input overlap - VERY ROBUST */
.iti input {
  padding-left: 100px !important;
}

.iti__selected-flag {
  padding-left: 12px !important;
  background: transparent !important;
}

.iti__selected-dial-code {
  color: #fff !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
}

/* Fix for intl-tel-input overlap */
.iti.iti--allow-dropdown input {
  padding-left: 95px !important; /* Ensure space for flag + dial code */
}

.iti__selected-flag {
  padding-left: 15px !important;
}

.chat-input:focus {
  outline: none !important;
  border-color: rgba(99, 102, 241, 0.6) !important;
  background: rgba(30, 41, 59, 0.9) !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25) !important;
}
.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.chat-btn {
  width: 100%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  border: none;
  border-radius: 14px;
  padding: 15px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(99, 102, 241, 0.4);
}

.chat-btn:active {
  transform: scale(0.98);
}

.chat-welcome-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px 20px;
  margin-bottom: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.welcome-logo-wrapper {
  width: 75px;
  height: 75px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.dept-label {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  color: #94a3b8;
}

.dept-radio:checked + .dept-label {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  color: #fff;
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* History List */
.history-item {
  background: rgba(30, 41, 59, 0.5);
  padding: 15px 20px;
  border-radius: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.history-item:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.history-info strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.history-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Chat Navigation Bar */
.chat-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.7rem;
  gap: 5px;
  flex: 1;
}

.nav-item i {
  font-size: 1.3rem;
}

.nav-item.active {
  color: #6366f1;
}

.nav-item:hover {
  color: #fff;
}

/* Mobile Optimizations */
@media (max-width: 576px) {
  .live-chat-widget {
    bottom: 15px !important;
    right: 15px !important;
    left: 15px !important;
    width: auto !important;
  }
  .chat-container {
    width: calc(100% - 30px) !important;
    height: 550px !important;
    max-height: 85vh !important;
    position: fixed !important;
    bottom: 20px !important; /* Move it down since toggle is hidden */
    right: 15px !important;
    left: 15px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  }
  .chat-header {
    padding: 15px 20px !important;
  }
  .chat-body {
    padding: 12px 15px !important;
  }
  .chat-container .section-title {
    font-size: 0.7rem !important;
    padding: 6px 10px !important;
    margin-bottom: 15px !important;
  }
  .chat-nav {
    padding: 8px 10px !important;
    height: 60px !important;
  }
  .nav-item i {
    font-size: 1.1rem !important;
  }
  .nav-item span {
    font-size: 0.65rem !important;
  }
  /* Hide specific elements on mobile if needed */
  .chat-footer {
    padding: 15px 15px 12px !important;
  }
  .chat-input-tidio {
    padding: 10px 50px 10px 12px !important;
    font-size: 0.85rem !important;
  }
  .floating-send {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================
   Partners / Marquee Section
   ========================================== */
.partner-marquee-wrapper {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
    padding: 20px 0 !important;
    margin: 40px 0 !important;
    min-height: 120px !important;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partner-marquee-container {
    display: flex !important;
    gap: 50px !important;
    width: max-content !important;
    height: 90px !important;
    animation: partner-marquee-slide 30s linear infinite;
    align-items: center !important;
}

.partner-marquee-container:hover {
    animation-play-state: paused;
}

@keyframes partner-marquee-slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-marquee-item {
    flex-shrink: 0 !important;
    width: 200px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partner-card {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.partner-card:hover {
    transform: scale(1.15) !important;
}

.partner-logo-img {
    max-height: 75px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.partner-card:hover .partner-logo-img {
    opacity: 1 !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) !important;
}

.partner-name-fallback {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s !important;
}

.partner-card:hover .partner-name-fallback {
    opacity: 1 !important;
}
