/* --- 1. Main Section Background --- */
.h-services {
  background: url(../images/png2.png); /* Your requested BG */
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

/* --- 2. Sticky Sidebar (Desktop) --- */
.service-sticky-sidebar {
  /* REMOVE position: sticky; */
  /* REMOVE top: 100px; */
  z-index: 10;
  padding-right: 15px;
  /* JS will handle position, but we need a default */
  position: relative;
}

/* Add this new rule for the parent column */
.h-services .col-lg-4 {
  position: relative; /* Essential for the JS 'absolute' bottom check to work */
}
.sub-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

/* --- 3. Unique Service Blocks --- */
.service-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;

  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.service-block:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

/* --- 4. The Gradient Icon Blobs --- */
.icon-blob {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  transition: transform 0.3s ease;
}

/* Icon rotation on hover */
.service-block:hover .icon-blob {
  transform: rotate(10deg) scale(1.1);
}

/* --- 5. Typography --- */
.service-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.service-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .service-sticky-sidebar {
    position: static;
    text-align: center;
    margin-bottom: 40px;
  }

  .service-block {
    align-items: center;
    text-align: center;
    background: #fff; /* White bg on mobile for readability */
  }
}

/* =========================================
   PROCESS SECTION
   ========================================= */
/* =========================================
   PROCESS SECTION FIX
   ========================================= */

.h-process {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

/* 1. The Line - Push it to the background */
.process-line {
  position: absolute;
  top: 40px; /* Center with icons */
  left: 10%;
  width: 80%;
  height: 2px;
  /* Create the dashed line */
  background-image: linear-gradient(
    to right,
    #ccc 50%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 15px 1px;
  background-repeat: repeat-x;
  z-index: 0; /* KEY: Send it to the back */
}

/* 2. The Icon - Bring it to front & Make it Opaque */
.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #333;

  position: relative;
  z-index: 2; /* KEY: Sit on top of the line */

  /* FIX: Add solid white BEHIND the gradient */
  background-color: #fff;

  /* Optional: Add a white border to cut the line further away */
  box-shadow: 0 0 0 10px #fff;
}

/* 3. The Number Badge */
.step-num {
  position: absolute;
  top: 0;
  right: 0; /* Adjusted position slightly */
  width: 30px;
  height: 30px;
  background: #1e293b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  z-index: 3;
}

/* 4. Text Styling */
.process-step h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
}
.process-step p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding: 0 10px;
}

/* =========================================
   WHY US / STATS SECTION
   ========================================= */
.why-list {
  list-style: none;
  padding: 0;
}
.why-list li {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stats Cards */
.stat-card {
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 5px;
  color: #1a1a1a;
}
.stat-card p {
  font-size: 14px;
  margin: 0;
  color: #555;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   AMBIENT MESH WAVE STYLES
   ========================================= */

.mesh-trusted-section {
  position: relative;
  padding: 60px 0 100px 0;
  background-color: #f8faff; /* Very light premium base */
  overflow: hidden;
  margin-bottom: 0;
}
/* --- 1. Animated Background Blobs --- */
.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px); /* Soft diffuse glow */
  animation: meshFloat 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

/* Brand Blue Blob (Top Left) */
.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(13, 110, 253, 0.12);
  top: -150px;
  left: -150px;
}

/* Cyan/Teal Blob (Bottom Right) */
.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(16, 185, 129, 0.12);
  bottom: -50px;
  right: -100px;
  animation-delay: -5s;
}

/* Purple Highlight (Center) */
.blob-3 {
  width: 350px;
  height: 350px;
  background: rgba(139, 92, 246, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: meshPulse 8s infinite alternate;
}

/* --- 2. Typography --- */
.mesh-heading {
  position: relative;
  z-index: 2;
}

.mesh-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

.mesh-title {
  font-size: 40px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.1;
  margin: 0 0 25px 0;
  font-family: "Nunito", sans-serif;
}

.mesh-title span {
  background: -webkit-linear-gradient(45deg, #0d6efd, #0847a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Decorative Gradient Line */
.mesh-line {
  width: 80px;
  height: 5px;
  background: linear-gradient(to right, #0d6efd, #0847a5);
  border-radius: 10px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .mesh-line {
    margin: 0;
  }
}

/* --- 3. Glass Slider --- */
.mesh-marquee {
  position: relative;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 45px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);

  /* Fade Masks */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.mesh-track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: meshScroll 40s linear infinite;
  align-items: center;
}

.mesh-item i {
  font-size: 50px;
  color: #94a3b8;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mesh-item i:hover {
  color: #0f172a;
  transform: scale(1.15);
  filter: drop-shadow(0 5px 15px rgba(13, 110, 253, 0.2));
}

/* --- Animations --- */
@keyframes meshScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes meshFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 20px) scale(1.1);
  }
}

@keyframes meshPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .mesh-trusted-section {
    padding: 80px 0 120px 0; /* Adjust padding for mobile */
  }

  .mesh-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .mesh-title {
    font-size: 32px;
  }

  .mesh-marquee {
    padding: 30px 0;
  }

  .mesh-track {
    gap: 40px;
  }

  .mesh-item i {
    font-size: 40px;
  }

  .mesh-wave-bottom svg {
    height: 60px; /* Smaller wave on mobile */
  }
}

/* --- Final CTA Box --- */
.hire-cta-box {
  background: #eaeeff;
  border-radius: 40px;
  padding: 50px;
  border: 1px solid #d4dcff;
  position: relative;
  box-shadow: 0 20px 60px rgba(13, 110, 253, 0.08);
}
.hire-cta-box h3 {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}
.hire-cta-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* Trust Icons at bottom */
.trust-icons {
  margin-top: 20px;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}
.trust-icons span {
  display: inline-block;
  margin: 5px 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
  .hire-cta-box {
    padding: 30px 20px;
  }
  .domain-grid {
    justify-content: center;
  }
  .hire-content {
    text-align: center;
  }
}

/* --- CRITICAL SPACING FIXES --- */

.h-why-us.common-big-pd {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.mesh-trusted-section {
  padding-bottom: 50px !important;
}

.row.justify-content-center.mt-5 {
  margin-top: 0 !important;
}

body > br {
  display: none !important;
}

.section-gap {
  margin-bottom: 80px;
}

/* =========================================
   FAQ SECTION STYLES (Services & Hire)
   ========================================= */
.text-gradient-cyan {
  background: linear-gradient(90deg, #005894 0%, #0099cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-title {
  font-weight: 700;
}
/* 1. Accordion Item - Card Style */
.custom-accordion .accordion-item {
  background: #fff;
  border: 1px solid #e7f1ff;
  border-radius: 16px !important;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 88, 148, 0.03);
  overflow: hidden;
  transition: all 0.1s ease;
}

/* Hover Effect */
.custom-accordion .accordion-item:hover {
  border-color: #b3d7ff;
  box-shadow: 0 8px 25px rgba(0, 88, 148, 0.08);
}

/* 2. Button  Styling */
.custom-accordion .accordion-button {
  background-color: #fff;
  color: #1e293b;
  font-size: 18px;
  font-weight: 700;
  padding: 24px 30px;
  border: none;
  box-shadow: none !important;
}

/* 3. Button Active State */
.custom-accordion .accordion-button:not(.collapsed) {
  color: #005894; /* Brand Blue */
  background-color: #f4f9ff;
  border-bottom: 1px solid #e0f2fe;
}

/* 4. Body Styling */
.custom-accordion .accordion-body {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  padding: 20px 30px 30px 30px;
  background-color: #fff;
}

/* 5. Custom Arrow Icon */
.custom-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23005894'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.1s ease-in-out;
  transform: scale(1);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg) scale(1);
}

/* 6. Title Badge */
.sub-title-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #005894;
  text-transform: uppercase;
  background: #e0f2fe;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .custom-accordion .accordion-button {
    font-size: 16px;
    padding: 20px;
  }
  .custom-accordion .accordion-body {
    padding: 15px 20px;
  }
}
