/* ==========================================================================
   StayMitra Technologies - Services Page Stylesheet (css/services.css)
   ========================================================================== */

/* ==========================================================================
   Our Services Section - Stay Mitra Technologies
   ========================================================================== */

.services-hub-section {
  padding: 100px 0 95px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
  overflow: hidden;
}

.service-anchor-target {
  position: absolute;
  top: -80px;
  left: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* Ambient glow spheres for high-tech aesthetic */
.services-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.65;
}

.services-ambient-glow.glow-top-left {
  top: -60px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(23, 50, 173, 0.08) 0%, rgba(0, 102, 245, 0.02) 70%, transparent 100%);
}

.services-ambient-glow.glow-bottom-right {
  bottom: 60px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, rgba(6, 182, 212, 0.03) 70%, transparent 100%);
}

.services-hub-section .container {
  position: relative;
  z-index: 1;
}

.services-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.what-we-do-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 18px;
  background: rgba(23, 50, 173, 0.07);
  color: var(--primary);
  border: 1px solid rgba(23, 50, 173, 0.16);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(23, 50, 173, 0.04);
}

.services-head .section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.services-head .section-lead {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto;
}

/* 6 Services Grid */
.services-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

/* Individual Service Category Card */
.service-category-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(16, 27, 59, 0.08);
  padding: 38px 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 33, 119, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease;
  overflow: hidden;
}

/* Subtle background radiance effect on card hover */
.service-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-software::before {
  background: radial-gradient(circle at 15% 15%, rgba(23, 50, 173, 0.05) 0%, rgba(0, 102, 245, 0.02) 60%, transparent 100%);
}

.card-webapp::before {
  background: radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.06) 0%, rgba(2, 132, 199, 0.02) 60%, transparent 100%);
}

.card-ai::before {
  background: radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.06) 0%, rgba(124, 58, 237, 0.02) 60%, transparent 100%);
}

.card-marketing::before {
  background: radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.06) 0%, rgba(234, 88, 12, 0.02) 60%, transparent 100%);
}

.card-business::before {
  background: radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.02) 60%, transparent 100%);
}

.card-design::before {
  background: radial-gradient(circle at 15% 15%, rgba(236, 72, 153, 0.06) 0%, rgba(225, 29, 72, 0.02) 60%, transparent 100%);
}

/* Hover States */
.service-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px -8px rgba(15, 33, 119, 0.12);
  border-color: rgba(23, 50, 173, 0.22);
}

.service-category-card:hover::before {
  opacity: 1;
}

/* Card Header Row */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-icon-wrapper {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}

.service-category-card:hover .service-icon-wrapper {
  transform: scale(1.08) translateY(-2px);
}

.service-icon-wrapper svg {
  width: 30px;
  height: 30px;
}

.category-index {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.6px;
}

.service-category-card:hover .category-index {
  color: var(--primary);
  opacity: 1;
}

/* Icon Variations */
.service-icon-wrapper.icon-blue {
  background: rgba(23, 50, 173, 0.08);
  color: #1732ad;
}

.service-icon-wrapper.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #0284c7;
}

.service-icon-wrapper.icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.service-icon-wrapper.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.service-icon-wrapper.icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.service-icon-wrapper.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

/* Title & Description */
.category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.category-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.62;
  margin-bottom: 22px;
}

/* Key Capabilities List */
.category-offerings {
  border-top: 1px solid rgba(16, 27, 59, 0.06);
  padding-top: 18px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.offerings-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.offerings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offerings-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #2b3858;
  line-height: 1.45;
  font-weight: 500;
}

.offerings-list .check-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
  opacity: 0.85;
}

.card-webapp .check-icon { color: #0284c7; }
.card-ai .check-icon { color: #7c3aed; }
.card-marketing .check-icon { color: #d97706; }
.card-business .check-icon { color: #059669; }
.card-design .check-icon { color: #db2777; }

/* Card Action Footer */
.card-footer-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 27, 59, 0.04);
}

.btn-explore-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-explore-service .arrow-icon {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-category-card:hover .btn-explore-service {
  color: var(--primary-dark);
}

.service-category-card:hover .btn-explore-service .arrow-icon {
  transform: translateX(6px);
}



/* ==========================================================================
   Conversion CTA Banner (Below Service Cards)
   ========================================================================== */
.services-cta-banner {
  background: linear-gradient(135deg, #071556 0%, #102484 55%, #1732ad 100%);
  border-radius: 24px;
  padding: 44px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 45px rgba(9, 21, 101, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.services-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 245, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.services-cta-content {
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.cta-pill-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.cta-subtitle {
  font-size: 16.5px;
  color: #e0e7ff;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cta-trust-line {
  font-size: 13.5px;
  font-weight: 600;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-trust-line span {
  color: #ffffff;
}

.services-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0c1c66;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta-primary:hover {
  background: #f0f6ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Backward compatibility for any remaining service elements */
.services-section {
  padding: 90px 0;
  position: relative;
  background: #ffffff;
}

.services-section.alt-bg {
  background: var(--bg-soft);
}

.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}



/* ==========================================================================
   Working Process Section (Cobalt Blue Background)
   ========================================================================== */

.process-section {
  position: relative;
  background: var(--hero-gradient);
  color: #ffffff;
  padding: 140px 0 160px;
  overflow: hidden;
}

.process-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.process-wave-top svg {
  width: 100%;
  height: 80px;
  fill: #ffffff;
}

.process-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.process-wave-bottom svg {
  width: 100%;
  height: 80px;
  fill: #ffffff;
}

.process-section .sub-tag {
  color: #9db6ff;
}

.process-section .section-title {
  color: #ffffff;
}

.process-section .bar-short,
.process-section .bar-long {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 3;
  margin-top: 60px;
}

.process-card {
  text-align: center;
  position: relative;
}

.process-circle-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
}

.process-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(0, 12, 60, 0.25);
  transition: all 0.35s ease;
  position: relative;
}

.process-card:hover .process-circle {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 22px 45px rgba(0, 10, 50, 0.4);
}

.process-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.process-num-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0066f5;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.process-step-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 14px;
  color: #c9d8ff;
  line-height: 1.6;
}

/* Connecting dashed line */
.process-grid::after {
  content: '';
  position: absolute;
  top: 70px;
  left: 12%;
  width: 76%;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
  z-index: 1;
  pointer-events: none;
}



/* ==========================================================================
   Technologies We Master Section
   ========================================================================== */

.tech-stack-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.tech-category-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(16, 27, 59, 0.07);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(15, 33, 119, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tech-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(15, 33, 119, 0.12);
  border-color: rgba(23, 50, 173, 0.25);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(16, 27, 59, 0.06);
}

.tech-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-cat-icon svg {
  width: 24px;
  height: 24px;
}

.tech-cat-icon.icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.tech-cat-icon.icon-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.tech-cat-icon.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.tech-cat-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.tech-cat-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 3px;
}

.tech-cat-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.tech-items-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f8faff;
  border: 1px solid rgba(16, 27, 59, 0.06);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-body);
  transition: all 0.25s ease;
}

.tech-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 33, 119, 0.08);
}

.tech-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-react { background: #61dafb; }
.dot-next { background: #0f172a; }
.dot-ts { background: #3178c6; }
.dot-flutter { background: #02569b; }
.dot-rn { background: #0284c7; }
.dot-tw { background: #06b6d4; }
.dot-node { background: #22c55e; }
.dot-python { background: #3b82f6; }
.dot-django { background: #0c4b33; }
.dot-express { background: #64748b; }
.dot-php { background: #8892bf; }
.dot-graphql { background: #e535ab; }
.dot-pg { background: #336791; }
.dot-mongo { background: #10aa50; }
.dot-redis { background: #dc2626; }
.dot-aws { background: #f59e0b; }
.dot-docker { background: #0ea5e9; }
.dot-firebase { background: #f59e0b; }
.dot-ai { background: #10a37f; }
.dot-langchain { background: #1c3c3c; }
.dot-wa { background: #25d366; }
.dot-bot { background: #6366f1; }
.dot-webhook { background: #ec4899; }
.dot-scraper { background: #8b5cf6; }

/* Infinite Tech Marquee */
.tech-marquee-wrapper {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 27, 59, 0.06);
  border-radius: 16px;
  padding: 16px 0;
  box-shadow: 0 6px 20px rgba(15, 33, 119, 0.03);
  position: relative;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.tech-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, transparent);
}

.tech-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: techMarqueeScroll 28s linear infinite;
}

.tech-marquee-track:hover {
  animation-play-state: paused;
}

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

.tech-marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #f8faff;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-title);
  white-space: nowrap;
}

