/* Fixed logo container */
.cases-logo-container {
  position: fixed;
  top: 8.75rem; /* Sticks to the top of the viewport but below the header */
  left: 0;
  width: 100%; /* Full width */
  z-index: 101;
  background: #fff; /* Add a background to prevent content overlap */
  display: flex; /* Arrange logos horizontally */
  justify-content: center; /* Center-align the logos */
}

.client-logo {
  max-width: 2.5rem;
  max-height: 2.5rem;
  width: auto;
  height: auto;
  margin: 0.1rem 0.1rem 0.1rem 1.5rem;
  transition: transform 0.3s ease-in-out;
}
.client-logo:hover {
  transform: scale(2.5);
}

.case-study {
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: center;
  gap: 0.05rem;
  margin-bottom: 1.875rem;
  scroll-margin-top: 6.5rem;
}

.case-study-icon {
  width: 100%;
  height: auto;
  min-width: 3rem;
  transition: transform 0.3s ease-in-out;
}
.case-study-icon:hover {
  transform: scale(1.15);
}

.case-study p {
  margin: 0;
  padding: 0.625rem;
}

/* Responsive Design for Tablet Screens */
@media screen and (max-width: 1024px), screen and (max-height: 768px) {
  .cases-logo-container {
    top: 7.25rem; /* Sticks to the top of the viewport but below the header */
  }
}

/* Responsive Design for Smaller Tablets and Large Phones */
@media screen and (max-width: 768px), screen and (max-height: 576px) {
  .cases-logo-container {
    top: 5.5rem; /* Sticks to the top of the viewport but below the header */
  }
}

/* Responsive Design for Small Mobile Screens */
@media screen and (max-width: 480px), screen and (max-height: 480px) {
  .cases-logo-container {
    top: 4rem; /* Sticks to the top of the viewport but below the header */
  }
}

/* Dark Mode Styling */
@media (prefers-color-scheme: dark) {
  .cases-logo-container {
    background: #000000;
  }
}
