/* Item 1: Image (left) + Yellow Text (right) - Horizontal */
.content-item.item-0 {
    width: 10%;
    transition-delay: 0s !important;
}

.content-item.item-1 {
    width: calc(47% - 20px);
    height: 360px;
    display: flex;
    flex-direction: row;
    transition-delay: 0.1s !important;
}

.content-item.item-1 .item-left {
    width: 30%;
    height: 100%;
}

.content-item.item-1 .item-right {
    width: 70%;
    height: 100%;
}

.content-item.item-1 .item-image {
    height: 100%;
}

.content-item.item-1 .item-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Item 2: Large Image */
.content-item.item-2 {
    width: calc(43% - 20px);
    height: 360px;
    margin-right: 0;
    transition-delay: 0.2s !important;
}

/* Item 3: Large Image */
.content-item.item-3 {
    width: calc(35% - 20px);
    height: 279px;
    transition-delay: 0.3s !important;
}

/* Item 4: Orange Text (top) + Image (bottom) */
.content-item.item-4 {
    width: calc(60% - 20px);
    height: 359px;
    display: flex;
    flex-direction: row;
    transition-delay: 0.4s !important;
}

.content-item.item-4 .item-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
    position: relative;
    overflow: hidden;
}

.content-item.item-4 .item-image {
    width: 30%;
}

/* CTA Section */
.event-cta-section {
    background: url("/resources/event-cta-bg.png") center/cover;
    padding: 240px 64px;
    position: relative;
    text-align: center;
    color: #FFF;
    margin-left: -64px;
    margin-right: -64px;
    overflow: hidden;
}

.event-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-logo {
    font-size: 93px;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-cta-section.animate-in .cta-logo {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.4s;
}

.cta-subtitle {
    font-size: 60px;
    font-weight: 600;
    line-height: 80px;
    color: #FFFF81;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-cta-section.animate-in .cta-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.cta-text {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-cta-section.animate-in .cta-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 2px solid #FFF;
    border-radius: 100px;
    color: #FFF;
    text-decoration: none;
    font-size: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background 0.3s ease, color 0.3s ease;
}

.event-cta-section.animate-in .cta-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.cta-button:hover {
    background: #FFF;
    color: #000;
}

.cta-image-left,
.cta-image-right {
    position: absolute;
    width: 282px;
    height: 384px;
    border: 2px solid #FFF;
    z-index: 2;
    opacity: 0;
    transform: translateY(300px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-image-left {
    left: 64px;
    bottom: 60px;
    background: url("/resources/event-cta-left.png") center/cover;
}

.cta-image-right {
    right: 64px;
    top: 0px;
    width: 390px;
    height: 250px;
    background: url("/resources/event-cta-right.png") center/cover;
}

.event-cta-section.cta-in-view .cta-image-left {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.event-cta-section.cta-in-view .cta-image-right {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.event-cta-section.cta-exit-up .cta-image-left,
.event-cta-section.cta-exit-up .cta-image-right {
    opacity: 0;
    transform: translateY(-60px);
}

.service-tags {
    width: 60%;
}

@media (max-width: 768px) {
    .content-item {
        float: none;
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .content-item .item-text {
        padding: 15px;
    }

    .content-item .item-description {
        font-size: 18px;
        line-height: 24px;
    }

    .content-item.item-1,
    .content-item.item-4 {
        height: auto;
    }

    .content-item.item-2,
    .content-item.item-3,
    .content-item.item-5 {
        height: 186px;
    }

    .content-item.item-3 {
        order: 1;
    }

    .content-item.item-4 {
        order: 0;
        flex-direction: row-reverse;
    }

    .content-item.item-1 .item-left,
    .content-item.item-1 .item-right {
        height: auto;
    }

    .content-item .item-label {
        font-size: 12px;
        font-weight: 500;
        line-height: 22px;
        color: #000;
        margin-bottom: 30px;
        position: relative;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.4s ease-out 0.6s;
    }

    .content-item.item-4 .item-text {
        width: 70%;
    }


    .event-cta-section {
        padding: 200px 32px;
        margin-left: -32px;
        margin-right: -32px;
        height: 85vh;
    }

    .cta-image-left {
        left: 20px;
        bottom: 30px;
        width: 134px;
        height: 182px;
        background: url("/resources/event-cta-left.png") center/cover;
        transform: translateX(-50px);
    }

    .cta-image-right {
        right: 20px;
        top: 30px;
        width: 174px;
        height: 112px;
        background: url("/resources/event-cta-right.png") center/cover;
        transform: translateX(50px);
    }

    .cta-logo {
        font-size: 50px;
        letter-spacing: 0px;
        margin-bottom: 50px;
    }

    .cta-subtitle {
        font-size: 32px;
        line-height: 42px;
        margin-bottom: 2px;
    }

    .cta-text {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .cta-button {
        font-size: 18px;
        padding: 8px 16px;
    }
}