/* ==========================================================================
   Solyn Software - site theme
   Layered on Bootstrap 5.3. Everything is driven by the tokens in :root.
   Palette is taken from the company logo: azure #00A0E0 on deep navy.
   ========================================================================== */

:root {
  /* --- brand ---------------------------------------------------------- */
  --sy-brand:      #00a0e0;   /* logo azure - primary accent                */
  --sy-brand-dk:   #0080b8;
  --sy-brand-dr:   #00648f;
  --sy-brand-tint: #e8f6fd;
  --sy-brand-soft: #cdebfa;

  /* --- ink / navy ----------------------------------------------------- */
  --sy-ink:        #0f1e33;   /* headings, dark sections                    */
  --sy-ink-2:      #16304f;
  --sy-ink-soft:   #24456d;

  /* --- surfaces ------------------------------------------------------- */
  --sy-bg:         #ffffff;
  --sy-bg-alt:     #f5f8fb;   /* cool grey band                             */
  --sy-bg-alt2:    #eef3f9;
  --sy-line:       #e2e9f1;
  --sy-line-soft:  #eef2f7;

  /* --- text ----------------------------------------------------------- */
  --sy-body:       #4a5a6e;
  --sy-muted:      #6b7c91;

  /* --- WhatsApp brand ------------------------------------------------- */
  --sy-whatsapp:    #25d366;
  --sy-whatsapp-dk: #1da851;

  /* --- shape ---------------------------------------------------------- */
  --sy-radius:     14px;
  --sy-radius-sm:  9px;
  --sy-radius-lg:  20px;
  --sy-shadow:     0 1px 2px rgba(15,30,51,.04), 0 10px 26px -14px rgba(15,30,51,.18);
  --sy-shadow-lg:  0 2px 4px rgba(15,30,51,.05), 0 28px 54px -24px rgba(15,30,51,.28);
  --sy-shadow-brand: 0 10px 24px -12px rgba(0,160,224,.75);

  /* --- type ----------------------------------------------------------- */
  --sy-display: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sy-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--sy-sans);
  color: var(--sy-body);
  background: var(--sy-bg);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sy-display);
  color: var(--sy-ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.021em;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 3vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.62rem, 1.2rem + 1.9vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); }
h4 { font-size: 1.06rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--sy-brand-dk); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--sy-brand-dr); }

::selection { background: var(--sy-brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--sy-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.lead-sy {
  font-size: clamp(1.02rem, .97rem + .35vw, 1.18rem);
  color: var(--sy-body);
  line-height: 1.66;
}

.text-muted-sy { color: var(--sy-muted) !important; }

/* faint dot grid used behind hero / feature bands ---------------------- */
.dotgrid {
  background-image: radial-gradient(rgba(15,30,51,.10) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ==========================================================================
   Sections & headings
   ========================================================================== */

.section       { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4.25rem) 0; }
.section-alt   { background: var(--sy-bg-alt); }
.section-line  { border-top: 1px solid var(--sy-line); }

.section-dark {
  background: var(--sy-ink);
  color: rgba(255,255,255,.76);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sy-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sy-brand-dk);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--sy-brand);
  flex: 0 0 24px;
  border-radius: 2px;
}
.section-dark .eyebrow { color: var(--sy-brand); }
.section-dark .eyebrow::before { background: var(--sy-brand); }

.section-head { max-width: 44rem; }
.section-head.mx-auto { text-align: center; }
.section-head.mx-auto .eyebrow { justify-content: center; }
.section-head p { margin-top: .9rem; color: var(--sy-muted); }

.highlight { color: var(--sy-brand-dk); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  font-family: var(--sy-sans);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--sy-radius-sm);
  padding: .72rem 1.5rem;
  border: 1px solid transparent;
  transition: all .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-brand {
  background: var(--sy-brand);
  border-color: var(--sy-brand);
  color: #fff;
  box-shadow: var(--sy-shadow-brand);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--sy-brand-dk);
  border-color: var(--sy-brand-dk);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(0,160,224,.85);
}

.btn-ink {
  background: var(--sy-ink);
  border-color: var(--sy-ink);
  color: #fff;
}
.btn-ink:hover, .btn-ink:focus { background: var(--sy-ink-2); border-color: var(--sy-ink-2); color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--sy-line);
  color: var(--sy-ink);
}
.btn-ghost:hover, .btn-ghost:focus {
  border-color: var(--sy-ink);
  background: var(--sy-ink);
  color: #fff;
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.btn-ghost-light:hover, .btn-ghost-light:focus { background: #fff; border-color: #fff; color: var(--sy-ink); }

.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--sy-brand-dk);
}
.link-arrow i { transition: transform .18s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--sy-line);
  z-index: 1030;
}
.site-header .navbar { padding: .55rem 0; }

.navbar-brand { display: inline-flex; align-items: center; padding: 0; }
.navbar-brand img.logo { height: 44px; width: auto; display: block; }

.navbar .nav-link {
  font-family: var(--sy-sans);
  font-size: .925rem;
  font-weight: 500;
  color: var(--sy-ink);
  padding: .5rem .8rem !important;
  border-radius: 8px;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--sy-brand-dk); }
.navbar .nav-link.active { color: var(--sy-brand-dk); font-weight: 600; }

.navbar-toggler {
  border: 1px solid var(--sy-line);
  border-radius: 9px;
  padding: .4rem .6rem;
}
.navbar-toggler:focus { box-shadow: none; }

.navbar .dropdown-menu {
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  box-shadow: var(--sy-shadow-lg);
  padding: .5rem;
  margin-top: .45rem;
  min-width: 17rem;
}
.navbar .dropdown-item {
  border-radius: var(--sy-radius-sm);
  padding: .55rem .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--sy-ink);
  white-space: normal;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus { background: var(--sy-brand-tint); color: var(--sy-brand-dr); }
.navbar .dropdown-item .di-sub {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: var(--sy-muted);
}
.dropdown-divider { border-color: var(--sy-line-soft); }

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }

  /* The menu is pushed .45rem below the link, and that gap sits OUTSIDE the
     <li> - so dragging the cursor down towards the submenu broke :hover and
     the menu closed before it could be reached. This invisible strip belongs
     to the menu itself, so it bridges the gap and :hover never drops. It also
     spans the menu's full width, which covers diagonal cursor paths. */
  .navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -.55rem;
    left: 0;
    right: 0;
    height: .55rem;
  }
}
@media (max-width: 991.98px) {
  .navbar-brand img.logo { height: 38px; }
  .navbar-collapse {
    border-top: 1px solid var(--sy-line);
    margin-top: .6rem;
    padding: .75rem 0 .5rem;
    max-height: 78vh;
    overflow-y: auto;
  }
  .navbar .dropdown-menu { border: 0; box-shadow: none; padding-left: .5rem; }
  .navbar .nav-item .btn { margin-top: .75rem; width: 100%; }
}

/* topbar --------------------------------------------------------------- */
.topbar {
  background: var(--sy-ink);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar a { color: rgba(255,255,255,.85); font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--sy-brand); margin-right: .35rem; }

/* ==========================================================================
   Promotional banner (home) - rotating slider, successor to the old
   solynsoftware.com carousel. Content promotes Solyn only.
   ========================================================================== */

.banner { position: relative; }

.banner-slide {
  position: relative;
  padding: clamp(3rem, 2rem + 4.6vw, 5.25rem) 0;
  min-height: clamp(19rem, 15rem + 12vw, 25rem);
  display: flex;
  align-items: center;
  background: var(--sy-ink);
  color: rgba(255,255,255,.78);
  overflow: hidden;
}
/* faint dot grid, same device the hero and page heroes use */
.banner-slide::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 88%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 88%);
  pointer-events: none;
}
.banner-slide > .container { position: relative; z-index: 1; }

/* each slide gets its own light source so the rotation reads as movement */
.banner-a { background: radial-gradient(820px 380px at 78% 4%,  rgba(0,160,224,.34) 0%, transparent 64%), var(--sy-ink); }
.banner-b { background: radial-gradient(760px 400px at 20% 96%, rgba(0,160,224,.30) 0%, transparent 62%), var(--sy-ink-2); }
.banner-c { background: radial-gradient(880px 420px at 88% 92%, rgba(0,160,224,.26) 0%, transparent 66%), var(--sy-ink); }

.banner-slide .eyebrow { color: var(--sy-brand); }
.banner-slide h2 {
  color: #fff;
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  margin-bottom: .9rem;
}
.banner-slide p {
  max-width: 40rem;
  font-size: clamp(1rem, .96rem + .3vw, 1.14rem);
  line-height: 1.62;
  margin-bottom: 1.6rem;
}

.banner-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* oversized watermark icon */
.banner-mark {
  font-size: clamp(5rem, 3rem + 7vw, 8.5rem);
  color: rgba(255,255,255,.13);
  line-height: 1;
}

/* --- controls --------------------------------------------------------- */
.banner .carousel-indicators {
  margin-bottom: 1.15rem;
  gap: .1rem;
}
.banner .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  opacity: 1;
  transition: background .18s ease, width .18s ease;
}
.banner .carousel-indicators .active {
  background: var(--sy-brand);
  width: 46px;
}
.banner .carousel-control-prev,
.banner .carousel-control-next { width: 5%; opacity: .55; }
.banner .carousel-control-prev:hover,
.banner .carousel-control-next:hover { opacity: 1; }

@media (max-width: 767.98px) {
  /* the arrows sit too close to the text on a phone - indicators are enough */
  .banner .carousel-control-prev,
  .banner .carousel-control-next { display: none; }
  .banner-actions .btn { width: 100%; }
}

@media print { .banner { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(3.25rem, 2rem + 6vw, 6rem) 0 clamp(3rem, 2rem + 5vw, 5.5rem);
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(0,160,224,.16) 0%, transparent 62%),
    radial-gradient(700px 420px at 8% 105%, rgba(0,160,224,.09) 0%, transparent 60%),
    linear-gradient(180deg, var(--sy-bg-alt) 0%, var(--sy-bg) 72%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,30,51,.09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 68%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 68%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead-sy { max-width: 35rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.9rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--sy-bg);
  border: 1px solid var(--sy-line);
  border-radius: 999px;
  padding: .38rem .85rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--sy-ink);
}
.pill i { color: var(--sy-brand); font-size: .9rem; }

/* hero side panel ------------------------------------------------------ */
.hero-panel {
  background: var(--sy-bg);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius-lg);
  box-shadow: var(--sy-shadow-lg);
  padding: 1.6rem;
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: -1px; left: 1.8rem; right: 1.8rem;
  height: 3px;
  background: linear-gradient(90deg, var(--sy-brand), rgba(0,160,224,.15));
  border-radius: 0 0 4px 4px;
}
.hero-panel h3 {
  font-size: .78rem;
  font-family: var(--sy-sans);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sy-muted);
  margin-bottom: 1.1rem;
}

.stat .num {
  display: block;
  font-family: var(--sy-display);
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 800;
  color: var(--sy-ink);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat .lbl { display: block; font-size: .8rem; color: var(--sy-muted); margin-top: .3rem; }
.section-dark .stat .num { color: #fff; }
.section-dark .stat .lbl { color: rgba(255,255,255,.6); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  background:
    radial-gradient(760px 340px at 86% 0%, rgba(0,160,224,.26) 0%, transparent 62%),
    var(--sy-ink);
  color: rgba(255,255,255,.74);
  padding: clamp(2.5rem, 1.8rem + 3.6vw, 4.25rem) 0 clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero .lead-sy { color: rgba(255,255,255,.74); max-width: 44rem; }
.page-hero .eyebrow { color: var(--sy-brand); }

.breadcrumb { font-size: .84rem; margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.68); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.32); }
.breadcrumb-item.active { color: rgba(255,255,255,.52); }

/* ==========================================================================
   Cards
   ========================================================================== */

.s-card {
  height: 100%;
  background: var(--sy-bg);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  padding: 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.s-card:hover {
  transform: translateY(-3px);
  border-color: var(--sy-brand-soft);
  box-shadow: var(--sy-shadow);
}
.s-card h3 { margin-bottom: .55rem; }
.s-card p { color: var(--sy-body); font-size: .93rem; margin-bottom: 1rem; }
.s-card .link-arrow { margin-top: auto; }

.s-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--sy-brand-tint);
  color: var(--sy-brand-dk);
  font-size: 1.26rem;
  margin-bottom: 1.05rem;
}
.s-icon-ink { background: var(--sy-ink); color: #fff; }

.s-card-dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
.s-card-dark:hover { border-color: rgba(0,160,224,.55); background: rgba(255,255,255,.08); }
.s-card-dark p { color: rgba(255,255,255,.7); }
.s-card-dark .s-icon { background: rgba(0,160,224,.16); color: var(--sy-brand); }

/* ==========================================================================
   Lists
   ========================================================================== */

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: .68rem;
  font-size: .94rem;
}
.tick-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0; top: .05rem;
  color: var(--sy-brand);
  font-size: .95rem;
}
.section-dark .tick-list li { color: rgba(255,255,255,.76); }

/* numbered process ----------------------------------------------------- */
.step { position: relative; padding-top: 1.35rem; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sy-line);
}
.step.is-active::before { background: var(--sy-brand); }
.step .step-num {
  font-family: var(--sy-display);
  font-size: .92rem;
  font-weight: 800;
  color: var(--sy-brand-dk);
  letter-spacing: .05em;
  display: block;
  margin-bottom: .45rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--sy-muted); }
.section-dark .step::before { background: rgba(255,255,255,.18); }
.section-dark .step.is-active::before { background: var(--sy-brand); }
.section-dark .step p { color: rgba(255,255,255,.68); }

/* ==========================================================================
   Clients
   ========================================================================== */

.client-card {
  height: 100%;
  background: var(--sy-bg);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-card:hover {
  transform: translateY(-3px);
  border-color: var(--sy-brand-soft);
  box-shadow: var(--sy-shadow);
}
.client-logo {
  height: 58px;
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}
.client-logo img {
  max-height: 58px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
}
/* Fallback for clients with no distinct logo file of their own. */
.client-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--sy-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--sy-ink);
  letter-spacing: -.015em;
  border-left: 3px solid var(--sy-brand);
  padding-left: .75rem;
  max-width: 190px;
}
.client-card h3 { font-size: 1.06rem; margin: 0 0 .2rem; }
.client-meta {
  font-size: .8rem;
  color: var(--sy-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.client-card p { font-size: .89rem; margin: .9rem 0 1rem; color: var(--sy-body); }
.client-card .link-arrow { margin-top: auto; font-size: .86rem; }

.tag {
  display: inline-block;
  background: var(--sy-brand-tint);
  color: var(--sy-brand-dr);
  border-radius: 999px;
  padding: .22rem .7rem;
  font-size: .73rem;
  font-weight: 600;
}
.tag-ink { background: var(--sy-bg-alt2); color: var(--sy-ink); }

/* logo strip ----------------------------------------------------------- */
/* Flexbox, not grid: flex-grow lets the final row stretch to fill the width, so
   the strip never ends with a ragged gap whatever the number of logos. The
   16.666% basis gives 6 per row on desktop, dropping to 4 / 3 / 2 as the
   min-width bites. */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  overflow: hidden;
  background: var(--sy-bg);
}
.logo-cell {
  flex: 1 1 16.666%;
  min-width: 160px;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--sy-line-soft);
  border-bottom: 1px solid var(--sy-line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  position: relative;
  transition: background .2s ease, box-shadow .2s ease;
}
.logo-cell::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--sy-brand);
  transform: scaleX(0);
  transition: transform .22s ease;
}
a.logo-cell:hover {
  background: #fff;
  box-shadow: 0 10px 26px -16px rgba(15,30,51,.4);
  z-index: 1;
}
a.logo-cell:hover::after { transform: scaleX(1); }

/* Logos render in their own colours - these are real brands and washing them
   out to grey loses the identity the client is known by. */
.logo-cell img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform .22s ease;
}
a.logo-cell:hover img { transform: scale(1.05); }
/* Emblems are square and read far smaller than wordmarks at the same height. */
.logo-cell img[src*="indianrailways"] { max-height: 52px; }
.logo-cell img[src*="nvaindia"] { max-height: 62px; }
/* Round crest with text wrapped around it - needs the extra height to stay
   legible, but not so much that it towers over the flat wordmarks. */
.logo-cell img[src*="barkatullah"] { max-height: 66px; }
/* Solid-background mark - scale it down so its block does not outweigh the
   transparent wordmarks sitting beside it. */
.logo-cell img[src*="mrzoop"] { max-height: 40px; }

/* ==========================================================================
   Portfolio / work
   ========================================================================== */

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.work-filter-btn {
  border: 1px solid var(--sy-line);
  background: var(--sy-bg);
  color: var(--sy-ink);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--sy-sans);
  cursor: pointer;
  transition: all .18s ease;
}
.work-filter-btn:hover { border-color: var(--sy-brand); color: var(--sy-brand-dk); }
.work-filter-btn.is-active {
  background: var(--sy-ink);
  border-color: var(--sy-ink);
  color: #fff;
}
.wf-count {
  display: inline-block;
  margin-left: .35rem;
  font-size: .76rem;
  opacity: .65;
  font-weight: 500;
}

.work-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--sy-bg);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--sy-brand-soft);
  box-shadow: var(--sy-shadow-lg);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sy-bg-alt2);
  overflow: hidden;
  border-bottom: 1px solid var(--sy-line);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.04); }

/* Fallback tile for internal systems we cannot screenshot. */
.work-thumb-icon {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(520px 220px at 70% 0%, rgba(0,160,224,.28) 0%, transparent 62%),
    var(--sy-ink);
  color: #fff;
  font-size: 2.9rem;
}

.work-cat {
  position: absolute;
  left: .75rem; bottom: .75rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  color: var(--sy-ink);
  border-radius: 999px;
  padding: .24rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15,30,51,.14);
}
.work-thumb-icon + .work-cat { background: rgba(255,255,255,.92); }

.work-body {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-body h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.work-client {
  font-size: .8rem;
  color: var(--sy-muted);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .7rem;
}
.work-summary { font-size: .89rem; margin-bottom: 1rem; }
.work-body .link-arrow { margin-top: auto; font-size: .86rem; }

.work-item.is-hidden { display: none; }

/* ==========================================================================
   Detail pages
   ========================================================================== */

.detail-aside {
  position: sticky;
  top: 96px;
  background: var(--sy-bg-alt);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  padding: 1.5rem;
}
.detail-aside h3 { font-size: 1.02rem; margin-bottom: .9rem; }
.detail-aside .list-plain { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.detail-aside .list-plain li {
  font-size: .88rem;
  padding: .45rem 0;
  border-bottom: 1px dashed var(--sy-line);
  color: var(--sy-body);
}
.detail-aside .list-plain li:last-child { border-bottom: 0; }

.module-grid {
  display: grid;
  gap: 1px;
  background: var(--sy-line);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  overflow: hidden;
}
@media (min-width: 768px) { .module-grid { grid-template-columns: 1fr 1fr; } }
.module-grid .module {
  background: var(--sy-bg);
  padding: 1.1rem 1.25rem;
  font-size: .92rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.module-grid .module i { color: var(--sy-brand); font-size: 1rem; margin-top: .18rem; }

.prose h2 { margin-top: 2.5rem; margin-bottom: .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; margin-bottom: .6rem; }
.prose p, .prose li { color: var(--sy-body); }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: .5rem; }

/* ==========================================================================
   Callouts & CTA
   ========================================================================== */

.callout {
  border-left: 3px solid var(--sy-brand);
  background: var(--sy-bg-alt);
  border-radius: 0 var(--sy-radius-sm) var(--sy-radius-sm) 0;
  padding: 1.1rem 1.3rem;
  font-size: .94rem;
}

.cta-band {
  position: relative;
  background:
    radial-gradient(680px 320px at 88% 110%, rgba(0,160,224,.34) 0%, transparent 66%),
    var(--sy-ink);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 90%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 90%);
}
.cta-band > .container { position: relative; z-index: 1; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--sy-ink);
  margin-bottom: .35rem;
}
.form-control, .form-select {
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius-sm);
  padding: .68rem .9rem;
  font-size: .95rem;
  color: var(--sy-ink);
  background-color: var(--sy-bg);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-control::placeholder { color: #9fb0c2; }
.form-control:focus, .form-select:focus {
  border-color: var(--sy-brand);
  box-shadow: 0 0 0 3px rgba(0,160,224,.16);
}
textarea.form-control { min-height: 140px; resize: vertical; }

.form-note { font-size: .82rem; color: var(--sy-muted); }

.field-error {
  display: block;
  color: #c02a2a;
  font-size: .82rem;
  font-weight: 500;
  margin-top: .3rem;
}
.validation-summary {
  border: 1px solid #f3c9c9;
  background: #fdeeee;
  color: #a52222;
  border-radius: var(--sy-radius-sm);
  padding: .9rem 1.1rem;
  font-size: .9rem;
}
.validation-summary ul { margin: 0; padding-left: 1.1rem; }

.alert-sy-success {
  border: 1px solid #bfe3cb;
  background: #eff9f2;
  color: #1c6b38;
  border-radius: var(--sy-radius);
  padding: 1.15rem 1.35rem;
}
.alert-sy-warn {
  border: 1px solid #f5dfb0;
  background: #fdf6e7;
  color: #7d5a12;
  border-radius: var(--sy-radius);
  padding: 1.15rem 1.35rem;
  font-size: .92rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-tile {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--sy-line);
}
.contact-tile:last-child { border-bottom: 0; }
.contact-tile i {
  color: var(--sy-brand);
  font-size: 1.1rem;
  margin-top: .18rem;
  flex: 0 0 1.1rem;
}
.contact-tile .ct-label {
  display: block;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sy-muted);
  margin-bottom: .12rem;
}
.contact-tile a, .contact-tile span.ct-value {
  color: var(--sy-ink);
  font-weight: 500;
  font-size: .96rem;
}
.contact-tile a:hover { color: var(--sy-brand-dk); }

/* ==========================================================================
   Accordion
   ========================================================================== */

.accordion-sy .accordion-item {
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius) !important;
  margin-bottom: .7rem;
  overflow: hidden;
  background: var(--sy-bg);
}
.accordion-sy .accordion-button {
  font-family: var(--sy-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--sy-ink);
  background: var(--sy-bg);
  padding: 1.05rem 1.3rem;
}
.accordion-sy .accordion-button:not(.collapsed) {
  background: var(--sy-brand-tint);
  color: var(--sy-brand-dr);
  box-shadow: none;
}
.accordion-sy .accordion-button:focus { box-shadow: none; }
.accordion-sy .accordion-button::after { width: 1rem; height: 1rem; background-size: 1rem; }
.accordion-sy .accordion-body { padding: 0 1.3rem 1.25rem; font-size: .94rem; color: var(--sy-body); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--sy-ink);
  color: rgba(255,255,255,.6);
  padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  font-size: .92rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sy-brand) 0%, rgba(0,160,224,.15) 100%);
}
/* the logo is dark artwork - render it white on the navy footer */
.site-footer .navbar-brand img.logo {
  height: 46px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.site-footer h6 {
  color: #fff;
  font-family: var(--sy-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .89rem; }
.footer-links a:hover { color: #fff; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .7rem; font-size: .89rem; line-height: 1.55; }
.footer-contact i { color: var(--sy-brand); margin-top: .2rem; flex: 0 0 1rem; }
.footer-contact a { color: rgba(255,255,255,.76); }
.footer-contact a:hover { color: #fff; }

.social { display: flex; gap: .55rem; margin-top: 1.25rem; }
.social a {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.social a:hover { background: var(--sy-brand); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem;
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: rgba(255,255,255,.48);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Sitemap page
   ========================================================================== */

.sitemap-col h3 {
  font-size: .8rem;
  font-family: var(--sy-sans);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sy-muted);
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--sy-line);
  margin-bottom: 1rem;
}
.sitemap-col ul { list-style: none; padding: 0; margin: 0; }
.sitemap-col li { margin-bottom: .55rem; }
.sitemap-col a { color: var(--sy-ink); font-size: .92rem; font-weight: 500; }
.sitemap-col a:hover { color: var(--sy-brand-dk); }

/* ==========================================================================
   WhatsApp click-to-chat
   ========================================================================== */

/* --- inline link in the top bar (desktop) --- */
.wa-inline {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-left: .85rem;
  padding: .1rem .55rem;
  border-radius: 999px;
  background: rgba(37,211,102,.16);
  color: #d6ffe6 !important;
  font-weight: 600;
  font-size: .78rem;
  transition: background .18s ease, color .18s ease;
}
.wa-inline i { color: var(--sy-whatsapp); margin-right: 0; }
.wa-inline:hover { background: var(--sy-whatsapp); color: #fff !important; }
.wa-inline:hover i { color: #fff; }

/* --- floating button (all breakpoints; the only one mobile gets) --- */
.wa-float {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 52px;
  padding: 0 1.05rem 0 calc(1.05rem - 2px);
  border-radius: 999px;
  background: var(--sy-whatsapp);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  box-shadow: 0 6px 20px -6px rgba(37,211,102,.7), 0 2px 6px rgba(15,30,51,.16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.wa-float i { font-size: 1.6rem; }
.wa-float:hover,
.wa-float:focus {
  background: var(--sy-whatsapp-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -6px rgba(37,211,102,.8), 0 2px 6px rgba(15,30,51,.18);
}

/* Collapse to a circle on small screens so it never covers content. */
@media (max-width: 575.98px) {
  .wa-float {
    width: 52px;
    padding: 0;
    justify-content: center;
    left: 1rem;
    bottom: 1rem;
  }
  .wa-float-label { display: none; }
}

@media print { .wa-float { display: none !important; } }

/* --- compose popup --- */
.wa-modal {
  border: 0;
  border-radius: var(--sy-radius-lg);
  box-shadow: var(--sy-shadow-lg);
  overflow: hidden;
}
.wa-modal .modal-header {
  background: var(--sy-whatsapp);
  border-bottom: 0;
  padding: 1.05rem 1.4rem;
}
.wa-modal .modal-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
}
.wa-modal .modal-title i { font-size: 1.3rem; }
.wa-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: .85;
}
.wa-modal .btn-close:focus { box-shadow: none; opacity: 1; }
.wa-modal .modal-body { padding: 1.4rem; }
.wa-modal-intro {
  font-size: .92rem;
  color: var(--sy-muted);
  margin-bottom: 1.1rem;
}
.wa-modal .form-control:focus {
  border-color: var(--sy-whatsapp);
  box-shadow: 0 0 0 3px rgba(37,211,102,.18);
}
.wa-modal .form-control.is-invalid {
  border-color: #c02a2a;
  background-image: none;
}
.wa-modal .modal-footer {
  border-top: 1px solid var(--sy-line);
  padding: 1rem 1.4rem;
  gap: .5rem;
}

.btn-whatsapp {
  background: var(--sy-whatsapp);
  border-color: var(--sy-whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 8px 20px -10px rgba(37,211,102,.9);
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
  background: var(--sy-whatsapp-dk);
  border-color: var(--sy-whatsapp-dk);
  color: #fff;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--sy-ink);
  color: #fff;
  box-shadow: var(--sy-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .22s ease;
  z-index: 1020;
  border: 0;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--sy-brand); color: #fff; }

/* ==========================================================================
   Misc
   ========================================================================== */

.rule { height: 1px; background: var(--sy-line); border: 0; opacity: 1; margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sy-ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--sy-radius-sm) 0;
  z-index: 2000;
}
.skip-link:focus { left: 0; color: #fff; }

@media print {
  .site-header, .site-footer, .to-top, .cta-band, .topbar { display: none !important; }
  body { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
