/* ============================================================
   FIRSTLINCOLN TECHNOLOGIES — Service Page Redesign
   No-sidebar layout aligned with About page brand patterns
   ============================================================ */

/* ============================================================
   SECTION 1 — SERVICE INTRO  (reuses .about-section-six)
   ============================================================ */

.service-intro-section {
  padding: 90px 0;
}

/* ============================================================
   SECTION 2 — KEY CAPABILITIES  (reuses .industries-section.style-two)
   Already styled in main CSS — this file adds minor tweaks only
   ============================================================ */

/* ============================================================
   SECTION 3 — ALTERNATING IMAGE + CONTENT
   ============================================================ */

.service-alt-section {
  padding: 90px 0;
}

.service-alt-section.bg-light {
  background: #f8f9fc;
}

/* Image wrapper */
.svc-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.11);
}

.svc-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.svc-img-wrap:hover img {
  transform: scale(1.03);
}

.svc-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--theme-color1, #df2313);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Process steps */
.process-steps {
  margin-top: 8px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme-color1, #df2313);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.process-step-body h6 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--theme-color2, #000);
}

.process-step-body p {
  color: #777;
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

/* ============================================================
   SECTION 4 — BENEFIT CARDS
   ============================================================ */

.service-benefits-section {
  padding: 90px 0;
  background: #f8f9fc;
}

.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 3px solid transparent;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--theme-color1, #df2313);
}

.benefit-card .card-icon {
  font-size: 44px;
  color: var(--theme-color1, #df2313);
  margin-bottom: 24px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover .card-icon {
  transform: scale(1.12) translateY(-3px);
}

.benefit-card h5 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--theme-color2, #000);
}

.benefit-card p {
  color: #777;
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}

/* ============================================================
   SECTION 5 — STAT COUNTER STRIP
   ============================================================ */

.service-stat-strip {
  background: var(--theme-color1, #df2313);
  padding: 70px 0;
}

.service-stat {
  text-align: center;
  color: #fff;
  padding: 10px 0;
}

.service-stat .stat-num {
  display: block;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.service-stat .stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.88;
}

/* divider between stats */
.service-stat + .service-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .service-stat + .service-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .service-stat .stat-num {
    font-size: 40px;
  }
}

/* ============================================================
   SECTION 6 — CTA STRIP
   ============================================================ */

.service-cta-strip {
  background: var(--theme-color2, #000);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-cta-strip::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 35, 19, 0.10), transparent 65%);
  top: -250px;
  right: -150px;
  pointer-events: none;
}

.service-cta-strip::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 35, 19, 0.06), transparent 65%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.service-cta-strip .inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.service-cta-strip .sub-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--theme-color1, #df2313);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.service-cta-strip h2 {
  color: #fff;
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 22px;
}

.service-cta-strip p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 40px;
}

.service-cta-strip .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ghost / outline variant button for dark bg */
.btn-outline-light-cta {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
  letter-spacing: 0.5px;
}

.btn-outline-light-cta:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 767px) {
  .service-cta-strip h2 {
    font-size: 30px;
  }
  .service-cta-strip .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   PORTFOLIO STICKY SCROLL  (Web & Mobile Dev page)
   ============================================================ */

.portfolio-scroll-section {
  padding: 100px 0;
  background: #fff;
}

.portfolio-scroll-wrapper {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-top: 60px;
}

/* --- Sticky left panel --- */
/* NOTE: position:sticky is killed by .page-wrapper { overflow:hidden }.
   JS applies translateY instead to simulate sticky behaviour.          */
.portfolio-sticky-panel {
  width: 42%;
  align-self: flex-start;
  will-change: transform;
}

.portfolio-sticky-inner {
  background: #fff;
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.portfolio-sticky-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--theme-color1, #df2313);
  border-radius: 20px 20px 0 0;
}

.portfolio-big-num {
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
  color: #f0f0f0;
  margin-bottom: -28px;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-project-client {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--theme-color1, #df2313);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-project-title {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin-bottom: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-project-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 28px;
  min-height: 88px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-tech-tag {
  background: #f0f4ff;
  color: #2244aa;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Progress dots */
.portfolio-progress-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.portfolio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.35s ease;
  cursor: pointer;
}

.portfolio-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--theme-color1, #df2313);
}

/* Fade-out class for content transition */
.portfolio-sticky-inner.is-fading .portfolio-big-num,
.portfolio-sticky-inner.is-fading .portfolio-project-client,
.portfolio-sticky-inner.is-fading .portfolio-project-title,
.portfolio-sticky-inner.is-fading .portfolio-project-desc,
.portfolio-sticky-inner.is-fading .portfolio-tech-tags {
  opacity: 0;
  transform: translateY(12px);
}

/* --- Scrolling images panel --- */
.portfolio-images-panel {
  width: 58%;
}

.portfolio-project-slide {
  margin-bottom: 80px;
  position: relative;
}

.portfolio-project-slide:last-child {
  margin-bottom: 0;
}

.portfolio-project-slide figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.13);
}

.portfolio-project-slide figure img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-project-slide:hover figure img {
  transform: scale(1.03);
}

.portfolio-slide-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
}

/* ============================================================
   RESPONSIVE — Portfolio Scroll
   ============================================================ */

@media (max-width: 991px) {
  .portfolio-scroll-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .portfolio-sticky-panel,
  .portfolio-images-panel {
    width: 100%;
  }

  .portfolio-sticky-panel {
    position: relative;
    top: auto;
  }

  .portfolio-project-slide figure img {
    height: 280px;
  }

  .portfolio-sticky-inner {
    padding: 32px 28px;
  }

  .portfolio-big-num {
    font-size: 64px;
  }

  .portfolio-project-title {
    font-size: 22px;
  }

  .portfolio-project-desc {
    min-height: auto;
  }
}

/* ============================================================
   RESPONSIVE — General Service Sections
   ============================================================ */

@media (max-width: 991px) {
  .svc-img-wrap img {
    height: 340px;
  }
  .service-stat + .service-stat {
    border: none;
  }
}

@media (max-width: 767px) {
  .service-alt-section {
    padding: 60px 0;
  }
  .service-benefits-section {
    padding: 60px 0;
  }
  .service-stat-strip {
    padding: 50px 0;
  }
  .benefit-card {
    margin-bottom: 24px;
  }
}
