/* R.K. Pawle & Associates — expanded professional footer */
#site-footer .footer-container{grid-template-columns:1.35fr 1fr 1fr 1.05fr 1.15fr;gap:34px;align-items:start}
#site-footer .footer-heading{margin:0 0 16px;color:#fff;font-size:15px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
#site-footer .footer-heading::after{content:"";display:block;width:34px;height:2px;background:#c9a84c;margin-top:9px}
#site-footer .footer-text{color:#9fb3c8;line-height:1.7;font-size:13px;margin:12px 0 18px}
#site-footer .footer-meta{display:flex;gap:9px;align-items:flex-start;color:#9fb3c8;font-size:13px;line-height:1.5;margin:9px 0}
#site-footer .footer-meta i{color:#c9a84c;margin-top:4px;min-width:14px}
#site-footer .footer-links{list-style:none;padding:0;margin:0;display:grid;gap:8px}
#site-footer .footer-links li{color:#9fb3c8;font-size:13px}
#site-footer .footer-links a{display:inline-flex;align-items:center;gap:7px;margin:0;color:#9fb3c8;font-size:13px;transition:color .2s ease,transform .2s ease}
#site-footer .footer-links a:hover{color:#38BDF8;transform:translateX(2px)}
#site-footer .footer-contact{display:flex;gap:9px;align-items:flex-start;color:#9fb3c8;font-size:13px;margin:10px 0}
#site-footer .footer-contact i{color:#c9a84c;margin-top:4px;min-width:14px}
#site-footer .footer-contact a{color:#9fb3c8}
#site-footer .footer-contact a:hover{color:#38BDF8}
#site-footer .footer-cta{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:9px 13px;border-radius:7px;background:#0EA5E9;color:#071428!important;font-size:12px!important;font-weight:800!important;transition:.2s ease}
#site-footer .footer-cta:hover{background:#38BDF8;transform:translateY(-1px)}
#site-footer .footer-service-area{color:#9fb3c8;font-size:12px;line-height:1.65;margin-top:14px}
#site-footer .footer-trust{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:34px;padding:14px 0;border-top:1px solid rgba(14,165,233,.12);border-bottom:1px solid rgba(14,165,233,.12)}
#site-footer .footer-trust-item{display:flex;align-items:center;justify-content:center;gap:7px;color:#b9c9dc;font-size:11px;text-align:center}
#site-footer .footer-trust-item i{color:#c9a84c}
#site-footer .footer-disclaimer{max-width:1080px;margin:16px auto 0;color:#71859b;font-size:10.5px;line-height:1.65;text-align:center}
#site-footer .footer-bottom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 22px}
#site-footer .footer-bottom p{margin:0}
#site-footer .legal{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
#site-footer .legal a:hover{color:#38BDF8}
body.light-theme #site-footer .footer-heading{color:#0a2342}
body.light-theme #site-footer .footer-heading::after{background:#b58a20}
body.light-theme #site-footer .footer-text,
body.light-theme #site-footer .footer-meta,
body.light-theme #site-footer .footer-links li,
body.light-theme #site-footer .footer-links a,
body.light-theme #site-footer .footer-contact,
body.light-theme #site-footer .footer-contact a,
body.light-theme #site-footer .footer-service-area{color:#536579}
body.light-theme #site-footer .footer-links a:hover,
body.light-theme #site-footer .footer-contact a:hover{color:#075985}
body.light-theme #site-footer .footer-trust{border-color:#e6dfc8}
body.light-theme #site-footer .footer-trust-item{color:#536579}
body.light-theme #site-footer .footer-disclaimer{color:#68788a}
@media(min-width:901px){#site-footer .footer-container{grid-template-columns:1.25fr .9fr .95fr 1.05fr 1.0fr;gap:24px;align-items:start}}
@media(max-width:900px) and (min-width:701px){#site-footer .footer-container{grid-template-columns:repeat(3,1fr)}#site-footer .footer-brand-col{grid-column:span 3}}
@media(max-width:700px){#site-footer .footer-container{grid-template-columns:1fr 1fr;gap:28px}.footer-brand-col{grid-column:span 2!important}.footer-trust{grid-template-columns:1fr 1fr!important}.footer-trust-item{justify-content:flex-start;text-align:left}}
@media(max-width:480px){#site-footer .footer-container{grid-template-columns:1fr}.footer-brand-col{grid-column:auto!important}.footer-trust{grid-template-columns:1fr!important}.footer-trust-item{justify-content:flex-start}}


/* ===== FINAL KNOWLEDGE CENTER NAV POLISH =====
   Keep Knowledge Center exactly the same visual size as the other desktop nav labels,
   and make its dropdown follow the active light/dark theme. */
@media (min-width:1151px){
  #site-header #knowledgeNav .nav-dropdown-toggle{
    font-size:12px !important;
    font-weight:400 !important;
    line-height:1.2 !important;
    padding:8px 7px !important;
    color:inherit !important;
    letter-spacing:.05px !important;
  }
}
@media (min-width:769px) and (max-width:1150px){
  #site-header #knowledgeNav .nav-dropdown-toggle{
    font-size:11px !important;
    font-weight:400 !important;
    line-height:1.2 !important;
    padding:8px 4px !important;
    color:inherit !important;
    letter-spacing:.05px !important;
  }
}

/* Dark theme — dropdown must not stay white. */
body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu{
  background:#0d2038 !important;
  border:1px solid rgba(14,165,233,.28) !important;
  box-shadow:0 18px 45px rgba(0,0,0,.42) !important;
}
body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu a,
body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu a:visited{
  color:#eef3f8 !important;
  background:transparent !important;
  font-size:13px !important;
  font-weight:500 !important;
}
body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu a:hover,
body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu a:focus,
body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu a:active{
  background:#173250 !important;
  color:#38BDF8 !important;
}

/* Light/day theme — clean white dropdown. */
body.light-theme #site-header #knowledgeNav .nav-dropdown-menu{
  background:#ffffff !important;
  border:1px solid rgba(10,35,66,.13) !important;
  box-shadow:0 18px 42px rgba(10,35,66,.16) !important;
}
body.light-theme #site-header #knowledgeNav .nav-dropdown-menu a,
body.light-theme #site-header #knowledgeNav .nav-dropdown-menu a:visited{
  color:#15233a !important;
  background:transparent !important;
  font-size:13px !important;
  font-weight:500 !important;
}
body.light-theme #site-header #knowledgeNav .nav-dropdown-menu a:hover,
body.light-theme #site-header #knowledgeNav .nav-dropdown-menu a:focus,
body.light-theme #site-header #knowledgeNav .nav-dropdown-menu a:active{
  background:#f7f1df !important;
  color:#075985 !important;
}

/* Mobile: same readable size as the other mobile navigation items. */
@media(max-width:768px){
  #site-header #knowledgeNav .nav-dropdown-toggle{
    font-size:15px !important;
    font-weight:500 !important;
  }
  body:not(.light-theme) #site-header #knowledgeNav .nav-dropdown-menu{
    background:#0a1b30 !important;
  }
  body.light-theme #site-header #knowledgeNav .nav-dropdown-menu{
    background:#ffffff !important;
  }
}

/* The consultation CTA should land directly on the current contact form. */
#contact{scroll-margin-top:112px !important;}

/* ===== FINAL FOOTER ONE-LINE DESKTOP LAYOUT ===== */
@media (min-width: 901px){
  #site-footer .footer-container{
    display:grid !important;
    grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(0,.95fr) minmax(0,1.05fr) minmax(0,.95fr) !important;
    gap:22px !important;
    align-items:start !important;
    width:min(1200px,calc(100% - 40px)) !important;
    max-width:1200px !important;
  }
  #site-footer .footer-col{
    min-width:0 !important;
    width:auto !important;
  }
}

/* Gold secondary accent; Teal remains primary CTA. */
#site-footer .footer-heading::after{background:#c9a84c !important}
#site-footer .footer-meta i,#site-footer .footer-contact i,#site-footer .footer-trust-item i{color:#c9a84c !important}
body.light-theme #site-footer .footer-heading::after{background:#b58a20 !important}

/* ===== COMPANY PROFILE DOWNLOAD ===== */
#site-footer .rk-profile-download,
#site-footer .rk-profile-download:visited{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  color:#9fb3c8 !important;
}
#site-footer .rk-profile-download i{color:#38BDF8 !important;min-width:14px}
#site-footer .rk-profile-download:hover,
#site-footer .rk-profile-download:focus-visible{
  color:#38BDF8 !important;
  transform:translateX(2px);
}
body.light-theme #site-footer .rk-profile-download,
body.light-theme #site-footer .rk-profile-download:visited{color:#536579 !important}
body.light-theme #site-footer .rk-profile-download:hover,
body.light-theme #site-footer .rk-profile-download:focus-visible{color:#075985 !important}

/* About page — compact professional profile CTA */
.rk-about-profile-download{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  margin-top:10px !important;
  padding:10px 14px !important;
  border:1px solid rgba(14,165,233,.34) !important;
  border-radius:8px !important;
  background:rgba(14,165,233,.08) !important;
  color:#075985 !important;
  font-size:12px !important;
  font-weight:800 !important;
  text-decoration:none !important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease !important;
}
.rk-about-profile-download i{color:#075985 !important}
.rk-about-profile-download:hover,
.rk-about-profile-download:focus-visible{
  transform:translateY(-1px) !important;
  background:rgba(14,165,233,.14) !important;
  border-color:rgba(14,165,233,.55) !important;
}
body:not(.light-theme) .rk-about-profile-download{
  color:#38BDF8 !important;
  background:rgba(14,165,233,.10) !important;
  border-color:rgba(56,189,248,.28) !important;
}
body:not(.light-theme) .rk-about-profile-download i{color:#38BDF8 !important}
@media(max-width:480px){
  .rk-about-profile-download{width:100% !important;box-sizing:border-box !important}
}


/* Smooth Day/Dark theme transition */
html.theme-transition, html.theme-transition body, html.theme-transition * {
  transition-property: background-color, color, border-color, box-shadow, fill, stroke, opacity;
  transition-duration: 420ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
html.theme-transition img, html.theme-transition video, html.theme-transition canvas, html.theme-transition iframe {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.theme-transition, html.theme-transition body, html.theme-transition * { transition-duration: 0ms !important; }
}
