:root {
  --bg: #050212;
  --purple: #8b50fd;
  --teal: #12eacb;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.03);
  --card-bg: rgba(20, 10, 40, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  background-color: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

.bg-animate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(139, 80, 253, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(18, 234, 203, 0.1) 0%,
      transparent 40%
    );
  z-index: -1;
  animation: drift 15s ease infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

/* --- Navigation Responsive Fix --- */
nav {
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.logo span {
  color: var(--teal);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-item {
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative; /* Required for the absolute line to position correctly */
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Create the hidden line */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; /* Start with no width */
  height: 2px;
  background-color: var(--teal);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px var(--teal); /* Adds a slight glow to the line */
}
/* --- VIDEO REEL MODAL --- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex !important; /* Forces it to show */
  opacity: 1 !important;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 18, 0.9);
  backdrop-filter: blur(15px);
}

.modal-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  z-index: 1;
  transform: scale(0.9);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active .modal-content-wrapper {
  transform: scale(1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(18, 234, 203, 0.3);
  box-shadow: 0 0 50px rgba(18, 234, 203, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-modal {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--teal);
  font-size: 2.5rem;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--purple);
  transform: rotate(90deg);
}
/* Animate the line on hover */
.nav-item:hover::after {
  width: 100%; /* Expand to full width */
}

.nav-item:hover {
  color: var(--teal);
}

/* --- HERO SLIDER (Kept Original) --- */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.slider-track {
  height: 100%;
  width: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition:
    opacity 1s ease-in-out,
    transform 1s ease-in-out;
  pointer-events: none;
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.glitch-text {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}
.glitch-text span {
  background: linear-gradient(90deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--teal);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: arrowFloat 3s ease-in-out infinite;
}
@keyframes arrowFloat {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(10px);
  }
}
.prev-arrow {
  left: 20px;
}
.next-arrow {
  right: 20px;
}

/* --- INNOVATION SECTION (One Row Fix) --- */
.services-wrapper {
  max-height: 355px; /* Adjust this to fit exactly one row */
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 15px 15px;
}
.services-wrapper.expanded {
  max-height: 3000px;
}

.card-3d {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px 25px;
  position: relative;
  transform-style: preserve-3d;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
  height: 100%;
}
.card-3d:hover {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(18, 234, 203, 0.2);
}
.card-3d i {
  font-size: 3.5rem;
  color: var(--teal);
  margin-bottom: 20px;
}

.view-more-btn {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 50px;
  padding: 12px 35px;
  font-weight: 700;
  margin-top: 40px;
  transition: 0.3s;
}
.view-more-btn:hover {
  background: var(--teal);
  color: var(--bg);
  box-shadow: 0 0 20px var(--teal);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 2rem;
    border-bottom: 1px solid var(--glass);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .services-wrapper {
    max-height: 900px;
  } /* Shows 2 cards on mobile */
}

@media (max-width: 768px) {
  .services-wrapper {
    max-height: 335px;
  } /* Shows 1 card on small mobile */
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}
/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  padding: 100px 0;
  position: relative;
}

.testimonial-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  transition: 0.4s;
  height: 100%;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  background: rgba(139, 80, 253, 0.05);
  border-color: var(--purple);
  transform: translateY(-10px);
}

.quote-icon {
  font-size: 2rem;
  color: var(--purple);
  opacity: 0.5;
  margin-bottom: 15px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--purple), var(--teal));
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.stars {
  color: var(--teal);
  font-size: 0.8rem;
  margin-bottom: 10px;
}
/* Custom Glow Button Style */
.btn-glow {
  position: relative;
  overflow: hidden;
  background-color: var(--teal);
  border: none;
  color: var(--bg) !important; /* Making text dark for contrast against teal */
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease;
  z-index: 1;
  font-weight: 600;
}

.btn-glow:hover {
  background: var(--purple);
  transform: scale(1.05);
  box-shadow:
    0 0 20px rgba(18, 234, 203, 0.6),
    0 0 40px rgba(18, 234, 203, 0.4);
  color: var(--white) !important;
}

/* The light follower element */
.btn-glow .mouse-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover .mouse-light {
  opacity: 1;
}
/* Custom Glow for Outline Button */
.btn-glow-outline {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-glow-outline:hover {
  border-color: var(--purple);
  color: var(--bg) !important; /* Text turns dark to contrast with the glow */
  box-shadow: 0 0 20px rgba(18, 234, 203, 0.4);
}

.btn-glow-outline .mouse-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1; /* Sits behind the text */
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow-outline:hover .mouse-light {
  opacity: 1;
}
/* Logo Styling */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.nav-logo {
  max-height: 45px; /* Adjust this value to fit your logo's design */
  width: auto; /* Keeps aspect ratio intact */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05); /* Subtle pop on hover */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nav-logo {
    max-height: 35px; /* Slightly smaller on mobile to save space */
  }
}
/* --- BLOG SECTION --- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--purple);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-content {
  padding: 25px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.blog-link i {
  font-size: 0.8rem;
  transition: 0.3s;
}

.blog-link:hover {
  color: var(--teal);
}

.blog-link:hover i {
  transform: translateX(5px);
}
/* --- ACHIEVEMENTS SECTION --- */
.achievement-card {
  background: var(--glass);
  border: 1px solid rgba(18, 234, 203, 0.1);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.achievement-card:hover {
  border-color: var(--teal);
  background: rgba(18, 234, 203, 0.05);
  transform: translateY(-5px);
}

.achievement-icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 15px;
  display: inline-block;
  animation: pulse-teal 3s infinite;
}

@keyframes pulse-teal {
  0% {
    filter: drop-shadow(0 0 2px var(--teal));
  }
  50% {
    filter: drop-shadow(0 0 10px var(--teal));
  }
  100% {
    filter: drop-shadow(0 0 2px var(--teal));
  }
}

.counter-value {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(180deg, var(--white), #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.achievement-label {
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.counter-value {
  font-size: 3.5rem; /* Slightly larger for impact */
  font-weight: 800;
  display: inline-block; /* Changed from block to inline-block */
  background: linear-gradient(180deg, var(--white), #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* --- RESPONSIVE ACHIEVEMENTS --- */
.achievement-card {
  background: var(--glass);
  border: 1px solid rgba(18, 234, 203, 0.1);
  border-radius: 20px;
  padding: 30px 15px; /* Reduced padding for mobile */
  text-align: center;
  transition: 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.counter-value {
  /* Use clamp for fluid font size: min 2rem, scales with width, max 3.5rem */
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  display: inline-block;
  background: linear-gradient(180deg, var(--white), #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.achievement-label {
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: clamp(0.6rem, 2vw, 0.8rem);
  margin-top: 10px;
}

.achievement-icon {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--teal);
  margin-bottom: 10px;
}

/* Adjust the gap and padding for smaller screens */
@media (max-width: 576px) {
  .achievement-card {
    padding: 20px 10px;
  }
}
/* --- ENHANCED FOOTER --- */
footer {
  background: rgba(5, 2, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px;
  position: relative;
}

.footer-logo {
  max-height: 40px;
  margin-bottom: 20px;
}

.footer-heading {
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer-link {
  display: block;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: 0.3s;
}

.footer-link:hover {
  color: var(--teal);
  transform: translateX(5px);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  margin-right: 10px;
  transition: 0.4s;
}

.social-icon:hover {
  background: var(--purple);
  color: white;
  box-shadow: 0 0 15px var(--purple);
  transform: translateY(-5px);
}

.newsletter-input {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
  width: 100%;
  margin-bottom: 10px;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.05);
}

.copyright-bar {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: #555;
}
/* --- HOME TEAM SECTION --- */
.team-grid-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-img-container {
  position: relative;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
}

.team-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.8);
  transition: 0.6s ease;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(5, 2, 18, 0.4) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: 0.4s;
}

/* Hover Effects */
.team-grid-item:hover {
  border-color: var(--teal);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(18, 234, 203, 0.15);
}

.team-grid-item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

.team-role {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  transform: translateY(10px);
  opacity: 0;
  transition: 0.4s;
}

.team-grid-item:hover .team-role {
  transform: translateY(0);
  opacity: 1;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.social-links-mini {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s delay 0.1s;
}

.team-grid-item:hover .social-links-mini {
  opacity: 1;
  transform: translateY(0);
}

.social-links-mini a {
  color: var(--white);
  font-size: 1rem;
  transition: 0.3s;
}

.social-links-mini a:hover {
  color: var(--teal);
}

/*  About Page  */
/* --- Hero Section --- */
.about-hero {
  padding: 180px 0 100px;
  text-align: center;
}
.glitch-text {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--white), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Mission Section --- */
.mission-box {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 50px;
  backdrop-filter: blur(20px);
}

/* --- Value Cards --- */
.value-card {
  background: var(--card-bg);
  border: 1px solid rgba(18, 234, 203, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  transition: 0.4s;
  height: 100%;
}
.value-card:hover {
  border-color: var(--teal);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(18, 234, 203, 0.1);
}
.value-icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 20px;
}
/* --- MISSION & VISION SECTION --- */
.core-card {
  background: var(--glass);
  border-radius: 30px;
  padding: 50px;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: 0.4s;
}

.mission-card {
  border: 1px solid rgba(139, 80, 253, 0.3);
}
.mission-card:hover {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(139, 80, 253, 0.15);
}

.vision-card {
  border: 1px solid rgba(18, 234, 203, 0.3);
}
.vision-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 30px rgba(18, 234, 203, 0.15);
}

.core-label {
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 20px;
  display: block;
}

.core-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.mission-icon {
  background: rgba(139, 80, 253, 0.1);
  color: var(--purple);
}

.vision-icon {
  background: rgba(18, 234, 203, 0.1);
  color: var(--teal);
}

.core-card p {
  line-height: 1.8;
  color: #b0b0b0;
}
/* Portfolio */
/* --- Portfolio Header --- */
.portfolio-hero {
  padding: 160px 0 60px;
  text-align: center;
}
.cyber-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

/* --- Filter Buttons --- */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 15px rgba(18, 234, 203, 0.2);
}

/* --- Project Cards --- */
.project-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
}
.project-card:hover {
  border-color: var(--purple);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 80, 253, 0.1);
}

.project-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.project-card:hover .project-img-box img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.project-content {
  padding: 30px;
}
.project-tech {
  font-size: 0.7rem;
  color: var(--purple);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.project-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 15px;
}
/* work with us */
/* --- Contact Layout --- */
.contact-hero {
  padding: 160px 0 100px;
}

.contact-info-panel {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 40px;
  height: 100%;
  backdrop-filter: blur(20px);
}

.node-status {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* --- Form Elements --- */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid rgba(18, 234, 203, 0.1);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 25px;
}
.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  padding: 15px;
  width: 100%;
  transition: 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(18, 234, 203, 0.05);
  box-shadow: 0 0 15px rgba(18, 234, 203, 0.1);
}
/* Fix for the Dropdown Menu visibility */
select.form-input option {
  background-color: #0b0620; /* A slightly lighter dark purple for visibility */
  color: white;
  padding: 10px;
}

/* Removing the default browser appearance for a cleaner look */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2312eacb' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 40px; /* Space for the teal arrow */
}
/* Ai Agent page */
/* --- Hero --- */
.service-hero {
  padding: 180px 0 100px;
  text-align: center;
}
.ai-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.neural-core {
  width: 150px;
  height: 150px;
  background: var(--purple);
  border-radius: 50%;
  margin: 0 auto 40px;
  filter: blur(40px);
  opacity: 0.6;
  animation: breath 4s infinite alternate;
}
@keyframes breath {
  from {
    transform: scale(1);
    opacity: 0.4;
  }
  to {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

/* --- Agent Cards --- */
.agent-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.agent-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 30px rgba(18, 234, 203, 0.1);
  transform: translateY(-10px);
}
.agent-icon {
  font-size: 2.5rem;
  color: var(--purple);
  margin-bottom: 25px;
}

/* --- Capability Bar --- */
.capability-row {
  background: var(--glass);
  padding: 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.cap-item {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cap-item i {
  color: var(--teal);
  margin-right: 8px;
}
/* web dev page */
/* --- Hero --- */
.service-hero {
  padding: 180px 0 100px;
  text-align: center;
}
.code-badge {
  color: var(--purple);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 4px;
  display: block;
  margin-bottom: 15px;
}

/* --- Tech Stack Grid --- */
.stack-box {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
}
.stack-box:hover {
  border-color: var(--teal);
  background: rgba(18, 234, 203, 0.05);
  transform: scale(1.05);
}
.stack-box i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--teal);
}

/* --- Performance Section --- */
.perf-card {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 50px;
  border: 1px solid rgba(139, 80, 253, 0.2);
}
.stat-circle {
  width: 120px;
  height: 120px;
  border: 4px solid var(--teal);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(18, 234, 203, 0.3);
  margin: 0 auto 20px;
}
/* ui ux page */
/* --- Hero Section --- */
.service-hero {
  padding: 180px 0 100px;
}
.hero-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* --- Feature Cards --- */
.feature-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s;
  height: 100%;
}
.feature-card:hover {
  border-color: var(--teal);
  background: rgba(18, 234, 203, 0.03);
  transform: translateY(-10px);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 20px;
}

/* --- Process Timeline --- */
.process-step {
  border-left: 2px solid var(--purple);
  padding: 0 0 40px 30px;
  position: relative;
}
.process-step::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple);
}
.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 2px;
}
/* telemarketing */
/* --- Hero --- */
.service-hero {
  padding: 180px 0 100px;
}
.outreach-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* --- Metrics Section --- */
.stat-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: 0.4s;
}
.stat-card:hover {
  border-color: var(--purple);
  background: rgba(139, 80, 253, 0.05);
  transform: translateY(-5px);
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.stat-label {
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

/* --- Strategy Grid --- */
.strategy-item {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  transition: 0.3s;
}
.strategy-item:hover {
  border-color: var(--teal);
  background: rgba(18, 234, 203, 0.02);
}
.strategy-icon {
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 15px;
}
/* social media */
/* --- Hero --- */
.service-hero {
  padding: 180px 0 80px;
}

.influence-tag {
  color: var(--purple);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* --- Algorithm Cards --- */
.algo-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  text-align: center;
}

.algo-card:hover {
  border-color: var(--teal);
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(18, 234, 203, 0.1);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* --- Velocity Section --- */
.velocity-box {
  background: var(--glass);
  border-radius: 30px;
  padding: 60px;
  border: 1px solid rgba(18, 234, 203, 0.1);
  position: relative;
  overflow: hidden;
}

.velocity-stat {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}
/* web integration */
/* --- Hero --- */
.service-hero {
  padding: 180px 0 100px;
}
.integration-tag {
  color: var(--purple);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* --- Connection Card --- */
.connect-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.connect-card:hover {
  border-color: var(--teal);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(18, 234, 203, 0.1);
}
.icon-stack {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
}
.icon-stack i {
  font-size: 2.5rem;
  color: var(--teal);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.icon-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--purple);
  border-radius: 50%;
  animation: spin 10s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- API List --- */
.api-pill {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 5px;
  transition: 0.3s;
}
.api-pill:hover {
  background: rgba(18, 234, 203, 0.1);
  border-color: var(--teal);
}
/* custom-developemetn */
/* --- Hero --- */
.service-hero {
  padding: 180px 0 100px;
}
.dev-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* --- Logic Cards --- */
.logic-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s;
  height: 100%;
  position: relative;
}
.logic-card:hover {
  border-color: var(--purple);
  background: rgba(139, 80, 253, 0.02);
  transform: translateY(-10px);
}
.logic-header {
  font-family: monospace;
  color: var(--purple);
  font-size: 0.75rem;
  margin-bottom: 20px;
  display: block;
}

/* --- Technical Grid --- */
.tech-spec-box {
  background: var(--glass);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(18, 234, 203, 0.1);
}
.spec-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.spec-item:last-child {
  border: none;
}
.spec-label {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
}
.spec-value {
  color: var(--teal);
  font-family: monospace;
  font-size: 0.85rem;
}
/* blog-ai-agent */
/* Blog Header */
.blog-hero {
  padding: 180px 0 60px;
}
.meta-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}
.main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
}

/* Content Area */
.content-wrapper {
  font-size: 1.1rem;
  color: #b0b0b0;
}
.content-wrapper h2,
.content-wrapper h3 {
  color: var(--white);
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 20px;
}
.content-wrapper p {
  margin-bottom: 25px;
}

.featured-img {
  width: 100%;
  border-radius: 30px;
  margin-bottom: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Sidebar */
.sidebar-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  position: sticky;
  top: 120px;
}
.sidebar-heading {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
/* Reading Progress Bar */
#progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 2000;
}

#progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  width: 0%;
  box-shadow: 0 0 10px var(--teal);
}
/* term of srvices */
/* --- Content Styling --- */
.terms-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 50px;
  margin-bottom: 20px;
}

.terms-content p,
.terms-content li {
  color: #b0b0b0;
  font-size: 1rem;
  margin-bottom: 20px;
}

.legal-badge {
  background: rgba(139, 80, 253, 0.1);
  color: var(--purple);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
}
/* --- Terms Header --- */
.terms-hero {
  padding: 160px 0 60px;
  background: linear-gradient(
    180deg,
    rgba(18, 234, 203, 0.05) 0%,
    transparent 100%
  );
}

.protocol-tag {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}
/* --- Sidebar Navigation --- */
.terms-nav {
  position: sticky;
  top: 120px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}
.terms-nav-item {
  display: block;
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 15px;
  transition: 0.3s;
}
.terms-nav-item:hover,
.terms-nav-item.active {
  color: var(--purple);
  border-left: 2px solid var(--purple);
  padding-left: 10px;
  margin-left: -22px;
}
/* privacy policy */
/* --- Policy Header --- */
.policy-hero {
  padding: 160px 0 60px;
  background: linear-gradient(
    180deg,
    rgba(139, 80, 253, 0.05) 0%,
    transparent 100%
  );
}

.protocol-tag {
  color: var(--purple);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

/* --- Sidebar Navigation --- */
.policy-nav {
  position: sticky;
  top: 120px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

.policy-nav-item {
  display: block;
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 15px;
  transition: 0.3s;
}

.policy-nav-item:hover,
.policy-nav-item.active {
  color: var(--teal);
  border-left: 2px solid var(--teal);
  padding-left: 10px;
  margin-left: -22px;
}

/* --- Content Styling --- */
.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 50px;
  margin-bottom: 20px;
}

.policy-content p,
.policy-content li {
  color: #b0b0b0;
  font-size: 1rem;
  margin-bottom: 20px;
}

.data-badge {
  background: rgba(18, 234, 203, 0.1);
  color: var(--teal);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
}
