/* ==========================================================================
   Navi's Software — Stylesheet
   ========================================================================== */

:root {
  /* Color palette */
  --primary: #2563EB;
  --primary-dark: #1E3A8A;
  --primary-light: #EFF6FF;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text-main: #0F172A;
  --text-secondary: #64748B;
  --border: #E2E8F0;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(30, 58, 138, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 76px;
}

/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body,
h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--text-secondary);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 50px 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  /* text-transform: uppercase; */
  color: var(--primary);
  margin-bottom: 14px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.36);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* ================= DROPDOWN MENU STYLES ================= */
.main-nav ul li.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Chevron icon next to Services */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

/* Desktop Dropdown Popup Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 8px 0;
  margin-top: 10px;
  list-style: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Invisible bridge so mouse doesn't lose hover between link & dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

/* Show Menu on Hover */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  display: block;
  transform: translateY(0);
}

.dropdown-menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
  color: #2563eb;
}

/* Mobile Sub-menu Styles */
.mobile-nav-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-menu {
  list-style: none;
  padding-left: 20px;
  margin: 6px 0 10px 0;
}

.mobile-nav-sublink {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-nav-sublink:hover {
  color: #2563eb;
}

.nav-link.active,
.mobile-nav-link.active {
  color: #2563eb;
  /* Primary accent color */
  font-weight: 600;
  position: relative;
}

/* Optional: Underline indicator for desktop active link */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2563eb;
  border-radius: 2px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-main);
}

.logo-text.light {
  color: var(--white);
}

.logo-text strong {
  font-weight: 800;
  color: var(--primary);
}

.logo-text.light strong {
  color: #93C5FD;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  align-items: center;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: max-height 0.4s var(--ease);
}

.mobile-menu.open {
  max-height: 480px;
}

.mobile-menu nav {
  padding: 8px 24px 24px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 4px;
  font-weight: 500;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: 18px;
}

/* ============ Hero ============ */
.hero {
  padding: 76px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  gap: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  text-align: center;
  /* Align text left for side-by-side layout */
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero-sub {
  font-size: 1.08rem;
  /* max-width: 520px; */
  margin-top: 18px;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-trust .dot {
  color: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 460px;
}

.visual-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.visual-ring {
  position: absolute;
  inset: 6% 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(37, 99, 235, 0.14), transparent 60%);
  z-index: 0;
}

.mock-window {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-browser {
  width: 340px;
  top: 30px;
  left: 0;
  z-index: 2;
}

.mock-window-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border);
}

.mock-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
}

.mock-window-bar span:nth-child(1) {
  background: #F87171;
}

.mock-window-bar span:nth-child(2) {
  background: #FBBF24;
}

.mock-window-bar span:nth-child(3) {
  background: #34D399;
}

.mock-window-body {
  padding: 20px;
}

.mock-line {
  height: 10px;
  border-radius: 5px;
  background: var(--border);
  margin-bottom: 12px;
}

.mock-line.w-70 {
  width: 70%;
}

.mock-line.w-40 {
  width: 40%;
  background: var(--primary-light);
}

.mock-line.w-80 {
  width: 80%;
}

.mock-line.w-60 {
  width: 60%;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-top: 18px;
}

.mock-bar {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  opacity: 0.9;
}

.mock-phone {
  width: 168px;
  height: 300px;
  right: 6px;
  bottom: 0;
  z-index: 3;
  border-radius: 26px;
  border-width: 6px;
  border-color: var(--text-main);
  padding-top: 6px;
}

.mock-phone-notch {
  width: 50px;
  height: 8px;
  background: var(--text-main);
  border-radius: 6px;
  margin: 0 auto 10px;
}

.mock-phone-body {
  padding: 0 16px 16px;
}

.mock-pill {
  width: 44px;
  height: 6px;
  border-radius: 4px;
  background: var(--primary);
  margin-bottom: 14px;
}

.mock-card-small {
  height: 46px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  z-index: 4;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
}

.chip-1 {
  top: 8px;
  right: 20px;
}

.chip-2 {
  bottom: 90px;
  left: -14px;
}

/* Float animations */
.float-slow {
  animation: floatY 6.5s ease-in-out infinite;
}

.float-mid {
  animation: floatY 5s ease-in-out infinite;
}

.float-fast {
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ============ Services ============ */
.section-heading {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 4px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #C7D9FB;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.06);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
}

/* ============ Technologies ============ */
.tech-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.tech-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tech-pill:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: -0.2px;
  line-height: 1;
}

/* ============ About ============ */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-card {
  background: linear-gradient(160deg, var(--primary-light), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-divider {
  height: 1px;
  background: var(--border);
}

.about-content p {
  margin-top: 16px;
  font-size: 1rem;
}

.about-content p:first-of-type {
  margin-top: 14px;
}

/* ============ Why Us ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
}

/* ============ Process ============ */
.process {
  background: var(--white);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.92rem;
}

/* ============ Testimonials ============ */
.testimonials {
  background: var(--white);
  width: 100%;
  overflow: hidden;
}

.testimonials-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 5%;
  box-sizing: border-box;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Smooth touch scrolling */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 clamp(320px, 75vw, 700px);
  width: clamp(320px, 75vw, 700px);
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(160deg,
      var(--primary-light),
      var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  /* max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--primary-light), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md); */
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.testimonial-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  /* background: linear-gradient(135deg, var(--primary), var(--primary-dark)); */
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
}

.testimonial-brand {
  flex: 1;
  min-width: 0;
}

.testimonial-brand h3 {
  margin-bottom: 2px;
}

.testimonial-tag {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.testimonial-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.testimonial-quote {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-main);
}

.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.testimonial-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.highlight-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid #C7D9FB;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ============ Industries ============ */
.industries {
  background: var(--white);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.industry-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #C7D9FB;
}

.industry-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.9rem;
}

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--white);
}

.cta-inner p {
  color: #DBEAFE;
  margin-top: 14px;
  font-size: 1.05rem;
}

.cta-inner .btn {
  margin-top: 30px;
}

/* ============ Contact ============ */
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-sub {
  margin-top: 14px;
  max-width: 420px;
}

.contact-details {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.contact-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-details a:hover {
  color: var(--primary);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-main);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.site-footer .social-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.site-footer .social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-main);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #EF4444;
}

.field-error {
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 6px;
  min-height: 1em;
}

.form-note {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-secondary);
  min-height: 1.2em;
}

.form-note.success {
  color: #16A34A;
  font-weight: 600;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--text-main);
  color: #CBD5E1;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand p {
  color: #94A3B8;
  margin-top: 16px;
  max-width: 300px;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col li {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom p {
  color: #64748B;
  font-size: 0.85rem;
  text-align: center;
}

/* ============ Floating WhatsApp ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  background: var(--whatsapp-dark);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.48);
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .float-slow,
  .float-mid,
  .float-fast {
    animation: none;
  }
}


/* Container & Card Refinement */
.contact-form-container {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

/* Form Group & Input Styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
}

/* Input Focus States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background-color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-inner {
    /*grid-template-columns: 1fr;*/
    display: grid;
    margin-bottom: 10px;
  }

  .hero-visual {
    height: 380px;
    order: -1;
    margin-bottom: 8px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .process-track::before {
    display: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero-content#androidlabel,
  .hero-content#ioslabel,
  .hero-content#weblabel,
  .hero-content#aboutlabel,
  .hero-content#contactlabel {
    margin-top: 100px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 68px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .tech-groups {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-visual {
    height: 320px;
  }

  .mock-browser {
    width: 280px;
  }

  .mock-phone {
    width: 140px;
    height: 250px;
    right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 26px;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }

  .testimonial-card {
    padding: 28px;
  }

  .testimonial-top {
    flex-wrap: wrap;
  }

  .testimonial-link {
    margin-left: 68px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 18px;
  }

  h1 {
    font-size: 1.9rem;
  }
}