/* =====================================================================
   LUNIVA SDRC — style.css
   Core design system, base styles, components & layout
   Author: Luniva Software Development & Research Center
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — matches the real Luniva website (luniva.com.np)
     Green + Orange on Charcoal / White, as seen on their live site. */
  --primary: #2e7d32;        /* Luniva green (buttons, hero arrows, active nav, back-to-top) */
  --primary-600: #266b2a;
  --primary-700: #1f5a23;
  --secondary: #f58634;      /* Luniva orange (section titles, icons, accents) */
  --accent: #f58634;
  --dark: #333333;           /* Charcoal nav bar */
  --dark-2: #222;
  --light-bg: #ffffff;      /* Luniva uses white body background */
  --light-gray: #f5f5f5;
  --hero-gray: #e8e8e8;
  --white: #FFFFFF;

  /* Semantic */
  --text: #111111;
  --muted: #666666;
  --border: #e5e5e5;
  --success: #2e7d32;
  --warning: #f58634;
  --info: #2e7d32;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
  --grad-accent: linear-gradient(135deg, #f58634 0%, #ffa552 100%);
  --grad-dark: linear-gradient(180deg, #333 0%, #1f1f1f 100%);

  /* Radius (Luniva uses slightly softer rounded corners) */
  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Shadows — softer, lighter (Luniva uses soft drop-shadows on cards) */
  --shadow-sm: 0 2px 6px rgba(0,0,0,.05);
  --shadow: 0 12px 32px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 50px rgba(0,0,0,.10);
  --shadow-primary: 0 16px 40px rgba(46, 125, 50, .28);
  --shadow-orange: 0 16px 40px rgba(245, 134, 52, .25);

  /* Layout */
  --nav-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--light-bg);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.02em;
  line-height: 1.15;
}
a { text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
p { color: var(--muted); }
section { position: relative; }
::selection { background: var(--secondary); color: #fff; }

/* ---------- Bootstrap overrides ---------- */
.container, .container-lg { max-width: var(--container); }
.text-muted-2 { color: var(--muted) !important; }
.bg-soft { background: var(--light-bg) !important; }
.bg-dark-grad { background: var(--grad-dark) !important; }
.text-grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-grad-accent {
  background: linear-gradient(135deg, #0d6efd 0%, #22a7e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons (Luniva style: pill-shaped green primary) ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .75rem 1.5rem; transition: all .3s var(--ease); font-family: 'Inter', sans-serif; font-size: .95rem; letter-spacing: .2px; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn-luniva { background: var(--primary); color: #fff; border: none; box-shadow: 0 10px 24px rgba(46,125,50,.28); position: relative; overflow: hidden; }
.btn-luniva:hover { background: var(--primary-600); color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(46,125,50,.38); }
.btn-accent { background: var(--grad-accent); color: #fff; border: none; box-shadow: var(--shadow-orange); }
.btn-accent:hover { color: #fff; transform: translateY(-3px); }
.btn-outline-luniva { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-luniva:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--primary); border: none; box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-3px); color: var(--primary); box-shadow: var(--shadow-lg); }

/* ---------- Section helpers ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  color: var(--secondary);
  padding: 0; background: none; margin-bottom: 1rem;
}
.eyebrow i { color: var(--secondary); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; color: #111; font-weight: 800; }
.section-title .section-orange { color: var(--secondary); display: block; font-size: 1.15rem; letter-spacing: .02em; text-transform: none; font-weight: 600; margin-bottom: .4rem; }
.section-subtitle { font-size: 1.02rem; color: var(--muted); max-width: 720px; line-height: 1.7; }
.text-orange { color: var(--secondary); }
.lead-2 { font-size: 1.12rem; color: var(--muted); }
.text-white * { color: #fff; }
.text-white .section-subtitle, .text-white p { color: rgba(255,255,255,.78); }
.text-white .eyebrow { background: rgba(255,255,255,.12); color: #cfe6ff; }

/* ---------- Glass + cards ---------- */
.glass { background: rgba(255,255,255,.65); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.5); }
.card-luniva {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 2rem; height: 100%; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card-luniva:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Icon tile */
.icon-tile {
  width: 64px; height: 64px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff; background: var(--grad-primary);
  box-shadow: var(--shadow-primary); margin-bottom: 1.25rem;
  transition: transform .4s var(--ease);
}
.icon-tile.alt { background: var(--grad-accent); box-shadow: var(--shadow-orange); }
.icon-tile.amber { background: var(--grad-accent); box-shadow: var(--shadow-orange); }
.icon-tile.soft { background: rgba(245,134,52,.1); color: var(--secondary); box-shadow: none; }
.card-luniva:hover .icon-tile { transform: scale(1.08) rotate(-4deg); }

/* Feature list check */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .65rem; padding: .4rem 0; color: var(--muted); font-weight: 500; }
.check-list li i { color: var(--primary); font-size: 1.15rem; margin-top: .1rem; }

/* =====================================================================
   TOP BAR (matches Luniva live site: white bar, orange icons, green social circles)
   ===================================================================== */
.topbar { background: #ffffff; color: #666; font-size: .88rem; padding: .7rem 0; border-bottom: 1px solid #eee; }
.topbar a { color: #666; }
.topbar a:hover { color: var(--primary); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar .tb-item i { color: var(--secondary); font-size: 1rem; }
.topbar .social a {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--primary); color: #fff; margin-left: .3rem; transition: all .3s;
}
.topbar .social a:hover { background: var(--secondary); transform: translateY(-2px); }

/* =====================================================================
   NAVBAR
   ===================================================================== */
/* Fixed header — entire topbar + navbar pinned to the top on every page.
   Body gets a padding-top equal to the total header height (handled in JS
   so it adapts to desktop vs mobile and to the topbar being hidden on mobile). */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.navbar-luniva {
  background: #333333; /* Luniva dark charcoal nav */
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all .35s var(--ease);
}
/* Luniva uses a non-glass white nav when scrolled? Keep dark but add subtle shadow */
.nav-wrap.scrolled .navbar-luniva { box-shadow: 0 6px 24px rgba(0,0,0,.18); background: #2c2c2c; }
/* Mobile: topbar is hidden, header height = navbar only */
@media (max-width: 767.98px) {
  .nav-wrap .topbar { display: none !important; }
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: 'Poppins'; font-weight: 800; font-size: 1rem; color: #fff; text-decoration: none; letter-spacing: .02em; }
.brand .brand-img { display: block; height: 38px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.18)); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text strong { font-size: 1rem; letter-spacing: .04em; }
.brand .brand-text small { display: block; font-size: .62rem; letter-spacing: .16em; color: rgba(255,255,255,.85); font-weight: 600; text-transform: uppercase; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; min-width: 0; }
.nav-list > li { white-space: nowrap; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: .25rem; padding: 1rem .8rem;
  font-weight: 500; color: #ffffff; font-size: .95rem; position: relative; letter-spacing: .3px;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 10px; width: 0; height: 2px;
  background: var(--primary); transition: all .3s var(--ease); transform: translateX(-50%);
}
.nav-list > li > a:hover, .nav-list > li.active > a { color: #fff; background: transparent; }
.nav-list > li > a:hover::after, .nav-list > li.active > a::after { width: 60%; }
.nav-list > li > a .caret { font-size: .7rem; transition: transform .3s; opacity: .7; }
.dropdown-luniva { position: relative; }
.mega-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 1rem; min-width: 320px; opacity: 0; visibility: hidden;
  transition: all .3s var(--ease); z-index: 50;
}
.dropdown-luniva:hover .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-panel a { display: flex; gap: .65rem; padding: .6rem; border-radius: var(--radius-sm); color: var(--dark-2); }
.mega-panel a:hover { background: rgba(46,125,50,.08); color: var(--primary); }
.mega-panel a i { color: var(--primary); font-size: 1.1rem; }
.mega-panel .mp-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: .4rem .6rem; }

/* Nav action cluster */
.nav-actions { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.navbar-luniva .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { flex-shrink: 0; }
.nav-actions { flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: all .3s var(--ease);
}
.icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.hamburger { width: 44px; height: 40px; border-radius: 6px; background: var(--primary); border: none; display: none; }
.hamburger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: .3s; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 2000; background: rgba(15,23,42,.5); backdrop-filter: blur(4px); /* keep dim overlay */
  opacity: 0; visibility: hidden; transition: opacity .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 380px); background: #fff;
  transform: translateX(100%); transition: transform .4s var(--ease); padding: 1.5rem; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel a.m-link { display: flex; align-items: center; justify-content: space-between; padding: .85rem .5rem; border-bottom: 1px solid var(--border); color: var(--dark); font-weight: 500; }
.mobile-panel a.m-link:hover { color: var(--primary); }
.mobile-close { align-self: flex-end; }

/* =====================================================================
   HERO  — matches Luniva live site: light grey background, large green heading,
   round green prev/next arrow buttons, illustration right
   ===================================================================== */
.hero { position: relative; padding: 80px 0 60px; overflow: hidden; background: var(--hero-gray); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.hero::after { content: none; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); font-weight: 800; color: var(--primary); line-height: 1.1; margin-bottom: 1.2rem; letter-spacing: -.03em; }
.hero h1 strong, .hero h1 .dark { color: var(--text); }
.hero .hero-sub { color: #555; font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: all .3s var(--ease); box-shadow: 0 8px 20px rgba(46,125,50,.3);
}
.hero-arrow:hover { background: var(--primary-600); color: #fff; transform: scale(1.08); }
.hero-arrow.small { width: 46px; height: 46px; font-size: 1.1rem; }
.hero .container { position: relative; z-index: 2; }
@media (min-width: 992px) {
  .hero { min-height: 520px; display: flex; align-items: center; }
  .hero h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
}
.hero-pills { display: none; }
.hero-pill { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--border); padding: .4rem .9rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.hero-pill i { color: var(--success); }
.tag-pill:hover { background: var(--primary); color: #fff; }

/* Hero visual / dashboard mockup */
.hero-visual { position: relative; }
.dash-mockup {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
}
.dash-bar { display: flex; align-items: center; gap: .35rem; padding: .7rem 1rem; background: var(--light-bg); border-bottom: 1px solid var(--border); }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.dash-body { display: grid; grid-template-columns: 64px 1fr; }
.dash-side { background: linear-gradient(180deg, #2e7d32, #1b5e20); padding: .8rem .4rem; display: flex; flex-direction: column; gap: .7rem; align-items: center; }
.dash-side span { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: #cfe6ff; font-size: .85rem; }
.dash-side span:first-child { background: var(--grad-primary); color: #fff; }
.dash-main { padding: 1rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.dash-kpi { background: var(--light-bg); border-radius: 10px; padding: .6rem; }
.dash-kpi b { display: block; font-family: 'Poppins'; font-size: 1.05rem; color: var(--dark); }
.dash-kpi small { color: var(--muted); font-size: .68rem; }
.dash-chart { display: flex; align-items: flex-end; gap: .45rem; height: 90px; padding: .5rem; background: linear-gradient(180deg, rgba(46,125,50,.08), transparent); border-radius: 10px; }
.dash-chart span { flex: 1; background: var(--grad-primary); border-radius: 5px 5px 0 0; opacity: .9; }
.dash-line { height: 56px; margin-top: .7rem; border-radius: 10px; background:
  linear-gradient(180deg, transparent, rgba(46,125,50,.06)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60'%3E%3Cpath d='M0 45 C30 20 50 55 80 30 S140 5 200 25' fill='none' stroke='%232e7d32' stroke-width='2.5'/%3E%3C/svg%3E") center/cover no-repeat; }

/* Floating glass cards on hero */
.float-card { position: absolute; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .8rem 1rem; display: flex; align-items: center; gap: .65rem; font-size: .85rem; font-weight: 600; color: var(--dark); }
.float-card i { font-size: 1.3rem; }
.fc-1 { top: 8%; left: -6%; }
.fc-2 { bottom: 10%; left: -2%; }
.fc-3 { bottom: -6%; right: 6%; }

/* =====================================================================
   STAT / COUNTERS
   ===================================================================== */
.stat-band {
  background: var(--primary);
  color: #fff; border-radius: 0; padding: 3rem 2rem; position: relative; overflow: hidden;
  box-shadow: none;
}
.stat-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.08), transparent); }
.stat-item { text-align: center; position: relative; }
.stat-num { font-family: 'Poppins'; font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; }
.stat-num .suffix { color: var(--secondary); }
.stat-num .suffix { color: #7cc3ff; }
.stat-label { color: rgba(255,255,255,.8); font-weight: 500; margin-top: .5rem; }

/* =====================================================================
   CARDS GRID (features, products, services)
   ===================================================================== */
.feat-card { text-align: left; }
.feat-card h5 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-icon-row { display: flex; gap: .75rem; align-items: flex-start; }
.product-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product-card .pc-media { height: 180px; position: relative; overflow: hidden; background: var(--grad-dark); display: flex; align-items: center; justify-content: center; }
.product-card .pc-media i { font-size: 3.2rem; color: rgba(255,255,255,.9); }
.product-card .pc-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-body h5 { font-size: 1.2rem; }
.product-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.9); color: var(--primary); font-size: .72rem; font-weight: 600; padding: .25rem .7rem; border-radius: var(--radius-pill); }

/* Service cards — matches the luniva.com.np services layout
   (big image top, orange icon badge, bold title, grey description below) */
.service-card {
  background: #f9f9f9; border-radius: 10px; overflow: hidden; height: 100%;
  box-shadow: var(--shadow-sm); transition: all .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .sc-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.service-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .sc-media img { transform: scale(1.06); }
.service-card .sc-icon {
  position: absolute; bottom: -28px; left: 24px;
  width: 64px; height: 64px; border-radius: 12px;
  background: var(--secondary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: var(--shadow-orange); z-index: 2;
}
.service-card .sc-body { padding: 40px 22px 26px; }
.service-card .sc-body h4 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.35rem; color: #111; margin-bottom: .6rem;
}
.service-card .sc-body p { color: var(--muted); margin-bottom: 0; font-size: .95rem; line-height: 1.7; }

/* =====================================================================
   SCREENSHOT / TABS
   ===================================================================== */
.screenshot-frame { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.ss-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ss-tab { border: 1px solid var(--border); background: #fff; border-radius: var(--radius-pill); padding: .55rem 1.2rem; font-weight: 600; font-size: .9rem; color: var(--dark-2); cursor: pointer; transition: all .3s; }
.ss-tab.active, .ss-tab:hover { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }

/* =====================================================================
   TIMELINE
   ===================================================================== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item::before { content: ""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 0 0 4px rgba(13,110,253,.14); }
.tl-year { font-family: 'Poppins'; font-weight: 700; color: var(--primary); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testi-slider { position: relative; }
.testi-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem; border: 1px solid var(--border); }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .6s var(--ease); }
.testi-slides > * { min-width: 100%; padding: .4rem; }
.testi-quote { font-size: 1.05rem; color: var(--dark-2); }
.testi-stars { color: #F59E0B; }
.testi-author { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.testi-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--light-bg); }
.slider-ctrl { display: flex; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: all .3s; }
.slider-dot.active { background: var(--grad-primary); width: 28px; border-radius: var(--radius-pill); }

/* =====================================================================
   AREA AGENTS
   ===================================================================== */
.agent-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; text-align: center;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: all .4s var(--ease); height: 100%;
}
.agent-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.agent-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.agent-card:hover::before { transform: scaleX(1); }
.agent-ico { width: 66px; height: 66px; margin: 0 auto 1rem; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; background: var(--grad-primary); box-shadow: var(--shadow-primary); transition: transform .4s var(--ease); }
.agent-card:hover .agent-ico { transform: rotate(-6deg) scale(1.06); }
.agent-region { font-family: 'Poppins'; font-weight: 700; font-size: 1.15rem; color: var(--dark); }
.agent-phone { color: var(--muted); font-size: .95rem; margin: .25rem 0 1.1rem; display: flex; align-items: center; justify-content: center; gap: .4rem; }
.agent-call { display: inline-flex; align-items: center; gap: .5rem; background: rgba(13,110,253,.08); color: var(--primary); font-weight: 600; padding: .6rem 1.2rem; border-radius: var(--radius-pill); transition: all .3s; }
.agent-call:hover { background: var(--grad-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-primary); }

/* =====================================================================
   GALLERY + LIGHTBOX
   ===================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 1/1; background: var(--grad-dark); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gal-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.7)); opacity: 0; display: flex; align-items: flex-end; padding: 1rem; color: #fff; transition: opacity .4s; }
.gallery-item:hover .gal-overlay { opacity: 1; }
.gallery-item .gal-overlay i { position: absolute; top: 1rem; right: 1rem; font-size: 1.3rem; }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(15,23,42,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; color: #fff; background: rgba(255,255,255,.12); border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   BLOG
   ===================================================================== */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .bc-media { height: 200px; overflow: hidden; position: relative; }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .bc-media img { transform: scale(1.08); }
.blog-card .bc-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-cat { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--primary); background: rgba(13,110,253,.1); padding: .25rem .7rem; border-radius: var(--radius-pill); }
.blog-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 1rem; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.sidebar-card h5 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--light-bg); }
.cat-link { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--dark-2); font-weight: 500; border-bottom: 1px dashed var(--border); }
.cat-link:hover { color: var(--primary); }
.cat-link span { background: var(--light-bg); border-radius: var(--radius-pill); padding: .1rem .6rem; font-size: .8rem; }
.recent-item { display: flex; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.recent-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.recent-item small { color: var(--muted); }
.tag-pill { display: inline-block; padding: .3rem .8rem; background: var(--light-bg); border-radius: var(--radius-pill); font-size: .8rem; margin: 0 .25rem .5rem 0; color: var(--dark-2); }
.tag-pill:hover { background: var(--primary); color: #fff; }

/* =====================================================================
   FAQ
   ===================================================================== */
.accordion-luniva .acc-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.accordion-luniva .acc-item.active { box-shadow: var(--shadow); border-color: rgba(13,110,253,.35); }
.accordion-luniva .acc-head { width: 100%; text-align: left; background: none; border: none; padding: 1.3rem 1.5rem; font-family: 'Poppins'; font-weight: 600; font-size: 1.05rem; color: var(--dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion-luniva .acc-head i { transition: transform .35s; color: var(--primary); flex: none; }
.accordion-luniva .acc-item.active .acc-head i { transform: rotate(180deg); }
.accordion-luniva .acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion-luniva .acc-body-inner { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-control, .form-select { border-radius: var(--radius-sm); border: 1px solid var(--border); padding: .8rem 1rem; font-size: .97rem; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,110,253,.14); }
.form-label { font-weight: 600; color: var(--dark-2); margin-bottom: .4rem; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.invalid-feedback { display: none; }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #dc3545; }
.field-msg { color: #dc3545; font-size: .82rem; margin-top: .25rem; display: none; }
.field-msg.show { display: block; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item .ci-ico { width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-band { background: var(--grad-primary); border-radius: 28px; padding: 3.5rem; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-primary); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 90% at 90% 10%, rgba(255,255,255,.18), transparent 60%); }
.cta-band h2 { color: #fff; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-header { position: relative; padding: 170px 0 70px; background: #fff; color: var(--text); overflow: hidden; border-bottom: 1px solid #eee; }
.page-header::before, .page-header::after { content: none; }
.page-header .container { position: relative; z-index: 2; text-align: center; }
.page-header h1 { color: #111; font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 800; }
.breadcrumb-luniva { display: flex; gap: .5rem; flex-wrap: wrap; color: #999; font-size: .9rem; justify-content: center; }
.breadcrumb-luniva a { color: var(--primary); }
.breadcrumb-luniva a:hover { color: var(--primary-600); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: 4rem; }
.site-footer h6 { color: #fff; font-family: 'Poppins'; font-size: 1rem; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: rgba(255,255,255,.7); display: inline-block; padding: .25rem 0; font-size: .94rem; }
.site-footer a:hover { color: var(--secondary); padding-left: 4px; }
.footer-brand { color: #fff; }
.footer-news input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: var(--radius-sm); }
.footer-news input::placeholder { color: rgba(255,255,255,.5); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-right: .5rem; }
.footer-social a:hover { background: var(--grad-primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.5rem 0; font-size: .88rem; }

/* =====================================================================
   FLOATING UI: scroll progress, back to top, loader, search
   ===================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-primary); z-index: 1200; transition: width .1s linear; }
.back-to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; border: none; box-shadow: 0 8px 20px rgba(46,125,50,.35); z-index: 1100; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s var(--ease); font-size: 1.2rem; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }
#pageLoader { position: fixed; inset: 0; z-index: 4000; background: var(--grad-dark); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.4rem; transition: opacity .5s, visibility .5s; }
#pageLoader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 64px; height: 64px; border-radius: 16px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 1.6rem; animation: pulseLogo 1.4s ease-in-out infinite; }
.loader-ring { width: 46px; height: 46px; border: 4px solid rgba(255,255,255,.15); border-top-color: var(--secondary); border-radius: 50%; animation: spin .8s linear infinite; }

.search-overlay { position: fixed; inset: 0; z-index: 2500; background: rgba(15,23,42,.85); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay.open { display: flex; }
.search-box { width: min(680px, 92vw); }
.search-box input { background: #fff; border: none; border-radius: var(--radius); padding: 1.2rem 1.5rem; font-size: 1.1rem; box-shadow: var(--shadow-lg); }
.search-results { background: #fff; border-radius: var(--radius); margin-top: .8rem; overflow: hidden; max-height: 50vh; overflow-y: auto; }
.search-results a { display: block; padding: .9rem 1.4rem; border-bottom: 1px solid var(--border); color: var(--dark-2); }
.search-results a:hover { background: var(--light-bg); color: var(--primary); }
.search-results a small { color: var(--muted); }
.search-empty { padding: 1.2rem; color: var(--muted); text-align: center; }

/* ---------- Misc helpers ---------- */
.divider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); display: inline-block; }
.radius-lg { border-radius: var(--radius) !important; }
.object-cover { object-fit: cover; }
.bg-grad-primary { background: var(--grad-primary) !important; }
.rounded-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.no-scroll { overflow: hidden; }
.badge-soft { background: rgba(13,110,253,.1); color: var(--primary); padding: .3rem .7rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; }
.benefit-num { font-family: 'Poppins'; font-weight: 800; font-size: 1.4rem; color: rgba(13,110,253,.18); }

/* =====================================================================
   SUPPLEMENTAL COMPONENTS
   ===================================================================== */
/* Hero fade slider — each slide is a full two-column (text + image) slide */
.hero-slides { position: relative; min-height: 420px; }
.hero-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease); pointer-events: none;
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; pointer-events: auto; }
.hero-slide .hero-text { padding: 1rem 0; }
.hero-slide .hero-image { text-align: right; }
.hero-slide .hero-image img,
.hero-slide .hero-image svg { max-width: 100%; height: auto; max-height: 420px; display: inline-block; }
.hero-image .product-chips { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.hero-dots { display: flex; gap: .5rem; margin-top: 1.6rem; align-items: center; }
@media (max-width: 991.98px) {
  .hero-slides { min-height: auto; }
  .hero-slide {
    grid-template-columns: 1fr; gap: 1.5rem; text-align: center;
    position: absolute; left: 0; right: 0;
  }
  .hero-slide.active { position: relative; }
  /* Text comes first on mobile, image below */
  .hero-slide .hero-text { order: 1; }
  .hero-slide .hero-image { order: 2; text-align: center; }
  .hero-slide .hero-image svg,
  .hero-slide .hero-image .rounded-media { max-height: 280px; margin: 0 auto; }
  .hero-image .product-chips { justify-content: center; }
  .hero-slides ~ .d-flex { justify-content: center; }
  .hero { padding: 40px 0 60px; }
}
.hero-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s var(--ease); }
.hero-arrow:hover { background: var(--grad-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* Tab panels */
.ss-panel { display: none; }
.ss-panel.active { display: block; animation: popIn .5s var(--ease) both; }

/* Filter buttons */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.2rem; }
.filter-btn { border: 1px solid var(--border); background: #fff; border-radius: var(--radius-pill); padding: .5rem 1.2rem; font-weight: 600; font-size: .9rem; color: var(--dark-2); cursor: pointer; transition: all .3s var(--ease); }
.filter-btn.active, .filter-btn:hover { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }

/* Process / steps */
.step-card { text-align: center; position: relative; padding: 1rem; }
.step-num { width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 18px; background: #fff; border: 2px dashed var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-family: 'Poppins'; font-weight: 800; font-size: 1.4rem; box-shadow: var(--shadow-sm); }
.step-card h5 { font-size: 1.1rem; }

/* Value cards */
.value-card { border-left: 4px solid var(--primary); }

/* Case study */
.case-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; height: 100%; }
.case-card .cc-media { height: 200px; overflow: hidden; }
.case-card .cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .cc-media img { transform: scale(1.08); }
.case-card .cc-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.case-metric { font-family: 'Poppins'; font-weight: 800; font-size: 1.8rem; color: var(--primary); }

/* Map placeholder */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); aspect-ratio: 16/10; background: var(--light-bg); position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Job listing */
.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: all .3s var(--ease); border-left: 4px solid transparent; }
.job-card:hover { box-shadow: var(--shadow); border-left-color: var(--primary); transform: translateX(4px); }
.job-tag { font-size: .78rem; font-weight: 600; color: var(--primary); background: rgba(13,110,253,.09); padding: .3rem .7rem; border-radius: var(--radius-pill); }

/* Pricing / plan card */
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; height: 100%; box-shadow: var(--shadow-sm); position: relative; transition: all .4s var(--ease); }
.plan-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-primary); transform: translateY(-6px); }
.plan-price { font-family: 'Poppins'; font-weight: 800; font-size: 2.6rem; color: var(--dark); }
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 500; }

/* Feature with screenshot split */
.feature-shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* Brand mark refinements */
.brand .brand-mark { display: inline-flex; align-items: center; justify-content: center; }
.brand .brand-mark .brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); position: absolute; top: 7px; right: 8px; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text small { font-size: .62rem; letter-spacing: .16em; color: rgba(255,255,255,.85); font-weight: 600; text-transform: uppercase; }

/* Trusted logo tile */
.client-logo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); height: 110px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: all .35s var(--ease); gap: .5rem; font-family: 'Poppins'; font-weight: 700; color: var(--dark-2); }
.client-logo i { font-size: 1.6rem; color: var(--primary); }
.client-logo:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--primary); }

/* Phone mockup */
.phone-mock { width: 230px; margin: 0 auto; background: var(--dark); border-radius: 30px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-mock .pm-screen { background: linear-gradient(160deg, #1b5e20 0%, #2e7d32 60%, #f58634 140%); border-radius: 22px; overflow: hidden; aspect-ratio: 9/18; padding: 1rem; color: #fff; display: flex; flex-direction: column; gap: .7rem; }
.phone-mock .pm-notch { width: 70px; height: 6px; background: rgba(255,255,255,.4); border-radius: 999px; margin: 4px auto; }

/* Two-column FAQ */
.faq-side .accordion-luniva .acc-item { margin-bottom: .8rem; }

/* Video play button */
.play-btn { width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow-lg); position: relative; }
.play-btn::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: pulseRing 2s infinite; }
@keyframes pulseRing { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }

/* Helper spacing */
.mt-n1 { margin-top: -.25rem; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

