/* ==================================================
   PRE-FOOTER CTA SECTION
   ================================================== */
.pre-footer-section {
    position: relative;
    padding: 80px 0;
    color: var(--pre-footer-text, #ffffff);
    overflow: hidden;
}

/* Background Slideshow Container */
.pre-footer-slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pre-footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.9) 0%, rgba(15, 17, 21, 0.60) 100%);
    z-index: 1;
}

.pre-footer-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlider 12s infinite;
}

.fade-1 {
    animation-delay: 0s;
}

.fade-2 {
    animation-delay: 4s;
}

.fade-3 {
    animation-delay: 8s;
}

@keyframes fadeSlider {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    33% {
        opacity: 1;
        transform: scale(1);
    }

    43% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.pre-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.pre-footer-left {
    flex: 1;
    max-width: 500px;
}

.pre-footer-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pre-footer-left h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-highlight {
    color: var(--accent-yellow);
}

.pre-footer-left .divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin-bottom: 24px;
}

.pre-footer-left p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 450px;
}

.pre-footer-right {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

/* Responsiveness */
@media (max-width: 1100px) {
    .pre-footer-grid {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .pre-footer-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 60px;
    }

    .pre-footer-section {
        background-image: radial-gradient(circle at 50% 50%, rgba(79, 148, 210, 0.2) 0%, transparent 70%);
    }

    .pre-footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .pre-footer-left p {
        max-width: 600px;
    }

    .pre-footer-right {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .pre-footer-section {
        padding: 80px 0;
    }

    .pre-footer-grid {
        padding: 0 20px;
    }

    .illustration-container {
        max-width: 280px;
    }
}