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 h4 {
  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, #478ec0 0%, #00ffc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.word:nth-child(2) {
  background: linear-gradient(90deg, #478ec0 0%, #00ffc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.word:nth-child(3) {
  background: linear-gradient(90deg, #478ec0 0%, #00ffc2 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;
  transform: translateY(-2px);
  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 {
  /* 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: 4 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(4, minmax(0, 1fr));
    width: calc(100% - 48px);
  }
}

/* Large tablets: 4 columns */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 80px;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Medium tablets: 2 columns */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 60px;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
  }
}

/* Small tablets: 2 columns */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 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(4, 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;
  }
}

/* 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%;
  min-height: 120px;
  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 h4 {
  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 h4 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 h4 svg {
    width: 28px;
    height: 28px;
    margin-top: 0;
  }
}

.card:hover h4 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;
  display: -webkit-box;
  -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;
}

.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 h4 {
  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%;
  }
}

/* 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: 192px;
  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: 16px; /* Reduced from 18px for alignment with 14px icon */
  line-height: 1.2; /* Tighter, ensures baseline alignment */
  color: #ffffff;
  margin: 0; /* Remove default bottom margin for precise alignment */
  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 {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #ffffffe5;
  margin-top: 2px;
}

.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: 48px; /* Smaller, cleaner */
  height: 48px;
  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: 1;
  width: 27px;
  height: 27px;
}

/* ========== 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: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.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);
  }
}

/* @keyframes orbitSpark {
  0% { transform: rotate(0deg) translate(20px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(20px) rotate(-360deg); }
} */

@media only screen and (min-width: 1025px) and (max-width: 1839px) {
  #top,
  #Home {
    min-height: 100vh;
  }
  .hero {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -280px;
  }
  .cards {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
  }
}

@media screen and (max-width: 1024px) {
  #Home {
    position: unset;
    margin-top: unset;
  }
  .hero {
    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;
}
