/* =========================================================
   Global Theme — Palette
   212A31, 2E3944, 124E66, 748D92, D3D9D4
   Load this AFTER Bootstrap.
========================================================= */

/* ---------- Tokens ---------- */
:root{
  --ink-900:#212A31;
  --ink-800:#2E3944;
  --brand-600:#124E66;
  --muted-400:#748D92;
  --neutral-200:#D3D9D4;

  --bg:var(--ink-900);
  --surface:var(--ink-800);
  --header:var(--brand-600);
  --text:var(--neutral-200);
  --muted:var(--muted-400);

  --ring:#D3D9D4;
  --shadow:0 14px 40px rgba(9,16,20,.35);
  --radius:14px;
  --radius-lg:18px;
  --trans:180ms ease;
}

/* ---------- Base ---------- */
html,body{height:100%}
body{
  background:var(--bg) !important;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
a{color:var(--neutral-200); text-decoration:none}
a:hover{color:#fff}
img{max-width:100%; display:block}
.container{width:min(1200px,92vw)}

/* ---------- Utilities overriding Bootstrap ---------- */
.text-muted{color:var(--muted) !important}
.bg-light{background: color-mix(in oklab, var(--neutral-200) 12%, transparent) !important}
.text-primary{color:var(--neutral-200) !important}
.border{border-color: rgba(211,217,212,.15) !important}

/* Buttons */
.btn{
  border-radius:12px;
  font-weight:600;
  transition: transform var(--trans), filter var(--trans), background var(--trans), color var(--trans), border-color var(--trans);
}
.btn:focus-visible{outline:2px solid var(--ring); outline-offset:2px}
.btn:active{transform: translateY(1px)}
.btn-primary{
  background: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
  color: var(--neutral-200) !important;
}
.btn-primary:hover{filter:brightness(1.08)}
.btn-outline-secondary{
  --bs-btn-color: var(--neutral-200);
  --bs-btn-border-color: rgba(211,217,212,.35);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(211,217,212,.12);
  --bs-btn-hover-border-color: rgba(211,217,212,.55);
  --bs-btn-active-bg: rgba(211,217,212,.18);
  --bs-btn-active-border-color: rgba(211,217,212,.65);
  border-radius:12px;
}
/* ===========================
   Header (two-row)
=========================== */

/* ——— Topbar (email/phone row) ——— */
.topbar {
  background: var(--bg);
  display: flex;              
  justify-content: flex-end; 
  align-items: center;        
  color: var(--neutral-200);
  padding: 5px 0;
    gap: 10px;
  margin-right: 10px;
  font-size: 13px; 
}

.topbar .contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar .contact-pill:hover {
  background: rgba(211, 217, 212, .10);
  border-color: rgba(211, 217, 212, .35);
}

.topbar .pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(211, 217, 212, .22);
  line-height: 0;
  flex: 0 0 auto;
}

.topbar .pill-icon i {
  font-size: 12px;
  color: var(--neutral-200);
}

.topbar .pill-text {
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw; /* prevents wrapping into 2nd line */
}

/* ——— Main header / navbar ——— */
.site-header {
  border-bottom: 0 !important;
}

.mainbar {
  background: var(--header);
}

.site-header .navbar {
 min-height: 92px;
  max-width: 1350px;  /* grow up to 1300px */
  width: 100%;        /* take full width until then */
  margin: 0 auto;  
}

.site-header .brand img {
  height: 46px;
}

.site-header .navbar-nav .nav-link {
  color: var(--neutral-200);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  transition: color var(--trans), background var(--trans);
}

.site-header .navbar-nav .nav-link:hover {
  color: #fff;
  background: rgba(211, 217, 212, .06);
}

.site-header .navbar-nav .nav-link::after {
  content: none !important;
}

.site-header .navbar-toggler {
  border: 0;
  border-radius: 10px;
  color: var(--neutral-200);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header .navbar-toggler:hover {
  background: rgba(211, 217, 212, .10);
}

/* ——— Mega dropdown (unchanged behavior, visually cohesive) ——— */
.position-static .dropdown-menu.mega {
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--trans), transform var(--trans), visibility var(--trans);
  background: transparent;
  border: 0;
  padding: 0;
}

.position-static .dropdown-menu.mega.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  background: var(--header);
  border: 1px solid rgba(211, 217, 212, .14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mega-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
}

.mega-feature {
  position: relative;
  min-height: 320px;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  overflow: hidden;
  isolation: isolate;
}

.mega-feature .feature-media {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .55;
  filter: saturate(1.05) contrast(1.05);
}

.mega-feature .feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, .55) 85%);
}

.mega-feature .feature-copy {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  color: #F4F7F6;
}

.chip {
  align-self: flex-start;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(211, 217, 212, .16);
  border: 1px solid rgba(211, 217, 212, .28);
  margin-bottom: 12px;
}

.mega-links {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
}

.group h6 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(211, 217, 212, .18);
}

.group a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--neutral-200);
  font-size: 15px;
  transition: transform var(--trans), background var(--trans), color var(--trans);
}

.group a:hover {
  background: rgba(211, 217, 212, .10);
  color: #fff;
  transform: translateX(3px);
}

/* ——— Responsive tweaks ——— */

/* Hide hamburger on desktop */
@media (min-width: 992px) {
  .site-header .navbar-toggler {
    display: none !important;
  }
  .topbar .pill-text {
    max-width: unset; /* no truncation needed on wide screens */
  }
}

/* Tablet and down: keep mega usable */
@media (max-width: 991.98px) {
  .position-static .dropdown-menu.mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: .5rem;
  }
  .mega-inner {
    width: 100%;
    border-radius: 14px;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .mega-feature {
    min-height: 180px;
  }
  .mega-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small phones — ultra compact pills */
@media (max-width: 575.98px) {
  .topbar {
    padding: 4px 0;
  }
  .topbar .contact-row {
    gap: 6px;
  }
  .topbar .contact-pill {
    padding: 2px 6px;
    gap: 4px;
    border-radius: 999px;
    border-width: 1px;
  }
  .topbar .pill-icon {
    width: 18px;
    height: 18px;
  }
  .topbar .pill-icon i {
    font-size: 9px;
  }
  .topbar .pill-text {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .1px;
    max-width: 56vw; /* tighter but safe */
  }
  /* Keep brand smaller so pills have room */
  .site-header .brand img {
    height: 38px;
  }
}

/* Very narrow devices — option: icons only to save height */
@media (max-width: 360px) {
  .topbar .pill-text {
    display: none; /* icons-only */
  }
  .topbar .contact-pill {
    padding: 4px; /* small touch target */
}

/* Utility if you want accessible hidden labels (optional) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hide services content initially */
#services-content {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background-color: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* Styling the service list for neatness */
.services-list {
  display: flex;
  gap: 20px;
}

.service-category {
  flex: 1;
}

.service-category h3 {
  color: var(--brand-600);
  font-size: 1.2rem;
  font-weight: 700;
}

.service-category ul {
  list-style: none;
  padding: 0;
}

.service-category ul li {
  padding: 6px 0;
  color: var(--neutral-200);
}
}
/* HERO with background image */
.hero-section {
  position: relative;
  padding: clamp(100px, 12vw, 160px) 0;
  background: url("/assets/photos/background.png") center/cover no-repeat;
  color: #fff; /* light text over bg */
}

/* optional: dark overlay for text readability */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* adjust 0.45 for stronger/softer overlay */
}
.hero-section > .container {
  position: relative;
  z-index: 2; /* keep text above overlay */
}

/* Typography */
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--neutral-200);
  margin-bottom: 12px;
}
.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 18px;
  max-width: 58ch;
}
.hero-intro {
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 60ch;
  font-size: 16px;
}


/* TRUSTED BY */
.trusted-by {
  background: var(--surface);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trusted-title {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-400);
  margin-bottom: 24px;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}
.trusted-logos img {
  height: 40px;
  opacity: .7;
  filter: grayscale(100%);
  transition: opacity .2s, filter .2s;
}
.trusted-logos img:hover {
  opacity: 1;
  filter: none;
}

/* =========================================================
   FEATURES (scoped so footer isn’t affected)
========================================================= */
/* Features: minimal cards */
.features .section-title{
  text-align:center;
  color:#F1F5F4;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 36px;
}

.features .feature-card{
  background: var(--surface);
  border: 1px solid rgba(211,217,212,.14);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--neutral-200);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.features .feature-card:hover{
  transform: translateY(-2px);
  border-color: rgba(211,217,212,.24);
  box-shadow: 0 18px 48px rgba(9,16,20,.42);
}

.features .feature-icon{
  width: 64px; height: 64px; border-radius: 14px;
  background: linear-gradient(180deg, var(--brand-600), color-mix(in oklab, var(--brand-600) 65%, black 35%));
  color:#EAF2F1; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px rgba(18,78,102,.35);
  margin-bottom: 14px;
}
.features .feature-icon i{ font-size: 26px; }

/* Titles / text */
.features .feature-title{ color:#F1F5F4; margin: 10px 0 6px; font-weight:700; font-size:18px; }
.features .feature-text{ color: color-mix(in oklab, var(--neutral-200) 84%, black 16%); margin-bottom: 12px; }

/* Benefit bullets (pills) */
.features .feature-benefits{
  display:flex; flex-wrap:wrap; gap:8px 10px; margin:0; padding:0; list-style:none;
}
.features .feature-benefits li{
  font-size:12px; font-weight:600; letter-spacing:.2px;
  padding:6px 10px; border-radius:999px;
  background: rgba(211,217,212,.10);
  border: 1px solid rgba(211,217,212,.18);
  color: var(--neutral-200);
}

/* Subtle icon motions */
.features .i-spin-on-hover:hover i{ animation: spin .8s linear; }
.features .i-rotate:hover i{ transform: rotate(20deg); transition: transform .18s ease; }
.features .i-float:hover i{ transform: translateY(-2px); transition: transform .18s ease; }
.features .i-pulse:hover i{ animation: pulse .8s ease; }
.features .i-shield:hover i{ transform: scale(1.05); transition: transform .18s ease; }

@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes pulse{
  0%{ transform: scale(1); } 50%{ transform: scale(1.08); } 100%{ transform: scale(1); }
}

/* =========================================================
   DEMO
========================================================= */
/* SEE IT IN ACTION (scoped) */

.demo-media img { display:block; }
.demo-play{
  position:absolute; inset:auto auto 16px 16px;
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px; border-radius:12px;
  background: color-mix(in oklab, var(--ink-800) 70%, var(--neutral-200) 30%);
  color:#fff; text-decoration:none; font-weight:700;
  border:1px solid rgba(211,217,212,.25);
  box-shadow: var(--shadow);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.demo-play i{ font-size:14px; }
.demo-play:hover{ transform: translateY(-2px); background: color-mix(in oklab, var(--ink-800) 60%, var(--neutral-200) 40%); }

.demo-micro{ color: color-mix(in oklab, var(--neutral-200) 80%, black 20%); }
.demo-benefits li{
  margin: 8px 0;
  color: color-mix(in oklab, var(--neutral-200) 88%, black 12%);
}
.demo-benefits i{ color: var(--neutral-200); }
.demo-seo{ font-size: 12px; letter-spacing:.02em; }

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonial-card{
  background: var(--surface);
  border:1px solid rgba(211,217,212,.14);
  border-radius:14px; padding:26px; color:var(--neutral-200);
  box-shadow: var(--shadow);
  height:100%;
}
.testimonial-text{color: color-mix(in oklab, var(--neutral-200) 88%, white 12%); font-style:italic}
.client-title{color:var(--muted); font-size:14px}

/* =========================================================
   CTA (Full-width)
========================================================= */
.cta-section{
  margin: 90px 0;
  padding: clamp(60px, 8vw, 100px) 0;
  text-align:center;
  background:
    radial-gradient(900px 400px at 120% 0%, rgba(211,217,212,.22), transparent 60%),
    linear-gradient(135deg, var(--brand-600), color-mix(in oklab, var(--brand-600) 65%, #0b2129 35%));
  color:#F6FAF9;
  border-radius:18px;
  box-shadow: var(--shadow);
}
.cta-title{font-size: clamp(28px, 4.2vw, 40px); font-weight:800}
.cta-btn{
  display:inline-block; margin-top:6px;
  background:#fff; color: var(--brand-600) !important;
  padding:12px 28px; border-radius:12px; font-weight:700;
  box-shadow:0 10px 20px rgba(255,255,255,.12);
}
.cta-btn:hover{filter:brightness(1.03)}

/* =========================================================
   FOOTER (contrast + no unintended cards)*/
.ins-footer{
  background: var(--ink-900);
  color: var(--neutral-200);
  padding: 40px 0;
  color-scheme: dark;
}
.ins-container{ width:min(1200px,92vw); margin-inline:auto; }
.ins-card{
  position: relative;
  background: var(--ink-800);
  border: 1px solid color-mix(in oklab, var(--neutral-200) 14%, transparent);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(9,16,20,.35);
  overflow: hidden;
}

/* decorative diagonal lines (subtle) */
.ins-decor{
  position: absolute; inset: 0; pointer-events:none;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--neutral-200) 8%, transparent) 0,
      color-mix(in oklab, var(--neutral-200) 8%, transparent) 1px,
      transparent 1px, transparent 56px
    );
  opacity: .35;
}

/* grid */
.ins-grid{
  position: relative; z-index: 1; /* above decor */
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 44px);
}
@media (max-width: 991.98px){
  .ins-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px){
  .ins-grid{ grid-template-columns: 1fr; }
}

/* brand column */
.ins-brand .ins-logo{ display:inline-flex; margin-bottom: 12px; filter:saturate(1.02) contrast(1.02); }
.ins-copy{
  color: color-mix(in oklab, var(--neutral-200) 86%, black 14%);
  max-width: 40ch; line-height: 1.65; margin: 8px 0 18px;
}

/* socials */
.ins-socials{ display:flex; gap: 12px; margin-bottom: 18px; }
.ins-socials a{
  width: 36px; height: 36px; display:inline-flex; align-items:center; justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.ins-socials a:hover{ transform: translateY(-1px); background: rgba(255,255,255,.16); }

/* back to top button */
.ins-top{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--neutral-200) 30%, transparent);
  text-decoration: none;
  color: var(--neutral-200);
  background: color-mix(in oklab, var(--ink-800) 80%, var(--neutral-200) 20%);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.ins-top:hover{
  background: color-mix(in oklab, var(--ink-800) 70%, var(--neutral-200) 30%);
  transform: translateY(-1px);
}

/* link columns */
.ins-head{
  margin: 4px 0 10px;
  font: 700 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-400);
}
.ins-list{ list-style:none; margin:0; padding:0; }
.ins-list li{ margin: 8px 0; }
.ins-list a{
  color: color-mix(in oklab, var(--neutral-200) 82%, black 18%);
  text-decoration: none;
  position: relative; display:inline-block; padding: 2px 0;
}
.ins-list a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background: var(--neutral-200); opacity:.9; transition:right .22s ease;
}
.ins-list a:hover{ color:#fff; }
.ins-list a:hover::after{ right:0; }

/* bottom stripe (use your brand color) */
.ins-stripe{
  position: relative;
  display:flex; align-items:center; justify-content:center;
  padding: 10px 12px;
  background: color-mix(in oklab, var(--brand-600) 82%, black 18%);
  color: color-mix(in oklab, var(--neutral-200) 94%, black 6%);
  border-top: 1px solid color-mix(in oklab, var(--neutral-200) 14%, transparent);
}

/* accessibility & motion */
.ins-footer a:focus-visible{ outline: 2px dashed rgba(255,255,255,.35); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){ .ins-footer *{ transition:none !important; } }

/* defensive resets in this scope only (prevents stray bullets) */
.ins-footer ul, .ins-footer li{ list-style:none !important; }
.ins-footer ul{ padding-left:0 !important; }