/* NextTake Labs – shared CSS */

:root{
  --primary:#25aff4;
  --brand-dark:#0a0a0a;
  --muted:#6b7280;
  --border:rgba(2,8,23,.10);
}

*{box-sizing:border-box}

/* Icon buttons */
.icon-btn{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  border:1px solid rgba(2,8,23,.12);
  background:#fff;
  transition:transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.icon-btn:hover{opacity:.92;box-shadow:0 8px 24px rgba(2,8,23,.08)}
.icon-btn:active{transform:scale(.96)}

/* Drawer */
.drawer{position:fixed;inset:0;z-index:80;pointer-events:none;opacity:0;transition:opacity .2s ease}
.drawer.is-open{opacity:1;pointer-events:auto}
.drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(2px)}
.drawer-panel{
  position:absolute;top:0;right:0;height:100%;width:min(420px,92vw);
  background:#fff;
  border-left:1px solid rgba(2,8,23,.08);
  transform:translateX(20px);
  transition:transform .2s ease;
  display:flex;
  flex-direction:column;
}
.drawer.is-open .drawer-panel{transform:translateX(0)}
.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px 18px;border-bottom:1px solid rgba(2,8,23,.06)}
.drawer-links{display:flex;flex-direction:column;padding:10px 18px;gap:6px}
.drawer-links a{padding:12px 12px;border-radius:14px;font-weight:800;color:#0a0a0a;text-decoration:none}
.drawer-links a:hover{background:rgba(37,175,244,.10)}
.drawer-cta{margin-top:auto;padding:18px}

/* Bottom nav */
.bottom-nav{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:60;
  display:flex;
  justify-content:space-around;
  background:#fff;
  border-top:1px solid rgba(2,8,23,.10);
  padding:8px 10px;
  padding-bottom:calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav a{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  text-decoration:none;
  color:#94a3b8;
  font-weight:900;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:6px 0;
}
.bottom-nav a .material-symbols-outlined{font-size:20px}
.bottom-nav a.is-active{color:var(--primary)}

/* Carousel arrows (optional) */
.carousel-arrow{
  position:absolute;top:45%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:9999px;
  border:1px solid rgba(2,8,23,.12);
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px rgba(2,8,23,.10);
}
.carousel-arrow.left{left:-10px}
.carousel-arrow.right{right:-10px}
.carousel-arrow:active{transform:translateY(-50%) scale(.96)}

/* Partners tank */
.partners-box{
  position:relative;
  height:320px;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(37,175,244,.20), rgba(37,175,244,.10));
  border:1px solid rgba(37,175,244,.25);
  box-shadow:0 24px 60px rgba(2,8,23,.10);
}
.partners-box::before{
  content:"";
  position:absolute;inset:-40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,175,244,.25), transparent 40%),
    radial-gradient(circle at 80% 35%, rgba(37,175,244,.18), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(37,175,244,.20), transparent 45%);
  pointer-events:none;
}
.partners-box::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.60), transparent 30%, transparent 70%, rgba(255,255,255,.25));
  pointer-events:none;
  mix-blend-mode:overlay;
}

.partner-bubble{
  position:absolute;
  left:0;top:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:9999px;
  font-weight:900;
  letter-spacing:.12em;
  font-size:12px;
  text-transform:uppercase;
  user-select:none;
  cursor:default;
  color:#083047;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.70);
  box-shadow:
    0 18px 35px rgba(2,8,23,.12),
    inset 0 1px 0 rgba(255,255,255,.80);
  backdrop-filter:blur(8px);
  will-change:transform;
}

/* Contact page helpers */
.btn-surface{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(2,8,23,.10);
  background:#fff;
  box-shadow:0 12px 30px rgba(2,8,23,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-surface:active{transform:scale(.98)}

.pill-link{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:9999px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:900;
  font-size:12px;
  text-decoration:none;
}

.img-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(180deg, rgba(37,175,244,.12), rgba(37,175,244,.06));
  border:1px dashed rgba(37,175,244,.35);
  color:#0a0a0a;
}

/* Make room for bottom nav */
body{padding-bottom:92px}
/* --- Case Studies carousel arrows: make them clickable --- */
.carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;            /* above cards */
  pointer-events: auto;   /* ensure clickable */
}

.carousel-arrow.left{ left: -10px; }
.carousel-arrow.right{ right: -10px; }

/* If something is covering the arrows, this helps */
#caseCarousel{
  position: relative;
  z-index: 1;
}
/* Safety: prevent random overlays from blocking clicks */
#caseCarousel *{
  pointer-events: auto;
}
/* WhatsApp Floating Action Button */
.wa-fab{
  position: fixed;
  right: 18px;
  bottom: calc(92px + 18px); /* sits above bottom nav */
  z-index: 70;

  width: 56px;
  height: 56px;
  border-radius: 9999px;

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

  background: #25D366; /* official WhatsApp green */
  color: #fff;

  border: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.wa-fab:hover{
  box-shadow: 0 22px 50px rgba(0,0,0,.22);
}

.wa-fab:active{
  transform: scale(.94);
}

.wa-fab svg{
  display:block;
}

