.technologies-languages {
  padding-bottom: 90px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.card {
  flex: 0 0 calc(25% - 15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  border-radius: 30px;
  border: 1px solid #e7e7e7;
  box-sizing: border-box;
  text-align: center;
}

.card img {
  display: flex;
  width: 30px;
  height: 30px;
  padding: 0.001px 1.25px 0 1.25px;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
}

.card h3 {
  color: var(--000000, #000);
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.cta-nos-techno {
  padding-bottom: 90px;
}

.cards-dots {
  display: none;
}

@media (max-width: 900px) {
  .card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .technologies-languages {
    padding-bottom: 45px;
  }
  .cards-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .cards-container[data-carousel] {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    justify-content: flex-start;
  }
  .cards-container[data-carousel] .card {
    flex: 0 0 85%;
    min-width: 85%;
    scroll-snap-align: center;
    min-height: 210px;
  }

  .cards-container[data-carousel] {
    scrollbar-width: none;
  }
  .cards-container[data-carousel]::-webkit-scrollbar {
    display: none;
  }

  .cards-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
  }
  .cards-dot {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .cards-dot:focus {
    outline: none;
  }

  .cards-container:not([data-carousel]) .card {
    flex: 0 0 100%;
  }

  .cta-nos-techno {
    padding-bottom: 45px;
  }
}
