#slide3 {
    background-color: var(--light-accent);
    padding: 0;
    display: flex;
    width: 100vw;
}

.horizontal-slide {
    display: flex;
    width: 100vw;
    height: 100vh;
    padding: 0;
}

.horizontal-slide .slide-content {
    width: 75vw;
    max-height: 100vh;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--light-accent);
    z-index: 1;
}

.parallax-horizontal {
    height: 100vh;
    width: 20vw;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-horizontal.left {
    background-position: left center;
}

.parallax-horizontal.right {
    background-position: right center;
}

.parallax-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

#slide3 h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

#slide3 h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
}

#slide3 p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

#slide3 img {
    width: 25vw;
    margin: auto;
    border: var(--light-color) solid 3px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#slide3 a {
    width: auto;
    margin: auto;
    margin-top: 2vh;
    padding: 0.8rem 2rem;
    text-decoration: none;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-speed) ease;
}

#slide3 a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}