/* Text Arrow Container */
.text-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* Experience Title */
.experience-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.title-word {
    color: #1b3241;
    font-size: 5.2rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    text-align: center;
}

.title-word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Black Rectangle */
.black-rectangle {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(to bottom,
            rgba(229, 228, 181, 0.98),
            rgba(229, 228, 181, 0.98)),
        url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.95" numOctaves="1" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
    background-blend-mode: soft-light;
    margin-top: 100vh;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
}

.black-rectangle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 228, 181, 0.02);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Arrows Container */
.arrows-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 100px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: solid #1b3241;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    opacity: 0.9;
}

.scroll-arrow:nth-child(1) {
    animation: arrowBounce 2s infinite;
}

.scroll-arrow:nth-child(2) {
    animation: arrowBounce 2s infinite 0.2s;
}

.scroll-arrow:nth-child(3) {
    animation: arrowBounce 2s infinite 0.4s;
}

@keyframes arrowBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
        opacity: 0.9;
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
        opacity: 0.5;
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
        opacity: 0.7;
    }
}

/* Split Images Section */
.split-images {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    margin: 0;
    padding: 0;
    background-color: black;
    z-index: 4;
    left: 50%;
    transform: translateX(-50%);
}

.split-left,
.split-right {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.split-left {
    background-color: #CE155E;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

/* Animated Text Overlay */
.animated-text-overlay {
    position: absolute;
    bottom: 100px;
    left: 50px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 80px;
}

.animate-text {
    font-size: 4.5rem;
    font-weight: bold;
    color: #FFFADD;
    opacity: 0;
    position: absolute;
    left: 0;
    animation: sequentialAnimation 9s infinite;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.animate-text:nth-child(1) {
    animation-delay: 0s;
}

.animate-text:nth-child(2) {
    animation-delay: 3s;
}

.animate-text:nth-child(3) {
    animation-delay: 6s;
}

@keyframes sequentialAnimation {

    0%,
    5% {
        opacity: 0;
        transform: translateY(20px);
    }

    10%,
    25% {
        opacity: 1;
        transform: translateY(0);
    }

    30%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Split Images */
.split-left img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Split Slider */
.split-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.split-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.05);
}

.split-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Slider Controls */
.split-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #FFFFFF;
    transform: scale(1.2);
}

/* Hover Effects */
.split-left:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.split-left:hover .animated-text-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .split-images {
        flex-direction: column;
    }

    .split-left,
    .split-right {
        width: 100%;
        height: 50vh;
    }

    .animate-text {
        font-size: 2.5rem;
    }

    .title-word {
        font-size: 3rem;
    }

    .black-rectangle {
        padding: 20px;
    }

    .split-slider-controls {
        bottom: 10px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }
}