/* Services Page Specific Styles */
.services-page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #2165BF 100%);
  padding: 100px 0 40px;
  color: white;
  text-align: center;
}

.services-tabs {
  display: flex;
  justify-content: center;
  margin: 50px 0 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.service-tab {
  padding: 15px 30px;
  background-color: var(--light);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid transparent;
}

.service-tab.active {
  background-color: var(--primary);
  color: white;
}

.service-tab:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.service-content-container {
  margin: 40px 0 80px;
}

.service-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.service-content.active {
  display: block;
}

.service-content-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-content-header h2 {
  color: var(--primary);
  margin-bottom: 15px;
}

.service-content-header p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background-color: #f0f5ff;
}

.service-item-content {
  padding: 25px;
}

.service-item-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-item-description {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-item-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  gap: 5px;
  transition: gap 0.3s ease;
}

.service-item-link:hover {
  gap: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .service-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .service-items {
    grid-template-columns: 1fr;
  }
}
