/* ============================================
   MANOMAV ENGINEERS - Landing Page Stylesheet
   ============================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@400;600;700;800&display=swap');

/* ----- CSS Variables ----- */
:root {
  --primary: #F97316;
  --primary-hover: #ea6a0a;
  --primary-light: #fff4ed;
  --dark: #0f1923;
  --grey-900: #1a2332;
  --grey-700: #374151;
  --grey-500: #6b7280;
  --grey-300: #d1d5db;
  --grey-100: #f3f4f6;
  --grey-50: #f9fafb;
  --white: #ffffff;
  --blueprint-bg: #f0f4f8;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Sora', 'Inter', sans-serif;
  --max-w: 1200px;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  font-size: 1rem;
  color: var(--grey-500);
}

/* ----- Utility ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.orange {
  color: var(--primary);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header p {
  max-width: 540px;
  margin: 10px auto 0;
  font-size: 1.05rem;
}

/* ---- Blueprint Background Pattern ---- */
.blueprint-bg {
  background-color: #eaf1f8;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo-icon {
  /* width: 673px; */
  height: 153px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--dark);
}

.nav-logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 0;
  position: relative;
  overflow: clip;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - 68px);
}

.hero-left {
  padding: 60px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-headline {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* --- Typing / cycling animation on headline strong --- */
.headline-static {
  display: inline;
}

.headline-animated {
  color: var(--primary);
  border-right: 3px solid var(--primary);
  padding-right: 2px;
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

  0%,
  100% {
    border-color: var(--primary);
  }

  50% {
    border-color: transparent;
  }
}

.hero-headline strong {
  color: var(--primary);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--grey-500);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--grey-700);
  font-weight: 600;
}

.hero-benefits {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--grey-700);
}

.hero-benefit-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-benefit-icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.42);
}

.btn-secondary {
  color: var(--grey-700);
  font-weight: 600;
  font-size: 0.97rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  color: var(--primary);
}

.btn-secondary span {
  font-size: 1.1rem;
}

/* Hero Right - Form Card */
.hero-right {
  padding: 40px 0 40px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px 26px 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #fb923c);
}

.form-card-title {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.form-card-sub {
  font-size: 0.88rem;
  color: var(--grey-500);
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--grey-50);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

/* Validation error state */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  background: #fff5f5;
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

.field-hint {
  display: block;
  color: var(--grey-500);
  font-size: 0.75rem;
  margin-top: 4px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.phone-group {
  display: flex;
  gap: 6px;
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-700);
}

.phone-prefix .flag {
  font-size: 1.1rem;
}

/* Country code dropdown */
.country-code-select {
  width: auto;
  min-width: 100px;
  max-width: 130px;
  padding: 10px 30px 10px 10px !important;
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: var(--transition);
  outline: none;
  flex-shrink: 0;
}

.country-code-select:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.phone-group input {
  flex: 1;
  min-width: 0;
}

.btn-form {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 6px;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-form:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.42);
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--grey-500);
  margin-top: 10px;
}

.form-trust svg {
  width: 14px;
  height: 14px;
  stroke: var(--grey-400);
  flex-shrink: 0;
}

/* Hero Blueprint Overlay */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(249, 115, 22, 0.08);
  top: -100px;
  right: 200px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.06);
  bottom: 50px;
  left: 100px;
}

/* ============================================
   WHO THIS IS FOR
   ============================================ */
.who-section {
  background: var(--white);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.who-card {
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.who-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249, 115, 22, 0.2);
}

.who-card:hover::after {
  transform: scaleX(1);
}

.who-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}

.who-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.who-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   PROBLEMS & SERVICES (two columns)
   ============================================ */
.problems-services {
  background: var(--blueprint-bg);
  position: relative;
  overflow: hidden;
}

.problems-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.ps-col-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.ps-col-sub {
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.problem-item:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-sm);
}

.problem-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey-700);
  line-height: 1.5;
  padding-top: 2px;
}

.problem-text strong {
  color: var(--dark);
}

/* Services Cards */

.services-side-header {
  margin-bottom: 20px;
}

.services-side-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.services-side-header p {
  font-size: 0.95rem;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.service-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.service-info p {
  font-size: 0.83rem;
  color: var(--grey-500);
}

.service-arrow {
  margin-left: auto;
  color: var(--primary);
  font-size: 1.1rem;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  background: var(--dark);
  color: var(--white);
}

.trust-header {
  text-align: center;
  margin-bottom: 52px;
}

.trust-header h2 {
  color: var(--white);
}

.trust-header h2 .orange {
  color: var(--primary);
}

.trust-header p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 10px auto 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(249, 115, 22, 0.12);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.stat-label strong {
  color: var(--white);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.55;
}

.logo-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* Explore Portfolio CTA */
.trust-portfolio-cta {
  text-align: center;
  margin-top: 8px;
}

.btn-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(249, 115, 22, 0.7);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-portfolio:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  background: var(--grey-50);
  position: relative;
  overflow: hidden;
}

/* Engineering blueprint SVG overlay */
.how-bg-eng {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.eng-svg {
  width: 100%;
  height: 100%;
}

/* Step-track: horizontal card layout */
.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Step Card */
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: visible;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.25);
}

.step-card:hover .step-card-icon {
  background: var(--primary);
  color: var(--white);
}

.step-card:hover .step-card-icon svg {
  stroke: var(--white);
}

/* Badge (step number) */
.step-card-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  letter-spacing: 0.04em;
}

/* Icon circle */
.step-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 20px;
  transition: var(--transition);
}

.step-card-icon svg {
  stroke: var(--primary);
  transition: var(--transition);
}

.step-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.step-card-desc {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.65;
}

.step-card-desc strong {
  color: var(--grey-700);
}

/* Arrow connector (absolute positioned, between cards) */
.step-card-connector {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
}

/* keep legacy classes for any remaining use */
.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--grey-50), 0 0 0 8px rgba(249, 115, 22, 0.25);
  position: relative;
  z-index: 2;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.6;
}

/* ============================================
   FULL BOOKING FORM SECTION
   ============================================ */
.booking-section {
  background: var(--white);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.booking-left h2 {
  margin-bottom: 14px;
}

.booking-left p {
  margin-bottom: 28px;
  font-size: 1rem;
}

.booking-feats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--grey-700);
  font-weight: 500;
}

.booking-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.booking-form-card {
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--grey-50);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--dark);
  gap: 12px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--grey-500);
  font-size: 1.1rem;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ============================================
   FINAL CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-banner-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-banner .btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.cta-trust {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--grey-900);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.footer-contact-icon {
  font-size: 1rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer logo image */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 4px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  /* invert so white areas show on dark bg, adjust if logo already handles dark bg */
  /* filter: brightness(0) invert(1); */
  opacity: 0.9;
}

.footer-logo-img:hover {
  opacity: 1;
}

/* Footer brand social row */
.footer-socials-brand {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.sticky-mobile-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ============================================
   SUCCESS STATE
   ============================================ */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}

.form-success-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.form-success h3 {
  color: var(--dark);
  margin-bottom: 6px;
}

.form-success p {
  font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-height: unset;
    padding: 48px 24px 56px;
    align-items: start;
  }

  .hero-left {
    padding: 0;
  }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* --- Navbar --- */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
  }

  .nav-mobile.hidden {
    display: none;
  }

  .nav-mobile a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--grey-700);
    border-bottom: 1px solid var(--border);
  }

  .nav-mobile a:last-child {
    border-bottom: none;
  }

  /* --- Hero --- */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: unset;
    max-height: none;
    gap: 20px;
    padding: 28px 16px 36px;
  }

  .hero-left {
    padding: 0;
  }

  .hero-right {
    padding: 0;
    width: 100%;
    display: block;
  }

  h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-benefits {
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero-benefit {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 14px 20px;
  }

  /* --- Form Card --- */
  .form-card {
    padding: 20px 16px 16px;
  }

  .form-card-title {
    font-size: 1.3rem;
  }

  .phone-group {
    flex-wrap: nowrap;
  }

  .country-code-select {
    min-width: 80px;
    max-width: 110px;
    font-size: 0.8rem;
    padding: 10px 8px !important;
  }

  /* --- Section Padding & Container --- */
  .section-padding {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* --- Who Grid --- */
  .who-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .who-card {
    padding: 24px 16px;
  }

  /* --- Problems & Services --- */
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ps-col-title,
  .services-side-header h2 {
    font-size: 1.35rem;
  }

  /* --- Stats --- */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 28px 16px;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  /* --- How It Works --- */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid::before {
    display: none;
  }

  .steps-track {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .step-card-connector {
    display: none;
  }

  /* --- Booking grid --- */
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* --- Footer --- */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* --- Sticky CTA --- */
  .sticky-mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  /* --- CTA Banner --- */
  .cta-banner {
    padding: 56px 16px;
  }
}

/* Small Mobile (<=480px) */
@media (max-width: 480px) {
  .hero-inner {
    padding: 24px 14px 32px;
    gap: 16px;
  }

  h1 {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  h2 {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-track {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-num {
    font-size: 2rem;
  }

  .stat-item {
    padding: 20px 12px;
  }

  .section-padding {
    padding: 44px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .form-card {
    padding: 18px 14px 14px;
  }

  .country-code-select {
    min-width: 72px;
    font-size: 0.78rem;
  }

  .footer-top {
    gap: 24px;
  }
}