.hero-section .hero-box{
    position:relative;
}

.hero-section .hero-box{
    justify-content: center;
    text-align: center;
    gap: 0;
}

.hero-section .hero-box .hero-content{
    max-width: 60%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section .hero-description {
    max-width: 90%;
}

.hero-section .hero-buttons {
    justify-content: center;
}

.hero-section .hero-image {
    max-width: 0;
    margin-right: 0;
}

.hero-image > :first-child {
    position: absolute;
    top: 150px;
    left: 0;
    width: 250px;
}

.hero-image > :nth-child(2) {
    max-width: 140px;
    position: absolute;
    left: 150px;
    top: 430px;
}

.hero-image > :nth-child(3) {
    max-width: 300px;
    position: absolute;
    top: 0;
    right: 0;
}

@media screen and (max-width: 1600px) {
    .hero-section .hero-box {
        flex-direction: column;
    }

    .hero-section .hero-image {
        max-width: 100%;
        margin-right: 0;
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 30px;
        margin-top: 50px;
        flex-wrap: wrap;
    }

    .hero-image > :first-child {
        position: relative;
        top: 0;
        left: 0;
        width: 200px;
    }

    .hero-image > :nth-child(2) {
        max-width: 200px;
        position: relative;
        left: 0;
        top: 0;
    }

    .hero-image > :nth-child(3) {
        max-width: 200px;
        position: relative;
        top: 0;
        right: 0;
    }
}

@media screen and (max-width: 992px) {
    .hero-section .hero-box .hero-content {
        max-width: 100%;
    }
}



/* Réseaux sociaux */
.sociaux-section{
    background-image: url('/wp-content/themes/sante-reproductive/img/bg-social.png');
    background-size: cover;
}

.sociaux-section .special-text {
    display: unset;
}

.sociaux-slider-container {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding-bottom: 45px;
    display: flex;
    align-items: center;
}

.sociaux-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.sociaux-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.15, 1);
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
}

.sociaux-track.drag-active {
    cursor: grabbing !important;
}

.social-item {
    flex: 0 0 calc(20% - 20px);
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    transition: transform 0.25s ease;
    user-drag: none;
    -webkit-user-drag: none;

    /* Force GPU to prepare the element */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.social-item img {
    max-width: 100%;
    height: auto;
    user-drag: none;
    -webkit-user-drag: none;
}

.drag-active .social-item {
    transform: scale(0.98);
}
  
.drag-active .social-item.active {
    transform: scale(1);
}

.slider-arrow {
    width: fit-content;
    height: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s;
}

/*.slider-arrow:hover {
    background: var(--color-black);
}*/

.prev-arrow {
    margin-right: 15px;
}

.next-arrow {
    margin-left: 15px;
}

.prev-arrow-social{
    left: -70px;
    position: relative;
}

.next-arrow-social{
    right: -70px;
    position: relative;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dots button.active {
  width: 16px;
  height: 16px;
  background-color: #333;
}

@media screen and (max-width: 1600px) {
    .prev-arrow-social {
        left: -10px;
        position: relative;
    }

    .next-arrow-social {
        right: -10px;
        position: relative;
    }
}