:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #212529;
  --light-gray: #e9ecef;
  --card-bg: #ffffff;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  cursor: none;
  overflow-x: hidden;
}

/* Animated Cursor */
.cursor {
  width: 25px;
  height: 25px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-width 0.3s ease;
  z-index: 1100;
  backdrop-filter: hue-rotate(90deg);
  will-change: transform, width, height, border-width;
}

.cursor.hover {
  width: 100px;
  height: 100px;
  border-width: 3px;
}

/* Background Blobs */
.blob {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.blob1 {
  width: 400px;
  height: 400px;
  background: #a8c0ff;
  top: -150px;
  left: -150px;
  animation: float 25s infinite alternate;
}
.blob2 {
  width: 300px;
  height: 300px;
  background: #c2e59c;
  bottom: -100px;
  right: -100px;
  animation: float 20s infinite alternate;
}
@keyframes float {
  from {
    transform: rotate(0deg) translate(-20px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translate(20px) rotate(-360deg);
  }
}

/* Scroll Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary-color);
  width: 0%;
  z-index: 1050;
}

/* Typography & General Styles */
.text-stroke {
  -webkit-text-stroke: 1.5px var(--primary-color);
  -webkit-text-fill-color: transparent;
}
.navbar-brand {
  font-weight: 700;
}
.nav-link {
  font-weight: 600;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-title span {
  display: inline-block;
}
.hero-lottie-container {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* About Section */
.about-image {
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.service-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.service-icon svg {
  color: var(--primary-color);
}

/* Projects Section */
.project-image-container {
  overflow: hidden;
  border-radius: 10px;
}
.project-image-container img {
  transition: transform 0.4s ease;
}
.project-item:hover .project-image-container img {
  transform: scale(1.05);
}
.project-info {
  position: relative;
  z-index: 1;
}
.project-item:nth-child(odd) .project-info {
  left: -40px;
}
.project-item:nth-child(even) .project-info {
  right: -40px;
}
.project-tags {
  display: flex;
  gap: 0.5rem;
}
.project-tags .badge {
  background-color: var(--light-gray);
  color: var(--secondary-color);
  font-weight: 600;
}

/* Testimonials Section */
#testimonials {
  background-color: var(--card-bg);
  border-radius: 10px;
}
.blockquote {
  max-width: 700px;
  margin: auto;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(45deg, #007bff, #00c6ff);
  color: white;
}
.contact-section .btn-light {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-item:nth-child(odd) .project-info,
  .project-item:nth-child(even) .project-info {
    left: 0;
    right: 0;
    margin-top: 1.5rem;
    text-align: left !important;
  }
  .project-tags {
    justify-content: flex-start !important;
  }
  .blob {
    display: none;
  }
}
