/* Cta container */

.slider-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 480px;
    margin-top: 100px;
    margin-bottom: 50px;
    position: relative;
}

.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-image: url(../assets/cta-slider.jpg);
    background-size: cover;
    position: absolute;
    transition: opacity 0.3s ease;
}

.cta-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    text-align: center;
}

.cta-text-title {
    color: #FF6700;
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.cta-text p {
    color: #fff;
    font-size: 2.3rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.social-icons a {
    color: #fff;
    font-size: 2.5em;
    transition: color 0.3s ease; 
}

.social-icons a:hover {
    color: #ff6700; 
}


/* Mobile media query */

@media screen and (max-width: 768px) {

    .slider-cta {
        height: 300px;
        margin-top: 50px;
    }

    .cta-text {
        width: 70%;
    }

    .cta-text-title {
        font-size: 1.7rem;
    }

    .cta-text p {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .social-icons {
        gap: 30px;
        margin-top: 10px;
    }

    .social-icons a {
        font-size: 1.9em;
    }
}