/* BW Interests site customizations (loaded after main.css) */
:root {
  --brand: #0b3b5c;
  --brand-2: #2c4257;
  --accent-color: #2a9fd8;
  --heading-color: #0b3b5c;
  --default-color: #3d4650;
  --nav-color: #0b3b5c;
  --nav-hover-color: #2a9fd8;
  --nav-dropdown-color: #0b3b5c;
  --nav-dropdown-hover-color: #2a9fd8;
}
html { scroll-behavior: smooth; }
body { font-size: 1.02rem; line-height: 1.7; }
section, .section { scroll-margin-top: 90px; }
a { color: var(--accent-color); }

/* ---------- Header ---------- */
.header, .index-page .header, .index-page.scrolled .header, .scrolled .header {
  --background-color: #ffffff;
  --nav-color: #0b3b5c;
  background: #fff;
  box-shadow: 0 2px 18px rgba(11, 59, 92, 0.08);
  padding: 12px 0;
}
.header .logo { gap: 12px; }
.header .logo img { max-height: 56px; height: 56px; margin: 0; }
.header .logo .brand-name { font-family: var(--heading-font); font-weight: 700; font-size: 1.35rem; color: var(--brand); letter-spacing: .5px; line-height: 1.1; }
.header .logo .brand-name small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: 1.6px; color: #6b7a88; text-transform: uppercase; }
.header .btn-getstarted, .header .btn-getstarted:focus {
  background: var(--brand); color: #fff; border: 0; padding: 9px 22px; border-radius: 50px; font-size: 15px; margin-left: 24px;
}
.header .btn-getstarted:hover { background: var(--accent-color); color: #fff; }
@media (min-width: 1200px) {
  .navmenu a, .navmenu a:focus { color: var(--brand); font-weight: 500; }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus { color: var(--accent-color); }
}
@media (max-width: 1199px) {
  .mobile-nav-toggle { color: var(--brand); }
  .header .btn-getstarted { margin: 0 12px 0 auto; padding: 7px 16px; font-size: 14px; }
  .header .logo .brand-name small { display: none; }
}
@media (max-width: 480px) {
  .header .btn-getstarted { display: none; }
  .header .logo img { height: 46px; }
}
main.main { padding-top: 80px; }
.index-page main.main { padding-top: 80px; }

/* ---------- Hero ---------- */
.bwi-hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: #081e33 url('../img/hero-poster.jpg') center/cover no-repeat; color: #fff; padding: 90px 0 70px; }
.bwi-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bwi-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,44,.88) 0%, rgba(6,26,44,.6) 55%, rgba(6,26,44,.25) 100%); }
.bwi-hero .container { position: relative; z-index: 2; }
.bwi-hero .eyebrow { display: inline-block; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: #9fd6f2; font-weight: 600; margin-bottom: 14px; }
.bwi-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.15; max-width: 760px; margin-bottom: 18px; }
.bwi-hero p.lead { color: #dbe8f3; font-size: 1.2rem; max-width: 640px; margin-bottom: 30px; }
.btn-bwi { display: inline-block; background: var(--accent-color); color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: 600; border: 2px solid var(--accent-color); transition: .25s; }
.btn-bwi:hover { background: #1b86bb; border-color: #1b86bb; color: #fff; }
.btn-bwi-outline { display: inline-block; color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: 600; border: 2px solid rgba(255,255,255,.7); transition: .25s; }
.btn-bwi-outline:hover { background: #fff; color: var(--brand); }
.btn-bwi-dark { background: var(--brand); border-color: var(--brand); }
.btn-bwi-dark:hover { background: var(--accent-color); border-color: var(--accent-color); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Highlights strip ---------- */
.bwi-highlights { background: var(--brand); color: #fff; padding: 30px 0; }
.bwi-highlights .hl { display: flex; gap: 14px; align-items: flex-start; }
.bwi-highlights .hl i { font-size: 1.9rem; color: #7cc8ee; line-height: 1; }
.bwi-highlights .hl strong { display: block; color: #fff; font-family: var(--heading-font); font-size: 1.05rem; }
.bwi-highlights .hl span { color: #c9dbe9; font-size: .93rem; line-height: 1.5; display: block; }

/* ---------- Generic section titles ---------- */
.sec { padding: 80px 0; }
.sec-alt { background: #f4f7fa; }
.sec-title { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.sec-title .kicker { color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; }
.sec-title h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin: 8px 0 12px; }
.sec-title p { color: #5b6772; font-size: 1.08rem; margin: 0; }
.sec-title.left { text-align: left; margin-left: 0; }

/* ---------- Cards ---------- */
.bwi-card { background: #fff; border-radius: 12px; padding: 30px; height: 100%; box-shadow: 0 6px 30px rgba(11,59,92,.08); border: 1px solid #e8eef3; transition: transform .25s, box-shadow .25s; position: relative; }
.bwi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(11,59,92,.13); }
.bwi-card .ic { width: 54px; height: 54px; border-radius: 12px; background: #e7f4fb; color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; }
.bwi-card h3, .bwi-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.bwi-card p { margin: 0; color: #5b6772; }
.bwi-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; }
.bwi-card .more::after { content: ""; position: absolute; inset: 0; }

/* ---------- About ---------- */
.about-block h3 { font-size: 1.5rem; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.about-block h3 i { color: var(--accent-color); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--accent-color); font-size: 1.1rem; }
.giving-note { background: #e7f4fb; border-left: 4px solid var(--accent-color); padding: 16px 20px; border-radius: 6px; margin-top: 18px; }

/* ---------- Steps ---------- */
.step { text-align: center; padding: 10px 14px; }
.step .num { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--heading-font); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 0 0 8px #e3eef6; }
.step h4 { font-size: 1.12rem; font-weight: 700; }
.step p { color: #5b6772; margin: 0; font-size: .97rem; }

/* ---------- Role chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: #fff; border: 1px solid #d6e3ee; color: var(--brand); padding: 8px 16px; border-radius: 50px; font-size: .95rem; font-weight: 500; }
.sec-alt .chips span { background: #fff; }

/* ---------- FAQ ---------- */
.bwi-faq .accordion-item { border: 1px solid #e3eaf0; border-radius: 10px !important; margin-bottom: 12px; overflow: hidden; }
.bwi-faq .accordion-button { font-weight: 600; color: var(--brand); font-family: var(--heading-font); font-size: 1.05rem; }
.bwi-faq .accordion-button:not(.collapsed) { background: #eef6fb; color: var(--brand); box-shadow: none; }
.bwi-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(42,159,216,.25); }

/* ---------- CTA band ---------- */
.bwi-cta { background: linear-gradient(120deg, #0b3b5c 0%, #164e75 100%); color: #fff; padding: 60px 0; }
.bwi-cta h2 { color: #fff; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.bwi-cta p { color: #cfe0ec; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, rgba(8,30,51,.92), rgba(11,59,92,.85)), url('../img/hero-poster.jpg') center/cover; color: #fff; padding: 70px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin: 6px 0 12px; }
.page-hero p { color: #d3e3ef; font-size: 1.15rem; max-width: 720px; margin: 0; }
.page-hero .crumbs { font-size: .88rem; color: #9fc3dc; }
.page-hero .crumbs a { color: #cfe6f5; }
.page-hero .crumbs span { margin: 0 6px; }
/* Link for current employees to the onboarding portal (careers page) */
.page-hero p.employee-onboarding-link { margin-top: 22px; font-size: 1rem; color: #d3e3ef; }
.page-hero .employee-onboarding-link a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .employee-onboarding-link a:hover, .page-hero .employee-onboarding-link a:focus { color: #9fd6f2; }

/* ---------- Forms ---------- */
.bwi-form { background: #fff; border-radius: 12px; padding: 34px; box-shadow: 0 6px 30px rgba(11,59,92,.08); border: 1px solid #e8eef3; }
.bwi-form label { font-weight: 600; color: var(--brand); font-size: .93rem; margin-bottom: 6px; }
.bwi-form .form-control, .bwi-form .form-select { border-radius: 8px; padding: 11px 14px; border-color: #d3dee8; }
.bwi-form .form-control:focus, .bwi-form .form-select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 .2rem rgba(42,159,216,.18); }
.bwi-form .req { color: #c0392b; }
.bwi-form .fine { font-size: .85rem; color: #6b7a88; }
.hp-field { position: absolute; left: -5000px; }
.contact-info .ci { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ci i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: #e7f4fb; color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-info .ci strong { display: block; color: var(--brand); font-family: var(--heading-font); }
.contact-info .ci a, .contact-info .ci span { color: #3d4650; }

/* ---------- Legal / long text pages ---------- */
.legal-content { max-width: 900px; margin: 0 auto; }
.legal-content h2, .legal-content h3 { margin-top: 1.6em; }

/* ---------- Footer ---------- */
.footer { background: #07233a; color: #b9cad8; font-size: .95rem; }
.footer .footer-top { padding-top: 56px; }
.footer h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.footer .footer-about .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .footer-about .brand img { height: 44px; background: #fff; border-radius: 50%; padding: 2px; }
.footer .footer-about .brand span { color: #fff; font-family: var(--heading-font); font-weight: 700; font-size: 1.3rem; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul li { padding: 5px 0; display: flex; align-items: center; }
.footer .footer-links ul i { color: var(--accent-color); margin-right: 4px; font-size: 12px; }
.footer a { color: #d6e4ef; }
.footer a:hover { color: #fff; }
.footer p { color: #b9cad8; margin-bottom: 6px; }
.footer .social-links a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.footer .social-links a:hover { background: var(--accent-color); border-color: var(--accent-color); }
.footer .copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; margin-top: 36px; }
.footer .copyright p { margin: 0; font-size: .88rem; }
.footer .copyright a { margin: 0 8px; }

.scroll-top { background: var(--accent-color); }
.footer .footer-about a, .footer .footer-links ul a { color: #d6e4ef; font-size: inherit; font-weight: 400; text-transform: none; font-family: inherit; line-height: 1.5; }
.footer .footer-about a:hover, .footer .footer-links ul a:hover { color: #fff; }
.footer .btn-bwi { color: #fff; }
.footer { --default-color: #b9cad8; --heading-color: #fff; }

/* ---------- RCM additions ---------- */
.chip-link { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d6e3ee; color: var(--brand); padding: 9px 18px; border-radius: 50px; font-weight: 500; transition: .2s; }
.chip-link i { color: var(--accent-color); }
.chip-link:hover { border-color: var(--accent-color); color: var(--accent-color); }
.step-sm { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--heading-font); }
.rcm-flow { counter-reset: f; list-style: none; padding: 0; margin: 0; }
.rcm-flow li { counter-increment: f; position: relative; padding: 10px 0 10px 48px; border-left: 2px solid #d6e3ee; margin-left: 16px; }
.rcm-flow li::before { content: counter(f); position: absolute; left: -17px; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: #e7f4fb; color: var(--accent-color); font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.rcm-flow li:last-child { border-left-color: transparent; }
.rcm-flow a { color: var(--brand); font-weight: 600; }
.rcm-flow a:hover { color: var(--accent-color); }
.bwi-card h3 a { color: inherit; }
@media (min-width: 1200px) {
  .navmenu .dropdown ul { min-width: 250px; }
  .navmenu .dropdown .dropdown ul { min-width: 270px; }
}
@media (max-width: 1199px) { .navmenu .dropdown ul a { white-space: normal; } }

/* ---------- Careers: open positions ---------- */
.jobs-banner { background: linear-gradient(120deg, #0b3b5c 0%, #164e75 100%); border-radius: 16px; padding: 44px; color: #fff; box-shadow: 0 12px 40px rgba(11,59,92,.18); }
.jobs-banner .kicker { color: #9fd6f2; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; }
.jobs-banner h2 { color: #fff; font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 8px 0 12px; }
.jobs-banner p { color: #d3e3ef; font-size: 1.05rem; }
.apply-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.apply-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 64px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; margin-bottom: 12px; }
.apply-steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--accent-color); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.apply-steps strong { display: block; color: #fff; }
.apply-steps span { color: #c9dbe9; font-size: .93rem; }
@media (max-width: 575px) { .jobs-banner { padding: 28px 22px; } }

/* ---------- Nearshore ---------- */
.loc-card { background: linear-gradient(135deg, #0b3b5c, #164e75); color: #fff; border-radius: 12px; padding: 24px; height: 100%; }
.loc-card i { font-size: 1.6rem; color: #7cc8ee; }
.loc-card h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 8px 0 6px; }
.loc-card p { color: #d3e3ef; margin: 0; font-size: .95rem; }
.loc-card.loc-us { display: flex; gap: 16px; align-items: flex-start; background: #fff; color: var(--default-color); border: 1px solid #e3eaf0; }
.loc-card.loc-us h3 { color: var(--brand); margin-top: 0; }
.loc-card.loc-us p { color: #5b6772; }
.loc-card.loc-us i { color: var(--accent-color); }
.role-card h3 { font-size: 1.4rem; }
.role-bwi { border-top: 4px solid var(--accent-color); }
.ns-band { background: linear-gradient(120deg, #071f33 0%, #0b3b5c 100%); color: #fff; padding: 70px 0; }
.ns-band .kicker { color: #9fd6f2; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; }
.ns-band h2 { color: #fff; font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 8px 0 12px; }
.ns-band p { color: #d3e3ef; font-size: 1.05rem; }
.ns-loc { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 22px 12px; text-align: center; height: 100%; }
.ns-loc i { font-size: 1.6rem; color: #7cc8ee; display: block; margin-bottom: 8px; }
.ns-loc strong { display: block; color: #fff; font-family: var(--heading-font); }
.ns-loc span { color: #b9cad8; font-size: .85rem; }
