.elementor-989391 .elementor-element.elementor-element-50083ad0{--display:flex;}.elementor-989391 .elementor-element.elementor-element-39ce40bc{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS *//* ============================================================
   RIVERFLOW INTERNATIONAL — HEADER v2
   Paste into: Appearance → Customize → Additional CSS
   REPLACE the previous version entirely — delete old, paste this
   ============================================================ */

/* ── TOPBAR ─────────────────────────────────────────────── */
.rifi-topbar {
  background: #1A1F5E;
  color: #c7ccf2;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 40px;
  width: 100%;
  box-sizing: border-box;
  gap: 16px;
}
.rifi-tb-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.rifi-tb-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}
.rifi-topbar a { color: #c7ccf2; text-decoration: none; transition: color .2s; }
.rifi-topbar a:hover { color: #fff; }

/* Animated green dot */
.rifi-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3AAA47;
  vertical-align: middle;
  flex-shrink: 0;
  font-size: 0; line-height: 0; color: transparent;
  animation: rifi-pulse 2s ease-in-out infinite;
}
@keyframes rifi-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.85); }
}

/* ── FORCE HEADER FULL WIDTH ─────────────────────────────── */
.elementor-location-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(255,255,255,.95) !important;
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s;
  overflow: visible !important;
}
.elementor-location-header > .e-con,
.elementor-location-header > .elementor-container,
.elementor-location-header .e-con,
.elementor-location-header .e-con > .e-con-inner,
.elementor-location-header .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
.elementor-location-header .elementor-widget-wrap,
.elementor-location-header .elementor-widget-html {
  width: 100% !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* ── 3-COLUMN NAV GRID ───────────────────────────────────── */
.rifi-nav-grid {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  min-height: 76px;
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  gap: 20px;
}

/* ── LOGO ────────────────────────────────────────────────── */
.rifi-logo-col { display: flex; align-items: center; }
.rifi-logo-col a { display: inline-block; line-height: 0; }
.rifi-logo-col img {
  height: 46px; width: auto;
  mix-blend-mode: multiply; display: block;
}

/* ── CENTER NAV LINKS ────────────────────────────────────── */
.rifi-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.rifi-nav-links a {
  display: inline-flex; align-items: center;
  padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: #3a4254;
  text-decoration: none; white-space: nowrap;
  transition: color .2s, background .2s;
}
.rifi-nav-links a:hover { color: #2D3591; background: #EBF7FD; }

/* ── RIGHT SIDE ──────────────────────────────────────────── */
.rifi-nav-right {
  display: flex; align-items: center;
  justify-content: flex-end; gap: 16px;
}
.rifi-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: #2D3591;
  text-decoration: none; white-space: nowrap;
}
.rifi-phone svg { flex-shrink: 0; }
.rifi-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #4BBDE8; color: #1A1F5E !important;
  font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 999px;
  text-decoration: none !important; white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(75,189,232,.9);
  transition: background .25s, color .25s, transform .25s;
}
.rifi-cta:hover { background: #2B7CC1; color: #fff !important; transform: translateY(-2px); }

/* ── HAMBURGER ───────────────────────────────────────────── */
/* Using #id .elementor-989391 for higher specificity to beat theme overrides */
.rifi-burger,
button#rifi-hamburger {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  width: 46px !important; height: 46px !important; gap: 5px;
  border: 1.5px solid #E8EBF0 !important; border-radius: 12px !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: pointer; padding: 0 !important; flex-shrink: 0;
}
.rifi-burger span,
button#rifi-hamburger span {
  display: block !important;
  width: 20px !important; height: 2px !important;
  background-color: #2D3591 !important;
  border-radius: 2px !important;
  transition: transform .3s, opacity .3s, width .3s;
}
.rifi-burger.is-open span:nth-child(1),
button#rifi-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rifi-burger.is-open span:nth-child(2),
button#rifi-hamburger.is-open span:nth-child(2) { opacity: 0 !important; width: 0 !important; }
.rifi-burger.is-open span:nth-child(3),
button#rifi-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SCRIM ───────────────────────────────────────────────── */
.rifi-scrim {
  position: fixed !important; inset: 0;
  z-index: 9998 !important;
  background: rgba(26,31,94,.45);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
  pointer-events: none;
}
.rifi-scrim.is-open {
  opacity: 1 !important; visibility: visible !important;
  pointer-events: auto;
}

/* ── MOBILE DRAWER ───────────────────────────────────────── */
.rifi-drawer {
  position: fixed !important;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  z-index: 9999 !important;
  background: #fff;
  box-shadow: -8px 0 40px rgba(26,31,94,.2);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.21,.7,.25,1);
  padding: 80px 24px 24px;
  display: flex !important; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.rifi-drawer.is-open { transform: translateX(0) !important; }
.rifi-drawer a {
  display: block;
  padding: 14px 8px; border-bottom: 1px solid #E8EBF0;
  font-weight: 600; font-size: 17px;
  color: #2D3591; text-decoration: none;
}
.rifi-drawer a:hover { color: #4BBDE8; }
.rifi-drawer-cta {
  display: flex !important; align-items: center; justify-content: center;
  background: #4BBDE8 !important; color: #1A1F5E !important;
  border-radius: 999px !important; margin-top: 16px;
  border-bottom: none !important;
  font-weight: 700 !important; padding: 14px 24px !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rifi-phone { display: none !important; }
}
@media (max-width: 860px) {
  .rifi-nav-grid { grid-template-columns: auto 1fr !important; }
  .rifi-nav-links { display: none !important; }
  .rifi-phone    { display: none !important; }
  .rifi-burger,
  button#rifi-hamburger { display: flex !important; }
  .rifi-cta      { font-size: 13px; padding: 10px 18px; }
}
@media (max-width: 480px) {
  .rifi-cta      { display: none !important; }
  .rifi-topbar   { font-size: 11px; padding: 0 16px; min-height: 36px; }
  .rifi-tb-right { gap: 12px; }
  .rifi-nav-grid { padding: 0 16px; min-height: 64px; }
  .rifi-logo-col img { height: 38px; }
}
@media (max-width: 360px) {
  .rifi-tb-right { display: none; }
}/* End custom CSS */