:root{
  --bg:            #ffffff;
  --bg-soft:       #f8fafc;
  --surface:       #ffffff;
  --surface-2:     #f8fafc;
  --border:        rgba(15,23,42,.09);
  --text:          #0f172a;
  --text-muted:    #64748b;
  --blue:          #2563eb;
  --blue-dark:     #1d4ed8;
  --green:         #10b981;
  --yellow:        #f59e0b;
  --red:           #ef4444;
  --gradient:      linear-gradient(135deg,#2563eb 0%,#10b981 100%);
  --gradient-soft: linear-gradient(135deg,rgba(37,99,235,.08),rgba(16,185,129,.08));
}

*{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
}

h1,h2,h3,h4,.font-display{
  font-family:'Plus Jakarta Sans',sans-serif;
}

::selection{ background:var(--blue); color:#fff; }

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--bg-soft); }
::-webkit-scrollbar-thumb{ background:#cbd5e1; border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:var(--blue); }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

.text-gradient{
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  font-weight:700;
  border-radius:16px;
  padding:1rem 2rem;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.96); }

.btn-primary{
  background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%);
  color:#fff;
  box-shadow:0 14px 30px -10px rgba(37,99,235,.45);
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px -10px rgba(37,99,235,.55);
}

.btn-outline{
  border:1px solid #e2e8f0;
  color:var(--text);
  background:#fff;
}
.btn-outline:hover{
  border-color:var(--blue);
  transform:translateY(-3px);
  background:#eff6ff;
  box-shadow:0 10px 24px -12px rgba(37,99,235,.3);
}

.glass{
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 1px 2px rgba(15,23,42,.03);
}

#navbar{ transition:background .4s ease, box-shadow .4s ease, padding .4s ease; }
#navbar.scrolled{
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(14px);
  box-shadow:0 8px 30px -18px rgba(15,23,42,.25);
  border-bottom:1px solid var(--border);
}
.nav-link{ position:relative; color:#334155 !important; }
.nav-link::after{
  content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0;
  background:var(--gradient); border-radius:2px; transition:width .3s ease;
}
.nav-link:hover::after{ width:100%; }

.hero-bg{
  position:absolute; inset:0; z-index:0; overflow:hidden;
  background:#ffffff;
}
.blob{
  position:absolute; border-radius:50%; filter:blur(100px); opacity:.16;
  animation:float-blob 16s ease-in-out infinite;
}
.blob-1{ width:560px; height:560px; background:var(--blue); top:-180px; left:-160px; }
.blob-2{ width:520px; height:520px; background:var(--green); bottom:-200px; right:-140px; animation-delay:-6s; }
.blob-3{ width:360px; height:360px; background:#8b5cf6; top:35%; left:55%; opacity:.10; animation-delay:-3s; }

@keyframes float-blob{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(40px,-30px) scale(1.08); }
  66%{ transform:translate(-30px,25px) scale(.95); }
}

.grid-overlay{
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(15,23,42,.035) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(15,23,42,.035) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 90%);
}

.pill{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.55rem 1.15rem; border-radius:999px;
  border:1px solid #dbeafe;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:.8rem; font-weight:600;
}
.pill .dot{ width:8px; height:8px; border-radius:50%; background:var(--green); animation:pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(1.4);} }

.check-item{ display:flex; align-items:center; gap:.6rem; }
.check-icon{
  flex-shrink:0; width:22px; height:22px; border-radius:50%;
  background:var(--gradient-soft); display:flex; align-items:center; justify-content:center;
  color:var(--green); font-size:.75rem;
}

.lead-form-card{
  position: relative;
  border-radius: 26px;
  background: #fff;
  padding: 20px;

  box-shadow: 0 30px 60px -30px rgba(15,23,42,.25);

  animation: card-in 1s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: .15s;
}

/* Gradient Border */
.lead-form-card::before{
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* border thickness */
  border-radius: 26px;

  background: linear-gradient(to bottom right, #ffffff, #2f9a8e, #2466e4);

  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* Animation */
@keyframes card-in{
  from{
    opacity: 0;
    transform: translateY(30px) scale(.97);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.field{
  width:100%;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:var(--text);
  border-radius:12px;
  padding:.85rem 1rem;
  font-size:.92rem;
  transition:border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.field::placeholder{ color:#94a3b8; }
.field:focus{
  outline:none;
  border-color:var(--blue);
  background:#fff;
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.field-label{ font-size:.78rem; font-weight:600; color:var(--text-muted); margin-bottom:.35rem; display:block; }
.field-error{ color:var(--red); font-size:.75rem; margin-top:.3rem; min-height:1em; }

/* ============================================================
   CUSTOM COUNTRY CODE DROPDOWN
   ============================================================ */

/* Remove old phone-field-wrap — replaced by phone-combo-wrap */
.phone-combo-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: visible;
  transition: border-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.phone-combo-wrap:focus-within {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* Country selector trigger button */
.country-select-wrap {
  position: relative;
  flex-shrink: 0;
}
.country-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px 0 12px;
  height: 100%;
  min-height: 48px;
  background: transparent;
  border: none;
  border-right: 1px solid #e2e8f0;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: #334155;
  transition: background .2s ease;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}
.country-trigger:hover { background: rgba(37,99,235,.06); }
.country-flag { font-size: 1.15rem; line-height: 1; }
.country-dial { color: #334155; font-weight: 700; font-size: .82rem; min-width: 34px; }
.country-chevron {
  width: 14px; height: 14px;
  color: #94a3b8;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.country-select-wrap.open .country-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.country-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  width: 280px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(15,23,42,.2);
  overflow: hidden;
  display: none;
  animation: dropdown-in .2s cubic-bezier(.22,1,.36,1);
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.country-select-wrap.open .country-dropdown { display: block; }

/* Search inside dropdown */
.country-search-wrap { padding: 10px 10px 6px; }
.country-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: .82rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease;
  box-sizing: border-box;
}
.country-search:focus { border-color: var(--blue); background: #fff; }

/* Country list */
.country-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 6px 8px;
}
.country-list::-webkit-scrollbar { width: 5px; }
.country-list::-webkit-scrollbar-track { background: transparent; }
.country-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s ease;
  font-size: .82rem;
}
.country-option:hover { background: rgba(37,99,235,.07); }
.country-option.active { background: rgba(37,99,235,.1); color: var(--blue); font-weight: 600; }
.country-option-flag { font-size: 1.1rem; flex-shrink: 0; }
.country-option-name { flex: 1; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-option-code { color: #94a3b8; font-weight: 600; font-size: .78rem; flex-shrink: 0; }

/* Phone number input inside combo */
.phone-number-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  border-radius: 0 12px 12px 0 !important;
  padding: .85rem 1rem !important;
  box-shadow: none !important;
  font-size: .92rem;
}
.phone-number-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Mobile: make dropdown full-width on small screens */
@media (max-width: 480px) {
  .country-dropdown { width: calc(100vw - 60px); left: 0; }
}


.float-chip{
  animation:float-y 5s ease-in-out infinite;
}
@keyframes float-y{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}

.marquee-wrap{
  overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee-track{
  display:flex; width:max-content;
  animation:marquee 32s linear infinite;
}
.marquee-track:hover{ animation-play-state:paused; }
@keyframes marquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

[data-reveal]{
  opacity:0; transform:translateY(24px);
  transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
[data-reveal].in-view{ opacity:1; transform:translateY(0); }

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:0 1px 3px rgba(15,23,42,.05);
  transition:transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease;
}
.card:hover{
  transform:translateY(-8px);
  border-color:rgba(37,99,235,.25);
  box-shadow:0 24px 45px -20px rgba(37,99,235,.22);
}

.card-dark{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  backdrop-filter:blur(6px);
  transition:transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease, border-color .4s ease;
}
.card-dark:hover{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.18);
}

.timeline-num{
  transition:transform .4s ease, box-shadow .4s ease;
}
.timeline-item:hover .timeline-num{
  transform:scale(1.1);
}

.industry-chip{
  transition:transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.industry-chip:hover{
  transform:translateY(-6px) scale(1.03);
  box-shadow:0 18px 35px -18px rgba(37,99,235,.35);
}

.count-num{ font-variant-numeric:tabular-nums; }

.stars{ color:var(--yellow); letter-spacing:2px; }

.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  cursor:pointer; display:flex; align-items:center; justify-content:space-between;
  padding:1.25rem 0; font-weight:600; color:var(--text);
}
.faq-icon{ transition:transform .35s ease; flex-shrink:0; color:#94a3b8; }
.faq-item.open .faq-icon{ transform:rotate(45deg); color:var(--blue); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .45s ease, padding .45s ease;
  color:var(--text-muted); font-size:.92rem; line-height:1.6;
}
.faq-item.open .faq-a{ padding-bottom:1.25rem; }

.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:1000;
  display:flex; align-items:center;
}
.wa-btn{
  width:60px; height:60px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px -6px rgba(37,211,102,.65);
  position:relative; z-index:2;
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
.wa-btn:hover{ transform:scale(1.08) rotate(6deg); }
.wa-ring{
  position:absolute; inset:0; border-radius:50%;
  border:2px solid #25D366; opacity:.6;
  animation:wa-pulse 2.2s ease-out infinite;
}
.wa-ring.delay{ animation-delay:1.1s; }
@keyframes wa-pulse{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.9); opacity:0; }
}
.wa-tooltip{
  margin-right:.75rem; background:#0f172a; color:#fff; padding:.5rem .9rem;
  border-radius:10px; font-size:.82rem; white-space:nowrap;
  opacity:0; transform:translateX(6px); pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;
}
.wa-float:hover .wa-tooltip{ opacity:1; transform:translateX(0); }

#form-toast{
  position:fixed; top:20px; right:20px; z-index:1200;
  background:#fff; color:var(--text);
  transform:translateX(140%); transition:transform .5s cubic-bezier(.2,.8,.2,1);
}
#form-toast.show{ transform:translateX(0); }

.scroll-cue{
  width:26px; height:42px; border:2px solid #e2e8f0; border-radius:14px;
  display:flex; justify-content:center; padding-top:8px;
}
.scroll-cue span{
  width:4px; height:8px; background:var(--green); border-radius:2px;
  animation:scroll-cue 1.6s ease-in-out infinite;
}
@keyframes scroll-cue{
  0%{ transform:translateY(0); opacity:1;}
  100%{ transform:translateY(14px); opacity:0;}
}

#mobile-menu{
  max-height:0; overflow:hidden; transition:max-height .45s cubic-bezier(.2,.8,.2,1);
  background:#fff;
}
#mobile-menu.open{ max-height:520px; }

@media (max-width:1024px){
  .blob-1{ width:340px; height:340px; }
  .blob-2{ width:320px; height:320px; }
}
@media (max-width:640px){
  .wa-float{ bottom:16px; right:16px; }
  .wa-btn{ width:52px; height:52px; }
}

/* ==========================================================
   PREMIUM UX ADDITIONS (MODALS, WHATSAPP CHAT & BANNER)
   ========================================================== */

/* Hexgrid & Dots Background patterns */
.hexgrid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'%3E%3Cpolygon points='40,4 76,24 76,68 40,88 4,68 4,24' fill='none' stroke='%23bfdbfe' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 80px 92px;
}
.dots-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%2393c5fd'/%3E%3C/svg%3E");
  background-size: 26px 26px;
}

/* SVG Connection animated paths */
.animated-route {
  stroke-dasharray: 12, 6;
  animation: stroke-move 4s linear infinite;
}
@keyframes stroke-move {
  to {
    stroke-dashoffset: -36;
  }
}

/* Parallax Interactive Wrapper */
.parallax-container {
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

/* Floating Pins with pulses */
.map-pin-pulse {
  position: absolute;
  border-radius: 50%;
  animation: pulse-ring 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  60% {
    transform: scale(2.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
}

/* Floating info chips */
.floating-chip {
  animation: float-chip-anim 4.5s ease-in-out infinite;
}
@keyframes float-chip-anim {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

/* Typing search cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background-color: #2563eb;
  margin-left: 2px;
  animation: cursor-blink 0.8s steps(2, start) infinite;
}
@keyframes cursor-blink {
  to { visibility: hidden; }
}

/* Services Detail Modal Popup */
.services-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.services-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}
.services-modal-container {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 35px 70px -15px rgba(15, 23, 42, 0.3);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  transform: translateY(40px) scale(0.93);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-modal.active .services-modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Sticky Consultation bottom banner */
.sticky-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 120px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(37, 99, 235, 0.16);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  width: max-content;
  max-width: calc(100vw - 2.5rem);
}
.sticky-banner.active {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* WhatsApp Chat Popover Container */
/* .wa-chat-popover {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 330px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 48px -10px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  z-index: 10;
}
.wa-chat-popover.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.wa-chat-header {
  background: linear-gradient(135deg, #ffff 0%, #128C7E 100%);
  color: #ffffff;
  padding: 1.25rem;
  position: relative;
}
.wa-chat-body {
  background: #ece5dd;
  padding: 1.25rem;
  min-height: 120px;
}
.wa-chat-message {
  background: #ffffff;
  border-radius: 12px;
  border-top-left-radius: 0;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
  max-width: 85%;
}
.wa-chat-footer {
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.04);
} */

/* Dropdown Country code flag custom styling (intl-tel-input) */
.iti {
  display: block !important;
}
.iti__selected-flag {
  background: transparent !important;
  border-right: 1px solid #e2e8f0;
  padding-right: 8px !important;
  border-radius: 12px 0 0 12px !important;
}
.iti__country-list {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.15) !important;
  padding: 8px 4px !important;
  max-height: 230px !important;
  z-index: 50 !important;
}
.iti__country {
  padding: 8px 12px !important;
  border-radius: 8px !important;
  margin: 2px 4px !important;
  font-size: 0.85rem !important;
  color: #334155 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.iti__country.iti__highlight {
  background-color: rgba(37, 99, 235, 0.08) !important;
  color: #1d4ed8 !important;
}
.iti__country-name {
  font-weight: 500 !important;
}
.iti__dial-code {
  color: #94a3b8 !important;
}
.iti__search-input {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  margin: 4px 6px !important;
  font-size: 0.85rem !important;
  background: #f8fafc !important;
  width: calc(100% - 12px) !important;
}
.iti__search-input:focus {
  outline: none !important;
  border-color: #2563eb !important;
  background: #ffffff !important;
}

/* ============================================================
   HERO SECTION — RESPONSIVE FIXES
   ============================================================ */

/* Mobile: hide parallax pins and decorative elements that overflow on small screens */
@media (max-width: 768px) {
  #home { min-height: auto !important; }
  #hero-parallax { display: none; }
  .hero-content-left { text-align: center; }
  .hero-content-left .check-item { justify-content: center; }
  .hero-content-left .flex.flex-wrap { justify-content: center; }
  .hero-content-left .float-chip { text-align: center; }
  #home h1 { font-size: 2rem !important; }
  #home h1 br { display: none; }
}
@media (max-width: 640px){

  .stat-card{
    opacity: 0;
    transform: translateY(30px);
    animation: mobileCardIn 0.6s ease forwards;
  }

  /* Delay for stagger effect */
  .stat-card:nth-child(1){ animation-delay: 0.1s; }
  .stat-card:nth-child(2){ animation-delay: 0.2s; }
  .stat-card:nth-child(3){ animation-delay: 0.3s; }

  @keyframes mobileCardIn{
    to{
      opacity: 1;
      transform: translateY(0);
    }
  }

}
@media (max-width: 640px) {
  .lead-form-card { border-radius: 20px !important; }
  .btn { padding: .85rem 1.5rem; font-size: .9rem; }
}

/* ============================================================
   TESTIMONIAL CAROUSEL STYLES
   ============================================================ */

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 28px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 20px 50px -20px rgba(37, 99, 235, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: box-shadow 0.3s ease;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: #ffffff;
  flex-shrink: 0;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.1);
}
.testimonial-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.45);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.testimonial-dot.active {
  background: #2563eb;
  width: 22px;
  border-radius: 4px;
  transform: scale(1);
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 1.5rem 1.25rem 1.25rem;
    min-height: auto;
  }
  .testimonial-controls { gap: .9rem; }
}

/* Sticky banner: hide on mobile */
@media (max-width: 768px) {
  .sticky-banner { display: none !important; }
  .services-modal-container { max-width: 92vw !important; }
}

/* ============================================================
   MOBILE-FIRST COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   ============================================================ */

/* --- Hero section mobile --- */
@media (max-width: 1024px) {
  #home { padding-top: 7rem !important; padding-bottom: 4rem !important; min-height: auto !important; }
  #home .grid { grid-template-columns: 1fr; }
  #hero-parallax { display: none !important; }
  .hero-content-left { text-align: center; }
  #home .hero-content-left .check-item { justify-content: center; display: none; }
  #lead-form { margin-top: 0; }
}
@media (max-width: 640px) {
  #home h1 { font-size: 1.85rem !important; line-height: 1.15 !important; }
  #home p.text-lg { font-size: 0.8rem !important; }
  .hero-content-left .grid { grid-template-columns: 1fr !important; }
  .lead-form-card { border-radius: 20px !important; }
  .btn { padding: .8rem 1.4rem !important; font-size: .88rem !important; }
}

/* --- Industries grid on mobile --- */
@media (max-width: 480px) {
  #industries .grid { grid-template-columns: repeat(3, 1fr) !important; gap: 0.6rem !important; }
  .industry-chip { padding: .8rem .4rem !important; }
  .industry-chip p { font-size: .68rem !important; }
}

/* --- Results grid mobile --- */
@media (max-width: 640px) {
  #results .grid { grid-template-columns: repeat(2, 1fr) !important; }
  .card-dark { padding: 1rem !important; }
}

/* --- Why Choose grid mobile --- */
@media (max-width: 640px) {
  #why-choose .grid { grid-template-columns: repeat(2, 1fr) !important; gap: .75rem !important; }
  #why-choose .card { padding: 1rem !important; }
  #why-choose .card h3 { font-size: .82rem !important; }
  #why-choose .card p { font-size: .75rem !important; }
}

/* --- Sticky banner mobile --- */
@media (max-width: 768px) {
  .sticky-banner { display: none !important; }
  .services-modal-container { max-width: 92vw !important; }
}

/* --- Footer mobile --- */
@media (max-width: 640px) {
  footer .grid { grid-template-columns: 1fr !important; gap: 1.75rem !important; }
}

/* ============================================================
   ENHANCED FORM POLISH
   ============================================================ */
textarea.field { resize: vertical; min-height: 90px; }
.btn[disabled] { opacity: .7; cursor: not-allowed; transform: none !important; }
.mb-4:focus-within .field-label,
.mb-5:focus-within .field-label { color: var(--blue); transition: color .2s ease; }

/* ============================================================
   MICRO-ANIMATION POLISH
   ============================================================ */
.card { position: relative; overflow: hidden; }
.card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transition: left .55s ease;
  pointer-events: none;
}
.card:hover::before { left: 150%; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ============================================================
   ADDITIVE POLISH LAYER — EXTRA RESPONSIVE & VISUAL REFINEMENT
   Nothing above this line was modified. Everything below only
   ADDS rules / narrows existing ones with more specific media
   queries, so current look & behavior is fully preserved.
   ============================================================ */

html{ overflow-x:hidden; }

/* Fluid heading scale — smooths the jump between the 1024px and
   640px hero breakpoints already defined above (no override,
   just fills the in-between sizes gracefully) */
@media (min-width: 641px) and (max-width: 1024px){
  #home h1{ font-size: clamp(2.1rem, 4.2vw + 1rem, 2.9rem) !important; }
}

/* True tablet range (iPad-ish, 641–900px) was previously jumping
   straight from desktop grid to the small-phone rules — give it
   its own comfortable 2-column treatment */
@media (min-width: 641px) and (max-width: 900px){
  #industries .grid{ grid-template-columns: repeat(4, 1fr) !important; }
  #results .grid{ grid-template-columns: repeat(3, 1fr) !important; }
  #why-choose .grid{ grid-template-columns: repeat(3, 1fr) !important; }
}

/* Keep long-form copy readable on very large monitors */
@media (min-width: 1600px){
  .max-w-7xl{ max-width: 1400px; }
}

/* Touch-friendly tap targets on phones/tablets (44px min per
   accessibility guidance) — sizes up hit areas without changing
   visual padding elsewhere */
@media (max-width: 1024px){
  .nav-link, .faq-q{ min-height: 44px; }
  .btn, #menu-btn, .testimonial-btn, .country-trigger{ min-height: 44px; }
}

/* Only apply hover lift/scale effects on devices that truly
   support hover, so tapping on touchscreens doesn't leave cards
   stuck in a hover state */
@media (hover: none){
  .card:hover, .industry-chip:hover, .btn-primary:hover,
  .btn-outline:hover, .wa-btn:hover, .testimonial-btn:hover{
    transform: none;
  }
}

/* WhatsApp chat popover: fixed 330px width can overflow very
   narrow phones (<360px) — let it shrink gracefully */
@media (max-width: 380px){
  .wa-chat-popover{ width: calc(100vw - 32px); right: -6px; }
  .sticky-banner{ padding: .7rem 1.1rem; gap: .9rem; }
}

/* Services modal: a touch more breathing room on small phones */
@media (max-width: 420px){
  .services-modal-container{ border-radius: 22px !important; }
  #modal-header{ padding: 1.35rem !important; }
}

/* Slightly tighter vertical rhythm on short mobile viewports so
   the hero doesn't force excessive scrolling before the fold */
@media (max-width: 640px) and (max-height: 700px){
  #home{ padding-top: 5.5rem !important; padding-bottom: 2.5rem !important; }
}

/* Crisper section spacing at common small-phone widths */
@media (max-width: 380px){
  #home h1{ font-size: 2.1rem !important; }
  .pill{ font-size: .72rem; padding: .48rem .95rem; }
}

/* ============================================================
   MOBILE MOTION LAYER — extra animation & movement for phones
   & tablets only (max-width: 1024px). Purely additive: nothing
   above is changed, desktop motion is untouched, and everything
   here is already covered by the site's existing global
   prefers-reduced-motion kill-switch at the top of this file.
   ============================================================ */
@media (max-width: 1024px){

  /* --- Livelier scroll-reveal: more travel + a gentle scale/
     tilt pop instead of the plain fade-up used on desktop --- */
  [data-reveal]{
    transform: translateY(34px) scale(.96);
    transition: opacity .65s cubic-bezier(.22,1,.36,1),
                transform .65s cubic-bezier(.22,1,.36,1);
  }
  [data-reveal].in-view{
    transform: translateY(0) scale(1);
  }

  /* --- Staggered entrance for repeating grid items so cards
     cascade in one after another instead of all at once --- */
  .industry-chip:nth-child(1),  #results .grid > *:nth-child(1), #why-choose .grid > *:nth-child(1) { transition-delay: .03s !important; }
  .industry-chip:nth-child(2),  #results .grid > *:nth-child(2), #why-choose .grid > *:nth-child(2) { transition-delay: .09s !important; }
  .industry-chip:nth-child(3),  #results .grid > *:nth-child(3), #why-choose .grid > *:nth-child(3) { transition-delay: .15s !important; }
  .industry-chip:nth-child(4),  #results .grid > *:nth-child(4), #why-choose .grid > *:nth-child(4) { transition-delay: .21s !important; }
  .industry-chip:nth-child(5),  #results .grid > *:nth-child(5), #why-choose .grid > *:nth-child(5) { transition-delay: .27s !important; }
  .industry-chip:nth-child(6),  #results .grid > *:nth-child(6), #why-choose .grid > *:nth-child(6) { transition-delay: .33s !important; }
  .industry-chip:nth-child(n+7) { transition-delay: .36s !important; }

  /* --- Ambient float on the hero badge pill so the page feels
     alive even before the visitor scrolls --- */
  .pill{ animation: mobile-pill-float 3.4s ease-in-out infinite; }
  @keyframes mobile-pill-float{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-5px); }
  }

  /* --- Soft breathing glow on the primary CTA button to draw
     the eye toward it on small screens --- */
  #home .btn-primary, #lead-form .btn-primary{
    animation: mobile-cta-glow 2.6s ease-in-out infinite;
  }
  @keyframes mobile-cta-glow{
    0%,100%{ box-shadow: 0 14px 30px -10px rgba(37,99,235,.45); }
    50%{ box-shadow: 0 16px 38px -8px rgba(37,99,235,.7); }
  }

  /* --- Icon pop when a card scrolls into view (plays once via
     animation-fill-mode, driven by the .in-view class already
     added by the existing IntersectionObserver in main.js) --- */
  [data-reveal].in-view .industry-chip > div:first-child,
  [data-reveal].in-view.industry-chip > div:first-child,
  .card [data-reveal].in-view svg,
  [data-reveal].in-view .card > div:first-child > div:first-child{
    animation: mobile-icon-pop .55s cubic-bezier(.22,1.4,.36,1) both;
    animation-delay: .1s;
  }
  @keyframes mobile-icon-pop{
    0%{ transform: scale(.5) rotate(-8deg); opacity: 0; }
    60%{ transform: scale(1.12) rotate(3deg); opacity: 1; }
    100%{ transform: scale(1) rotate(0); }
  }

  /* --- Tactile press feedback for tappable cards & chips --- */
  .industry-chip:active, .card:active, .card-dark:active{
    transform: scale(.97);
    transition: transform .15s ease;
  }

  /* --- Nudge the FAQ chevron with a little bounce on open --- */
  .faq-item.open .faq-icon{
    animation: mobile-faq-bounce .4s ease;
  }
  @keyframes mobile-faq-bounce{
    0%{ transform: rotate(0); }
    50%{ transform: rotate(55deg); }
    100%{ transform: rotate(45deg); }
  }

  /* --- Gentle sideways sway on the WhatsApp button so it reads
     as tappable rather than static, layered on its existing
     pulse rings --- */
  .wa-btn{ animation: mobile-wa-sway 3.2s ease-in-out infinite; }
  @keyframes mobile-wa-sway{
    0%,100%{ transform: rotate(0deg); }
    25%{ transform: rotate(-4deg); }
    75%{ transform: rotate(4deg); }
  }

  /* --- Faster, punchier logo marquee so partner logos feel more
     kinetic on the narrower mobile viewport --- */
  .marquee-track{ animation-duration: 20s; }

  /* --- Subtle continuous shimmer sweep across service/feature
     cards to add movement even while idle --- */
  .card::before{
    animation: mobile-card-shimmer 5s ease-in-out infinite;
  }
  @keyframes mobile-card-shimmer{
    0%{ left: -100%; }
    45%{ left: 150%; }
    100%{ left: 150%; }
  }

  /* --- Testimonial dots pulse to hint at swipeability --- */
  .testimonial-dot.active{
    animation: mobile-dot-pulse 1.8s ease-in-out infinite;
  }
  @keyframes mobile-dot-pulse{
    0%,100%{ opacity: 1; }
    50%{ opacity: .55; }
  }
}

/* <!-- ===================== scroll up ===================== --> */

.scroll-top-btn{
  position: fixed;
  bottom: 96px;   /* WhatsApp button ke upar sits hota hai */
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 10px 26px -8px rgba(37,99,235,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1),
              visibility .3s ease, box-shadow .3s ease;
}
.scroll-top-btn.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top-btn:hover{
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 34px -8px rgba(37,99,235,.6);
}
@media (max-width: 640px){
  .scroll-top-btn{ bottom: 84px; right: 16px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce){
  .scroll-top-btn{ transition: opacity .3s ease, visibility .3s ease; }
}

