:root{
  --bg:#ffffff;
  --surface:#f7f8fb;
  --text:#0b1220;
  --muted:#475467;
  --border:#e6e8ef;

  --brand:#6d28d9;        /* purple */
  --brand2:#0ea5e9;       /* blue */
  --ok:#16a34a;

  --shadow:0 14px 40px rgba(11,18,32,.10);
  --shadow2:0 10px 26px rgba(11,18,32,.08);

  --radius:18px;
  --radius2:14px;
  --max:1180px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.muted{color:var(--muted)}
.small{font-size:13px; color:var(--muted)}
.hr{height:1px; background:var(--border); margin:14px 0}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border:1px solid var(--border);
  background:linear-gradient(180deg,#fff, #fafbff);
  border-radius:999px;
  font-size:13px;
  box-shadow:0 8px 18px rgba(11,18,32,.06);
  margin-right:10px;
  white-space:nowrap;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 0 0 4px rgba(109,40,217,.12);
}

/* Header */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  overflow: visible;

}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;              /* tightened */
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
  font-weight:800;
  letter-spacing:-0.4px;
}
.logo{
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 10px 24px rgba(109,40,217,.20);
  position:relative;
}
.logo:after{
  content:""; position:absolute; inset:8px;
  border-radius:8px; border:1px solid rgba(255,255,255,.55);
}
.navlinks{
  display:flex; align-items:center; gap:14px;
  font-size:14px;
}
.navlinks a{
  text-decoration:none; color:var(--muted);
  padding:8px 10px; border-radius:10px;
}
.navlinks a:hover{background:var(--surface); color:var(--text)}
.navcta{display:flex; align-items:center; gap:10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  box-shadow:0 10px 22px rgba(11,18,32,.06);
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  border:none;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#fff;
  box-shadow:0 16px 34px rgba(109,40,217,.25);
}
.menuBtn{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-weight:700;
}

/* =========================
   MOBILE MENU (FIXED + STYLED)
   ========================= */

/* Force-hide desktop nav on mobile (important because .navlinks.megaNav may override) */
@media (max-width: 980px){
  .navlinks,
  .navlinks.megaNav{
    display:none !important;
  }
  .menuBtn{
    display:inline-flex !important;
  }
}

/* Mobile accordion groups */
.mobileGroup{
  border-top:1px solid var(--border);
  padding-top:10px;
  margin-top:10px;
}

/* Style the group button (this is what looked odd) */
.mobileGroupBtn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;

  font:inherit;
  font-weight:650;
  color:var(--text);
  cursor:pointer;
}

.mobileGroupBtn:hover{
  background:var(--surface);
}

/* Hide panels by default */
.mobileGroupPanel{
  display:none;
  padding:8px 4px 0;
}

/* Rotate chevron when open */
.mobileGroupBtn .chev{
  transition: transform .18s ease;
}

/* OPEN STATE (supports multiple common JS toggles) */
.mobileGroup.open .mobileGroupPanel{
  display:block;
}
.mobileGroup.open .mobileGroupBtn .chev{
  transform: rotate(180deg);
}

/* If your JS uses aria-expanded on the button instead of .open */
.mobileGroupBtn[aria-expanded="true"] + .mobileGroupPanel{
  display:block;
}
.mobileGroupBtn[aria-expanded="true"] .chev{
  transform: rotate(180deg);
}

/* Links inside the panel */
.mobileGroupPanel a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--muted);
}
.mobileGroupPanel a:hover{
  background:var(--surface);
  color:var(--text);
}


/* Hero */
.hero{
  padding:36px 0 10px;          /* tightened */
  position:relative;
  overflow:hidden;
}
.glow{
  position:absolute;
  width:720px; height:720px;
  left:50%; top:-360px;
  transform:translateX(-50%);
  background:radial-gradient(circle at center, rgba(109,40,217,.22), rgba(14,165,233,.12), transparent 65%);
  filter:blur(2px);
  pointer-events:none;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.hTitle{
  font-size:44px;
  line-height:1.05;
  letter-spacing:-1.3px;
  margin:16px 0 12px;
}
.sub{
  font-size:16px;
  margin:0 0 18px;
  color:var(--muted);
  max-width:60ch;
}
.heroCtas{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.mini{display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 0} /* tightened */

/* Sections */
section{padding:44px 0}
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; margin-bottom:16px;
}
.eyebrow{
  font-size:13px; font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--brand);
}
h1,h2,h3{margin:0}
h2{font-size:26px; letter-spacing:-.6px}
.lead{margin:0; color:var(--muted); max-width:70ch}

/* Cards & grids */
.card{
  background:linear-gradient(180deg,#fff, #fbfcff);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow2);
}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
.icon{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  background:rgba(109,40,217,.10);
  border:1px solid rgba(109,40,217,.18);
  font-size:18px;
  margin-bottom:10px;
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}
.list{margin:12px 0 0; padding:0; list-style:none; display:grid; gap:8px}
.list li{display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:14px}
.check{
  width:18px; height:18px; border-radius:6px;
  background:rgba(22,163,74,.12);
  border:1px solid rgba(22,163,74,.22);
  display:inline-grid; place-items:center;
  color:var(--ok);
  font-weight:900;
  flex:0 0 auto;
  margin-top:1px;
}

/* Tabs */
.tabs{display:flex; gap:8px; flex-wrap:wrap; margin:10px 0 14px}
.tab{
  border:1px solid var(--border);
  background:#fff;
  padding:9px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:650;
  font-size:13px;
  color:var(--muted);
}
.tab.active{
  background:linear-gradient(135deg, rgba(109,40,217,.14), rgba(14,165,233,.12));
  border-color:rgba(109,40,217,.28);
  color:var(--text);
}
.tabPanel{display:none}
.tabPanel.active{display:block}

/* Forms */
input, textarea{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  font:inherit;
  background:#fff;
}



/* Utilities */
.pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; color:var(--muted);
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
}
.price{display:flex; align-items:baseline; gap:8px; margin:6px 0 10px}
.price .big{font-size:28px; font-weight:900; letter-spacing:-.7px}
.price .per{color:var(--muted); font-size:13px}

/* Mobile */
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .hTitle{font-size:38px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .footgrid{grid-template-columns:1fr}
  .navlinks{display:none}
  .menuBtn{display:inline-flex}
  .navcta .btn{display:none}
  .navcta .btn.primary{display:inline-flex}
}

/* Mobile menu open state */
.mobileMenu.open { display: block; }

/* Force hide on desktop even if open class exists */
@media (min-width: 981px){
  .mobileMenu,
  .mobileMenu.open { display:none !important; }
}

.site-logo{
  height:34px;
  width:auto;
  display:block;
}

.logoGrid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
  align-items:stretch;
}

.logoItem{
  border:1px solid var(--border);
  background:linear-gradient(180deg,#fff, #fbfcff);
  border-radius:14px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  box-shadow:0 10px 22px rgba(11,18,32,.05);
  min-height:52px;
}

.logoItem img{
  width:24px;
  height:24px;
  border-radius:6px;
  flex:0 0 auto;
}

.logoItem span{
  font-size:13px;
  color:var(--muted);
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.webhookBadge{
  width:26px;
  height:26px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-weight:900;
  background:linear-gradient(135deg, rgba(109,40,217,.14), rgba(14,165,233,.12));
  border:1px solid rgba(109,40,217,.22);
  color:var(--text);
  flex:0 0 auto;
}

@media (max-width: 980px){
  .logoGrid{ grid-template-columns:repeat(2, 1fr); }
}

/* Screens in action */
.appGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
  margin:14px 0 10px;
}
.appTile{
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  padding:12px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 8px 18px rgba(11,18,32,.05);
}
.appIcon{font-size:18px; line-height:1}
.appName{font-weight:700; color:var(--text); font-size:13px}
@media (max-width: 900px){
  .appGrid{grid-template-columns:repeat(2, minmax(0,1fr))}
}

.screenGrid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 980px){
  .screenGrid{grid-template-columns:1fr}
}

.screenFigure{
  margin:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(109,40,217,.08), rgba(14,165,233,.05));
  padding:10px;
  box-shadow:var(--shadow2);
}
.screenFigure img{
  width:100%;
  height:auto;
  display:block;
  border-radius:calc(var(--radius) - 8px);
  border:1px solid rgba(0,0,0,.04);
  background:#fff;
}

.screenAside{position:sticky; top:86px}
@media (max-width: 980px){
  .screenAside{position:static}
}

.miniCard{
  padding:12px;
  box-shadow:none;
  background:var(--surface);
}
.miniCard b{display:block; margin:0 0 4px}

/* Force vertical centering of the LEFT screenshot block */
.screenFigure{
  align-self: center;
}

/* HARD LIMIT the screenshot size */
.screenFigure img{
  max-width: 100%;
  max-height: 420px;     /* ← KEY LINE */
  width: auto;
  height: auto;
  object-fit: contain;
}




/* ===== MEGA MENU (SAFE VERSION) ===== */
.megaNav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.megaTrigger {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 500;
}

.megaTrigger:hover {
  background: rgba(0,0,0,0.04);
}

.megaItem {
  position: relative;
}

.megaPanel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.08);
  z-index: 9999;
  display: none;
}

.megaItem.isOpen .megaPanel {
  display: block;
}

.megaPanelInner {
  padding: 18px;
}

.megaTitle {
  font-weight: 700;
  margin-bottom: 12px;
}

.megaGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.megaLink {
  display: block;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.06);
}

.megaLink:hover {
  background: #f7f7f7;
}

.megaLinkLabel {
  font-weight: 600;
}

.megaLinkDesc {
  font-size: 13px;
  opacity: .7;
  margin-top: 4px;
}
/* ===== Mega Menu Reset (IMPORTANT) ===== */
.navlinks.megaNav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navlinks.megaNav > a {
  display: none !important; /* hide old flat links if any remain */
}

.megaItem {
  position: relative;
}

.megaPanel {
  display: none;
}

.megaItem.isOpen > .megaPanel {
  display: block;
}


.megaPanel { z-index: 99999; }






.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  color: #111;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: #f6f7f9;
}



/* =========================================================
   FINAL FIXES (must be LAST in style.css)
   ========================================================= */

/* A) Fixed header ALWAYS */
.topbar{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  overflow: visible;
}

/* Make room for fixed header */
body{ padding-top: 72px; }
html{ scroll-padding-top: 72px; }

/* B) Desktop mega menu opens on hover (mouse devices) */
@media (hover:hover) and (pointer:fine){
  .megaItem:hover > .megaPanel,
  .megaItem:focus-within > .megaPanel{
    display: block !important;
  }
}

/* Keep click toggle fallback working (your header uses .isOpen via onclick) */
.megaItem.isOpen > .megaPanel{
  display: block !important;
}

/* C) IMPORTANT: prevent desktop nav from showing on mobile */
@media (max-width: 980px){
  .navlinks,
  .navlinks.megaNav{
    display: none !important;
  }
  .menuBtn{
    display: inline-flex !important;
  }
}

/* D) Mobile menu container (you were missing base rules in this file section) */
.mobileMenu{
  display:none;
  border-top:1px solid var(--border);
  padding:12px 0 16px;
}
.mobileMenu.open{ display:block; }

/* E) Style mobile accordion so it doesn’t look like default buttons */
.mobileGroup{
  border-top:1px solid var(--border);
  padding-top:10px;
  margin-top:10px;
}
.mobileGroupBtn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
  font-weight:650;
  color:var(--text);
  cursor:pointer;
}
.mobileGroupBtn:hover{ background:var(--surface); }
.mobileGroupPanel{ display:none; padding:8px 4px 0; }
.mobileGroup.open .mobileGroupPanel{ display:block; }
.mobileGroupBtn .chev{ transition: transform .18s ease; }
.mobileGroup.open .mobileGroupBtn .chev{ transform: rotate(180deg); }

.mobileGroupPanel a{
  display:block;
  text-decoration:none;
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
}
.mobileGroupPanel a:hover{
  background:var(--surface);
  color:var(--text);
}

/* Never show mobile menu on desktop */
@media (min-width: 981px){
  .mobileMenu,
  .mobileMenu.open{
    display:none !important;
  }
}



/* ===== FIX: Mobile dropdowns not clickable ===== */
@media (max-width: 980px){
  /* Ensure header doesn’t create a click-blocking layer */
  .topbar, .topbar *{
    pointer-events: auto;
  }

  /* Make sure mobile menu sits above page and receives taps */
  #mobileMenu{
    position: relative;
    z-index: 10000;
  }

  /* Buttons must be tappable */
  .mobileGroupBtn{
    position: relative;
    z-index: 10001;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Panel links must be tappable */
  .mobileGroupPanel,
  .mobileGroupPanel a{
    position: relative;
    z-index: 10001;
    pointer-events: auto;
  }
}

.mobileGroupPanel{ display:none; }
.mobileGroup.isOpen .mobileGroupPanel{ display:block; }
.mobileGroup.isOpen .mobileGroupBtn .chev{ transform: rotate(180deg); }


/* Mobile menu visibility */
.mobileMenu{ display:none; }
.mobileMenu.open{ display:block; }

/* Mobile accordion (single source of truth) */
.mobileGroupPanel{ display:none; }
.mobileGroup.isOpen .mobileGroupPanel{ display:block; }
.mobileGroupBtn .chev{ transition: transform .18s ease; }
.mobileGroup.isOpen .mobileGroupBtn .chev{ transform: rotate(180deg); }


/* Make sure taps are not blocked */
@media (max-width: 980px){
  #mobileMenu{ position: relative; z-index: 10000; }
  .mobileGroupBtn, .mobileGroupPanel, .mobileGroupPanel a{
    pointer-events:auto;
    touch-action: manipulation;
  }
}





/* Testimonials carousel */
.tSection{background:linear-gradient(180deg,#f7f9ff,#ffffff)}
.tCarousel{position:relative; margin-top:12px}
.tViewport{overflow:hidden; border-radius:var(--radius)}
.tTrack{display:flex; transition:transform .45s ease; will-change:transform}
.tSlide{min-width:100%; padding:6px}
.tCard{max-width:760px; margin:0 auto}
.tTop{display:flex; align-items:center; gap:14px; margin-bottom:10px}
.tAvatar{width:54px; height:54px; border-radius:999px; border:1px solid var(--border); object-fit:cover}
.tMeta{display:flex; flex-direction:column; gap:2px}
.tName{font-weight:900}
.tRole{font-size:14px; color:var(--muted)}
.tStars{display:flex; gap:2px; margin-top:2px}
.tStars .star{color:#f59e0b; font-size:14px; line-height:1}
.tQuote{margin:10px 0 0; color:var(--text); font-size:16px; line-height:1.7}

.tNav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:999px;
  border:1px solid var(--border); background:#fff;
  box-shadow:var(--shadow2); cursor:pointer;
  display:grid; place-items:center;
  font-size:22px; line-height:1;
}
.tNav:hover{filter:brightness(.98)}
.tNav.prev{left:-6px}
.tNav.next{right:-6px}

.tDots{display:flex; justify-content:center; gap:8px; margin-top:12px}
.tDots .dot{
  width:10px; height:10px; border-radius:999px;
  border:1px solid var(--border);
  background:#fff; cursor:pointer;
}
.tDots .dot.active{background:var(--brand); border-color:var(--brand)}
.tCTA{display:flex; justify-content:center; margin-top:18px}

@media (max-width:640px){
  .tNav.prev{left:-10px}
  .tNav.next{right:-10px}
}



/* ===========================
   Testimonials - HARD FIX
   =========================== */

.testimonials {
  padding: 80px 20px;
}

.testimonials .container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .testimonials-header {
    grid-template-columns: 1fr;
  }
}

/* Slider shell */
.testimonials-slider {
  position: relative;
  overflow: hidden;            /* hides non-active slides */
  border-radius: 16px;
}

/* Track + slides */
.testimonials-track {
  display: flex;
  transition: transform 350ms ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;              /* one slide per view */
  padding: 0;
}

/* Card */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 220px;
}

/* Avatar: stop the huge circles */
.testimonial-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(2, 132, 199, 0.08);
  display: grid;
  place-items: center;
}

.testimonial-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Text */
.testimonial-meta strong {
  display: block;
  font-weight: 700;
  color: #0f172a;
}

.testimonial-meta span {
  display: block;
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 2px;
}

.testimonial-stars {
  margin: 8px 0 10px;
  letter-spacing: 1px;
  color: #0f172a;
  font-size: 0.95rem;
}

.testimonial-quote {
  color: #334155;
  line-height: 1.6;
}

/* Nav buttons */
.testimonial-nav {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.testimonial-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.testimonial-btn:hover {
  background: #fff;
}

/* Dots */
.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.testimonial-dot.is-active {
  background: rgba(99, 102, 241, 1);
}





/* Awards Carousel (Homepage) */
.awardsCard { 
  padding: 18px; 
  overflow: hidden; 
}

.awardsTop { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  margin-bottom: 12px; 
}

.awardsMarquee{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  padding: 16px 0;
}

/* Edge fade */
.awardsMarquee::before,
.awardsMarquee::after{
  content:"";
  position:absolute;
  top:0; 
  bottom:0;
  width: 90px;
  pointer-events:none;
  z-index: 2;
}

.awardsMarquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.awardsMarquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* 🔥 FIXED moving track */
.awardsTrack{
  display: inline-flex;        /* prevents width collapsing */
  flex-wrap: nowrap;           /* NEVER wrap */
  align-items: center;
  gap: 18px;

  width: fit-content;          /* key fix */
  white-space: nowrap;

  will-change: transform;
  animation: awardsMarqueeMove 18s linear infinite !important;
}

/* Pause on hover */
.awardsMarquee:hover .awardsTrack { 
  animation-play-state: paused; 
}

/* Logo cards */
.awardLogo{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:#fff;
  box-shadow: var(--shadow2);
  user-select:none;

  flex: 0 0 auto;              /* 🔥 CRITICAL: prevent shrinking */
}

/* Bigger logos */
.awardLogo img{
  display:block;
  height: 74px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* Continuous loop animation */
@keyframes awardsMarqueeMove{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

/* Responsive */
@media (max-width: 900px){
  .awardLogo img{ height: 62px; }
  .awardsTrack{ animation-duration: 16s; }
}


/* =========================
   CSR v3 (conflict-safe)
   ========================= */
.csr3{padding:84px 0;background:linear-gradient(180deg,rgba(99,102,241,.06),rgba(16,185,129,.05));border-top:1px solid rgba(15,23,42,.08);border-bottom:1px solid rgba(15,23,42,.08)}
.csr3 *{box-sizing:border-box}
.csr3__head{max-width:820px;margin:0 0 26px}
.csr3__kicker{display:inline-block;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:12px;padding:6px 10px;border-radius:999px;background:rgba(99,102,241,.12);color:#4f46e5}
.csr3__title{margin:12px 0 10px;font-size:clamp(28px,3vw,40px);line-height:1.15;color:#0f172a}
.csr3__sub{margin:0;color:rgba(15,23,42,.75);font-size:16px;line-height:1.6}

.csr3__layout{display:grid;grid-template-columns:1.3fr .9fr;gap:22px;align-items:start}
.csr3__left,.csr3__right{min-width:0}

.csr3__metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.csr3__metric{display:grid;grid-template-columns:66px 1fr;gap:12px;align-items:center;padding:12px;border-radius:16px;background:rgba(255,255,255,.85);border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 30px rgba(15,23,42,.05)}
.csr3__metricVal{height:46px;width:66px;border-radius:14px;display:grid;place-items:center;font-weight:900;color:#0f172a;background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.22)}
.csr3__metricTxt strong{display:block;font-size:14px;line-height:1.2;color:#0f172a}
.csr3__metricTxt span{display:block;font-size:13px;margin-top:2px;color:rgba(15,23,42,.72)}

.csr3__stepsCard{padding:16px;border-radius:18px;background:rgba(255,255,255,.82);border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 30px rgba(15,23,42,.05)}
.csr3__steps{margin:0;padding-left:20px}
.csr3__steps li{margin:0;padding:14px 0}
.csr3__steps li+li{border-top:1px solid rgba(15,23,42,.08)}
.csr3__steps h4{margin:0 0 7px;font-size:15px;color:#0f172a}
.csr3__steps p{margin:0;color:rgba(15,23,42,.72);font-size:14px;line-height:1.6}

.csr3__bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.csr3__box{padding:16px;border-radius:18px;background:rgba(255,255,255,.82);border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 30px rgba(15,23,42,.05)}
.csr3__box h4{margin:0 0 10px;font-size:15px;color:#0f172a}
.csr3__box p{margin:0 0 12px;color:rgba(15,23,42,.72);font-size:14px;line-height:1.6}

.csr3__list{margin:0;padding-left:18px;color:rgba(15,23,42,.72);font-size:14px;line-height:1.6}
.csr3__list li{margin:8px 0}

.csr3__cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.csr3__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:12px;font-weight:700;text-decoration:none;font-size:14px;border:1px solid rgba(15,23,42,.14);color:#0f172a;background:#fff}
.csr3__btn--primary{background:#4f46e5;border-color:#4f46e5;color:#fff}
.csr3__btn--ghost{background:rgba(255,255,255,.75)}
.csr3__btn:hover{transform:translateY(-1px)}

.csr3__imageCard{border-radius:18px;background:rgba(255,255,255,.82);border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 30px rgba(15,23,42,.05);padding:14px}
.csr3__img{display:block;width:100%;height:auto;border-radius:14px}

.csr3__note{margin-top:12px;padding:16px;border-radius:18px;background:rgba(15,23,42,.03);border:1px solid rgba(15,23,42,.08)}
.csr3__note h4{margin:0 0 8px;font-size:16px;color:#0f172a}
.csr3__note p{margin:0;color:rgba(15,23,42,.72);font-size:14px;line-height:1.6}

@media (max-width:980px){
  .csr3__layout{grid-template-columns:1fr}
}
@media (max-width:680px){
  .csr3{padding:64px 0}
  .csr3__metrics{grid-template-columns:1fr}
  .csr3__bottom{grid-template-columns:1fr}
}

.csr3__note{
  text-align: center;
  display: grid;
  place-items: center;
}


/* =========================
   Our Team page
   ========================= */
.teamSection{padding:64px 0}
.teamAlt{background:var(--surface)}

.teamGrid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
  align-items:stretch;
}

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

.teamCard{
  background:linear-gradient(180deg,#fff,#fbfcff);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow2);
}

.teamCard h3{margin:0 0 6px; font-size:16px}
.teamCard p{margin:0; color:var(--muted); font-size:14px; line-height:1.6}
.teamCard .role{
  font-size:13px;
  font-weight:800;
  color:var(--brand);
  margin:6px 0 10px;
}

.avatarPlaceholder{
  width:64px;
  height:64px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.05em;
  margin-bottom:12px;
  box-shadow:0 12px 26px rgba(109,40,217,.18);
}

/* Responsive */
@media (max-width: 980px){
  .teamGrid,
  .leadershipGrid{
    grid-template-columns:1fr;
  }
}

/* =========================
   Team page – group photo fix
   ========================= */

.team-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

/* Limit height so it never dominates the page */
.team-hero-image-wrap {
  margin-top: 20px;
  max-height: 420px;
  overflow: hidden;
  border-radius: 18px;
}

/* Team cards should never allow content to overflow */
.teamCard{
  overflow:hidden;
}

/* Defensive: any image inside team cards can't overflow */
.teamCard img{
  max-width:100%;
  height:auto;
  display:block;
}

/* Leadership header layout */
.teamHeader{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.teamAvatar{
  width:54px;
  height:54px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid var(--border);
  flex:0 0 auto;
}

.teamName{
  font-weight:900;
  color:var(--text);
  line-height:1.2;
}

.teamTitle{
  font-size:13px;
  color:var(--muted);
  margin-top:2px;
}


/* =========================
   DISPATCH MODULE PAGE
   ========================= */

.dispatchGradientText{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Hero shots (placeholders) */
.dispatchShots{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 980px){
  .dispatchShots{ grid-template-columns:1fr; }
}

.shotCard{
  border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fbfcff);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.shotTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.shotTag{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--brand);
}
.shotDots{ display:flex; gap:6px; }
.shotDots span{
  width:8px; height:8px; border-radius:999px;
  background:rgba(15,23,42,.12);
}
.shotBody{ padding:12px; }

.shotPlaceholder{
  border-radius:14px;
  min-height:170px;
  padding:14px;
  border:1px dashed rgba(15,23,42,.18);
  background:
    radial-gradient(circle at 20% 30%, rgba(109,40,217,.16), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(14,165,233,.14), transparent 45%),
    linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.01));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.shotTitle{ font-weight:900; letter-spacing:-.2px; }
.shotSub{ margin-top:4px; color:var(--muted); font-size:13px; }

/* Split section */
.dispatchSplit{ background:linear-gradient(180deg, rgba(109,40,217,.05), rgba(14,165,233,.03)); }
.dispatchSplitGrid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 980px){
  .dispatchSplitGrid{ grid-template-columns:1fr; }
}

.dispatchMockFigure{
  padding:10px;
}

.dispatchBigMock{
  border-radius:calc(var(--radius) - 6px);
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow:0 14px 40px rgba(11,18,32,.08);
  overflow:hidden;
}
.dispatchBigMockTop{
  display:flex;
  gap:8px;
  padding:12px;
  border-bottom:1px solid rgba(15,23,42,.08);
  flex-wrap:wrap;
}
.dispatchBigPill{
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(15,23,42,.03);
}
.dispatchBigPill.isWarn{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.08);
}
.dispatchBigMockBody{ padding:12px; display:grid; gap:10px; }

.dispatchRow{
  display:grid;
  grid-template-columns: 1fr 1fr auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(15,23,42,.02);
}
.dispatchChip{
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  width:fit-content;
}
.dispatchMuted{ color:var(--muted); font-size:13px; }

.dispatchStatus{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(16,185,129,.30);
  background:rgba(16,185,129,.10);
  width:fit-content;
}
.dispatchStatus.isAssigned{
  border-color: rgba(109,40,217,.28);
  background: rgba(109,40,217,.10);
}
.dispatchStatus.isOut{
  border-color: rgba(14,165,233,.28);
  background: rgba(14,165,233,.10);
}
.dispatchStatus.isException{
  border-color: rgba(239,68,68,.30);
  background: rgba(239,68,68,.10);
}

/* Mobile dispatcher view */
.dispatchMobile{
  background:linear-gradient(180deg, rgba(14,165,233,.04), rgba(109,40,217,.03));
}
.dispatchMobileGrid{
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap:14px;
  align-items:start;
}
@media (max-width: 980px){
  .dispatchMobileGrid{ grid-template-columns:1fr; }
}

.phoneMock{
  border-radius:28px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  box-shadow:0 18px 48px rgba(11,18,32,.10);
  overflow:hidden;
  max-width:420px;
}
.phoneTop{ padding:10px; background:rgba(15,23,42,.02); border-bottom:1px solid rgba(15,23,42,.08); }
.phoneNotch{
  width:140px; height:16px;
  background:rgba(15,23,42,.10);
  border-radius:999px;
  margin:0 auto;
}
.phoneScreen{ padding:14px; display:grid; gap:12px; }
.phoneHeader{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.phoneTitle{ font-weight:900; }
.phoneBadge{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(109,40,217,.22);
  background:rgba(109,40,217,.10);
}
.phoneCard{
  border:1px solid rgba(15,23,42,.10);
  background:rgba(15,23,42,.02);
  border-radius:16px;
  padding:12px;
  display:grid;
  gap:8px;
}
.phoneRow{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.phoneStrong{ font-weight:900; }
.phonePill{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(14,165,233,.22
}




/* Dispatch page helpers */
.jumpLinks{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.jumpLinks a{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  text-decoration:none;
  font-size:13px;
  color:var(--muted);
}
.jumpLinks a:hover{
  background:var(--surface);
  color:var(--text);
}
