.developers-features{
    background-image: url("/assets/pages/developers/sec.png");
    background-repeat: no-repeat;
    background-position: center 20%;
    background-size: 1200px;
}

.developers-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
  margin: 0 auto;
}

.span-6{
    grid-column: span 6;
    width: 100%;
}

.developers-card{
    background: #000;
    transition: 0.3s ease;
    padding: 40px 24px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    color: #fff;
}

.d-icon{
    width: 72px;
    height: 48px;
}

.card-head{
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -4%;
    color: #fff;
}

/* horizontal scroll area (container) */
.scrollabel {
  display: block;                 /* block-level container */
  overflow-x: auto;               /* allow horizontal scrolling */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-Behaviour: smooth;
  scroll-snap-type: x mandatory;  /* snap to items */
  padding: 0 6px;               /* small padding so content isn't flush */
  margin-top: 0;
  white-space: nowrap;
  max-width: 100%;
}

/* hide scrollbar - WebKit (Chrome, Safari, Edge) */
.scrollabel::-webkit-scrollbar {
  height: 0px;
  background: transparent;
}

/* hide scrollbar - Firefox */
.scrollabel {
  scrollbar-width: none; /* Firefox */
}

/* item cells inside the scroll area */
.scrollabel .item {
  display: inline-block;        /* keeps items on the same line */
  white-space: normal;          /* allow multi-line within each item if needed */
  vertical-align: top;
  margin-right: 40px;
  min-width: 60px;            /* ensure items have room and don't collapse */
  scroll-snap-align: start;    /* snap start of each item to container */
  color: #00a0ff;
  background: linear-gradient(90deg, #218DFF, #52C5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  font-weight: 700;           /* make links prominent */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 16px;
}

/* if you want each item to look like a link and wrap text within itself */
.scrollabel .item a {
  color: inherit;
  text-decoration: none;
}

/* Optional: when an item is active (focused via keyboard), make it more visible */
.scrollabel .item:focus,
.scrollabel .item:hover {
  outline: none;
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Optional: make the card not clip the horizontal overflow shadow/glow */
.developers-card {
  overflow: visible; /* ensure shadows/glows aren't clipped */
}

.case-buttons{
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

@media screen and (max-width: 760px) {
  .developers-features{
    background-position: center 0%;
    background-size: 800px;
  }
    .developers-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .card-head{
       font-size: 16px;
    }

    .scrollabel{
      display: flex;
    }
    .scrollabel .item{
        font-size: 14px;
    }

    .scrollabel{

        display: flex;
        flex-wrap: wrap;
    gap: 20px;
    -webkit-overflow-scrolling:initial;
    scroll-Behaviour: smooth;
    scroll-snap-type:none;
    padding: 0 6px;
    margin-top: 0;
    white-space:initial;
    max-width: none;
    }
  
}
