* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor - Dark Blue */
.cursor {
  width: 16px;
  height: 16px;
  background: #1e3a8a; /* Dark blue */
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(30, 58, 138, 0.6);
}
.cursor-follower {
  width: 36px;
  height: 36px;
  border: 2px solid #1e40af;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  animation: pulseRing 1.5s infinite;
}
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 64, 164, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(30, 64, 164, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 64, 164, 0);
  }
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.logo {
  width: 216px;
  height: 56px;
  font-weight: bold;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  padding: 0.5rem 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  display: block;
  overflow: hidden;
  z-index: 1;
}

.nav-link span {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  z-index: 1;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4f46e5;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 8px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-link:hover {
  color: #4f46e5;
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover::after {
  transform: scale(1);
  opacity: 1;
}

.nav-link.active {
  color: #4f46e5;
  font-weight: 600;
}

.nav-link.active::before {
  transform: scaleX(1);
  background: #4f46e5;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #4f46e5;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: 90vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite ease-in-out;
}
.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}
.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 50%;
  animation-delay: 4s;
}
.shape-4 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}
.shape-5 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 30px) rotate(270deg);
  }
}
.hero-content {
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
  color: white;
  z-index: 1;
}

/* ---- HERO ---- */
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  /* remove forced opacity:0 */
  animation: fadeInUp 1s ease forwards, typing 3s steps(40, end) forwards;
  white-space: nowrap;
  overflow: hidden;
}
.typing-text {
  display: inline-block;
  border-right: 3px solid white;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease forwards, typing 3s steps(40, end) forwards;
  white-space: nowrap;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;

  animation: fadeInUp 1s ease 0.6s forwards, bounceIn 1s ease 1s;
}
@keyframes bounceIn {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn-primary {
  background: white;
  color: #667eea;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-secondary:hover {
  background: white;
  color: #667eea;
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  background: #f8f9fa;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: bounceIn 0.6s ease forwards;
}
.service-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}
.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  transition: all 0.4s ease;
}
.service-card:hover .service-icon {
  animation: flip 1s ease;
}
@keyframes flip {
  0% {
    transform: rotateY(0);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* About Section */
.about {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}
.about-text.visible {
  opacity: 1;
  transform: translateX(0);
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.about-text p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.8;
  /* remove opacity:0 here – parent .about-text already animates */
}
.about-text p.visible {
  opacity: 1;
  transform: translateX(0);
}
.about-image {
  width: 100%;
  height: 400px;
  background: #f1f5f9;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.8) 0%,
    rgba(118, 75, 162, 0.8) 100%
  );
  opacity: 0.8;
  z-index: 1;
  border-radius: 15px;
  transition: opacity 0.3s ease;
}

.about-image:hover::before {
  opacity: 0.9;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Removed duplicate properties that were causing syntax errors */

.about-image.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Removed duplicate .about-image img and .about-image:hover img styles that were causing conflicts */

/* ---- CASE STUDIES ---- */
.case-studies {
  padding: 5rem 2rem;
  background-color: #f8fafc;
}

.case-studies .section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #64748b;
  font-size: 1.1rem;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.case-study-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-study-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-study-card:hover .case-study-overlay {
  opacity: 1;
}

.case-study-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.case-study-overlay p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.case-study-content {
  padding: 1.8rem;
}

.case-study-content h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  color: #1e293b;
}

.case-study-content p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.case-study-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-outline {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: #1e40af;
  border: 1px solid #1e40af;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-outline:hover {
  background: #1e40af;
  color: white;
  transform: translateY(-2px);
}

/* ---- TEAM SLIDER ---- */
/* ---- TEAM SLIDER ---- */
.team {
  background: #fff;
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #333;
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.team-slider {
  display: flex;
  gap: 2rem;
  animation: teamSlide 30s linear infinite;
  will-change: transform;
}

@keyframes teamSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.team-card {
  flex: 0 0 280px;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid #e2e8f0;
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-image {
  width: 100px;
  height: 100px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid #667eea;
  transition: transform 0.5s ease;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-image {
  transform: scale(1.1) rotate(5deg);
}

/* Pause on hover */
.team-grid:hover .team-slider {
  animation-play-state: paused;
}
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 20px;
}
.team-grid::-webkit-scrollbar {
  display: none;
}
.team-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
  border: 2px solid transparent;
  position: relative;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.team-card:hover::before {
  opacity: 1;
}
.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}
.team-image {
  width: 100px;
  height: 100px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid #667eea;
  transition: transform 0.5s ease;
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card:hover .team-image {
  transform: scale(1.1) rotate(5deg);
}

/* Stats Section */
.stats {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  animation: movePattern 20s linear infinite;
}
@keyframes movePattern {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100px);
  }
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* Work Process Section */
.work-process {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  z-index: 2;
  counter-reset: step;
  padding: 2rem 0;
}

.process-item {
  flex: 1;
  min-width: 180px;
  max-width: 200px;
  padding: 2.5rem 1.5rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  border: 1px solid #e2e8f0;
  margin: 0 5px;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.process-item:nth-child(1) {
  animation-delay: 0.1s;
}
.process-item:nth-child(3) {
  animation-delay: 0.2s;
}
.process-item:nth-child(5) {
  animation-delay: 0.3s;
}
.process-item:nth-child(7) {
  animation-delay: 0.4s;
}
.process-item:nth-child(9) {
  animation-delay: 0.5s;
}

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

.process-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #1e40af;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.process-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
  border-color: #bfdbfe;
}

.process-item:hover::before {
  transform: translateX(-50%) scale(1.1);
  background: #1d4ed8;
}

.process-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: #eff6ff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.process-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.process-item:hover .process-icon {
  background: transparent;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.process-item:hover .process-icon::after {
  opacity: 1;
}

.process-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: all 0.3s ease;
  z-index: 2;
}

.process-item:hover .process-icon img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.process-item h3 {
  color: #1e3a8a;
  margin: 1.2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.process-item h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #3b82f6;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s ease;
}

.process-item:hover h3::after {
  opacity: 1;
  width: 60px;
}

.process-item p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.process-item:hover p {
  color: #334155;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bfdbfe;
  font-size: 2.5rem;
  font-weight: 100;
  position: relative;
  top: 40px;
  opacity: 0.8;
  transition: all 0.4s ease;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.process-item:hover + .process-arrow {
  color: #3b82f6;
  transform: scale(1.2) translateX(5px);
  text-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .process-container {
    max-width: 800px;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .process-item {
    max-width: 100%;
    width: 100%;
    margin: 0 0 2rem;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .process-item::before {
    top: -20px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .process-arrow {
    transform: rotate(90deg) scale(1.5);
    margin: 0.5rem 0;
    top: 0;
    opacity: 0.6;
  }

  .process-item:last-child {
    margin-bottom: 0;
  }

  .process-item:hover + .process-arrow {
    transform: rotate(90deg) scale(1.8);
  }
}

/* Animation for process items */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.process-item:hover {
  animation: float 3s ease-in-out infinite;
}

.stat-item {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}
.stat-item.visible {
  opacity: 1;
  transform: scale(1);
}
.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CONTACT */
.contact {
  padding: 5rem 2rem 0;
  background: #f8f9fa;
}
.contact .section-title {
  margin-bottom: 20px !important;
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}
.contact-form {
  flex: 1;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.form-group {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.form-group.visible {
  opacity: 1;
  transform: translateY(0);
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form button {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-form button.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.contact-form button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 25px rgba(102, 126, 234, 0.35);
}
.map-container {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease 0.3s;
}
.map-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 2rem 1rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.footer-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.footer-section h3 {
  margin-bottom: 1rem;
  color: #fff;
}
.footer-section p,
.footer-section a {
  color: #e2e8f0;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}
.footer-bottom.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .cursor,
  .cursor-follower {
    display: none;
  }
  body {
    cursor: auto;
  }
  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
  }
  .nav-links.active {
    left: 0;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    margin-top: 60px;
    min-height: 80vh;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .contact-container {
    flex-direction: column;
  }
  .projects-grid {
    height: auto;
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
  }

  .projects-row {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 1rem 0;
    will-change: transform;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  .projects-row.left {
    animation-name: slideLeft;
  }

  .projects-row.right {
    animation-name: slideRight;
  }

  .projects-row.paused {
    animation-play-state: paused;
  }

  .project-card {
    flex: 0 0 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .team-grid {
    flex-direction: column;
    overflow-x: hidden;
  }

  .team-card {
    flex: none;
  }
}
/* ============================================================= */
/* ==================== PROCESS TIMELINE UI ==================== */
/* ============================================================= */

.process-timeline {
  position: relative;
  padding: 120px 5% 80px;
  background: #f8f9fa;
  overflow: hidden;
}
.process-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.process-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.process-row.top {
  margin-bottom: 80px;
}
.process-row.bottom {
  margin-top: 80px;
}

.process-node {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
}
.node-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #fff;
  border: 3px solid #4e54c8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #4e54c8;
  box-shadow: 0 4px 12px rgba(78, 84, 200, 0.15);
}
.process-node h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: #222;
}
.process-node p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 6px 0;
}
.process-node .output {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4e54c8;
  font-weight: 600;
}

/* ---------- CONNECTOR SVG ---------- */
.connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.connector-svg path {
  stroke-dasharray: 8 8;
  animation: drawLine 2s ease-out forwards;
}
@keyframes drawLine {
  from {
    stroke-dashoffset: 2000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .process-row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .process-row.top {
    margin-bottom: 40px;
  }
  .process-row.bottom {
    margin-top: 40px;
  }
  .connector-svg {
    display: none;
  } /* hide complex line on small screens */
}
@media (max-width: 600px) {
  .process-node {
    max-width: 100%;
  }
} /* ============================================================= */
/* ==================== PROCESS TIMELINE UI ==================== */
/* ============================================================= */
.process-timeline {
  position: relative;
  padding: 10px 5% 80px;
  background: #f8f9fa;
  overflow: hidden;
}
.process-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.process-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.process-row.top {
  margin-bottom: 80px;
}
.process-row.bottom {
  margin-top: 80px;
}

.process-node {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
}
.node-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #fff;
  border: 3px solid #4e54c8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #4e54c8;
  box-shadow: 0 4px 12px rgba(78, 84, 200, 0.15);
}
.process-node h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: #222;
}
.process-node p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 6px 0;
}
.process-node .output {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4e54c8;
  font-weight: 600;
}

/* ---------- CONNECTOR SVG ---------- */
.connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.connector-svg path {
  stroke-dasharray: 8 8;
  animation: drawLine 2s ease-out forwards;
}
@keyframes drawLine {
  from {
    stroke-dashoffset: 2000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .process-row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .process-row.top {
    margin-bottom: 40px;
  }
  .process-row.bottom {
    margin-top: 40px;
  }
  .connector-svg {
    display: none;
  } /* hide complex line on small screens */
}
@media (max-width: 600px) {
  .process-node {
    max-width: 100%;
  }
}
.multi-projects {
  background: linear-gradient(135deg, #6879e3, #754ea6);
  color: #fff;
  padding: 100px 10%;
  position: relative;
  overflow: hidden;
}

/* Subtle animated glow background */
.multi-projects::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 70%
  );
  animation: rotate-bg 25s linear infinite;
  opacity: 0.6;
  z-index: 0;
}

@keyframes rotate-bg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Title */
.section-title1 {
  text-align: center;
  font-size: 2.5rem;
  color: #f8f9fa;
  margin-bottom: 60px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

/* Layout */
.multi-projects-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  z-index: 2;
  position: relative;
}

.multi-projects-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.multi-projects-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.bottom-row .multi-projects-track {
  animation: scroll-right 30s linear infinite;
}

/* Smooth loop animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

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

/* Pause on hover */
.multi-projects-container:hover .multi-projects-track {
  animation-play-state: paused;
}

/* Cards */
.multi-project-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  min-width: 320px;
  max-width: 340px;
  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.multi-project-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Image */
.multi-project-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #f8f9fa;
  transition: transform 0.6s ease;
}

.multi-project-card:hover .multi-project-img img {
  transform: scale(1.08);
}

/* Info */
.multi-project-info {
  padding: 20px;
}

.multi-project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #f8f9fa;
}

.multi-project-info p {
  font-size: 0.95rem;
  color: #f8f9fa;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Status */
.project-status {
  font-size: 0.8rem;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 15px;
  display: inline-block;
  text-transform: uppercase;
}

.project-status.ongoing {
  background: #f8f9fa;
  color: #6879e3;
}

.project-status.completed {
  background: #16e063;
  color: #fff;
}

.project-status.in-progress {
  background: #ffbf00;
  color: #fff;
}

.project-status.upcoming {
  background: #ff5e5e;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .multi-projects {
    padding: 60px 5%;
  }

  .section-title {
    font-size: 2rem;
  }

  .multi-project-card {
    min-width: 260px;
  }
}

/* Visit Button */
.visit-btn {
  display: inline-block;
  margin-top: 10px;
  background: #fff;
  color: #6879e3;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.visit-btn:hover {
  background: #6879e3;
  color: #fff;
  box-shadow: 0 6px 18px rgba(104, 121, 227, 0.5);
  transform: translateY(-2px);
}
