body {
  font-family: "Inter", sans-serif;
}
/* Text reveal animation */
.reveal-text {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: revealText 1s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes revealText {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating arrow animation */
.floating-arrow {
  animation: floatArrow 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes floatArrow {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(5px, -5px) rotate(5deg);
  }
}

/* Glowing text effect */
.glowing-text {
  animation: glowPulse 2s infinite;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  }
  50% {
    opacity: 0.8;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
  }
}

/* Gradient line animation */
.gradient-line {
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #22d3ee, #f97316);
  animation: expandLine 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.2s;
}

@keyframes expandLine {
  to {
    width: 100%;
  }
}

/* Typing text animation */
.typing-text {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid #22d3ee;
  white-space: nowrap;
  width: 0;
  animation: typing 3s steps(40, end) forwards, blink 0.75s step-end infinite;
  animation-delay: 2s;
}

@keyframes typing {
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Stats animations */
.stats-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2.5s;
}

.stat-item {
  position: relative;
  overflow: hidden;
}

/* Counter animation */
.counter {
  display: inline-block;
  position: relative;
}

.counter::after {
  content: "+";
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  animation-delay: 3s;
}

/* Parallax scroll effect */
@media (min-width: 768px) {
  main {
    transform-style: preserve-3d;
  }

  .max-w-4xl {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Mouse hover effect for stats */
.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.stat-item:hover::after {
  transform: scaleX(1);
}

/* Add this JavaScript for counter animation */
.border-grid {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.side-links {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50px;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, transparent);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #06b6d4;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes borderDraw {
  from {
    width: 0;
    height: 0;
  }
  to {
    width: 8rem;
    height: 8rem;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-border {
  animation: borderDraw 0.8s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.stagger-1 {
  animation-delay: 0.2s;
}
.stagger-2 {
  animation-delay: 0.4s;
}
.stagger-3 {
  animation-delay: 0.6s;
}
.stagger-4 {
  animation-delay: 0.8s;
}

.service-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Works section styling */
.works-section {
  position: relative;
  overflow: hidden;
}

.works-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.works-scroll {
  display: flex;
  gap: 2rem;
  animation: scrollWorks 40s linear infinite;
  width: max-content;
}

.work-card {
  min-width: 400px;
  flex-shrink: 0;
}

/* Scrolling animation */
@keyframes scrollWorks {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.works-scroll:hover {
  animation-play-state: paused;
}

/* Optional: Add smooth transition when hovering */
.work-card {
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: scale(1.02);
}

/* Ensure images maintain aspect ratio */
.work-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
/* Workflow animations and styles */
.workflow-container {
  position: relative;
}

/* Connecting line */
.workflow-line {
  position: absolute;
  top: 32px; /* Half of the icon height */
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee33, transparent);
  width: 100%;
  z-index: -1;
}

/* Workflow step animations */
.animate-workflow {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon bounce animation */
.icon-bounce {
  animation: iconBounce 2s infinite;
  transition: all 0.3s ease;
}

.workflow-step:hover .icon-bounce {
  background-color: rgba(
    34,
    211,
    238,
    0.3
  ); /* Slightly more visible on hover */
  transform: scale(1.1);
}

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

/* Optional: Add pulse effect to icons */
.workflow-step:hover .icon-bounce::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 211, 238, 0.2);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Typing animation for heading */
.typing-text {
  overflow: hidden;
  border-right: 2px solid #22d3ee;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  width: fit-content;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #22d3ee;
  }
}

/* Sliding animation for left content */
.slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Growing line animation */
.line-grow {
  animation: lineGrow 1.5s ease-out forwards;
  transform-origin: top;
}

@keyframes lineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Card hover animation */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(34, 211, 238, 0.1);
}

/* Icon pulse animation */
.icon-pulse {
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Floating border animation */
.floating-border {
  animation: float 3s ease-in-out infinite;
}

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

/* Image reveal animation */
.image-reveal {
  clip-path: inset(100% 0 0 0);
  animation: reveal 1.5s ease-out forwards;
}

@keyframes reveal {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* Fade in up animation for text */
.fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Base animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes floatingBorder {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, 10px);
  }
}

@keyframes serviceCardPop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Applied animations */
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-slide-left {
  transform-origin: top;
  animation: slideLeft 1s ease-out forwards;
}

.animate-border {
  animation: floatingBorder 4s ease-in-out infinite;
}

.service-card {
  opacity: 0;
  animation: serviceCardPop 0.6s ease-out forwards;
}

.service-card i {
  animation: iconFloat 3s ease-in-out infinite;
}

/* Stagger delays */
.stagger-1 {
  animation-delay: 0.2s;
}

.stagger-2 {
  animation-delay: 0.4s;
}

.stagger-3 {
  animation-delay: 0.6s;
}

.stagger-4 {
  animation-delay: 0.8s;
}

/* Enhanced hover effects */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(34, 211, 238, 0.03);
}

.service-card:hover i {
  transform: scale(1.1);
  color: #22d3ee;
}

.service-card i {
  transition: all 0.3s ease;
}

/* Image container effects */
img {
  transition: transform 0.5s ease;
}

img:hover {
  transform: scale(1.02);
}

/* Line animation */
.bg-cyan-400 {
  position: relative;
  overflow: hidden;
}

.bg-cyan-400::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #22d3ee, transparent);
  animation: linePulse 2s infinite;
}

@keyframes linePulse {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Style the entire scrollbar */
::-webkit-scrollbar {
    width: 6px; /* Thin scrollbar */
    height: 6px; /* Thin horizontal scrollbar */
}

/* Style the scrollbar track (the area the scrollbar moves within) */
::-webkit-scrollbar-track {
    background: rgba(240, 240, 240, 0.3); /* Lighter gray with reduced opacity */
    border-radius: 10px; /* Optional rounded corners */
}

/* Style the scrollbar thumb (the part you drag) */
::-webkit-scrollbar-thumb {
    background: #888; /* Gray color */
    border-radius: 10px; /* Optional rounded corners */
}

/* Hover effect on the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker gray when hovering */
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}


#servdata{
    display: inline-block;
    width: 100%;
    text-align: justify;
    font-size: 16px; /* Reset font size */
   }
   .navi {
  color: #3adbff;
}

