/* Clients Page - Contact Page Style */

.clients-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.clients-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 1.5rem;
}

.clients-header p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Category Section */
.category-section {
  margin: 3rem 0;
  padding: 3rem 0;
  background-color: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.category-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

/* Client Card - Contact Page Style */
.client-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Client Image - Rounded Corners */
.client-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  object-fit: contain;
  background: #f8f9fa;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.client-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Client Name */
.client-card strong {
  font-size: 1.1rem;
  color: #343a40;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.client-card p {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .client-card {
    margin-bottom: 2rem;
  }
  
  .client-card img {
    max-width: 150px;
  }
  
  .clients-header h1 {
    font-size: 2rem;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .category-section {
    padding: 2rem 0;
  }
}

@media (max-width: 767.98px) {
  .clients-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
  
  .clients-header h1 {
    font-size: 1.75rem;
  }
  
  .category-section {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
  
  .client-card {
    padding: 1.5rem;
  }
  
  .client-card img {
    max-width: 120px;
    padding: 0.75rem;
  }
  
  .category-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for cards */
.client-card:nth-child(1) { animation-delay: 0.1s; }
.client-card:nth-child(2) { animation-delay: 0.2s; }
.client-card:nth-child(3) { animation-delay: 0.3s; }
.client-card:nth-child(4) { animation-delay: 0.4s; }
.client-card:nth-child(5) { animation-delay: 0.5s; }
.client-card:nth-child(6) { animation-delay: 0.6s; }

