/* SERVICES 4 - TABS INTERACTIVE */
.services-4 {
  padding: 100px 5%;
  background: var(--white);
}
.services-4 .container {
  max-width: 1100px;
  margin: 0 auto;
}
.services-4 .header {
  text-align: center;
  margin-bottom: 50px;
}
.services-4 .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.services-4 h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
}
.services-4 .tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.services-4 .tab {
  padding: 14px 28px;
  background: var(--off-white);
  border: 2px solid var(--gray-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}
.services-4 .tab:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}
.services-4 .tab.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}
.services-4 .tabs-content {
  position: relative;
}
.services-4 .tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  animation: fadeIn 0.4s ease;
}
.services-4 .tab-content.active {
  display: grid;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.services-4 .tab-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  border-radius: 15px;
}
.services-4 .tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-4 .tab-image .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.services-4 .tab-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 16px;
}
.services-4 .tab-info > p {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 28px;
}
.services-4 .features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.services-4 .feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.services-4 .feature-icon {
  width: 28px;
  height: 28px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.services-4 .feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--white);
}
.services-4 .feature span {
  font-size: 0.9rem;
  color: var(--gray-dark);
}
.services-4 .btn-group {
  display: flex;
  gap: 16px;
}
.services-4 .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.services-4 .btn:hover {
  background: var(--primary);
  color: var(--white);
}
.services-4 .btn-2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.services-4 .btn-2:hover {
  background: var(--secondary);
  color: var(--white);
}
@media (max-width: 1024px) {
  .services-4 .tab-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .services-4 .tab-image {
    height: 300px;
  }
}
@media (max-width: 640px) {
  .services-4 .features {
    grid-template-columns: 1fr;
  }
  .services-4 .btn-group {
    flex-direction: column;
  }
  .services-4 .btn,
  .services-4 .btn-2 {
    justify-content: center;
  }
}
