/* Services Page Modern Styles */

.services-hero {
  padding: 200px 0 120px;
  background-color: var(--primary-blue);
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 100%),
    url('../images/img10.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  position: relative;
}

.services-hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 650px;
}

.hero-text .badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-light);
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Alternating Showcase */
.services-showcase {
  background: var(--bg-white);
  padding: 60px 0;
}

.showcase-row {
  padding: 80px 0;
  border-bottom: 1px solid var(--bg-border);
}

.showcase-row:last-child {
  border-bottom: none;
}

.showcase-row.alt {
  background: var(--bg-light);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-grid.reverse .showcase-content {
  order: 2;
}

.showcase-grid.reverse .showcase-image {
  order: 1;
}

.showcase-content .svc-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-blue-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--primary-blue);
}

.showcase-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.showcase-content p {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 32px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-list li i {
  color: var(--success, #10b981);
  width: 20px;
  height: 20px;
}

.showcase-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-image:hover img {
  transform: scale(1.05);
}

/* Capabilities Section */
.capabilities-section {
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
}

.cap-header {
  margin-bottom: 60px;
}

.cap-header h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.cap-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cap-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  transition: all 0.3s ease;
}

.cap-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.cap-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent-orange);
}

.cap-card h4 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.cap-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
  padding: 120px 0;
  background: var(--bg-light);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.timeline-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary-blue);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--bg-light);
}

.timeline-item:not(:last-child) .timeline-marker::after {
  content: '';
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 24px + 32px);
  /* height of gap + padding approx */
  background: var(--bg-border);
  z-index: -1;
}

.timeline-content {
  flex: 1;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--bg-border);
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.timeline-content p {
  color: var(--text-main);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-grid.reverse .showcase-content {
    order: 1;
  }

  .showcase-grid.reverse .showcase-image {
    order: 2;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 16px;
  }

  .timeline-item:not(:last-child) .timeline-marker::after {
    display: none;
  }
}

/* Blue CTA */
.blue-cta {
  padding: 100px 0;
  background-color: var(--primary-blue);
  background-image: linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1586075010923-2dd4570fb338?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}

.blue-cta h2 {
  color: var(--text-light);
}