/* Section Styling */
.client-logo-section {
  background-color: #f9f9f9; /* Light background */
  padding: 50px 20px;
  text-align: center;
}

.client-logo-section .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

/* Logo Grid */
.client-logo-section .logo-grid {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping to next line */
  gap: 20px; /* Spacing between grid items */
  justify-content: center; /* Center align the grid */
}

/* Individual Logo Item */
.client-logo-section .logo-item {
  flex: 1 1 calc(20% - 20px); /* Adjust width (20% of parent minus gap) */
  max-width: 150px; /* Optional: Restrict max width */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; /* Optional: Add background for logos */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.client-logo-section .logo-item img {
  max-width: 100%;
  max-height: 80px; /* Restrict max height */
  object-fit: contain; /* Maintain logo aspect ratio */
}

/* Hover Effect */
.client-logo-section .logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .client-logo-section .logo-item {
    flex: 1 1 calc(33.33% - 20px); /* Adjust width for tablets */
  }
}

@media (max-width: 480px) {
  .client-logo-section .logo-item {
    flex: 1 1 calc(50% - 20px); /* Adjust width for mobile devices */
  }
}

/* Section Title */
.webfooter .f-primary-b {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* Logo Grid Styling */
.webfooter .client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Space between logos */
  justify-content: flex-start; /* Align logos to the left */
}

.webfooter .client-logo-item {
  flex: 1 1 calc(25% - 10px); /* 4 logos per row on large screens */
  max-width: 62px; /* Keep logos consistent */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.webfooter .client-logo-item img {
  width: 62px;
  height: 62px;
  border-radius: 4px;
  background-color: #f9f9f9; /* Light background for better visibility */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.webfooter .client-logo-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .webfooter .client-logo-item {
      flex: 1 1 calc(33.33% - 10px); /* 3 logos per row on medium screens */
  }
}

@media (max-width: 768px) {
  .webfooter .client-logo-item {
      flex: 1 1 calc(50% - 10px); /* 2 logos per row on small screens */
  }
}

@media (max-width: 576px) {
  .webfooter .client-logo-item {
      flex: 1 1 100%; /* Full width logos on extra-small screens */
  }
}

/* Utility Classes */
.webfooter .hidden-xs {
  display: none;
}

@media (min-width: 768px) {
  .webfooter .hidden-xs {
      display: block;
  }
}

.webfooter .hidden-sm {
  display: none;
}

@media (min-width: 992px) {
  .webfooter .hidden-sm {
      display: block;
  }
}

.footer-col-1, .footer-col-2{
  width: 30% !important;
}
.footer-col-3{
  width: 40% !important;
}
@media (max-width: 992px) {
  .footer-col-1, .footer-col-2{
    width: 50% !important;
  }
  .footer-col-3{
    width: 100% !important;
  }
}
@media (max-width: 460px) {
  .footer-col-1, .footer-col-2{
    width: 100% !important;
  }
  .footer-col-3{
    width: 100% !important;
  }
}



