/* =========================================================
   Homepage only: hero, about, services slider
   Scoped selectors. Does not affect service.php.
   ========================================================= */

/* ---------- Hero banner ---------- */
.homebanner.bst-hero {
  position: relative !important;
  display: block !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: calc(100vh - var(--bst-header-h));
  height: calc(100dvh - var(--bst-header-h));
  min-height: 0;
  max-height: none;
  overflow: hidden !important;
  background: #003366;
  font-family: var(--bst-font);
}

.homebanner.bst-hero .homeslider,
.homebanner.bst-hero .homeslider.slick-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: block !important;
}

.homebanner.bst-hero .homeslider > div {
  position: relative;
  height: 100%;
}

.homebanner.bst-hero .slick-list,
.homebanner.bst-hero .slick-track,
.homebanner.bst-hero .slick-slide,
.homebanner.bst-hero .slick-slide > div,
.homebanner.bst-hero .bst-hero-slide {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}

.homebanner.bst-hero .slick-list {
  width: 100% !important;
}

.homebanner.bst-hero .bst-hero-slide {
  position: relative;
  overflow: hidden;
}

.homebanner.bst-hero .bst-hero-slide img,
.homebanner.bst-hero img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.homebanner.bst-hero .slick-current .bst-hero-slide img {
  transform: scale(1);
}

.homebanner.bst-hero .bst-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 51, 102, 0.78) 0%, rgba(27, 57, 147, 0.42) 38%, rgba(0, 51, 102, 0.08) 72%, rgba(0, 51, 102, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 51, 102, 0.12) 0%, transparent 45%, rgba(12, 23, 51, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.homebanner.bst-hero .bst-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 48px 0 96px;
}

.homebanner.bst-hero .bst-hero-copy .container {
  padding-left: 15px;
  padding-right: 15px;
}

.homebanner.bst-hero .bst-hero-card {
  max-width: 640px;
  color: #fff;
}

.bst-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--bst-gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bst-hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bst-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.22);
}

.homebanner.bst-hero .bst-hero-card h1 {
  color: #fff !important;
  font-size: clamp(32px, 4.4vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  margin: 0 0 18px !important;
  padding: 0 !important;
  text-align: left !important;
}

.homebanner.bst-hero .bst-hero-card h1 em {
  font-style: normal;
  color: var(--bst-gold-2);
}

.homebanner.bst-hero .bst-hero-card p {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  margin: 0 0 28px !important;
  max-width: 540px;
  text-align: left !important;
}

.homebanner.bst-hero .bst-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.bst-hero-link {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bst-hero-link:hover {
  color: var(--bst-gold-2);
  text-decoration: none;
}

.homebanner.bst-hero .bst-hero-arrow {
  position: absolute;
  top: 46%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(0, 51, 102, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.homebanner.bst-hero .bst-hero-arrow:hover {
  background: #4061c1;
  color: #fff;
  transform: translateY(-1px);
}

.homebanner.bst-hero .bst-hero-prev { left: 22px; }
.homebanner.bst-hero .bst-hero-next { right: 22px; }
.homebanner.bst-hero .bst-hero-arrow i { font-size: 22px; line-height: 1; }

.homebanner.bst-hero .slick-dots {
  bottom: 58px !important;
  z-index: 4;
  left: 0;
  right: 0;
}

.homebanner.bst-hero .slick-dots li {
  margin: 0 5px;
  width: auto;
  height: auto;
}

.homebanner.bst-hero .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
}

.homebanner.bst-hero .slick-dots li button:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: transparent;
  opacity: 1;
  font-size: 0;
}

.homebanner.bst-hero .slick-dots li.slick-active button:before {
  background: var(--bst-gold);
  width: 28px;
  left: -9px;
  color: transparent;
  opacity: 1 !important;
}

.homebanner.bst-hero .bst-hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(0, 31, 70, 0.72));
  padding: 14px 0 12px;
}

.homebanner.bst-hero .bst-hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: 15px;
  padding-right: 15px;
}

.homebanner.bst-hero .bst-hero-strip i {
  color: var(--bst-gold-2);
  margin-right: 8px;
}

/* ---------- About ---------- */
.homesection.bst-about {
  background:
    radial-gradient(800px 260px at 0% 0%, rgba(64, 97, 193, 0.12), transparent 55%),
    radial-gradient(700px 240px at 100% 100%, rgba(201, 162, 39, 0.1), transparent 50%),
    #f4f7fd;
  height: auto !important;
  min-height: 0;
  padding: 72px 0;
  box-sizing: border-box !important;
  display: block !important;
  overflow: visible;
  position: relative;
  font-family: var(--bst-font);
}

.contentarea:has(.bst-about) {
  padding: 0 !important;
  margin: 0 !important;
}

.homesection.bst-about .container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.homesection.bst-about .container > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.78fr);
  gap: 28px 48px;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.homesection.bst-about .col-md-12 {
  max-width: 100% !important;
  flex: none !important;
  width: auto !important;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--bst-gold);
}

.homesection.bst-about .homecontent {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.homesection.bst-about .bst-hero-kicker {
  background: rgba(64, 97, 193, 0.1);
  border-color: rgba(64, 97, 193, 0.16);
  color: #4061c1;
  margin-bottom: 18px;
}

.homesection.bst-about .cntarea {
  padding: 0 !important;
}

.homesection.bst-about .homecontent h1,
.homesection.bst-about .homecontent h1.text-center {
  color: #003366 !important;
  font-size: clamp(28px, 3.4vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em;
  text-align: left !important;
  margin: 0 0 22px !important;
}

.homesection.bst-about .homecontent p {
  color: #3d4a63 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  text-align: left !important;
  margin: 0 0 14px !important;
}

.homesection.bst-about .homecontent p strong {
  color: #003366;
}

.homesection.bst-about .bst-about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 28px;
}

.homesection.bst-about .bst-hero-link {
  color: #003366;
}

.homesection.bst-about .bst-hero-link:hover {
  color: #4061c1;
}

.homesection.bst-about .bst-about-panel {
  background: linear-gradient(180deg, #003366 0%, #1b3993 100%);
  color: #fff;
  border-radius: 24px;
  padding: 30px 28px 26px;
  box-shadow: 0 22px 48px rgba(0, 51, 102, 0.22);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--bst-gold);
}

.homesection.bst-about .bst-about-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.16);
}

.homesection.bst-about .bst-about-panel .bst-footer-tag {
  margin-bottom: 12px;
}

.homesection.bst-about .bst-about-panel h3 {
  color: #fff !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin: 0 0 12px !important;
  position: relative;
  z-index: 1;
}

.homesection.bst-about .bst-about-panel p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}

.homesection.bst-about .bst-about-panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px !important;
  position: relative;
  z-index: 1;
}

.homesection.bst-about .bst-about-panel ul li {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.homesection.bst-about .bst-about-panel ul li i {
  color: var(--bst-gold-2);
  width: 18px;
}

.homesection.bst-about .bst-panel-link {
  color: var(--bst-gold-2);
  font-weight: 700;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.homesection.bst-about .bst-panel-link:hover {
  color: #fff;
  text-decoration: none;
}

.homesection.bst-about .bst-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}

.homesection.bst-about .bst-about-stats span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.homesection.bst-about .bst-about-stats b {
  display: block;
  color: var(--bst-gold-2);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

/* ---------- Homepage services slider ---------- */
.contentarea .marketingservices.bst-services {
  position: relative;
  isolation: isolate;
  background-color: #c5d3ee !important;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(244, 247, 253, 0.55) 42%, rgba(255, 255, 255, 0.48) 100%),
    url("../images/img_serviceback.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  padding: 80px 0 72px !important;
  min-height: 0 !important;
  display: block !important;
  align-items: unset !important;
  width: 100%;
  font-family: var(--bst-font);
  overflow: hidden;
}

.contentarea .marketingservices.bst-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 240px at 0% 0%, rgba(64, 97, 193, 0.16), transparent 60%),
    radial-gradient(640px 220px at 100% 100%, rgba(201, 162, 39, 0.14), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.contentarea .marketingservices.bst-services::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bst-blue) 0%, var(--bst-gold) 50%, var(--bst-blue-soft) 100%);
  z-index: 2;
}

.contentarea .marketingservices.bst-services > .container {
  position: relative;
  z-index: 1;
}

.contentarea .marketingservices.bst-services .row,
.contentarea .marketingservices.bst-services .col-md-12 {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
  float: none;
  padding-left: 0;
  padding-right: 0;
}

.contentarea .marketingservices.bst-services .bst-services-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.contentarea .marketingservices.bst-services .bst-services-head .bst-hero-kicker {
  margin-bottom: 14px;
  background: rgba(64, 97, 193, 0.1);
  border-color: rgba(64, 97, 193, 0.16);
  color: #4061c1;
}

.contentarea .marketingservices.bst-services .bst-services-head h1,
.contentarea .marketingservices.bst-services h1 {
  color: #003366 !important;
  font-size: clamp(28px, 3.4vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em;
  margin: 0 0 10px !important;
}

.contentarea .marketingservices.bst-services .bst-services-head h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--bst-blue), var(--bst-gold));
}

.contentarea .marketingservices.bst-services .bst-services-head p {
  color: var(--bst-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 12px 0 0;
}

.contentarea .marketingservices.bst-services .sercbox,
.contentarea .marketingservices.bst-services .sercbox:hover {
  background: #0b1f4a;
  border-radius: 18px;
  overflow: hidden;
  border: 0;
  box-shadow: none !important;
  height: 240px !important;
  min-height: 240px !important;
  margin: 0 !important;
}

.contentarea .marketingservices.bst-services .sercbox {
  transition: transform 0.22s ease;
}

.contentarea .marketingservices.bst-services .sercbox:hover {
  transform: translateY(-4px);
}

.contentarea .marketingservices.bst-services .sercbox a {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  height: 100% !important;
}

.contentarea .marketingservices.bst-services .sercbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #12305f;
  border-bottom: 0;
}

.contentarea .marketingservices.bst-services .sercbox h2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 42px 16px 14px !important;
  margin: 0 !important;
  text-align: left !important;
  display: block !important;
  flex-direction: unset;
  justify-content: unset !important;
  align-items: unset !important;
  line-height: 1.3;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 51, 102, 0.94) 72%);
}

.contentarea .marketingservices.bst-services .sercbox h2::after {
  content: "View service \00a0\2192";
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bst-gold-2);
}

.contentarea .marketingservices.bst-services .servicesslider {
  position: relative;
  padding: 6px 56px 10px;
}

.contentarea .marketingservices.bst-services .slick-initialized .slick-slide {
  padding: 8px 10px;
  height: auto !important;
}

.contentarea .marketingservices.bst-services .slick-list {
  height: auto !important;
  margin: 0 -10px;
}

.contentarea .marketingservices.bst-services .slick-track {
  display: flex !important;
  align-items: stretch;
}

.contentarea .marketingservices.bst-services .slick-slide > div {
  height: 100%;
}

.contentarea .marketingservices.bst-services .slick-arrow,
.contentarea .marketingservices.bst-services .slick-arrow:hover {
  background: #1b3993 none !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50%;
  top: 50% !important;
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(12, 23, 51, 0.22);
  border: 0;
}

.contentarea .marketingservices.bst-services .slick-arrow:hover {
  background: #4061c1 none !important;
}

.contentarea .marketingservices.bst-services .slick-prev.slick-arrow { left: 0 !important; }
.contentarea .marketingservices.bst-services .slick-next.slick-arrow { right: 0 !important; }

.contentarea .marketingservices.bst-services .slick-prev:before,
.contentarea .marketingservices.bst-services .slick-next:before {
  display: block !important;
  font-family: FontAwesome;
  color: #fff;
  font-size: 20px;
  opacity: 1;
}

.contentarea .marketingservices.bst-services .slick-prev:before { content: "\f104"; }
.contentarea .marketingservices.bst-services .slick-next:before { content: "\f105"; }

.contentarea .marketingservices.bst-services .slick-slide { opacity: 1 !important; }

.contentarea .marketingservices.bst-services .bst-services-foot {
  text-align: center;
  margin-top: 32px;
}

.contentarea .marketingservices.bst-services .bst-services-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #4061c1;
  border: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(64, 97, 193, 0.32);
}

.contentarea .marketingservices.bst-services .bst-services-foot a:hover {
  background: #1b3993;
  color: #fff;
  text-decoration: none;
}

/* ---------- Homepage responsive ---------- */
@media (max-width: 991px) {
  .homebanner.bst-hero {
    height: 520px;
    min-height: 480px;
    max-height: 68vh;
  }

  .homebanner.bst-hero .bst-hero-copy {
    align-items: center;
    padding: 28px 0 56px;
  }

  .homebanner.bst-hero .bst-hero-copy .container {
    padding-left: 44px;
    padding-right: 44px;
  }

  .homebanner.bst-hero .bst-hero-card {
    max-width: 100%;
  }

  .homebanner.bst-hero .bst-hero-card h1 {
    font-size: 28px !important;
    line-height: 1.22 !important;
    margin: 0 0 12px !important;
  }

  .homebanner.bst-hero .bst-hero-card p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin: 0 0 18px !important;
  }

  .homebanner.bst-hero .bst-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .homebanner.bst-hero .bst-hero-arrow {
    width: 36px;
    height: 36px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .homebanner.bst-hero .bst-hero-arrow:hover {
    transform: translateY(-50%);
  }

  .homebanner.bst-hero .bst-hero-prev { left: 8px; }
  .homebanner.bst-hero .bst-hero-next { right: 8px; }

  .homebanner.bst-hero .slick-dots { bottom: 14px !important; }

  .homebanner.bst-hero .bst-hero-strip {
    display: none !important;
  }

  .homesection.bst-about {
    padding: 48px 0 !important;
  }

  .homesection.bst-about .container > .row {
    grid-template-columns: 1fr;
  }

  .homesection.bst-about .col-md-12 {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 3px solid var(--bst-gold);
  }

  .homesection.bst-about .homecontent h1 {
    font-size: 28px !important;
  }

  .contentarea .marketingservices.bst-services {
    padding: 48px 0 44px !important;
  }

  .contentarea .marketingservices.bst-services .servicesslider {
    padding: 0 40px 4px;
  }

  .contentarea .marketingservices.bst-services .slick-arrow,
  .contentarea .marketingservices.bst-services .slick-arrow:hover {
    width: 38px !important;
    height: 38px !important;
  }

  .contentarea .marketingservices.bst-services .sercbox,
  .contentarea .marketingservices.bst-services .sercbox:hover {
    height: 220px !important;
    min-height: 220px !important;
  }
}

@media (max-width: 575px) {
  .homebanner.bst-hero {
    height: 460px;
    min-height: 420px;
    max-height: 62vh;
  }

  .homebanner.bst-hero .bst-hero-copy .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .homebanner.bst-hero .bst-hero-card h1 {
    font-size: 24px !important;
  }

  .homebanner.bst-hero .bst-hero-card p {
    font-size: 14.5px !important;
  }

  .homebanner.bst-hero .bst-hero-kicker {
    font-size: 11px;
    margin-bottom: 12px;
    padding: 5px 10px;
  }

  .contentarea .marketingservices.bst-services .servicesslider {
    padding: 0 36px 4px;
  }

  .contentarea .marketingservices.bst-services .sercbox h2 {
    font-size: 15px !important;
    padding: 36px 14px 12px !important;
  }
}
