/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-200 {
  transition-delay: 200ms;
}

/* --- SERVICES SLIDER CSS --- */
.solutions-mask {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 280px; /* Mobile height */
}

@media (min-width: 640px) {
  .solutions-mask {
    height: 380px;
  }
}

@media (min-width: 768px) {
  .solutions-mask {
    height: 450px;
  }
}

@media (min-width: 1024px) {
  .solutions-mask {
    height: 550px; /* Massive height for Desktop */
  }
}

#track {
  display: flex;
  align-items: center;
  width: 100%;
}



.solution-card {
  flex: 0 0 100%; /* Fixes the 4px gap entirely */
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FULL COVERAGE CONTENT */
.glass-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.6) 60%,
    transparent 100%
  );
  padding: 1.25rem; /* Mobile padding */
  height: 50%;
}

@media (min-width: 640px) {
  .glass-box {
    padding: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .glass-box {
    padding: 2.5rem;
  }
}

/* Nav Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: #0a0a0a;
  border: 2px solid rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .nav-arrow {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 1024px) {
  .nav-arrow {
    width: 48px;
    height: 48px;
  }
}

.nav-arrow:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-50%) scale(1.15);
}

#prevBtn {
  left: 0px;
}
#nextBtn {
  right: 0px;
}

/* NUMBER PAGINATION BUTTONS */
.num-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.num-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.num-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

/* HIDE IMAGE CAROUSEL ON MOBILE TO SAVE VERTICAL SPACE */
@media (max-width: 1023px) {
  #hero-services > .container > div:last-child {
    display: none;
  }
}

#track {
  will-change: transform;
  /* Promote the track to a composite layer for buttery‑smooth animations */
  transform: translateZ(0);
}

/*techsolution---*/
/* --- FLOATING UI ANIMATIONS FOR HERO SECTION --- */
@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes floatFast {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-fast {
  animation: floatFast 4s ease-in-out infinite;
}

/* --- INFINITY SCROLL / MARQUEE --- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  /* Adding width to ensure the loop is seamless */
  width: max-content;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body {
  font-family: "Poppins", sans-serif;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f3f4f6; /* light gray */
  color: #4b5563; /* dark gray text */
  font-size: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.social-icon:hover {
  background-color: #2563eb; /* Africana Blue */
  color: #ffffff;
  transform: translateY(-2px);
}

.icon-svg-x {
  width: 1em;
  height: 1em;
}

/* Tooltip styling based on your data-tooltip attribute */
.social-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #0a0a0a;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.social-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* --- team --- */
.team-dot {
    width: 2rem; height: 2rem; border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; font-weight: 700;
    transition: all 0.3s;
    background-color: #e5e7eb; color: #6b7280;
    border: none; cursor: pointer;
}
.team-dot.is-active {
    background-color: #136db6; /* brandBlue */ 
    color: white; transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}