html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.hero h1 {
  font-size: 48px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.5px;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  margin: 55px auto 16px;

  /* Animation added: */
  animation: fadeSlideUpOnce 2s ease-out forwards;
}

.notfound {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-flow: column nowrap;
  height: 100vh;
  justify-content: center;
  padding: 40px;
}
.notfound img {
  max-width: 700px;

  @media screen and (max-width: 976px) {
    width: 100%;
  }
}
.notfound div {
  text-align: center;
  margin: 20px auto;
}
.notfound h2 {
  font-size: 22px;
  line-height: 28px;
  margin: 0;
}

@keyframes fadeSlideUpOnce {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 29px;
    line-height: 42px;
  }
}

.flip-word-wrapper {
  display: inline-flex;
  align-items: flex-start; /* ensures words align flush to bottom */
  position: relative;
  overflow: hidden;
  vertical-align: baseline;
  /* width: 12ch; */
  height: 55px; /* fine for your current font-size and line-height */
}

@media screen and (max-width: 576px) {
  .flip-word-wrapper {
    height: 36px; /* match mobile line-height */
  }
}

.flip-word {
  display: flex;
  flex-direction: column;
  animation: flipWord 6s infinite ease-in-out; /* 3s per word loop */
}

.word {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  white-space: nowrap;
  text-align: center;
}

@media screen and (max-width: 576px) {
  .word {
    font-size: 29px;
    line-height: 36px;
  }
}

/* Solid colors matching your previous gradients */
.word:nth-child(1) {
  background: linear-gradient(90deg, #00ffc2 0%, #478ec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.word:nth-child(2) {
  background: linear-gradient(90deg, #00ffc2 0%, #478ec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.word:nth-child(3) {
  background: linear-gradient(90deg, #00ffc2 0%, #478ec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes flipWord {
  0%,
  20% {
    transform: translateY(0%);
  }
  33.33%,
  53.33% {
    transform: translateY(-33.333%);
  }
  66.66%,
  86.66% {
    transform: translateY(-66.666%);
  }
  100% {
    transform: translateY(0%);
  }
}

/* Dot Navigation Container with Rounded Gradient Border */
.dot-navigation {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  isolation: isolate;

  @media screen and (max-width: 786px) {
    right: 10px;
  }

  @media screen and (max-width: 576px) {
    right: 5px;
  }
}

/* Gradient Border Effect Using Pseudo Element */
.dot-navigation::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(
    0deg,
    rgba(0, 255, 136, 0.6),
    rgba(0, 180, 255, 0.6)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}

/* Dots */
.dot {
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  border-radius: 50%;
  margin: 6px 0;
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

/* Active Dot */
.dot.active {
  background: linear-gradient(90deg, #478ec0, #51b36c);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-clip: padding-box;
}
.dot-navigation .dot {
  position: relative;
}

.dot-navigation .dot::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -50%;
  right: 20px;
  /* transform: translateX(-50%); */
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: normal;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  width: auto;
}

.dot-navigation .dot:hover::before {
  opacity: 1;
}
@media (max-width: 768px) {
  .dot-navigation .dot::before {
    right: 20px; /* adjust the value to position the tooltip to the left on smaller screens */
  }
}

@media (max-width: 480px) {
  .dot-navigation .dot::before {
    right: 20px; /* adjust the value to position the tooltip to the left on smaller screens */
  }
}

@media (max-width: 320px) {
  .dot-navigation .dot::before {
    right: 20px; /* adjust the value to position the tooltip to the left on smaller screens */
  }
}
/* Demo Page Sections */
.page-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background-color: #f0f0f0;
  border-bottom: 2px solid #ccc;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 110%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay effect */
.video-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
@media screen and (max-width: 976px) {
  .video-bg {
    /* height: 206vh; */
    position: fixed;
    z-index: -2;
  }
}
video::-webkit-media-controls-panel,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

video::-moz-range-track,
video::-moz-range-thumb {
  display: none !important; /* For Firefox volume slider */
}

video::-ms-fill-lower,
video::-ms-fill-upper,
video::-ms-thumb {
  display: none !important; /* For IE/Edge volume slider */
}

/* Header Navbar Styles */
header {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 100px;
  border-radius: 42px;
  padding: 4px;
  background: linear-gradient(rgba(0, 0, 0, 0.9));
  border: 1px solid rgba(71, 142, 192, 0.5);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1024px) {
  header {
    border-radius: 30px;
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  header {
    margin: 20px 30px;
  }
}

.fixed {
  position: fixed;
  z-index: 1000;
  margin: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  border-bottom: 1px solid #478ec0;
  background: linear-gradient(rgba(0, 0, 0, 0.9));
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #fff;
  padding: 2px 12px;
  border-radius: 30px;
  float: left;
}

.logo {
  width: 145px;
  height: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 2px 2px;
  border-radius: 30px;
  cursor: pointer;
  background-clip: padding-box;
}

/* Navigation Links Container */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    height: 0;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    justify-content: left;
    transition: height 0.5s ease, opacity 1s ease, visibility 1s ease;
  }
  .btn-header {
    margin-left: 0;
  }

  .nav-links.show {
    height: auto;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
  }

  .small-screen-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

/* Nav Links Style */
.nav-links a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: white;
  text-decoration: none;
}
.nav-links a svg {
  width: 18px;
  height: 18px;
}
.navbar .nav-link {
  position: relative;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #5da5d8;
}
.navbar a.nav-link:nth-last-child(1):hover {
  color: #ffffff;
}
/* .navbar .nav-link:active,
.navbar .nav-link.active,
.navbar .nav-link:focus {
  color: #478ec0;
} */

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 4px;
  padding: 10px;
  z-index: 100; /* ensure it's clickable above nav */
}

@media screen and (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Cross (X) state when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown */
/* .dropdown {
  position: relative;
  padding: 8px 12px;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: white;
  cursor: pointer;
  font-weight: 500;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 12px 0;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 999;
  flex-direction: column;
}

.dropdown-menu a {
  font-size: 14px;
  padding: 10px 16px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(71, 142, 192, 0.6);
}

.dropdown-toggle:hover {
  color: #337ab7;
  text-decoration: none;
}
.dropdown.active .dropdown-menu {
  display: flex;
}
.dropdown-toggle {
  text-decoration: none !important;
  border: none;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-bottom 0.2s ease-in-out;
}
@media (max-width: 1024px) {
  .dropdown-menu {
    position: static;
    margin-top: 0;
    box-shadow: none;
    padding: 0%;
    background: rgba(0, 0, 0, 0.7);
  }

  .dropdown-menu a {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    line-height: 124%;
  }
}

.dropdown-toggle i {
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
} */

/* Chevron Icon Consistent */
.lucide.lucide-chevron-right {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Contact Button */
.btn-header {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  background-image: linear-gradient(90deg, #478ec0, #51b36c);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: white;
  font-weight: 600;
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.btn-header:hover {
  background: #478ec0;
  box-shadow: 0 4px 12px rgba(71, 142, 192, 0.4);
}

.btn-header:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(71, 142, 192, 0.4);
}

/* hero section */
.hero {
  /* padding: 80px;
  padding-top: 100px; */
  text-align: center;
  padding: clamp(60px, 8vw, 80px) clamp(20px, 5vw, 80px);

  @media screen and (max-width: 576px) {
    padding: 80px 30px;
    position: unset;
    z-index: 6;
    margin-top: unset;
  }
}

.hero p,
.hero .highlight {
  font-size: clamp(20px, 2vw, 28px);
  line-height: clamp(24px, 2.4vw, 36px);
}
.hero p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  color: #f4f4f4;
  margin: 10px 0 20px;
}
@media screen and (max-width: 576px) {
  .hero p {
    font-size: 20px;
    line-height: 24px;
  }
  .hero .highlight {
    font-size: 20px;
    line-height: 24px;
  }
}
@keyframes fadeInUpWord {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p,
.hero .highlight {
  opacity: 0;
  font-size: clamp(16px, 4vw, 24px);
  line-height: 1.4;
  margin: 0 0 16px 0;
  text-align: center;
}

.hero p.animate-fade-in-up,
.hero .highlight.animate-fade-in-up {
  animation: fadeInUpWord 1.2s ease forwards;
  animation-delay: 0.2s; /* adjust as you like */
}

.hero .highlight {
  background: linear-gradient(90deg, #478ec0 0%, #00ffc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 22px;
  line-height: 24px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* Center them horizontally */
  gap: 20px;
  /* Space between the two buttons */
  margin: 24px auto 0;

  @media screen and (max-width: 500px) {
    flex-direction: column;
  }
}

/* === Primary Button === */
.btn-primary {
  width: 189px;
  height: 40px;
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, #478ec0, #51b36c);
  border: none;
  color: white;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #478ec0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 142, 192, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(71, 142, 192, 0.4);
}

/* === Secondary Button === */
.btn-secondary {
  position: relative;
  padding: 10px 20px;
  height: 40px;
  width: 205px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: white;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(71, 142, 192, 0.5),
    rgba(81, 179, 108, 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  color: #51b36c;
  transform: translateY(-2px);
}

.btn-secondary:hover::before {
  background: linear-gradient(
    90deg,
    rgba(71, 142, 192, 0.8),
    rgba(81, 179, 108, 0.8)
  );
}

.btn-secondary:active {
  color: #43a047;
  transform: translateY(0);
}

.btn-secondary:active::before {
  background: linear-gradient(
    90deg,
    rgba(71, 142, 192, 1),
    rgba(81, 179, 108, 1)
  );
}

.hero-buttons {
  opacity: 0;
  pointer-events: none;
  transform: translateX(200px);
  transition: opacity 0.4s ease, transform 0.8s ease;
}

.hero-buttons.animate-buttons {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  animation: bounceInRight 2s ease forwards;
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(200px);
  }
  60% {
    opacity: 1;
    transform: translateX(-20px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}

.cards {
  display: grid;
  width: 100%;
  max-width: 100vw;
  margin-top: 40px;
  padding: 16px;
  margin: 0;
  box-sizing: border-box;
  grid-row: 2;
  position: relative;
  z-index: 1;

  /* Ultra responsive grid that adapts to any screen size */
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(280px, calc(100vw - 32px)), 1fr)
  );
  gap: clamp(8px, 2vw, 16px);
}

/* Desktop: 3 columns when space allows */
@media screen and (min-width: 1200px) {
  .cards {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 48px);
  }
}

/* Large tablets: 3 columns */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 20px 80px;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Medium tablets: 3 columns */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px 60px;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
  }
}

/* Small tablets and large phones: 1 column */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .cards {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Mobile: 1 column */
@media screen and (max-width: 479px) {
  .cards {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
    max-width: 100%;
    margin: 0;
  }
}

/* Ultra-wide screens */
@media screen and (min-width: 1600px) {
  .cards {
    max-width: 1600px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 32px;
    bottom: 20px;
    position: absolute;
  }
}

@media screen and (min-width: 1840px) {
  .cards {
    position: unset;
  }
  .hero {
    position: unset;
    margin: unset;
  }
}

.word {
  background: linear-gradient(90deg, #00ffc2 0%, #478ec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  @media screen and (max-width: 500px) {
    flex-direction: column;
  }
}

/* Card Styling - Enhanced for zero overlap */
.card {
  position: relative;
  background: linear-gradient(#000000b2, #000000b2) padding-box,
    linear-gradient(180deg, rgba(71, 142, 192, 0.5), rgba(33, 67, 90, 0.15))
      border-box;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: auto; /* Ensures height adjusts based on content */
  min-height: 202px;
  max-height: none;
  gap: 8px;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  overflow: hidden;
  word-wrap: break-word;
  hyphens: auto;
}

@media screen and (min-width: 768px) {
  .card {
    padding: 20px;
    gap: 10px;
    /* min-height: 140px; */
  }
}

.card:hover {
  background-image: linear-gradient(#111827, #111827),
    linear-gradient(0deg, rgba(71, 142, 192, 0.5), rgba(33, 67, 90, 0.15));
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 768px) {
  .card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
}

/* Card Animation */
.card.animate-slide-in {
  animation: cardSlideInRight 1.2s ease forwards;
  animation-delay: var(--slide-delay, 0s);
}

@keyframes cardSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Card Content - Improved text handling */
.card h2 {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #51b36c;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  flex: 0 0 auto;
}

.card h2 svg {
  stroke: #478ec0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

@media screen and (min-width: 768px) {
  .card h2 svg {
    width: 28px;
    height: 28px;
    margin-top: 0;
  }
}

.card:hover h2 svg {
  transform: translate(4px, -4px);
}

.card p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 1.5vw, 13px);
  line-height: clamp(16px, 2vw, 20px);
  letter-spacing: 0;
  color: #d1d5db;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  flex: 1;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Utility classes for preventing overflow */
.no-overflow {
  overflow: hidden;
}

.container-fluid {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero p,
.hero .highlight {
  font-size: clamp(20px, 2vw, 28px);
  line-height: clamp(24px, 2.4vw, 36px);
}
.hero-associate-wrapper {
  position: relative;
  z-index: 0;
  width: 100%;
  overflow: hidden;
}

#top {
  position: relative;
  width: 100%;
  box-shadow: inset 20000px 0 580px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
/* bixtree hero section */

.heros {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: clamp(40px, 5vw, 80px);
  max-height: 100vh;
  overflow: hidden;
  gap: clamp(40px, 5vw, 100px);
  flex-wrap: wrap;
  background: radial-gradient(circle, #071731 39%, #030910 100%);
}

/* Shift .heros-left slightly more to the left */
.heros-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
  background: rgba(0, 0, 0, 0.2);
  transform: translateX(-30px);

  /* Fixed size for large screens */
  width: 392px;
  min-height: 268px;
}

/* === Responsive Adjustments === */
@media screen and (max-width: 768px) {
  .heros-left {
    width: 90%; /* Fill most of the screen */
    height: auto; /* Let content define height */
    max-width: 340px; /* Prevent it from becoming too wide */
    transform: translateX(0); /* Optional: Reset shift for small screens */
  }
}

@media screen and (max-width: 480px) {
  .heros-left {
    padding: 16px;
    max-width: 95%;
  }
}

/* Expand .heros-right and nudge toward center */
.heros-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  z-index: 3;
  max-width: 700px; /* increased width */
  transform: translateX(-30px); /* nudged toward center */
}

.heros-logo {
  width: clamp(150px, 20vw, 162px);
  margin: 0;
  animation: rotate-logo 10s linear infinite;
  transform-origin: center center;
  display: block;
}

@keyframes rotate-logo {
  0% {
    transform: rotate(0deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(1.5);
  }
}

.heros-tagline {
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 500;
  font-family: "Inter", sans-serif;

  background: linear-gradient(90deg, #00ffc2 0%, #478ec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.heros h1 {
  font-size: clamp(24px, 5vw, 48px); /* ✅ updated for responsiveness */
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  font-family: "Inter", sans-serif;
  margin-top: 5px;
  margin-bottom: 10px;
}
.heros h1 {
  font-size: 48px;
}

@media screen and (max-width: 768px) {
  .heros h1 {
    font-size: 36px;
  }
}

@media screen and (max-width: 480px) {
  .heros h1 {
    font-size: 28px;
  }
}

/* Background globe styling */
.rotating-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  filter: brightness(2) contrast(2) saturate(15)
    drop-shadow(0 0 20px rgba(0, 255, 200, 0.4));
}

.rotating-bg img {
  width: clamp(300px, 60vw, 600px);
  height: auto;
  animation: rotateGlobe 50s linear infinite;
}
@keyframes rotateGlobe {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.heros-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 6vw, 80px);
  flex-wrap: wrap;
  width: 100%;
  padding-top: 60px;
}
.heros-brand {
  color: #ffffff;
  font-size: 40px;
  font-weight: 600;
  margin: 0px;
  text-align: center;
  font-family: "Inter", sans-serif;
  letter-spacing: 1px;
}
.cta-button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  opacity: 1;
  pointer-events: none;
  transform: translateX(200px);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.cta-button-group.animate-buttons {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  animation: bounceInRight 2s ease forwards;
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(200px);
  }
  60% {
    opacity: 1;
    transform: translateX(-20px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}

/* === Primary CTA Button === */
.btn-cta-primary {
  width: 189px;
  height: 40px;
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, #478ec0, #51b36c);
  border: none;
  color: white;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: #478ec0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 142, 192, 0.4);
}

.btn-cta-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(71, 142, 192, 0.4);
}

/* === Secondary CTA Button === */
.btn-cta-secondary {
  position: relative;
  padding: 10px 20px;
  height: 40px;
  width: 205px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: white;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-cta-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(71, 142, 192, 0.5),
    rgba(81, 179, 108, 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}

.btn-cta-secondary:hover {
  color: #51b36c;
  transform: translateY(-2px);
}

.btn-cta-secondary:hover::before {
  background: linear-gradient(
    90deg,
    rgba(71, 142, 192, 0.8),
    rgba(81, 179, 108, 0.8)
  );
}

.btn-cta-secondary:active {
  color: #43a047;
  transform: translateY(0);
}

.btn-cta-secondary:active::before {
  background: linear-gradient(
    90deg,
    rgba(71, 142, 192, 1),
    rgba(81, 179, 108, 1)
  );
}

/* === Responsive Layout for Small Screens === */
@media screen and (max-width: 500px) {
  .cta-button-group {
    flex-direction: column;
  }
}

.circle-pattern {
  position: fixed;
  z-index: 1;
  top: 50%;
  margin-top: -200px;
  left: -200px;
  pointer-events: none;
  animation: rotate 10s linear infinite;
}

@media screen and (max-width: 576px) {
  .circle-pattern {
    animation: rotate 20s linear infinite;
    margin-top: -150px;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.circle-logo {
  width: 400px;
  height: 400px;
  position: relative;
  z-index: 1;

  @media screen and (max-width: 576px) {
    width: 300px;
    height: 300px;
  }
}

/* assosiate section */

.association-section {
  text-align: center;
  padding: 80px;
  background: #e5e7ea;
  background-image: url("../images/dot.webp");
  background-size: 10px 10px;
  background-repeat: repeat;

  @media screen and (max-width: 786px) {
    padding: 80px 40px;
  }

  @media screen and (max-width: 576px) {
    padding: 50px 30px;
  }
}
.association-section-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1440px; /* or 1200px / 1280px based on your design system */
  margin-left: auto;
  margin-right: auto;
}
.association-section h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 40px;
  letter-spacing: 0%;
  text-align: center;
  color: #1f2937;
  margin-bottom: 8px;
  margin: 0;
  animation: fadeSlideUpOnce 1s ease-out forwards;
}

@keyframes fadeSlideUpOnce {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.association-section p {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  color: #4b5563;
  /* Optional: soft gray for clarity */
  margin-bottom: 32px;
}

.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 10px 20px;
  border-radius: 80px;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  gap: 30px;
  overflow: hidden;
}

.logo-container img {
  width: clamp(100px, 12vw, 150px);
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transform-origin: center;
  opacity: 1;
}

.logo-container img.animate-slide-in {
  animation: cardSlideInRight 1.2s ease forwards;
  animation-delay: var(--slide-delay, 0s);
}

@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    border-radius: 12px;
    gap: 20px;
  }
}

.logo-container img.small-logo {
  width: clamp(70px, 9vw, 100px);
  max-height: 77px;
}

.logo-container img.big-logo {
  width: clamp(100px, 10vw, 160px);
  max-height: 80px;
  object-fit: cover;
}

/* about section */
.about-left .about-card {
  cursor: pointer;
}

.about-section {
  position: relative;
  padding: 80px 100px;
  /* max-width: 1200px; */
  margin: 0 auto;
  color: white;
  font-family: "Inter", sans-serif;
  position: relative;
  background-color: #1c2732;
  background-image: url("../images/about-bg.webp");
  /* Replace with actual image path */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  overflow: hidden;

  @media screen and (max-width: 576px) {
    padding: 50px 30px;
  }
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* Adjust opacity here */
  z-index: 1;
}

.about-section > * {
  position: relative;
  z-index: 2;
}

.line-circle {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1;
}

.circle1,
.circle2,
.circle3,
.circle4 {
  border-radius: 50%;
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.circle1 {
  width: 98.67px;
  height: 98.67px;
  transform: translate(0, -10%);
}

.circle2 {
  width: 164.44px;
  height: 164.44px;
  transform: translate(-20%, -25%);
}

.circle3 {
  width: 230.22px;
  height: 230.22px;
  transform: translate(-25%, -30%);
}

.circle4 {
  width: 296px;
  height: 296px;
  transform: translate(-30%, -35%);
}

.about-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 48px;
  text-align: center;
  background: linear-gradient(90deg, #478ec0 30%, #51b36c 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.about-subtitle {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
  color: #e5e7eb;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 4;
  max-width: 1400px;
  margin: 0 auto; /* this centers the container horizontally */

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.about-left {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  height: 352px;

  /* allows them to break into multiple rows if needed */
  flex-direction: column;
  /* gap: 16px; */
}

.about-card {
  position: relative;
  background: linear-gradient(#111827, #111827) padding-box,
    linear-gradient(90deg, rgba(71, 142, 192, 0.5), rgba(33, 67, 90, 0.15))
      border-box;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 20px;
  width: 324px;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  transition: background-image 0.4s ease;
  z-index: 2;
  overflow: visible;

  @media screen and (max-width: 768px) {
    width: auto;
  }
}

.about-card:hover {
  background-image: linear-gradient(#111827, #111827),
    linear-gradient(270deg, rgba(71, 142, 192, 0.5), rgba(33, 67, 90, 0.15));
}

.about-card:hover,
.about-card.active {
  background-image: linear-gradient(#111827, #111827),
    linear-gradient(270deg, rgba(71, 142, 192, 0.5), rgba(33, 67, 90, 0.15));
}

.about-card:hover .circle-icon,
.about-card.active .circle-icon {
  background: linear-gradient(90deg, #478ec0, #51b36c);
}

.about-card:hover .circle-icon i,
.about-card.active .circle-icon i {
  color: #000000e5;
}

.circle-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 8px;
  background: #478ec033;
  /* Light transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.circle-icon i {
  color: var(--Color-Primary-Primary-700, #478ec0);
  font-size: 16px;
  transition: color 0.3s ease;
}

/* Hover effect on the parent .about-card */
.about-card:hover .circle-icon {
  background: linear-gradient(90deg, #478ec0, #51b36c);
  /* Bright gradient on hover */
}

.about-card:hover .circle-icon i {
  color: #000000e5;
}

.about-card i {
  font-size: 20px;
  color: #478ec0;
}

.about-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #51b36c;
}

.about-card p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #ffffffe5;
  line-height: 16px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* On scroll reveal */
.about-right.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes flipIn {
  0% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  60% {
    transform: rotateX(20deg);
    opacity: 1;
  }
  100% {
    transform: rotateX(0);
    opacity: 1;
  }
}

@keyframes typeFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-card {
  opacity: 0; /* start hidden */
  transform: translateX(-30px);
}

.about-card.animate-slide-in {
  animation: aboutSlideIn 1s ease forwards;
  animation-delay: var(--slide-delay, 0s);
}

@keyframes aboutSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.right-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  text-align: left;
  color: #478ec0;
  margin: 0;
  opacity: 0;
}

.right-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffffe5;
  margin: 0;
  opacity: 0;
}

.about-right.visible .right-title {
  animation: flipIn 0.8s ease forwards;
}

.about-right.visible .right-desc {
  animation: typeFadeIn 0.8s ease forwards;
  animation-delay: 0.4s;
}

@keyframes bounceInInfo {
  0% {
    transform: scale(0.8) translateY(30px);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) translateY(-10px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.about-right.animate-on-click {
  animation: bounceInInfo 0.8s ease forwards;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffffe5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-list li i {
  color: #51b36c;
}

.circle1,
.circle2,
.circle3,
.circle4 {
  animation: floatCircle 8s ease-in-out infinite alternate;
}

@keyframes floatCircle {
  0% {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-15%, -15%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.7;
  }
}
.about-card {
  opacity: 0;
  transform: translateY(30px); /* slightly more drift for elegance */
  transition: opacity 1.5s ease, transform 1.5s ease; /* slower fade */
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-card:hover {
  transform: scale(1.03); /* slightly increased for a richer hover feel */
  transition: transform 0.8s ease, background-image 0.5s ease;
}

#snake-container.hidden {
  opacity: 0;
  pointer-events: none;
}

#snake-container {
  position: absolute;
  top: 0;
  border-radius: 12px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.snake-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #ffffff, #00bfff);
  border-radius: 50%;
  box-shadow: 0 0 8px #00bfff, 0 0 12px #00bfff, 0 0 18px #00bfff;
  opacity: 0.8;
  z-index: 20;
  offset-path: path("M 0 0 L 324 0 L 324 88 L 0 88 Z");
  animation: snakeBorderMove 50s linear infinite, starSparkle 2s linear infinite;
}

@keyframes snakeBorderMove {
  to {
    offset-distance: 100%;
  }
}

@keyframes starSparkle {
  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 0 6px #00bfff, 0 0 10px #00bfff, 0 0 14px #00bfff;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px #ffffff, 0 0 16px #00e5ff, 0 0 22px #00bfff;
  }
}

@keyframes snakeBorderMove {
  0% {
    top: 0%;
    left: 0%;
  }
  5% {
    top: 0%;
    left: 0%;
  } /* pause */
  10% {
    top: 0%;
    left: 100%;
  }
  15% {
    top: 25%;
    left: 100%;
  }
  20% {
    top: 25%;
    left: 0%;
  }
  25% {
    top: 50%;
    left: 0%;
  }
  30% {
    top: 50%;
    left: 100%;
  }
  35% {
    top: 75%;
    left: 100%;
  }
  40% {
    top: 75%;
    left: 0%;
  }
  45% {
    top: 100%;
    left: 0%;
  }
  50% {
    top: 100%;
    left: 100%;
  }
  55% {
    top: 100%;
    left: 100%;
  } /* pause */
  60% {
    top: 100%;
    left: 0%;
  }
  65% {
    top: 75%;
    left: 0%;
  }
  70% {
    top: 75%;
    left: 100%;
  }
  75% {
    top: 50%;
    left: 100%;
  }
  80% {
    top: 50%;
    left: 0%;
  }
  85% {
    top: 25%;
    left: 0%;
  }
  90% {
    top: 25%;
    left: 100%;
  }
  95% {
    top: 0%;
    left: 100%;
  }
  100% {
    top: 0%;
    left: 0%;
  }
}
/* bixtree four key section */
.about-bixtree {
  background: linear-gradient(#000 40%);

  padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 60px);
  text-align: center;
  color: #e0f2f1;
  font-family: "Inter", sans-serif;
}

.about-heading {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 600;
  margin-bottom: 30px;
  margin-top: 0px;
  color: #fff;
}

.about-heading span {
  background: linear-gradient(90deg, #478ec0, #00ffc2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.about-description {
  max-width: 1200px;
  margin: 0 auto;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
  color: #d1d5db;
}

/* Core Components Section */
.core-components {
  background-color: #e5e7ea;
  background-image: url("../images/dot.webp");
  background-size: 10px 10px;
  background-repeat: repeat;
  padding: clamp(40px, 5vw, 80px);
  text-align: center;
  font-family: "Inter", sans-serif;
}

/* Title */
.core-title {
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 600;
  margin-bottom: 40px;
  margin-top: 0;
  color: #0f172a;
  padding: 0 1rem;
}

.core-title span {
  font-size: clamp(24px, 6vw, 44px);
  background: linear-gradient(90deg, #478ec0, #51b36c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Responsive Grid Layout */
.core-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  justify-items: center;
}

/* 2 cards on medium screens */
@media (min-width: 600px) {
  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 4 cards on large screens */
@media (min-width: 1024px) {
  .core-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card Styling */
.core-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  width: 100%;
  min-height: 346px;
  box-sizing: border-box;
}

.core-card:hover {
  border-color: transparent;
  box-shadow: 0 0 10px 2px rgba(72, 142, 192, 0.6);
  transform: translateY(-5px);
}

/* Icon */
.core-icon {
  width: 64px; /* Increased size */
  height: 64px;
  margin: 0 auto 16px; /* Center horizontally + bottom spacing */
  display: block; /* Ensures margin auto works */
}

/* Card Title */
.core-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1e293b;
  text-align: center;
}

/* List */
.core-card ul {
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #4d5461;
  font-size: 14px;
  line-height: 1.6;
}

/* Small screen improvements */
@media (max-width: 400px) {
  .core-card {
    padding: 16px;
  }

  .core-card h3 {
    font-size: 16px;
  }

  .core-card ul {
    font-size: 13px;
    padding-left: 1rem;
  }

  .core-icon {
    width: 32px;
    height: 32px;
  }
}

/* ai-segment */

/* Show section when visible */
/* .enabling-AI.visible {
  opacity: 1;
  pointer-events: auto;
} */
/* Section heading */
.ai-header {
  text-align: center;
  display: block;
  padding: 0 1rem;
  width: 100%; /* Ensure it takes full width */
  position: absolute; /* Position it relative to the section */
  top: 60px;
  z-index: 5; /* Ensure it's above the background but below other elements if needed */
}

.ai-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #478ec0 0%, #51b36c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For Firefox */
  color: transparent;
}

.ai-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #ddd;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .ai-header {
    top: 40px;
  }
  .ai-title {
    font-size: 36px;
  }
  .ai-subtitle {
    font-size: 1rem;
  }
}

.enabling-AI {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 1;
  transition: opacity 0.8s ease;
  position: relative;

  /* Fixed & responsive height */
  height: clamp(850px, 80vh, 700px);

  /* Solid base color + gradient overlay */
  background: #1b4064
    radial-gradient(
      circle,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.8) 100%
    );

  margin: 0;
  padding: clamp(40px, 8vh, 80px) clamp(20px, 8vw, 100px);
  box-sizing: border-box;
  pointer-events: auto;
}

.number-circle1,
.number-circle2,
.number-circle3,
.number-circle4 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px; /* Circle size */
  height: 50px;
  border-radius: 50%;
  background: transparent; /* Inside transparent */
  color: #fff; /* Text color */
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.number-circle1 {
  border: 2px solid #82abc0; /* Stroke color */
}
.number-circle2 {
  border: 2px solid #c6581d; /* Stroke color */
}
.number-circle3 {
  border: 2px solid #31a8cd; /* Stroke color */
}
.number-circle4 {
  border: 2px solid #892199; /* Stroke color */
}
/* Adjusted content positions to match arrows */
.ai-content {
  position: absolute;
  font-size: 22px;
  color: white;
  font-weight: bold;
  z-index: 200; /* On top of arrows */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words if needed */
  max-width: 165px; /* Limit width so it wraps nicely */
  text-align: left;
}
.ai-content small {
  font-size: 12px;
  line-height: 1.4;
  display: block;
  margin-top: 4px;
  font-weight: normal;
  color: #ddd; /* optional for softer look */
}
.top-left {
  top: -350px;
  left: -130px; /* Near arrow1's position */
}
.top-right {
  top: -350px;
  right: -225px;
}
.mid-left {
  top: -50%;
  left: -335px; /* Far left of circle */
  transform: translateY(-50%);
}
.mid-right {
  top: -50%;
  right: -380px; /* Far right of circle */
  transform: translateY(-50%);
}
.top-left,
.top-right,
.mid-left,
.mid-right {
  position: absolute;
  opacity: 0; /* Hidden initially */
  transform: scale(0.8);
}

/* Animation keyframes */
@keyframes arrowEnter {
  0% {
    transform: translateY(-50px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* When 'animate' class is added, start animation */
.animate.top-left {
  animation: zoomInOut 1s ease-out forwards;
  animation-delay: 1.5s;
}
.animate.top-right {
  animation: zoomInOut 1s ease-out forwards;
  animation-delay: 2s;
}
.animate.mid-left {
  animation: zoomInOut 1s ease-out forwards;
  animation-delay: 0.5s;
}
.animate.mid-right {
  animation: zoomInOut 1s ease-out forwards;
  animation-delay: 2.5s;
}
@keyframes zoomInOut {
  0% {
    opacity: 0;
    transform: scale(0.5); /* start small */
  }
  50% {
    opacity: 1;
    transform: scale(1.1); /* slight overshoot */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* settle at normal size */
  }
}

.ai-container {
  position: relative;
  width: 200px;
  height: 200px;
}

/* .ai-circle {
  width: 200px;
  height: 200px;
  background: linear-gradient(90deg, #478ec0 0%, #51b36c 100%);
  border-radius: 50%;
  position: relative;
  z-index: 99;
  box-shadow: inset 0px 0px 80px rgba(0, 0, 0, 0.95),
    inset 0px 0px 20px rgba(0, 0, 0, 0.55);

  display: flex;
  justify-content: center;
  align-items: center;

  transition: box-shadow 1s;
}

.ai-circle:hover {
  transform: translateY(-20px) rotateX(10deg) rotateY(-6deg) scale(1.05);
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.95);
}

.ai-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 191, 255, 0.6),
    rgba(0, 191, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.3, 1) 0.05s;
  pointer-events: none;
}

.ai-circle:hover::before {
  opacity: 1;
}

.ai-circle-text {
  text-align: center;
  color: #fff; 
  font-size: 1.2rem; 
  font-family: "Inter", sans-serif;
  z-index: 100;
  position: relative;
  transform: translateZ(20px);
  pointer-events: none; 
}

.ai-circle-text span {
  font-weight: 600;
  font-size: 60px; 
  display: block;
  transform: translateZ(20px);
}

@keyframes scaleUp {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
} */
.ai-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;

  /* keep original color */
  background: linear-gradient(90deg, #478ec0 0%, #51b36c 100%);

  /* 3D effect with balanced inner shadows */
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.6),
    /* even inner shadow */ inset 0 10px 25px rgba(0, 0, 0, 0.5),
    /* top shading for depth */ 0 15px 30px rgba(0, 0, 0, 0.6),
    /* outer shadow */ 0 5px 20px rgba(0, 0, 0, 0.4); /* soft bottom shadow */

  transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.25, 1, 0.3, 1);

  transform-style: preserve-3d;
  perspective: 1000px;

  /* subtle floating motion */
  animation: orbFloat 6s ease-in-out infinite;
}

/* hover effect (zoom + tilt) */
.ai-circle:hover {
  animation: none;
  transform: translateY(-10px) scale(1.08) rotateX(6deg) rotateY(-5deg);
  box-shadow: inset -20px -20px 50px rgba(0, 0, 0, 0.7),
    inset 15px 15px 35px rgba(255, 255, 255, 0.25),
    0 28px 50px rgba(0, 0, 0, 0.9);
}

/* glow aura */
.ai-circle::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.35), transparent 75%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ai-circle:hover::before {
  opacity: 1;
}

/* text */
.ai-circle-text {
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  font-family: "Inter", sans-serif;
  z-index: 100;
  position: relative;
  transform: translateZ(35px);
  pointer-events: none;
}

.ai-circle-text span {
  font-weight: 700;
  font-size: 58px;
  display: block;
  transform: translateZ(35px);
}

/* idle float */
@keyframes orbFloat {
  0% {
    transform: scale(1) translateY(0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: scale(1.03) translateY(-6px) rotateX(1deg) rotateY(1deg);
  }
  50% {
    transform: scale(1) translateY(0) rotateX(-1deg) rotateY(-1deg);
  }
  75% {
    transform: scale(1.03) translateY(6px) rotateX(1deg) rotateY(-1deg);
  }
  100% {
    transform: scale(1) translateY(0) rotateX(0deg) rotateY(0deg);
  }
}

.arrows {
  position: relative;
  top: -400px;
  left: -100px;
  width: 400px;
  height: 400px;
  transform-origin: center;
  animation-fill-mode: forwards;
  z-index: 3;
}

.arrow {
  position: absolute;
  width: 400px;
  height: 400px;
}

.arrow1 img {
  width: 274px;
  animation: scaling 1s ease-in-out forwards;
  animation-delay: 1s;
  opacity: 0;
}
.arrow1 {
  z-index: 9;
  display: flex;
  align-items: end;
}
.arrow2 img {
  width: 241px;
  animation: scaling 1.2s ease-in-out forwards;
  animation-delay: 1.5s;
  opacity: 0;
}
.arrow2 {
  z-index: 8;
  display: flex;
  align-items: end;
}
.arrow3 img {
  width: 285px;
  animation: scaling 1.5s ease-in-out forwards;
  animation-delay: 2s;
  opacity: 0;
}
.arrow3 {
  z-index: 7;
  display: flex;
  align-items: end;
}
.arrow4 img {
  width: 388px;
  animation: scaling 2s ease-in-out forwards;
  animation-delay: 2.5s;
  opacity: 0;
}
.arrow4 {
  z-index: 6;
  display: flex;
  align-items: end;
}

@keyframes scaling {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(90deg);
    opacity: 100%;
  }
}
.arrow1 img,
.arrow2 img,
.arrow3 img,
.arrow4 img {
  opacity: 0;
  animation: none;
  transition: opacity 0.3s;
}

.animate-arrow1 img {
  opacity: 1;
  animation: scaling 1.2s ease-out forwards;
  animation-delay: 0s;
}
.animate-arrow2 img {
  opacity: 1;
  animation: scaling 1.2s ease-out forwards;
  animation-delay: 0s;
}
.animate-arrow3 img {
  opacity: 1;
  animation: scaling 1.2s ease-out forwards;
  animation-delay: 0s;
}
.animate-arrow4 img {
  opacity: 1;
  animation: scaling 1.2s ease-out forwards;
  animation-delay: 0s;
}
/* Position arrows at 90 degree intervals around the circle */
.arrow1 {
  transform: translateY(12%) translateX(-45%) rotate(260deg);
}
.arrow2 {
  transform: translateY(-13%) translateX(-23%) rotate(260deg);
}
.arrow3 {
  transform: translateY(-15%) translateX(0%) rotate(270deg);
}
.arrow4 {
  transform: translateY(6%) translateX(7%) rotate(270deg);
}

/* Large desktop */
@media (min-width: 1441px) and (max-width: 1920px) {
  .enabling-AI {
    padding: 50px 70px;
  }
  .ai-content {
    font-size: 20px;
  }
  .ai-content small {
    font-size: 14px;
  }
}

/* Laptops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .enabling-AI {
    padding: 50px 60px;
  }
  .ai-content {
    font-size: 16px;
  }
  .ai-content small {
    font-size: 14px;
  }
}
/* Mobile (your existing code) */
@media (max-width: 1024px) {
  /* Hide arrows */
  /* .arrow1,
  .arrow2,
  .arrow3,
  .arrow4, */
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -51px;
    left: 31%;
    margin-left: -48px;
  }
  /* Stack layout for AI section */
  .enabling-AI {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* min-height: 140vh; */
    padding: 300px 40px 60px;
    box-sizing: border-box;
    height: auto;
  }
  .animate.top-left {
    animation: zoomInOut 1s ease-out forwards;
    animation-delay: 1s;
  }
  .animate.top-right {
    animation: zoomInOut 1s ease-out forwards;
    animation-delay: 1.5s;
  }
  .animate.mid-left {
    animation: zoomInOut 1s ease-out forwards;
    animation-delay: 0.5s;
  }
  .animate.mid-right {
    animation: zoomInOut 1s ease-out forwards;
    animation-delay: 2s;
  }

  .ai-container {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ai-circle {
    width: 160px;
    height: 160px;
    margin-bottom: 95px;
    position: static;
    z-index: 4;
  }

  /* All content below the circle, stacked */
  .ai-content {
    position: static;
    display: block;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 20px;
    min-width: 420px;
    margin-bottom: 36px;
    text-align: left;
    z-index: 2;
  }

  .ai-content small {
    font-size: 18px;
    line-height: 1.3;
  }

  /* Number circles beside each content */
  .number-circle1,
  .number-circle2,
  .number-circle3,
  .number-circle4 {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    font-size: clamp(16px, 0.9vw, 14px);
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  /* Adjust AI text */
  .ai-circle-text span {
    font-size: 42px;
  }
}

/* Tablets */
/* Large desktop */
/* @media (min-width: 1441px) and (max-width: 1920px) {
  .enabling-AI {
    min-height: 65vh;
    height: clamp(120vh, 80vh, 800px);
    padding: 50px 70px;
  }
} */

/* Tablets */
@media (min-width: 900px) and (max-width: 1020px) {
  .enabling-AI {
    height: auto;
    flex-wrap: wrap;
    /* padding: 100px 50px; */
  }
}
/* Small laptops/tablets */
@media (max-width: 900px) and (min-width: 800px) {
  .enabling-AI {
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* padding: 80px 40px; */
    box-sizing: border-box;
  }
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -39px;
    left: -56%;
    margin-left: -48px;
  }
  .ai-content {
    font-size: 19px; /* Slightly smaller than desktop */
    max-width: 150px; /* Keep text wrapping clean */
    padding: 6px;
    text-align: left; /* Works better when spacing gets tighter */
    line-height: 1.35; /* Balanced spacing for readability */
  }
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -37px;
    left: 243px;
  }
}
@media (min-width: 700px) and (max-width: 800px) {
  .ai-container {
    width: 150px;
    /* height: 150px; */
  }
  /* .ai-circle {
    width: 160px;
    min-height: 160px;
  } */
  .ai-content {
    font-size: 18px;
  }
  .ai-content small {
    font-size: 15px;
  }
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -39px;
    left: -59%;
    margin-left: -48px;
  }
}
@media (max-width: 680px) and (min-width: 500px) {
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -39px;
    left: 24%;
    margin-left: -48px;
  }
  .ai-circle {
    width: 150px;
    min-height: 150px;
    /* margin-bottom: 25px;
  } */
    .ai-container {
      width: 150px;
      margin-bottom: 25px;
    }
    .ai-content {
      font-size: 14px;
      min-width: 300px;
      margin-bottom: 26px;
    }
    .ai-content small {
      font-size: 12px;
    }
    .ai-circle-text span {
      font-size: 28px;
    }
    .number-circle1,
    .number-circle2,
    .number-circle3,
    .number-circle4 {
      width: 28px;
      height: 28px;
      font-size: clamp(10px, 0.8vw, 12px);
      margin-bottom: 4px;
    }
  }
}
/* Smaller mobile tweak */
@media (max-width: 500px) {
  .enabling-AI {
    height: auto;
    /* padding: 60px 20px; */
  }
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -54px;
    left: 23px;
  }
  .ai-circle {
    width: 150px;
    height: 150px;
    /* margin-bottom: 25px; */
  }

  .ai-container {
    /* width: 150px; */
    margin-bottom: 25px;
    height: auto;
  }
  .ai-content {
    font-size: 18px;
    min-width: 300px;
    margin-bottom: 26px;
  }
  .ai-content small {
    font-size: 14px;
  }
  .ai-circle-text span {
    font-size: 28px;
  }
  .number-circle1,
  .number-circle2,
  .number-circle3,
  .number-circle4 {
    width: 28px;
    height: 28px;
    font-size: clamp(10px, 0.8vw, 12px);
    margin-bottom: 4px;
  }
}

/* Extra small mobile tweak */
@media (max-width: 390px) {
  .enabling-AI {
    height: auto;
  }
  .ai-circle {
    width: 150px;
    height: 150px;
  }
  .ai-container {
    width: 150px;
    height: auto;
  }
  .ai-content {
    font-size: 14px;
    min-width: 280px;
    margin-bottom: 32px;
  }
  .ai-circle-text span {
    font-size: 18px;
  }
  .number-circle1,
  .number-circle2,
  .number-circle3,
  .number-circle4 {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .arrows {
    position: absolute;
    transform: rotateX(180deg) scale(0.65);
    top: -54px;
    left: -94px;
  }
}

/* fade-in-up animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* flip section  */
.flip-section {
  background: linear-gradient(135deg, #111827, #1f2937);
  padding: 80px 40px;
  color: #fff;
  text-align: center;
}

.flip-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #00e5ff;
}

.flip-title span {
  color: #ff4081;
}

.flip-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Exactly 4 cards per row */
  gap: 30px;
  justify-items: center;
  max-width: 1200px;
  margin: auto;
}

@media screen and (max-width: 992px) {
  .flip-card-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
  }
}

@media screen and (max-width: 576px) {
  .flip-card-grid {
    grid-template-columns: 1fr; /* 1 card per row on small screens */
  }
}

.flip-card {
  background: transparent;
  width: 100%;
  max-width: 280px;
  height: 340px;
  perspective: 1200px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 25px;
  box-sizing: border-box;
  backface-visibility: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.flip-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease;
}

.flip-front i {
  margin-bottom: 20px;
}

.flip-front h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  font-weight: 600;
}

.flip-front p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.flip-back {
  background-color: #1f2937;
  color: #eee;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  padding: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .flip-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media screen and (max-width: 576px) {
  .flip-title {
    font-size: 1.8rem;
  }

  .flip-card {
    max-width: 100%;
    height: 300px;
  }

  .flip-front p,
  .flip-back {
    font-size: 0.85rem;
  }
}
/* solution section */

/* ========== SECTION CONTAINER ========== */
.solutions-section {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 80px 100px;
  background-image: radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    ),
    linear-gradient(90deg, #3a81c7 0%, #51b36c 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;

  @media screen and (max-width: 576px) {
    padding: 50px 30px;
  }
}

.line-circle1 {
  position: absolute;
  top: 0px;
  right: 95px;
}

.solutions-container {
  max-width: 1240px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  z-index: 9;
  box-sizing: border-box;
}

/* ========== HEADINGS ========== */
.heading-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.left-heading h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: white;
  margin: 0;
  margin-left: 4px;
  padding-right: 10px;
  line-height: 1.2;
  font-size: clamp(26px, 5vw, 42px);
  max-width: 100%;
  word-break: break-word;
}

.solutions-box {
  background: white;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(90deg, #478ec0, #51b36c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* No need for blue-text or green-text now */

.heading-divider.vertical {
  width: 0;
  /* No width needed for vertical line */
  height: 80px;
  border-left: 2px dashed rgba(255, 255, 255, 0.5);
}

.heading-divider.horizontal {
  width: 80%;
  height: 0;
  /* No height needed for horizontal line */
  border-top: 2px dashed rgba(255, 255, 255, 0.5);
  margin: 20px auto;
  display: none;
}

.right-heading h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
  font-size: clamp(20px, 4vw, 36px);
  /* max-width: 100%; */
  word-break: break-word;
}
@media screen and (max-width: 600px) {
  .left-heading h1 {
    font-size: 44px;
    line-height: 36px;
    margin-left: 0;
  }
}

.right-heading .italic {
  font-style: italic;
  color: #212936;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 768px) {
  .heading-group {
    justify-content: center;
    text-align: center;
  }
  .right-heading h2 {
    font-size: 26px;
  }

  .left-heading h1,
  .right-heading h2 {
    margin-left: 0;
    padding-right: 0;
  }

  .heading-divider.vertical {
    display: none;
  }

  .heading-divider.horizontal {
    display: block;
  }
}

/* ========== TAGS ========== */
.solution-tags-wrapper {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 40px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  backdrop-filter: blur(6px);
}

.solution-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  width: 220px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.1);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  border-radius: 24px;
  padding: 5px 7px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  /* backdrop-filter: blur(4px); */
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.tag:hover,
.tag.active {
  background: linear-gradient(90deg, #478ec0 0%, #51b36c 100%);
  color: white;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .btn-header {
    position: relative;
    left: 0;
    margin-left: 0;
  }
  .solution-tags-wrapper {
    border-radius: 30px;
  }
  .solution-tags {
    gap: 10px;
  }
}

.tag:hover .icon-circle,
.tag.active .icon-circle {
  background: rgba(0, 0, 0, 0.1);
  color: white;
}
/* Circle behind icon */
.tag .icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(71, 142, 192, 0.2);
  /* More solid background */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Icon inside circle */
.tag .icon-circle svg {
  width: 18px;
  height: 18px;
  stroke: #69addd;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

/* Change icon color on hover/active */
.tag:hover .icon-circle svg,
.tag.active .icon-circle svg {
  stroke: white;
}

/* ========== SOLUTION CARDS GRID ========== */
.solution-category {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 16px;
  padding: 20px 30px 30px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Show the active solution category */
.solution-category.active {
  display: grid;
  min-height: 400px;
  max-width: 1440px; /* or 1200px / 1280px based on your design system */
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px; /* add horizontal padding for breathing space */
  padding-right: 24px;
}

.solution-card {
  width: 100%;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.solution-card h3,
.solution-card .subtitle,
.solution-card .desc {
  width: 100%;
  word-break: break-word;
  white-space: normal;
}

.solution-card h3 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center; /* Ensures multiline consistency if needed */
}
/* .solution-card .subtitle {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #8ED2FF;
  padding-bottom: 2px;
  margin: 2px 0 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
} */
.solution-card .desc {
  padding: 10px;
  margin: 0;
}

.solution-card .desc {
  list-style-position: outside; /* ensure bullets are outside */
  padding-left: 1.5rem; /* adjust as needed */
  margin: 0;
  text-align: left; /* left-align the text */
}

.solution-card .desc li {
  margin-bottom: 4px; /* spacing between lines */
  line-height: 1.6;
}

.solution-card .desc {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #ffffffe5;
}

.card-title-with-icon {
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: flex-start; /* align to the left */
  gap: 8px; /* spacing between logo and title */
  margin-bottom: 8px;
}

.gradient-circle-icon {
  width: 34px; /* Smaller, cleaner */
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0; /* Prevents shrinking in flex row */
}

.gradient-circle-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px; /* Border thickness */
  background: linear-gradient(135deg, #478ec0, #51b36c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gradient-circle-icon i {
  color: white; /* White stroke */
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.gradient-circle-icon svg {
  stroke: white !important; /* Ensure white stroke on SVG paths */
  stroke-width: 2px;
  width: 22px;
  height: 22px;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 1024px) {
  .solution-category {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solution-category {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .right-heading h2 {
    font-size: 28px;
    line-height: 32px;
    margin-left: 0;
  }

  .heading-group {
    gap: 10px;
  }
  .nav-link {
    height: auto;
    width: 100%;
  }
  .navbar a.nav-link,
  .navbar .dropdown {
    padding: 10px 12px;
    text-align: left;
    width: 100%;
  }
  .navbar a.nav-link:nth-last-child(1) {
    width: auto;
  }

  header {
    padding: 6px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    height: 40px;
    font-weight: 400;
  }
}

.solution-card {
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(0, 191, 255, 0.3),
    rgba(0, 191, 255, 0) 70%
  );
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  transition: background 0.6s ease, opacity 0.6s ease;
}

.solution-card .card-title-with-icon,
.solution-card p {
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.solution-card:hover {
  transform: translateY(-20px) rotateX(10deg) rotateY(-6deg) scale(1.05);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  filter: brightness(1.1) saturate(1.2);
}

.solution-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(0, 191, 255, 0.6),
    rgba(0, 191, 255, 0) 70%
  );
  opacity: 1;
}

.solution-card:hover .card-title-with-icon,
.solution-card:hover p {
  transform: translateZ(20px);
}

/* Industries We Serve Section Styles */

/* Color Variables */
:root {
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --text-muted: #6c757d;
  --white: #ffffff;
  --black: #000000;
}

/* Base Styles */
/* .section-title {
  font-size: clamp(2.5rem, 6vw, 3rem);
  margin-bottom: 1em;
  font-weight: 700;
  letter-spacing: 1px;
  background: #fff;
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtle-shimmer 8s ease-in-out infinite;
  display: inline-block;
  position: relative;
  margin-top: 0;
}

/* Soft shimmer (more classy than fast shimmer) */
/* @keyframes subtle-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */

/* Remove underline */
/* .section-title::after {
  content: none;
} */
*/ .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.text-emerald-500 {
  color: var(--emerald-500) !important;
}

/* Lucide Icon Styles */
.lucide {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.lucide-sm {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.lucide-lg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

/* Industries Container */
.industries-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

#industries-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Industry Cards */
.industry-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 400px;
  overflow: hidden;
  transition: transform 0.5s ease, flex 0.5s ease;
  will-change: transform;
  flex: 0.8;
  min-width: 80px;
}

.industry-card.active {
  flex: 3;
  min-width: 300px;
}

.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Industry Overlay */
.industry-overlay {
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.industry-card:hover .industry-overlay {
  background: rgba(0, 0, 0, 0.5);
}

/* Industry Content */
.industry-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease-in-out;
  display: block;
}

.industry-card:not(.active) .industry-content {
  opacity: 0;
  transform: translateY(20px);
  display: none;
}

/* Collapsed Title */
.industry-title-collapsed {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  display: none;
}

.industry-card:not(.active) .industry-title-collapsed {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.industry-title-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Industry Icons */
.industry-content i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Industry Text */
.industry-content h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.industry-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* Mobile Industry Cards */
.mobile-industry-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.mobile-industry-card .card-body {
  border-radius: 12px;
}

.mobile-industry-card i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animation Classes */
.industry-card.expanding {
  animation: expandCard 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.industry-card.collapsing {
  animation: collapseCard 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes expandCard {
  from {
    flex: 0.8;
    min-width: 80px;
  }

  to {
    flex: 3;
    min-width: 300px;
  }
}

@keyframes collapseCard {
  from {
    flex: 3;
    min-width: 300px;
  }

  to {
    flex: 0.8;
    min-width: 80px;
  }
}

/* Content Fade Animations */
.content-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.content-fade-out {
  animation: fadeOutDown 0.3s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Loading State */
.industry-card.loading {
  pointer-events: none;
}

.industry-card.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  z-index: 10;
}

/* Focus States for Accessibility */
.industry-card:focus {
  outline: 3px solid var(--emerald-500);
  outline-offset: 2px;
}

.mobile-industry-card:focus {
  outline: 3px solid var(--emerald-500);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .industry-card {
    height: 350px;
  }

  .industry-content h5 {
    font-size: 1.1rem;
  }

  .industry-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 991.98px) {
  /* Hide desktop accordion on tablets and mobile */
  #industries-container {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.75rem;
  }

  .mobile-industry-card .card-body {
    padding: 1.5rem;
  }

  .mobile-industry-card h5 {
    font-size: 1rem;
  }

  .mobile-industry-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.5rem;
  }

  .mobile-industry-card .card-body {
    padding: 1.25rem;
  }

  .mobile-industry-card .d-flex.align-items-center {
    flex-direction: column;
    text-align: center;
  }

  .mobile-industry-card .d-flex.align-items-center i {
    margin-bottom: 0.75rem;
    margin-right: 0;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .industry-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .industry-content h5,
  .industry-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .industry-card,
  .industry-content,
  .industry-title-collapsed,
  .mobile-industry-card {
    transition: none;
    animation: none;
  }

  .industry-card:hover {
    transform: none;
  }

  .mobile-industry-card:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .industries-wrapper {
    break-inside: avoid;
  }

  .industry-card {
    position: static;
    height: auto;
    flex: none;
    width: 100%;
    margin-bottom: 1rem;
    page-break-inside: avoid;
  }

  .industry-overlay {
    background: rgba(0, 0, 0, 0.2);
  }

  .industry-content {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .industry-title-collapsed {
    display: none !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .section-title {
    color: #f9fafb;
  }

  .section-subtitle {
    color: #9ca3af;
  }

  #industries-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .mobile-industry-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* Success Stories Section Styles */
/* === Section Background === */
.success-stories-section {
  background: #f9fafb;
  padding: 50px 0 80px;
  position: relative;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.success-stories-container {
  position: relative;
  z-index: 2;
}

/* === Container === */
.success-stories-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* === Section Header === */
.success-stories-header {
  text-align: center;
  margin-bottom: 60px;
}

.success-stories-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 48px;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 16px;
}

.success-stories-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #5a6c7d;
}

/* === Carousel Container === */
.success-stories-carousel {
  margin-bottom: 40px;
}

/* === Featured Card Wrapper === */
.success-featured-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 352px;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .success-featured-wrapper {
    overflow: hidden;
    touch-action: pan-y; /* Prevent vertical scroll conflict */
  }
}

/* === Base Card Style === */
.success-featured-card {
  position: absolute;
  top: 0;
  opacity: 0;
  transform: scale(0.9) translateX(0);
  filter: blur(6px);
  pointer-events: none;
  transition: transform 0.8s ease, opacity 0.8s ease, filter 0.8s ease;
  z-index: 1;
  display: flex;
  max-width: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* === Active (Center) Card === */
.success-featured-card.active {
  position: relative;
  opacity: 1;
  transform: scale(1) translateX(0);
  filter: none;
  z-index: 3;
  pointer-events: auto;
}

/* === Left (Prev) Card === */
.success-featured-card.prev {
  transform: scale(0.9) translateX(-320px) translateY(40px);
  opacity: 0.6;
  z-index: 2;
  filter: blur(2px);
  pointer-events: auto;
  cursor: pointer;
}

/* === Right (Next) Card === */
.success-featured-card.next {
  transform: scale(0.9) translateX(320px) translateY(40px);
  opacity: 0.6;
  z-index: 2;
  filter: blur(2px);
  pointer-events: auto;
  cursor: pointer;
}

/* === Card Image Section === */
.success-card-image {
  position: relative;
  flex-shrink: 0;
  width: 200px;
}

.success-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.success-industry-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: transparent;
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 8px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 500;
  border: 2px solid var(--color-white-white-30, #ffffff4d);
}
.success-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-icon {
  width: 10px; /* use 10px for clarity, adjust down to 8px if you want smaller */
  height: 10px;
  flex-shrink: 0;
  stroke: white; /* enforce white stroke */
}

/* === Card Text Content === */
.success-card-content {
  padding: 24px;
  flex: 1;
}

.success-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
}

.success-card-subtitle {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 12px;
}

.success-card-description {
  font-size: 14px;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* === Achievements List === */
.success-achievements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.success-achievement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #495057;
}

.success-check-icon {
  width: 16px;
  height: 16px;
  background: #28a745;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.success-check-icon::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
}

/* === Dots Navigation === */
.success-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-radius: 50px;
  background: linear-gradient(90deg, #478ec0, #51b36c);
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
}

.success-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.success-dot.active {
  background: white;
}

/* === Mobile Swipe Animations (Correct Logic) === */
@media (max-width: 480px) {
  .success-featured-card.slide-forward {
    animation: slideAnimation 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .success-featured-card.slide-reverse {
    animation: slideAnimationReverse 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@keyframes slideAnimation {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideAnimationReverse {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* === Responsive Styles === */
@media (max-width: 768px) {
  .success-stories-title {
    font-size: 32px;
  }

  .success-card-image {
    width: 100%;
    height: 200px;
  }

  .success-featured-card {
    flex-direction: column;
    max-width: 100%;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out,
      filter 0.6s ease-in-out;
  }

  .success-featured-card.prev,
  .success-featured-card.next {
    display: none;
  }
}

@media (max-width: 480px) {
  .success-stories-title {
    font-size: 40px;
  }

  .success-dot {
    width: 10px;
    height: 10px;
  }

  .success-card-content {
    padding: 16px;
  }

  .success-achievement-item {
    font-size: 13px;
  }
}

/* CSR Initiative Section Styles */
.csr-section {
  position: relative;
  min-height: 600px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px;
  background: #1b4064 url("../images/globe-dots.webp") no-repeat center top;

  @media screen and (max-width: 576px) {
    padding: 80px 30px;
  }
}

.csr-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50% 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  /* backdrop-filter: blur(2px); */
}

.csr-container {
  position: relative;
  z-index: 2;
}

.csr-header {
  text-align: center;
  margin-bottom: 50px;
}

.csr-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 48px;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 12px;

  background: linear-gradient(90deg, #478ec0 0%, #51b36c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For Firefox */
  color: transparent;
}

.csr-subtitle {
  font-weight: 500;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); */
}

/* Content Card */
.csr-content-card {
  width: 100%;
  /* background: white;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); */
  margin: 0 auto 40px auto;
  /* padding: 30px; */
  display: flex;
  align-items: center;
  gap: 40px;
  animation: fadeInUp 0.8s ease forwards;
  box-sizing: border-box;
}

.csr-card-inner {
  display: flex;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}

.csr-logo-section {
  width: 131px;
  height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;

  text-decoration: none; /* remove underline */
  color: inherit; /* inherit text color from parent */
  cursor: pointer; /* show pointer on hover */
}

.csr-logo-image {
  width: 131px;
  height: 134px;
  object-fit: contain;
}

.csr-join-text {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: #d2d5db;
  font-weight: 200;
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

.csr-text-section {
  flex: 1;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
}

.csr-content-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 4px;
}

.csr-content-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #f3f4f6;
}

/* Bottom Statement */
.csr-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.csr-statement-text {
  font-size: 20px;
  line-height: 1.6;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.csr-statement-text strong {
  /* color: #fff; */
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .csr-title {
    font-size: 42px;
  }

  .csr-subtitle {
    font-size: 17px;
  }

  .csr-content-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .csr-section {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .csr-title {
    font-size: 36px;
  }

  .csr-subtitle {
    font-size: 16px;
  }

  .csr-content-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .csr-logo-section {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
  }

  .csr-logo-image {
    width: 70px;
    height: 70px;
  }

  .csr-join-text {
    font-size: 13px;
    text-align: left;
  }

  .csr-text-section {
    padding: 0;
  }

  .csr-content-title {
    font-size: 22px;
  }

  .csr-content-description {
    font-size: 14px;
  }

  .csr-statement-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .csr-title {
    font-size: 36px;
  }

  .csr-subtitle {
    font-size: 14px;
  }

  .csr-logo-image {
    width: 60px;
    height: 60px;
  }

  .csr-join-text {
    font-size: 12px;
  }

  .csr-content-title {
    font-size: 20px;
  }

  .csr-statement-text {
    font-size: 16px;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:root {
  --scroll-speed: 80s; /* Adjust speed as needed */
}

.clients-section {
  background-color: #f3f4f6;
  background-image: url("../images/dot.webp");
  background-size: 10px 10px;
  background-repeat: repeat;
  padding: 20px 20px;
  font-family: "Inter", sans-serif;
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.clients-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.clients-header {
  flex: 1;
  min-width: 250px;
}

.clients-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: #212936;
  margin: 0 0 10px;
  z-index: 2;
}

.clients-subtitle {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #4d5461;
  margin: 0;
  z-index: 2;
}

.clients-logos-wrapper {
  flex: 2;
  background: white;
  border-radius: 60px;
  overflow: hidden;
  position: relative;
  padding: 15px;
  z-index: 2;
}

.clients-logos-track {
  display: flex;
  width: max-content;
  animation: scroll-logos var(--scroll-speed) linear infinite;
}

.clients-logos-wrapper:hover .clients-logos-track {
  animation-play-state: paused;
}

.clients-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.client-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clients-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .clients-header {
    order: 1;
  }

  .clients-logos-wrapper {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }

  .clients-title {
    font-size: 26px;
  }

  .clients-subtitle {
    font-size: 14px;
  }

  .clients-logos {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .clients-title {
    font-size: 36px;
  }

  .clients-subtitle {
    font-size: 18px;
  }

  .client-logo img {
    max-height: 40px;
  }

  .clients-logos {
    gap: 20px;
  }
}

/* contact section */

.contact-section {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 596px;
  background: linear-gradient(to right, white 50%, transparent 50%);
}

.contact-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.contact-info-card-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 100px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.contact-title {
  margin-bottom: 45px;
  margin-top: 25px;
  text-align: center;
  @media screen and (max-width: 1024px) {
    margin-left: 20px;
  }
  @media screen and (max-width: 768px) {
    margin-left: 8px;
  }
}

.contact-title h2 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 44px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, #4a90e2, #7ed321);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

.contact-title p {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #478ec0;
  margin: 0;
  max-width: 400px;
  white-space: nowrap;
  /* margin-left: 30px; */
  text-align: left;
}
@media (max-width: 768px) {
  .contact-title h2 {
    font-size: 40px;
    line-height: 40px;
    text-align: center;
  }
  .contact-title p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    white-space: pre-wrap;
    width: 365px;
  }
}
.contact-info-card {
  width: 760px;
  background: #1c2732;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-sizing: border-box;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.contact-item {
  flex: 1 1 45%;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-item svg {
  width: 34px;
  height: 34px;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 13px 0;
}

.office-details {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 10px;
}

.office {
  flex: 1 1 45%;
  color: #ccc;
  line-height: 20px;
}

.office-title {
  color: #22c55e;
  font-weight: 600;
  font-size: 15px;
}

.contact-info-card {
  position: relative;
}

.globe-icon {
  position: absolute;
  top: 0px;
  right: 3px;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
  pointer-events: none;
  transform: rotate(2deg);
}

.map-container {
  width: 50%;
  height: 100%;
  overflow: hidden;
  /* -webkit-filter: grayscale(100%);
filter: grayscale(100%); */
  background-color: #fff;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-section {
    flex-direction: column;
    width: 100%;
    height: auto;
    background: white;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info-card-wrapper,
  .map-container {
    width: 100%;
    padding-left: 0;
  }

  .contact-info-card {
    width: 92%;
    height: auto;
    margin: 15px;
  }

  .map-container iframe {
    height: 400px;
  }
}

/* Certifications Section Styles - Centered */
.certifications-section {
  width: 100%;
  min-height: 70px;
  padding: 10px 40px;
  background: linear-gradient(to right, #3a8dde, #4bc675);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Centers horizontally */
  gap: 5px;
  box-sizing: border-box;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
  text-align: center;
}

.certifications-section i {
  margin-right: 8px;
  color: white;
  font-size: 16px;
}

.certifications-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.certifications-list span {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.certifications-list span:not(:last-child)::after {
  content: "|";
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .certifications-section {
    gap: 20px;
  }

  .certifications-list {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .certifications-section {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .certifications-list {
    flex-direction: column;
    gap: 10px;
  }

  .certifications-list span:not(:last-child)::after {
    content: "";
  }
}
/* Footer Section Styles */
.footer-section {
  background: #212936;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Container */
.footer-container {
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

/* Logo Section */
.footer-logo {
  flex-shrink: 0;
}

.footer-logo-image {
  width: 82px;
  height: auto;
}

/* Copyright Section */
.footer-copyright {
  flex: 1;
  text-align: center;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  text-align: center;
  padding-left: 70px;
}

/* Social Media Section */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 50px;
  background-color: #121826;
  /* Dark background like your screenshot */
  margin-left: auto;
  /* Pushes it to the right */
}

.social-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 16px;
  text-decoration: none;
  background: linear-gradient(90deg, #4a90e2, #7ed321);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  background: none; /* remove gradient on hover */
  -webkit-background-clip: border-box; /* reset background clip */
  -webkit-text-fill-color: #7ed321; /* apply solid hover color */
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 16px;
    padding: 20px 15px;
    text-align: center;
  }

  .footer-copyright {
    order: 2;
  }

  .footer-social {
    order: 3;
    justify-content: center;
  }

  .copyright-text {
    font-size: 13px;
    padding-left: 40px;
  }

  .social-label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    gap: 12px;
    padding: 16px 15px;
  }

  .footer-logo-image {
    width: 40px;
  }

  .copyright-text {
    font-size: 12px;
    padding-left: 20px;
  }

  .social-label {
    font-size: 12px;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-social {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .footer-social {
    order: 3;
    justify-content: center;
    margin-left: 0; /* Remove auto margin for centering */
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .footer-social {
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 8px;
    max-width: 260px;
  }
  .copyright-text {
    padding-left: 20px;
  }
}
@media (max-width: 320px) {
  .copyright-text {
    padding-left: 10px;
  }
}

/* Accessibility improvements */
.social-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.social-link:focus:not(:focus-visible) {
  outline: none;
}

.industries-section {
  background-image: url("../images/dot.webp");
  background-size: 10px 10px;
  background-repeat: repeat;
  text-align: center;
  background-color: #e5e7ea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 80px 100px;

  @media screen and (max-width: 992px) {
    padding: 80px;
  }

  @media screen and (max-width: 768px) {
    padding: 50px 30px;
  }
}
.industries-container {
  max-width: 1400px; /* constrain content width */
  width: 100%; /* add breathing space on smaller screens */
  box-sizing: border-box;
}
.industries-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.industries-title {
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #212936;
}

.industries-accordion-horizontal {
  display: flex;
  flex-direction: row;
  padding: 0;
  gap: 2px;
  width: 100%;

  @media screen and (max-width: 992px) {
    flex-direction: column;
  }
}

.industries-subtitle {
  padding-top: 15px;
  padding-bottom: 30px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #6d717f;
}

.accordion-tab {
  background-color: #d2d5db;
  border-radius: 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateX(-60px);
  /* Rotates text upright */
  transform-origin: left;
  /* Adjusts anchor point */
  text-align: start;
  padding: 20px;
  white-space: nowrap;
  cursor: pointer;
  height: 450px;

  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #212936;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.5s ease;
  z-index: 2;

  &:hover {
    background-color: #212936;
    color: white;
  }

  @media screen and (max-width: 992px) {
    height: 100%;
    writing-mode: horizontal-tb;
    transform: rotate(0deg) translateX(0px);
  }
}

.accordion-tab.active {
  display: none;
}

@media (max-width: 768px) {
  .accordion-tab {
    font-size: 14px; /* Decrease font size on small screens */
  }
}
.accordion-content {
  background-image: url("../images/agri.webp");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 4px;
  box-shadow: inset 0px -250px 100px rgba(0, 0, 0, 0.8);
  width: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: width 0.9s ease-out, opacity 2s ease-out;
  transform: translateX(-100%);

  @media screen and (max-width: 992px) {
    transition: height 0.9s ease-out, opacity 2s ease-out;
    box-shadow: inset 0px -450px 100px rgba(0, 0, 0, 0.8);
  }
}

#gov-content {
  background-image: url("../images/public_sector.webp");
}

#agri-content {
  background-image: url("../images/agri.webp");
}

#bank-content {
  background-image: url("../images/banking.webp");
}

#manu-content {
  background-image: url("../images/manufaturing.webp");
}

#sec-content {
  background-image: url("../images/security.webp");
}

#infra-content {
  background-image: url("../images/iot.webp");
}

.accordion-content.show {
  width: 100%;
  height: 450px;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transform: translateX(0);

  @media screen and (max-width: 992px) {
    box-sizing: border-box;
    height: 550px;
  }
}

.accordion-content > h3,
.accordion-content > p {
  padding: 0;
  margin: 10px;
  color: white;
  text-align: left;
}

.accordion-content > h3 {
  font-size: 26px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.accordion-content > p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}

.accordion-icon {
  margin-bottom: 8px;
  height: 18px;
  width: 18px;
  transition: transform 0.3s ease-in-out, margin 0.2s ease-in-out;

  @media screen and (max-width: 992px) {
    margin-bottom: 0px;
    margin-right: 8px;
  }
}

.accordion-tab:hover .accordion-icon {
  transform: rotate(90deg);
  cursor: pointer;
  margin-bottom: 12px;

  @media screen and (max-width: 992px) {
    margin-bottom: 0px;
    margin-right: 16px;
  }
}

/* cursor-follower  */

#bitxia-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal; /* ensures consistent visibility on light backgrounds */
}
#bitxia-cursor-follower *,
#bitxia-cursor-follower svg,
#bitxia-cursor-follower .inner-circle,
#bitxia-cursor-follower .outer-ring,
#bitxia-cursor-follower .mid-ring,
#bitxia-cursor-follower .spark {
  pointer-events: none; /* Ensure all children ignore pointer events */
}
@media (hover: none) and (pointer: coarse) {
  #bitxia-cursor-follower {
    display: none;
  }
}

#bitxia-cursor-follower svg {
  width: 100%;
  height: 100%;
  display: block;
}

.inner-circle {
  fill: #00ffc6; /* Bright electric teal */
  filter: drop-shadow(
    0 0 4px rgba(0, 0, 0, 0.6)
  ); /* dark shadow for visibility */
}

.outer-ring {
  fill: none;
  stroke: #00bfff; /* Vibrant sky blue */
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: rotateRing 8s linear infinite;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5)); /* adds contrast */
}

.mid-ring {
  fill: none;
  stroke: #00ffaa; /* Soft aqua green */
  stroke-width: 1;
  stroke-dasharray: 4 10;
  animation: rotateMidRing 12s linear infinite reverse;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5)); /* contrast on light bg */
}

/* .spark {
  fill: #00E5FF;
  opacity: 0.9;
  animation: orbitSpark 4s linear infinite;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.4)); 
} */

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateMidRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1839px) {
  #top,
  #Home,
  .heros {
    min-height: 100vh;
  }
  .hero,
  heros {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -280px;
  }
  .cards {
    position: absolute;
    bottom: -9px;
    left: 0;
    right: 0;
  }
}

@media screen and (max-width: 1024px) {
  #Home {
    position: unset;
    margin-top: unset;
  }
  .hero,
  heros {
    position: unset;
    margin-top: unset;
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

.fade-in-section-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 2s ease-in-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.fade-in-section-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-section-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUpMove 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInUpMove {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-container {
  position: relative;
  width: 130px;
  height: 90px;
  transform: scale(0.48);
  top: 2px;
}

.radial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.circle-1 {
  width: 90px;
  height: 90px;
  animation: rotating 8s linear infinite;
}

.circle-2 {
  width: 130px;
  height: 130px;
  animation: rotating 7s linear infinite;
}

.circle-3 {
  width: 100px;
  height: 100px;
  animation: rotating 6s linear infinite;
}

.circle-4 {
  width: 70px;
  height: 70px;
  animation: rotating 5s linear infinite;
}

.bid {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform-origin: center;
  margin: 0;
  border: none;
}

/* Circle 1 dots - Blue */
.circle-1 .bid {
  background: #209dd8;
}

/* Circle 2 dots - Green */
.circle-2 .bid {
  background: #3ebb8c;
}

/* Circle 3 dots - Blue */
.circle-3 .bid {
  background: #209dd8;
}

/* Circle 4 dots - Green */
.circle-4 .bid {
  background: #3ebb8c;
}

@keyframes rotating {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.loader-bitxia {
  position: relative;
  margin: 0 auto;
  width: 108px;
  height: 90px;
  display: block;
}
.loader-bitxia img {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
}
.loader-bitxia::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background-color: #0f172a;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  top: 12px;
  left: -4px;
}

.bixtree-features {
  background: #0f172a;
  color: #fff;
  font-family: "Inter", sans-serif;
  padding: 50px 40px;
}

/* ---------- HEADER BASE ---------- */
.features-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px; /* spacing between h2 and p */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

.features-header h2 {
  font-size: clamp(28px, 5vw, 48px); /* fluid scaling */
  font-weight: 700;
  flex: 1;
  background: linear-gradient(90deg, #478ec0, #51b36c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.features-header p {
  font-size: clamp(16px, 2vw, 22px); /* fluid scaling */
  color: #cbd5e1;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
  flex: 1;
  text-align: left;
}

.features-header p .accent {
  color: #47c77e;
}
.features-header p span {
  background: linear-gradient(90deg, #478ec0, #51b36c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
/* Feature List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center; /* ✅ Center-align number, icon, and text vertically */
  gap: 15px;
  background: #0f172a;
  padding: 10px;
  /* border-bottom: 1px solid #1e293b; */
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}

.feature-item .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ✅ vertically center heading + paragraph relative to icon */
  align-items: flex-start; /* keep text left aligned */
  text-align: left;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.feature-item .number {
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  width: 30px;
  text-align: right;
  color: #fff;
}
/* Target lucide icons (SVGs injected by data-lucide) */
.feature-item svg {
  width: 28px;
  height: 28px;
  stroke: url(#icon-gradient); /* Apply gradient stroke */
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Hover color change */
.feature-item:hover svg {
  stroke: #ffffff;
}

.feature-item .text p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #cbd5e1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Hover / Active Effect */
.feature-item:hover,
.feature-item.active {
  background: linear-gradient(90deg, #478ec0, #51b36c);
}

.feature-item:hover .text p,
.feature-item.active .text p {
  max-height: 500px;
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .features-header {
    flex-direction: column; /* stack h2 and p */
    align-items: flex-start; /* left align by default */
    text-align: center;
  }

  .features-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
  }

  .features-header p {
    font-size: 18px;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .features-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .features-header h2 {
    font-size: clamp(36px, 6vw, 36px);
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .features-header p {
    font-size: clamp(16px, 3vw, 18px);
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .feature-item {
    cursor: default; /* 👈 no pointer on mobile/tablet */
  }
  .feature-item.active {
    background: linear-gradient(90deg, #478ec0, #51b36c);
  }
  .feature-item.active svg {
    stroke: #fff; /* same as hover */
  }
  .feature-item.active .text p {
    max-height: 500px;
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .features-header {
    align-items: center; /* center items */
    text-align: center; /* center text */
  }

  .features-header h2 {
    font-size: 36px;
    text-align: center;
  }

  .features-header p {
    font-size: 13px;
    text-align: center;
  }
  .features-list {
    margin: 0;
  }
  .features-header h2 {
    font-size: 34px;
    line-height: 1.3;
  }

  .features-header p {
    font-size: 13px;
    line-height: 1.4;
  }
  .feature-item {
    width: 300px;
  }
}

/* Section with subtle dotted background like the screenshot */
.stacking-stories-section {
  --dot: rgba(0, 0, 0, 0.06);
  background: radial-gradient(var(--dot) 1px, transparent 1px) center/12px 12px,
    #f8fafc;
  font-family: Inter, system-ui, Arial, sans-serif;
  color: #111827;
}

/* Pin the scene for the animation */
.pin {
  position: sticky;
  top: 0;
  /* min-height: 100vh; */
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 16px;
}

/* Header */
.stacking-header h2 {
  text-align: center;
  line-height: 1.25;
  margin: 0 0 40px;
  font-weight: 800;
  font-size: 32px;
  color: #374151;
}
.stacking-header span {
  color: #22c55e;
}

/* Stage where cards stack */
.stacking-stage {
  position: relative;
  width: min(820px, 92vw);
  height: 240px; /* card height */
  margin: 20px auto 0;
}

/* Cards (absolute, centered) */
.stacking-card {
  position: absolute;
  left: 50%;
  top: -26px;
  width: 120%;
  transform: translateX(-50%) translateY(var(--ty, 60px))
    scale(var(--scale, 0.98));
  opacity: var(--alpha, 0);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 22px 24px;
  height: 250px;

  /* Smoother & softer transitions */
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.9s ease-in-out;
  will-change: transform, opacity;
}

/* Colors to match the layered look */
.card-blue {
  background: #60a5fa;
  color: #fff;
  z-index: 1;
}
.card-green {
  background: #22c55e;
  color: #fff;
  z-index: 2;
}
.card-yellow {
  background: #facc15;
  color: #111;
  z-index: 3;
}

/* Text */
.stacking-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.stacking-card p,
.stacking-card li {
  font-size: 14px;
}
.stacking-card ul {
  margin: 6px 0 0 18px;
}
/* Card inner layout */
.card-content {
  display: flex;
  align-items: flex-end;
  gap: 117px;
  height: 155px;
}

/* Icon section */
.card-icon {
  flex-shrink: 0;
  font-size: 102px;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, 0.2); */
}

/* Text content */
/* .card-text h3 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
} */

.card-text p {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.9;
  text-align: left;
}

.card-text ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 640px) {
  .stacking-stage {
    height: 220px;
  }
  .stacking-card {
    padding: 18px 16px;
  }
  .stacking-header h2 {
    font-size: 26px;
  }
}

/* Optional: prevent content jump when we temporarily lock scroll */
body.lock-scroll {
  overflow: hidden;
  touch-action: none;
}

.case-studies {
  background: #fff;
  padding: 60px 40px;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.case-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.case-title span {
  color: #2b7bbb; /* highlight blue */
}

.case-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.case-card {
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-6px);
}

.case-content h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.case-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #2b7bbb;
  margin-bottom: 12px;
  text-decoration: none;
}

.case-link:hover {
  text-decoration: underline;
}

.case-content p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

.case-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
  .case-cards {
    grid-template-columns: 1fr;
  }
  .case-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .case-logo {
    margin-top: 15px;
  }
}
