@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
  --background: #ffffff;
  --foreground: #171717;
  --primary-color: #26A17C;
  --secondary-color: #5648D8;
  --trisory-color: #BB0066;
  --bg-color: #E2EBE4;
  --bg-grey-color: #E7E7E7;
  --bright-cryon-color: #3FB2CB;
  --dark-navy-color: #313941;
  --bg-testimonial: #C9F5FF;
  --bg-boder-color1: #6AC583;
  --bg-color2: #D7E9DC40;
  --bg-boder-color2: #D7E9DC;
  --purple-color: #6C67AF;
  --cloud-orange: #e15759;
  --bg-color-orange: #FFE7D6;
  --bright-orange-color: #FF7A2F;
  --light-sand: #fdfbed;
  --migration-theme-color: #384bff;
  --migration-theme-light-color: #476AF4FF;
  --migration-soft-light-color: #7398FFFF;

  /* Custom brand colors */
  --color-primary: var(--primary-color);
  --color-secondary: var(--secondary-color);
  --color-tertiary: var(--trisory-color);
  --color-bg: var(--bg-color);
  --color-bg-grey: var(--bg-grey-color);
  --color-cryon: var(--bright-cryon-color);
  --color-navy: var(--dark-navy-color);

  --font-outfit: "Outfit", sans-serif;

}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-outfit);
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
}

h1,
.typeh1 {
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
}

h2,
.typeh2 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
}

h3,
.typeh3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

h4,
.typeh4 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}

h5,
.typeh5 {
  font-size: 22px;
  line-height: 27px;
  font-weight: 600;
}

h6,
.typeh6 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}

p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
}

.subtitle {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400
}

.faq h3 {
  font-size: 22px;
  line-height: 27px;
  font-weight: 600;
}

.text-xs {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}


@media (max-width: 768px) {

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 600;
  }

  h1,
  .typeh1 {
    font-size: 30px;
    line-height: 38px;
  }

  h2,
  .typeh2 {
    font-size: 28px;
    line-height: 36px;
  }

  h3,
  .typeh3 {
    font-size: 26px;
    line-height: 34px;
  }

  h4,
  .typeh4 {
    font-size: 24px;
    line-height: 32px;
  }

  h5,
  .typeh5 {
    font-size: 22px;
    line-height: 30px;
  }

  h6,
  .typeh6 {
    font-size: 20px;
    line-height: 28px;
  }

  .subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
  }

  .faq h3 {
    font-size: 21px;
    line-height: 27px;
    font-weight: 600;
  }
}


/* Animation */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }

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

.animate-fadeInLeft {
  animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }

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

.animate-fadeInRight {
  animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }

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

.animate-fadeInUp {
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }

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

.animate-fadeInDown {
  animation: fadeInDown 1s ease-out forwards;
}


/* Intelligent Automation Page Animation code Start */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-120px);
    opacity: 0;
  }
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes starPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

.animate-gradient {
  animation: gradientMove 8s linear infinite;
}

.animate-float {
  animation: float linear infinite;
}

.animate-floatSlow {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-slideLeft {
  animation: slideLeft 1s ease forwards;
}

.animate-slideUp {
  animation: slideUp 1s ease forwards;
}

.animate-starPulse {
  animation: starPulse 1.5s ease-in-out infinite;
}

/* Intelligent Automation Page Animation code End */

/* Animation End */

/* Table Start */
.table-wrapper {
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  overflow-x: auto;
  font-family: var(--font-outfit);
}

.table-global {
  width: 100%;
  border: 1px solid var(--background);
  /* FULL OUTER BORDER = WHITE */
}

.table-global thead {
  background: var(--bg-grey-color);
}

.table-global th {
  padding: 20px;
  text-align: left;
  color: var(--foreground);
  border-right: 1px solid var(--background);
}

.table-global th:last-child,
.table-global td:last-child {
  border-right: none;
}

.table-global td {
  padding: 20px;
  border-right: 1px solid var(--bg-grey-color);
  background: var(--background);
}

.table-global tbody tr {
  border-bottom: 1px solid var(--bg-grey-color);
}

.table-global tbody tr:last-child {
  border-bottom: none;
}

/* Table End */

/* Button Style Start */
.cus-btn {
  font-size: 17px;
  line-height: 26px;
  font-weight: 400;
  border-radius: 50px;
  padding: 12px 20px;
}

.cus-btn-style1 {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.cus-btn-style1:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.cus-btn-style2 {
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid #fff;
}

.cus-btn-style2:hover {
  background-color: transparent;
  color: #fff;
}

.cus-btn-style3 {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.cus-btn-style3:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

/* Button Style End */

.cornerimage {
  width: 60%;
  bottom: -20px;
  right: 10%;
}

.icon-white {
  filter: brightness(0) invert(1);
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {

  background: var(--primary-color, var(--primary-color)) !important;
}

.custom-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #c4c4c4;
  opacity: 1;
  margin: 0 5px;
}

.custom-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color);
  /* indigo-600 */
}

.cus-btn-style4 {
  background-color: var(--bright-orange-color);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  transition: transform 0.2s ease;
  border-radius: 0;
}

.cus-btn-style4:hover {
  transform: scale(1.05);
}

.cus-btn-style5 {
  background-color: transparent;
  color: var(--bright-orange-color);
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  border: 1px solid var(--bright-orange-color);
  transition: transform 0.2s ease;
  border-radius: 0;
}

.cus-btn-style5:hover {
  transform: scale(1.05);
}

.orange-border {
  margin: 10px 0px 10px 0px;
  padding-bottom: 8px;
  border-style: solid;
  border-width: 0px 0px 2px 0px;
  border-color: var(--cloud-orange);
  width: fit-content;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }

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

/* SAP S/4HANA migration Page */

.migrationicon {
  fill: var(--migration-theme-color);
}

.migratio-cus-btn-style1 {
  background-color: #fff;
  color: var(--migration-theme-color);
  border: 2px solid #fff;
}

@media (max-width: 767px) {
  .migratio-cus-btn-style1 {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
  }
}

.migratio-cus-btn-style2 {
  background-color: var(--migration-theme-color);
  color: #fff;
  border: 2px solid #fff;
}

.migratio-cus-btn-style2:hover {
  background-color: transparent;
  color: var(--migration-theme-color);
  border: 2px solid var(--migration-theme-color);
}

.icon-black {
  filter: brightness(0);
}

/* End SAP S/4HANA migration Page */


/* Start Altiaris Page */
:root {
  --altiaris-bg-1: #0b0b1f;
  --altiaris-bg-2: #101025;
  --altiaris-bg-3: #000009;
  --altiaris-bg-4: #2e2e67;
  --altiaris-card: #1a1a3a;
  --altiaris-box: #0f0f24;
  --altiaris-border: #2a2a4a;
  --altiaris-primary: #5446D6;
  --altiaris-secondary: #7575FF;
  --altiaris-text-light: #b0b0d0;
  --altiaris-text-white: #ffffff;
  --altiaris-box-color1: #e9e9f6;
  --altiaris-highlight-color1: #BFBFFE;
  --altiaris-box-color2: #EAEAFF;
  --altiaris-text-color2: #20272D;
  --altiaris-tab-color: #15CCB6;

}

.altiaris-header {
  width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0F0F11;
  border: 1px solid rgb(from var(--altiaris-primary) r g b / 0.29);
  backdrop-filter: blur(10px);
}

.cus-btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cus-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.cus-btn-altiaris-primary {
  background: linear-gradient(to right,
      var(--altiaris-primary),
      var(--altiaris-secondary));
  color: var(--altiaris-text-white);
}

.cus-btn-altiaris-outline {
  border: 1px solid var(--altiaris-border);
  color: var(--altiaris-text-white);
  background: transparent;
}

.cus-btn-altiaris-outline:hover {
  background: var(--altiaris-text-white);
  color: var(--altiaris-bg-1);
}

.cus-btn-altiaris-demo {
  border: 1px solid var(--altiaris-primary);
  color: var(--altiaris-text-white);
  background: transparent;
}

.cus-btn-altiaris-demo:hover {
  background: linear-gradient(to right,
      var(--altiaris-primary),
      var(--altiaris-secondary));
  border-color: transparent;
}

.alt-title {
  font-size: 58px;
  line-height: 1.2;
  font-weight: 700;
}

.alt-desc {
  font-size: 20px;
  line-height: 1.6;
  color: #fff;
  font-weight: 200;
}

.alt-top-title,
.alt-box-title {
  font-weight: 600;
}

.alt-box-title {
  font-size: 13px;
}

.alt-top-desc {
  font-size: 15px;
  line-height: 1.5;
}

.alt-box-text,
.alt-footer-text {
  font-size: 12px;
  line-height: 18px;
  font-weight: 100;
}

.alt-card-wrapper {
  position: relative;
}

.alt-card-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg,
      rgba(84, 70, 214, 0.35),
      rgba(117, 117, 255, 0.25),
      transparent);
  filter: blur(20px);
  z-index: 0;
}

.alt-card {
  position: relative;
  z-index: 1;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.alt-card>div:first-child {
  box-shadow:
    inset 0 0 0 1px rgba(84, 70, 214, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.25);
}

.alt-card .grid>div {
  transition: all 0.25s ease;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  border: 1px solid rgb(from var(--altiaris-primary) r g b / .29);
}

.alt-card .grid>div:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(84, 70, 214, 0.25);
}

.alt-card>div:last-of-type {
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}



.hero-slider {
  position: relative;
  height: 550px;
  min-height: 550px;
  max-height: 550px;
  display: flex;
  overflow: hidden;
  background: #000;
}

/* LEFT CONTENT */
.hero-content {
  width: 60%;
  padding: 80px;
  z-index: 2;
  color: #fff;
}

.hero-content {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content.animate {
  opacity: 0;
  transform: translateY(20px);
}

.hero-content h1 {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
}

.hero-logo {
  max-width: 140px;
  margin-bottom: 24px;
}

.hero-description {
  margin: 20px 0;
  line-height: 1.6;
}

.hero-buttons .btn {
  margin-right: 16px;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: #fff;
  color: #000;
}

.btn.secondary {
  border: 1px solid #fff;
  color: #fff;
}

/* RIGHT BACKGROUND */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 30%;
  /* Left content = 40%, Video = 60% */
  z-index: 1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
}

/* Black overlay */
.hero-bg .overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* LEFT = BLACK, RIGHT = TRANSPARENT */
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.75) 15%,
      rgba(0, 0, 0, 0.45) 35%,
      rgba(0, 0, 0, 0.2) 55%,
      rgba(0, 0, 0, 0) 75%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%);
  opacity: 0.3;
}

.diamond-bg .hero-video {
  clip-path: polygon(20% 0%,
      100% 0%,
      100% 100%,
      20% 100%,
      0% 50%);
}

.diamond-bg .hero-diamond {
  display: block;
}

/* NORMAL SLIDES (1,3,5…) */
.hero-bg.normal-bg {
  left: 0;
}

.normal-bg .hero-video {
  width: 100%;
  left: 20%;
  right: 0;
}

.normal-bg .hero-video {
  clip-path: none;
}

.normal-bg .hero-diamond {
  display: none;
}

.normal-bg .overlay {
  left: 0%;
  right: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 0.95) 35%,
      rgba(0, 0, 0, 0.75) 40%,
      rgba(0, 0, 0, 0.65) 45%,
      rgba(0, 0, 0, 0.45) 50%,
      rgba(0, 0, 0, 0.35) 60%,
      rgba(0, 0, 0, 0.25) 80%,
      rgba(0, 0, 0, 0) 100%);
}

.hero-diamond {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 14px;
  height: 14px;
  background: white;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 3;
}

.hero-diamond {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
  }
}

/* PROGRESS BAR */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.hero-progress span {
  height: 100%;
  background: #fff;
  display: block;
  transition: width 0.1s linear;
}

/* SEMICIRCLE NAVIGATION */
.hero-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: 10%;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.hero-nav-item {
  position: relative;
  opacity: 0.5;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s;
  color: #fff;

  padding: 4px 10px;
  border-radius: 999px;
  transition:
    font-size 0.3s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
  width: 10px;
  height: 10px;
}

.hero-nav-item::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(181, 181, 181, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: inherit;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);

  z-index: -1;
  transform: scale(0.95);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-nav-item.active {
  font-size: 18px;
  opacity: 1;
  font-weight: 600;
  width: 25px;
  padding: 4px 20px;
}

.altiaris-form input {
  border-color: #ffffff94 !important;
  border-radius: 0;
}

.altiaris-form button {
  background: #fff !important;
  color: var(--altiaris-primary) !important;
  border-radius: 0;
  width: fit-content;
  padding: 7px 28px;
  align-self: center;
}

/* Hide scrollbar completely */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    padding: 0px;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 48px;
    font-weight: 700;
  }

  .hero-nav {
    bottom: 5%;
  }
}

/* Mobile overrides for hero navigation and progress
   Keep desktop behavior unchanged; below lg (1024px) make
   the existing .hero-nav and .hero-progress flow within content.
*/
@media (max-width: 1023px) {
  .hero-slider {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Place the same .hero-nav inside the normal flow and center it */
  .hero-nav {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 12px !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  /* Keep dot visuals consistent with desktop on mobile */
  /* No size override here so desktop styles remain identical */

  /* Ensure the progress bar flows below the dots and is not absolute */
  .hero-progress {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 4px !important;
    margin-top: 30px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    z-index: 2 !important;
  }

  .hero-progress span {
    height: 100% !important;
    display: block !important;
    transition: width 0.1s linear !important;
  }

  /* Make sure hero-bg/video do not force fixed height on mobile */
  .hero-bg,
  .hero-bg .hero-video,
  .hero-video {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* End Altiaris  */