/* Top Developers Section Styles (public) */
/* Centered and premium Top Developers section */
/* Match featured-dealers section style exactly */
.top-developers {
  padding: 25px;
  background: #fff;
  width: 100%;

  /* border-radius: 18px; */
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
/* Centered title */
.top-developers-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  text-align: center;
}
/* Centered description */
.top-developers-desc {
  color: #6b7280;
  font-size: 1.08rem;
  margin-bottom: 24px;
  padding: 0 20px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
/* Center slider and cards */
.top-developers-slider {
  position: relative;
  overflow-x: auto;
  padding: 0 32px;
  scrollbar-width: thin;
  scrollbar-color: #ddd #f5f5f5;
  max-width: 1100px;
  margin: 0 auto;
}
.top-developers-slider::-webkit-scrollbar {
  height: 8px;
}
.top-developers-slider::-webkit-scrollbar-track {
  background: #f5f5f5;
}
.top-developers-slider::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}
.top-developers-slider::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}
.top-developers-cards {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.developer-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  min-width: 320px;
  max-width: 340px;
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 8px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.developer-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.developer-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 4px;
}
.developer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.developer-info {
  flex: 1;
  margin-bottom: 12px;
}
.developer-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.developer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.69rem;
  color: #6b7280;
  line-height: 1.4;
}
.developer-meta strong {
  color: #1a1a1a;
  font-weight: 700;
}
.developer-meta .meta-label {
  font-size: 0.92em;
  color: #888;
  font-weight: 500;
  margin-left: 2px;
}
.developer-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}
.project-type {
  background: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.81rem;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  cursor: pointer;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.18s, border 0.18s;
}
.project-type:hover {
  border: 1.5px solid #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.arrow {
  font-size: 1.3em;
  color: #888;
  margin-left: 8px;
}
/* Position both arrows for slider */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  z-index: 2;
  transition: border 0.18s, box-shadow 0.18s;
}
.slider-arrow-left {
  left: 0;
}
.slider-arrow-right {
  right: 0;
}
.slider-arrow:hover {
  border: 1.5px solid #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,0.10);
}
@media (max-width: 1200px) {
  .top-developers {
    margin-left: 0;
    margin-right: 0;
  }
  .top-developers-slider {
    max-width: 100vw;
    padding: 0 8px;
  }
  .top-developers-cards {
    gap: 16px;
  }
  .developer-card {
    min-width: 280px;
    max-width: 300px;
    flex: 0 0 280px;
  }
}
@media (max-width: 980px) {
  .top-developers-cards {
    gap: 12px;
  }
  .developer-card {
    min-width: 220px;
    max-width: 240px;
    flex: 0 0 220px;
  }
  .top-developers-title {
    font-size: 1.25rem;
  }
}
@media (max-width: 640px) {
  .top-developers-cards {
    gap: 8px;
  }
  .developer-card {
    min-width: 160px;
    max-width: 180px;
    flex: 0 0 160px;
  }
  .top-developers-title {
    font-size: 1.12rem;
  }
  .top-developers-slider {
    padding: 0 8px;
  }
}

/* ---- Developers Header ---- */
.developers-header {
  text-align: center;
  padding: 0 20px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.developers-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.developers-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.developers-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.developers-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  transition: gap 0.2s;
}

.developers-cta:hover {
  gap: 12px;
}

/* ---- Developers Grid & Modern Cards ---- */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 32px;
  margin: 0 auto;
}

.developer-card-modern {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.developer-card-modern:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.developer-image-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.developer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.developer-card-modern:hover .developer-image {
  transform: scale(1.05);
}

.developer-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}

.developer-verified-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

.developer-verified-badge img {
  width: 12px;
  height: 12px;
}

.developer-card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.developer-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.developer-logo-new {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.developer-logo-new img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.developer-card-title-section {
  flex: 1;
}

.developer-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.developer-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #6b7280;
}

.developer-meta-item strong {
  color: #111827;
  font-weight: 700;
}

.developer-stats-row {
  display: flex;
  gap: 8px;
}

.developer-stat-badge {
  flex: 1;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.developer-stat-number {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.developer-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .developers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    padding: 0 16px;
  }
  .developers-title {
    font-size: 1.5rem;
  }
}
