.custom-tabs {
  border-bottom: none;
  justify-content: center;
  margin-bottom: 40px;
}

.custom-tabs .nav-link {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 15px 30px;
  margin: 0 10px;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.custom-tabs .nav-link i {
  font-size: 1.2rem;
  line-height: 1;
}

.custom-tabs .nav-link span {
  font-size: 1rem;
}

.custom-tabs .nav-link.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary-color);
}

.section-padding {
  padding: 80px 0;
  min-height: 100vh;
}

.title {
  margin-bottom: 3rem;
  color: white;
}

.title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.title hr {
  width: 60px;
  height: 4px;
  background: white;
  margin: 1rem auto;
  border: none;
  border-radius: 2px;
}

.title p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 80%;
  margin: 0 auto;
}

.tab-content {
  margin-top: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.service-card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.service-card-modern h3 {
  color: #2d3748;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-description {
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.features-list li::before {
  content: '✓';
  color: #48bb78;
  font-weight: bold;
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.service-image {
  width: 100%;
  height: 350px;
  background: linear-gradient(45deg, #f7fafc, #edf2f7);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 0.9rem;
  border: 2px dashed #e2e8f0;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-button {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  color: white;
}

.highlight-card {
  grid-column: 1 / -1;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.highlight-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.highlight-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .title h2 {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-tabs .nav-link span {
    display: none;
  }

  .service-card-modern {
    padding: 1.5rem;
  }

  .section-padding {
    padding: 40px 0;
  }
}