/* ============================================================
   DJIO Marine — sourcing / B2B sections (non-ecommerce)
   Scoped styles so the shared template CSS is untouched.
   ============================================================ */

.sourcing-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Hero ---------- */
.sourcing-hero {
  background: linear-gradient(135deg, #006ca5 0%, #0496c7 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.sourcing-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 12px;
}
.sourcing-hero__title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 auto 16px;
  max-width: 900px;
}
.sourcing-hero__text {
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: 0.95;
}

/* ---------- Action rows ---------- */
.sourcing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* ---------- Generic section ---------- */
.sourcing-section {
  padding: 64px 0;
  background: #fff;
}
.sourcing-section--alt {
  background: #f6fbfd;
}
.sourcing-heading {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  color: #0b2a3a;
  margin-bottom: 10px;
}
.sourcing-center {
  text-align: center;
}
.sourcing-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #4a5b66;
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}
.sourcing-section > .sourcing-container > .sourcing-heading.sourcing-center {
  margin-bottom: 36px;
}

/* ---------- Bands (CTA strips) ---------- */
.sourcing-band {
  padding: 60px 0;
  text-align: center;
}
.sourcing-band--light {
  background: #eaf7fa;
}
.sourcing-band--brand {
  background: linear-gradient(135deg, #006ca5 0%, #0496c7 100%);
}
.sourcing-band--brand .sourcing-heading,
.sourcing-band--brand .sourcing-sub {
  color: #fff;
}

/* ---------- CTA buttons ---------- */
.btn.btn-light-cta {
  background: #fff !important;
  color: #006ca5 !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 24px !important;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
}
.btn.btn-light-cta:hover {
  background: #f0f7fb !important;
  color: #006ca5 !important;
}
.btn.btn-light-cta.btn-arrow,
.btn.btn-ghost.btn-arrow {
  padding-right: 52px !important;
  position: relative;
  white-space: nowrap;
}
.btn.btn-light-cta.btn-arrow::after,
.btn.btn-ghost.btn-arrow::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 8px;
  background-image: url("../images/icons/arrow.svg");
  background-repeat: no-repeat;
  background-size: 20px 8px;
  background-position: center;
}
.btn.btn-light-cta.btn-arrow::after {
  filter: brightness(0) saturate(100%) invert(29%) sepia(84%) saturate(1300%) hue-rotate(177deg) brightness(92%) contrast(108%);
}
.btn.btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 6px;
  padding: 12px 24px !important;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}
.btn.btn-ghost.btn-arrow::after {
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  .sourcing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn.btn-light-cta,
  .btn.btn-ghost,
  .btn.btn-light-cta.btn-arrow,
  .btn.btn-ghost.btn-arrow {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding-right: 42px !important;
    white-space: normal;
  }
}

/* ---------- CTA hyperlinks ---------- */
a.cta-link,
a.link-arrow,
a[href].arrow-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-right: 26px;
  color: #006ca5;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a.cta-link:hover,
a.link-arrow:hover,
a[href].arrow-link:hover {
  opacity: 0.9;
}
a.cta-link::after,
a.link-arrow::after,
a[href].arrow-link::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("../images/icons/arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: inline-block;
}
a.cta-link i,
a.link-arrow i,
a[href].arrow-link i {
  display: none;
}

/* ---------- How it works (steps) ---------- */
.sourcing-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sourcing-step {
  background: #fff;
  border: 1px solid #e3eef3;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  position: relative;
}
.sourcing-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eaf7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.sourcing-step__icon img {
  width: 32px;
  height: 32px;
}
.sourcing-step__icon i {
  font-size: 28px;
  color: #006ca5;
  line-height: 1;
}
.sourcing-step__num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-weight: 700;
  color: #c3dde8;
  font-size: 22px;
}
.sourcing-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0b2a3a;
  margin-bottom: 6px;
}
.sourcing-step p {
  font-size: 14px;
  color: #5a6b76;
  margin: 0;
}

/* ---------- Why DJIO (features) ---------- */
.sourcing-grid--why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sourcing-feature {
  background: #fff;
  border: 1px solid #e3eef3;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}
.sourcing-feature .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eaf7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.sourcing-feature .icon img {
  width: 32px;
  height: 32px;
}
.sourcing-feature .icon i {
  font-size: 28px;
  color: #006ca5;
  line-height: 1;
}
.sourcing-feature h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0b2a3a;
  margin-bottom: 6px;
}
.sourcing-feature p {
  font-size: 14px;
  color: #5a6b76;
  margin: 0;
}

/* ---------- Industries tiles ---------- */
.sourcing-grid--industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sourcing-tile {
  background: #fff;
  border: 1px solid #e3eef3;
  border-radius: 10px;
  padding: 22px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sourcing-tile img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.sourcing-tile i {
  font-size: 24px;
  color: #006ca5;
  width: 34px;
  text-align: center;
  flex-shrink: 0;
}
.sourcing-tile span {
  font-weight: 600;
  color: #0b2a3a;
  font-size: 15px;
}

/* category "Explore Catalogue" spacing (section is py-0, so pad here) */
.slider-Category .sourcing-actions {
  margin-top: 28px;
  padding-bottom: 48px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .sourcing-steps,
  .sourcing-grid--why,
  .sourcing-grid--industries {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .sourcing-steps,
  .sourcing-grid--why,
  .sourcing-grid--industries {
    grid-template-columns: 1fr;
  }
  .sourcing-hero {
    padding: 48px 0;
  }
  .sourcing-eyebrow {
    font-size: 11px;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
  }
  .sourcing-hero__title {
    margin-bottom: 12px;
  }
  .sourcing-hero__text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .sourcing-section,
  .sourcing-band {
    padding: 40px 0;
  }
  .sourcing-actions {
    margin-top: 6px;
  }
  .sourcing-actions .btn {
    width: 100%;
  }
}

/* ---------- Header controls responsiveness ---------- */
@media (max-width: 1200px) {
  header .headmain .search-bar {
    max-width: 340px !important;
  }
}
@media (max-width: 1034px) and (min-width: 768px) {
  header .headmain .main-control .controlWidget {
    position: static !important;
    top: auto !important;
    right: auto !important;
  }
}
@media (max-width: 991px) {
  header .headmain .main-control .controlWidget .btn {
    height: 44px;
    padding: 8px 14px !important;
    font-size: 14px;
    min-width: auto;
  }
}
@media (max-width: 767px) {
  header .headmain .search-bar {
    max-width: 100% !important;
  }
  header .headmain .main-control {
    width: 100%;
  }
  header .headmain .main-control .controlWidget {
    justify-content: center !important;
  }
}
