/* Partners Section Styles for WorkWatcher02 */
.timeman-partners-section {
  padding: 5rem 5%;
  background: #ffffff;
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr); /* strictly one row on desktop */
  }
}

.partner-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 1.5rem 1.75rem; /* slightly tighter padding to fit content better */
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%; /* fills column width */
  box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(42, 49, 54, 0.1);
  border-color: rgba(42, 49, 54, 0.4);
}

.partner-logo-container {
  width: 80px; /* reduced from 100px to gain space for text */
  flex-shrink: 0;
  margin-right: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo-container img {
  max-width: 100%;
  height: auto;
}

.checkapp-logos {
  display: flex;
  gap: 8px;
  align-items: center;
}

.partner-content {
  text-align: left;
  flex-grow: 1;
  min-width: 0;
}

.partner-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.partner-desc {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.4;
}

.partner-link {
  font-weight: 600;
  color: rgba(42, 49, 54, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.partner-card:hover .partner-link {
  color: rgba(42, 49, 54, 1);
}

@media screen and (max-width: 600px) {
  .partner-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .partner-logo-container {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .partner-content {
    text-align: center;
  }
}

/* Trusted By Sub-section */
.trusted-by-container {
    margin-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: 1.5rem;
    width: 100%;
}

.trusted-by-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    color: #71717a;
    margin-bottom: 1rem;
    opacity: 0.8;
    text-align: center;
}

.trusted-by-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card.mini-card {
    min-height: 65px;
    height: 65px;
    padding: 0.5rem 1.75rem;
    border-radius: 10px;
    justify-content: center;
    width: auto;
    max-width: 220px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mini-card img {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.partner-card.mini-card.large-mini-card {
    min-height: 80px;
    height: 80px;
    max-width: 260px;
    padding: 0.5rem 2rem;
    border-radius: 12px;
}

.mini-card.large-mini-card img {
    height: 52px;
    max-width: 190px;
}
