/* ============ Base ============ */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ============ Navbar ============ */
#navbar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgb(241, 245, 249);
  box-shadow: 0 4px 30px -10px rgba(15, 38, 71, 0.08);
}

.nav-link {
  position: relative;
  padding: 6px 2px;
  color: rgb(51, 65, 85);
  transition: color 0.2s;
}
.nav-link:hover { color: rgb(37, 99, 235); }
.nav-link.active { color: rgb(7, 26, 51); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #3B82F6, #6366F1);
  border-radius: 2px;
}

/* ============ Buttons ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.5);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1.5px solid rgb(226, 232, 240);
  color: rgb(15, 38, 71);
  font-weight: 600;
  font-size: 14px;
  background: white;
  transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: rgb(59, 130, 246);
  color: rgb(37, 99, 235);
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  background: white;
  color: rgb(7, 26, 51);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* ============ Background patterns ============ */
.dot-grid {
  background-image: radial-gradient(rgba(37, 99, 235, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dot-grid-light {
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 24px 24px;
}
.grid-bg-dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============ Floating animation ============ */
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}
.floating-card-1 { animation: float1 6s ease-in-out infinite; }
.floating-card-2 { animation: float2 7s ease-in-out infinite; }

/* ============ Logo tiles ============ */
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: rgb(100, 116, 139);
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 12px;
  background: white;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.25s;
  text-align: center;
  padding: 0 12px;
}
.logo-tile:hover {
  color: rgb(15, 38, 71);
  border-color: rgb(219, 234, 254);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -15px rgba(15, 38, 71, 0.15);
}

/* ============ Service cards (with images) ============ */
.service-card {
  position: relative;
  background: white;
  border-radius: 20px;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #6366F1, #8B5CF6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 3;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgb(219, 234, 254);
  box-shadow: 0 30px 70px -25px rgba(37, 99, 235, 0.35);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0E7FF 100%);
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}
.service-card:hover .service-card-image img {
  transform: scale(1.12);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 38, 71, 0.55) 0%, rgba(37, 99, 235, 0.35) 60%, rgba(99, 102, 241, 0.25) 100%);
  transition: opacity 0.4s ease;
  z-index: 1;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(135deg, rgba(15, 38, 71, 0.35) 0%, rgba(37, 99, 235, 0.2) 60%, rgba(99, 102, 241, 0.15) 100%);
}

.service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: rgb(7, 26, 51);
  margin-bottom: 10px;
  transition: color 0.25s;
}
.service-card:hover h3 { color: rgb(37, 99, 235); }
.service-card p {
  color: rgb(71, 85, 105);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

/* Icon now overlaps the image */
.service-card-image .service-icon {
  position: absolute;
  bottom: -22px;
  left: 24px;
  z-index: 2;
  margin-bottom: 0;
  box-shadow: 0 12px 30px -10px rgba(15, 38, 71, 0.35);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08) translateY(-4px);
  box-shadow: 0 18px 35px -10px rgba(37, 99, 235, 0.55);
}

.service-card-body { padding-top: 36px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(37, 99, 235);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.25s, color 0.25s;
  margin-top: auto;
}
.service-link:hover { gap: 12px; color: rgb(29, 78, 216); }
.service-card:hover .service-link { gap: 10px; }

@media (max-width: 640px) {
  .service-card-image { aspect-ratio: 16 / 10; }
}

/* ============ Flagship service card ============ */
.service-card-flagship {
  border-color: rgb(219, 234, 254);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  position: relative;
}
.service-card-flagship::before {
  background: linear-gradient(90deg, #2563EB, #6366F1, #8B5CF6);
  transform: scaleX(1);
  height: 4px;
}
.flagship-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB, #6366F1);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.5);
}

/* ============ BI feature list ============ */
.bi-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: white;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.25s;
}
.bi-feature:hover {
  border-color: rgb(219, 234, 254);
  transform: translateX(4px);
  box-shadow: 0 12px 30px -15px rgba(37, 99, 235, 0.2);
}
.bi-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #EFF6FF, #E0E7FF);
  color: rgb(37, 99, 235);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bi-feature-icon svg { width: 18px; height: 18px; }
.bi-feature h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgb(7, 26, 51);
  margin-bottom: 2px;
}
.bi-feature p {
  font-size: 0.85rem;
  color: rgb(71, 85, 105);
  line-height: 1.5;
}

/* ============ AI section feature list ============ */
.ai-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}
.ai-feature:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(59,130,246,0.3);
  transform: translateX(4px);
}
.ai-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-feature-icon svg { width: 20px; height: 20px; }
.ai-feature h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}
.ai-feature p {
  color: rgb(148, 163, 184);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* ============ ROI slider ============ */
.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #2563EB var(--p, 30%), #E2E8F0 var(--p, 30%));
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid #2563EB;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s;
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid #2563EB;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* ============ Process cards ============ */
.process-card {
  position: relative;
  padding: 32px;
  background: white;
  border-radius: 20px;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.3s;
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: rgb(219, 234, 254);
  box-shadow: 0 25px 50px -25px rgba(37, 99, 235, 0.2);
}
.process-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  background: linear-gradient(135deg, #DBEAFE 0%, #C7D2FE 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 20px;
}
.process-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: rgb(7, 26, 51);
  margin-bottom: 10px;
}
.process-card p {
  color: rgb(71, 85, 105);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ Testimonials ============ */
.testimonial {
  background: white;
  border-radius: 20px;
  border: 1px solid rgb(241, 245, 249);
  padding: 32px;
  transition: all 0.3s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px -25px rgba(37, 99, 235, 0.2);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial p {
  color: rgb(51, 65, 85);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============ FAQ ============ */
.faq-item {
  background: white;
  border: 1px solid rgb(241, 245, 249);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}
.faq-item[open] {
  border-color: rgb(219, 234, 254);
  box-shadow: 0 15px 35px -15px rgba(37, 99, 235, 0.15);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: rgb(7, 26, 51);
  font-size: 1rem;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: rgb(37, 99, 235); }
.faq-icon {
  width: 20px; height: 20px;
  color: rgb(100, 116, 139);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: rgb(37, 99, 235);
}
.faq-item p {
  padding: 0 24px 22px;
  color: rgb(71, 85, 105);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ============ Footer ============ */
.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: rgb(148, 163, 184);
}
.footer-links a {
  color: rgb(148, 163, 184);
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgb(148, 163, 184);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.social-link:hover {
  background: rgb(37, 99, 235);
  color: white;
  border-color: rgb(37, 99, 235);
  transform: translateY(-2px);
}

/* ============ Chatbot ============ */
.chat-bot-msg {
  background: white;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 0.875rem;
  color: rgb(51, 65, 85);
  line-height: 1.5;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(15, 38, 71, 0.05);
}
.chat-user-msg {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: white;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 90%;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.chat-suggestion {
  padding: 6px 12px;
  border-radius: 20px;
  background: white;
  border: 1px solid rgb(219, 234, 254);
  color: rgb(37, 99, 235);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-suggestion:hover {
  background: rgb(37, 99, 235);
  color: white;
}

/* ============ Page hero (used on inner pages) ============ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, #EFF6FF 0%, white 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }

/* ============ Form fields ============ */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgb(226, 232, 240);
  background: white;
  font-size: 0.95rem;
  color: rgb(15, 38, 71);
  transition: all 0.2s;
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: rgb(59, 130, 246);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-label {
  display: block;
  font-weight: 600;
  color: rgb(15, 38, 71);
  font-size: 0.875rem;
  margin-bottom: 6px;
}

/* ============ Team cards ============ */
.team-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgb(241, 245, 249);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgb(219, 234, 254);
  box-shadow: 0 25px 60px -25px rgba(37, 99, 235, 0.2);
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #2563EB, #6366F1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

/* ============ Values cards (about page) ============ */
.value-card {
  padding: 32px;
  background: white;
  border-radius: 20px;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.3s;
}
.value-card:hover {
  border-color: rgb(219, 234, 254);
  box-shadow: 0 20px 50px -25px rgba(37, 99, 235, 0.2);
}
.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF, #E0E7FF);
  color: rgb(37, 99, 235);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ============ Service detail block (services page) ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgb(241, 245, 249);
}
@media (min-width: 1024px) {
  .service-detail { grid-template-columns: 1fr 1.5fr; gap: 60px; }
}
.service-detail-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  box-shadow: 0 12px 30px -10px rgba(15, 38, 71, 0.25);
}
.service-detail-icon svg { width: 36px; height: 36px; }
.service-detail:hover .service-detail-icon {
  transform: rotate(-8deg) scale(1.06) translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.5);
}

/* ============ Service detail image (services page) ============ */
.service-detail-image {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 25px 50px -25px rgba(15, 38, 71, 0.25);
  background: linear-gradient(135deg, #EFF6FF 0%, #E0E7FF 100%);
}
.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-detail-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 38, 71, 0.25) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 100%);
  transition: opacity 0.4s ease;
}
.service-detail:hover .service-detail-image img {
  transform: scale(1.08);
}
.service-detail:hover .service-detail-image-overlay {
  opacity: 0.7;
}

/* Icon overlaps the bottom-left of the image */
.service-detail-image + .service-detail-icon {
  margin-top: -56px;
  margin-left: 12px;
  position: relative;
  z-index: 2;
  border: 4px solid white;
  width: 80px;
  height: 80px;
}
.service-detail-image + .service-detail-icon svg { width: 32px; height: 32px; }

/* KPI row subtle hover */
.kpi-row { transition: all 0.25s; }
.kpi-row:hover {
  border-color: rgb(219, 234, 254);
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
  transform: translateX(4px);
}

/* Feature grid items hover */
.feature-grid li { transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.feature-grid li:hover {
  border-color: rgb(147, 197, 253);
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -12px rgba(37, 99, 235, 0.25);
}

/* Enhanced button hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-ghost:hover, .btn-white:hover, .btn-outline-white:hover {
  transform: translateY(-3px);
}

/* Testimonial enhanced hover */
.testimonial {
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #6366F1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.testimonial:hover::before { transform: scaleX(1); }
.testimonial:hover .testimonial-avatar { transform: scale(1.08) rotate(-4deg); }
.testimonial-avatar { transition: transform 0.3s; }

/* Process card hover effect — number scales */
.process-num { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.process-card:hover .process-num {
  transform: scale(1.12) translateX(-4px);
}

/* Image fade-in on load */
img[loading="lazy"] {
  transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Logo tile hover already exists — enhance */
.logo-tile { transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.logo-tile:hover {
  transform: translateY(-4px) scale(1.03);
}

/* AOS image reveal */
.service-card-image img, .service-detail-image img {
  will-change: transform;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .service-card, .process-card, .testimonial { padding: 24px; }
}

/* ============ Smooth scroll offset for fixed nav ============ */
[id] { scroll-margin-top: 100px; }

/* ============ News Ticker ============ */
.news-ticker {
  background: linear-gradient(90deg, #071A33 0%, #0F2647 50%, #1E3A66 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.news-ticker::before,
.news-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.news-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #071A33 0%, transparent 100%);
}
.news-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #1E3A66 0%, transparent 100%);
}
.news-ticker-inner {
  display: flex;
  align-items: center;
  height: 48px;
}
.news-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 100%;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
  position: relative;
  flex-shrink: 0;
  box-shadow: 8px 0 20px -8px rgba(0,0,0,0.4);
}
.news-ticker-label::after {
  content: '';
  position: absolute;
  top: 0; right: -12px;
  width: 0; height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 12px solid #4F46E5;
}
.news-ticker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
  animation: ticker-pulse 1.6s infinite;
}
@keyframes ticker-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}
.news-ticker-track {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}
.news-ticker-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.news-ticker-track:hover .news-ticker-content {
  animation-play-state: paused;
}
.news-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(226, 232, 240);
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}
.news-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}
.news-tag.tag-sap      { background: rgba(37, 99, 235, 0.2); border-color: rgba(96, 165, 250, 0.4); color: #93C5FD; }
.news-tag.tag-fbr      { background: rgba(245, 158, 11, 0.2); border-color: rgba(252, 211, 77, 0.4); color: #FCD34D; }
.news-tag.tag-ai       { background: rgba(139, 92, 246, 0.2); border-color: rgba(196, 181, 253, 0.4); color: #C4B5FD; }
.news-tag.tag-erp      { background: rgba(16, 185, 129, 0.2); border-color: rgba(110, 231, 183, 0.4); color: #6EE7B7; }
.news-tag.tag-bi       { background: rgba(14, 165, 233, 0.2); border-color: rgba(125, 211, 252, 0.4); color: #7DD3FC; }
.news-tag.tag-mobile   { background: rgba(236, 72, 153, 0.2); border-color: rgba(251, 207, 232, 0.4); color: #F9A8D4; }
.news-tag.tag-security { background: rgba(244, 63, 94, 0.2); border-color: rgba(253, 164, 175, 0.4); color: #FDA4AF; }
.news-tag.tag-cloud    { background: rgba(99, 102, 241, 0.2); border-color: rgba(165, 180, 252, 0.4); color: #A5B4FC; }

@media (max-width: 640px) {
  .news-ticker-label span:last-child { display: none; }
  .news-ticker-label { padding: 0 12px; }
  .news-ticker::before, .news-ticker::after { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-content { animation-duration: 180s; }
}

/* ============ Add-on cards (Next Suite) ============ */
.addon-card {
  position: relative;
  padding: 32px;
  background: white;
  border-radius: 20px;
  border: 1px solid rgb(241, 245, 249);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.addon-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.addon-card:hover {
  transform: translateY(-6px);
  border-color: rgb(219, 234, 254);
  box-shadow: 0 25px 60px -25px rgba(37, 99, 235, 0.25);
}
.addon-card:hover::after { opacity: 1; }
.addon-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.addon-icon svg { width: 28px; height: 28px; }
.addon-card:hover .addon-icon { transform: rotate(-6deg) scale(1.05); }
.addon-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #EFF6FF;
  color: #1D4ED8;
  margin-bottom: 8px;
  align-self: flex-start;
}
.addon-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: rgb(7, 26, 51);
  margin-bottom: 4px;
}
.addon-tagline {
  color: rgb(37, 99, 235);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.addon-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}
.addon-bullets li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: rgb(71, 85, 105);
  font-size: 0.9rem;
  line-height: 1.5;
}
.addon-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 14px; height: 8px;
  border-left: 2px solid #2563EB;
  border-bottom: 2px solid #2563EB;
  transform: rotate(-45deg);
}
.addon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(37, 99, 235);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: gap 0.2s;
}
.addon-link:hover { gap: 10px; }
.addon-card-custom {
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  border-color: rgb(219, 234, 254);
  border-style: dashed;
}

/* ============ SAP B1 Support & Training block (nested under SAP B1) ============ */
.sap-services-block {
  margin-top: 32px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #F0F9FF 0%, #F5F3FF 100%);
  border: 1px solid rgb(186, 230, 253);
}
@media (max-width: 768px) { .sap-services-block { padding: 28px 20px; } }

.sap-sub-card {
  position: relative;
  background: white;
  border: 1px solid rgb(241, 245, 249);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.sap-sub-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.sap-sub-card:hover {
  transform: translateY(-6px);
  border-color: rgb(186, 230, 253);
  box-shadow: 0 30px 60px -25px rgba(14, 165, 233, 0.3);
}
.sap-sub-card:hover::after { opacity: 1; }

.sap-sub-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.sap-sub-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sap-sub-icon svg { width: 26px; height: 26px; }
.sap-sub-card:hover .sap-sub-icon {
  transform: rotate(-6deg) scale(1.08);
}
.sap-sub-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sap-sub-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: rgb(7, 26, 51);
  line-height: 1.2;
  transition: color 0.25s;
}
.sap-sub-card:hover h4 { color: rgb(14, 165, 233); }
.sap-sub-tagline {
  color: rgb(37, 99, 235);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.sap-sub-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.sap-sub-bullets li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: rgb(71, 85, 105);
  font-size: 0.9rem;
  line-height: 1.5;
}
.sap-sub-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 7px;
  border-left: 2px solid #0EA5E9;
  border-bottom: 2px solid #0EA5E9;
  transform: rotate(-45deg);
}
.sap-sub-bullets.compact li { padding: 3px 0 3px 20px; font-size: 0.85rem; }
.sap-sub-bullets.compact li::before { border-color: #8B5CF6; }
.sap-training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (min-width: 540px) { .sap-training-grid { grid-template-columns: 1fr 1fr; } }
.sap-training-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(109, 40, 217);
  padding-bottom: 6px;
  border-bottom: 2px solid rgb(196, 181, 253);
  margin-bottom: 6px;
}

/* ============ Next Suite block (nested under SAP B1 on services page) ============ */
.next-suite-block {
  margin-top: 32px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #F8FBFF 0%, #F5F3FF 100%);
  border: 1px solid rgb(219, 234, 254);
}
@media (max-width: 768px) { .next-suite-block { padding: 28px 20px; } }

.next-suite-header { max-width: 720px; }
.next-suite-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: white;
  color: rgb(37, 99, 235);
  border: 1px solid rgb(219, 234, 254);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.addon-mini {
  position: relative;
  background: white;
  border: 1px solid rgb(241, 245, 249);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.addon-mini::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.addon-mini:hover {
  transform: translateY(-6px);
  border-color: rgb(147, 197, 253);
  box-shadow: 0 25px 50px -20px rgba(37, 99, 235, 0.3);
}
.addon-mini:hover::after { opacity: 1; }
.addon-mini-icon { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.addon-mini:hover .addon-mini-icon { transform: rotate(-6deg) scale(1.1); }
.addon-mini:hover h4 { color: rgb(37, 99, 235); }
.addon-mini h4 { transition: color 0.25s; }
.addon-mini-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.addon-mini-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.addon-mini-icon svg { width: 22px; height: 22px; }
.addon-mini-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.addon-mini h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgb(7, 26, 51);
  line-height: 1.2;
}
.addon-mini-tagline {
  color: rgb(37, 99, 235);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.addon-mini-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.addon-mini-bullets li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 0.85rem;
  color: rgb(71, 85, 105);
  line-height: 1.5;
}
.addon-mini-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 6px;
  border-left: 2px solid #2563EB;
  border-bottom: 2px solid #2563EB;
  transform: rotate(-45deg);
}
.addon-mini-custom {
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  border-style: dashed;
  border-color: rgb(147, 197, 253);
}

/* ============ Add-on detail block (Services page) ============ */
.addon-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 56px 0;
  border-bottom: 1px solid rgb(241, 245, 249);
}
@media (min-width: 1024px) {
  .addon-detail { grid-template-columns: 1.1fr 1.4fr; gap: 60px; }
}
.addon-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.addon-detail-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.addon-detail-icon svg { width: 30px; height: 30px; }
.addon-detail h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: rgb(7, 26, 51);
  line-height: 1.1;
}
.addon-detail .meta {
  font-size: 0.875rem;
  color: rgb(37, 99, 235);
  font-weight: 600;
  margin-top: 2px;
}
.addon-detail .lead {
  color: rgb(71, 85, 105);
  line-height: 1.65;
  font-size: 1rem;
  margin-bottom: 20px;
}
.addon-problem {
  padding: 18px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  border: 1px solid rgb(219, 234, 254);
  border-radius: 14px;
}
.addon-problem-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(37, 99, 235);
  margin-bottom: 6px;
}
.addon-problem-text {
  color: rgb(15, 38, 71);
  font-weight: 500;
  line-height: 1.55;
  font-size: 0.95rem;
}
