/* ==========================================================================
   SOFTWARE DEVELOPMENT PAGE STYLES (Matching User Reference Design)
   ========================================================================== */

/* Hero Section Full Background Layout (Full View Matching Original Image) */
.sw-hero-section {
  position: relative;
  padding: 160px 24px 80px;
  background-color: #ffffff;
  background-image: url('../img/software-hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sw-hero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.sw-hero-content {
  text-align: left;
  max-width: 530px;
  z-index: 2;
}

.sw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 105, 255, 0.08);
  color: #1769ff;
  border: 1px solid rgba(23, 105, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sw-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.sw-hero-title .sw-highlight {
  color: #1769ff;
}

.sw-hero-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #475569;
  max-width: 580px;
  margin-bottom: 32px;
}

.sw-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sw-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1769ff;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(23, 105, 255, 0.28);
  border: none;
  cursor: pointer;
}

.sw-btn-primary:hover {
  background: #0f52d6;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 105, 255, 0.38);
}

.sw-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1e293b;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.sw-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.sw-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sw-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  animation: swFloat 6s ease-in-out infinite;
}

.sw-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
}

@keyframes swFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   2. SOFTWARE SERVICES 3x2 GRID
   ========================================================================== */
.sw-services-section {
  padding: 80px 24px;
  background: #ffffff;
}

.sw-container {
  max-width: 1280px;
  margin: 0 auto;
}

.sw-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.sw-section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1769ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sw-section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.sw-section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
}

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

.sw-service-card {
  background: #ffffff;
  border: 1px solid #e8eef7;
  border-radius: 18px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.sw-service-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.09);
}

.sw-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.sw-icon-purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.sw-icon-cyan {
  background: #ecfeff;
  color: #0891b2;
}

.sw-icon-blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.sw-icon-amber {
  background: #fffbeb;
  color: #b45309;
}

.sw-icon-pink {
  background: #fdf2f8;
  color: #db2777;
}

.sw-icon-emerald {
  background: #ecfdf5;
  color: #047857;
}

.sw-service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.sw-service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
  flex-grow: 1;
}

.sw-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1769ff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.sw-card-link:hover {
  color: #0f52d6;
  gap: 10px;
}

/* ==========================================================================
   3. PROCESS HORIZONTAL TIMELINE
   ========================================================================== */
.sw-process-section {
  padding: 80px 24px;
  background: #f8fbff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.sw-process-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.sw-process-left h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 10px 0 14px;
}

.sw-process-left p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.sw-timeline-flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  position: relative;
}

.sw-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.sw-step-circle-wrap {
  position: relative;
  margin-bottom: 14px;
}

.sw-step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1769ff;
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.08);
  transition: all 0.3s ease;
}

.sw-timeline-step:hover .sw-step-circle {
  border-color: #1769ff;
  background: #1769ff;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(23, 105, 255, 0.25);
}

.sw-step-badge-num {
  position: absolute;
  bottom: -6px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.sw-timeline-step strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.sw-timeline-step span {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}

/* ==========================================================================
   4. SPLIT: CORE CAPABILITIES & TECH STACK
   ========================================================================== */
.sw-split-section {
  padding: 80px 24px;
  background: #ffffff;
}

.sw-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.sw-split-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.sw-split-card-header {
  margin-bottom: 24px;
}

.sw-capabilities-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sw-cap-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.sw-cap-badge:hover {
  background: #f0f6ff;
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.sw-cap-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1769ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.sw-cap-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

/* Tech Right Panel - 13 Logos Grid */
.sw-tech-grid-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.sw-tech-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 4px;
  transition: all 0.25s ease;
}

.sw-tech-logo-item:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(23, 105, 255, 0.1);
}

.sw-tech-logo-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.sw-tech-logo-icon img,
.sw-tech-logo-icon svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.sw-tech-logo-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.15;
}

.sw-tech-img-preview {
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.sw-tech-img-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   5. WHY CHOOSE IT WAYS 4 CARDS
   ========================================================================== */
.sw-why-section {
  padding: 70px 24px;
  background: #f8fbff;
}

.sw-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sw-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.sw-why-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.08);
}

.sw-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sw-why-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.sw-why-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* ==========================================================================
   6. FINAL CTA BANNER (DARK BLUE MOCKUP)
   ========================================================================== */
.sw-final-cta-section {
  padding: 80px 24px;
  background: radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #051438 0%, #08215e 60%, #0d328a 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.sw-final-cta-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.sw-cta-mockup-wrap {
  position: relative;
}

.sw-cta-mockup-wrap img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sw-final-cta-content {
  text-align: left;
}

.sw-cta-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sw-final-cta-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
}

.sw-final-cta-content p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 540px;
}

.sw-cta-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b1f54;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.sw-cta-btn-white:hover {
  background: #f0f6ff;
  color: #1769ff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .sw-hero-section {
    background-image:
      linear-gradient(to right, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.9) 100%),
      url('../img/software-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 130px 20px 60px;
    min-height: auto;
  }

  .sw-hero-container {
    justify-content: center;
    text-align: center;
  }

  .sw-hero-content {
    text-align: center;
    max-width: 700px;
  }

  .sw-hero-desc {
    margin: 0 auto 30px;
  }

  .sw-hero-actions {
    justify-content: center;
  }

  .sw-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-process-layout {
    grid-template-columns: 1fr;
  }

  .sw-timeline-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .sw-split-grid {
    grid-template-columns: 1fr;
  }

  .sw-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-final-cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sw-final-cta-content {
    text-align: center;
  }

  .sw-final-cta-content p {
    margin: 0 auto 30px;
  }
}

@media (max-width: 640px) {
  .sw-hero-title {
    font-size: 2.2rem;
  }

  .sw-services-grid {
    grid-template-columns: 1fr;
  }

  .sw-timeline-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-capabilities-badges-grid {
    grid-template-columns: 1fr;
  }

  .sw-why-grid {
    grid-template-columns: 1fr;
  }

  .sw-final-cta-content h2 {
    font-size: 2rem;
  }
}