.loile-contact {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: visible;
    justify-content: center;
}


.loile-contact__inner {
    display: flex;
    justify-content: center;
    width: 100%;
}

.loile-contact__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Rotating text */
.rotating-text {
    position: absolute;
    right: -30vw;
    top: 50%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

.rotating-text h1,
.rotating-text .rotating-text__line {
    margin: 0;
    padding: 0;
    font-weight: normal;
    position: absolute;
    width: 100%;
    height: 100%;
}

.rotating-text span {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 40s linear infinite reverse;
    font-size: 45px;
    color: rgba(37, 99, 235, 0.15);
    font-weight: 600;
    display: inline-block;
    left: 0;
    top: 0;
    transform-origin: center;
}

.rotating-text span i {
    font-style: normal;
    position: absolute;
    left: 50%;
    transform-origin: 0 400px;
    transform: rotate(var(--rotate)) translateX(-50%);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .loile-contact {
        min-height: auto;
        padding: 80px 0;
    }

    .rotating-text {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .loile-contact {
        padding: 0 20px 40px 20px; /* Zelfde padding als hero-focus-grid-v2 */
    }
    
    .loile-contact__content {
        text-align: center;
        max-width: 100%;
    }
    
    .loile-cases__section-title {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .hero-focus-grid-v2__paragraph.contact {
        font-size: 18px;
        text-align: center;
        max-width: 100%;
    }
    
    .loile-cases__button-wrapper {
        text-align: center;
    }
}

body{
    overflow-x: hidden;
}