#whyus {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

/* Éléments flottants */
.whyus-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#whyus .floating-element {
    position: absolute;
    background: var(--primary);
    opacity: 0.1;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

#whyus .floating-element:nth-child(1) {
    width: 120px;
    height: 104px;
    top: 15%;
    right: 10%;
    animation: whyusFloat 20s infinite;
}

#whyus .floating-element:nth-child(2) {
    width: 60px;
    height: 52px;
    top: 30%;
    left: 5%;
    animation: whyusFloat 15s infinite;
    animation-delay: -5s;
}

#whyus .floating-element:nth-child(3) {
    width: 90px;
    height: 78px;
    bottom: 20%;
    right: 20%;
    animation: whyusFloat 18s infinite;
    animation-delay: -10s;
}

#whyus .floating-element:nth-child(4) {
    width: 70px;
    height: 61px;
    top: 50%;
    right: 15%;
    animation: whyusFloat 22s infinite;
    animation-delay: -8s;
}

#whyus .floating-element:nth-child(5) {
    width: 45px;
    height: 39px;
    bottom: 25%;
    left: 15%;
    animation: whyusFloat 17s infinite;
    animation-delay: -12s;
}

#whyus .floating-element:nth-child(6) {
    width: 85px;
    height: 74px;
    top: 70%;
    left: 20%;
    animation: whyusFloat 19s infinite;
    animation-delay: -3s;
}

@keyframes whyusFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, 15px) rotate(8deg);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-8deg);
    }
    75% {
        transform: translate(-15px, 8px) rotate(5deg);
    }
}

/* Styles pour les hexagones */
.whyus-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.whyus .section-title {
    position: relative;
    z-index: 2;
}

.whyus-hexagon-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    filter: none;
}

.whyus-hexagon-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.whyus-hexagon-wrapper.whyus-second-hexagon {
    filter: none;
}

.whyus svg {
    width: 100%;
    height: 100%;
    filter: none;
}

.whyus path {
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: drop-shadow(0 0 10px rgba(75, 190, 158, 0.6))
        drop-shadow(0 0 20px rgba(27, 100, 164, 0.5))
        drop-shadow(0 0 30px rgba(75, 190, 158, 0.4));
}

.whyus-second-hexagon path {
    stroke: url(#hexGradient2);
    filter: drop-shadow(0 0 10px rgba(75, 190, 158, 0.6))
        drop-shadow(0 0 20px rgba(27, 100, 164, 0.5))
        drop-shadow(0 0 30px rgba(75, 190, 158, 0.4));
}

.whyus-hexagon-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
    font-weight: bold;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whyus-number {
    font-weight: bold;
    font-size: 3rem;
    color: #333333;
    filter: blur(0px);
    transition: filter 0.3s ease;
    text-shadow: none;
}

.whyus-number.whyus-animating {
    filter: blur(5px);
}

.whyus-text {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 15px;
    margin-bottom: 8px;
    color: #333;
}

.whyus-second-hexagon .whyus-number {
    color: #1b64a4;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .whyus {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .whyus-container {
        gap: 20px;
    }
    
    .whyus-hexagon-wrapper {
        width: 240px;
        height: 240px;
    }
    
    .whyus-number {
        font-size: 48px;
    }
    
    .whyus-text {
        font-size: 14px;
        padding: 0 12px;
        line-height: 1.3;
    }
    
    .whyus-hexagon-content {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .whyus {
        padding: var(--space-lg) var(--space-md);
    }
    
    .whyus-hexagon-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .whyus-number {
        font-size: 34px;
        margin-bottom: 8px;
    }
    
    .whyus-text {
        font-size: 12px;
        padding: 0 8px;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .whyus-hexagon-content {
        width: 40%;
    }
} 