#section_projects {
    margin-top: -20px;
    margin-bottom: -20px;
}

.netshield-partners-container {
  max-width: 300px;
  margin: 0 auto; 
}

.logomaxwidth {
  max-width: 300px !important;
}

/* Container for the whole section */
.project-partners-section {
  width: 100%;
  padding: 3rem 1rem; 
  box-sizing: border-box;
  text-align: center;
  margin-bottom: -30px;
}

/* Optional styling for the heading */
.partners-heading {
  margin-bottom: 2rem;
  font-family: inherit;
  color: #333; 
}

/* The flexbox container */
.logo-container {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  align-items: center;
  gap: 2rem; 
  max-width: 1400px; 
  margin: 0 auto; 
}

/* The clickable wrapper */
.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  outline: none;
}

/* The actual SVG image styling */
.partner-logo {
  height: 60px; 
  width: auto;
  max-width: 180px; 
  object-fit: contain;
  transition: transform 0.3s ease-in-out; 
  will-change: transform; 
  
  /* Force 100% opacity and no filters at all times */
  opacity: 1 !important;
  filter: none !important; 
  -webkit-filter: none !important; /* For Safari compatibility */
}

/* The Hover Effect: stays at 100% opacity, just increases size */
.logo-link:hover .partner-logo,
.logo-link:focus .partner-logo {
  transform: scale(1.08); 
  opacity: 1 !important; /* Ensures it stays bright during the animation */
}

/* Responsive adjustments for tablets */
@media (max-width: 1024px) {
  .logo-container {
    gap: 1.5rem;
  }
  .partner-logo {
    height: 50px; 
    max-width: 150px;
  }
}

/* Responsive adjustments for mobile phones (Updated for larger size) */
@media (max-width: 480px) {
  .logo-container {
    flex-direction: column; /* Stacks logos for better mobile layout */
    gap: 3.5rem; /* Increased vertical gap for clarity */
  }
  
  .partner-logo {
    /* Using viewport width to make logos bigger on small screens */
    height: auto; 
    width: 75vw; 
    max-width: 280px;
  }
}