/* ==========================================================================
   Validation Lifecycle Section � validation-lifecycle.css
   "Solutions Across the Validation Lifecycle"
   Hub-and-spoke card diagram with dashed connector lines.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section wrapper
   -------------------------------------------------------------------------- */


.validation-lifecycle-section.has-center-application {
  padding: 100px 0 260px
}

.validation-lifecycle-section {
  /* light-blue page background */
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   Section header
   -------------------------------------------------------------------------- */
.vlc-header {
  margin-bottom: 56px;
}

/* Small label above the heading (inherits .subheading styles from global.css) */
.vlc-label {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary-blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vlc-heading {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  color: var(--color-text-black);
  margin-bottom: 16px;
}

.vlc-description {
  font-size: 16px;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.vlc-hub__label {
  color: #FFF;
  text-align: center;
  font-family: var(--font-montserrat);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 40.8px */
}

/* --------------------------------------------------------------------------
   Diagram layout  � three-column grid: left | centre | right
   -------------------------------------------------------------------------- */
.vlc-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 60px;
  position: relative;
  /* anchors the SVG overlay */
}

.vlc-col,
.vlc-card,
.vlc-hub {
  position: relative;
  z-index: 1;
  /* keep content above the connector lines */
}

.vlc-col--right,
.vlc-col--left {
  display: flex;
  flex-direction: row;
  gap: 70px;
}

.vlc-col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 57px;
}

.validation-lifecycle-section.has-center-application .vlc-hub:after {
  content: '';
  background-image: url('https://media.prodigytechno.com/wp-content/uploads/2026/07/21165456/Vector-16-1.svg');
  width: 1px;
  height: 40%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  top: 100%;
}

.vlc-diagram:before {
  content: '';
  background-image: url('https://media.prodigytechno.com/wp-content/uploads/2026/07/17131020/Vector-12.svg');
  background-position: center;
  background-size: auto;
  height: 1px;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

/* Hub - now text-first, image optional */
.vlc-hub {
  text-align: center;
  position: relative;
}

.product-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vlc-hub__icon {
  width: 40px;
  margin: 0 auto 12px;
}

.vlc-hub__icon img {
  width: 100%;
  height: auto;
}

/* Mobile block hidden on desktop by default */
.vlc-mobile {
  display: none;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.vlc-cards-grid {
  column-count: 2;
  column-gap: 16px;
  column-fill: auto;
  /* fills col 1 top-to-bottom, then col 2 */
}

.vlc-cards-grid .vlc-card {
  break-inside: avoid;
  /* prevents a card from being split across columns */
  margin-bottom: 16px;
  display: inline-block;
  /* required for column-count to work correctly */
  width: 100%;
}

/* Left cards: card first then the connector line going right */
.vlc-card--left {
  flex-direction: row;
}

.vlc-cards-col--a,
.vlc-cards-col--b {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 70px;
  flex: 1;
}

.vlc-col--left .vlc-cards-col--a,
.vlc-col--right .vlc-cards-col--b,
.vlc-col--left .vlc-cards-col.vlc-cards-col--a:after,
.vlc-col--right .vlc-cards-col.vlc-cards-col--b:before {
  background: #f1f7ff;
}

.vlc-col--left .vlc-cards-col.vlc-cards-col--a:after,
.vlc-col--left .vlc-cards-col.vlc-cards-col--b:after {
  content: '';
  background-image: url('https://media.prodigytechno.com/wp-content/uploads/2026/07/17130959/Vector-16.svg');
  position: absolute;
  height: 62%;
  width: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  top: 101px;
  right: -42px;
  z-index: -1;
}

.vlc-col--right .vlc-cards-col.vlc-cards-col--a:before,
.vlc-col--right .vlc-cards-col.vlc-cards-col--b:before {
  content: '';
  background-image: url('https://media.prodigytechno.com/wp-content/uploads/2026/07/17130956/Vector-17.svg');
  position: absolute;
  height: 62%;
  width: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  top: 101px;
  left: -42px;
  z-index: -1;
}

/* Right cards: connector line first then the card */
.vlc-card--right {
  flex-direction: row;
}

.vlc-card__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #d5e7ff;
  padding: 10px;
  gap: 10px;
  text-decoration: none;
  cursor: default;
  width: 100%;
}

a.vlc-card__inner {
  cursor: pointer;
}

.vlc-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaf1fa;
}

.vlc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vlc-card__title {
  font-family: var(--font-montserrat);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #00326c;
  margin: 0;
  background: white;
  padding: 12px;
  width: 100%;
  clip-path: polygon(0px 0%,
      calc(100% - 15px) 0%,
      100% 15px,
      100% calc(100% - 0px),
      calc(100% - 0px) 100%,
      0px 100%,
      0% calc(100% - 0px),
      0% 0px) !important;
}

/* --------------------------------------------------------------------------
   Bottom cards (below hub, in centre column)
   -------------------------------------------------------------------------- */
.vlc-bottom-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.vlc-card.vlc-card--center {
  margin-bottom: -290px;
}

/* Application Workflow  */

.application-workflow-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(222, 235, 255, 0.80) 0%, rgba(222, 235, 255, 0.00) 83.25%);
}

.application-workflow-section .insights-header {
  margin-bottom: 0;
}

.awf-workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 80px 0px;
  border-bottom: solid 1px #CCD9EB;
}

.awf-gallery__main {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.awf-gallery .pg-main {
  /* clip-path: none !important; */
  background: rgb(220 236 255);
}

/* .awf-gallery .pg-zoom-trigger {
  padding: 0;
} */

.awf-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awf-gallery .pg-thumb__slide {
  height: auto;
  width: 25% !important;
  position: relative;
}

.awf-gallery .pg-thumb__slide.swiper-slide-thumb-active {
  border: 0;
  padding: 0;
}

.awf-gallery .pg-thumb__slide.swiper-slide-thumb-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Adjust overlay opacity */
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.awf-gallery .pg-thumb__slide:hover,
.awf-gallery .pg-thumb__slide:hover .pg-thumb__img {
  transform: none;
  opacity: 1;
}

.awf-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.awf-thumb {
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
  width: 90px;
  height: 64px;
  flex-shrink: 0;
}

.awf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awf-thumb.is-active {
  border-color: var(--color-secondary-blue, #1f6fd6);
}

.awf-content__title {
  font-family: var(--font-montserrat);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 16px;
}

.awf-content__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-black);
  ;
}

.awf-content__desc h4,
.awf-content__desc strong {
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.awf-content__desc ul {
  margin: 8px 0 20px;
  padding-left: 20px;
}

.awf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.awf-link-btn {
  display: flex;
  padding: 10px 18px;
  border-radius: 0px;
  border: 1px solid #0055B8;
  background: #DDEDFF;
  color: #00326C !important;
  font-size: 14px;
  font-weight: 500;
  /* line-height: 1.3; */
  transition: 0.3s all;
  gap: 9px;
  align-items: center;
}

.awf-link-btn img {
  width: 20px;
}

.awf-link-btn:hover,
.awf-link-btn:hover svg path {
  color: #0055B8 !important;
  fill: #0055B8;
}

.awf-link-btn:hover img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(99%) saturate(2798%) hue-rotate(205deg) brightness(94%) contrast(101%);
}

.btnsec .btn.primary.landing-product span {
  padding: 18px 50px;
  font-size: 16px;
}

.btnsec .btn.primary.landing-product:hover {
  padding-left: 4.5em;
}

.btnsec .btn.primary.landing-product {
  padding-right: 4.5em;
}

.awf-workflow:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.awf-link-btn:hover .awf-link-btn__arrow-track {
    transform: translateX(0px);
}

.awf-link-btn__arrow {
  display: inline-block;
  width: 7px;
  height: 12px;
  overflow: hidden;
  vertical-align: middle;
}

.awf-link-btn__arrow-track {
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-13px);
    transition: transform 0.3s ease;
}
svg.awf-link-btn__arrow-icon{
  flex: 0 0 7px;
    width: 7px;
    height: 12px;
}

.validation-lifecycle-section .swiper-button-next svg path, 
.validation-lifecycle-section .swiper-button-prev svg path{
  fill: var(--color-secondary-blue);
}

@media (min-width:1820px) {
  .vlc-diagram {
    gap: 0 90px;
  }

  .vlc-card__title {
    font-size: 18px;
  }

  .vlc-col--right,
  .vlc-col--left {
    gap: 100px;
  }

  .vlc-hub__label {
    font-size: 34px;
  }

  .awf-content__title {
    font-size: 28px;
  }

  .awf-link-btn {
    font-size: 16px;
  }

  .btnsec .btn.primary.landing-product {
    padding-right: 3.7em;
  }

  .btnsec .btn.primary.landing-product:hover {
    padding-left: 3.7em;
  }
}

@media (min-width: 1191px) {
  .vlc-mobile {
    display: none;
  }
}

@media(max-width:1400px) {
  .validation-lifecycle-section .prodigy_container {
    padding: 0px 4vw;
  }
}

@media(max-width:1366px) {

  .vlc-col--right,
  .vlc-col--left {
    gap: 35px;
  }

  .vlc-col--left .vlc-cards-col.vlc-cards-col--a:after,
  .vlc-col--left .vlc-cards-col.vlc-cards-col--b:after {
    right: -20px;
  }

  .vlc-col--right .vlc-cards-col.vlc-cards-col--a:before,
  .vlc-col--right .vlc-cards-col.vlc-cards-col--b:before {
    left: -20px;
  }

  .vlc-diagram {
    gap: 0 45px;
  }
}

@media(max-width:1280px) {
  .vlc-hub__label {
    font-size: 20px;
  }
}

@media(max-width:1190px) {

  /* Hide connector lines on mobile */
  .vlc-line,
  .vlc-card.vlc-card--center {
    display: none;
  }

  .validation-lifecycle-section {
    padding-bottom: 90px;
  }

  .vlc-card {
    flex-direction: column;
  }

  .vlc-bottom-cards {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
  }

  .vlc-diagram {
    display: none;
  }

  /* SVG lines aren't drawn here anyway */
  .vlc-mobile {
    display: block;
  }

  .vlc-hub--mobile {
    width: 80%;
    margin: 30px auto;
  }

  .vlc-hub--mobile::after {
    content: '';
    background-image: url('https://media.prodigytechno.com/wp-content/uploads/2026/07/21165456/Vector-16-1.svg');
    width: 1px;
    height: 20%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    top: 100%;
  }

  .vlc-swiper {
    padding-bottom: 25px;
    overflow: visible;
  }

  .vlc-swiper .swiper-slide {
    width: 78%;
    height: auto;
  }

  .vlc-swiper .swiper-slide .vlc-card__inner {
    width: 100%;
  }

  .vlc-swiper .swiper-pagination {
    bottom: 0;
  }
}

@media(max-width:1080px) {
  .awf-workflow {
    grid-template-columns: 1fr;
  }

  .awf-gallery .pg-thumb__slide .pg-thumb__img {
    height: auto;
  }
}

@media(max-width:880px) {
  .awf-workflow {
    padding: 50px 0px;
  }
}

/* --------------------------------------------------------------------------
   Responsive � Mobile  (= 768px)
   Stack: header ? hub ? left cards ? right cards ? bottom cards
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .validation-lifecycle-section {
    padding: 56px 0 64px;
  }
  .application-workflow-section{
    padding: 56px 0px 70px
  }

  .vlc-header {
    margin-bottom: 36px;
  }

  /* On mobile show hub first */
  .vlc-col--center {
    order: 1;
  }

  .vlc-col--left {
    order: 2;
  }

  .vlc-col--right {
    order: 3;
  }

  /* Column layout: scrollable horizontal on mobile */
  .vlc-col--left,
  .vlc-col--right {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
  }

  .btnsec .btn.primary.landing-product span {
    padding: 12px 25px;
  }

  .btnsec .btn.primary.landing-product {
    padding-right: 3.5em;
  }

  .btnsec .btn.primary.landing-product:hover {
    padding-left: 3.5em;
  }
}

/* Tighten column gaps a bit on tablet so lines have room */
@media (max-width: 1024px) and (min-width: 769px) {
  .vlc-diagram {
    gap: 0 16px;
  }
}

/* --------------------------------------------------------------------------
   Responsive � Small mobile  (= 480px)