/* ========================================
   SYNAPSE VALUETECH - SHARED STYLES
   ======================================== */

:root {
  --color-primary: #0b1795;
  --color-primary-light: #3538cd;
  --color-primary-dark: #060e6b;
  --color-accent: #eef2ff;
  --color-text-dark: #3f3f46;
  --color-text-gray: #71717a;
  --color-border: #e5e7eb;
  --color-white: #fff;
  --color-footer-bg: #0d1230;
  --color-footer-bottom: #181d27;
  --max-width: 1280px;
  --margin-sm: 16px;
  --margin-md: 32px;
  --margin-lg: 48px;
  --margin-xl: 120px;
}

* {
  box-sizing: border-box;
  --min-screen-size: 430;
  --max-screen-size: 1349;
  --interpolate-diff: calc(var(--max-font-size) - var(--min-font-size));
  --interpolate: clamp(calc(var(--min-font-size) * 1px), calc((var(--min-font-size) * 1px) + var(--interpolate-diff) * ((100vw - calc(var(--min-screen-size) * 1px)) / (var(--max-screen-size) - var(--min-screen-size)))), calc(var(--max-font-size) * 1px));
}

html { height: 100%; font-size: 16px; }

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--color-text-dark);
}

main {
  flex: 1;
}

img, video, svg, object {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

p { margin: 0; }

button { cursor: pointer; border: 0; background: transparent; font-family: inherit; }

a { color: inherit; text-decoration: none; }

/* ========================================
   SHARED UTILITY CLASSES
   ======================================== */

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: var(--margin-xl);
}

.hover-bright:hover { filter: brightness(1.2); }
.hover-dark:hover { filter: brightness(0.85); }
.hover-zoom:hover { scale: 1.05; }

.btn-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-gray);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  padding: 3px 7px;
  border: 1px solid var(--color-text-gray);
  border-radius: 9999px;
  line-height: 1.5;
}

/* ========================================
   SITE HEADER (NAVBAR) — matches reference
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 48px;
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  height: 72px;
}

/* LOGO — left-aligned, fixed width */
.site-header__logo {
  flex-shrink: 0;
  width: 140px;
  margin-right: 40px;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* NAV — centered, grows to fill space */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-grow: 1;
  color: #52525b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* All nav links and items */
.site-header__nav > a,
.site-header__nav-item {
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  color: #52525b;
  transition: color 0.15s;
  line-height: 1;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.site-header__nav > a:hover,
.site-header__nav-item:hover {
  color: var(--color-primary);
}

/* Active nav link (blue) */
.site-header__nav > a.active {
  color: var(--color-primary);
}

/* Active nav-item (for Company, Solutions, Services) */
.site-header__nav-item.active {
  color: var(--color-primary);
}

/* Dropdown wrapper */
.site-header__nav-dropdown {
  position: relative;
}

/* Show dropdown on hover */
.site-header__nav-dropdown:hover > .site-header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Standard dropdown panel */
.site-header__dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 300;
}

.site-header__dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: #374151 !important;
  border-radius: 8px;
  text-transform: none !important;
  font-weight: 600 !important;
  transition: background 0.13s, color 0.13s !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.site-header__dropdown-menu a:hover {
  background: #eef2ff !important;
  color: #0b1795 !important;
}

/* Chevron arrow */
.chevron {
  width: 11px;
  height: 6px;
  flex-shrink: 0;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2352525b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s;
}

.site-header__nav-dropdown:hover .chevron {
  transform: rotate(180deg);
}

/* CTA button — far right, dark navy pill */
.site-header__cta {
  flex-shrink: 0;
  margin-left: 32px;
  background-color: #0b1795;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 28px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.site-header__cta:hover {
  background-color: #0d1eb5;
}

/* Mobile hamburger — hidden on desktop */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  border: none;
  background: none;
}

.site-header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #52525b;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   SITE FOOTER
   ======================================== */

.site-footer {
  background: linear-gradient(160deg, #0d1230 0%, #0b1795 100%);
  color: rgba(255,255,255,0.9);
}

.site-footer__main {
  padding: 64px var(--margin-xl) 56px;
  display: flex;
  justify-content: center;
}

.site-footer__inner {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 280px;
  max-width: 280px;
}

.site-footer__logo {
  width: 160px;
}

.site-footer__tagline {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 260px;
}

.site-footer__divider {
  width: 1px;
  align-self: stretch;
  min-height: 120px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  flex: 1;
}

.site-footer__col h4 {
  color: #c7d7fe;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-footer__col ul li a:hover {
  color: #c7d7fe;
}

/* Newsletter section */
.site-footer__newsletter {
  padding: 0 var(--margin-xl) 56px;
  display: flex;
  justify-content: center;
}

.site-footer__newsletter-inner {
  width: 100%;
  max-width: var(--max-width);
  background: rgba(45,49,166,0.5);
  border: 1px solid #6366f1;
  border-radius: 12px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-footer__newsletter-text {
  flex: 1;
}

.site-footer__newsletter-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.site-footer__newsletter-text p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.site-footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px;
  width: 420px;
  flex-shrink: 0;
}

.site-footer__newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #52525b;
  padding: 6px 12px;
  font-family: inherit;
  font-weight: 500;
}

.site-footer__newsletter-form input::placeholder { color: #a1a1aa; }

.site-footer__newsletter-btn {
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--color-primary-light);
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s;
}

.site-footer__newsletter-btn:hover { filter: brightness(1.15); }

/* Footer bottom bar */
.site-footer__bottom {
  background: #181d27;
  border-top: 1px solid #2d31a6;
  padding: 20px var(--margin-xl);
  display: flex;
  justify-content: center;
}

.site-footer__bottom-inner {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__copyright {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.site-footer__social a:hover {
  background: rgba(255,255,255,0.18);
}

.site-footer__social img {
  width: 20px;
  height: 20px;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1100px) {
  .section {
    padding-inline: var(--margin-md);
  }

  .site-footer__main,
  .site-footer__newsletter,
  .site-footer__bottom {
    padding-inline: var(--margin-md);
  }

  .site-header {
    padding-inline: var(--margin-md);
  }

  .site-footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .site-footer__newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .site-footer__newsletter-form {
    width: 100%;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
  .section {
    padding-inline: var(--margin-sm);
  }

  .site-header {
    padding-inline: var(--margin-sm);
  }

  .site-footer__main,
  .site-footer__newsletter,
  .site-footer__bottom {
    padding-inline: var(--margin-sm);
  }

  .site-header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
    font-size: 18px;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__nav-dropdown:hover .site-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--color-accent);
    padding: 4px 0;
    margin-top: 8px;
    border-radius: 8px;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__hamburger {
    display: flex;
  }

  .site-header__hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .site-header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .site-header__hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 40px;
  }

  .site-footer__brand {
    flex: none;
    max-width: 100%;
  }

  .site-footer__divider {
    display: none;
  }

  .site-footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .site-footer__main {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .site-footer__newsletter-inner {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .site-footer__links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========================================
   WIDE DROPDOWN – OUR SOLUTIONS & SERVICES
   ======================================== */

.site-header__dropdown-menu--wide {
  width: 520px;
  padding: 20px 0 0;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
}

.site-header__nav-dropdown:hover .site-header__dropdown-menu--wide {
  transform: translateX(-50%) translateY(0);
}

/* Solutions: 2x3 grid of product cards */
.site-header__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0 8px;
}

.site-header__dropdown-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 12px 14px !important;
  border-radius: 8px;
  transition: background 0.15s;
}

.site-header__dropdown-item:hover {
  background: #eef2ff;
}

.site-header__dropdown-label {
  font-size: 11px;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header__dropdown-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

/* Services: 3-column layout */
.site-header__dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 0 8px;
}

.site-header__dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 6px;
}

.site-header__dropdown-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #0b1795;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px 10px;
  border-bottom: 2px solid #e0e7ff;
  margin-bottom: 4px;
  display: block;
}

.site-header__dropdown-col a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  padding: 7px 10px !important;
  border-radius: 6px;
  display: block !important;
}

.site-header__dropdown-col a:hover {
  background: #eef2ff !important;
  color: #0b1795 !important;
}

/* Footer link at bottom of wide dropdown */
.site-header__dropdown-footer {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #0b1795 !important;
  padding: 12px 20px;
  margin-top: 8px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 0 0 12px 12px;
  transition: background 0.15s;
}

.site-header__dropdown-footer:hover {
  background: #eef2ff !important;
  color: #0b1795 !important;
}

/* nav-item active state */
.site-header__nav-item.active {
  color: #0b1795;
  font-weight: 700;
}

/* ========================================
   COMPANY DROPDOWN – icon list style
   ======================================== */

.dropdown-company {
  min-width: 220px !important;
  padding: 12px 8px !important;
  border-radius: 16px !important;
}

.dd-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background 0.14s, color 0.14s !important;
  cursor: pointer;
  white-space: nowrap;
}

.dd-item:hover {
  background: #eef2ff !important;
  color: #0b1795 !important;
}

/* Icon box — idle: light indigo bg, navy icon */
.dd-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef2ff;
  border-radius: 8px;
  transition: background 0.14s;
}

.dd-icon img {
  width: 18px;
  height: 18px;
  display: block;
  /* SVGs are stroked #0b1795 — show as-is in idle */
  filter: none;
  transition: filter 0.14s;
}

/* Hover: deepen bg, keep icon colour */
.dd-item:hover .dd-icon {
  background: #dde3ff;
}

/* Active / current page: navy bg, white icon */
.dd-item--active,
.dd-item:active {
  background: #0b1795 !important;
  color: #fff !important;
}
.dd-item--active .dd-icon,
.dd-item:active .dd-icon {
  background: rgba(255,255,255,0.18) !important;
}
.dd-item--active .dd-icon img,
.dd-item:active .dd-icon img {
  filter: brightness(0) invert(1) !important;
}

.dd-label {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  line-height: 1.2;
  white-space: nowrap;
}

/* ========================================
   MEGA MENU – SOLUTIONS & SERVICES
   ======================================== */

.mega-menu {
  width: 680px !important;
  padding: 0 !important;
  left: 0 !important;
  transform: translateY(8px) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13) !important;
}

.site-header__nav-dropdown:hover > .mega-menu {
  transform: translateY(0) !important;
}

.mega-menu__inner {
  display: flex;
  min-height: 360px;
}

/* LEFT SIDEBAR */
.mega-menu__sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.mega-menu__section-label {
  font-size: 13px;
  font-weight: 700;
  color: #0b1795;
  padding: 0 10px 12px;
  margin-bottom: 4px;
  display: block;
}

/* SIDEBAR ITEMS */
.mega-menu__item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  transition: background 0.14s, color 0.14s !important;
  cursor: pointer;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: normal !important;
}

.mega-menu__item:hover {
  background: #eef2ff !important;
  color: #0b1795 !important;
}

/* Ensure text inside item-name inherits correctly on hover */
.mega-menu__item:hover .mega-menu__item-name {
  color: #0b1795 !important;
}

.mega-menu__item--active,
.mega-menu__item--active:link,
.mega-menu__item--active:visited,
.mega-menu__item--active:hover,
.mega-menu__item--active:focus {
  background: #0b1795 !important;
  color: #fff !important;
  border-radius: 10px !important;
}

/* ── MEGA-MENU ICON & TEXT: 3 states ──────────────────────
   IDLE  : light blue box (#eef2ff), brand navy icon & text
   HOVER : full row light blue bg, deeper icon box, navy text
   ACTIVE: brand navy row, frosted-white icon box, white icon+text
   ─────────────────────────────────────────────────────────── */

/* IDLE — light blue box, brand navy icon via currentColor */
.mega-menu__item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #0b1795;           /* currentColor for SVG strokes */
  transition: background 0.14s, color 0.14s;
}
.mega-menu__item-icon img {
  width: 18px;
  height: 18px;
  display: block;
  /* SVGs use stroke="currentColor" — colour set on parent */
  filter: none;
  transition: filter 0.14s;
}

/* HOVER — full row light blue (#eef2ff on .mega-menu__item:hover already set),
   icon box deepens, icon stays navy */
.mega-menu__item:hover .mega-menu__item-icon {
  background: #dde3ff;
  color: #0b1795;
}
.mega-menu__item:hover .mega-menu__item-icon img {
  filter: none;
}

/* ACTIVE — brand navy row, frosted-white icon box, white icon + white text */
.mega-menu__item--active .mega-menu__item-icon,
.mega-menu__item--active:hover .mega-menu__item-icon {
  background: rgba(255,255,255,0.18) !important;
  color: #fff !important;
}
.mega-menu__item--active .mega-menu__item-icon img,
.mega-menu__item--active:hover .mega-menu__item-icon img {
  filter: brightness(0) invert(1) !important;
}

/* ACTIVE text — white, beats the base dropdown-menu a colour rule */
.mega-menu__item--active .mega-menu__item-name,
.mega-menu__item--active:hover .mega-menu__item-name {
  color: #fff !important;
}

.mega-menu__item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

/* RIGHT PANEL – preview */
.mega-menu__panel {
  flex: 1;
  background: #f4f6ff;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mega-menu__preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.mega-menu__preview--hidden {
  display: none !important;
}

.mega-menu__preview-title {
  font-size: 22px;
  font-weight: 800;
  color: #0b1795;
  line-height: 1.2;
}

.mega-menu__preview-desc {
  font-size: 15px;
  color: #52525b;
  font-weight: 500;
  line-height: 1.6;
  max-width: 340px;
}

.mega-menu__preview-img {
  margin-top: 16px;
  flex: 1;
  background: #e0e7ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}

.mega-menu__preview-svg {
  width: 60px;
  height: 60px;
  opacity: 0.45;
  display: block;
}

/* ========================================
   MEGA MENU – INDUSTRIES (wider layout)
   ======================================== */

.mega-menu--industries {
  width: 960px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
}

.site-header__nav-dropdown:hover > .mega-menu--industries {
  transform: translateX(-50%) translateY(0) !important;
}

.mega-menu__sidebar--industries {
  width: 270px;
  padding: 16px 10px;
  overflow-y: auto;
  max-height: 500px;
}

.mega-menu__sidebar--industries::-webkit-scrollbar { width: 4px; }
.mega-menu__sidebar--industries::-webkit-scrollbar-track { background: transparent; }
.mega-menu__sidebar--industries::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

.mega-menu__panel--case-studies {
  background: #fff;
  padding: 20px 20px 20px 24px;
}

/* Case studies 2-col grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: none;
}

.case-study-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 10px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  color: inherit !important;
  background: #fff !important;
  cursor: pointer;
  text-transform: none !important;
  position: relative !important;
}

.case-study-card:hover {
  border-color: #c7d2fe !important;
  box-shadow: 0 2px 12px rgba(11,23,149,0.08) !important;
}

/* Thumbnail block */
.case-study-card__thumb {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: #eef2ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #0b1795;
  letter-spacing: 0.5px;
}

.case-study-card__logo {
  font-size: 11px;
  font-weight: 800;
  color: #0b1795;
}

.case-study-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-right: 24px;
}

.case-study-card__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-study-card__desc {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  line-height: 1.4;
  white-space: normal;
}

/* PDF icon — pinned top-right corner */
.case-study-card__pdf {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  flex-shrink: 0;
  opacity: 0.72;
  transition: opacity 0.15s;
}
.case-study-card:hover .case-study-card__pdf {
  opacity: 1;
}
.mega-menu__item:hover .mega-menu__item-icon,.mega-menu__item--active:hover .mega-menu__item-icon {
   color: #3f3f46 !important;
   background:#3f3f46 !important;
}
.mega-menu__item--active:hover .mega-menu__item-name {
  color: #3f3f46 !important;
}


/* ═══════════════════════════════════════════════
   WHATSAPP FLOATING ACTION BUTTON
   ═══════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 3px 10px rgba(0,0,0,0.18);
}
.whatsapp-fab svg {
  flex-shrink: 0;
}
/* Pulse ring animation */
.whatsapp-fab::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.4; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
/* Tooltip */
.whatsapp-fab__tooltip {
  position: absolute;
  right: 64px;
  background: #1a1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.whatsapp-fab__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
  border-right: none;
}
.whatsapp-fab:hover .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .whatsapp-fab { bottom: 20px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-fab__tooltip { display: none; }
}
