.our-partners-section {
  max-width: 100%;
  width: 90%;
  margin: 60px auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
    .our-partners-section {
        margin: 20px auto;
    }
}

.our-partners-section__header {
  text-align: center;
  margin: 0 auto 40px auto; /* Centers the block itself horizontally */
  max-width: 800px;
  width: 100%; /* Ensures it fills available space up to 1280px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.our-partners-section .section__label {
  color: #FFBE00;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.our-partners-section .section__title {
  color: #001E3F;
  font-size: clamp(1.5625rem, 3.8vw, 2rem);
  font-weight: 700;
  margin: 0;
}

/* Flex Grid for Logos */
.our-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

/* Fully Rounded White Card Container */
.our-partners-item {
  flex: 0 0 calc(25% - 18px); /* 4 items per row */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #CFCFCF;
  border-radius: 9999px;
  padding: 20px 32px;
  box-sizing: border-box;
  @media (max-width: 768px) {
    border-radius: 42px;
  }
}

.our-partners-logo {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1023px) {
  .our-partners-item {
    flex: 0 0 calc(50% - 12px); /* 2 items per row on tablet/mobile */
  }
}