:root {
  --navy: #0a1628;
  --navy-light: #111d35;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --orange: #f97316;
  --green: #25d366;
  --green-dark: #128c7e;
  --teal: #14b8a6;
}

* { font-family: 'Inter', sans-serif; }

html { scroll-behavior: smooth; }

body { overflow-x: hidden; }

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========== NAVBAR ========== */
.navbar-custom {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 1px 10px rgba(0,0,0,.06);
  transition: padding 0.3s, box-shadow 0.3s;
}
.navbar-custom.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar-brand .brand-name {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.1;
}
.navbar-brand .brand-tagline {
  font-size: .65rem;
  color: #64748b;
  letter-spacing: .5px;
}
.nav-link-custom {
  color: #334155 !important;
  font-weight: 500;
  font-size: .9rem;
  padding: 8px 14px !important;
  position: relative;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s, left 0.3s;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 60%;
  left: 20%;
}
.nav-link-custom:hover { color: var(--blue) !important; }
.phone-link {
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.phone-link i { color: var(--blue); }
.btn-consult {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  padding: 10px 22px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,.4);
  color: #fff;
}

/* ========== HERO ========== */
.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #111d35 50%, #0f1a2e 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
  animation: floatSlow 8s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: #3b82f6; top: -100px; right: -100px; }
.hero-orb-2 { width: 300px; height: 300px; background: #8b5cf6; bottom: -50px; left: -80px; animation-delay: 2s; }
.hero-orb-3 { width: 200px; height: 200px; background: #ec4899; top: 40%; left: 40%; animation-delay: 4s; opacity: .2; }
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 8px 18px;
  color: #e2e8f0;
  font-size: .82rem;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}
.hero-badge i { color: #fbbf24; }
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title .text-blue { color: #60a5fa; }
.hero-title .text-pink { color: #f472b6; }
.hero-title .text-orange { color: #fb923c; }
.hero-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 32px;
}
.hero-stat-item { text-align: center; }
.hero-stat-item .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.hero-stat-item .stat-label {
  font-size: .72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-stat-item i {
  font-size: 1.2rem;
  margin-bottom: 4px;
  display: block;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  background-size: 200% auto;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139,92,246,.4);
  color: #fff;
  animation: shine 2s linear infinite;
}
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  background: transparent;
  font-size: .95rem;
  transition: all 0.3s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.trust-avatars { display: flex; }
.trust-avatars .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -8px;
}
.trust-avatars .avatar:first-child { margin-left: 0; }
.trust-text { color: #94a3b8; font-size: .82rem; }
.trust-text .stars { color: #fbbf24; }

/* Hero mockups */
.hero-mockups {
  position: relative;
  height: 420px;
  animation: scaleIn 1s ease 0.3s both;
}
.mockup-laptop {
  position: absolute;
  right: 0;
  top: 20px;
  width: 340px;
  background: #1e293b;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
  animation: floatSlow 5s ease-in-out infinite;
}
.mockup-laptop-screen {
  background: linear-gradient(135deg, #1e3a5f, #0f2744);
  border-radius: 6px;
  height: 200px;
  padding: 10px;
}
.mockup-laptop-screen .dashboard-mock {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 10px;
}
.mockup-phone {
  position: absolute;
  left: 20px;
  top: 60px;
  width: 120px;
  background: #1e293b;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.mockup-phone-screen {
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  border-radius: 14px;
  height: 200px;
}
.mockup-tablet {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 180px;
  background: #1e293b;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  z-index: 3;
  animation: float 4.5s ease-in-out infinite 0.5s;
}
.mockup-tablet-screen {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 8px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}
.float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  animation: float 3s ease-in-out infinite;
}
.float-code { background: #3b82f6; color: #fff; top: 0; right: 120px; }
.float-flutter {
  background: #fff;
  bottom: 80px;
  left: 0;
  color: #54C5F8;
  font-weight: 800;
  animation-delay: 1s;
}

/* ========== SECTIONS ========== */
.section-label {
  color: var(--blue);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
}

/* Services */
.services-section { padding: 80px 0; background: #f8fafc; }
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  border-top: 4px solid;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.service-card.border-blue { border-color: var(--blue); }
.service-card.border-purple { border-color: var(--purple); }
.service-card.border-orange { border-color: var(--orange); }
.service-card.border-green { border-color: #22c55e; }
.service-card.border-navy { border-color: var(--navy); }
.service-card.border-pink { border-color: var(--pink); }
.service-card.border-teal { border-color: var(--teal); }
.service-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--navy);
}
.service-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.service-card ul li {
  font-size: .82rem;
  color: #64748b;
  padding: 4px 0 4px 16px;
  position: relative;
}
.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-top: auto;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-icon.bg-blue { background: rgba(59,130,246,.12); color: var(--blue); }
.service-icon.bg-purple { background: rgba(139,92,246,.12); color: var(--purple); }
.service-icon.bg-orange { background: rgba(249,115,22,.12); color: var(--orange); }
.service-icon.bg-green { background: rgba(34,197,94,.12); color: #22c55e; }
.service-icon.bg-navy { background: rgba(10,22,40,.12); color: var(--navy); }
.service-icon.bg-pink { background: rgba(236,72,153,.12); color: var(--pink); }
.service-icon.bg-teal { background: rgba(20,184,166,.12); color: var(--teal); }

/* Industries */
.industries-section { padding: 60px 0 80px; }
.industry-item { text-align: center; padding: 16px 8px; cursor: pointer; }
.industry-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.5rem;
  background: #f1f5f9;
  color: var(--navy);
  transition: all 0.35s ease;
}
.industry-item:hover .industry-icon {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 25px rgba(59,130,246,.3);
}
.industry-item span { font-size: .78rem; font-weight: 600; color: #475569; }

/* Process */
.process-section { padding: 80px 0; background: #f8fafc; }
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
  gap: 20px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed #cbd5e1;
  z-index: 0;
}
.process-step {
  text-align: center;
  flex: 1;
  min-width: 130px;
  position: relative;
  z-index: 1;
}
.process-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: transform 0.3s;
}
.process-step:hover .process-circle { transform: scale(1.12); }
.process-step h6 {
  font-weight: 700;
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.process-step p { font-size: .72rem; color: #64748b; margin: 0; }
.process-num {
  font-size: .7rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* Portfolio + Form */
.portfolio-form-section { padding: 80px 0; background: #fff; }
.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  min-width: 280px;
  background: #fff;
  transition: transform 0.35s, box-shadow 0.35s;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.portfolio-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
}
.portfolio-card-body { padding: 20px; }
.portfolio-card-body h6 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.portfolio-tag {
  display: inline-block;
  background: rgba(59,130,246,.1);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.portfolio-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.btn-view-all {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s;
}
.btn-view-all:hover { background: var(--navy); color: #fff; }

/* Side consultation form */
.consult-form-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(0,0,0,.12);
  height: 100%;
}
.consult-form-header {
  background: linear-gradient(135deg, #8b5cf6, #6366f1, #3b82f6);
  padding: 24px 28px;
  color: #fff;
}
.consult-form-header h4 {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.consult-form-header p {
  font-size: .85rem;
  opacity: .9;
  margin: 0;
}
.consult-form-body { padding: 28px; }
.consult-form-body .form-control,
.consult-form-body .form-select {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.consult-form-body .form-control:focus,
.consult-form-body .form-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.btn-schedule {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 14px;
  border-radius: 10px;
  width: 100%;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-schedule:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,92,246,.4);
  color: #fff;
}
.form-footer-text {
  text-align: center;
  font-size: .78rem;
  color: #64748b;
  margin-top: 12px;
}

/* Stats ribbon */
.stats-ribbon {
  background: linear-gradient(135deg, #1e3a5f, #312e81, #1e1b4b);
  padding: 45px 0;
}
.stats-ribbon-item {
  text-align: center;
  color: #fff;
  transition: transform 0.3s;
}
.stats-ribbon-item:hover { transform: translateY(-4px); }
.stats-ribbon-item i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  opacity: .9;
}
.stats-ribbon-item .num {
  font-size: 1.6rem;
  font-weight: 800;
}
.stats-ribbon-item .label { font-size: .75rem; opacity: .8; }

/* Testimonials */
.testimonial-section { padding: 80px 0; background: #f8fafc; }
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  height: 100%;
  transition: transform 0.35s, box-shadow 0.35s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,.1);
}
.testimonial-card .quote-icon {
  color: var(--blue);
  font-size: 2rem;
  opacity: .3;
  margin-bottom: 12px;
}
.testimonial-card p {
  color: #475569;
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author h6 {
  font-weight: 700;
  font-size: .9rem;
  margin: 0;
  color: var(--navy);
}
.testimonial-author small { color: #64748b; font-size: .78rem; }
.stars { color: #fbbf24; font-size: .85rem; }

/* ========== BOTTOM FOOTER CTA (Green Form) ========== */
.footer-cta-bar {
  background: linear-gradient(135deg, #0a1628 0%, #0f2744 50%, #1a1a4e 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.footer-cta-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(37,211,102,.08) 0%, transparent 50%);
  pointer-events: none;
}
.footer-cta-text h3 {
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 8px;
}
.footer-cta-text p {
  color: #94a3b8;
  font-size: .9rem;
  margin: 0;
}
.footer-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.footer-guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: .82rem;
  font-weight: 500;
}
.footer-guarantee-item i {
  color: #22c55e;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Green contact form box */
.footer-contact-box {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.1);
}
.footer-contact-header {
  background: rgba(0,0,0,.15);
  padding: 14px 20px;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-header i { color: #fbbf24; }
.footer-contact-body { padding: 20px; }
.footer-contact-body .form-control,
.footer-contact-body .form-select {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .85rem;
  background: rgba(255,255,255,.95);
}
.footer-contact-body .form-control:focus,
.footer-contact-body .form-select:focus {
  box-shadow: 0 0 0 3px rgba(37,211,102,.3);
}
.footer-contact-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.btn-whatsapp {
  flex: 1;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-green 2s infinite;
  text-decoration: none;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,.5);
  color: #fff;
}
.btn-call-now {
  flex: 1;
  background: #fff;
  border: none;
  color: var(--navy);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-call-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,.3);
  color: var(--navy);
}

/* Copyright footer */
.site-footer {
  background: #060d18;
  padding: 20px 0;
  text-align: center;
  color: #64748b;
  font-size: .82rem;
}
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ========== CHAT WIDGET (Bottom Right) ========== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* Chat window */
.chat-window {
  width: 380px;
  max-width: calc(100vw - 32px);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.18),
    0 8px 24px rgba(99, 102, 241, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transform: translateY(24px) scale(0.92);
  transform-origin: bottom right;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: transform, opacity;
}
.chat-widget.is-open .chat-window {
  max-height: 560px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.chat-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 55%);
  pointer-events: none;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.chat-header-info strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
}
.chat-status {
  font-size: .72rem;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-status i {
  font-size: .45rem;
  color: #4ade80;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.chat-btn-minimize {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-btn-minimize:hover { background: rgba(255,255,255,.3); }

.chat-body {
  padding: 14px 16px;
  overflow-y: auto;
  flex: 1;
  max-height: 420px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  scroll-behavior: smooth;
}
.chat-widget.is-form-step-2 .chat-body {
  max-height: 400px;
}
.chat-widget.is-form-step-2 #chatWelcome {
  display: none;
}
.chat-message { margin-bottom: 10px; }
.chat-message-bot { display: flex; flex-direction: column; align-items: flex-start; }
.chat-widget.is-open .chat-message-bot {
  animation: chatBubbleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes chatBubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-bubble {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 6px 18px 18px 18px;
  padding: 14px 16px;
  font-size: .86rem;
  color: #334155;
  line-height: 1.6;
  max-width: 92%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.chat-time {
  font-size: .65rem;
  color: #94a3b8;
  margin-top: 4px;
  margin-left: 4px;
}

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

.chat-form-step {
  display: none;
  flex-direction: column;
  gap: 8px;
}
.chat-form-step.is-active {
  display: flex;
}
.chat-form-step.is-forward {
  animation: chatStepForward 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.chat-form-step.is-back {
  animation: chatStepBack 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes chatStepForward {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes chatStepBack {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.chat-step-title {
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 2px;
  line-height: 1.4;
}

/* Floating label fields */
.float-field {
  position: relative;
}
.float-field .form-control,
.float-field .form-select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 16px 12px 6px;
  font-size: .86rem;
  background: #fff;
  min-height: 46px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.float-field textarea.form-control {
  padding: 10px 12px;
  min-height: 64px;
  resize: none;
}
.float-field-plain textarea.form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-size: .84rem;
}
.float-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .84rem;
  font-weight: 500;
  color: #94a3b8;
  pointer-events: none;
  transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  line-height: 1;
  z-index: 1;
}
.float-field .form-control:focus,
.float-field .form-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  outline: none;
}
.float-field .form-control:focus ~ .float-label,
.float-field .form-control:not(:placeholder-shown) ~ .float-label,
.float-field.is-focused .float-label,
.float-field.has-value .float-label {
  top: 9px;
  transform: translateY(0);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8b5cf6;
}
.float-field .form-select {
  padding-top: 16px;
  padding-bottom: 6px;
  color: #334155;
}
.float-field .form-select option[disabled] {
  color: #94a3b8;
}
.float-field .field-error {
  font-size: .68rem;
  color: #ef4444;
  margin-top: 3px;
  min-height: 0;
  padding-left: 2px;
  font-weight: 500;
}
.float-field .form-control.is-invalid,
.float-field .form-select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  animation: fieldShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
.chat-form-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.chat-btn-back {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.chat-btn-back:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--navy);
  transform: translateX(-2px);
}
.chat-btn-back:active {
  transform: translateX(0) scale(0.98);
}
.chat-form-actions .chat-submit {
  flex: 1;
  margin: 0;
}
.chat-submit {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.chat-form .form-control.is-invalid,
.chat-form .form-select.is-invalid {
  animation: fieldShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes fieldShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}
.chat-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.chat-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.42);
}
.chat-submit:hover::after {
  transform: translateX(120%);
}
.chat-submit:active {
  transform: translateY(0) scale(0.98);
}
.chat-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Form validation & alerts */
.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 4px;
}
.form-alert.show {
  display: flex;
  animation: alertSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes alertSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-alert i { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.form-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-alert-success i { color: #10b981; }
.form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.form-alert-error i { color: #ef4444; }
.chat-form .form-control.is-invalid,
.chat-form .form-select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.field-error {
  font-size: .68rem;
  color: #ef4444;
  margin-top: 3px;
  min-height: 0;
  font-weight: 500;
}

.chat-quick-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.chat-quick-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-quick-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}
.chat-quick-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.chat-quick-call {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--navy);
}
.chat-quick-call:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }

.chat-footer-note {
  text-align: center;
  font-size: .68rem;
  color: #94a3b8;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

/* Launcher button */
.chat-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 0;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 36px rgba(99, 102, 241, 0.45);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: chatPulse 3.5s ease-in-out infinite;
}
@keyframes chatPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 36px rgba(99, 102, 241, 0.45); }
  50% { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(99, 102, 241, 0.55); }
}
.chat-widget.is-open .chat-launcher {
  animation: none;
  transform: scale(0.96);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
}
.chat-launcher:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}
.chat-widget.is-open .chat-launcher:hover {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .chat-window,
  .chat-form-step,
  .chat-message-bot,
  .form-alert.show,
  .chat-launcher,
  .chat-form .form-control.is-invalid {
    animation: none !important;
    transition: none !important;
  }
}

.chat-launcher-open,
.chat-launcher-close {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.chat-launcher-close { display: none; font-size: 1.2rem; }
.chat-widget.is-open .chat-launcher-open { display: none; }
.chat-widget.is-open .chat-launcher-close { display: flex; }

.chat-launcher-label {
  font-weight: 700;
  font-size: .88rem;
  padding-right: 20px;
  white-space: nowrap;
}
.chat-widget.is-open .chat-launcher-label { display: none; }

.chat-launcher-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: pulse-badge 2s infinite;
}
.chat-widget.is-open .chat-launcher-badge { display: none; }
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--purple);
  transform: translateY(-3px);
}
.chat-widget.is-open ~ .back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-window { width: calc(100vw - 32px); }
  .chat-body { max-height: 55vh; }
  .chat-widget.is-open .chat-window { max-height: 75vh; }
  .chat-launcher-label { font-size: .8rem; padding-right: 16px; }
  .back-to-top { bottom: 90px; right: 16px; }
}

.tech-marquee {
  background: var(--navy);
  padding: 18px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-content {
  display: flex;
  gap: 48px;
  padding: 0 24px;
  white-space: nowrap;
}
.marquee-content span {
  color: #94a3b8;
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.marquee-content span i { color: var(--blue); font-size: 1rem; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Why Choose Us */
.why-section {
  padding: 70px 0;
  background: #fff;
}
.why-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: all 0.35s ease;
}
.why-card:hover {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(59,130,246,.12);
  transform: translateY(-6px);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.why-card h6 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card p {
  font-size: .85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Portfolio CTA Banner */
.portfolio-cta-banner {
  background: linear-gradient(135deg, #0a1628, #1e1b4b);
  border-radius: 20px;
  padding: 4px;
  overflow: hidden;
}
.portfolio-cta-inner {
  background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(59,130,246,.1));
  border-radius: 18px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.portfolio-cta-inner h5 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 4px;
}
.portfolio-cta-inner p {
  color: #94a3b8;
  margin: 0;
  font-size: .9rem;
}

/* Footer action box */
.footer-action-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 28px;
}
.footer-action-text {
  color: #94a3b8;
  font-size: .9rem;
  margin-bottom: 16px;
}
.btn-footer-form {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-footer-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,92,246,.4);
  color: #fff;
}

@media (max-width: 991px) {
  .hero-title { font-size: 2rem; }
  .hero-mockups { height: 300px; margin-top: 40px; }
  .mockup-laptop { width: 260px; }
  .process-steps::before { display: none; }
  .section-title { font-size: 1.8rem; }
  .footer-guarantees { margin: 24px 0; }
}
@media (max-width: 767px) {
  .hero-stats { gap: 16px; }
  .hero-stat-item .stat-num { font-size: 1.2rem; }
  .footer-contact-buttons { flex-direction: column; }
  .footer-cta-text h3 { font-size: 1.25rem; }
}
.dipanshutech-logo {
    max-width: 210px;
}

.mockup-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mockup-laptop-screen img{
width: 100%;
    height: 100%;
object-fit: contain;
}
.mockup-laptop-screen {
overflow:hidden;
}