@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --ink:#111827;
  --ink-soft:#6B7280;
  --ink-faint:#9CA3AF;
  --blue:#1D427B;
  --blue-deep:#112B56;
  --blue-tint:#F1F5F9;
  --line:#E5E7EB;
  --navy:#1D427B;
  --navy-soft:#112B56;
  --radius:16px;
  --display:'Playfair Display', Georgia, serif;
  --body:'Poppins', sans-serif;
}
*{box-sizing:border-box;}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;}
a{text-decoration:none;color:inherit;}
img,svg{max-width:100%;}

.nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  padding: 0 56px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  height: 80px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1D427B; /* Premium blue */
}

/* Caret icon */
.caret {
  font-size: 9px;
  display: inline-block;
  margin-top: 1px;
  transition: transform 0.2s;
}

/* Dropdown Menu CSS */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #ffffff;
  min-width: 230px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 110;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #1e293b;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
  text-align: left;
}

.dropdown-menu a:hover {
  background-color: #f8fafc;
  color: #1D427B;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown:hover .caret,
.dropdown:hover .nav-link svg {
  transform: rotate(90deg);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

/* Contact Us Button CSS (Pill Style) */
.nav-cta {
  background-color: #1D427B; /* Matches same dark blue */
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 24px;
  border-radius: 9999px; /* Rounded pill design */
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-cta:hover {
  background-color: #112B56;
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }
  .nav {
    padding: 16px 24px;
  }
}


.hero{text-align:center;padding:84px 24px 56px;max-width:780px;margin:0 auto;}
.eyebrow{font-weight:700;font-size:13px;letter-spacing:0.12em;color:#F6851F;text-transform:uppercase;margin-bottom:16px;}
.hero h1{font-family:var(--display);font-weight:700;font-size:clamp(32px,4.4vw,46px);line-height:1.18;margin:0 0 18px;color:var(--ink);}
.hero p{font-size:17px;line-height:1.65;color:var(--ink-soft);margin:0;}

.tabs-wrap{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line);transition:top 0.3s ease;}
.tabs-wrap.tabs-hidden{top:-100px;}
.tabs{max-width:1180px;margin:0 auto;padding:18px 56px;display:flex;gap:10px;flex-wrap:wrap;justify-content:center;}
.tab{font-weight:600;font-size:13.5px;padding:10px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink-soft);cursor:pointer;transition:all .15s ease;}
.tab:hover{border-color:var(--blue);color:var(--blue);}
.tab.active{background:var(--blue);border-color:var(--blue);color:#fff;}

@media (max-width: 850px) {
  .tabs-wrap {
    top: 0;
    overflow: hidden;
    position: sticky;
  }
  .tabs {
    padding: 14px 20px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    font-size: 13px;
    padding: 8px 16px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .tabs-wrap::before,
  .tabs-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 52;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .tabs-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 20%, rgba(248, 250, 252, 0));
  }
  .tabs-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 20%, rgba(248, 250, 252, 0));
  }
  .tabs-wrap.can-scroll-left::before {
    opacity: 1;
  }
  .tabs-wrap.can-scroll-right::after {
    opacity: 1;
  }
}

.bucket{max-width:1180px;margin:0 auto;padding:54px 56px 10px;}
.bucket-head{margin-bottom:30px;}
.bucket-head .cat{font-weight:700;font-size:12.5px;letter-spacing:0.1em;text-transform:uppercase;color:var(--blue);margin-bottom:8px;}
.bucket-head h2{font-family:var(--display);font-weight:700;font-size:26px;margin:0 0 8px;color:var(--ink);}
.bucket-head p{font-size:14.5px;color:var(--ink-soft);margin:0;max-width:620px;}

.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:6px;}
@media (max-width:880px){.grid{grid-template-columns:1fr;}}

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s ease, transform .2s ease;}
.card:hover{box-shadow:0 12px 24px -4px rgba(29,66,123,0.06), 0 4px 12px -6px rgba(29,66,123,0.06);transform:translateY(-3px);}
.card-top{height:160px;background:linear-gradient(135deg,rgba(29, 66, 123, 0.03),#fff);display:flex;align-items:center;justify-content:flex-start;padding:0 28px;border-bottom:1px solid var(--line);overflow:hidden;position:relative;}
.card-top .badge{font-weight:700;font-size:11.5px;letter-spacing:0.08em;text-transform:uppercase;color:var(--blue);background:#fff;border:1px solid rgba(29,66,123,0.15);padding:6px 12px;border-radius:999px;flex-shrink:0;position:relative;z-index:20;}
.card-top-graphic{position:absolute;top:0;right:0;width:50%;height:100%;opacity:0.75;pointer-events:none;z-index:10;transition:transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;display:flex;align-items:center;justify-content:flex-end;padding-right:28px;}
.card-top-graphic svg{width:auto;height:80%;max-width:100%;display:block;}
.card:hover .card-top-graphic{transform:scale(1.08) translateX(-4px);opacity:0.95;}
.card-body{padding:26px 28px 28px;display:flex;flex-direction:column;flex:1;}
.card h3{font-family:var(--display);font-weight:700;font-size:20px;margin:0 0 10px;color:var(--ink);}
.card .desc{font-size:14.5px;line-height:1.65;color:var(--ink-soft);margin:0 0 18px;}
.card .colhead{font-size:11.5px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:8px;}
.card ul{margin:0 0 18px;padding:0;list-style:none;}
.card ul li{position:relative;padding-left:18px;font-size:14px;line-height:1.55;color:var(--ink);margin-bottom:7px;}
.card ul li::before{content:"";position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--blue);}
.card .impact-list li{color:var(--ink-soft);}
.card .impact-list li::before{background:#10B981;}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;}
.tag{font-size:12px;font-weight:600;color:var(--blue);background:rgba(29,66,123,0.06);padding:6px 12px;border-radius:999px;}
.card-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;}
.read-more{font-weight:700;font-size:13.5px;color:var(--blue);display:flex;align-items:center;gap:6px;}
.read-more:hover{color:var(--blue-deep);}

.cta-band{margin-top:90px;background:radial-gradient(100% 100% at top left, #244F8E 0%, #1D427B 100%);color:#fff;text-align:center;padding:80px 24px;}
.cta-band h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3.4vw,38px);margin:0 0 16px;}
.cta-band p{font-size:16px;color:#E2E8F0;max-width:560px;margin:0 auto 30px;line-height:1.6;}
.cta-btn{display:inline-block;background:#F6851F;color:#fff;font-weight:700;font-size:15px;padding:15px 32px;border-radius:8px;transition:all 0.2s;}
.cta-btn:hover{background:#E07310;transform:translateY(-1px);}

.hidden{display:none !important;}

/* ===== Detail page specific ===== */
.breadcrumb{max-width:920px;margin:32px auto 0;padding:0 24px;font-size:13px;color:var(--ink-faint);display:flex;gap:8px;flex-wrap:wrap;}
.breadcrumb a{color:var(--blue);font-weight:600;}
.detail-hero{max-width:920px;margin:0 auto;padding:28px 24px 18px;text-align:left;}
.detail-hero .cat{font-weight:700;font-size:12.5px;letter-spacing:0.1em;text-transform:uppercase;color:var(--blue);margin-bottom:14px;}
.detail-hero h1{font-family:var(--display);font-weight:700;font-size:clamp(28px,4vw,40px);line-height:1.2;margin:0 0 16px;}
.detail-hero .lede{font-size:17px;line-height:1.7;color:var(--ink-soft);max-width:780px;}
.detail-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}

.detail-body{max-width:920px;margin:0 auto;padding:30px 24px 10px;}
.detail-section{margin-bottom:48px;}
.detail-section h2{font-family:var(--display);font-weight:700;font-size:22px;margin:0 0 16px;color:var(--ink);}
.detail-section p{font-size:15.5px;line-height:1.75;color:var(--ink-soft);margin:0 0 14px;}
.detail-section ul{margin:0;padding:0;list-style:none;}
.detail-section ul li{position:relative;padding-left:22px;font-size:15px;line-height:1.7;color:var(--ink);margin-bottom:10px;}
.detail-section ul li::before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;border-radius:50%;background:var(--blue);}

.diagram-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px 28px 22px;margin-bottom:10px;}
.diagram-card .diagram-label{font-weight:700;font-size:11.5px;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:18px;}
.diagram-card figcaption{font-size:13px;color:var(--ink-faint);margin-top:16px;text-align:center;line-height:1.6;}
.legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;justify-content:center;}
.legend span{font-size:12px;color:var(--ink-soft);display:flex;align-items:center;gap:6px;}
.legend .dot{width:9px;height:9px;border-radius:50%;display:inline-block;}

.impact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:760px){.impact-grid{grid-template-columns:1fr;}}
.impact-stat{background:var(--teal-tint);border:1px solid #C9F2E1;border-radius:14px;padding:22px 20px;}
.impact-stat .headline{font-family:var(--display);font-weight:700;font-size:20px;color:#0E8A5C;margin-bottom:6px;}
.impact-stat .sub{font-size:13.5px;color:var(--ink-soft);line-height:1.5;}

.back-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--blue);margin:38px auto 0;max-width:920px;padding:0 24px;}

/* footer.site-footer replaced by brand-aligned layout at bottom of file */

/* ===== Interactive Case Study Promo Banner ===== */
.promo-banner-wrap {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 56px;
}
.promo-banner {
  background: radial-gradient(100% 100% at top left, #1D427B 0%, #0D264A 100%);
  border: 1px solid #1D427B;
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: center;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(29, 66, 123, 0.15);
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(246, 133, 31, 0.08) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: 0.7;
  pointer-events: none;
}
.promo-content {
  position: relative;
  z-index: 10;
}
.promo-badge {
  display: inline-block;
  background: rgba(246, 133, 31, 0.15);
  color: #F6851F;
  border: 1px solid rgba(246, 133, 31, 0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.promo-banner h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 0 0 12px;
  color: #FFFFFF;
}
.promo-banner p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #E2E8F0;
  margin: 0 0 24px;
}
.promo-btn {
  display: inline-block;
  background: #F6851F;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.2s;
}
.promo-btn:hover {
  background: #E07310;
  transform: translateY(-1px);
}
.promo-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}
.promo-graphic svg {
  width: 130px;
  height: 130px;
  color: #F6851F;
}

@media (max-width: 768px) {
  .promo-banner-wrap {
    padding: 0 24px;
  }
  .promo-banner {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
    text-align: center;
  }
  .promo-graphic {
    display: none;
  }
}

/* ===== Simplified Detail Page Layout ===== */
body.detail-page {
  background: var(--bg); /* Plain solid background #F8FAFC */
}
.detail-hero-box {
  background: radial-gradient(100% 100% at top left, #1D427B 0%, #112B56 100%);
  border: 1px solid #112B56;
  border-radius: 20px;
  padding: 48px;
  color: #FFFFFF;
  margin: 32px auto 40px;
  max-width: 920px;
  box-shadow: 0 12px 32px rgba(29, 66, 123, 0.12);
  position: relative;
  overflow: hidden;
}
.detail-hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(246, 133, 31, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
}
.detail-hero-box .cat {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F6851F; /* Brand Orange eyebrow */
  margin-bottom: 16px;
}
.detail-hero-box h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 18px;
  line-height: 1.2;
}
.detail-hero-box .lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: #E2E8F0;
  max-width: 780px;
  margin: 0 0 28px;
}
.detail-hero-box .detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}
.detail-hero-box .tag {
  font-size: 12px;
  font-weight: 700;
  color: #F6851F;
  background: rgba(246, 133, 31, 0.12);
  border: 1px solid rgba(246, 133, 31, 0.25);
  padding: 6px 14px;
  border-radius: 99px;
  margin-right: 0;
  display: inline-block;
}
.detail-hero-box .brand-watermark {
  position: absolute;
  bottom: 24px;
  right: 32px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .detail-hero-box {
    padding: 32px 24px;
    margin: 20px 16px 30px;
  }
  .detail-hero-box .brand-watermark {
    position: static;
    margin-top: 24px;
    display: block;
    text-align: left;
  }
}
.impact-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.impact-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.impact-stat .headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: #F6851F;
  margin-bottom: 6px;
}

/* ==========================================================================
   Premium Multi-Column Footer Styles
   ========================================================================== */
.site-footer {
  background-color: #1C1C1C !important; /* Charcoal dark background from live site */
  color: #f8fafc !important;
  padding: 80px 56px 40px !important;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left !important;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1.1fr 1.1fr 0.8fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.footer-col {
  padding-right: 15px;
}

.footer-col + .footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 25px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
}
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-cta-headline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-cta-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 28px;
  max-width: 320px;
}

.footer-cta-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background-color: #ffffff; /* revealed background on hover */
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 8px;
  transition: color 0.3s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
  z-index: 1; /* create context */
}
.footer-cta-btn::before,
.footer-cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #1D427B; /* matches the logo brand blue */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.footer-cta-btn::before {
  left: 0;
}
.footer-cta-btn::after {
  right: 0;
}
.footer-cta-btn:hover {
  color: #1D427B !important; /* changes text color to readable blue */
  transform: translateY(-1px);
}
.footer-cta-btn:hover::before {
  transform: translateY(-100%);
}
.footer-cta-btn:hover::after {
  transform: translateY(100%);
}
.footer-cta-btn:active {
  transform: scale(0.96) translateY(0);
}

/* Header Columns */
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

/* Standard Links List */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links li {
  display: flex;
  gap: 14px;
}
.footer-links li a {
  font-size: 13.5px;
  color: #ffffff;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
  white-space: nowrap;
}
.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* Info Paragraphs */
.footer-info-text {
  font-size: 13.5px;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.5;
}
.footer-info-text a {
  color: #ffffff;
  transition: color 0.15s ease;
}
.footer-info-text a:hover {
  color: #ffffff;
}

/* Badges Alignment */
.footer-badges-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-socials {
  display: flex;
  gap: 20px;
}
.footer-socials a {
  color: #94A3B8;
  transition: color 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 13.5px;
  color: #ffffff;
  flex-grow: 1;
  text-align: right;
  margin-right: 24px;
}

.footer-q-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.footer-q-logo:hover {
  transform: rotate(15deg);
}

/* Reponsive Mechanics */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    row-gap: 50px;
  }
  .footer-col {
    padding-right: 15px;
  }
  .footer-col + .footer-col {
    padding-left: 25px;
  }
  /* Remove dividers and paddings for stacked cols */
  .footer-col:nth-child(4),
  .footer-col:nth-child(5) {
    border-left: none !important;
    padding-left: 0 !important;
  }
  /* Add borders strategically on row lines */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 24px 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .footer-col {
    padding-right: 0;
    border-left: none !important;
    padding-left: 0 !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .footer-copyright {
    text-align: center;
    margin-right: 0;
  }
}

/* ==========================================================================
   Mega Dropdown Menu Styles (As on refactorq.com)
   ========================================================================== */
.mega-menu {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  top: 80px !important;
  transform: translateY(10px) !important;
  background-color: #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) !important;
}

.mega-menu-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}

.mega-menu-left {
  width: 66.666%;
  padding: 40px 60px 40px 40px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mega-menu-left-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* 2x2 Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.service-card:hover {
  background-color: #f8fafc;
}

.service-icon-wrapper {
  padding: 10px;
  background-color: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.service-card-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.service-primary {
  font-size: 13.5px;
  font-weight: 600;
  color: #1D427B; /* Primary brand blue */
}

.service-secondary {
  font-size: 13.5px;
  font-weight: 500;
  color: #0f172a;
}

/* Services Link Column */
.services-list-col {
  width: 180px;
  flex-shrink: 0;
}

.services-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.services-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-links a {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.services-links a:hover {
  color: #1D427B;
}

/* Horizontal line inside dropdown */
.mega-menu-divider {
  border: 0;
  height: 1px;
  background-color: #e2e8f0;
  margin: 24px 0 16px;
}

.mega-menu-left-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: #1D427B;
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.careers-promo {
  font-size: 12.5px;
  color: #475569;
}

.careers-promo a {
  font-weight: 600;
  color: #1D427B;
  text-decoration: none;
}

.careers-promo a:hover {
  text-decoration: underline;
}

/* Right Section with grey bg */
.mega-menu-right {
  width: 33.333%;
  padding: 40px;
  background-color: #f8fafc;
  border-left: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
}

.product-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 250px;
}

.product-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  width: 200px;
  height: 120px;
  background-color: #ffffff;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image-wrapper:hover .product-image {
  transform: scale(1.05);
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.product-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 12px;
}

.product-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #1D427B;
  text-decoration: underline;
}

.product-link:hover {
  color: #112B56;
}

/* Footer Badge Styles */
.footer-badge-link {
  display: block;
  transition: opacity 0.2s ease;
}

.footer-badge-link:hover {
  opacity: 0.85;
}

.footer-badge-img {
  width: 100%;
  height: auto;
  display: block;
}


