/* ============================================================================
   Vishwabharti Project Services — Component Styles & Native Grids
   ============================================================================ */

/* Inner Page Title Banner & CTA Band */
.it-inner-page-title {
  background-color: var(--midnight-blue);
}
.it-inner-page-title .it-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 20, 42, 0.84) 0%, rgba(28, 34, 68, 0.68) 60%, rgba(7, 78, 185, 0.36) 100%);
  pointer-events: none;
}
.page-title-extra-large h1 {
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.1;
}
.page-title-extra-large h2 {
  font-size: 17px;
  line-height: 28px;
  margin: 0 auto;
}
.it-service-cta {
  background-color: var(--midnight-blue);
  background-image:
    radial-gradient(ellipse 65% 80% at 88% 20%, rgba(7, 78, 185, 0.36) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 85%, rgba(229, 91, 83, 0.2) 0%, transparent 60%);
}
.it-testimonial-backdrop {
  background: radial-gradient(ellipse 65% 55% at 50% 42%, rgba(7, 78, 185, 0.06) 0%, transparent 72%);
}

/* Shadows & Card Containers */
.box-shadow-large,
.box-shadow-large-hover:hover {
  box-shadow: 0 8px 28px rgba(37, 40, 64, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.box-shadow-extra-large {
  box-shadow: 0 14px 36px rgba(37, 40, 64, 0.1);
}
.box-shadow-quadruple-large,
.box-shadow-quadruple-large-hover:hover {
  box-shadow: 0 20px 60px rgba(37, 40, 64, 0.09);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.it-card-quadruple {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(37, 40, 64, 0.08);
  transition: transform 0.3s var(--vps-ease-out), box-shadow 0.3s ease;
}
.it-card-quadruple:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(37, 40, 64, 0.13);
}

/* Service & Feature Cards */
.services-box-style-03 .it-svc-thumb {
  aspect-ratio: 600 / 440;
  width: 100%;
  object-fit: cover;
  display: block;
}
.services-box-style-02 .box-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease;
}
.services-box-style-02.hover-box:hover .box-overlay {
  opacity: 0.92;
}
.feature-box {
  position: relative;
}
.feature-box-left-icon,
.feature-box-left-icon-middle {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}
.feature-box-left-icon-middle {
  align-items: center;
}
.feature-box-icon {
  flex-shrink: 0;
}
.feature-box-icon-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}
.feature-box-content {
  flex: 1 1 auto;
}
.feature-box-slider .feature-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 32px;
  background: var(--white);
  box-shadow: 0 5px 25px rgba(89, 101, 124, 0.14);
  border-radius: 10px;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 16px;
}
.feature-box-slider .feature-box i {
  font-size: 22px;
  margin-right: 10px;
}
.feature-box-slider .swiper-slide {
  width: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Process Timeline */
.process-step-style-05 .process-step-item {
  display: flex;
  position: relative;
  flex-flow: row wrap;
  align-items: stretch;
  text-align: left;
}
.process-step-style-05 .process-content {
  flex: 1;
  min-width: 0;
}
.process-step-style-05 .progress-step-separator {
  position: absolute;
  bottom: -10px;
  width: 1px;
  left: 50%;
  height: 100%;
  z-index: -1;
}
.process-step-style-05 .process-step-icon {
  transition: transform 0.3s var(--vps-ease-out);
}
.process-step-style-05:hover .process-step-icon {
  transform: scale(1.08);
}

/* Native CSS Grid Portfolio / Case Studies (Replaces Isotope) */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.portfolio-filter li {
  padding: 0 14px;
  line-height: 28px;
}
.portfolio-filter li:first-child {
  padding-left: 0;
}
.portfolio-filter li:last-child {
  padding-right: 0;
}
.portfolio-filter li a {
  color: var(--medium-gray);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  display: inline-block;
  font-weight: 500;
}
.portfolio-filter li:hover a,
.portfolio-filter li:focus-within a,
.portfolio-filter li.active a {
  color: var(--dark-gray);
  border-color: var(--dark-gray);
  font-weight: 600;
}
@media (max-width: 767px) {
  .portfolio-filter li {
    padding: 0 8px;
  }
}

.portfolio-wrapper.grid {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.portfolio-wrapper.grid.grid-4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.portfolio-wrapper.grid > li,
.portfolio-wrapper.grid .grid-item {
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  visibility: visible !important;
}
.portfolio-wrapper.grid .grid-sizer {
  display: none !important;
}
@media (max-width: 1399px) {
  .portfolio-wrapper.grid.xxl-grid-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1199px) {
  .portfolio-wrapper.grid.xl-grid-3col,
  .portfolio-wrapper.grid.lg-grid-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portfolio-wrapper.grid.xl-grid-4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .portfolio-wrapper.grid.md-grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .portfolio-wrapper.grid.sm-grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .portfolio-wrapper.grid.xs-grid-1col {
    grid-template-columns: minmax(0, 1fr);
  }
}

.portfolio-wrapper .grid-item.vps-grid-hidden {
  display: none !important;
}

.portfolio-modern .portfolio-box {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.portfolio-modern .portfolio-image img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--vps-ease-out);
}
.portfolio-modern .portfolio-box:hover .portfolio-image img {
  transform: scale(1.04);
}
.portfolio-modern .portfolio-box .portfolio-hover {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.35s var(--vps-ease-out);
  pointer-events: none;
}
.portfolio-modern .portfolio-box .portfolio-hover .me-auto {
  min-width: 0;
}
.portfolio-modern .portfolio-box:hover .portfolio-hover,
.portfolio-modern a:focus-visible .portfolio-box .portfolio-hover {
  opacity: 1;
  transform: translateY(0);
}

/* Accordion Style 02 */
.accordion-style-02 .accordion-item {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--extra-medium-gray);
}
.accordion-style-02 .accordion-item .accordion-header {
  margin-bottom: 0;
  padding: 15px 0;
}
.accordion-style-02 .accordion-item .accordion-header .accordion-title {
  position: relative;
  padding-right: 36px;
  cursor: pointer;
}
.accordion-style-02 .accordion-item .accordion-header .accordion-title i {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}
.accordion-style-02 .accordion-item .accordion-header [aria-expanded="true"] i,
.accordion-style-02 .accordion-item.active-accordion .accordion-header .accordion-title i {
  transform: translateY(-50%) rotate(180deg);
}
.accordion-style-02 .accordion-item .accordion-body {
  padding: 0 24px 24px 0;
}

/* Lists, Dividers & Progress Bars */
.separator-line-1px { height: 1px; }
.separator-line-5px { height: 5px; }
.list-style-03 {
  counter-reset: vps-li;
  list-style: none;
  padding: 0;
}
.list-style-03 li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 10px;
}
.list-style-03 li::before {
  content: counter(vps-li, decimal-leading-zero) ".";
  counter-increment: vps-li;
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--base-color);
}
.list-style-04 {
  padding-left: 18px;
}
.list-style-04 li {
  list-style: disc;
  margin-bottom: 10px;
}

/* Testimonials & Clients */
.clients-style-06 .client-box {
  transition: opacity 0.25s ease;
}
.clients-style-06:hover .client-box {
  opacity: 0.45;
}
.clients-style-06:hover .client-box:hover {
  opacity: 1;
}
.testimonials-style-13 .swiper-slide {
  opacity: 0.2;
  transition: opacity 0.3s ease;
}
.testimonials-style-13 .swiper-slide.swiper-slide-active {
  opacity: 1;
}
.testimonials-style-13 .swiper-slide.swiper-slide-next {
  opacity: 0.45;
}
.swiper-pagination-style-2 .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 6px !important;
}
.slider-navigation-style-04 {
  height: 52px;
  width: 52px;
  border-radius: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.25s ease;
}
.slider-navigation-style-04:hover {
  opacity: 0.75;
}

/* Blog, Pagination & Forms */
.blog-grid .blog-image img {
  aspect-ratio: 600 / 430;
  width: 100%;
  object-fit: cover;
  display: block;
}
.categories-btn {
  font-size: 11px;
}
.pagination-style-01 .page-item .page-link {
  border: 0;
  margin: 0 6px;
  min-width: 44px;
  min-height: 44px;
  line-height: 44px;
  padding: 0;
  border-radius: 100%;
  text-align: center;
  color: var(--medium-gray);
  background: transparent;
}
.pagination-style-01 .page-item.active .page-link {
  background: var(--dark-gray);
  color: var(--white);
}
.contact-form-style-03 input,
.contact-form-style-03 textarea,
.contact-form-style-03 select {
  outline: none;
  border: none;
  border-bottom: 1px solid var(--extra-medium-gray);
  background: transparent;
}
.contact-form-style-03 input:focus,
.contact-form-style-03 textarea:focus,
.contact-form-style-03 select:focus {
  border-bottom-color: var(--base-color);
  box-shadow: none;
}
.contact-form-style-03 .form-group .form-icon {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}
.contact-form-style-03 .form-group.form-textarea .form-icon {
  top: 12px;
  transform: none;
}
#map {
  height: 450px;
  border-radius: 6px;
}
@media (max-width: 767px) {
  #map {
    height: 320px;
  }
}

/* Service Parallax Banner (Replaces skrollr-parallax) */
.vps-parallax-banner,
.skrollr-parallax {
  background-size: cover;
  background-position: center;
  width: var(--vps-banner-w, 100%);
  border-radius: var(--vps-banner-radius, 0px);
  transition: width 0.15s linear, border-radius 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
  .vps-parallax-banner,
  .skrollr-parallax {
    width: 100% !important;
    border-radius: 0 !important;
  }
}

/* Interactive 3D Card System (plans.php) */
.pricing-3d-wrapper {
  perspective: 1200px;
  height: 100%;
  width: 100%;
}
.pricing-3d-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(37, 40, 64, 0.08);
  box-shadow: 0 20px 60px rgba(37, 40, 64, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem 1.75rem;
}
.pricing-3d-card.popular-3d-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(240, 244, 253, 0.96));
  border: 1px solid rgba(7, 78, 185, 0.28);
  box-shadow: 0 24px 60px rgba(7, 78, 185, 0.14);
}
.pricing-3d-card-glare {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.45) 0%, rgba(7, 78, 185, 0.08) 38%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.3s ease;
}
.pricing-3d-card:hover .pricing-3d-card-glare {
  opacity: 1;
}
.pricing-3d-card-body {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.popular-3d-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b58cb, #e94037, #0b58cb);
  z-index: 3;
}

/* Counters */
.counter-style-04 .vertical-counter::after {
  content: attr(data-text);
  display: inline-block;
  margin-left: 3px;
}

/* Reduced-Motion Safe Reveal Defaults (Never leaves elements invisible) */
[data-vps-reveal] {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-anime],
  [data-vps-reveal],
  [data-anime] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Client Logo Marquee Carousel (Homepage) */
.vps-logo-marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.vps-logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 18px;
}
.vps-logo-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .vps-logo-track {
    animation: vpsLogoMarquee 32s linear infinite;
    will-change: transform;
  }
  .vps-logo-marquee-wrap:hover .vps-logo-track,
  .vps-logo-marquee-wrap:focus-within .vps-logo-track,
  .vps-logo-marquee-wrap.is-paused .vps-logo-track {
    animation-play-state: paused;
  }
}
@keyframes vpsLogoMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 9px), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vps-logo-marquee-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .vps-logo-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .vps-logo-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .vps-logo-group-clone {
    display: none;
  }
}
.vps-client-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 10px;
  background: #f8f9fc;
  border: 1px solid rgba(37, 40, 64, 0.08);
  color: var(--dark-gray);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}
.vps-client-pill:hover {
  background: #ffffff;
  border-color: rgba(7, 78, 185, 0.28);
  box-shadow: 0 10px 26px rgba(37, 40, 64, 0.08);
  transform: translateY(-2px);
}
.vps-client-emblem {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 78, 185, 0.08);
  color: var(--base-color);
  flex-shrink: 0;
}
.vps-client-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.15;
}
.vps-client-sector {
  font-size: 11px;
  font-weight: 600;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
}
.vps-marquee-toggle {
  border: 1px solid rgba(37, 40, 64, 0.14);
  background: #ffffff;
  color: var(--dark-gray);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.vps-marquee-toggle:hover {
  border-color: var(--base-color);
  color: var(--base-color);
}

/* Icon Sizes & Dark Industry Tiles */
.icon-small { font-size: 18px; }
.icon-extra-medium { font-size: 24px; }
.icon-extra-large { font-size: 46px; }
.icon-with-text-style-04 .feature-box {
  position: relative;
  text-align: center;
  padding: 28px 14px;
}
.icon-with-text-style-04 .feature-box-icon,
.icon-with-text-style-04 .feature-box-content {
  position: relative;
  z-index: 2;
}
.icon-with-text-style-04 .feature-box-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 1;
}
.icon-with-text-style-04 .hover-box:hover .feature-box-overlay {
  opacity: 1;
}
.progress-bar-style-02 .progress {
  height: 30px;
  position: relative;
  overflow: visible;
  background-color: var(--white);
}
.progress-bar-style-02 .progress-bar {
  position: relative;
  border-radius: 50px;
}
.progress-bar-style-02 .progress-bar-title {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-weight: 700;
  pointer-events: none;
}
.progress-bar-style-02 .progress-bar-percent {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
}
.vps-client-logo-img {
  max-height: 34px;
  max-width: 112px;
  width: auto;
  object-fit: contain;
  display: block;
}
