/* --- Web Development 70vh Hero Section (Default Fonts & Light Theme) --- */
.webdev-hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 590px;
  background-color: #f8fafc;
  color: #0f172a;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 5%;
}

/* Background Image & Grid Mesh */
.webdev-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.webdev-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: contrast(1.15) brightness(0.95);
  transform: scale(1.02);
  animation: heroBgZoom 20s ease-in-out infinite alternate;
}

.webdev-grid-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
}

.webdev-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 45%, rgba(248, 250, 252, 0.4) 0%, rgba(248, 250, 252, 0.6) 75%),
              linear-gradient(to bottom, transparent 0%, #f8fafc 100%);
}

@keyframes heroBgZoom {
  0% { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.08) translate(-15px, -8px); }
}

/* Ambient Radial Glows */
.webdev-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  z-index: 0;
  pointer-events: none;
}

.glow-blue {
  width: 440px;
  height: 440px;
  background: rgba(2, 132, 199, 0.12);
  top: -60px;
  left: -80px;
}

.glow-violet {
  width: 460px;
  height: 460px;
  background: rgba(124, 58, 237, 0.09);
  bottom: -60px;
  right: -80px;
}

.webdev-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1.05fr;
  gap: 30px;
  align-items: center;
}

/* Left Content Area */
.webdev-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.webdev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  margin-bottom: 14px;
}

.webdev-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: heroDotPulse 2s infinite;
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.webdev-headline {
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.headline-prefix {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #1e293b;
  font-weight: 800;
}

.dynamic-text-wrapper {
  display: inline-block;
  min-height: 1.2em;
}

.dynamic-rotating-text {
  display: inline-block;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynamic-rotating-text.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.webdev-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 24px 0;
  max-width: 580px;
}

/* Action Buttons */
.webdev-action-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.webdev-primary-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.webdev-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.38);
}

.btn-ripple-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.webdev-primary-btn:hover .btn-ripple-shimmer {
  left: 140%;
}

.webdev-secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.webdev-secondary-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-2px);
}

.webdev-vitals-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.vitals-icon { font-size: 1rem; }
.vitals-text { display: flex; flex-direction: column; }
.vitals-text strong { font-size: 0.82rem; color: #0f172a; line-height: 1.1; }
.vitals-text span { font-size: 0.65rem; color: #64748b; font-weight: 600; }

/* Right Column: 3D Stage & Re-aligned Canvas */
.webdev-model-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.reactor-3d-stage {
  position: relative;
  width: 100%;
  max-width: 530px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Perspective Grid Floor */
.isometric-ground-grid {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px dashed rgba(2, 132, 199, 0.2);
  border-radius: 50%;
  transform: rotateX(65deg) translateZ(-80px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
}

/* Layer 1: Code Terminal Floater (Anchored Top-Left WITHOUT Overlap) */
.code-terminal-layer {
  position: absolute;
  top: 40px;
  left: -55px;
  width: 220px;
  background: #0f172a;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  font-size: 0.65rem;
  color: #cbd5e1;
  transform: rotateX(12deg) rotateY(-8deg) translateZ(35px);
  pointer-events: none;
  z-index: 5;
  transition: transform 0.4s ease;
}

.term-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.term-file { color: #38bdf8; font-weight: 700; }
.term-tag { color: #64748b; font-size: 0.58rem; }
.c-purple { color: #c084fc; }
.c-blue { color: #60a5fa; }
.c-amber { color: #fbbf24; }
.c-green { color: #4ade80; }

/* Layer 2: Main Isometric Browser Card */
.isometric-browser-card {
  width: 430px;
  height: 290px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transform: rotateX(14deg) rotateY(-14deg) rotateZ(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  z-index: 2;
}

.reactor-3d-stage:hover .isometric-browser-card {
  transform: rotateX(8deg) rotateY(-8deg) rotateZ(1deg) translateY(-4px);
  box-shadow: 0 25px 60px rgba(2, 132, 199, 0.15);
}

.browser-header {
  height: 34px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.browser-dots { display: flex; gap: 5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.d-red { background: #f87171; }
.d-yellow { background: #fbbf24; }
.d-green { background: #34d399; }

.browser-tab-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.tab-lock { font-size: 0.6rem; }
.browser-url {  font-size: 0.62rem; color: #64748b; }
.browser-latency {  font-size: 0.6rem; color: #10b981; font-weight: 700; }

/* Realistic Website Dummy Design Layout */
.browser-screen {
  position: relative;
  padding: 12px 14px;
  height: calc(100% - 34px);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Dummy Navbar */
.dummy-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.dummy-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-mark {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-radius: 3px;
}

.dummy-logo strong {
  font-size: 0.68rem;
  color: #0f172a;
}

.dummy-nav-links {
  display: flex;
  gap: 10px;
}

.d-link {
  font-size: 0.58rem;
  font-weight: 600;
  color: #64748b;
}

.d-link.active {
  color: #0284c7;
}

.dummy-nav-btn {
  font-size: 0.55rem;
  font-weight: 700;
  color: #ffffff;
  background: #0f172a;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Dummy Hero Section */
.dummy-hero-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 4px 0;
}

.dummy-badge-pill {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 4px;
}

.dummy-hero-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0;
}

.dummy-hero-desc {
  font-size: 0.54rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

.dummy-hero-btns {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.d-btn-main {
  font-size: 0.52rem;
  font-weight: 700;
  background: #0284c7;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
}

.d-btn-ghost {
  font-size: 0.52rem;
  font-weight: 600;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Dummy Cards Grid */
.dummy-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.dummy-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.highlight-card {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-ico {
  font-size: 0.65rem;
}

.card-tag-pill {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: #e2e8f0;
  color: #475569;
}

.tag-green {
  background: #dcfce7;
  color: #16a34a;
}

.d-metric-val {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
}

.d-metric-label {
  font-size: 0.5rem;
  color: #64748b;
  font-weight: 500;
}

.mini-bar-track {
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 3px;
}

.mini-bar-fill {
  height: 100%;
}

.fill-blue { width: 85%; background: #0284c7; }
.fill-green { width: 72%; background: #16a34a; }
.fill-purple { width: 95%; background: #7c3aed; }

/* Animated Scanline Laser */
.scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0284c7, transparent);
  box-shadow: 0 0 10px #0284c7;
  animation: laserSweep 3.2s ease-in-out infinite;
}

@keyframes laserSweep {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Layer 3: Floating Orbit Nodes (Re-anchored Coordinates) */
.orbit-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  pointer-events: none;
  z-index: 4;
}

/* Anchored Top-Right (No overlap with URL bar) */
.chip-nextjs {
  top: 40px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  animation: floatChipA 4.5s ease-in-out infinite alternate;
}

.chip-dot-pulse {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

/* Anchored Bottom-Left (Cleanly separated) */
.chip-perf-gauge {
  bottom: 20px;
  left: -15px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatChipB 5.5s ease-in-out infinite alternate;
}

.gauge-ring {
  position: relative;
  width: 32px;
  height: 32px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.circle-bg { fill: none; stroke: #e2e8f0; stroke-width: 3.8; }
.circle { fill: none; stroke: #10b981; stroke-width: 3.8; stroke-linecap: round; }
.gauge-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  font-weight: 800;
  color: #0f172a;
}

.gauge-meta { display: flex; flex-direction: column; }
.gauge-meta strong { font-size: 0.72rem; color: #0f172a; }
.gauge-meta span { font-size: 0.6rem; color: #64748b; }

/* Anchored Bottom-Right (Clear of card frame) */
.chip-cloud-status {
  bottom: 10px;
  right: -25px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatChipA 6s ease-in-out infinite alternate-reverse;
}

.cloud-icon { font-size: 0.95rem; }
.cloud-text { display: flex; flex-direction: column; }
.cloud-text strong { font-size: 0.72rem; color: #0f172a; }
.cloud-text span { font-size: 0.6rem; color: #64748b; }

@keyframes floatChipA {
  0% { transform: translateY(0px) translateZ(35px); }
  100% { transform: translateY(-8px) translateZ(35px); }
}

@keyframes floatChipB {
  0% { transform: translateY(0px) translateZ(35px); }
  100% { transform: translateY(8px) translateZ(35px); }
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .webdev-hero-section {
    height: auto;
    min-height: auto;
    padding: 70px 5% 50px;
  }
  .webdev-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .webdev-content {
    align-items: center;
  }
  .webdev-action-strip {
    justify-content: center;
  }
  .reactor-3d-stage {
    max-width: 420px;
    height: 340px;
  }
  .isometric-browser-card {
    width: 360px;
    height: 250px;
  }
  .code-terminal-layer {
    display: none;
  }
  .chip-cloud-status {
    right: 0px;
  }
  .chip-perf-gauge {
    left: 0px;
  }
}

/* Section 2 Starts */

/* --- Left Image / Right Content Split Section (Default Fonts & Light Theme) --- */
.web-intro-split-section {
  position: relative;
  width: 100%;
  padding: 100px 5%;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
}

/* Ambient Radial Backdrops */
.split-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
}

.glow-blue {
  width: 480px;
  height: 480px;
  background: rgba(2, 132, 199, 0.08);
  top: 10%;
  left: -80px;
}

.glow-indigo {
  width: 460px;
  height: 460px;
  background: rgba(99, 102, 241, 0.06);
  bottom: 5%;
  right: -80px;
}

.split-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 70px;
  align-items: center;
}

/* Left Image Column */
.split-image-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.split-image-card {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.split-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(2, 132, 199, 0.12);
}

.split-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.split-image-card:hover .split-main-photo {
  transform: scale(1.04);
}

.split-image-glaze {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 23, 42, 0.15) 100%);
  pointer-events: none;
}

/* Floating Information Badges */
.split-floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.pill-top {
  top: 24px;
  left: -24px;
  animation: floatBadgeA 5s ease-in-out infinite alternate;
}

.pill-bottom {
  bottom: 24px;
  right: -24px;
  animation: floatBadgeB 6s ease-in-out infinite alternate;
}

.pill-icon {
  width: 38px;
  height: 38px;
  background: #e0f2fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.icon-purple {
  background: #ede9fe;
}

.pill-text {
  display: flex;
  flex-direction: column;
}

.pill-text strong {
  font-size: 0.84rem;
  color: #0f172a;
}

.pill-text span {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

@keyframes floatBadgeA {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes floatBadgeB {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

/* Right Content Column */
.split-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.split-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 12px;
}

.split-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: splitDotPulse 2s infinite;
}

@keyframes splitDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.split-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
}

.split-title {
  font-size: clamp(2.3rem, 3.8vw, 3.3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 18px 0;
}

.split-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.split-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #1e293b;
  font-weight: 600;
  margin: 0 0 14px 0;
}

.split-sublead {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 28px 0;
}

/* Service Scope Pills */
.split-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.service-chip {
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
}

.service-chip:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

/* Specifications Quality Strip */
.split-specs-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  width: 100%;
}

.spec-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.spec-check {
  width: 20px;
  height: 20px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Scroll Reveal Initial States */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal[data-origin="left"] {
  transform: translateX(-40px);
}

.scroll-reveal[data-origin="right"] {
  transform: translateX(40px);
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Responsive Handling */
@media (max-width: 1024px) {
  .split-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .web-intro-split-section {
    padding: 70px 5%;
  }
  .split-content-col {
    align-items: center;
    text-align: center;
  }
  .split-chips-row {
    justify-content: center;
  }
  .split-specs-strip {
    justify-content: center;
  }
  .split-image-card {
    height: 340px;
  }
  .pill-top {
    left: 0;
  }
  .pill-bottom {
    right: 0;
  }
}

/* Section 2 Ends  */

/* sECTION 3 STARTS */
/* --- Global Reset & Foundation across All 15 Services --- */
.dg-srv-section {
  position: relative;
  width: 100%;
  padding: 100px 5%;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
  border-bottom: 1px solid #edf2f7;
}

.srv-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Base Typographic Hierarchy */
.srv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0284c7;
  margin-bottom: 14px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.8);
}
.dot-blue { background-color: #2563eb; }
.dot-orange { background-color: #ea580c; }
.dot-purple { background-color: #7c3aed; }
.dot-teal { background-color: #0d9488; }
.dot-cyan { background-color: #0284c7; }
.dot-rose { background-color: #e11d48; }
.dot-pink { background-color: #db2777; }
.dot-yellow { background-color: #d97706; }
.dot-indigo { background-color: #4f46e5; }
.dot-emerald { background-color: #059669; }

.srv-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
}

.srv-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.srv-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0284c7;
  margin: 0 0 16px 0;
}

.srv-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 24px 0;
}

/* Service Checklist Highlighting Boxes */
.srv-highlight-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.highlight-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.srv-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.srv-checklist.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.srv-checklist.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
}

.srv-checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

.srv-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0284c7;
  font-weight: 900;
  font-size: 0.85rem;
}

/* Meta Cluster (Highlights, Best For, SEO Focus) */
.srv-meta-cluster {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-row {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

.meta-row strong {
  color: #0f172a;
}

.seo-focus-tag {
  font-size: 0.74rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 6px;
  line-height: 1.4;
  border-left: 2px solid #cbd5e1;
}

/* --- Section Unique Layout Architectures --- */

/* Style 01: Tablet Mockup */
.srv-style-tablet { background: #ffffff; }
.tablet-mockup-frame {
  position: relative;
  background: #0f172a;
  padding: 18px 18px 26px;
  border-radius: 36px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}
.tablet-camera {
  width: 8px;
  height: 8px;
  background: #334155;
  border-radius: 50%;
  margin: 0 auto 12px;
}
.tablet-screen-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.tablet-floating-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.pill-pulse {
  width: 6px;
  height: 6px;
  background: #0284c7;
  border-radius: 50%;
}

/* Style 02: Corporate Stately Dual-Pillar */
.srv-style-corporate .srv-container { grid-template-columns: 0.95fr 1.15fr; }
.corporate-hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
.corp-img { width: 100%; height: 380px; object-fit: cover; display: block; }
.corp-data-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  justify-content: space-around;
}
.corp-metric strong { display: block; font-size: 1.1rem; color: #1e3a8a; }
.corp-metric span { font-size: 0.72rem; color: #64748b; }

/* Style 03: E-Commerce Store Stage */
.srv-style-ecommerce { background: #ffffff; }
.ecommerce-showcase-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}
.ecom-img { width: 100%; height: 360px; object-fit: cover; border-radius: 28px; display: block; }
.ecom-floating-cart {
  position: absolute;
  top: 25px;
  left: -20px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}
.cart-icon { font-size: 1.4rem; }
.ecom-floating-cart strong { display: block; font-size: 0.85rem; color: #ea580c; }
.ecom-floating-cart span { font-size: 0.72rem; color: #64748b; }

/* Style 04: Full-Stack Code Architecture */
.srv-style-webapp .full-width-stack { grid-template-columns: 1fr; gap: 40px; }
.webapp-interactive-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.terminal-mock {
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}
.term-bar {
  background: #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #94a3b8;
}
.term-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.term-dot:nth-child(2) { background: #eab308; }
.term-dot:nth-child(3) { background: #22c55e; }
.term-bg-img { width: 100%; height: 260px; object-fit: cover; opacity: 0.35; display: block; }
.term-code-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #38bdf8;
}

/* Style 05: Web Portals Topology */
.srv-style-portal { background: #ffffff; }
.srv-style-portal .srv-container { grid-template-columns: 0.95fr 1.15fr; }
.portal-network-stage {
  position: relative;
  border-radius: 24px;
}
.portal-img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; display: block; }
.portal-user-node {
  position: absolute;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.node-1 { top: 30px; right: -15px; color: #0d9488; }
.node-2 { bottom: 80px; left: -20px; color: #0284c7; }
.node-3 { bottom: 20px; right: 20px; color: #7c3aed; }

/* Style 06: CMS Drag-and-Drop Canvas */
.cms-canvas-frame { position: relative; border-radius: 24px; overflow: hidden; }
.cms-img { width: 100%; height: 350px; object-fit: cover; display: block; border-radius: 24px; }
.cms-widget-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.badge-edit { background: #e0f2fe; color: #0284c7; padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; }

/* Style 07: Conversion Funnel */
.srv-style-landing { background: #ffffff; }
.srv-style-landing .srv-container { grid-template-columns: 0.9fr 1.15fr; }
.funnel-laser-card { position: relative; border-radius: 24px; overflow: hidden; }
.funnel-img { width: 100%; height: 360px; object-fit: cover; display: block; border-radius: 24px; }
.funnel-target-pill {
  position: absolute;
  top: 30px;
  right: 20px;
  background: #e11d48;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

/* Style 08: UI/UX Studio Workbench */
.uiux-canvas-desk { position: relative; border-radius: 24px; overflow: hidden; }
.uiux-img { width: 100%; height: 370px; object-fit: cover; display: block; border-radius: 24px; }
.swatch-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
}
.swatch { width: 14px; height: 14px; border-radius: 50%; }
.sw-1 { background: #0284c7; }
.sw-2 { background: #7c3aed; }
.sw-3 { background: #10b981; }

/* Style 09: Website Redesign Dual Split */
.srv-style-redesign .srv-container { grid-template-columns: 0.95fr 1.15fr; }
.redesign-comparison-card { position: relative; border-radius: 24px; overflow: hidden; }
.redesign-img { width: 100%; height: 370px; object-fit: cover; display: block; border-radius: 24px; }
.half-before, .half-after {
  position: absolute;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 8px;
}
.half-before { top: 20px; left: 20px; background: rgba(15, 23, 42, 0.8); color: #f87171; }
.half-after { bottom: 20px; right: 20px; background: #10b981; color: #ffffff; }

/* Style 10: API Integration Synapse */
.srv-style-api { background: #ffffff; }
.api-synapse-stage { position: relative; border-radius: 24px; }
.api-img { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; display: block; }
.api-bridge-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid #4f46e5;
  color: #4f46e5;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.2);
}

/* Style 11: Maintenance Operations */
.srv-style-maintenance .srv-container { grid-template-columns: 0.95fr 1.15fr; }
.ops-health-card { position: relative; border-radius: 24px; overflow: hidden; }
.ops-img { width: 100%; height: 370px; object-fit: cover; border-radius: 24px; display: block; }
.health-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #059669;
}

/* Style 12: SEO SERP Rank Graph */
.srv-style-seo { background: #ffffff; }
.serp-preview-frame { position: relative; border-radius: 24px; overflow: hidden; }
.serp-img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; display: block; }
.serp-rank-pill {
  position: absolute;
  top: 25px;
  left: 20px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0d9488;
}

/* Style 13: Web Performance Vitals */
.speed-dial-stage { position: relative; border-radius: 24px; }
.speed-img { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; display: block; }
.vitals-score-bubble {
  position: absolute;
  bottom: 25px;
  right: 20px;
  background: #10b981;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 0.85rem;
}

/* Style 14: PWA App Experience */
.srv-style-pwa { background: #ffffff; }
.pwa-phone-frame { position: relative; border-radius: 24px; overflow: hidden; }
.phone-img { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; display: block; }
.install-prompt-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #7c3aed;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Style 15: Secure Web Vault */
.srv-style-security .srv-container { grid-template-columns: 0.95fr 1.15fr; }
.security-vault-stage { position: relative; border-radius: 24px; overflow: hidden; }
.vault-img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; display: block; }
.shield-ssl-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #059669;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* --- Theme Accent Borders & Checkmarks --- */
.theme-corporate { border-left-color: #2563eb; }
.theme-ecommerce { border-left-color: #ea580c; }
.theme-terminal { border-left-color: #7c3aed; }
.theme-portal { border-left-color: #0d9488; }
.theme-cms { border-left-color: #0284c7; }
.theme-landing { border-left-color: #e11d48; }
.theme-uiux { border-left-color: #db2777; }
.theme-redesign { border-left-color: #d97706; }
.theme-api { border-left-color: #4f46e5; }
.theme-maintenance { border-left-color: #059669; }
.theme-seo { border-left-color: #0d9488; }
.theme-perf { border-left-color: #0284c7; }
.theme-pwa { border-left-color: #7c3aed; }
.theme-security { border-left-color: #059669; }

/* Scroll Reveal States */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal[data-anim="slide-right"] { transform: translateX(-40px); }
.scroll-reveal[data-anim="slide-left"] { transform: translateX(40px); }
.scroll-reveal[data-anim="slide-up"] { transform: translateY(40px); }
.scroll-reveal[data-anim="zoom-in"] { transform: scale(0.92); }
.scroll-reveal[data-anim="fade-up"] { transform: translateY(30px); }

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Responsive Rules for Tablets and Mobile */
@media (max-width: 1024px) {
  .srv-container,
  .srv-style-corporate .srv-container,
  .srv-style-portal .srv-container,
  .srv-style-landing .srv-container,
  .srv-style-redesign .srv-container,
  .srv-style-maintenance .srv-container,
  .srv-style-security .srv-container,
  .webapp-interactive-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dg-srv-section { padding: 70px 5%; }
  .srv-checklist.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .srv-checklist.cols-2,
  .srv-checklist.cols-3 { grid-template-columns: 1fr; }
}
/* Section 3 ENds  */


/* --- Compact Rounded-Rectangle Services Section --- */
.dg-services-compact-section {
  position: relative;
  width: 100%;
  padding: 90px 5%;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
}

/* Ambient Radial Backdrops */
.compact-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
}

.glow-blue {
  width: 440px;
  height: 440px;
  background: rgba(2, 132, 199, 0.08);
  top: 10%;
  left: -60px;
}

.glow-indigo {
  width: 420px;
  height: 420px;
  background: rgba(99, 102, 241, 0.06);
  bottom: 10%;
  right: -60px;
}

.compact-container {
  position: relative;
  z-index: 1;
  max-width:100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Header */
.compact-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.compact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 14px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: badgeDotPulse 2s infinite;
}

@keyframes badgeDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.compact-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.compact-lead {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.compact-sublead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* Centered Small Rounded-Rectangle Pills Matrix */
.compact-pills-matrix {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
  width: 100%;
  margin: 0 auto;
  padding-top: 10px;
}

/* Rounded Rectangle Link Item */
.compact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #2b394c;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid #e3e8ef;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  user-select: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.compact-pill:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
  background-color: #ffffff;
}

.compact-pill:active {
  transform: translateY(0);
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .dg-services-compact-section {
    padding: 70px 5%;
  }
  .compact-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* Last Section Starts  */

/* --- 3-Line S-Curve Roadmap Section (Default Fonts & Light Theme) --- */
.dg-roadmap-3row-section {
  position: relative;
  width: 100%;
  padding: 110px 5%;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
}

/* Ambient Radial Backdrops */
.proc-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
}

.glow-blue {
  width: 500px;
  height: 500px;
  background: rgba(2, 132, 199, 0.08);
  top: 10%;
  left: -80px;
}

.glow-purple {
  width: 480px;
  height: 480px;
  background: rgba(124, 58, 237, 0.07);
  bottom: 5%;
  right: -80px;
}

.proc-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Header */
.proc-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.proc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 16px;
}

.proc-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: procPulseDot 2s infinite;
}

@keyframes procPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.proc-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.proc-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proc-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* 3-Line Roadmap Canvas */
.proc-canvas-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 55px; /* Spacing between rows */
  padding: 10px 0;
}

/* Continuous SVG Circuit Spine */
.proc-svg-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.animated-spine-path {
  stroke: #94a3b8;
  stroke-width: 2.5px;
  animation: dashCycle 25s linear infinite;
}

@keyframes dashCycle {
  to {
    stroke-dashoffset: -1000;
  }
}

/* 3 Equal Cards Row */
.proc-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px; /* Space for the horizontal connector lines */
}

/* Individual Step Box */
.proc-step-box {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 26px;
  border: 1px solid #e2e8f0;
  border-top-width: 4px; /* Distinctive accent stripe */
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 170px;
}

.proc-step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

/* Box Header Items */
.box-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.step-counter {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 8px;
}

.box-indicator-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.proc-step-box:hover .box-indicator-icon {
  transform: scale(1.15) rotate(5deg);
}

.box-step-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.box-step-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* Theme Accents (Colors & Counters) */
/* Azure */
.theme-azure { border-top-color: #0284c7; }
.theme-azure .step-counter { background: #e0f2fe; color: #0284c7; }

/* Orange */
.theme-orange { border-top-color: #ea580c; }
.theme-orange .step-counter { background: #ffedd5; color: #ea580c; }

/* Indigo */
.theme-indigo { border-top-color: #4f46e5; }
.theme-indigo .step-counter { background: #ede9fe; color: #4f46e5; }

/* Rose */
.theme-rose { border-top-color: #e11d48; }
.theme-rose .step-counter { background: #ffe4e6; color: #e11d48; }

/* Teal */
.theme-teal { border-top-color: #0d9488; }
.theme-teal .step-counter { background: #ccfbf1; color: #0d9488; }

/* Emerald */
.theme-emerald { border-top-color: #10b981; }
.theme-emerald .step-counter { background: #dcfce7; color: #10b981; }

/* Amber */
.theme-amber { border-top-color: #d97706; }
.theme-amber .step-counter { background: #fef3c7; color: #d97706; }

/* Cyan */
.theme-cyan { border-top-color: #06b6d4; }
.theme-cyan .step-counter { background: #cffafe; color: #0891b2; }

/* Violet */
.theme-violet { border-top-color: #7c3aed; }
.theme-violet .step-counter { background: #f3e8ff; color: #7c3aed; }

/* Scroll Reveal States */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive Rules for Tablet and Mobile */
@media (max-width: 1080px) {
  .proc-canvas-wrap {
    gap: 20px;
  }
  .proc-svg-spine {
    display: none; /* Hide complex S-curve on mobile/tablets to prevent clipping */
  }
  .proc-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Normalize reversed row 2 on mobile devices for intuitive vertical reading */
  .row-line-2 {
    display: flex;
    flex-direction: column-reverse;
  }
  .dg-roadmap-3row-section {
    padding: 70px 5%;
  }
}

/* LAst Section Ends  */