/* Info Biro visual refresh — Bootstrap 5.3.8 */
:root {
  --ib-primary: #0e77be;
  --ib-primary-dark: #075a94;
  --ib-navy: #071f35;
  --ib-ink: #1b3344;
  --ib-muted: #647784;
  --ib-soft: #f4f8fb;
  --ib-line: #dfe9ef;
  --ib-accent: #ffd45d;
  --ib-radius: 14px;
  --ib-shadow: 0 18px 50px rgba(17, 59, 87, .1);
}

html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--ib-ink);
  font-size: 16px;
}

a { text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(14, 119, 190, .35);
  outline-offset: 3px;
}

.btn {
  border-radius: 7px;
  font-weight: 700;
  letter-spacing: .35px;
  padding: 13px 24px;
}

.btn-main {
  background: linear-gradient(135deg, var(--ib-primary), var(--ib-primary-dark));
  border: 1px solid var(--ib-primary);
  box-shadow: 0 10px 24px rgba(14, 119, 190, .2);
}

.btn-main:hover,
.btn-main:focus {
  background: linear-gradient(135deg, #1688d6, #0a679f);
  border-color: #1688d6;
  box-shadow: 0 13px 30px rgba(14, 119, 190, .3);
  transform: translateY(-1px);
}

.title h2 {
  color: var(--ib-ink);
  font-weight: 700;
  letter-spacing: -.5px;
}

.title > p {
  color: var(--ib-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Navigation */
.navigation .navbar {
  min-height: 92px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.navigation .navbar-light .navbar-nav .nav-item .nav-link {
  font-weight: 700;
}

.navigation .navbar-toggler {
  background: #fff;
  border: 1px solid #d9e4eb;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(20, 56, 79, .08);
  padding: 8px 10px;
}

.sticky-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .96);
}

/* Keep inner-page titles above their photographic overlay */
section[class^="single-page-header"] > .container {
  position: relative;
  z-index: 3;
}

section[class^="single-page-header"] h1,
section[class^="single-page-header"] h2 {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -.5px;
  opacity: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .55);
}

section[class^="single-page-header"] .header-bradcrumb,
section[class^="single-page-header"] .header-bradcrumb a,
section[class^="single-page-header"] .header-bradcrumb .active {
  color: rgba(255, 255, 255, .9);
  opacity: 1;
  text-shadow: 0 2px 9px rgba(0, 0, 0, .45);
}

section[class^="single-page-header"] .header-bradcrumb a:hover {
  color: #8ed7ff;
}

/* Homepage carousel */
.home-hero-carousel {
  background: var(--ib-navy);
  overflow: hidden;
}

.home-hero-slide {
  align-items: center;
  background-position: center;
  background-size: cover;
  display: none;
  min-height: 750px;
  position: relative;
}

.home-hero-carousel .carousel-item.home-hero-slide.active,
.home-hero-carousel .carousel-item.home-hero-slide.carousel-item-next,
.home-hero-carousel .carousel-item.home-hero-slide.carousel-item-prev {
  display: flex;
}

.home-hero-slide:before {
  background:
    linear-gradient(100deg, rgba(3, 22, 39, .96) 0%, rgba(5, 36, 61, .82) 52%, rgba(5, 30, 50, .3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .38));
  content: "";
  inset: 0;
  position: absolute;
}

.home-hero-slide:after {
  background-image:
    radial-gradient(circle at 17% 48%, rgba(32, 166, 240, .2), transparent 34%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  content: "";
  inset: 0;
  opacity: .55;
  pointer-events: none;
  position: absolute;
}

.home-hero-content {
  padding-bottom: 105px;
  padding-top: 165px;
  position: relative;
  z-index: 2;
}

.home-hero-content .row {
  align-items: center;
}

.home-hero-eyebrow {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 99px;
  color: #d7f1ff;
  display: inline-flex;
  font-family: "Catamaran", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin-bottom: 22px;
  padding: 9px 15px 8px;
  text-transform: uppercase;
}

.home-hero-eyebrow.is-accent {
  background: rgba(255, 212, 93, .14);
  border-color: rgba(255, 212, 93, .4);
  color: #ffe69a;
}

.home-hero-content h1,
.home-hero-content h2 {
  color: #fff;
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.07;
  margin-bottom: 24px;
  max-width: 820px;
  text-shadow: 0 5px 24px rgba(0, 0, 0, .32);
  text-transform: none;
  text-wrap: balance;
}

.home-hero-content p {
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 31px;
  max-width: 730px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-actions .btn {
  min-width: 185px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-hero-secondary {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}

.home-hero-secondary:hover,
.home-hero-secondary:focus {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
  color: #fff;
}

.home-hero-carousel .carousel-indicators {
  bottom: 31px;
  gap: 8px;
  justify-content: flex-start;
  margin-left: max(calc((100% - 1140px) / 2 + 12px), 7%);
  margin-right: 0;
}

.home-hero-carousel .carousel-indicators [data-bs-target] {
  border: 0;
  border-radius: 99px;
  height: 5px;
  opacity: .46;
  transition: background-color .25s ease, width .25s ease, opacity .25s ease;
  width: 30px;
}

.home-hero-carousel .carousel-indicators .active {
  background-color: #5cc3ff;
  opacity: 1;
  width: 54px;
}

.home-hero-carousel .carousel-control-prev,
.home-hero-carousel .carousel-control-next {
  background: rgba(4, 29, 49, .38);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  bottom: auto;
  height: 50px;
  opacity: .8;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
}

.home-hero-carousel .carousel-control-prev { left: 24px; }
.home-hero-carousel .carousel-control-next { right: 24px; }
.home-hero-carousel .carousel-control-prev:hover,
.home-hero-carousel .carousel-control-next:hover { background: var(--ib-primary); opacity: 1; }

.carousel-item.active .home-hero-content > .row {
  animation: simple-hero-rise .65s ease-out both;
}

@keyframes simple-hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stronger homepage and general cards */
.service-2 .service-item {
  background: #fff;
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius);
  box-shadow: 0 12px 34px rgba(18, 57, 82, .07);
  height: 100% !important;
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-2 .service-item:hover {
  border-color: #bddced;
  box-shadow: var(--ib-shadow);
  transform: translateY(-5px);
}

.service-2 .service-item i {
  color: var(--ib-primary);
}

.about-2 .checklist li:before { color: var(--ib-primary); }

/* Products landing page */
.products-hero {
  background:
    radial-gradient(circle at 84% 15%, rgba(55, 175, 244, .24), transparent 27%),
    linear-gradient(128deg, #061d33 0%, #0a4f80 60%, #0e77be 100%);
  color: #fff;
  overflow: hidden;
  padding: 155px 0 100px;
  position: relative;
}

.products-hero:before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  position: absolute;
}

.products-hero .container { position: relative; z-index: 2; }
.products-breadcrumb {
  align-items: center;
  color: rgba(255, 255, 255, .65);
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin-bottom: 45px;
}
.products-breadcrumb a { color: #fff; }
.products-breadcrumb a:hover { color: #a8defd; }
.products-eyebrow,
.product-page-intro .section-kicker {
  color: #8ed8ff;
  display: inline-block;
  font-family: "Catamaran", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.products-hero h1 {
  color: #fff;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 900px;
  text-transform: none;
}
.products-hero p {
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 840px;
}
.products-hero-cta {
  color: var(--ib-primary-dark);
  min-width: 190px;
}

.product-solutions { background: #f7fafc; }
.product-page-intro { margin: 0 auto 58px; max-width: 790px; }
.product-page-intro .section-kicker { color: var(--ib-primary); }
.product-page-intro h2 {
  color: var(--ib-ink);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.7px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.product-page-intro p { color: var(--ib-muted); font-size: 17px; line-height: 1.75; }
.product-card-grid > div { min-width: 0; }
.product-card {
  background: #fff;
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius);
  box-shadow: 0 10px 30px rgba(17, 59, 87, .06);
  display: flex;
  flex-direction: column;
  min-height: 365px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  width: 100%;
}
.product-card:before {
  background: linear-gradient(90deg, var(--ib-primary), #61c7ff);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .25s ease;
}
.product-card:hover {
  border-color: #bddced;
  box-shadow: 0 22px 52px rgba(17, 59, 87, .13);
  transform: translateY(-6px);
}
.product-card:hover:before { opacity: 1; }
.product-card-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 25px; }
.product-card-icon {
  align-items: center;
  background: linear-gradient(145deg, #eff8fd, #e0f1fa);
  border: 1px solid #d2eaf6;
  border-radius: 12px;
  display: flex;
  height: 70px;
  justify-content: center;
  width: 70px;
}
.product-card-icon img { height: 38px; object-fit: contain; width: 38px; }
.product-card-tag {
  background: #eef7fc;
  border-radius: 99px;
  color: #34749b;
  font-family: "Catamaran", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .65px;
  padding: 7px 10px 6px;
  text-transform: uppercase;
}
.product-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 13px; }
.product-card h3 a { color: var(--ib-ink); }
.product-card h3 a:hover { color: var(--ib-primary); }
.product-card > p { color: var(--ib-muted); font-size: 15px; line-height: 1.7; margin-bottom: 17px; }
.product-card-highlights {
  border-top: 1px solid #edf2f5;
  color: #80909a;
  font-size: 12px;
  letter-spacing: .1px;
  margin-bottom: 21px;
  padding-top: 15px;
}
.product-card-link {
  align-items: center;
  color: var(--ib-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-top: auto;
  text-transform: uppercase;
}
.product-card-link span { font-size: 19px; transition: transform .2s ease; }
.product-card-link:hover { color: var(--ib-primary-dark); }
.product-card-link:hover span { transform: translateX(4px); }
.products-contact-panel {
  align-items: center;
  background: linear-gradient(128deg, #092b47, #0b669f);
  border-radius: var(--ib-radius);
  box-shadow: 0 22px 50px rgba(7, 53, 84, .2);
  color: #fff;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-top: 55px;
  overflow: hidden;
  padding: 34px 40px;
  position: relative;
}
.products-contact-panel:after {
  border: 30px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  content: "";
  height: 170px;
  position: absolute;
  right: 170px;
  top: -72px;
  width: 170px;
}
.products-contact-panel span { color: #9cd9fb; font-size: 13px; font-weight: 700; }
.products-contact-panel h3 { color: #fff; font-size: 24px; margin: 5px 0 0; }
.products-contact-panel .btn { position: relative; white-space: nowrap; z-index: 2; }

/* Product detail pages */
.product-detail-page { background: var(--ib-soft); }
.product-detail-content {
  background: linear-gradient(180deg, #f5f9fb 0%, #fff 100%);
  padding: 75px 0 105px;
}
.product-detail-content .product-detail-shell {
  background: #fff;
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius);
  box-shadow: var(--ib-shadow);
  margin: 0 auto !important;
  max-width: 980px;
  padding: 48px 54px !important;
  width: calc(100% - 30px) !important;
}
.product-detail-content .program-name {
  color: var(--ib-ink);
  font-weight: 700;
  letter-spacing: -.35px;
  line-height: 1.3;
  margin: 44px 0 10px;
  text-align: center;
}
.product-detail-content h2.program-name { font-size: 34px; margin-top: 0; }
.product-detail-content h4.program-name { font-size: 24px; }
.product-detail-content .border { margin-bottom: 27px; }
.product-detail-content .product-copy {
  color: #5e707c;
  font-size: 16px;
  line-height: 1.82;
  margin-bottom: 17px;
  text-align: start;
}
.product-detail-content .product-copy strong { color: var(--ib-ink); }
.product-detail-content .product-copy span[style] { font-size: inherit !important; }
.product-detail-content .product-feature-item {
  align-items: flex-start;
  background: #f7fbfe;
  border: 1px solid #e1edf3;
  border-radius: 8px;
  color: #536b79;
  display: flex;
  font-size: 15px;
  gap: 11px;
  line-height: 1.65;
  margin: 9px 0;
  padding: 13px 16px;
  text-align: start;
}
.product-detail-content .product-feature-item i {
  color: var(--ib-primary);
  flex: 0 0 auto;
  font-size: 17px;
  margin-top: 3px;
}
.product-detail-content img { border-radius: 10px; }

/* References */
.portfolio-block {
  align-items: center;
  background: #fff;
  border: 1px solid #e4ebef;
  border-radius: 9px;
  display: flex;
  height: 125px;
  justify-content: center;
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.portfolio-block:hover { box-shadow: 0 13px 28px rgba(18, 57, 82, .1); transform: translateY(-3px); }
.portfolio-block img { max-height: 88px; object-fit: contain; }

/* Footer */
.top-footer { border-top: 4px solid var(--ib-primary); }
.top-footer h3 { letter-spacing: .5px; }
.top-footer a { transition: color .2s ease, padding-left .2s ease; }
.top-footer a:hover { color: #79ccfa; padding-left: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }

@media (max-width: 1199px) {
  .home-hero-carousel .carousel-indicators { margin-left: 7%; }
  .home-hero-carousel .carousel-control-prev,
  .home-hero-carousel .carousel-control-next { display: none; }
}

@media (max-width: 991px) {
  .navigation .navbar { min-height: 88px; }
  .navigation .navbar-collapse { border-top: 1px solid #e7edf1; margin-top: 8px; padding-top: 9px; }
  .home-hero-slide { min-height: 700px; }
  .home-hero-slide:before {
    background: linear-gradient(100deg, rgba(3, 22, 39, .95), rgba(5, 36, 61, .76) 74%, rgba(5, 30, 50, .48));
  }
  .home-hero-content { padding-bottom: 105px; padding-top: 145px; }
  .home-hero-content h1,
  .home-hero-content h2 { font-size: 52px; }
  .products-hero { padding-top: 140px; }
  .products-contact-panel { align-items: flex-start; flex-direction: column; }
  .products-contact-panel:after { right: -70px; }
  .product-detail-content .product-detail-shell { padding: 40px 35px !important; }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .navigation .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .navigation .navbar {
    flex-wrap: wrap;
    min-height: 72px;
    padding-bottom: 6px;
    padding-top: 6px;
  }

  .navigation .navbar-brand.logo {
    line-height: 0;
    margin: 0 auto 0 0;
    padding: 0;
  }

  .navigation .logo-default {
    height: auto !important;
    max-width: calc(100vw - 105px);
    width: 170px !important;
  }

  .navigation .navbar-toggler {
    flex: 0 0 auto;
    height: 42px;
    margin-left: 10px;
    padding: 6px 8px;
    width: 44px;
  }

  .navigation .navbar-collapse {
    flex-basis: 100%;
    margin-top: 6px;
    width: 100%;
  }

  .home-hero-slide {
    align-items: flex-start;
    background-position: 62% center;
    min-height: 640px;
  }
  .home-hero-slide--invoice { background-position: 56% center; }
  .home-hero-slide:before {
    background: linear-gradient(180deg, rgba(3, 22, 39, .88) 0%, rgba(4, 30, 50, .86) 48%, rgba(3, 22, 39, .94) 100%);
  }
  .home-hero-slide:after {
    background-image: radial-gradient(circle at 50% 44%, rgba(32, 166, 240, .16), transparent 48%);
  }

  .home-hero-content {
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    padding: 104px 22px 72px;
    width: 100%;
  }

  .home-hero-content > .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }

  .home-hero-content > .row > * {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .home-hero-content h1,
  .home-hero-content h2 {
    font-size: clamp(30px, 8.7vw, 34px);
    hyphens: auto;
    letter-spacing: -.65px;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    word-break: normal;
  }

  .home-hero-content p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 100%;
    overflow-wrap: anywhere;
    width: 100%;
  }

  .home-hero-eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    max-width: 100%;
    padding: 7px 11px 6px;
    white-space: normal;
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    width: 100%;
  }

  .home-hero-actions .btn {
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.25;
    min-width: 0;
    padding: 11px 14px;
    white-space: normal;
    width: 100%;
  }

  .home-hero-carousel .carousel-indicators {
    bottom: 18px;
    justify-content: center;
    margin: 0;
  }
  .products-hero { padding-bottom: 75px; }
  .products-hero h1 { font-size: 40px; }
  .product-page-intro h2 { font-size: 31px; }
  .product-card { min-height: 0; }
  .products-contact-panel { padding: 30px 25px; }
  .products-contact-panel .btn { width: 100%; }
  .product-detail-content { padding: 48px 0 70px; }
  .product-detail-content .product-detail-shell { padding: 30px 22px !important; width: calc(100% - 20px) !important; }
  .product-detail-content h2.program-name { font-size: 28px; }
  .product-detail-content h4.program-name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .product-card,
  .product-card-link span,
  .portfolio-block,
  .service-2 .service-item { transition: none !important; }
  .carousel-item.active .home-hero-content > .row { animation: none !important; }
}

@media (max-width: 420px) {
  .navigation .logo-default { width: 155px !important; }
  .home-hero-slide { min-height: 650px; }
  .home-hero-content { padding: 98px 18px 68px; }
  .home-hero-content h1,
  .home-hero-content h2 { font-size: 30px; }
}
