/* ==========================================================================
   Homepage Specific Styles - Acarya Global
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. INITIAL WEBSITE ENTRANCE (Header)
   -------------------------------------------------------------------------- */
@keyframes headerEntrance {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dt_header {
  animation: headerEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --------------------------------------------------------------------------
   1. HERO SLIDER SECTION (dt_slider--five)
   -------------------------------------------------------------------------- */
.dt_slider {
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.dt_slider-container {
  position: relative;
  width: 100%;
  min-height: 640px;
  overflow: hidden;
}

.dt_slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
}

/* Base slide item */
.dt_slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
  overflow: hidden;
  /* Clips Ken Burns scaling so background cannot bleed past boundaries */
  transform: translate3d(0, 0, 0);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0.85s ease;
}

/* Active slide */
.dt_slider-item.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: translate3d(0, 0, 0);
}

/* Outgoing slide horizontal transitions */
.dt_slider-item.is-exiting {
  opacity: 0;
  visibility: visible;
  z-index: 3;
  pointer-events: none;
}

.dt_slider-item.slide-to-left {
  transform: translate3d(-50px, 0, 0);
  opacity: 0;
}

.dt_slider-item.slide-to-right {
  transform: translate3d(50px, 0, 0);
  opacity: 0;
}

/* Incoming slide directional start states */
.dt_slider-item.slide-from-right {
  transform: translate3d(50px, 0, 0);
}

.dt_slider-item.slide-from-left {
  transform: translate3d(-50px, 0, 0);
}

.dt_slider-item.is-active.slide-from-right,
.dt_slider-item.is-active.slide-from-left {
  transform: translate3d(0, 0, 0);
}

/* Outgoing slide content fades out cleanly */
.dt_slider-item.is-exiting .slider-category,
.dt_slider-item.is-exiting .slider-heading,
.dt_slider-item.is-exiting .slider-description,
.dt_slider-item.is-exiting .slider-btn-wrap {
  opacity: 0 !important;
  transform: translateY(-16px) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
  transition-delay: 0s !important;
}

/* Background image & Gentle Ken Burns Zoom Animation */
.dt_slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000000;
  transform: scale(1.12);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s ease;
  z-index: 1;
}

.dt_slider-item.is-active .dt_slider-bg {
  transform: scale(1.04);
}

.dt_slider-item:nth-child(even) .dt_slider-bg {
  transform: scale(1.04);
}

.dt_slider-item:nth-child(even).is-active .dt_slider-bg {
  transform: scale(1.14);
}

/* Black overlay blending (matching original design, covers entire scaled area) */
.dt_slider-overlay {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
}

/* Content wrapper */
.dt_slider-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 6rem 0;
}

.dt_slider-content {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);
}

/* Staggered text elements base state */
.slider-category {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(14, 21, 68, 0.88);
  border-left: 3px solid var(--dt-pri-color);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-sm, 4px);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  box-shadow: none;
  opacity: 0;
  transform: translate3d(0, -22px, 0);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.slider-category:hover {
  letter-spacing: 2.2px;
  border-left-color: #38bdf8;
  background: rgba(14, 21, 68, 0.96);
  box-shadow: 0 4px 20px rgba(0, 160, 232, 0.4);
  transform: translateY(-2px);
}

.slider-heading {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.4s ease;
  cursor: default;
}

.slider-heading:hover {
  transform: translateY(-3px);
  text-shadow: 0 6px 36px rgba(0, 160, 232, 0.45), 0 2px 14px rgba(0, 0, 0, 0.85);
}

.slider-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: color 0.35s ease, transform 0.35s ease;
}

.slider-description:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.slider-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

/* Staggered entrance animations when slide becomes active (Exact match with About Us & Service pages) */
.dt_slider-item.is-active .slider-category {
  animation: heroCategoryDrop 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.dt_slider-item.is-active .slider-heading {
  animation: heroHeadingSlideUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.dt_slider-item.is-active .slider-description {
  animation: heroSubheadingFadeIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.dt_slider-item.is-active .slider-btn-wrap {
  animation: heroBtnFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.82s both;
}

/* Hero Keyframes matching About Us Page */
@keyframes heroCategoryDrop {
  0% {
    opacity: 0;
    transform: translate3d(0, -22px, 0);
    letter-spacing: 2.8px;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    letter-spacing: 1.5px;
  }
}

@keyframes heroHeadingSlideUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroSubheadingFadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroBtnFadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .dt_header {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .dt_slider-item,
  .dt_slider-bg,
  .slider-category,
  .slider-heading,
  .slider-description,
  .slider-btn-wrap {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Slider Controls: Arrows with Thumbnail Previews */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 42px;
  border-radius: 24px;
  background: rgba(14, 21, 68, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
  color: var(--color-white);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.slider-arrow-btn .imgholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 1;
}

.slider-arrow-btn:hover {
  background: var(--dt-pri-color);
  border-color: var(--dt-pri-color);
  transform: translateY(-50%) scale(1.06);
  box-shadow: none;
}

.slider-arrow-btn:hover .imgholder {
  opacity: 0.7;
  transform: scale(1.1);
}

.slider-arrow-btn i {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.slider-arrow-prev {
  left: 2rem;
}

.slider-arrow-next {
  right: 2rem;
}

/* Slider Controls: Indicator Dots */
.slider-dots-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
}

.slider-dot.is-active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--dt-pri-color);
}

/* --------------------------------------------------------------------------
   2. FRONT INFO: FEATURES HIGHLIGHT BAR (dt_service--eight)
   -------------------------------------------------------------------------- */
.dt_service_one {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  padding-bottom: 2rem;
}

.info-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.info-card-item {
  background-color: var(--color-white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 3px solid transparent;
  transition: transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base);
}

/* Pre-entrance state: invisible and positioned slightly below final position */
.info-card-item.wow {
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translate3d(0, 36px, 0);
  transform: translate3d(0, 36px, 0);
  will-change: transform, opacity;
}

/* Scroll-triggered entrance animation: smooth ease-out lasting approximately 700ms */
.info-card-item.animated {
  visibility: visible;
  -webkit-animation-name: infoCardSlideInUp;
  animation-name: infoCardSlideInUp;
  -webkit-animation-duration: 700ms;
  animation-duration: 700ms;
  -webkit-animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@keyframes infoCardSlideInUp {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 36px, 0);
    transform: translate3d(0, 36px, 0);
  }

  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.info-card-item:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--dt-pri-color);
  box-shadow: var(--shadow-lg);
}

.info-card-icon-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: var(--radius-sm);
  background: var(--dt-pri-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dt-pri-color);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.info-card-item:hover .info-card-icon-wrap {
  background: var(--dt-pri-color);
  color: var(--color-white);
}

.info-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.4;
  margin: 0;
}

.info-card-title a:hover {
  color: var(--dt-pri-color);
}

/* --------------------------------------------------------------------------
   3. TRUSTED IT SOLUTIONS SECTION (dt_protect--one)
   -------------------------------------------------------------------------- */
.dt_protect {
  position: relative;
  background-color: var(--color-bg-light);
  background-image: url('../../assets/images/about/trusted-solutions-bg.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

/* Left Image Block */
.protect-image-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  width: 100%;
}

/* Image Composition Container: Anchors floating secondary image strictly to main VR image */
.protect-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  animation: floatSlow 5s ease-in-out infinite;
}

.protect-shield-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.protect-badge-box {
  position: absolute;
  bottom: 2rem;
  right: -15px;
  width: 140px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
  overflow: hidden;
  z-index: 2;
}

.protect-badge-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Right Content & Badge Grid */
.protect-content-box {
  padding-left: 1.5rem;
}

.protect-content-box .dt_siteheading .title-keyword {
  position: relative;
  display: inline-block;
  color: var(--dt-pri-color);
}

.protect-content-box .dt_siteheading .title-wave {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 8px;
  display: block;
}

.protect-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.protect-badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--dt-pri-color);
  transition: all var(--transition-fast);
}

.protect-badge-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.protect-badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--dt-pri-light);
  color: var(--dt-pri-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
}

.protect-badge-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. DEALING IN ALL PROFESSIONAL IT SERVICES (dt_feature--one)
   -------------------------------------------------------------------------- */
.dt_feature {
  position: relative;
  background-color: #162171; /* Deep navy-blue background matching original reference */
  background-image: url('../../assets/images/common/dot-bg-two.png'); /* Hexagonal honeycomb mesh */
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  overflow: hidden;
  padding-top: 5.5rem;
  padding-bottom: 6.5rem;
}

.dt_feature .dt-container {
  max-width: 1400px;
}

/* Two-column Split Header Layout matching official reference */
.services-siteheading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: 3.75rem;
  text-align: left;
}

.services-siteheading .siteheading-left {
  flex: 1 1 540px;
  max-width: 620px;
}

.services-siteheading .siteheading-right {
  flex: 1 1 450px;
  max-width: 540px;
  padding-bottom: 0.35rem;
}

.services-siteheading .subtitle {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.services-siteheading .title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white); /* Pure white prominent heading on navy background */
  line-height: 1.25;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.services-siteheading .title-keyword {
  position: relative;
  display: inline-block;
  color: var(--color-white);
}

.services-siteheading .title-wave {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 8px;
  display: block;
}

.services-siteheading .description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88); /* Crisp legible white text on dark navy */
  line-height: 1.7;
  margin: 0;
}

/* Service Cards Carousel / Grid Wrapper */
.services-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* 5 Equal Cards in a Single Row on Desktop with Floating Staircase Spacing */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.35rem;
  align-items: start;
}

@media (min-width: 1200px) {
  .service-card-item:nth-child(2),
  .service-card-item:nth-child(4) {
    margin-top: 28px;
  }
  .service-card-item:nth-child(3),
  .service-card-item:nth-child(5) {
    margin-top: 12px;
  }
}

/* Service Card Item: White background popping against dark navy, subtle border, soft shadow, equal height */
.service-card-item {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.service-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 160, 232, 0.3);
  border-color: var(--dt-pri-color);
}

/* Large Rectangular Image at Top with Rounded Upper Corners */
.service-card-image {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.service-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-item:hover .service-card-image img {
  transform: scale(1.06);
}

/* White Content Area Below Image */
.service-card-body {
  position: relative;
  padding: 0 1.35rem 1.75rem;
  background-color: var(--color-white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Small Navy-Blue Square Icon Container Overlapping Boundary */
.service-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 8px;
  background-color: var(--dt-sec-color); /* Navy blue brand color */
  color: var(--color-white);
  border: 3px solid var(--color-white); /* Crisp white frame against image boundary */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-top: -26px; /* Exactly half overlap between upper image and white body */
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(22, 33, 113, 0.22);
  transition: background-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.service-card-item:hover .service-card-icon {
  background-color: var(--dt-pri-color); /* Cyan-blue accent on card hover */
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 160, 232, 0.35);
}

/* Clearly Visible Service Title with Consistent Height Alignment */
.service-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  min-height: 2.85rem; /* Consistently aligns descriptions regardless of 1-line or 2-line title */
  display: flex;
  align-items: flex-start;
}

.service-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-card-title a:hover {
  color: var(--dt-pri-color);
}

/* Short Service Description */
.service-card-desc {
  font-size: 0.875rem;
  color: var(--color-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1; /* Pushes Read More link to the bottom */
}

/* Cyan-Blue "READ MORE" Link with Right-Arrow Icon */
.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dt-pri-color); /* Cyan-blue accent */
  text-transform: uppercase;
  letter-spacing: 0.75px;
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #edf2f7;
  transition: color var(--transition-fast);
}

.service-card-link .link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 160, 232, 0.08);
  color: var(--dt-pri-color);
  font-size: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              color 0.3s ease;
}

.service-card-item:hover .service-card-link {
  color: var(--dt-pri-hover);
}

.service-card-item:hover .service-card-link .link-arrow {
  background-color: var(--dt-pri-color);
  color: var(--color-white);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4.1 SERVICE CARDS FLOATING WAVE ENTRANCE ANIMATION
   -------------------------------------------------------------------------- */

/* Pre-entrance state: wave starting offsets with opacity 0 */
.service-card-item.wow {
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.service-card-item:nth-child(1).wow {
  -webkit-transform: translate3d(0, 36px, 0);
  transform: translate3d(0, 36px, 0);
}

.service-card-item:nth-child(2).wow {
  -webkit-transform: translate3d(0, 50px, 0);
  transform: translate3d(0, 50px, 0);
}

.service-card-item:nth-child(3).wow {
  -webkit-transform: translate3d(0, 40px, 0);
  transform: translate3d(0, 40px, 0);
}

.service-card-item:nth-child(4).wow {
  -webkit-transform: translate3d(0, 54px, 0);
  transform: translate3d(0, 54px, 0);
}

.service-card-item:nth-child(5).wow {
  -webkit-transform: translate3d(0, 44px, 0);
  transform: translate3d(0, 44px, 0);
}

/* Staggered entrance animation: smooth ease-out lasting approximately 750ms */
.service-card-item.animated {
  visibility: visible;
  -webkit-animation-duration: 750ms;
  animation-duration: 750ms;
  -webkit-animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.service-card-item:nth-child(1).animated {
  -webkit-animation-name: serviceCardWave1;
  animation-name: serviceCardWave1;
}

.service-card-item:nth-child(2).animated {
  -webkit-animation-name: serviceCardWave2;
  animation-name: serviceCardWave2;
}

.service-card-item:nth-child(3).animated {
  -webkit-animation-name: serviceCardWave3;
  animation-name: serviceCardWave3;
}

.service-card-item:nth-child(4).animated {
  -webkit-animation-name: serviceCardWave4;
  animation-name: serviceCardWave4;
}

.service-card-item:nth-child(5).animated {
  -webkit-animation-name: serviceCardWave5;
  animation-name: serviceCardWave5;
}

/* Keyframes with wave starting offsets settling naturally to position */
@keyframes serviceCardWave1 {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 36px, 0);
    transform: translate3d(0, 36px, 0);
  }
  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceCardWave2 {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
  }
  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceCardWave3 {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 40px, 0);
    transform: translate3d(0, 40px, 0);
  }
  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceCardWave4 {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 54px, 0);
    transform: translate3d(0, 54px, 0);
  }
  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes serviceCardWave5 {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 44px, 0);
    transform: translate3d(0, 44px, 0);
  }
  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .service-card-item.wow {
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  .service-card-item.animated {
    -webkit-animation: none !important;
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   5. WHY ACARYA SECTION (dt_why_us)
   -------------------------------------------------------------------------- */
.dt_why_us {
  position: relative;
  background-color: var(--color-bg-light);
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  overflow: hidden;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.why-card-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.35rem 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--dt-pri-color);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Pre-entrance state: invisible and positioned slightly below final position */
.why-card-item.wow {
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translate3d(0, 36px, 0);
  transform: translate3d(0, 36px, 0);
  will-change: transform, opacity;
}

/* Scroll-triggered entrance animation: smooth ease-out lasting approximately 700ms */
.why-card-item.animated {
  visibility: visible;
  -webkit-animation-name: whyCardSlideInUp;
  animation-name: whyCardSlideInUp;
  -webkit-animation-duration: 700ms;
  animation-duration: 700ms;
  -webkit-animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@keyframes whyCardSlideInUp {
  0% {
    visibility: visible;
    opacity: 0;
    -webkit-transform: translate3d(0, 36px, 0);
    transform: translate3d(0, 36px, 0);
  }

  100% {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .why-card-item.wow {
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  .why-card-item.animated {
    -webkit-animation: none !important;
    animation: none !important;
  }
}

.why-card-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--dt-sec-color);
}

.why-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 160, 232, 0.1);
  color: var(--dt-pri-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all var(--transition-base);
}

.why-card-item:hover .why-card-icon {
  background: var(--dt-pri-color);
  color: var(--color-white);
  transform: rotateY(180deg);
}

.why-card-number {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(22, 33, 113, 0.15);
  line-height: 1;
  transition: color var(--transition-base);
}

.why-card-item:hover .why-card-number {
  color: rgba(0, 160, 232, 0.45);
}

.why-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.why-card-desc {
  font-size: 0.875rem;
  color: var(--color-body);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}