

.references-section {
  background-color: #f9f9f9;
}

.references-label {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: #333;
}

.references-brands {
  margin-bottom: 32px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.brand-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-item img {
  max-height: 55px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.brand-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}


.references-testimonials {
  margin-top: 8px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.reference-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.reference-quote {
  font-size: 1.4rem;
  color: #c62828;
  opacity: 0.9;
}

.reference-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}


.reference-meta {
  margin-top: 6px;
}

.reference-name {
  margin: 0;
  font-weight: 600;
  color: #222;
}

.reference-role {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #777;
}

.reference-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}



/* Tablet */
@media (max-width: 992px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobil */
@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .brand-item {
    padding: 14px 12px;
    height: 80px;
  }

  .brand-item img {
    max-height: 40px;
  }

  .references-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reference-card {
    padding: 18px 16px;
  }

  .reference-text {
    font-size: 0.9rem;
  }
}
