/* Small, template-scoped fit fixes for the supplied Blue Wave assets. */
.cbws-header-con .navbar-brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: clamp(84px, 6.5vw, 104px);
  max-height: 92px;
  aspect-ratio: 1137 / 1097;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
}

.cbws-footer-logo figure {
  width: 168px;
  max-width: 100%;
  padding: 7px;
  border-radius: 8px;
  background: #fff;
}

.cbws-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.cbws-stat-static {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--text--color);
  font-family: var(--bw-font-heading);
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.05;
}

.cbws-yellow-box .cbws-stat-static {
  margin-bottom: 15px;
  color: var(--text--color);
  font-size: 58px;
  line-height: 1;
}

.cbws-direct-enquiry {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
}

.cbws-direct-enquiry .cbws-enquiry-copy {
  width: 100%;
  max-width: 540px;
  margin: 0;
  color: var(--light--blue--color2);
  line-height: 1.7;
}

.cbws-direct-enquiry .cbws-submit-btn {
  display: inline-flex;
  min-width: 205px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cbws-phone-link {
  align-self: center;
  color: var(--light--blue--color2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cbws-product-card-copy,
.cbws-product-availability {
  color: var(--text--color);
  line-height: 1.65;
}

.cbws-product-availability {
  margin: 0 0 26px;
  text-align: center;
}

.cbws-template-spotlight {
  padding: 24px;
  color: #fff;
  text-shadow: 0 2px 16px rgb(0 0 0 / 48%);
}

.cbws-template-spotlight h2 {
  margin-bottom: 10px;
  color: inherit;
  font-family: var(--bw-font-heading);
  font-size: clamp(28px, 4vw, 56px);
}

.cbws-template-spotlight p {
  margin-bottom: 0;
  color: inherit;
  font-size: 18px;
}

.cbws-contact-map-con .cbws-location-image {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .cbws-stat-static { font-size: 45px; }
  .cbws-yellow-box .cbws-stat-static { font-size: 44px; }
  .cbws-contact-map-con .cbws-location-image { height: 280px; }
}

.cbws-fourcolumn-blog .cbws-post-image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cbws-banner-con .cbws-banner-logo img {
  width: 108px;
  height: 79px;
  object-fit: contain;
}
.cbws-fourcolumn-blog .cbws-post-image img { object-position: center top; }

@media (max-width: 991px) {
  .cbws-header-con .navbar-brand img {
    width: auto;
    max-width: clamp(75px, 14vw, 92px);
    max-height: 82px;
  }
}

.cbws-testimonial-badge img {
  display: block;
  width: 180px;
  height: 180px;
  padding: 28px;
  border: 1px solid rgb(0 184 239 / 28%);
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.cbws-template-spotlight {
  background-image: linear-gradient(0deg, rgb(6 43 99 / 35%), rgb(6 43 99 / 35%));
}

/* The original tracking backdrop shows road freight; this reused section now
   describes marine sourcing, so keep the component but use profile imagery. */
.cbws-shipment-tracking-con {
  background-image: linear-gradient(rgb(6 43 99 / 70%), rgb(6 43 99 / 76%)),
    url("../images/hero/hero-products.webp");
  background-position: center 82%;
  background-size: cover;
}

/* The Products page already opens with the bridge photo, so its closing banner uses the harbour photo. */
body.page-products .cbws-shipment-tracking-con {
  background-image: linear-gradient(rgb(6 43 99 / 66%), rgb(6 43 99 / 72%)),
    url("../images/hero/hero-contact.webp");
}

@media (max-width: 575px) {
  .cbws-shipment-tracking-con .cbws-track-btn {
    min-width: 0;
    width: 100%;
  }
}

/* Responsive type and rhythm tokens, mapped onto the supplied template. */
:root {
  /* Two families only: Nunito Sans for reading text and UI, Nunito for headings. */
  --bw-font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bw-font-heading: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bw-type-hero: clamp(56px, 5vw, 72px);
  --bw-type-page-title: clamp(46px, 3.9vw, 56px);
  --bw-type-h2: clamp(38px, 3.05vw, 44px);
  --bw-type-h3: clamp(28px, 2.25vw, 32px);
  --bw-type-h4: clamp(22px, 1.7vw, 24px);
  --bw-type-card-title: clamp(23px, 1.8vw, 26px);
  --bw-type-body: 16px;
  --bw-type-intro: clamp(18px, 1.32vw, 19px);
  --bw-type-nav: 15px;
  --bw-type-action: 15px;
  --bw-type-eyebrow: 12px;
  --bw-color-eyebrow: #0879c9;
  --bw-color-eyebrow-on-dark: #00b8ef;
  --bw-type-title-sm: 18px;
  --bw-type-small: 14px;
  --bw-type-caption: 13px;
  --bw-space-section: 96px;
  --bw-space-section-large: 128px;
  --bw-space-section-compact: 64px;
  --bw-space-heading: 40px;
  --bw-space-image-text: 72px;
  --bw-space-gutter: 40px;
  --bw-space-between: 32px;
  --bw-card-radius: 8px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --bw-type-hero: clamp(52px, 5.4vw, 56px);
    --bw-type-page-title: clamp(42px, 4.5vw, 46px);
    --bw-type-h2: clamp(34px, 3.8vw, 38px);
    --bw-type-h3: clamp(25px, 2.8vw, 28px);
    --bw-type-h4: 22px;
    --bw-type-card-title: 23px;
    --bw-type-intro: 18px;
    --bw-space-section: 72px;
    --bw-space-section-large: 96px;
    --bw-space-section-compact: 48px;
    --bw-space-heading: 32px;
    --bw-space-image-text: 32px;
    --bw-space-gutter: 28px;
    --bw-space-between: 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --bw-type-hero: clamp(32px, 10vw, 40px);
    --bw-type-page-title: clamp(32px, 9vw, 36px);
    --bw-type-h2: clamp(28px, 7.5vw, 30px);
    --bw-type-h3: clamp(23px, 6.2vw, 25px);
    --bw-type-h4: clamp(20px, 5.2vw, 21px);
    --bw-type-card-title: 21px;
    --bw-type-intro: 17px;
    --bw-type-nav: 16px;
    --bw-space-section: 56px;
    --bw-space-section-large: 72px;
    --bw-space-section-compact: 40px;
    --bw-space-heading: 24px;
    --bw-space-image-text: 24px;
    --bw-space-gutter: clamp(16px, 4vw, 20px);
    --bw-space-between: 16px;
  }
}

/* Container width and consistent page gutters without changing the layout. */
.cbws-main-container {
  max-width: 1360px;
  margin-inline: auto;
}

.cbws-wrapper1533 {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--bw-space-gutter);
}

.cbws-padding-rl,
.cbws-padding-rl-responsive {
  padding-inline: var(--bw-space-gutter) !important;
}

#home,
#about,
#services,
#products,
#contact {
  scroll-margin-top: 20px;
}

@media (min-width: 768px) {
  /* Keep the template's overlapping hero vessel mark visible on #about jumps. */
  #about {
    scroll-margin-top: 104px;
  }
}

.cbws-spacer {
  height: var(--bw-space-between);
}

.cbws-padding-top {
  padding-top: var(--bw-space-section) !important;
}

.cbws-padding-bottom {
  padding-bottom: var(--bw-space-section) !important;
}

.cbws-heading-title-con:not(.mb-0) {
  margin-bottom: var(--bw-space-heading);
}

/* Named hierarchy: display hero, page title, section heading, and card title. */
.cbws-banner-con h1.cbws-text-size-100 {
  max-width: 13ch;
  font-size: var(--bw-type-hero);
  line-height: 1.08;
  text-wrap: balance;
}

.cbws-sub-banner-con h1 {
  font-size: var(--bw-type-page-title);
  line-height: 1.12;
  text-wrap: balance;
}

h2.cbws-text-size-66,
h2.cbws-heading3,
h2.cbws-sub-heading2,
.cbws-heading-title-con > h2 {
  font-size: var(--bw-type-h2);
  line-height: 1.18;
  text-wrap: balance;
}

h3:not(.cbws-text-size-26):not(.cbws-text-size-22):not(.cbws-text-size-20):not(.cbws-product-card-title) {
  font-size: var(--bw-type-h3);
  line-height: 1.25;
  text-wrap: balance;
}

.cbws-text-size-26,
.cbws-heading4 {
  font-size: var(--bw-type-card-title);
  line-height: 1.35;
}

.cbws-text-size-22,
.cbws-text-size-20 {
  font-size: var(--bw-type-h4);
  line-height: 1.35;
}

.cbws-special-text,
.cbws-banner-top-span {
  font-size: var(--bw-type-eyebrow);
  line-height: 1.4;
  letter-spacing: 1.1px;
}

.cbws-banner-inner-con > p,
.cbws-sub-banner-con .cbws-banner-inner-con > p,
.cbws-heading-title-con > p {
  font-size: var(--bw-type-intro);
  line-height: 1.6;
}

.cbws-testimonials-con h2.cbws-text-size-26 {
  font-size: var(--bw-type-intro);
  line-height: 1.6;
}

body,
p {
  font-size: var(--bw-type-body);
  line-height: 1.65;
}

body {
  font-family: var(--bw-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Eyebrow subheadings are always blue: brand blue on light, lighter brand blue on dark/photo sections. */
.cbws-special-text {
  color: var(--bw-color-eyebrow);
}

.cbws-special-text.cbws-text-yellow,
.cbws-special-text.text-white.cbws-on-dark {
  color: var(--bw-color-eyebrow-on-dark);
}

/* Every heading and heading-like class uses the heading face. */
h1, h2, h3, h4, h5, h6,
.cbws-heading3,
.cbws-heading4,
.cbws-sub-heading2,
.cbws-product-card-title {
  font-family: var(--bw-font-heading);
}

/* Form controls and buttons never fall back to the browser font. */
button,
input,
select,
textarea,
.btn {
  font-family: var(--bw-font-body);
}

/* Shared small-type utilities; use these instead of inline font-size. */
.cbws-title-sm,
h4.cbws-title-sm {
  font-size: var(--bw-type-title-sm);
  font-weight: 700;
  line-height: 1.35;
}

.cbws-text-small {
  font-size: var(--bw-type-small);
  line-height: 1.55;
}

.cbws-text-caption {
  font-size: var(--bw-type-caption);
  line-height: 1.5;
}

.cbws-text-lead {
  font-size: var(--bw-type-intro);
  line-height: 1.5;
}

.cbws-eyebrow {
  font-size: var(--bw-type-eyebrow);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.cbws-intro-text {
  font-size: var(--bw-type-intro);
  line-height: 1.6;
}

.cbws-text-size-16 {
  font-size: var(--bw-type-body);
  line-height: 1.5;
}

.cbws-header-con .navbar-light .navbar-nav .nav-link {
  font-size: var(--bw-type-nav);
}

.cbws-header-contact .cbws-header-phone i {
  color: #ffffff;
  font-size: 19px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.cbws-header-contact li:hover .cbws-header-phone i {
  transform: rotate(-10deg) scale(1.08);
}

.cbws-primary_btn,
.cbws-secondary_btn,
.cbws-track-btn,
.cbws-submit-btn,
.cbws-read_more,
.cbws-header-contact .cbws-contact-btn {
  font-size: var(--bw-type-action);
}

.form-control,
.cbws-contact-form input,
.cbws-contact-form select,
.cbws-contact-form textarea {
  font-size: 16px;
}

/* Template section rhythm and image/text relationships. */
.cbws-about-us-con {
  padding: var(--bw-space-section) var(--bw-space-gutter);
}

.cbws-about-us-con .row.align-items-center,
.cbws-why-choose-us-con > .cbws-main-container > .row:first-child,
.cbws-get-free-estimate-con > .container-fluid > .row {
  --bs-gutter-x: var(--bw-space-image-text);
}

.cbws-about-us-con .cbws-about-us-content-con {
  gap: var(--bw-space-image-text);
  padding-left: 0;
}

.cbws-about-us-con .cbws-about-content2 {
  gap: clamp(24px, 4vw, 60px);
}

.cbws-about-us-con .cbws-about-us-content-con p {
  margin-bottom: 16px;
}

.cbws-about-us-con .cbws-about-us-content-con p.cbws-last-p {
  margin-bottom: 28px;
}

.cbws-get-free-estimate-con {
  padding: var(--bw-space-section-compact) var(--bw-space-gutter);
}

.cbws-shipment-tracking-con {
  padding-block: var(--bw-space-section-large);
}

/* Compact, quiet card finish; retain the supplied card shapes and interactions. */
.cbws-blog-posts .cbws-blog-box,
.cbws-services-con .cbws-services-box,
.cbws-our-features-con .cbws-feature-box,
.cbws-contact-info-con .cbws-contact-info-box {
  border-radius: var(--bw-card-radius);
  box-shadow: 0 4px 16px rgb(6 43 99 / 7%);
}

.cbws-blog-posts .cbws-blog-box {
  overflow: hidden;
}

.cbws-services-con .cbws-services-box .cbws-br-20,
.cbws-blog-posts .cbws-blog-box .cbws-post-image img {
  border-radius: var(--bw-card-radius);
}

.cbws-services-con .owl-stage-outer {
  max-width: 100%;
}

.cbws-services-con .owl-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Keep the template's horizontal entrance motion from creating page scroll. */
.cbws-why-choose-us-con {
  overflow-x: clip;
}

.cbws-fourcolumn-blog .cbws-post-image img {
  height: clamp(132px, 14vw, 190px);
}

@media (min-width: 380px) and (max-width: 767px) {
  #blog > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  #blog > .row > [class*="col-"] {
    width: 100%;
    min-width: 0;
  }

  .cbws-blog-posts .cbws-blog-box .cbws-lower-portion {
    padding: 14px;
  }

  .cbws-blog-posts .cbws-blog-box .cbws-button-portion {
    gap: 8px;
    padding: 12px 14px;
  }
}

@media (max-width: 767px) {
  .cbws-header-con .navbar-nav .nav-item > a {
    font-size: var(--bw-type-nav) !important;
    line-height: 1.35 !important;
  }

  .cbws-header-con .navbar-brand img {
    width: auto;
    max-width: clamp(66px, 18vw, 80px);
    max-height: 72px;
  }

  .cbws-about-us-con .row.align-items-center,
  .cbws-why-choose-us-con > .cbws-main-container > .row:first-child,
  .cbws-get-free-estimate-con > .container-fluid > .row {
    --bs-gutter-x: var(--bw-space-image-text);
    row-gap: var(--bw-space-image-text);
  }

  .cbws-about-us-con .cbws-about-us-content-con {
    flex-direction: column;
    gap: 20px;
  }

  .cbws-about-us-con .cbws-about-content2 {
    gap: 16px;
  }

  .cbws-about-us-con .cbws-about-us-content-con p.cbws-last-p {
    margin-bottom: 20px;
  }

  .cbws-get-free-estimate-con .cbws-send-us-img-con {
    text-align: left;
  }

  .cbws-fourcolumn-blog .cbws-post-image img {
    height: clamp(132px, 42vw, 168px);
  }

  .cbws-contact-map-con .cbws-location-image {
    height: clamp(240px, 72vw, 320px);
  }

  .form-control,
  .cbws-contact-form input,
  .cbws-contact-form select,
  .cbws-contact-form textarea {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .cbws-why-choose-us-con > .cbws-main-container > .row {
    margin-inline: 0;
  }

  .cbws-why-choose-us-con > .row {
    margin-inline: 0;
  }
}

@media (max-width: 379px) {
  #blog > .row {
    display: block;
  }
}

/* Homepage about section: a light two-column introduction, not a dark banner. */
.cbws-home-about-con {
  background: #fff;
}

.cbws-home-about-con .container {
  max-width: 1216px;
}

.cbws-home-about-con .row.align-items-center {
  --bs-gutter-x: var(--bw-space-image-text);
}

@media (max-width: 1440px) {
  .cbws-home-about-con .row.align-items-center,
  .cbws-home-enquiry-guide .row {
    width: 100%;
    margin-inline: 0;
  }
}

.cbws-home-about-visual {
  position: relative;
  padding: 0 18px 20px 0;
}

.cbws-home-about-visual::before {
  position: absolute;
  top: -12px;
  right: 6px;
  width: 46%;
  height: 50%;
  border: 1px solid rgb(0 184 239 / 45%);
  border-radius: 16px;
  background: #eaf6fc;
  content: "";
}

.cbws-home-about-photo {
  position: relative;
  z-index: 1;
  height: clamp(280px, 32vw, 410px);
  overflow: hidden;
  border-radius: 16px;
  background: #eaf6fc;
}

.cbws-home-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cbws-home-about-mark {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 16px;
  display: flex;
  min-width: 184px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgb(6 43 99 / 10%);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(6 43 99 / 12%);
}

.cbws-home-about-mark img {
  display: block;
  width: 72px;
  height: 54px;
  object-fit: contain;
}

.cbws-home-about-mark span {
  color: #062b63;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
}

.cbws-home-about-copy {
  max-width: 610px;
  padding-left: 8px;
}

.cbws-home-about-copy > .cbws-special-text {
  margin-bottom: 12px;
}

.cbws-home-about-copy h2 {
  margin-bottom: 20px;
  color: #062b63;
}

.cbws-home-about-copy p {
  max-width: 58ch;
  margin-bottom: 14px;
  color: #526579;
}

.cbws-home-about-copy .cbws-primary_btn {
  margin-top: 8px;
}

/* Existing #services section now presents concrete, factual reasons to choose us. */
#services .cbws-choose-content-con {
  padding-left: clamp(0px, 2.4vw, 34px);
}

#services .cbws-main-container > .row:first-child {
  align-items: center;
  margin-bottom: var(--bw-space-heading);
}

#services .cbws-choose-img-con figure {
  overflow: hidden;
  border-radius: 12px;
}

#services .cbws-choose-img-con img {
  display: block;
  width: 100%;
  max-height: 290px;
  object-fit: cover;
}

#services .cbws-choose-content-con h2 {
  margin-bottom: 12px;
  color: #062b63;
}

#services .cbws-choose-content-con p {
  margin-bottom: 0;
  color: #526579;
}

/* Velotrax Theme UI Card & Section Styles */
.cbws-feature-box {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid #eaf6fc;
  box-shadow: 0 8px 24px rgba(6, 43, 99, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cbws-feature-box:hover {
  transform: translateY(-6px);
  border-color: #0879c9;
  box-shadow: 0 18px 40px rgba(6, 43, 99, 0.1);
}

.cbws-feature-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f0f7fd;
  color: #0879c9;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.35s ease;
}

.cbws-feature-box:hover .cbws-feature-icon-badge {
  background: #062b63;
  color: #ffffff;
  transform: translateY(-2px);
}

.cbws-feature-box .cbws-text-size-26 {
  font-family: var(--bw-font-heading);
  font-size: var(--bw-type-card-title);
  font-weight: 700;
  color: #062b63;
  margin-bottom: 12px;
  line-height: 1.35;
}

.cbws-feature-box p {
  font-family: var(--bw-font-body);
  font-size: 16px;
  line-height: 26px;
  color: #526579;
}

/* Step cards in How Sourcing Works */
.cbws-step-badge {
  display: inline-block;
  background: #062b63;
  color: #ffffff;
  font-family: var(--bw-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background-color 0.35s ease;
}

.cbws-step-card:hover .cbws-step-badge {
  background: #0879c9;
}

.cbws-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0f7fd;
  color: #0879c9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.35s ease;
}

.cbws-step-card:hover .cbws-step-icon {
  background: #062b63;
  color: #ffffff;
}

/* Enquiry Guide Section & 2x2 Grid Cards */
.cbws-enquiry-guide-left h2 {
  color: #062b63;
}

.cbws-enquiry-guide-left p {
  color: #526579;
}

.cbws-guide-box {
  padding: 24px 20px;
  border-radius: 18px;
}

.cbws-guide-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f7fd;
  color: #0879c9;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.cbws-guide-box:hover .cbws-guide-icon-badge {
  background: #062b63;
  color: #ffffff;
}

.cbws-guide-box .cbws-text-size-22 {
  font-family: var(--bw-font-heading);
  font-size: var(--bw-type-title-sm);
  font-weight: 700;
  color: #062b63;
  margin-bottom: 8px;
  line-height: 1.35;
}

.cbws-guide-box p {
  font-size: 14px;
  line-height: 22px;
  color: #526579;
}

.cbws-enquiry-phone-btn {
  padding: 10px 20px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #eaf6fc;
  color: #062b63;
  font-family: var(--bw-font-body);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(6, 43, 99, 0.06);
  transition: all 0.25s ease;
}

.cbws-enquiry-phone-btn:hover {
  background: #062b63;
  color: #ffffff;
  border-color: #062b63;
}

.cbws-enquiry-phone-btn:hover .cbws-enquiry-phone-icon {
  color: #00b8ef;
}

.cbws-enquiry-phone-icon {
  color: #0879c9;
  font-size: 14px;
}

@media (max-width: 991px) {
  .cbws-home-about-copy {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .cbws-home-about-con .row.align-items-center,
  .cbws-home-enquiry-guide .row {
    row-gap: var(--bw-space-image-text);
  }

  .cbws-home-about-visual {
    max-width: 520px;
    margin: 0 auto 8px;
  }

  .cbws-home-about-photo {
    height: clamp(260px, 70vw, 340px);
  }

  #services .cbws-choose-content-con {
    padding-left: 0;
  }

  #services .cbws-main-container > .row:first-child {
    row-gap: 20px;
    margin-bottom: 24px;
  }

  #services .cbws-choose-img-con {
    max-width: 520px;
    margin: 0 auto;
  }

  .cbws-feature-box {
    padding: 24px 20px;
  }
}

/* Header (<= 991px): Transparent Brand directly over the hero.
   <= 767px: logo only (the app dock is the navigation).
   768-991px: centered logo + hamburger dropdown (see tablet block below). */
@media (max-width: 991px) {
  .cbws-header-con,
  .cbws-header-con.cbws-main-box {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 14px 16px 0 !important;
    margin-top: 6px !important;
  }

  .cbws-header-con .navbar {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    min-height: 52px !important;
  }

  .cbws-header-con .navbar-brand {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cbws-header-con .navbar-brand figure,
  .cbws-header-con .navbar-brand picture {
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 !important;
    display: block !important;
  }

  .cbws-header-con .navbar-brand img {
    background: transparent !important;
    background-color: transparent !important;
    width: auto !important;
    max-width: clamp(75px, 16vw, 92px) !important;
    height: auto !important;
    max-height: 82px !important;
    aspect-ratio: 1137 / 1097 !important;
    object-fit: contain !important;
    display: block !important;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) !important;
  }
}

/* Phones (<= 767px): logo-only transparent header — the app dock is the navigation. */
@media (max-width: 767px) {
  .cbws-header-con .navbar-brand img {
    width: auto !important;
    max-width: clamp(66px, 18vw, 80px) !important;
    height: auto !important;
    max-height: 72px !important;
    aspect-ratio: 1137 / 1097 !important;
    object-fit: contain !important;
  }

  .cbws-header-con .navbar-toggler,
  .cbws-header-con .navbar-collapse,
  .cbws-header-con .cbws-header-contact,
  .cbws-mobile-header-actions {
    display: none !important;
  }
}

/* Tablet (768-991px): hamburger over the transparent hero header,
   opening a navy dropdown panel below the header. */
@media (min-width: 768px) and (max-width: 991px) {
  /* Header wrapper must stack above the slider so the open panel is not covered. */
  .cbws-home-outer-wrapper > .cbws-hero-content-layer:first-child {
    z-index: 6;
  }

  /* Toggler: 42x42 tap target, right of the centered logo, white bars. */
  .cbws-header-con .navbar-toggler {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 42px !important;
    height: 42px;
    padding: 10px 9px !important;
    transform: translateY(-50%) !important;
    border: 1px solid rgb(255 255 255 / 45%) !important;
    border-radius: 12px;
    background-color: rgb(6 43 99 / 35%) !important;
    box-shadow: 0 4px 14px rgb(0 0 0 / 25%);
    z-index: 70;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .cbws-header-con .navbar-toggler:hover {
    background-color: rgb(6 43 99 / 60%) !important;
    border-color: rgb(255 255 255 / 75%) !important;
  }

  .cbws-header-con .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgb(0 184 239 / 45%);
  }

  .cbws-header-con .navbar-toggler .navbar-toggler-icon {
    float: none;
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: #fff !important;
  }

  /* Open state: bars collapse into a white X. */
  .cbws-header-con .navbar-toggler:not(.collapsed) {
    background-color: rgb(6 43 99 / 75%) !important;
    border-color: rgb(255 255 255 / 70%) !important;
  }

  .cbws-header-con .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    position: absolute;
    top: 50%;
    left: 9px;
    width: calc(100% - 20px);
    height: 2px;
    margin: 0;
  }

  .cbws-header-con .navbar-toggler:not(.collapsed) .navbar-toggler-icon:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
  }

  .cbws-header-con .navbar-toggler:not(.collapsed) .navbar-toggler-icon:nth-child(2) {
    visibility: hidden;
    opacity: 0;
    background-color: transparent !important;
  }

  .cbws-header-con .navbar-toggler:not(.collapsed) .navbar-toggler-icon:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
  }

  /* Dropdown panel: navy card, white links, above the slider. */
  .cbws-header-con .navbar-collapse.collapse,
  .cbws-header-con .navbar-collapse.collapsing {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto;
    width: min(320px, calc(100vw - 48px));
    padding: 12px !important;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 14px !important;
    background-color: #062b63 !important;
    box-shadow: 0 20px 45px rgb(0 0 0 / 40%);
    z-index: 75 !important;
    overflow: hidden;
  }

  .cbws-header-con .navbar-collapse .navbar-nav {
    display: block;
    gap: 0;
    padding: 0 !important;
    margin: 0;
    position: static;
    z-index: auto;
  }

  .cbws-header-con .navbar-collapse .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .cbws-header-con .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
    padding: 12px 14px !important;
    border-radius: 10px;
    color: #fff !important;
    font-size: 16px;
    line-height: 1.4;
    background-color: transparent;
    transition: background-color 0.18s ease, color 0.18s ease;
  }

  .cbws-header-con .navbar-collapse .navbar-nav .nav-item .nav-link:hover {
    color: #bdefff !important;
    background-color: rgb(255 255 255 / 10%);
  }

  .cbws-header-con .navbar-collapse .navbar-nav .nav-item .nav-link.active {
    color: #00b8ef !important;
    background-color: rgb(255 255 255 / 12%);
    text-align: left;
    padding-left: 14px !important;
  }
}

/* Base Transparent Header Navigation (All Viewports) */
.cbws-header-con,
.cbws-header-con.cbws-main-box {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.cbws-header-con .navbar {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Desktop (>= 992px): Transparent Navigation Menu Bar across all site pages */
@media (min-width: 992px) {
  .cbws-header-con,
  .cbws-header-con.cbws-main-box {
    padding: 18px 0 !important;
    margin-top: 14px !important;
  }

  .cbws-header-con .navbar {
    padding: 0 !important;
  }

  .cbws-header-con .navbar-brand {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .cbws-header-con .navbar-brand figure,
  .cbws-header-con .navbar-brand picture {
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 !important;
    display: block !important;
  }

  .cbws-header-con .navbar-brand img {
    background: transparent !important;
    background-color: transparent !important;
    width: auto !important;
    max-width: clamp(84px, 6.5vw, 104px) !important;
    height: auto !important;
    max-height: 92px !important;
    aspect-ratio: 1137 / 1097 !important;
    object-fit: contain !important;
    display: block !important;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .cbws-header-con .navbar-brand:hover img {
    opacity: 0.9;
    transform: scale(1.02);
  }

  .cbws-header-con .navbar-light .navbar-nav {
    gap: clamp(20px, 2.8vw, 42px);
    align-items: center;
  }

  .cbws-header-con .navbar-light .navbar-nav .nav-link {
    color: #ffffff !important;
    font-family: var(--bw-font-body, "Nunito Sans", sans-serif);
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
    padding: 8px 18px !important;
    border-radius: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  }

  .cbws-header-con .navbar-light .navbar-nav .nav-link:hover {
    color: #00b8ef !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    text-shadow: 0 2px 8px rgba(0, 184, 239, 0.6);
  }

  .cbws-header-con .navbar-light .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: #0879c9 !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    box-shadow: 0 4px 16px rgba(8, 121, 201, 0.45) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  .cbws-header-contact {
    margin-left: clamp(20px, 3vw, 50px);
  }

  .cbws-header-con .cbws-header-contact ul li:first-child {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px !important;
    padding: 6px 16px 6px 6px !important;
    width: auto !important;
    min-width: 204px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
  }

  .cbws-header-con .cbws-header-contact ul li:first-child:hover {
    background-color: #0879c9 !important;
    border-color: #0879c9 !important;
    box-shadow: 0 6px 20px rgba(8, 121, 201, 0.45);
  }

  .cbws-header-con .cbws-header-contact ul li .cbws-header-phone {
    width: 42px;
    height: 42px;
    line-height: 42px;
    background-color: #0879c9 !important;
    color: #ffffff !important;
    border-radius: 8px;
    margin-right: 10px;
    transition: background-color 0.25s ease;
  }

  .cbws-header-con .cbws-header-contact ul li:first-child:hover .cbws-header-phone {
    background-color: rgba(255, 255, 255, 0.2) !important;
  }

  .cbws-header-contact ul li a span.cbws-number {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }
}

/* Category icons are prominent and consistent across every carousel repeat. */
#products .cbws-service-text1 {
  gap: 14px;
  align-items: center;
}

#products .cbws-service-text1 h3 {
  min-width: 0;
}

#products .cbws-product-category-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(0 184 239 / 30%);
  border-radius: 16px;
  background: #eaf6fc;
  color: #0879c9;
  font-size: 25px;
  line-height: 1;
}

/* Contact details stay inside one readable paragraph instead of a button row. */
.cbws-direct-enquiry {
  display: block;
}

.cbws-direct-enquiry .cbws-enquiry-copy {
  width: 100%;
  max-width: 620px;
  margin: 0;
  color: var(--light--blue--color2);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.cbws-direct-enquiry .cbws-enquiry-copy a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #00b8ef;
  text-underline-offset: 3px;
}

.cbws-direct-enquiry .cbws-enquiry-copy a:hover {
  color: #bdefff;
}

.cbws-copyright-con p {
  padding-inline: 16px;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.cbws-copyright-con a {
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
}

.cbws-copyright-con a:hover {
  color: #00b8ef !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .cbws-direct-enquiry .cbws-enquiry-copy {
    font-size: 17px;
    line-height: 1.6;
  }

  #products .cbws-product-category-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
    font-size: 22px;
  }
}

/* Shorten only the contact panel: contain its portrait source in a landscape crop. */
#contact.cbws-get-free-estimate-con {
  padding-top: 40px;
  padding-bottom: 40px;
}

#contact .cbws-send-us-img-con > figure:last-of-type {
  width: min(100%, 540px);
  margin: 0 0 0 auto;
}

#contact .cbws-send-us-img-con > figure:last-of-type img {
  display: block;
  width: 100%;
  height: clamp(360px, 30vw, 430px);
  object-fit: cover;
  object-position: center 56%;
}

@media (max-width: 991px) {
  #contact.cbws-get-free-estimate-con {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  #contact .cbws-send-us-img-con > figure:last-of-type {
    width: 100%;
    max-width: 500px;
  }

  #contact .cbws-send-us-img-con > figure:last-of-type img {
    height: clamp(280px, 42vw, 400px);
  }
}

@media (max-width: 767px) {
  #contact.cbws-get-free-estimate-con {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #contact .cbws-send-us-img-con > figure:last-of-type {
    max-width: 480px;
    margin-inline: auto;
  }

  #contact .cbws-send-us-img-con > figure:last-of-type img {
    height: clamp(240px, 62vw, 300px);
  }
}


/* Bring the sourcing sections back to the supplied Blue Wave card system. */
#services .cbws-feature-box,
#process .cbws-feature-box,
#enquiry-guide .cbws-feature-box {
  padding: 26px 24px;
  border: 1px solid #e4edf5;
  border-radius: var(--bw-card-radius);
  box-shadow: 0 4px 16px rgb(6 43 99 / 7%);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#services .cbws-feature-box:hover,
#process .cbws-feature-box:hover,
#enquiry-guide .cbws-feature-box:hover {
  transform: translateY(-3px);
  border-color: rgb(8 121 201 / 40%);
  box-shadow: 0 8px 24px rgb(6 43 99 / 10%);
}

#services .cbws-feature-icon-badge,
#process .cbws-step-icon,
#enquiry-guide .cbws-guide-icon-badge {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(0 184 239 / 22%);
  border-radius: var(--bw-card-radius);
  margin-bottom: 16px;
  background: #eaf6fc;
  color: #0879c9;
  font-size: 20px;
  transition: background-color 220ms ease, color 220ms ease;
}

#services .cbws-feature-box:hover .cbws-feature-icon-badge,
#process .cbws-feature-box:hover .cbws-step-icon,
#enquiry-guide .cbws-feature-box:hover .cbws-guide-icon-badge {
  transform: none;
  background: #062b63;
  color: #fff;
}

#services .cbws-feature-box .cbws-text-size-26,
#process .cbws-feature-box .cbws-text-size-26 {
  margin-bottom: 10px;
  color: #062b63;
  font-family: var(--bw-font-heading);
  font-size: var(--bw-type-card-title);
  font-weight: 700;
  line-height: 1.35;
}

#enquiry-guide .cbws-feature-box .cbws-text-size-22 {
  margin-bottom: 10px;
  color: #062b63;
  font-family: var(--bw-font-heading);
  font-size: var(--bw-type-title-sm);
  font-weight: 700;
  line-height: 1.35;
}

#services .cbws-feature-box p,
#process .cbws-feature-box p,
#enquiry-guide .cbws-feature-box p {
  margin-bottom: 0;
  color: #526579;
  font-family: var(--bw-font-body);
  font-size: 16px;
  line-height: 1.6;
}

#process .cbws-heading-title-con {
  margin-bottom: var(--bw-space-heading) !important;
}

.cbws-enquiry-phone-btn {
  border-radius: var(--bw-card-radius);
  border-color: #e4edf5;
  box-shadow: 0 3px 12px rgb(6 43 99 / 6%);
}

@media (max-width: 767px) {
  #services .cbws-feature-box,
  #process .cbws-feature-box,
  #enquiry-guide .cbws-feature-box {
    padding: 22px 20px;
  }
}



/* ==========================================================================
   Hero wrapper: clip to the 30px rounded corners
   ========================================================================== */
.cbws-home-outer-wrapper {
  overflow: hidden !important; /* Clips the hero to the 30px rounded corners */
}

.cbws-hero-content-layer {
  position: relative;
  z-index: 5;
}

/* The slider is the full rounded hero shell; the header floats over the image. */
.cbws-home-outer-wrapper {
  position: relative;
  height: min(1001px, calc(100svh - 30px));
  min-height: 760px;
  isolation: isolate;
  overflow: visible !important;
  padding-bottom: 0 !important;
  background: none !important;
}
.cbws-home-outer-wrapper > .cbws-hero-content-layer:first-child {
  position: absolute;
  z-index: 7;
  inset: 14px 0 auto;
}
.cbws-home-outer-wrapper #home.cbws-banner-con {
  position: absolute !important;
  z-index: 2;
  inset: 0;
  overflow: visible;
  padding: 0;
}
.cbws-hero-slider,
.cbws-hero-slider .owl-stage-outer,
.cbws-hero-slider .owl-stage,
.cbws-hero-slider .owl-item { height: 100%; }
.cbws-hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 30px;
}
.cbws-hero-slide {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  background-color: #0b0f14;
  background: #0b0f14;
  isolation: isolate;
}
.cbws-hero-slide::before { position: absolute; z-index: 0; inset: 0; background-position: center; background-size: cover; content: ""; }
.cbws-hero-slide::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 62%) 48%, rgb(0 0 0 / 25%) 100%), linear-gradient(180deg, rgb(0 0 0 / 20%), rgb(0 0 0 / 40%)); content: ""; }
.cbws-hero-slide--lead::before { background-image: url("../images/banner-bg-img.webp"); }
.cbws-hero-slide--admiralty::before { background-image: url("../images/hero/hero-publications.webp"); }
.cbws-hero-slide--imo::before { background-image: url("../images/bluewave/imo-books.webp"); }
.cbws-hero-slide--engineering::before { background-image: url("../images/bluewave/witherbys-ics-publications.webp"); }
.cbws-hero-slide--safety::before { background-image: url("../images/bluewave/life-saving-appliances.webp"); }
.cbws-hero-slide--admiralty::before { background-position: center 48%; }
.cbws-hero-slide-content { position: relative; z-index: 2; width: 100%; }
.cbws-hero-slide .cbws-banner-inner-con { width: min(100%, 760px); }
.cbws-hero-slide .cbws-banner-top-span { width: auto; max-width: 100%; text-align: left; }
.cbws-hero-slide h1,
.cbws-hero-slide h2 { max-width: 13ch; margin: 0 0 22px; font-size: var(--bw-type-hero); line-height: 1.08; text-wrap: balance; }
.cbws-hero-slide p { max-width: 56ch; margin: 0 0 30px; padding: 0; font-size: var(--bw-type-intro); line-height: 1.6; }
.cbws-hero-slide p::before { display: none; }
.cbws-hero-slide .cbws-secondary_btn { margin-left: 10px; }
.cbws-hero-slider .owl-nav { position: absolute; z-index: 2; right: 40px; bottom: 34px; display: flex; gap: 10px; }
.cbws-hero-slider .owl-nav button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(255 255 255 / 65%) !important; border-radius: 50%; background: rgb(0 0 0 / 45%) !important; color: #fff !important; font-size: 24px !important; line-height: 1; transition: background .2s ease; }
.cbws-hero-slider .owl-nav button:hover { background: #0879c9 !important; }
.cbws-hero-slider .owl-dots { position: absolute; z-index: 2; bottom: 48px; left: 40px; display: flex; gap: 8px; }
.cbws-hero-slider .owl-dot span { display: block; width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / 65%); transition: width .2s ease, background .2s ease; }
.cbws-hero-slider .owl-dot.active span { width: 24px; border-radius: 8px; background: #00b8ef; }
.cbws-banner-logo-outer { position: absolute !important; z-index: 8; right: 0; bottom: -44px; left: 0; height: 0; }
.cbws-banner-con .cbws-banner-logo { top: auto; bottom: 0; }
@media (min-width: 768px) and (max-width: 991px) {
  .cbws-home-outer-wrapper { height: 860px; min-height: 0; padding-bottom: 0 !important; }
  .cbws-hero-slide .cbws-wrapper1533 { padding-inline: 28px; }
}
@media (max-width: 767px) {
  .cbws-home-outer-wrapper { height: 780px; min-height: 0; padding-bottom: 0 !important; }
  .cbws-home-outer-wrapper > .cbws-hero-content-layer:first-child { top: 4px; }
  .cbws-hero-slider { border-radius: 24px; }
  .cbws-hero-slide { align-items: center; }
  .cbws-hero-slide::after { background: linear-gradient(90deg, rgb(0 0 0 / 78%), rgb(0 0 0 / 53%)), linear-gradient(180deg, rgb(0 0 0 / 30%), rgb(0 0 0 / 52%)); }
  .cbws-hero-slide::before { background-position: 58% center; }
  .cbws-hero-slide-content { padding-top: 130px; padding-bottom: 100px; }
  .cbws-hero-slide h1, .cbws-hero-slide h2 { max-width: 12ch; margin-bottom: 18px; }
  .cbws-hero-slide p { margin-bottom: 22px; }
  .cbws-hero-slide .cbws-primary_btn, .cbws-hero-slide .cbws-secondary_btn { margin: 0 8px 10px 0; }
  .cbws-hero-slider .owl-nav { right: 18px; bottom: 82px; }
  .cbws-hero-slider .owl-dots { right: auto; bottom: 98px; left: 18px; }
  .cbws-banner-logo-outer { display: none; }
}
@media (max-width: 359px) {
  .cbws-home-outer-wrapper { height: 760px; padding-bottom: 0 !important; }
  .cbws-hero-slide .cbws-wrapper1533 { padding-inline: 16px; }
  .cbws-hero-slide .cbws-primary_btn, .cbws-hero-slide .cbws-secondary_btn { padding-inline: 15px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cbws-hero-slider .owl-dot span, .cbws-hero-slider .owl-nav button { transition: none; }
}

/* ==========================================================================
   Mobile Footer & Text Justification Enhancements (<= 767px & <= 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .cbws-choose-content-con p,
  .cbws-direct-enquiry .cbws-enquiry-copy,
  #contact .cbws-enquiry-copy,
  #contactpage p,
  #enquiry-guide .cbws-heading-title-con p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

@media (max-width: 767px) {
  /* Footer container padding: gives room above the floating app dock */
  .cbws-footer-con {
    padding-top: 36px !important;
    padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .cbws-footer-con .cbws-cta-con {
    padding-bottom: 24px !important;
  }

  .cbws-footer-con .cbws-cta-con h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  .cbws-footer-con .cbws-cta-content-con {
    text-align: center !important;
  }

  .cbws-footer-con .cbws-cta-content-con p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }

  .cbws-footer-con .cbws-middle_portion {
    padding: 24px 0 16px !important;
  }


  /* Two-column quick links side by side */
  .cbws-footer-con .cbws-links {
    text-align: left !important;
    padding-left: 15px !important;
    margin-bottom: 16px !important;
  }

  .cbws-footer-con .cbws-links ul li {
    margin-bottom: 8px !important;
  }

  .cbws-footer-con .cbws-links ul li a {
    font-size: 15px !important;
    color: #e0f2fe !important;
    transition: color 0.2s ease;
  }

  .cbws-footer-con .cbws-links ul li a:hover {
    color: #00b8ef !important;
  }

  /* Contact and Location on mobile */
  .cbws-footer-con .cbws-contact,
  .cbws-footer-con .cbws-icon {
    text-align: center !important;
    margin-top: 14px !important;
  }

  .cbws-footer-con .cbws-footer-info-text {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #00b8ef !important;
    margin-bottom: 3px !important;
    display: block !important;
  }

  .cbws-footer-con .cbws-contact a,
  .cbws-footer-con .cbws-icon a {
    font-size: 15px !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  /* Copyright text without underline on CodeBitel */
  .cbws-footer-con .cbws-copyright-con {
    padding: 18px 12px 10px !important;
    margin-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .cbws-footer-con .cbws-copyright-con p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
  }

  .cbws-footer-con .cbws-copyright-con a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .cbws-footer-con .cbws-copyright-con a:hover {
    color: #00b8ef !important;
    text-decoration: none !important;
  }
}

/* FAQ questions sit at card-title size on every page. */
.cbws-faq-con .cbws-accordion-card .btn-link .cbws-text-size-26,
.cbws-faq-con .cbws-accordion-card:has(.show) .btn-link .cbws-text-size-26 {
  font-size: var(--bw-type-card-title);
  line-height: 1.35;
}

/* ==========================================================================
   Visual review pass: inner-page banners, intro layout, unique section styles
   ========================================================================== */

/* Inner-page banner: centered subtitle (no side rule) and readable breadcrumb. */
.cbws-sub-banner-con .cbws-banner-inner-con > p {
  max-width: 680px;
  margin: 0 auto 28px;
  padding: 0;
  text-align: center;
}

.cbws-sub-banner-con .cbws-banner-inner-con > p::before {
  display: none;
}

.cbws-sub-banner-con .breadcrumb-item a {
  color: #ffffff;
}

.cbws-sub-banner-con .breadcrumb-item a:hover {
  color: var(--bw-color-eyebrow-on-dark);
}

.cbws-sub-banner-con .breadcrumb-item.active {
  color: var(--bw-color-eyebrow-on-dark);
}

/* Intro (heritage / services) section: rounded panel, breathing room, aligned columns. */
.cbws-home-about-con {
  border-radius: 30px;
  padding-inline: var(--bw-space-gutter);
}

.cbws-home-about-con .container {
  max-width: 1240px;
  padding-inline: 0;
}

.cbws-home-about-con .row.align-items-center {
  align-items: flex-start !important;
  --bs-gutter-x: clamp(32px, 5vw, 72px);
  margin-inline: calc(var(--bs-gutter-x) / -2);
}

.cbws-home-about-con .row.align-items-center > [class*="col-"] {
  padding-inline: calc(var(--bs-gutter-x) / 2);
}

@media (min-width: 992px) {
  .cbws-home-about-visual {
    position: sticky;
    top: 110px;
    padding: 0 0 22px;
  }

  .cbws-home-about-photo {
    height: clamp(420px, 40vw, 560px);
  }

  .cbws-home-about-copy {
    max-width: none;
    padding-left: 0;
  }

  .cbws-home-about-copy p {
    max-width: 64ch;
  }
}

.cbws-home-about-visual::before {
  right: -10px;
  top: -12px;
}

/* About: "Why choose" without the photo, centered heading above three cards. */
.cbws-why-centered {
  margin-bottom: var(--bw-space-heading);
}

.cbws-why-centered .cbws-heading-title-con {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

/* Core capabilities: white panel, numbered cards with a filled navy icon. */
.cbws-capabilities-con {
  background: #ffffff;
  border: 1px solid #d8e7f1;
}

.cbws-capabilities-con .row {
  counter-reset: capability;
}

.cbws-capabilities-con .cbws-feature-box {
  counter-increment: capability;
  overflow: hidden;
  border: 1px solid #d8e7f1;
  border-radius: 14px;
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 60%);
  box-shadow: none;
}

.cbws-capabilities-con .cbws-feature-box::after {
  position: absolute;
  top: 14px;
  right: 22px;
  content: "0" counter(capability);
  color: rgb(8 121 201 / 14%);
  font-family: var(--bw-font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.cbws-capabilities-con .cbws-feature-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #062b63;
  color: #ffffff;
}

.cbws-capabilities-con .cbws-feature-box:hover {
  border-color: #0879c9;
  box-shadow: 0 16px 36px rgb(6 43 99 / 12%);
}

.cbws-capabilities-con .cbws-feature-box:hover .cbws-feature-icon-badge {
  background: #0879c9;
}

/* How sourcing works: an open stepper (circle icons on a dashed route) instead of boxed cards. */
.cbws-home-process-con .cbws-step-card,
#process .cbws-step-card {
  align-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  overflow: visible;
}

.cbws-home-process-con .cbws-step-card:hover,
#process .cbws-step-card:hover {
  transform: none;
  box-shadow: none;
}

.cbws-home-process-con .cbws-step-top,
#process .cbws-step-top {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px !important;
}

.cbws-home-process-con .cbws-step-icon,
#process .cbws-step-icon {
  order: 1;
  flex: none;
  width: 84px;
  height: 84px;
  margin-bottom: 0;
  border: 6px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0879c9, #062b63);
  box-shadow: 0 10px 26px rgb(6 43 99 / 22%);
  color: #ffffff;
  font-size: 28px;
}

.cbws-home-process-con .cbws-step-badge,
#process .cbws-step-badge {
  order: 2;
  background: #ffffff;
  color: #0879c9;
  border: 1px solid #b8d7e8;
}

.cbws-home-process-con .cbws-step-card:hover .cbws-step-icon,
#process .cbws-step-card:hover .cbws-step-icon {
  background: linear-gradient(135deg, #00b8ef, #0879c9);
}

.cbws-home-process-con .cbws-step-card:hover .cbws-step-badge,
#process .cbws-step-card:hover .cbws-step-badge {
  background: #062b63;
  border-color: #062b63;
  color: #ffffff;
}

.cbws-home-process-con .cbws-step-card p,
#process .cbws-step-card p {
  max-width: 34ch;
}

@media (min-width: 992px) {.cbws-home-process-con .row > [class*="col-"]:not(:last-child) .cbws-step-card::after,
#process .row > [class*="col-"]:not(:last-child) .cbws-step-card::after {
    position: absolute;
    top: 67px; /* card padding (26px) + half the 84px icon, minus half the 2px line */
    left: calc(50% + 62px);
    width: calc(100% - 94px);
    border-top: 2px dashed #8fbfe0;
    content: "";
  }
}

/* Contact form: comfortable textarea, balanced submit row. */
.cbws-contact-form textarea {
  min-height: 150px;
  padding: 16px 18px;
  line-height: 1.5;
}

.cbws-contact-form .cbws-submit-btn {
  margin-right: 16px;
  padding-inline: 28px;
}

.cbws-contact-form .cbws-small-text {
  font-size: var(--bw-type-small);
  line-height: 1.5;
  opacity: 0.85;
}

/* Buttons keep their padding even when written as bare links. */
a.cbws-primary_btn,
a.cbws-secondary_btn,
button.cbws-primary_btn {
  display: inline-block;
  text-align: center;
}

/* Contact form fields share one size; the textarea gets real line spacing. */
.cbws-contact-form ul li select,
.cbws-contact-form ul li input {
  font-size: 16px;
  line-height: 1.3;
}

.cbws-contact-form ul li textarea {
  height: auto;
  min-height: 150px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.5;
}

/* FAQ questions never run under the toggle icon. */
.cbws-faq-con .cbws-accordion-card a.btn.btn-link {
  padding-right: 88px;
}

/* Short intro copy (home) stays vertically centered beside a smaller photo. */
.cbws-home-about-con .row.align-items-center.cbws-align-center {
  align-items: center !important;
}

.cbws-align-center .cbws-home-about-photo {
  height: clamp(300px, 30vw, 400px);
}

.cbws-align-center .cbws-home-about-visual {
  position: relative;
  top: auto;
}

/* Intro copy is left-aligned and never hyphen-broken. */
.cbws-home-about-copy p {
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Long button labels keep breathing room; short labels still use the 179px minimum width. */
.cbws-primary_btn,
.cbws-secondary_btn,
.cbws-track-btn {
  padding-inline: 24px;
}

/* One button spec sitewide: 58px tall, 10px radius, 15px bold, 24px side padding, 179px minimum width. */
.cbws-primary_btn,
.cbws-secondary_btn,
.cbws-track-btn {
  min-width: 179px;
  border-radius: 10px;
  font-size: var(--bw-type-action);
  font-weight: 700;
  padding-inline: 24px;
}

/* The light "call us" button matches the same height and radius. */
.cbws-enquiry-phone-btn {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 10px;
}

/* ==========================================================================
   Books gallery + lightbox
   ========================================================================== */
.cbws-books-gallery {
  background: #ffffff;
  border: 1px solid #d8e7f1;
}

.cbws-book-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 0;
}

.cbws-book-item {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
}

.cbws-book-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8e7f1;
  border-radius: 14px;
  background: #eef5fa;
  box-shadow: 0 8px 24px rgb(6 43 99 / 8%);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cbws-book-card:hover,
.cbws-book-card:focus-visible {
  border-color: #0879c9;
  box-shadow: 0 18px 40px rgb(6 43 99 / 18%);
  transform: translateY(-4px);
}

.cbws-book-card:focus-visible {
  outline: 3px solid #00b8ef;
  outline-offset: 3px;
}

/* The whole cover is always visible: contain, never crop. */
.cbws-book-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Very light caption overlay: a soft navy fade only behind the text. */
.cbws-book-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 34px 14px 12px;
  background: linear-gradient(to top, rgb(6 43 99 / 90%) 0%, rgb(6 43 99 / 62%) 50%, rgb(6 43 99 / 0%) 100%);
  color: #ffffff;
  text-align: left;
  text-shadow: 0 1px 2px rgb(0 0 0 / 35%);
  pointer-events: none;
}

.cbws-book-caption strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--bw-font-heading);
  font-size: var(--bw-type-small);
  font-weight: 700;
  line-height: 1.25;
}

.cbws-book-caption small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgb(255 255 255 / 85%);
  font-size: 12px;
  line-height: 1.3;
}

.cbws-book-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: #062b63;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cbws-book-card:hover .cbws-book-zoom,
.cbws-book-card:focus-visible .cbws-book-zoom {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 991px) {
  .cbws-book-grid { gap: 18px; }
  .cbws-book-item { flex-basis: calc((100% - 36px) / 3); }
}

@media (max-width: 575px) {
  .cbws-book-grid { gap: 12px; }
  .cbws-book-item { flex-basis: calc((100% - 12px) / 2); }
  .cbws-book-caption { padding: 26px 10px 9px; }
  .cbws-book-caption strong { font-size: 12px; }
  .cbws-book-caption small { font-size: 11px; }
  .cbws-book-zoom { opacity: 1; transform: none; width: 30px; height: 30px; }
}

/* Lightbox */
.cbws-lightbox-open {
  overflow: hidden;
}

.cbws-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
  background: rgb(4 24 56 / 92%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cbws-lightbox[hidden] {
  display: none;
}

.cbws-lightbox.is-open {
  opacity: 1;
}

.cbws-lightbox-figure {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.cbws-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 50%);
  transition: opacity 0.2s ease;
}

.cbws-lightbox-img.is-loading {
  opacity: 0.35;
}

.cbws-lightbox-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #ffffff;
  text-align: center;
}

.cbws-lightbox-caption strong {
  font-family: var(--bw-font-heading);
  font-size: var(--bw-type-title-sm);
  font-weight: 700;
  line-height: 1.3;
}

.cbws-lightbox-caption span {
  color: rgb(255 255 255 / 80%);
  font-size: var(--bw-type-small);
}

.cbws-lightbox-btn {
  position: absolute;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 14%);
  color: #ffffff;
  font-size: 18px;
  transition: background-color 0.2s ease;
}

.cbws-lightbox-btn:hover,
.cbws-lightbox-btn:focus-visible {
  background: #0879c9;
  outline: none;
}

.cbws-lightbox-btn:focus-visible {
  box-shadow: 0 0 0 3px #00b8ef;
}

.cbws-lightbox-close { top: 18px; right: 18px; }
.cbws-lightbox-prev { top: 50%; left: 14px; transform: translateY(-50%); }
.cbws-lightbox-next { top: 50%; right: 14px; transform: translateY(-50%); }

@media (max-width: 575px) {
  .cbws-lightbox { padding: 64px 12px 24px; }
  .cbws-lightbox-img { max-height: calc(100vh - 190px); }
  .cbws-lightbox-prev, .cbws-lightbox-next { top: auto; bottom: 14px; transform: none; }
  .cbws-lightbox-prev { left: calc(50% - 60px); }
  .cbws-lightbox-next { right: calc(50% - 60px); }
}

/* The intro row must be as wide as its negative margins imply, otherwise all copy
   loses the right-hand gutter (content sat 20px from the left, 52px from the right). */
.cbws-home-about-con .row.align-items-center {
  width: auto;
  max-width: none;
}

/* Lenis owns smooth scrolling, so native smooth-scroll must not fight it. */
html.lenis,
html.lenis body {
  scroll-behavior: auto !important;
}

@media (max-width: 767px) {
  .cbws-home-about-visual {
    max-width: none;
    padding: 0 0 20px;
  }

  .cbws-home-about-visual::before {
    right: -8px;
  }
}

/* When two buttons wrap onto separate lines on a phone, keep one consistent 14px gap between them. */
@media (max-width: 575px) {
  .cbws-primary_btn:has(+ a),
  .cbws-secondary_btn:has(+ a),
  .cbws-track-btn:has(+ a) {
    margin-bottom: 0 !important;
  }

  .cbws-primary_btn + .cbws-secondary_btn,
  .cbws-primary_btn + .cbws-enquiry-phone-btn,
  .cbws-secondary_btn + .cbws-primary_btn,
  .cbws-primary_btn + .cbws-primary_btn {
    margin-top: 14px !important;
  }

  /* The call button sits in a flex-wrap row beside the blue button. */
  .d-flex.flex-wrap > .cbws-primary_btn + .cbws-enquiry-phone-btn {
    margin-top: 14px !important;
  }
}

/* Floating WhatsApp Button Sitewide */
.cbws-floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cbws-floating-whatsapp:hover {
  background-color: #20ba5a;
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

.cbws-floating-whatsapp:active {
  transform: scale(0.95);
}

@media (max-width: 767px) {
  .cbws-floating-whatsapp {
    bottom: 74px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 26px;
    box-shadow: 0 3px 14px rgba(37, 211, 102, 0.4);
  }
}

