/* ==========================================
   Service Main Page
   ========================================== */

.service-main-listing-section {
  padding: 90px 0;
  background: #ffffff;
}

.service-main-listing-head {
  margin-bottom: 48px;
}

.service-main-listing-title {
  font-family: var(--ns-font);
  font-size: 34px;
  font-weight: 700;
  color: #12281e;
  margin-bottom: 12px;
}

.service-main-listing-subtitle {
  font-size: 15.5px;
  color: #55655c;
  max-width: 640px;
  margin: 0 auto;
}

.service-main-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-main-listing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f7fbf9;
  border: 1px solid #e4efe8;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-main-listing-card:hover {
  transform: translateY(-6px);
  border-color: #7fd4a8;
  box-shadow: 0 24px 48px rgba(0, 107, 63, 0.14);
}

.service-main-listing-card-number {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--ns-font);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 107, 63, 0.08);
  pointer-events: none;
}

.service-main-listing-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #d6f0e3 0%, #2b7a78 55%, #064e3b 100%);
}

.service-main-listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-main-listing-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
}

.service-main-listing-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-main-listing-card-title {
  font-family: var(--ns-font);
  font-size: 19px;
  font-weight: 700;
  color: #064e3b;
  margin: 0;
}

.service-main-listing-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: #5d6d64;
  margin: 0;
  flex: 1;
}

.service-main-listing-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #006b3f;
  letter-spacing: 0.04em;
}

/* Why choose infographic */
.service-main-page-why-choose {
  padding: 90px 0 100px;
  background: #fbf7ee;
}

.service-main-page-why-choose-head {
  margin-bottom: 48px;
}

.service-main-page-why-choose-title {
  font-family: var(--ns-font);
  font-size: 34px;
  font-weight: 700;
  color: #12281e;
  margin-bottom: 12px;
}

.service-main-page-why-choose-subtitle {
  font-size: 15.5px;
  color: #55655c;
  max-width: 640px;
  margin: 0 auto;
}

.service-main-page-why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.service-main-page-why-choose-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--step-color);
  border-radius: 24px;
  padding: 34px 28px 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-main-page-why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

.service-main-page-why-choose-number {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--ns-font);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--step-color);
  opacity: 0.18;
  pointer-events: none;
}

.service-main-page-why-choose-pocket {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid var(--step-color);
  display: grid;
  place-items: center;
  color: var(--step-color);
  background: #ffffff;
  margin-bottom: 18px;
  position: relative;
}

.service-main-page-why-choose-pocket::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--step-color);
  opacity: 0.35;
}

.service-main-page-why-choose-icon svg {
  width: 26px;
  height: 26px;
}

.service-main-page-why-choose-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--step-color);
  margin-bottom: 8px;
}

.service-main-page-why-choose-card-title {
  font-family: var(--ns-font);
  font-size: 20px;
  font-weight: 700;
  color: #12281e;
  margin: 0 0 8px;
}

.service-main-page-why-choose-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: #5d6d64;
  margin: 0;
}

.service-main-page-why-choose-dots {
  display: block;
  margin-top: 16px;
  height: 1px;
  background-image: linear-gradient(90deg, var(--step-color) 40%, transparent 0);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  opacity: 0.5;
}

@media (max-width: 991.98px) {
  .service-main-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .service-main-listing-grid,
  .service-main-page-why-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* Delivery process */
.service-main-page-delivery-process-section {
  padding: 90px 0 100px;
  background: #ffffff;
}

.delivery-process {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.delivery-process-wheel {
  flex: 0 0 360px;
  max-width: 360px;
}

.delivery-process-svg {
  width: 100%;
  height: auto;
  display: block;
}

.delivery-process-content {
  position: relative;
  flex: 1;
  min-height: 400px;
}

.delivery-process-row {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 60px;
}

.delivery-process-row-node {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  border: 2px solid #111111;
  background: #ffffff;
  position: relative;
}

.delivery-process-row-node::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 40px;
  height: 1px;
  border-top: 2px dotted #111111;
  transform: translateY(-50%);
}

.delivery-process-row-num {
  flex: 0 0 auto;
  font-family: var(--ns-font);
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.08em;
}

.delivery-process-row-body {
  flex: 1;
}

.delivery-process-row-title {
  font-family: var(--ns-font);
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 4px;
  letter-spacing: 0.06em;
}

.delivery-process-row-text {
  font-size: 14px;
  line-height: 1.6;
  color: #55655c;
  margin: 0;
}

@media (max-width: 991.98px) {
  .delivery-process {
    flex-direction: column;
  }

  .delivery-process-wheel {
    flex: 0 0 auto;
    max-width: 320px;
    margin: 0 auto;
  }

  .delivery-process-content {
    position: static;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .delivery-process-row {
    position: static;
    top: auto !important;
  }

  .delivery-process-row-node::before {
    display: none;
  }
}

/* ==========================================
   Additional styles
   Loaded after the main theme stylesheets so it can
   layer new sections and tweaks on top of the core CSS.
   ========================================== */

p {
  font-size: 16px;
}

@media (max-width: 767.98px) {
  .web-logo {
    display: flex;
    align-items: center;
    margin: 15px auto;
    max-width: 43%;
  }

  .hm-section.hm-industries {
    padding: 24px 0;
  }
  .hm-section.hm-industries .hm-ind-item {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .hm-section.hm-industries .hm-ind-item:active {
    transform: scale(0.98);
  }
}

/* Contact page */
.cardcontact {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.contact-section .bg-default {
  background-color: #eef7f2;
  color: #006b3f;
}

.current-menu-item a {
  color: var(--hightlight-color) !important;
  background: linear-gradient(180deg, #164D34 0%, #217E52 100%);
  color: #fff !important;
  border-radius: 25px;
}

.socials a {
  font-size: 20px !important;
}

.bg-light {
  /* background-color: #f8f9fa !important; */
}

.insight-hero a:hover,
.insight-role-card:hover .insight-role-card-label,
.insight-topics a:hover,
.insight-featured a:hover,
.insight-formats a:hover,
.insight-cta-copy a:hover,
.entry-content a:hover,
.page-content a:hover {
  color: #7fd4a8;
}

.insight-role-card-text {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #343434;
}

@media (max-width: 767.98px) {
  .footer-top > div:not(.footer-brand) {
    display: none;
  }
}

@media (max-width: 860px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}

.allsection {
  padding: 120px 0px;
}

@media (max-width: 767.98px) {
  .allsection {
    padding: 40px 0px;
  }
}

@media (max-width: 767.98px) {
  .solution-faq-section .hm-wm.bottom {
    bottom: 75px;
    right: 0px;
    font-size: 220px;
    left: auto;
    display: none;
  }
}

@media (max-width: 767.98px) {
  section.about-cta {
    display: block;
    justify-content: space-between;
  }
}

.hm-sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  padding: 26px 24px 24px;
  min-height: 350px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff !important;
  text-decoration: none;
  background-color: #059941;
}

.top-header .container {
  width: 1520px;
  max-width: 100%;
}

@media (max-width: 1520px) {
  .top-header .container {
    width: 100%;
    max-width: 100%;
  }
}

/* Talk to Consultant CTA in header menu */
.navbar-nav > li:last-child {
  margin-left: auto;
}

.navbar-nav > li:last-child > a {
  background: linear-gradient(180deg, #164D34 0%, #217E52 100%);
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 35px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 25px;
  font-size: 14px;
}

.navbar-nav > li:last-child > a::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMC42MDAwOTggOS42TDkuNjAwMSAwLjU5OTk5OE05LjYwMDEgOC43VjAuNTk5OTk4SDEuNTAwMSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  width: 100%;
}

/* Global link hover */
a:hover {
  color: #7fd4a8;
}

/* ==========================================
   Hero actions (industry hero)
   ========================================== */
.industry-hero-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.industry-hero-section .hero-actions .btn-primary,
.industry-hero-section .hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease;
}

.industry-hero-section .hero-actions .btn-primary {
  background: #006b3f;
  color: #ffffff;
  border: 1px solid #006b3f;
  box-shadow: 0 14px 28px rgba(0, 107, 63, 0.24);
}

.industry-hero-section .hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  background: #005630;
  border-color: #005630;
  color: #7fd4a8;
  box-shadow: 0 18px 34px rgba(0, 86, 48, 0.3);
}

.industry-hero-section .hero-actions .btn-secondary {
  background: #ffffff;
  color: #064e3b;
  border: 1px solid #bcdccc;
  box-shadow: 0 10px 24px rgba(6, 78, 59, 0.08);
}

.industry-hero-section .hero-actions .btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #7fd4a8;
  color: #064e3b;
  background: #f4fbf7;
  box-shadow: 0 16px 30px rgba(6, 78, 59, 0.12);
}

/* ==========================================
   Service blueprint - the creative band under the hero
   ========================================== */
.service-blueprint-section-title {
  margin: 0 0 32px;
  font-family: var(--ns-font);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #12281e;
  text-align: center;
  margin-bottom: 45px !important;
}

.service-blueprint-section-text {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.8;
  color: #55655c;
}

.service-blueprint {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
  background: linear-gradient(160deg, #f4fbf7 0%, #ffffff 55%, #f7fbf9 100%);
}

/* Dotted texture behind the band */
.service-blueprint-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 107, 63, 0.16) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
  mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
  pointer-events: none;
}

/* Soft emerald light in the corner */
.service-blueprint::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.16) 0%, rgba(0, 168, 107, 0) 68%);
  pointer-events: none;
}

.service-blueprint .container {
  position: relative;
  z-index: 1;
}

/* Intro column */
.service-blueprint-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid #c9e4d6;
  background: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #006b3f;
}

.service-blueprint-title {
  margin: 20px 0 16px;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #12281e;
}

.service-blueprint-text {
  margin: 0 0 26px;
  max-width: 420px;
  font-size: 15.5px;
  line-height: 1.8;
  color: #55655c;
}

.service-blueprint-text strong {
  color: #064e3b;
}

/* Cards */
.service-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-blueprint-card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 22px;
  border: 1px solid #e4efe8;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(16, 60, 40, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Staircase offset for the second column */
.service-blueprint-card:nth-child(even) {
  transform: translateY(30px);
}

.service-blueprint-card:hover {
  transform: translateY(-6px);
  border-color: #7fd4a8;
  box-shadow: 0 30px 60px rgba(0, 107, 63, 0.18);
  background: linear-gradient(160deg, #ffffff 0%, #f0faf5 100%);
}

.service-blueprint-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #006b3f, #00a86b, #7fd4a8);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-blueprint-card:hover::before {
  opacity: 1;
}

.service-blueprint-card:nth-child(even):hover {
  transform: translateY(24px);
}

/* Ghost number */
.service-blueprint-index {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 107, 63, 0.07);
  pointer-events: none;
  transition: color 0.25s ease;
}

.service-blueprint-card:hover .service-blueprint-index {
  color: rgba(0, 168, 107, 0.16);
}

.service-blueprint-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eef7f2;
  border: 1px solid #dcebe3;
  color: #006b3f;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.service-blueprint-card:hover .service-blueprint-icon {
  background: #006b3f;
  border-color: #006b3f;
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
}

.service-blueprint-card-title {
  position: relative;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #064e3b;
}

.service-blueprint-card-text {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5d6d64;
}

/* Dotted connector running through the cards */
.service-blueprint-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  right: -18px;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(0, 107, 63, 0.28) 40%, transparent 0);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  .service-blueprint-title {
    font-size: 34px;
  }
}

@media (max-width: 991.98px) {
  .service-blueprint {
    padding: 72px 0 84px;
  }

  .service-blueprint-title {
    font-size: 30px;
  }

  .service-blueprint-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-blueprint-card:nth-child(even) {
    transform: none;
  }

  .service-blueprint-card:nth-child(even):hover {
    transform: translateY(-4px);
  }

  .service-blueprint-grid::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .service-blueprint {
    padding: 56px 0 66px;
  }

  .service-blueprint-title {
    font-size: 26px;
  }

  .service-blueprint-card {
    padding: 24px 20px 22px;
  }

  .industry-hero-section .hero-actions .btn-primary,
  .industry-hero-section .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
