.company-logos-section {
  width: 100%;
  background-color: #f8f9fa;
  padding: 1rem 0;
  margin-top: 3rem;
  border-top: 1px solid #DDDDDD;  /* Matching navbar border style */
  height: 150px;  /* Increased height further */
  display: flex;
  align-items: center;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow-x: hidden;  /* Prevent horizontal scroll */
}

.company-logos-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  padding: 0 0.25rem;
  overflow-x: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.company-logos::-webkit-scrollbar {
  display: none;
}

.company-logo {
  display: inline-block;
  transition: transform 0.2s;
  height: 100%;
  flex: 0 0 auto;  /* Prevent logo shrinking */
  margin: 0 0.15rem;  /* Further reduced margin */
}

.company-logo:hover {
  transform: scale(1.05);  /* Reduced scale effect */
}

.company-logo img {
  height: calc(150px * 0.8);  /* Increased to 80% of banner height */
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.company-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .company-logos-section {
    height: 120px;  /* Increased mobile height */
  }
  
  .company-logo {
    margin: 0 0.1rem;  /* Minimal margin for mobile */
  }
  
  .company-logo img {
    height: calc(120px * 0.8);  /* Keep 80% ratio for mobile */
  }
  
  .company-logos {
    padding: 0 0.15rem;
    justify-content: center;
  }
} 