/* AI Page CSS : ai-ml-services */

.shp-ks .pillas-why-ks__card--bg-1::before {
  background-image: url("/wp-content/uploads/2026/07/shp-1.webp");
}
.shp-ks .pillas-why-ks__card--bg-2::before {
  background-image: url("/wp-content/uploads/2026/07/shp-2.webp");
}
.shp-ks .pillas-why-ks__card--bg-3::before {
  background-image: url("/wp-content/uploads/2026/07/shp-3.webp");
}
.shp-ks .pillas-why-ks__card--bg-4::before {
  background-image: url("/wp-content/uploads/2026/07/shp-4.webp");
}
.shp-ks .pillas-why-ks__card--bg-5::before {
  background-image: url("/wp-content/uploads/2026/07/shp-5.webp");
}
.shp-ks .pillas-why-ks__card--bg-6::before {
  background-image: url("/wp-content/uploads/2026/07/shp-6.webp");
}
.shp-ks .pillas-why-ks__card--bg-7::before {
  background-image: url("/wp-content/uploads/2026/07/shp-7.webp");
}



/* ============================================================
   INNER LAYOUT
============================================================ */

.about-section .container{
    max-width: 1134px;
}

.about-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 49px;
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 767.98px) {
  .about-section__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ============================================================
   TEXT COLUMN
============================================================ */
.about-section__text-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-section__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: #000000;
  margin: 0;
  max-width: 650px;
}

.about-section__body {
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  color: #000000;
  margin: 0;
  max-width: 687px;
}

.about-section__body-highlight {
  background: linear-gradient(
    90deg,
    rgb(0, 0, 255) 0%,
    rgb(78, 73, 224) 33.654%,
    rgb(217, 0, 148) 66.827%,
    rgb(255, 10, 10) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ============================================================
   IMAGE COLUMN
============================================================ */
.about-section__img-col {
  flex: 0 0 286px;
  width: 286px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.about-section__badge-wrap {
  width: 100%;
  aspect-ratio: 366 / 356;
  position: relative;
  margin-bottom: -61px;
  z-index: 2;
}

.about-section__badge-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-section__badge-wrap-thum{
  box-shadow: 0 4px 11.2px 0 rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 2px; 
}
.about-section__badge-wrap-thum img{
  max-width: 80%;
}

.about-section__wave-wrap {
  width: 266px;
  /* height: 225px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1; 
  margin-top: 10px;
}

.about-section__wave-inner {
  transform: rotate(8.07deg);
  width: 228px;
  height: 95px;
  position: relative;
}

.about-section__wave-inner img {
  position: absolute;
  top: 0%;
  left: 2.42%;
  width: 113.16%;
  height: 118.18%;
  display: block;
}

/* ============================================================
   RESPONSIVE – TABLET  768–991px
============================================================ */
@media (min-width: 768px) and (max-width: 991.98px) {
  .about-section {
    padding: 60px 0;
  }
  .about-section__inner {
    gap: 32px;
    flex-direction: column-reverse;
    align-items: center;
  }

  .about-section__title {
    font-size: 26px;
    line-height: 34px;
  }

  .about-section__body {
    font-size: 16px;
    line-height: 24px;
  }

  .about-section__img-col {
    flex: 0 0 320px;
    width: 320px;
  }

  .about-section__badge-wrap {
    margin-bottom: -45px;
  }

  .about-section__wave-wrap {
    width: 210px;
    height: 180px;
  }

  .about-section__wave-inner {
    width: 180px;
    height: 130px;
  }
}

/* ============================================================
   RESPONSIVE – MOBILE  <768px
============================================================ */
@media (max-width: 767.98px) {
 
  .about-section__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .about-section__text-col {
    width: 100%;
  }

  .about-section__title {
    font-size: 24px;
    line-height: 36px;
    max-width: 100%;
  }

  .about-section__body {
    font-size: 18px;
    line-height: 27px;
    max-width: 100%;
  }

  .about-section__img-col {
    flex: none;
    width: 286px;
    align-items: center;
  }

  .about-section__badge-wrap {
    margin-bottom: -28px;
  }

  .about-section__wave-wrap {
    width: 237px;
    height: 178px;
  }

  .about-section__wave-inner {
    transform: rotate(3.32deg);
    width: 228px;
    height: 165px;
  }
}

/* ============================================================
   CTA SECTION
============================================================ */
.aiml-cta-section {
  padding: 100px 0;
  background-image: url("/wp-content/uploads/2026/07/ai-ml-services-cta.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  position: relative;
}

.aiml-cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.aiml-cta-section__heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 52px;
  color: #ffffff;
  margin-bottom: 16px;
}

.aiml-cta-section__subheading {
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.aiml-cta-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: #ffffff;
  color: #0f0232;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.aiml-cta-section__btn:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Tablet (min-width: 768px) and (max-width: 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .aiml-cta-section {
    padding: 80px 0;
  }

  .aiml-cta-section__heading {
    font-size: 32px;
    line-height: 42px;
  }

  .aiml-cta-section__subheading {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 32px;
  }

  .aiml-cta-section__btn {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* Mobile (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .aiml-cta-section {
    padding: 60px 0;
    background-position: center right 30%;
  }

  .aiml-cta-section__heading {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 12px;
  }

  .aiml-cta-section__subheading {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  .aiml-cta-section__btn {
    padding: 12px 24px;
    font-size: 16px;
    width: 100%;
  }
}

/* ============================================================
   TECHNOLOGIES WE USE SECTION (REVAMP)
============================================================ */
.ai-use-tech {
  background-image: url("/wp-content/uploads/2026/07/ai-ml-services-tech.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

.ai-use-tech .common-ml-consult-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 2.5rem;
}
.page-template-template-ai-ml-services-revamp .use-tech-common.ai-use-tech button{
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.tech-layout {
  display: flex;
  gap: 2.25rem;
  align-items: stretch;
}

.tech-sidebar {
  width: 24.25rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  border: 0.0625rem solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0.5rem 2rem 0 rgba(31, 38, 135, 0.05);
  flex-shrink: 0;
}

.tech-sidebar .sfss__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.tech-sidebar .sfss__tab {
  background: transparent;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.tech-sidebar .sfss__tab-label {
  font-size: 1rem;
  font-weight: 500;
  color: #111B29;
  transition: color 0.3s ease;
}

.tech-sidebar .sfss__tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #111B29;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tech-sidebar .sfss__tab-icon svg {
  width: 100%;
  height: 100%;
}

/* Inactive Hover */
.tech-sidebar .sfss__tab:hover {
  background: rgba(255, 255, 255, 0.6);
}
.tech-sidebar .sfss__tab:hover .sfss__tab-icon {
  transform: translateX(0.1875rem);
}

/* Active State */
.tech-sidebar .sfss__tab.is-active {
  background: linear-gradient(90deg, #0000ff 0%, #d90094 60%, #ff0a0a 100%);
}

.tech-sidebar .sfss__tab.is-active .sfss__tab-label {
  color: #ffffff;
  font-weight: 600;
}

.tech-sidebar .sfss__tab.is-active .sfss__tab-icon {
  color: #ffffff;
}

/* Panels */
.tech-panels {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  border: 0.0625rem solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0.5rem 2rem 0 rgba(31, 38, 135, 0.05);
  min-height: 18.75rem;
}

.ai-use-tech .tech-panel-content {
  display: none !important;
}

.ai-use-tech .tech-panel-content.is-active {
  display: block !important;
  animation: techFadeIn 0.4s ease;
}

/* Fallback for the first tab list in case of overrides */
.shp-sfss .sfss__panel-content {
  display: none !important;
}
.shp-sfss .sfss__panel-content.is-active {
  display: flex !important;
}

@keyframes techFadeIn {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-panel-title {
  font-size: 1.125rem;
  font-weight: 600; 
  margin-bottom: 1.5rem;
  background: var(--top-navigation-2, linear-gradient(90deg, #00F 0%, #4E49E0 2.65%, #D90094 27.83%, #FF0A0A 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; 
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.ai-use-tech .tech-box {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.03);
  border: 0.0625rem solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.ai-use-tech .tech-box:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 255, 0.2);
}

.ai-use-tech .tech-box img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.ai-use-tech .tech-box .tech-description {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #323232;
  margin: 0;
  line-height: 1.3;
}

/* Responsive Styles */
@media (max-width: 1399.98px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1199.98px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tech-sidebar {
    width: 16.25rem;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .ai-use-tech {
    padding: 2.5rem 0;
    background-image: url("/wp-content/uploads/2026/07/ai-ml-services-tech-mob.webp");
  }
  .tech-layout {
    flex-direction: column;
    gap: 1.25rem;
  }
  .tech-sidebar {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .tech-sidebar .sfss__tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .tech-sidebar .sfss__tab {
    width: auto;
    display: inline-flex;
    padding: 0.625rem 1.125rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 0.0625rem solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.02);
  }
  .tech-sidebar .sfss__tab-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212121;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .tech-sidebar .sfss__tab-icon {
    display: none;
  }
  
  /* Active tab button on mobile with gradient border and text */
  .tech-sidebar .sfss__tab.is-active {
    border: 0.0625rem solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #0000ff 0%, #d90094 60%, #ff0a0a 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
  }
  .tech-sidebar .sfss__tab.is-active .sfss__tab-label {
    background: linear-gradient(90deg, #0000ff 0%, #d90094 60%, #ff0a0a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
  }
  
  .tech-panels {
    padding: 1.5rem;
    min-height: auto;
  }
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .ai-use-tech .tech-box {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }
  .ai-use-tech .tech-box img {
    width: 2rem;
    height: 2rem;
  }
  .ai-use-tech .tech-box .tech-description {
    font-size: 0.9375rem;
  }
  .ai-use-tech .common-ml-consult-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.ai-ml-support-stats {
  background-color: #F9FAFB;
  background-image: url("/wp-content/uploads/2026/07/our-decade.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} 

/* ==========================================
   AI/ML SERVICES HERO SECTION
   ========================================== */
.ai-ml-hero {
  position: relative;
  background-image: url("/wp-content/uploads/2026/07/hero-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0 0 0;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 80px;
}

/* Bottom Radial Glow */
.ai-ml-hero__glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: radial-gradient(circle at 50% 100%, rgba(98, 0, 234, 0.3) 0%, rgba(0, 162, 255, 0.1) 40%, rgba(6, 6, 12, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.ai-ml-hero .container,
.ai-ml-hero .container-full {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Content block styling */
.ai-ml-hero__content {
  text-align: center;
  max-width: 1024px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 100;
}

.ai-ml-hero__title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.ai-ml-hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 35px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ai-ml-hero__cta {
  margin-bottom: 50px;
}

.ai-ml-hero__btn {
  display: inline-block;
  background-color: #ffffff;
  color: #0f0232;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.08);
}

.ai-ml-hero__btn:hover {
  background-color: #f0f0f5;
  color: #0f0232;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Visuals positioning */
.ai-ml-hero__visuals {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 420px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  margin-top: -80px;
}

.ai-ml-hero__icon-wrapper {
  position: absolute;
  bottom: 0;
  transition: transform 0.1s ease-out; /* For mouse parallax transition smoothness */
}

.ai-ml-hero__icon-wrapper--left {
  left: -20px;
  width: 38%;
  max-width: 480px;
  z-index: 2;
  opacity: 0;
  transform: translateX(-50px);
  animation: heroLeftHandEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.ai-ml-hero__icon-wrapper--right {
  right: -20px;
  width: 38%;
  max-width: 480px;
  z-index: 2;
  opacity: 0;
  transform: translateX(50px);
  animation: heroRightHandEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.ai-ml-hero__icon-wrapper--center {
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 22%;
  max-width: 240px;
  z-index: 3;
  opacity: 0;
  animation: heroCenterCubeEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.ai-ml-hero__icon {
  width: 100%;
  height: auto;
  display: block;
}

/* Float Animations after load */
.ai-ml-hero__icon--left {
  animation: floatLeftHand 6s ease-in-out infinite;
}

.ai-ml-hero__icon--right {
  animation: floatRightHand 6s ease-in-out infinite;
}

.ai-ml-hero__icon--center {
  animation: floatCenterCube 5s ease-in-out infinite;
}

/* Keyframes */
@keyframes heroFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLeftHandEntrance {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroRightHandEntrance {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroCenterCubeEntrance {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes floatCenterCube {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatLeftHand {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes floatRightHand {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* Responsive Design */
@media (max-width: 1199px) {
  .ai-ml-hero__title {
    font-size: 48px;
  }
  .ai-ml-hero__visuals {
    height: 350px;
  }
}

@media (max-width: 991px) {
  .ai-ml-hero {
    padding: 100px 0 0 0;
  }
  .ai-ml-hero__title {
    font-size: 38px;
  }
  .ai-ml-hero__subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .ai-ml-hero__cta {
    margin-bottom: 35px;
  }
  .ai-ml-hero__visuals {
    height: 280px;
  }
  .ai-ml-hero__icon-wrapper--left {
    left: -10px;
    width: 40%;
  }
  .ai-ml-hero__icon-wrapper--right {
    right: -10px;
    width: 40%;
  }
  .ai-ml-hero__icon-wrapper--center {
    width: 24%;
  }
}

@media (max-width: 767px) {
  .ai-ml-hero {
    padding: 40px 0;
  }
  .ai-ml-hero__pattern {
    background-size: 60px 60px;
  }
  .ai-ml-hero__title {
    font-size: 32px;
    line-height: 1.2;
  }
  .ai-ml-hero__subtitle {
    font-size: 15px;
    line-height: 1.5;
  }
  .ai-ml-hero__btn {
    padding: 14px 28px;
    font-size: 15px;
  }
  .ai-ml-hero__visuals {
    height: 200px;
    margin-top: 0px;
  }
  .ai-ml-hero__icon-wrapper--left {
    left: -15px;
    width: 45%;
  }
  .ai-ml-hero__icon-wrapper--right {
    right: -15px;
    width: 45%;
  }
  .ai-ml-hero__icon-wrapper--center {
    width: 26%;
  }
  @keyframes heroCenterCubeEntrance {
    to {
      opacity: 1;
      transform: translateX(-50%) scale(0.9);
    }
  }
}

@media (max-width: 479px) {
  .ai-ml-hero__title {
    font-size: 28px;
  }
  .ai-ml-hero__visuals {
    height: 150px;
  }
}

 