/* =============================================
   SOVENTO — Fixed Styles v3
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #1a3c6e;
  --primary-dark: #122d54;
  --accent-teal: #2bbfbf;
  --accent-green: #2ecc71;
  --accent-orange: #e67e22;
  --text-dark: #1a2a3a;
  --text-muted: #6b7a8d;
  --text-light: #9aabb8;
  --bg-light: #f4f7fb;
  --bg-white: #ffffff;
  --navy-dark: #0f1e35;
  --navy-section: #132040;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(26, 60, 110, 0.08);
  --shadow-md: 0 8px 32px rgba(26, 60, 110, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 60, 110, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

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

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

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  isolation: isolate;
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-grid {
  width: 36px;
  height: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2.5px;
  border-radius: 6px;
  overflow: hidden;
}

.logo-dot {
  border-radius: 2px;
  transition: var(--transition);
}

.logo-dot:nth-child(1) {
  background: #e74c3c;
}

.logo-dot:nth-child(2) {
  background: #3498db;
}

.logo-dot:nth-child(3) {
  background: #2ecc71;
}

.logo-dot:nth-child(4) {
  background: #f39c12;
}

.logo-dot:nth-child(5) {
  background: #9b59b6;
}

.logo-dot:nth-child(6) {
  background: #1abc9c;
}

.logo-dot:nth-child(7) {
  background: #e67e22;
}

.logo-dot:nth-child(8) {
  background: #3498db;
}

.logo-dot:nth-child(9) {
  background: #e74c3c;
}

.navbar-brand:hover .logo-dot {
  transform: scale(0.85);
}

/* FIXED: Increased gap between nav links for better spacing */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);

  position: relative;
  padding: 6px 0;

  transition: 0.25s ease;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 2px;

  background: linear-gradient(90deg,
      var(--accent-teal),
      var(--accent-green));

  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-consult {
  background: #007bb5 !important;
  color: #fff !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.25);
}

.btn-consult::after {
  display: none !important;
}

.btn-consult:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(26, 60, 110, 0.35) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-light);
  gap: 4px;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-menu .btn-consult-mobile {
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  margin-top: 8px;
  border-radius: 50px !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.25);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f4fd 40%, #f0fff8 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 191, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;

  padding: 8px 18px;

  font-size: 0.8rem;
  font-weight: 600;

  color: #007bb5;
  /* text color */

  background: rgba(0, 123, 181, 0.08);
  /* light blue fill */
  border: 1px solid rgba(0, 123, 181, 0.25);
  /* soft border */

  border-radius: 999px;
  /* pill shape */

  margin-bottom: 24px;

  backdrop-filter: blur(6px);
}

.hero-badge::before {
  content: '';
  width: 2px;
  height: 7px;
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 28px;
  line-height: 1.1;
  animation: fadeInUp 0.7s 0.1s ease forwards;
  opacity: 0;
}

.hero-title .highlight-teal {
  background: linear-gradient(90deg,
      #1f7ea8,
      /* deep blue-teal */
      #2a9d8f,
      /* teal */
      #38b26c
      /* smooth green */
    );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight-green {
  background: linear-gradient(90deg,
      #6bcf63,
      /* light green */
      #2ecc71,
      /* green */
      #e67e22,
      /* orange */
      #e74c3c
      /* red */
    );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-arrow {
  color: var(--accent-green);
  display: inline-block;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(6px)
  }
}

.hero-sub {
  font-size: clamp(0.82rem, 2vw, 1.0rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 14px;
  animation: fadeInUp 0.7s 0.2s ease forwards;
  opacity: 0;
}

.hero-tagline {
  font-size: 0.98rem;
  color: #62748e;
  font-style: italic;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s 0.3s ease forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeInUp 0.7s 0.4s ease forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007bb5;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(26, 60, 110, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26, 60, 110, 0.4);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  border: 2px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.btn-whatsapp-saas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1ebd60 0%, #129e4e 100%);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(30, 189, 96, 0.3);
  position: relative;
  transition: all 0.3s ease;
  animation: floatUpAndDown 3s ease-in-out infinite;
}

.btn-whatsapp-saas:hover {
  background: linear-gradient(135deg, #22ca68 0%, #15af59 100%);
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(30, 189, 96, 0.45);
}

.btn-whatsapp-dot {
  position: absolute;
  top: 6px;
  right: 18px;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes floatUpAndDown {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(30, 189, 96, 0.3);
  }

  50% {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30, 189, 96, 0.45);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 255, 255, 1);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

/* FIXED: All 6 hero tags in a single row on desktop */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;

  max-width: 940px;
  /* 🔥 key fix */
  margin: 0 auto;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;

  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 500;

  color: var(--text-dark);

  /* ❌ REMOVE flex stretch */
  flex: none;

  /* ✅ natural sizing */
  min-width: auto;

  /* subtle UI feel */
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.hero-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.hero-tag:hover {
  border-color: var(--accent-teal);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── PROBLEM SECTION ── */
.problem-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

/* Wrapper matches the reference: white bg, full-width content area */
.problem-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Hide the duplicate workflow-img visual — only show the mockup card visual */
.problem-visual:first-of-type {
  display: none;
}

.problem-text {
  /* left col */
}

.problem-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #1e1b4b;
  margin-bottom: 18px;
}

.problem-title .highlight {
  color: #007bb5;
}

.problem-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #314158;
  font-weight: 500;
}

.pain-icon {
  width: 26px;
  height: 26px;
  background: #fdecea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #e53e3e;
}

/* Right mockup — matches reference sizes */
.problem-visual {
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.workflow-img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow-lg);
}

.mockup-card {
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;

  width: 100%;
  height: 360px;

  background: url('../images/workflow-problem.png') center/contain no-repeat;
  background-color: #0f1e35;
  /* fallback fill */
}

/* Optional overlay for readability */
.mockup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  z-index: 0;
}

/* Ensure content stays above overlay */
.mockup-card>* {
  position: relative;
  z-index: 1;
}

.mockup-header,
.mockup-row,
.mockup-block,
.mockup-wide,
.mockup-btn {
  display: none !important;
}

.efficiency-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  z-index: 10;
}

.efficiency-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.efficiency-value {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: var(--accent-green);
  line-height: 1.1;
}

.efficiency-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── WHAT SOVENTO DOES ── */
.services-section {
  padding: 100px 24px;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(43, 191, 191, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.1rem;
  color: #1e1b4b;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-cta {
  text-align: center;
  margin-top: 44px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #007bb5;
  border: 2px solid #007bb5;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── WHY SECTION ── */
.why-section {
  padding: 100px 24px;
  background: #1e1b4b;
}

.why-section .section-title {
  color: #fff;
}

.why-section .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.why-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(43, 191, 191, 0.4);
  transform: translateY(-4px);
}

.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(43, 191, 191, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.2rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--accent-teal);
  color: #fff;
}

.why-card h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

/* ── APPROACH — FIXED TIMELINE ── */
.approach-section {
  padding: 100px 24px;
  background: var(--bg-white);
}

.approach-timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.tl-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: stretch;
  /* 🔥 KEY FIX */
}

/* The center axis column */
.tl-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Vertical line segments — equal flex so line is continuous */
.tl-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-teal), var(--accent-green));
  min-height: 24px;
}

/* Step number circle — perfectly centered on the line */
.step-num {
  width: 48px;
  height: 48px;
  background: #007bb5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.3);
  position: relative;
}

/* Left and right slots — vertically center the card to the step bubble */
.tl-left-slot {
  justify-content: flex-end;
  padding-right: 0px;
}

.tl-right-slot {
  justify-content: flex-start;
  padding-left: 0px;
}

.tl-left-slot .step-card {
  transform: translateX(32px);
}

.tl-right-slot .step-card {
  transform: translateX(-32px);
}

/* The actual card */
.step-card {
  background: var(--bg-white);
  margin: 0;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
  align-self: center;
}

.step-card:hover {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #007bb5;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Last row — no bottom line */
.tl-last .tl-axis {
  justify-content: center;
  /* 🔥 instead of flex-start */
}

.tl-last .tl-axis .tl-line:last-child {
  display: none;
}

/* ── SOLUTIONS / FLIP CARDS ── */
.solutions-section {
  padding: 100px 24px;
  background: var(--bg-light);
}

.solutions-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flip-card {
  perspective: 1000px;
  height: 210px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
}

.flip-front {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.flip-card:hover .flip-front {
  box-shadow: var(--shadow-md);
}

.flip-front-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(43, 191, 191, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.flip-front h3 {
  font-size: 1rem;
  color: #1e1b4b;
  margin-bottom: 8px;
  flex: 1;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-top: auto;
}

.flip-back {
  background: var(--primary);
  padding: 22px;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-back h4 {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.flip-back ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.flip-back ul li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.flip-back ul li::before {
  content: '→';
  color: var(--accent-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FEATURED TRACEABILITY ── */
.featured-section {
  padding: 60px 24px;
  background: var(--bg-light);
}

.featured-card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--navy-dark);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43, 191, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: var(--accent-green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.featured-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 10px;
}

.featured-highlight {
  color: var(--accent-green);
}

.featured-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

.btn-green:hover {
  background: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46, 204, 113, 0.4);
  color: #fff;
}

.featured-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;

  /* ADD THESE 👇 */
  position: relative;
  z-index: 1;
}

/* 🔥 GLOW LAYER */
.featured-badges-grid::before {
  content: "";
  position: absolute;
  inset: -40px;

  background: radial-gradient(circle at center,
      rgba(46, 204, 113, 0.25) 0%,
      rgba(43, 191, 191, 0.18) 30%,
      rgba(0, 123, 181, 0.12) 55%,
      transparent 75%);

  filter: blur(60px);
  z-index: -1;
}

.feat-badge {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 18px;
  transition: var(--transition);
}

.feat-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(43, 191, 191, 0.4);
  transform: translateY(-2px);
}

.feat-badge-icon {
  font-size: 1.3rem;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.feat-badge h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ── STARTUP / MVP SECTION ── */
.startup-section {
  padding: 60px 24px;
  background: var(--bg-light);
}

.startup-card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: linear-gradient(135deg,
      #1f7ea8 0%,
      /* blue tone added */
      #1a9e8e 40%,
      #27ae60 100%);
  border-radius: 24px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.startup-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 20% 30%,
      rgba(255, 255, 255, 0.18),
      transparent 40%),
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.08),
      transparent 40%);

  pointer-events: none;
  z-index: 1;
}

.startup-card>* {
  position: relative;
  z-index: 2;
}

.startup-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
}

.startup-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.startup-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.startup-pill:hover {
  background: rgba(255, 255, 255, 0.25);
}

.startup-pill i {
  font-size: 0.9rem;
}

/* Right white box */
.startup-right {
  display: flex;
  justify-content: center;
}

.startup-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 340px;
}

.startup-box-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(43, 191, 191, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.8rem;
  margin: 0 auto 18px;
}

.startup-box h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.startup-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact-section {
  padding: 100px 24px;
  background: var(--bg-white);
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 16px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 60, 110, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-form-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.form-title {
  font-size: 1.3rem;
  color: #1e1b4b;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.08);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  font-size: 16px;
}

/* prevents iOS auto-zoom on focus */
.btn-send {
  width: 100%;
  background: #007bb5;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(26, 60, 110, 0.25);
}

.btn-send:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(26, 60, 110, 0.35);
}

/* ── FOOTER — FIXED ALIGNMENT ── */
footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* 3 columns: brand (wider) | Company | Legal */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

/* Company and Legal columns */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* Header sits at top of column */
.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 18px;
}

/* Links stack directly below the header with no extra offset */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
  display: block;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px)
  }

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

@keyframes float {

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

  50% {
    transform: translateY(-10px)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(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
}

.delay-5 {
  transition-delay: 0.5s
}

.delay-6 {
  transition-delay: 0.6s
}

/* ── ROI CALCULATOR PAGE ── */
.roi-page {
  padding-top: 90px;
  background: var(--bg-light);
  min-height: 100vh;
}

.roi-hero {
  text-align: center;
  padding: 60px 24px 48px;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f4fd 60%, #f0fff8 100%);
}

.roi-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--primary);
  margin-bottom: 20px;
}

.roi-hero h1 .highlight {
  color: var(--accent-teal);
}

.roi-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 10px;
}

.roi-alert {
  display: inline-block;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

.roi-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.roi-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-panel {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
}

.roi-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 24px;
}

.roi-panel-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.roi-field {
  margin-bottom: 20px;
}

.roi-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.roi-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.roi-input-wrap {
  position: relative;
}

.roi-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-weight: 600;
  pointer-events: none;
}

.roi-input {
  width: 100%;
  padding: 12px 16px 12px 32px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  outline: none;
  transition: var(--transition);
  -moz-appearance: textfield;
}

.roi-input::-webkit-outer-spin-button,
.roi-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.roi-input:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.08);
}

.roi-input-no-prefix {
  padding-left: 16px !important;
}

.slider-wrap {
  margin-top: 8px;
}

.roi-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin: 8px 0;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 60, 110, 0.3);
  transition: var(--transition);
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.roi-results-col {
  position: sticky;
  top: 100px;
}

.roi-results-card {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 36px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.roi-results-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.roi-annual-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.roi-annual-val {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-green);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-bottom: 28px;
}

.roi-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.roi-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.roi-stat-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.roi-stat-val.teal {
  color: var(--accent-teal);
}

.roi-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.roi-payback-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.roi-payback-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 6px;
}

.roi-payback-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  line-height: 1.5;
}

.roi-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-analysis {
  flex: 1;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-analysis:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-share {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-share:hover {
  background: rgba(255, 255, 255, 0.15);
}

.roi-insights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.insight-card {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
}

.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(230, 126, 34, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.insight-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.insight-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.insight-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.insight-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.roi-how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  text-align: center;
}

.roi-how h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.roi-how p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.roi-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.roi-how-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}

.roi-how-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.roi-how-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.roi-how-card h3 {
  font-size: 1rem;
  color: var(--primary);
}

.roi-cta-box {
  background: var(--navy-dark);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.roi-cta-text h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.roi-cta-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.roi-cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.roi-contact-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.roi-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.roi-contact-item i {
  color: var(--accent-teal);
}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .featured-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 36px;
  }

  .startup-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .startup-right {
    justify-content: flex-start;
  }

  .roi-main {
    grid-template-columns: 1fr;
  }

  .roi-results-col {
    position: static;
  }

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

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

@media (max-width:768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .navbar-inner {
    padding: 12px 20px;
  }

  .nav-logo-img {
    height: 32px;
  }

  .problem-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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


  /* ── MOBILE TIMELINE: NUMBER then BOX, for every step ── */
  .approach-timeline {
    padding: 0;
  }

  /* Each row becomes a vertical flex column */
  .tl-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  /* Number bubble always renders FIRST (top) */
  .tl-axis {
    order: 1;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: none;
  }

  /* Both slots default hidden */
  .tl-left-slot,
  .tl-right-slot {
    order: 2;
    width: 100%;
    padding: 0;
    justify-content: center;
    /* hide empty ones */
    display: none;
  }

  /* Only show the slot that actually has a card inside */
  .tl-left-slot:not(:empty),
  .tl-right-slot:not(:empty) {
    display: flex !important;
  }

  /* Hide all vertical lines */
  .tl-line {
    display: none !important;
  }

  .step-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  /* Cards full width, no offset */
  .step-card {
    width: 100%;
    padding: 20px;
    transform: none !important;
    margin: 0;
  }

  .tl-left-slot .step-card,
  .tl-right-slot .step-card {
    transform: none !important;
    width: 100%;
    margin: 0;
  }

  /* Flip cards: show both sides on mobile */
  .flip-card {
    perspective: 1000px;
    height: 240px;
    cursor: pointer;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
  }

  /* FRONT + BACK */
  .flip-front,
  .flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius);
  }

  /* FRONT */
  .flip-front {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    padding: 28px;
    display: flex;
    flex-direction: column;
  }

  /* BACK */
  .flip-back {
    background: var(--primary);
    padding: 22px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* 🔥 DESKTOP hover */
  @media (hover: hover) {
    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }
  }

  .featured-card {
    padding: 28px;
  }

  .startup-card {
    padding: 28px 24px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .roi-cta-box {
    text-align: center;
    flex-direction: column;
  }

  .roi-how-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-tag {
    flex: 1 1 calc(33% - 8px);
    min-width: 100px;
    white-space: normal;
  }
}

@media (max-width:768px) {
  .flip-card {
    height: 220px;
  }
}

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

  .hamburger {
    display: flex;
  }
}

@media (max-width:480px) {
  .navbar-inner {
    padding: 10px 16px;
  }

  .nav-logo-img {
    height: 28px;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .featured-badges-grid {
    grid-template-columns: 1fr;
  }

  .roi-stats-row {
    grid-template-columns: 1fr;
  }

  .roi-actions {
    flex-direction: column;
  }

  .btn-share {
    width: 100%;
    height: 44px;
  }

  .roi-cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .roi-contact-info {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas a {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.95rem;
    padding: 12px 24px;
  }

  .btn-whatsapp-dot {
    top: 4px;
    right: 12px;
  }
}

/* ── SCROLL TO TOP BUTTON ── */
#scrollTopBtn {
  position: fixed;
  bottom: 100px;
  /* sits above WhatsApp */
  right: 28px;

  width: 52px;
  height: 52px;

  border-radius: 50%;
  border: none;

  background: #1a2a3a;
  color: #fff;

  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;

  opacity: 0;
  pointer-events: none;

  transition: all 0.6s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);

  @media (max-width: 480px) {
    .hero-tags {
      grid-template-columns: 1fr;
    }

    .hero-tag {
      font-size: 0.78rem;
      padding: 12px;
    }
  }
}

/* ═══════════════════════════════════════════
   MOBILE FOOTER FIX: Company + Legal side by side
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-brand-col,
  .footer-grid>div:first-child {
    grid-column: 1 / -1 !important;
  }
}

/* ═══════════════════════════════════════════
   INQUIRE FOR — CUSTOM DROPDOWN
   ═══════════════════════════════════════════ */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  user-select: none;
  box-sizing: border-box;
}

.custom-select-trigger span#customSelectLabel {
  background: transparent;
  color: inherit;
}

.custom-select-trigger:focus,
.custom-select-trigger.open {
  border-color: #2bbfbf;
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(43, 191, 191, 0.15);
  outline: none;
}

.custom-select-trigger .select-placeholder {
  color: var(--text-light);
}

.custom-select-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.custom-select-trigger.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(26, 60, 110, 0.14);
  z-index: 9999;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
}

.custom-select-options.open {
  display: block;
}

.custom-select-option {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s;
}

.custom-select-option:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.custom-select-option.selected {
  color: #2bbfbf;
  font-weight: 600;
}

/* Group headers inside the dropdown — bold, non-clickable */
.custom-select-group-label {
  padding: 12px 16px 4px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a2a3a;
  font-family: 'Inter', sans-serif;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.2px;
}

/* Add a subtle divider before each group (except the very first) */
.custom-select-group-label+.custom-select-group-label,
.custom-select-option+.custom-select-group-label {
  border-top: 1px solid #e8ecf0;
  margin-top: 6px;
  padding-top: 12px;
}

.custom-select-group-label em {
  font-style: italic;
  font-weight: 800;
}

/* Indent the selectable items so they sit under the group header */
.custom-select-option {
  padding: 8px 16px 8px 24px;
}

/* Hidden real input to carry value */
#inquireFor {
  display: none;
}

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.18);
}

.wa-float:active {
  transform: scale(0.96);
}

.wa-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: #1a2a3a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #1a2a3a;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.5);
    opacity: 0;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ── TOAST ── */
.toast-notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark, #1a2a3a);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.toast-notification.error {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}